@geotrekce/geotrek-rando-widget 0.29.2 → 0.30.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/{call-a8e7c8f6.js → call-422e2bf4.js} +10 -2
- package/dist/cjs/call-422e2bf4.js.br +0 -0
- package/dist/cjs/call-422e2bf4.js.gz +0 -0
- package/dist/cjs/call-422e2bf4.js.map +1 -0
- package/dist/cjs/grw-app.cjs.entry.js +20 -17
- 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-common-button_23.cjs.entry.js +295 -159
- package/dist/cjs/grw-common-button_23.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-common-button_23.cjs.entry.js.map +1 -1
- package/dist/cjs/{grw-db.service-0ad254f2.js → grw-db.service-dde227e0.js} +2 -2
- package/dist/cjs/grw-db.service-dde227e0.js.br +0 -0
- package/dist/cjs/grw-db.service-dde227e0.js.gz +0 -0
- package/dist/cjs/{grw-db.service-0ad254f2.js.map → grw-db.service-dde227e0.js.map} +1 -1
- package/dist/cjs/grw-details-modal_8.cjs.entry.js +50 -34
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-details-modal_8.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-filter.cjs.entry.js +2 -2
- 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-outdoor-courses-provider.cjs.entry.js +6 -6
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-outdoor-courses-provider.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js +34 -18
- package/dist/cjs/grw-poi_3.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-poi_3.cjs.entry.js.map +1 -1
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js +11 -11
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-sensitive-area-detail_2.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js +3 -3
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-toggle-slot-visibility.cjs.entry.js.gz +0 -0
- package/dist/cjs/{outdoor-courses.service-4f9e4549.js → outdoor-courses.service-083411f5.js} +2 -2
- package/dist/cjs/outdoor-courses.service-083411f5.js.br +0 -0
- package/dist/cjs/outdoor-courses.service-083411f5.js.gz +0 -0
- package/dist/cjs/{outdoor-courses.service-4f9e4549.js.map → outdoor-courses.service-083411f5.js.map} +1 -1
- package/dist/cjs/{store-ac1ed8ce.js → store-65aa11bc.js} +5 -2
- package/dist/cjs/store-65aa11bc.js.br +0 -0
- package/dist/cjs/store-65aa11bc.js.gz +0 -0
- package/dist/cjs/store-65aa11bc.js.map +1 -0
- package/dist/cjs/{treks.service-5d19ad5f.js → treks.service-14b5765a.js} +14 -6
- package/dist/cjs/treks.service-14b5765a.js.br +0 -0
- package/dist/cjs/treks.service-14b5765a.js.gz +0 -0
- package/dist/cjs/treks.service-14b5765a.js.map +1 -0
- package/dist/cjs/{utils-934a22f0.js → utils-5c5c3fee.js} +3 -3
- package/dist/cjs/utils-5c5c3fee.js.br +0 -0
- package/dist/cjs/utils-5c5c3fee.js.gz +0 -0
- package/dist/cjs/{utils-934a22f0.js.map → utils-5c5c3fee.js.map} +1 -1
- package/dist/cjs/{web-fdb6c665.js → web-87e6d345.js} +3 -3
- package/dist/cjs/web-87e6d345.js.br +0 -0
- package/dist/cjs/web-87e6d345.js.gz +0 -0
- package/dist/cjs/{web-fdb6c665.js.map → web-87e6d345.js.map} +1 -1
- package/dist/collection/components/grw-app/grw-app.css +1 -1
- 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 +17 -14
- 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-map/grw-map.css +29 -0
- 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 +108 -51
- 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-offline-confirm-modal/grw-offline-confirm-modal.js +3 -3
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.br +0 -0
- package/dist/collection/components/grw-offline-confirm-modal/grw-offline-confirm-modal.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.css +1 -1
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.css.br +0 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.css.gz +0 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js +5 -5
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js.br +0 -0
- package/dist/collection/components/grw-outdoor-course-card/grw-outdoor-course-card.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js +4 -4
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.br +0 -0
- package/dist/collection/components/grw-outdoor-course-detail/grw-outdoor-course-detail.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.css +1 -1
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.css.br +0 -0
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.css.gz +0 -0
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js +6 -6
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js.br +0 -0
- package/dist/collection/components/grw-outdoor-site-card/grw-outdoor-site-card.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js +7 -7
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.br +0 -0
- package/dist/collection/components/grw-outdoor-site-detail/grw-outdoor-site-detail.js.gz +0 -0
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js +1 -1
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.br +0 -0
- package/dist/collection/components/grw-outdoor-sites-list/grw-outdoor-sites-list.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.css +5 -1
- package/dist/collection/components/grw-poi-detail/grw-poi.css.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.css.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js +20 -4
- package/dist/collection/components/grw-poi-detail/grw-poi.js.br +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js.gz +0 -0
- package/dist/collection/components/grw-poi-detail/grw-poi.js.map +1 -1
- package/dist/collection/components/grw-search/grw-search.js +2 -2
- 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-segmented-segment/grw-segmented-segment.js +2 -2
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.br +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js.gz +0 -0
- 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-sensitive-area-detail/grw-sensitive-area-detail.js +3 -3
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.br +0 -0
- package/dist/collection/components/grw-sensitive-area-detail/grw-sensitive-area-detail.js.gz +0 -0
- package/dist/collection/components/grw-switch/grw-switch.js +2 -2
- package/dist/collection/components/grw-switch/grw-switch.js.br +0 -0
- package/dist/collection/components/grw-switch/grw-switch.js.gz +0 -0
- package/dist/collection/components/grw-toggle-slot-visibility/grw-toggle-slot-visibility.js +2 -2
- package/dist/collection/components/grw-toggle-slot-visibility/grw-toggle-slot-visibility.js.br +0 -0
- package/dist/collection/components/grw-toggle-slot-visibility/grw-toggle-slot-visibility.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css +1 -1
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +4 -4
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +4 -4
- 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-contents-list/grw-touristic-contents-list.js +1 -1
- 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-event-card/grw-touristic-event-card.css +1 -1
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +4 -4
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +3 -3
- 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-events-list/grw-touristic-events-list.js +1 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.br +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +4 -4
- 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-detail/grw-trek-detail.css +27 -0
- 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 +56 -37
- 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.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/services/touristic-contents.service.js +3 -0
- package/dist/collection/services/touristic-contents.service.js.br +0 -0
- package/dist/collection/services/touristic-contents.service.js.gz +0 -0
- package/dist/collection/services/touristic-contents.service.js.map +1 -1
- package/dist/collection/services/touristic-events.service.js +3 -0
- package/dist/collection/services/touristic-events.service.js.br +0 -0
- package/dist/collection/services/touristic-events.service.js.gz +0 -0
- package/dist/collection/services/touristic-events.service.js.map +1 -1
- package/dist/collection/services/treks.service.js +9 -2
- package/dist/collection/services/treks.service.js.br +0 -0
- package/dist/collection/services/treks.service.js.gz +0 -0
- package/dist/collection/services/treks.service.js.map +1 -1
- package/dist/collection/store/grw-outdoor-course-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-course-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-course-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-courses-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-courses-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-courses-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-site-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-site-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-site-provider.js.gz +0 -0
- package/dist/collection/store/grw-outdoor-sites-provider.js +1 -1
- package/dist/collection/store/grw-outdoor-sites-provider.js.br +0 -0
- package/dist/collection/store/grw-outdoor-sites-provider.js.gz +0 -0
- package/dist/collection/store/grw-touristic-content-provider.js +13 -5
- 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 -1
- package/dist/collection/store/grw-touristic-contents-provider.js +1 -1
- 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-event-provider.js +13 -5
- 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 -1
- package/dist/collection/store/grw-touristic-events-provider.js +1 -1
- package/dist/collection/store/grw-touristic-events-provider.js.br +0 -0
- package/dist/collection/store/grw-touristic-events-provider.js.gz +0 -0
- package/dist/collection/store/grw-trek-provider.js +98 -38
- 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/grw-treks-provider.js +1 -1
- package/dist/collection/store/grw-treks-provider.js.br +0 -0
- package/dist/collection/store/grw-treks-provider.js.gz +0 -0
- package/dist/collection/store/store.js +4 -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/esm/{call-e7ca34e9.js → call-c0c920b0.js} +9 -3
- package/dist/esm/call-c0c920b0.js.br +0 -0
- package/dist/esm/call-c0c920b0.js.gz +0 -0
- package/dist/esm/call-c0c920b0.js.map +1 -0
- package/dist/esm/grw-app.entry.js +20 -17
- 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-common-button_23.entry.js +296 -160
- package/dist/esm/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm/{grw-db.service-37105839.js → grw-db.service-83da38c9.js} +2 -2
- package/dist/esm/grw-db.service-83da38c9.js.br +0 -0
- package/dist/esm/grw-db.service-83da38c9.js.gz +0 -0
- package/dist/esm/{grw-db.service-37105839.js.map → grw-db.service-83da38c9.js.map} +1 -1
- package/dist/esm/grw-details-modal_8.entry.js +50 -34
- package/dist/esm/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm/grw-details-modal_8.entry.js.map +1 -1
- package/dist/esm/grw-filter.entry.js +2 -2
- package/dist/esm/grw-filter.entry.js.br +0 -0
- package/dist/esm/grw-filter.entry.js.gz +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js +6 -6
- package/dist/esm/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js +34 -18
- package/dist/esm/grw-poi_3.entry.js.br +0 -0
- package/dist/esm/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm/grw-poi_3.entry.js.map +1 -1
- package/dist/esm/grw-sensitive-area-detail_2.entry.js +11 -11
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js +3 -3
- package/dist/esm/grw-toggle-slot-visibility.entry.js.br +0 -0
- package/dist/esm/grw-toggle-slot-visibility.entry.js.gz +0 -0
- package/dist/esm/{outdoor-courses.service-add4d256.js → outdoor-courses.service-d2397066.js} +2 -2
- package/dist/esm/outdoor-courses.service-d2397066.js.br +0 -0
- package/dist/esm/outdoor-courses.service-d2397066.js.gz +0 -0
- package/dist/esm/{outdoor-courses.service-add4d256.js.map → outdoor-courses.service-d2397066.js.map} +1 -1
- package/dist/esm/{store-04f82731.js → store-882ab9be.js} +5 -2
- package/dist/esm/store-882ab9be.js.br +0 -0
- package/dist/esm/store-882ab9be.js.gz +0 -0
- package/dist/esm/store-882ab9be.js.map +1 -0
- package/dist/esm/{treks.service-01e48d12.js → treks.service-a3ce33ef.js} +14 -7
- package/dist/esm/treks.service-a3ce33ef.js.br +0 -0
- package/dist/esm/treks.service-a3ce33ef.js.gz +0 -0
- package/dist/esm/treks.service-a3ce33ef.js.map +1 -0
- package/dist/esm/{utils-c2e5c5b9.js → utils-5feb9281.js} +3 -3
- package/dist/esm/utils-5feb9281.js.br +0 -0
- package/dist/esm/utils-5feb9281.js.gz +0 -0
- package/dist/esm/{utils-c2e5c5b9.js.map → utils-5feb9281.js.map} +1 -1
- package/dist/esm/{web-fdc4d63f.js → web-9ea89c85.js} +3 -3
- package/dist/esm/web-9ea89c85.js.br +0 -0
- package/dist/esm/web-9ea89c85.js.gz +0 -0
- package/dist/esm/{web-fdc4d63f.js.map → web-9ea89c85.js.map} +1 -1
- package/dist/esm-es5/{call-e7ca34e9.js → call-c0c920b0.js} +2 -2
- package/dist/esm-es5/call-c0c920b0.js.br +0 -0
- package/dist/esm-es5/call-c0c920b0.js.gz +0 -0
- package/dist/esm-es5/call-c0c920b0.js.map +1 -0
- 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-common-button_23.entry.js +2 -2
- package/dist/esm-es5/grw-common-button_23.entry.js.br +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.gz +0 -0
- package/dist/esm-es5/grw-common-button_23.entry.js.map +1 -1
- package/dist/esm-es5/{grw-db.service-37105839.js → grw-db.service-83da38c9.js} +2 -2
- package/dist/esm-es5/grw-db.service-83da38c9.js.br +0 -0
- package/dist/esm-es5/grw-db.service-83da38c9.js.gz +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js +1 -1
- package/dist/esm-es5/grw-details-modal_8.entry.js.br +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.gz +0 -0
- package/dist/esm-es5/grw-details-modal_8.entry.js.map +1 -1
- package/dist/esm-es5/grw-filter.entry.js +1 -1
- 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-outdoor-courses-provider.entry.js +1 -1
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.br +0 -0
- package/dist/esm-es5/grw-outdoor-courses-provider.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js +1 -1
- package/dist/esm-es5/grw-poi_3.entry.js.br +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.gz +0 -0
- package/dist/esm-es5/grw-poi_3.entry.js.map +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js +1 -1
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.br +0 -0
- package/dist/esm-es5/grw-sensitive-area-detail_2.entry.js.gz +0 -0
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js +1 -1
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.br +0 -0
- package/dist/esm-es5/grw-toggle-slot-visibility.entry.js.gz +0 -0
- package/dist/esm-es5/{outdoor-courses.service-add4d256.js → outdoor-courses.service-d2397066.js} +2 -2
- package/dist/esm-es5/outdoor-courses.service-d2397066.js.br +0 -0
- package/dist/esm-es5/outdoor-courses.service-d2397066.js.gz +0 -0
- package/dist/esm-es5/{store-04f82731.js → store-882ab9be.js} +2 -2
- package/dist/esm-es5/store-882ab9be.js.br +0 -0
- package/dist/esm-es5/store-882ab9be.js.gz +0 -0
- package/dist/esm-es5/store-882ab9be.js.map +1 -0
- package/dist/esm-es5/treks.service-a3ce33ef.js +2 -0
- package/dist/esm-es5/treks.service-a3ce33ef.js.br +0 -0
- package/dist/esm-es5/treks.service-a3ce33ef.js.gz +0 -0
- package/dist/esm-es5/treks.service-a3ce33ef.js.map +1 -0
- package/dist/esm-es5/{utils-c2e5c5b9.js → utils-5feb9281.js} +3 -3
- package/dist/esm-es5/utils-5feb9281.js.br +0 -0
- package/dist/esm-es5/utils-5feb9281.js.gz +0 -0
- package/dist/esm-es5/{web-fdc4d63f.js → web-9ea89c85.js} +2 -2
- package/dist/esm-es5/web-9ea89c85.js.br +0 -0
- package/dist/esm-es5/web-9ea89c85.js.gz +0 -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/{p-10adcbc3.system.entry.js → p-0213328a.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-0213328a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0213328a.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-c08abeee.system.js → p-0dc681ee.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-0dc681ee.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0dc681ee.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-111e4a10.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-20fa1207.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-20fa1207.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-20fa1207.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-20fa1207.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-d77c26bd.system.js → p-315f99d3.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-315f99d3.system.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-d77c26bd.system.js.gz → p-315f99d3.system.js.gz} +0 -0
- package/dist/geotrek-rando-widget/{p-9298fb48.system.js → p-31cd5fb6.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-31cd5fb6.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-31cd5fb6.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-7e076c7f.system.entry.js → p-346b21fe.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-346b21fe.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-346b21fe.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-74250f1d.system.entry.js → p-46cbc796.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-46cbc796.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-46cbc796.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-e622139c.entry.js → p-51c64ff4.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-51c64ff4.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-51c64ff4.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js +1 -1
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5517eb99.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-0e80aabf.system.js → p-5a1c21ad.system.js} +3 -3
- package/dist/geotrek-rando-widget/p-5a1c21ad.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5a1c21ad.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-11caf88d.entry.js → p-6287495f.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-6287495f.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6287495f.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-63c3d14c.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-63c3d14c.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-63c3d14c.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-63c3d14c.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-7102a4d3.system.entry.js → p-6a4d2050.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-6a4d2050.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6a4d2050.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6d3ddec9.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-6d3ddec9.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6d3ddec9.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6d3ddec9.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-722e446c.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-722e446c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-722e446c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-722e446c.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-4ab5c85d.js → p-76467e71.js} +2 -2
- package/dist/geotrek-rando-widget/p-76467e71.js.br +0 -0
- package/dist/geotrek-rando-widget/p-76467e71.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-00654bc2.js → p-844f4321.js} +3 -3
- package/dist/geotrek-rando-widget/p-844f4321.js.br +0 -0
- package/dist/geotrek-rando-widget/p-844f4321.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-91d62770.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-91d62770.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-91d62770.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-1ef5158a.entry.js.map → p-91d62770.entry.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-a0d6a0dc.js → p-b1ed0255.js} +2 -2
- package/dist/geotrek-rando-widget/p-b1ed0255.js.br +0 -0
- package/dist/geotrek-rando-widget/p-b1ed0255.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c61425f6.js +2 -0
- package/dist/geotrek-rando-widget/p-c61425f6.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c61425f6.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c61425f6.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-806676e7.js → p-c8f5ce61.js} +2 -2
- package/dist/geotrek-rando-widget/p-c8f5ce61.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c8f5ce61.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c8f5ce61.js.map +1 -0
- package/dist/geotrek-rando-widget/p-d95cfb6f.js +2 -0
- package/dist/geotrek-rando-widget/p-d95cfb6f.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d95cfb6f.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d95cfb6f.js.map +1 -0
- package/dist/geotrek-rando-widget/p-de029003.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-de029003.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-de029003.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-de029003.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-e6471529.system.js +2 -0
- package/dist/geotrek-rando-widget/p-e6471529.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e6471529.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e6471529.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-ebec2cdc.system.js +2 -0
- package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ebec2cdc.system.js.map +1 -0
- package/dist/geotrek-rando-widget/p-eeedb77e.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-eeedb77e.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-eeedb77e.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js +2 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f0d965b9.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-f77e20fe.system.entry.js +4 -0
- package/dist/geotrek-rando-widget/p-f77e20fe.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f77e20fe.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f77e20fe.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-fbfffb5d.system.js +2 -0
- package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fbfffb5d.system.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-601c8983.js → p-fcbe4bb6.js} +2 -2
- package/dist/geotrek-rando-widget/p-fcbe4bb6.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fcbe4bb6.js.gz +0 -0
- package/dist/types/components/grw-app/grw-app.d.ts +1 -0
- package/dist/types/components/grw-map/grw-map.d.ts +5 -1
- package/dist/types/components/grw-poi-detail/grw-poi.d.ts +1 -0
- package/dist/types/services/touristic-contents.service.d.ts +1 -0
- package/dist/types/services/touristic-events.service.d.ts +1 -0
- package/dist/types/services/treks.service.d.ts +2 -1
- package/dist/types/store/store.d.ts +6 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/call-a8e7c8f6.js.br +0 -0
- package/dist/cjs/call-a8e7c8f6.js.gz +0 -0
- package/dist/cjs/call-a8e7c8f6.js.map +0 -1
- package/dist/cjs/grw-db.service-0ad254f2.js.br +0 -0
- package/dist/cjs/grw-db.service-0ad254f2.js.gz +0 -0
- package/dist/cjs/outdoor-courses.service-4f9e4549.js.br +0 -0
- package/dist/cjs/outdoor-courses.service-4f9e4549.js.gz +0 -0
- package/dist/cjs/store-ac1ed8ce.js.br +0 -0
- package/dist/cjs/store-ac1ed8ce.js.gz +0 -0
- package/dist/cjs/store-ac1ed8ce.js.map +0 -1
- package/dist/cjs/treks.service-5d19ad5f.js.br +0 -0
- package/dist/cjs/treks.service-5d19ad5f.js.gz +0 -0
- package/dist/cjs/treks.service-5d19ad5f.js.map +0 -1
- package/dist/cjs/utils-934a22f0.js.br +0 -0
- package/dist/cjs/utils-934a22f0.js.gz +0 -0
- package/dist/cjs/web-fdb6c665.js.br +0 -0
- package/dist/cjs/web-fdb6c665.js.gz +0 -0
- package/dist/esm/call-e7ca34e9.js.br +0 -0
- package/dist/esm/call-e7ca34e9.js.gz +0 -0
- package/dist/esm/call-e7ca34e9.js.map +0 -1
- package/dist/esm/grw-db.service-37105839.js.br +0 -0
- package/dist/esm/grw-db.service-37105839.js.gz +0 -0
- package/dist/esm/outdoor-courses.service-add4d256.js.br +0 -0
- package/dist/esm/outdoor-courses.service-add4d256.js.gz +0 -0
- package/dist/esm/store-04f82731.js.br +0 -0
- package/dist/esm/store-04f82731.js.gz +0 -0
- package/dist/esm/store-04f82731.js.map +0 -1
- package/dist/esm/treks.service-01e48d12.js.br +0 -0
- package/dist/esm/treks.service-01e48d12.js.gz +0 -0
- package/dist/esm/treks.service-01e48d12.js.map +0 -1
- package/dist/esm/utils-c2e5c5b9.js.br +0 -0
- package/dist/esm/utils-c2e5c5b9.js.gz +0 -0
- package/dist/esm/web-fdc4d63f.js.br +0 -0
- package/dist/esm/web-fdc4d63f.js.gz +0 -0
- package/dist/esm-es5/call-e7ca34e9.js.br +0 -0
- package/dist/esm-es5/call-e7ca34e9.js.gz +0 -0
- package/dist/esm-es5/call-e7ca34e9.js.map +0 -1
- package/dist/esm-es5/grw-db.service-37105839.js.br +0 -0
- package/dist/esm-es5/grw-db.service-37105839.js.gz +0 -0
- package/dist/esm-es5/outdoor-courses.service-add4d256.js.br +0 -0
- package/dist/esm-es5/outdoor-courses.service-add4d256.js.gz +0 -0
- package/dist/esm-es5/store-04f82731.js.br +0 -0
- package/dist/esm-es5/store-04f82731.js.gz +0 -0
- package/dist/esm-es5/store-04f82731.js.map +0 -1
- package/dist/esm-es5/treks.service-01e48d12.js +0 -2
- package/dist/esm-es5/treks.service-01e48d12.js.br +0 -0
- package/dist/esm-es5/treks.service-01e48d12.js.gz +0 -0
- package/dist/esm-es5/treks.service-01e48d12.js.map +0 -1
- package/dist/esm-es5/utils-c2e5c5b9.js.br +0 -0
- package/dist/esm-es5/utils-c2e5c5b9.js.gz +0 -0
- package/dist/esm-es5/web-fdc4d63f.js.br +0 -0
- package/dist/esm-es5/web-fdc4d63f.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-00654bc2.js.br +0 -0
- package/dist/geotrek-rando-widget/p-00654bc2.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0e80aabf.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0e80aabf.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-10adcbc3.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-10adcbc3.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-11caf88d.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-11caf88d.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-1ef5158a.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-1ef5158a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-1ef5158a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-382a4720.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-382a4720.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-382a4720.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-382a4720.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-3a9d9014.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-3a9d9014.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-3a9d9014.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-3a9d9014.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-4ab5c85d.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4ab5c85d.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js +0 -2
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-4fcc4a2d.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js +0 -2
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-5e1d038f.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-601c8983.js.br +0 -0
- package/dist/geotrek-rando-widget/p-601c8983.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6df1f0e1.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-6df1f0e1.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6df1f0e1.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6df1f0e1.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-7102a4d3.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7102a4d3.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-74250f1d.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-74250f1d.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7a333892.system.js +0 -2
- package/dist/geotrek-rando-widget/p-7a333892.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7a333892.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-7a333892.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-7e076c7f.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-7e076c7f.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-806676e7.js.br +0 -0
- package/dist/geotrek-rando-widget/p-806676e7.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-806676e7.js.map +0 -1
- package/dist/geotrek-rando-widget/p-85aa6ae4.js +0 -2
- package/dist/geotrek-rando-widget/p-85aa6ae4.js.br +0 -0
- package/dist/geotrek-rando-widget/p-85aa6ae4.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-85aa6ae4.js.map +0 -1
- package/dist/geotrek-rando-widget/p-8f1283ca.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-8f1283ca.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8f1283ca.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8f1283ca.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-906264e3.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-906264e3.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-906264e3.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-906264e3.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-9298fb48.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9298fb48.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a0d6a0dc.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a0d6a0dc.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a9faad14.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-a9faad14.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a9faad14.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a9faad14.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-bb81fb52.js +0 -2
- package/dist/geotrek-rando-widget/p-bb81fb52.js.br +0 -0
- package/dist/geotrek-rando-widget/p-bb81fb52.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-bb81fb52.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c08abeee.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c08abeee.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d77c26bd.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e28536dd.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-e28536dd.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e28536dd.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e28536dd.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-e4da40fc.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-e4da40fc.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e4da40fc.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e622139c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e622139c.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f2cfa627.system.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-f2cfa627.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f2cfa627.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f2cfa627.system.entry.js.map +0 -1
- /package/dist/esm-es5/{grw-db.service-37105839.js.map → grw-db.service-83da38c9.js.map} +0 -0
- /package/dist/esm-es5/{outdoor-courses.service-add4d256.js.map → outdoor-courses.service-d2397066.js.map} +0 -0
- /package/dist/esm-es5/{utils-c2e5c5b9.js.map → utils-5feb9281.js.map} +0 -0
- /package/dist/esm-es5/{web-fdc4d63f.js.map → web-9ea89c85.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-10adcbc3.system.entry.js.map → p-0213328a.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-c08abeee.system.js.map → p-0dc681ee.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-d77c26bd.system.js.map → p-315f99d3.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-9298fb48.system.js.map → p-31cd5fb6.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-7e076c7f.system.entry.js.map → p-346b21fe.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-74250f1d.system.entry.js.map → p-46cbc796.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-e622139c.entry.js.map → p-51c64ff4.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-0e80aabf.system.js.map → p-5a1c21ad.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-11caf88d.entry.js.map → p-6287495f.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-7102a4d3.system.entry.js.map → p-6a4d2050.system.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-4ab5c85d.js.map → p-76467e71.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-00654bc2.js.map → p-844f4321.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-a0d6a0dc.js.map → p-b1ed0255.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-e4da40fc.entry.js.map → p-eeedb77e.entry.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-601c8983.js.map → p-fcbe4bb6.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"grw-poi.grw-touristic-content-card.grw-touristic-event-card.entry.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,skkBAAskkB,CAAC;AACzlkB,qBAAe,SAAS;;MCWX,YAAY;IALzB;;QAcU,6BAAwB,GAAG,SAAS,CAAC;QACpC,4BAAuB,GAAG,IAAI,CAAC;QAC/B,6BAAwB,GAAG,KAAK,CAAC;QACjC,sBAAiB,GAAG,KAAK,CAAC;QAE1B,YAAO,GAAG,KAAK,CAAC;KAoJ1B;IAjJC,8BAA8B;QAC5B,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;SAC3B;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;KACrB;IAGD,0BAA0B;QACxB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;KACtB;IAED,aAAa;QACX,IAAI,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACxC,IAAI,CAAC,SAAS,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,YAAY,EAAE;gBAC7C,OAAO,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,CAAC;gBAC3C,UAAU,EAAE;oBACV,MAAM,EAAE,IAAI,CAAC,YAAY;oBACzB,MAAM,EAAE,IAAI,CAAC,YAAY;iBAC1B;gBACD,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,kBAAkB,EAAE;gBAC3C,cAAc,EAAE,KAAK;gBACrB,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,IAAI;aACX,CAAC,CAAC;YACH,IAAI,CAAC,YAAY,CAAC,kBAAkB,GAAG;gBACrC,IAAI,CAAC,iBAAiB,GAAG,CAAC,IAAI,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C,QAAQ,CAAC,CAAC,SAAS,SAAK,IAAI,CAAC,cAAc,CAAC,UAAU,CACnE,CACP,EACA,IAAI,CAAC,cAAc,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,CAAC,UAAU,KAAK,IAAI,CAAC,cAAc,CAAC,QAAQ,KAC9F,4DAAK,IAAI,EAAC,sBAAsB,EAAC,KAAK,EAAC,sBAAsB,IAC1D,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,OAAO,SAAK,IAAI,CAAC,cAAc,CAAC,QAAQ,CAC/D,CACP,CACG,CACP,CACG,EAEL,IAAI,CAAC,sBAAsB,KAC1B,4DAAK,IAAI,EAAC,uCAAuC,EAAC,KAAK,EAAC,uCAAuC,IAC7F,+DAAQ,IAAI,EAAC,qBAAqB,EAAC,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,kBAAkB,EAAE,IACpG,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,WAAW,CAC/B,CACL,CACP,CACG,CACD,EACP;KACH;;;;;;","names":[],"sources":["src/components/grw-poi-detail/grw-poi.scss?tag=grw-poi&encapsulation=shadow","src/components/grw-poi-detail/grw-poi.tsx","src/components/grw-touristic-content-card/grw-touristic-content-card.scss?tag=grw-touristic-content-card&encapsulation=shadow","src/components/grw-touristic-content-card/grw-touristic-content-card.tsx","src/components/grw-touristic-event-card/grw-touristic-event-card.scss?tag=grw-touristic-event-card&encapsulation=shadow","src/components/grw-touristic-event-card/grw-touristic-event-card.tsx"],"sourcesContent":["@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.poi-type-img-container {\n position: relative;\n .poi-img,\n .default-poi-img {\n width: 100%;\n height: 100%;\n height: 200px;\n object-fit: cover;\n }\n .poi-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .poi-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.poi-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n}\n\n.poi-name {\n font-size: 16px;\n line-height: 24px;\n height: 64px;\n}\n\n.poi-description {\n font-size: 14px;\n line-height: 20px;\n}\n\n.poi-description-short {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-poi-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n height: 22px;\n}\n\np {\n margin: 0;\n}\n","import { Component, Host, h, Prop, State, Build, getAssetPath, Listen } from '@stencil/core';\nimport Swiper, { Navigation, Pagination, Keyboard } from 'swiper';\nimport state from 'store/store';\nimport { OutdoorSite, Poi, Trek } from 'types/types';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\n\n@Component({\n tag: 'grw-poi',\n styleUrl: 'grw-poi.scss',\n shadow: true,\n})\nexport class GrwPoiDetail {\n swiperPoi?: Swiper;\n swiperPoiRef?: HTMLDivElement;\n prevElPoiRef?: HTMLDivElement;\n nextElPoiRef?: HTMLDivElement;\n paginationElPoiRef?: HTMLDivElement;\n descriptionRef?: HTMLDivElement;\n\n @Prop() poi: Poi;\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @State() displayShortDescription = true;\n @State() showPoiDescriptionButton = false;\n @State() displayFullscreen = false;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperPoi) {\n this.swiperPoi.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperPoiRef && !this.swiperPoi) {\n this.swiperPoi = new Swiper(this.swiperPoiRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElPoiRef,\n nextEl: this.nextElPoiRef,\n },\n pagination: { el: this.paginationElPoiRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperPoiRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperPoi.keyboard.enable();\n } else {\n this.swiperPoi.keyboard.disable();\n }\n };\n this.showPoiDescriptionButton = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n handlePoiDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n }\n\n handleFullscreen() {\n if (this.poi.attachments && this.poi.attachments[0] && this.poi.attachments[0].url) {\n this.swiperPoiRef.requestFullscreen();\n }\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n const poiInStore: Poi = await getDataInStore('pois', this.poi.id);\n if (trekInStore && trekInStore.offline) {\n this.offline = Boolean(poiInStore);\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const poiInStore: Poi = await getDataInStore('pois', this.poi.id);\n this.offline = Boolean(poiInStore);\n }\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const displayPaginationAndNavigation = (this.poi && this.poi.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host style={{ '--color-surface-container-low': this.colorSurfaceContainerLow }}>\n <div part=\"poi-type-img-container\" class=\"poi-type-img-container\">\n <img part=\"poi-type\" class=\"poi-type\" src={`${state.poiTypes.find(poiType => poiType.id === this.poi.type)?.pictogram}`} alt=\"\" />\n <div part=\"swiper-poi\" class=\"swiper swiper-poi\" ref={el => (this.swiperPoiRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.poi.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.poi.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"poi-iamg\"\n class={`poi-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url}\n alt={attachment.legend}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-poi-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-poi-img\" class=\"default-poi-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElPoiRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElPoiRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElPoiRef = el)}\n ></div>\n </div>\n </div>\n <div part=\"poi-sub-container\" class=\"poi-sub-container\">\n <div part=\"poi-name\" class=\"poi-name\">\n {this.poi.name}\n </div>\n <div\n part=\"poi-description\"\n class={this.displayShortDescription ? 'poi-description poi-description-short' : 'poi-description'}\n innerHTML={this.poi.description}\n ref={el => (this.descriptionRef = el)}\n ></div>\n <div part=\"handle-poi-description\" class=\"handle-poi-description\" onClick={() => this.handlePoiDescription()}>\n {this.showPoiDescriptionButton && (this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess)}\n </div>\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-content-img-container {\n position: relative;\n height: 200px;\n .touristic-content-img,\n .default-touristic-content-img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .touristic-content-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-content-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-content-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-content-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-content-category-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-content-category-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-content-name {\n font-size: 16px;\n line-height: 24px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-content-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-content-card-container,\n.touristic-content-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .touristic-content-img {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-content-card-container {\n width: 100%;\n max-width: 350px;\n .touristic-content-img {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-content-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .touristic-content-img {\n width: 250px;\n height: 100%;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-event-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-content-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-content-category-img {\n border-radius: 100%;\n padding: 2px;\n max-height: 20px;\n max-width: 20px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { OutdoorSite, TouristicContent, Trek } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-content-card',\n styleUrl: 'grw-touristic-content-card.scss',\n shadow: true,\n})\nexport class GrwTouristicContentCard {\n @Event() touristicContentCardPress: EventEmitter<number>;\n swiperTouristicContent?: Swiper;\n swiperTouristicContentRef?: HTMLDivElement;\n prevElTouristicContentRef?: HTMLDivElement;\n nextElTouristicContentRef?: HTMLDivElement;\n paginationElTouristicContentRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicContent: TouristicContent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @State() displayFullscreen = false;\n\n @Event() cardTouristicContentMouseOver: EventEmitter<number>;\n @Event() cardTouristicContentMouseLeave: EventEmitter;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperTouristicContent) {\n this.swiperTouristicContent.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperTouristicContentRef && !this.swiperTouristicContent) {\n this.swiperTouristicContent = new Swiper(this.swiperTouristicContentRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicContentRef,\n nextEl: this.nextElTouristicContentRef,\n },\n pagination: { el: this.paginationElTouristicContentRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperTouristicContentRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperTouristicContent.keyboard.enable();\n } else {\n this.swiperTouristicContent.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContent.id);\n this.offline = touristicContentInStore && touristicContentInStore.offline;\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContent.id);\n this.offline = touristicContentInStore && touristicContentInStore.offline;\n }\n }\n }\n\n handleFullscreen() {\n if (this.touristicContent.attachments && this.touristicContent.attachments[0] && this.touristicContent.attachments[0].url) {\n this.swiperTouristicContentRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicContentMouseOver.emit(this.touristicContent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicContentMouseLeave.emit();\n }\n\n onMoreDetailsClick() {\n this.touristicContentCardPress.emit(this.touristicContent.id);\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicContentCategory = state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === this.touristicContent.category);\n const displayPaginationAndNavigation =\n (this.touristicContent && this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n <div\n part=\"touristic-content-card\"\n class={\n this.isLargeView\n ? `touristic-content-card touristic-content-card-large-view-container${\n state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''\n }${!this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''}`\n : `touristic-content-card touristic-content-card-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.onMoreDetailsClick();\n }\n }}\n >\n <div part=\"touristic-content-img-container\" class=\"touristic-content-img-container\">\n {this.isInsideHorizontalList ? (\n <div part=\"swiper-touristic-content\" class=\"swiper swiper-touristic-content\" ref={el => (this.swiperTouristicContentRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicContent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"touristic-content-img\"\n class={`touristic-content-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? (this.offline && attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url) : attachment.thumbnail}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-touristic-content-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-touristic-content-img\" src={defaultImageSrc} class=\"default-touristic-content-img\" alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElTouristicContentRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElTouristicContentRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElTouristicContentRef = el)}\n ></div>\n </div>\n ) : this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"touristic-content-img\"\n class=\"touristic-content-img\"\n src={`${\n this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail !== ''\n ? this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail\n : this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].url\n }`}\n alt={`${this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n />\n ) : (\n <img class=\"image default-touristic-content-img\" src={defaultImageSrc} loading=\"lazy\" alt=\"\" />\n )}\n </div>\n <div part=\"touristic-content-sub-container\" class=\"touristic-content-sub-container\">\n <div part=\"touristic-content-category-container\" class=\"touristic-content-category-container\">\n {touristicContentCategory && touristicContentCategory.pictogram && (\n <img part=\"touristic-content-category-img\" class=\"touristic-content-category-img\" src={touristicContentCategory.pictogram} alt=\"\" />\n )}\n <div part=\"touristic-content-category-name\" class=\"touristic-content-category-name\">\n {touristicContentCategory.label}\n </div>\n </div>\n <div part=\"touristic-content-name\" class=\"touristic-content-name\">\n {this.touristicContent.name}\n </div>\n </div>\n {this.isInsideHorizontalList && (\n <div part=\"touristic-content-more-detail-container\" class=\"touristic-content-more-detail-container\">\n <button part=\"more-details-button\" class=\"more-details-button\" onClick={() => this.onMoreDetailsClick()}>\n {translate[state.language].moreDetails}\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-event-img-container {\n position: relative;\n height: 200px;\n .touristic-event-img,\n .default-touristic-event-img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n .touristic-event-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-event-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain;\n }\n .touristic-event-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-event-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-event-type-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-event-type-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-event-name {\n font-size: 16px;\n line-height: 24px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-event-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-event-card-container,\n.touristic-event-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .touristic-event-img {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-event-card-container {\n width: 100%;\n max-width: 350px;\n .touristic-event-img {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-event-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .touristic-event-img {\n width: 250px;\n height: 100%;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-content-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-event-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-event-date-container {\n margin-top: 12px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { OutdoorSite, TouristicEvent, Trek } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-event-card',\n styleUrl: 'grw-touristic-event-card.scss',\n shadow: true,\n})\nexport class GrwTouristicEvent {\n swiperTouristicEvent?: Swiper;\n swiperTouristicEventRef?: HTMLDivElement;\n prevElTouristicEventRef?: HTMLDivElement;\n nextElTouristicEventRef?: HTMLDivElement;\n paginationElTouristicEventRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n\n @Prop() touristicEvent: TouristicEvent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicEventMouseOver: EventEmitter<number>;\n @Event() cardTouristicEventMouseLeave: EventEmitter;\n @Event() touristicEventCardPress: EventEmitter<number>;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperTouristicEvent) {\n this.swiperTouristicEvent.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperTouristicEventRef && !this.swiperTouristicEvent) {\n this.swiperTouristicEvent = new Swiper(this.swiperTouristicEventRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicEventRef,\n nextEl: this.nextElTouristicEventRef,\n },\n pagination: { el: this.paginationElTouristicEventRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperTouristicEventRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperTouristicEvent.keyboard.enable();\n } else {\n this.swiperTouristicEvent.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEvent.id);\n this.offline = trekInStore && trekInStore.offline && touristicEventInStore && touristicEventInStore.offline;\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEvent.id);\n this.offline = touristicEventInStore && touristicEventInStore.offline;\n }\n }\n }\n\n handleFullscreen() {\n if (this.touristicEvent.attachments && this.touristicEvent.attachments[0] && this.touristicEvent.attachments[0].url) {\n this.swiperTouristicEventRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicEventMouseOver.emit(this.touristicEvent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicEventMouseLeave.emit();\n }\n\n onMoreDetailsClick() {\n this.touristicEventCardPress.emit(this.touristicEvent.id);\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicEventType = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === this.touristicEvent.type);\n const displayPaginationAndNavigation = (this.touristicEvent && this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n <div\n part=\"touristic-event-card\"\n class={\n this.isLargeView\n ? `touristic-event-card touristic-event-card-large-view-container${\n state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''\n }${!this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''}`\n : ` touristic-event-card touristic-event-card-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.onMoreDetailsClick();\n }\n }}\n >\n <div part=\"touristic-event-img-container\" class=\"touristic-event-img-container\">\n {this.isInsideHorizontalList ? (\n <div part=\"swiper-touristic-event\" class=\"swiper swiper-touristic-event\" ref={el => (this.swiperTouristicEventRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicEvent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"touristic-event-img\"\n class={`touristic-event-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? (this.offline && attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url) : attachment.thumbnail}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-touristic-event-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-touristic-event-img\" class=\"default-touristic-event-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElTouristicEventRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElTouristicEventRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElTouristicEventRef = el)}\n ></div>\n </div>\n ) : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"touristic-event-img\"\n class=\"touristic-event-img\"\n src={`${\n this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail !== ''\n ? this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail\n : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].url\n }`}\n alt={`${this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n />\n ) : (\n <img class=\"image default-touristic-event-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n )}\n </div>\n <div part=\"touristic-event-sub-container\" class=\"touristic-event-sub-container\">\n <div part=\"touristic-event-type-container\" class=\"touristic-event-type-container\">\n {touristicEventType && touristicEventType.pictogram && (\n <img part=\"touristic-event-type-img\" class=\"touristic-event-type-img\" src={touristicEventType.pictogram} alt=\"\" />\n )}\n {touristicEventType && touristicEventType.type && (\n <div part=\"touristic-event-type-name\" class=\"touristic-event-type-name\">\n {touristicEventType.type}\n </div>\n )}\n </div>\n <div part=\"touristic-event-name\" class=\"touristic-event-name\">\n {this.touristicEvent.name}\n </div>\n {(this.touristicEvent.begin_date || this.touristicEvent.end_date) && (\n <div part=\"touristic-event-date-container\" class=\"touristic-event-date-container\">\n {this.touristicEvent.begin_date === this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].date} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.begin_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].startDate} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.end_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].endDate} : {this.touristicEvent.end_date}\n </div>\n )}\n </div>\n )}\n </div>\n\n {this.isInsideHorizontalList && (\n <div part=\"touristic-event-more-detail-container\" class=\"touristic-event-more-detail-container\">\n <button part=\"more-details-button\" class=\"more-details-button\" onClick={() => this.onMoreDetailsClick()}>\n {translate[state.language].moreDetails}\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"grw-poi.grw-touristic-content-card.grw-touristic-event-card.entry.js","mappings":";;;;;;;AAAA,MAAM,SAAS,GAAG,mukBAAmukB,CAAC;AACtvkB,qBAAe,SAAS;;MCWX,YAAY;IALzB;;QAcU,6BAAwB,GAAG,SAAS,CAAC;QACpC,4BAAuB,GAAG,IAAI,CAAC;QAC/B,6BAAwB,GAAG,KAAK,CAAC;QACjC,sBAAiB,GAAG,KAAK,CAAC;QAE1B,YAAO,GAAG,KAAK,CAAC;KAuK1B;IApKC,8BAA8B;QAC5B,IAAI,IAAI,CAAC,SAAS,EAAE;YAClB,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;SAC3B;QACD,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;KACrB;IAGD,0BAA0B;QACxB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;KACtB;IAED,wBAAwB;QACtB,IAAI,IAAI,CAAC,cAAc,EAAE;YACvB,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,CAAC;YACxF,IAAI,IAAI,CAAC,wBAAwB,KAAK,WAAW,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,4DAAK,IAAI,EAAC,uCAAuC,EAAC,KAAK,EAAC,uCAAuC,IAC7F,+DAAQ,IAAI,EAAC,qBAAqB,EAAC,KAAK,EAAC,qBAAqB,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,kBAAkB,EAAE,IACpG,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,WAAW,CAC/B,CACL,CACP,CACG,CACD,EACP;KACH;;;;;;","names":[],"sources":["src/components/grw-poi-detail/grw-poi.scss?tag=grw-poi&encapsulation=shadow","src/components/grw-poi-detail/grw-poi.tsx","src/components/grw-touristic-content-card/grw-touristic-content-card.scss?tag=grw-touristic-content-card&encapsulation=shadow","src/components/grw-touristic-content-card/grw-touristic-content-card.tsx","src/components/grw-touristic-event-card/grw-touristic-event-card.scss?tag=grw-touristic-event-card&encapsulation=shadow","src/components/grw-touristic-event-card/grw-touristic-event-card.tsx"],"sourcesContent":["@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n border: 1px solid gray;\n border-radius: var(--border-radius, 12px);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.poi-type-img-container {\n position: relative;\n .poi-img,\n .default-poi-img {\n width: 100%;\n height: 100%;\n height: 200px;\n object-fit: cover;\n }\n .poi-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-poi-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain !important;\n }\n .poi-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.poi-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n min-height: 202px;\n}\n\n.poi-name {\n font-size: 16px;\n line-height: 24px;\n height: 64px;\n}\n\n.poi-description {\n font-size: 14px;\n line-height: 20px;\n max-height: 80px;\n overflow: hidden;\n transition: max-height 0.5s ease-in-out;\n}\n\n.poi-description-short {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n overflow: hidden;\n}\n\n.handle-poi-description {\n cursor: pointer;\n color: var(--color-primary-app);\n text-decoration: underline;\n margin-top: 12px;\n height: 22px;\n}\n\np {\n margin: 0;\n}\n","import { Component, Host, h, Prop, State, Build, getAssetPath, Listen } from '@stencil/core';\nimport Swiper, { Navigation, Pagination, Keyboard } from 'swiper';\nimport state from 'store/store';\nimport { OutdoorSite, Poi, Trek } from 'types/types';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\n\n@Component({\n tag: 'grw-poi',\n styleUrl: 'grw-poi.scss',\n shadow: true,\n})\nexport class GrwPoiDetail {\n swiperPoi?: Swiper;\n swiperPoiRef?: HTMLDivElement;\n prevElPoiRef?: HTMLDivElement;\n nextElPoiRef?: HTMLDivElement;\n paginationElPoiRef?: HTMLDivElement;\n descriptionRef?: HTMLDivElement;\n\n @Prop() poi: Poi;\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @State() displayShortDescription = true;\n @State() showPoiDescriptionButton = false;\n @State() displayFullscreen = false;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperPoi) {\n this.swiperPoi.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n checkDescriptionOverflow() {\n if (this.descriptionRef) {\n const hasOverflow = this.descriptionRef.clientHeight < this.descriptionRef.scrollHeight;\n if (this.showPoiDescriptionButton !== hasOverflow) {\n this.showPoiDescriptionButton = hasOverflow;\n }\n }\n }\n\n handleSwipers() {\n if (this.swiperPoiRef && !this.swiperPoi) {\n this.swiperPoi = new Swiper(this.swiperPoiRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElPoiRef,\n nextEl: this.nextElPoiRef,\n },\n pagination: { el: this.paginationElPoiRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperPoiRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperPoi.keyboard.enable();\n } else {\n this.swiperPoi.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n setTimeout(() => {\n this.checkDescriptionOverflow();\n }, 0);\n }\n\n handlePoiDescription() {\n this.displayShortDescription = !this.displayShortDescription;\n\n if (this.displayShortDescription) {\n this.descriptionRef.style.maxHeight = '80px';\n } else {\n this.descriptionRef.style.maxHeight = this.descriptionRef.scrollHeight + 'px';\n }\n }\n\n handleFullscreen() {\n if (this.poi.attachments && this.poi.attachments[0] && this.poi.attachments[0].url) {\n this.swiperPoiRef.requestFullscreen();\n }\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n const poiInStore: Poi = await getDataInStore('pois', this.poi.id);\n if (trekInStore && trekInStore.offline) {\n this.offline = Boolean(poiInStore);\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const poiInStore: Poi = await getDataInStore('pois', this.poi.id);\n this.offline = Boolean(poiInStore);\n }\n }\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const displayPaginationAndNavigation = (this.poi && this.poi.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host style={{ '--color-surface-container-low': this.colorSurfaceContainerLow }}>\n <div part=\"poi-type-img-container\" class=\"poi-type-img-container\">\n <img part=\"poi-type\" class=\"poi-type\" src={`${state.poiTypes.find(poiType => poiType.id === this.poi.type)?.pictogram}`} alt=\"\" />\n <div part=\"swiper-poi\" class=\"swiper swiper-poi\" ref={el => (this.swiperPoiRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.poi.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.poi.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"poi-img\"\n class={`poi-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? attachment.url : attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url}\n alt={attachment.legend}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-poi-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-poi-img\" class=\"default-poi-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElPoiRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElPoiRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElPoiRef = el)}\n ></div>\n </div>\n </div>\n <div part=\"poi-sub-container\" class=\"poi-sub-container\">\n <div part=\"poi-name\" class=\"poi-name\">\n {this.poi.name}\n </div>\n <div\n part=\"poi-description\"\n class={this.displayShortDescription ? 'poi-description poi-description-short' : 'poi-description'}\n innerHTML={this.poi.description}\n ref={el => (this.descriptionRef = el)}\n ></div>\n {this.showPoiDescriptionButton && (\n <div part=\"handle-poi-description\" class=\"handle-poi-description\" onClick={() => this.handlePoiDescription()}>\n {this.displayShortDescription ? translate[state.language].readMore : translate[state.language].readLess}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-content-img-container {\n position: relative;\n height: 200px;\n .touristic-content-img,\n .default-touristic-content-img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .touristic-content-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-content-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain !important;\n }\n .touristic-content-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-content-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-content-category-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-content-category-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-content-name {\n font-size: 16px;\n line-height: 24px;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-content-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-content-card-container,\n.touristic-content-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .touristic-content-img {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-content-card-container {\n width: 100%;\n max-width: 350px;\n .touristic-content-img {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-content-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .touristic-content-img {\n width: 250px;\n height: 100%;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-event-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-content-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-content-category-img {\n border-radius: 100%;\n padding: 2px;\n max-height: 20px;\n max-width: 20px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { OutdoorSite, TouristicContent, Trek } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-content-card',\n styleUrl: 'grw-touristic-content-card.scss',\n shadow: true,\n})\nexport class GrwTouristicContentCard {\n @Event() touristicContentCardPress: EventEmitter<number>;\n swiperTouristicContent?: Swiper;\n swiperTouristicContentRef?: HTMLDivElement;\n prevElTouristicContentRef?: HTMLDivElement;\n nextElTouristicContentRef?: HTMLDivElement;\n paginationElTouristicContentRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n\n @Prop() touristicContent: TouristicContent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @State() displayFullscreen = false;\n\n @Event() cardTouristicContentMouseOver: EventEmitter<number>;\n @Event() cardTouristicContentMouseLeave: EventEmitter;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperTouristicContent) {\n this.swiperTouristicContent.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperTouristicContentRef && !this.swiperTouristicContent) {\n this.swiperTouristicContent = new Swiper(this.swiperTouristicContentRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicContentRef,\n nextEl: this.nextElTouristicContentRef,\n },\n pagination: { el: this.paginationElTouristicContentRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperTouristicContentRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperTouristicContent.keyboard.enable();\n } else {\n this.swiperTouristicContent.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContent.id);\n this.offline = touristicContentInStore && touristicContentInStore.offline;\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const touristicContentInStore: TouristicContent = await getDataInStore('touristicContents', this.touristicContent.id);\n this.offline = touristicContentInStore && touristicContentInStore.offline;\n }\n }\n }\n\n handleFullscreen() {\n if (this.touristicContent.attachments && this.touristicContent.attachments[0] && this.touristicContent.attachments[0].url) {\n this.swiperTouristicContentRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicContentMouseOver.emit(this.touristicContent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicContentMouseLeave.emit();\n }\n\n onMoreDetailsClick() {\n this.touristicContentCardPress.emit(this.touristicContent.id);\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicContentCategory = state.touristicContentCategories.find(touristicContentCategory => touristicContentCategory.id === this.touristicContent.category);\n const displayPaginationAndNavigation =\n (this.touristicContent && this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n <div\n part=\"touristic-content-card\"\n class={\n this.isLargeView\n ? `touristic-content-card touristic-content-card-large-view-container${\n state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''\n }${!this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''}`\n : `touristic-content-card touristic-content-card-container${state.selectedTouristicContentId === this.touristicContent.id ? ' selected-touristic-content-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.onMoreDetailsClick();\n }\n }}\n >\n <div part=\"touristic-content-img-container\" class=\"touristic-content-img-container\">\n {this.isInsideHorizontalList ? (\n <div part=\"swiper-touristic-content\" class=\"swiper swiper-touristic-content\" ref={el => (this.swiperTouristicContentRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicContent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"touristic-content-img\"\n class={`touristic-content-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? (this.offline && attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url) : attachment.thumbnail}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-touristic-content-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-touristic-content-img\" src={defaultImageSrc} class=\"default-touristic-content-img\" alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElTouristicContentRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElTouristicContentRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElTouristicContentRef = el)}\n ></div>\n </div>\n ) : this.touristicContent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"touristic-content-img\"\n class=\"touristic-content-img\"\n src={`${\n this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail !== ''\n ? this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail\n : this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].url\n }`}\n alt={`${this.touristicContent.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n />\n ) : (\n <img class=\"image default-touristic-content-img\" src={defaultImageSrc} loading=\"lazy\" alt=\"\" />\n )}\n </div>\n <div part=\"touristic-content-sub-container\" class=\"touristic-content-sub-container\">\n <div part=\"touristic-content-category-container\" class=\"touristic-content-category-container\">\n {touristicContentCategory && touristicContentCategory.pictogram && (\n <img part=\"touristic-content-category-img\" class=\"touristic-content-category-img\" src={touristicContentCategory.pictogram} alt=\"\" />\n )}\n <div part=\"touristic-content-category-name\" class=\"touristic-content-category-name\">\n {touristicContentCategory.label}\n </div>\n </div>\n <div part=\"touristic-content-name\" class=\"touristic-content-name\">\n {this.touristicContent.name}\n </div>\n </div>\n {this.isInsideHorizontalList && (\n <div part=\"touristic-content-more-detail-container\" class=\"touristic-content-more-detail-container\">\n <button part=\"more-details-button\" class=\"more-details-button\" onClick={() => this.onMoreDetailsClick()}>\n {translate[state.language].moreDetails}\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n","@use '~swiper/swiper.scss';\n@use '~swiper/modules/navigation/navigation.scss';\n@use '~swiper/modules/pagination/pagination.scss';\n\n.swiper {\n z-index: 0;\n}\n\n:host {\n a {\n color: var(--color-primary-app);\n }\n --swiper-navigation-size: 24px;\n --swiper-navigation-color: var(--color-on-primary-container);\n --swiper-pagination-color: var(--color-primary-container);\n --swiper-pagination-bullet-size: 12px;\n .swiper {\n height: 200px;\n }\n .swiper-button-prev,\n .swiper-button-next {\n background-color: var(--color-primary-container);\n padding: 4px;\n width: 32px;\n height: 32px;\n border-radius: var(--border-radius, 32px);\n box-shadow: var(--elevation-1);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n }\n}\n\n.touristic-event-img-container {\n position: relative;\n height: 200px;\n .touristic-event-img,\n .default-touristic-event-img {\n width: 100%;\n height: 100%;\n max-height: 200px;\n object-fit: cover;\n }\n .touristic-event-img {\n cursor: pointer;\n object-fit: cover;\n }\n .default-touristic-event-img {\n background-color: var(--color-primary-container);\n object-fit: contain;\n }\n .img-fullscreen {\n max-height: none;\n object-fit: contain !important;\n }\n .touristic-event-type {\n width: 24px;\n height: 24px;\n padding: 4px;\n border: 2px solid #ffffff;\n border-radius: var(--border-radius, 50%);\n background-color: var(--color-on-surface);\n position: absolute;\n top: 8px;\n left: 8px;\n z-index: 200;\n }\n}\n\n.touristic-event-sub-container {\n display: flex;\n flex-direction: column;\n padding: 12px;\n .touristic-event-type-container {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n .touristic-event-type-name {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n overflow: hidden;\n }\n img {\n font-size: 24px;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n background-color: var(--color-primary-app);\n }\n }\n .touristic-event-name {\n font-size: 16px;\n line-height: 24px;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n height: 48px;\n }\n}\n\n.touristic-event-more-detail-container {\n padding: 0px 12px 12px 12px;\n .more-details-button {\n cursor: pointer;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n border-radius: var(--border-radius, 8px);\n padding: 8px 16px;\n box-shadow: var(--elevation-1);\n width: 100%;\n height: 32px;\n gap: 8px;\n box-sizing: border-box;\n text-align: start;\n vertical-align: middle;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n position: relative;\n border: none;\n font-size: 14px;\n font-family: var(--font-family);\n &:hover {\n box-shadow: var(--elevation-2);\n }\n span {\n font-size: 18px;\n }\n }\n}\n\n.touristic-event-card-container,\n.touristic-event-card-large-view-container {\n font-family: var(--font-family);\n border-radius: var(--border-radius, 12px);\n box-shadow: var(--elevation-1);\n background-color: var(--color-surface-container-low);\n color: var(--color-on-surface);\n .touristic-event-img {\n height: 100%;\n object-fit: cover;\n border-top-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 12px);\n }\n}\n\n.touristic-event-card-container {\n width: 100%;\n max-width: 350px;\n .touristic-event-img {\n width: 100%;\n height: 100%;\n }\n}\n\n.touristic-event-card-large-view-container {\n width: 100%;\n display: flex;\n flex-direction: row;\n .touristic-event-img {\n width: 250px;\n height: 100%;\n border-bottom-left-radius: var(--border-radius, 12px);\n border-top-right-radius: var(--border-radius, 0px);\n }\n}\n\n.is-inside-vertical-list {\n cursor: pointer;\n border: none;\n .touristic-content-img,\n .default-touristic-event-img {\n height: 100%;\n }\n}\n\n.selected-touristic-event-card {\n box-shadow: var(--elevation-2);\n}\n\n.touristic-event-date-container {\n margin-top: 12px;\n}\n","import { Build, Component, Host, getAssetPath, h, State, Prop, Event, EventEmitter, Listen } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport { getDataInStore } from 'services/grw-db.service';\nimport state from 'store/store';\nimport Swiper, { Keyboard, Navigation, Pagination } from 'swiper';\nimport { OutdoorSite, TouristicEvent, Trek } from 'types/types';\n\n@Component({\n tag: 'grw-touristic-event-card',\n styleUrl: 'grw-touristic-event-card.scss',\n shadow: true,\n})\nexport class GrwTouristicEvent {\n swiperTouristicEvent?: Swiper;\n swiperTouristicEventRef?: HTMLDivElement;\n prevElTouristicEventRef?: HTMLDivElement;\n nextElTouristicEventRef?: HTMLDivElement;\n paginationElTouristicEventRef?: HTMLDivElement;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n\n @Prop() touristicEvent: TouristicEvent;\n @Prop() isLargeView = false;\n @Prop() isInsideHorizontalList = false;\n @State() displayFullscreen = false;\n\n @Event() cardTouristicEventMouseOver: EventEmitter<number>;\n @Event() cardTouristicEventMouseLeave: EventEmitter;\n @Event() touristicEventCardPress: EventEmitter<number>;\n\n @State() offline = false;\n\n @Listen('trekDownloadedSuccessConfirm', { target: 'window' })\n onTrekDownloadedSuccessConfirm() {\n if (this.swiperTouristicEvent) {\n this.swiperTouristicEvent.slideTo(0);\n }\n this.offline = true;\n }\n\n @Listen('trekDeleteSuccessConfirm', { target: 'window' })\n onTrekDeleteSuccessConfirm() {\n this.offline = false;\n }\n\n handleSwipers() {\n if (this.swiperTouristicEventRef && !this.swiperTouristicEvent) {\n this.swiperTouristicEvent = new Swiper(this.swiperTouristicEventRef, {\n modules: [Navigation, Pagination, Keyboard],\n navigation: {\n prevEl: this.prevElTouristicEventRef,\n nextEl: this.nextElTouristicEventRef,\n },\n pagination: { el: this.paginationElTouristicEventRef },\n allowTouchMove: false,\n keyboard: false,\n loop: true,\n });\n this.swiperTouristicEventRef.onfullscreenchange = () => {\n this.displayFullscreen = !this.displayFullscreen && !this.offline;\n if (this.displayFullscreen) {\n this.swiperTouristicEvent.keyboard.enable();\n } else {\n this.swiperTouristicEvent.keyboard.disable();\n }\n };\n }\n }\n\n componentDidUpdate() {\n this.handleSwipers();\n }\n\n componentDidLoad() {\n this.handleOffline();\n this.handleSwipers();\n }\n\n async handleOffline() {\n if (state.currentTrek) {\n const trekInStore: Trek = await getDataInStore('treks', state.currentTrek.id);\n if (trekInStore && trekInStore.offline) {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEvent.id);\n this.offline = trekInStore && trekInStore.offline && touristicEventInStore && touristicEventInStore.offline;\n }\n } else if (state.currentOutdoorSite) {\n const outdoorSiteInStore: OutdoorSite = await getDataInStore('outdoorSites', state.currentOutdoorSite.id);\n if (outdoorSiteInStore && outdoorSiteInStore.offline) {\n const touristicEventInStore: TouristicEvent = await getDataInStore('touristicEvents', this.touristicEvent.id);\n this.offline = touristicEventInStore && touristicEventInStore.offline;\n }\n }\n }\n\n handleFullscreen() {\n if (this.touristicEvent.attachments && this.touristicEvent.attachments[0] && this.touristicEvent.attachments[0].url) {\n this.swiperTouristicEventRef.requestFullscreen();\n }\n }\n\n @Listen('mouseover')\n handleMouseOver() {\n this.cardTouristicEventMouseOver.emit(this.touristicEvent.id);\n }\n\n @Listen('mouseleave')\n handleMouseLeave() {\n this.cardTouristicEventMouseLeave.emit();\n }\n\n onMoreDetailsClick() {\n this.touristicEventCardPress.emit(this.touristicEvent.id);\n }\n\n render() {\n const defaultImageSrc = getAssetPath(`${Build.isDev ? '/' : ''}assets/default-image.svg`);\n const touristicEventType = state.touristicEventTypes.find(touristicEventType => touristicEventType.id === this.touristicEvent.type);\n const displayPaginationAndNavigation = (this.touristicEvent && this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 1) || this.offline;\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n 'width': this.isLargeView ? '100%' : 'auto',\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n }}\n >\n <div\n part=\"touristic-event-card\"\n class={\n this.isLargeView\n ? `touristic-event-card touristic-event-card-large-view-container${\n state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''\n }${!this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''}`\n : ` touristic-event-card touristic-event-card-container${state.selectedTouristicEventId === this.touristicEvent.id ? ' selected-touristic-event-card' : ''}${\n !this.isInsideHorizontalList ? ' is-inside-vertical-list' : ''\n }`\n }\n onClick={() => {\n if (!this.isInsideHorizontalList) {\n this.onMoreDetailsClick();\n }\n }}\n >\n <div part=\"touristic-event-img-container\" class=\"touristic-event-img-container\">\n {this.isInsideHorizontalList ? (\n <div part=\"swiper-touristic-event\" class=\"swiper swiper-touristic-event\" ref={el => (this.swiperTouristicEventRef = el)}>\n <div part=\"swiper-wrapper\" class=\"swiper-wrapper\">\n {this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n this.touristicEvent.attachments\n .filter(attachment => attachment.type === 'image')\n .map(attachment => (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img\n part=\"touristic-event-img\"\n class={`touristic-event-img${this.displayFullscreen ? ' img-fullscreen' : ''}`}\n src={this.displayFullscreen ? (this.offline && attachment.thumbnail !== '' ? attachment.thumbnail : attachment.url) : attachment.thumbnail}\n loading=\"lazy\"\n /* @ts-ignore */\n onerror={event => {\n event.target.onerror = null;\n event.target.className = 'default-touristic-event-img';\n event.target.src = defaultImageSrc;\n }}\n onClick={() => this.handleFullscreen()}\n alt={attachment.legend}\n />\n </div>\n ))\n ) : (\n <div part=\"swiper-slide\" class=\"swiper-slide\">\n <img part=\"default-touristic-event-img\" class=\"default-touristic-event-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n </div>\n )}\n </div>\n <div\n style={{ display: 'block', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-pagination\"\n class=\"swiper-pagination\"\n ref={el => (this.paginationElTouristicEventRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-prev\"\n class=\"swiper-button-prev\"\n ref={el => (this.prevElTouristicEventRef = el)}\n ></div>\n <div\n style={{ display: 'flex', visibility: displayPaginationAndNavigation ? 'visible' : 'hidden' }}\n part=\"swiper-button-next\"\n class=\"swiper-button-next\"\n ref={el => (this.nextElTouristicEventRef = el)}\n ></div>\n </div>\n ) : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (\n <img\n part=\"touristic-event-img\"\n class=\"touristic-event-img\"\n src={`${\n this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail !== ''\n ? this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail\n : this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].url\n }`}\n alt={`${this.touristicEvent.attachments.filter(attachment => attachment.type === 'image')[0].legend}`}\n loading=\"lazy\"\n />\n ) : (\n <img class=\"image default-touristic-event-img\" src={defaultImageSrc} alt=\"\" loading=\"lazy\" />\n )}\n </div>\n <div part=\"touristic-event-sub-container\" class=\"touristic-event-sub-container\">\n <div part=\"touristic-event-type-container\" class=\"touristic-event-type-container\">\n {touristicEventType && touristicEventType.pictogram && (\n <img part=\"touristic-event-type-img\" class=\"touristic-event-type-img\" src={touristicEventType.pictogram} alt=\"\" />\n )}\n {touristicEventType && touristicEventType.type && (\n <div part=\"touristic-event-type-name\" class=\"touristic-event-type-name\">\n {touristicEventType.type}\n </div>\n )}\n </div>\n <div part=\"touristic-event-name\" class=\"touristic-event-name\">\n {this.touristicEvent.name}\n </div>\n {(this.touristicEvent.begin_date || this.touristicEvent.end_date) && (\n <div part=\"touristic-event-date-container\" class=\"touristic-event-date-container\">\n {this.touristicEvent.begin_date === this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].date} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.begin_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].startDate} : {this.touristicEvent.begin_date}\n </div>\n )}\n {this.touristicEvent.end_date && this.touristicEvent.begin_date !== this.touristicEvent.end_date && (\n <div part=\"touristic-event-date\" class=\"touristic-event-date\">\n {translate[state.language].endDate} : {this.touristicEvent.end_date}\n </div>\n )}\n </div>\n )}\n </div>\n\n {this.isInsideHorizontalList && (\n <div part=\"touristic-event-more-detail-container\" class=\"touristic-event-more-detail-container\">\n <button part=\"more-details-button\" class=\"more-details-button\" onClick={() => this.onMoreDetailsClick()}>\n {translate[state.language].moreDetails}\n </button>\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent, e as getAssetPath, F as Fragment } from './index-83d78b30.js';
|
|
2
|
-
import { s as state, o as onChange } from './store-
|
|
3
|
-
import { t as trekIsAvailableOffline } from './treks.service-
|
|
4
|
-
import { m as formatDuration, n as formatLength, p as formatAscent } from './utils-
|
|
2
|
+
import { s as state, o as onChange } from './store-882ab9be.js';
|
|
3
|
+
import { t as trekIsAvailableOffline } from './treks.service-a3ce33ef.js';
|
|
4
|
+
import { m as formatDuration, n as formatLength, p as formatAscent } from './utils-5feb9281.js';
|
|
5
5
|
import { T as TimelapseIcon, O as OpenInFullIcon, M as MovingIcon } from './moving-c644d077.js';
|
|
6
|
-
import { c as commonjsGlobal } from './grw-db.service-
|
|
6
|
+
import { c as commonjsGlobal } from './grw-db.service-83da38c9.js';
|
|
7
7
|
|
|
8
8
|
const grwSensitiveAreaDetailCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;color:var(--color-on-surface)}:host a{color:var(--color-primary-app)}.sensitive-area-title-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.sensitive-area-title-container .sensitive-area-color-container{width:20px;height:20px;margin-right:8px;border:3px solid var(--color-sensitive-area);position:relative}.sensitive-area-title-container .sensitive-area-color-container:before{content:\"\";width:20px;height:20px;background-color:var(--color-sensitive-area);opacity:0.2;position:absolute}.sensitive-area-title-container .sensitive-area-title{font-size:20px;line-height:28px;padding:12px 0px;font-weight:600}.sensitive-area-description{font-size:16px;line-height:24px}.sensitive-area-description p:first-child{margin-top:0}.sensitive-area-period-container .sensitive-area-period-title,.sensitive-area-period-container .sensitive-area-practice-title,.sensitive-area-period-container .sensitive-area-contact-title,.sensitive-area-practice-container .sensitive-area-period-title,.sensitive-area-practice-container .sensitive-area-practice-title,.sensitive-area-practice-container .sensitive-area-contact-title,.sensitive-area-contact-container .sensitive-area-period-title,.sensitive-area-contact-container .sensitive-area-practice-title,.sensitive-area-contact-container .sensitive-area-contact-title{font-size:18px;line-height:24px;padding:12px 0px;font-weight:600}.sensitive-area-period-container .sensitive-area-periods,.sensitive-area-period-container .sensitive-area-practices,.sensitive-area-practice-container .sensitive-area-periods,.sensitive-area-practice-container .sensitive-area-practices,.sensitive-area-contact-container .sensitive-area-periods,.sensitive-area-contact-container .sensitive-area-practices{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}";
|
|
9
9
|
const GrwSensitiveAreaDetailStyle0 = grwSensitiveAreaDetailCss;
|
|
@@ -13,16 +13,16 @@ const GrwSensitiveAreaDetail = class {
|
|
|
13
13
|
registerInstance(this, hostRef);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'a3972889e38c16d91276a8457871f0ba9adf8d86' }, h("div", { key: '9b57ab4885d4e797dba0f956b75d9239a8535b5e', part: "sensitive-area-title-container", class: "sensitive-area-title-container" }, h("div", { key: '3079e2e02da5ccba0018ac5fe7aa39aa52c2d4bb', part: "sensitive-area-color-container", class: "sensitive-area-color-container" }), h("div", { key: '463a15a54a517e5dff248be5de6de292b464b6c9', part: "sensitive-area-title", class: "sensitive-area-title" }, this.sensitiveArea.name)), h("div", { key: 'eceea2137c7003d3587b4d931e92f66a669f4aae', part: "sensitive-area-description", class: "sensitive-area-description", innerHTML: this.sensitiveArea.description }), this.sensitiveArea.practices && this.sensitiveArea.practices.length > 0 && (h("div", { key: 'd069d7ef25f9ccc04b7038c413cbb0a4239bc9e3', part: "sensitive-area-practice-container", class: "sensitive-area-practice-container" }, h("div", { key: '9fd3fa3754d5fe6645fcf9523f9f21e055fa1e36', part: "sensitive-area-practice-title", class: "sensitive-area-practice-title" }, "Domaines d'activit\u00E9s concern\u00E9s"), h("div", { key: 'bfb9a1eadcb9d654e46c40ef3924fe4fc8a21802', part: "sensitive-area-practices", class: "sensitive-area-practices" }, this.sensitiveArea.practices.map((sensitiveAreaPractice, index) => {
|
|
17
17
|
const practice = state.practices.find(statePractice => statePractice.id === sensitiveAreaPractice);
|
|
18
18
|
if (practice) {
|
|
19
19
|
return (h("div", { part: "sensitive-area-practice", class: "sensitive-area-practice", innerHTML: `${practice.name.toUpperCase()}${index + 1 !== this.sensitiveArea.practices.length ? ' - ' : ''}` }));
|
|
20
20
|
}
|
|
21
|
-
})))), this.sensitiveArea.period && this.sensitiveArea.period.length > 0 && (h("div", { key: '
|
|
21
|
+
})))), this.sensitiveArea.period && this.sensitiveArea.period.length > 0 && (h("div", { key: '6ee3ff77253a54efeb4629e283c5106367a2e1a9', part: "sensitive-area-period-container", class: "sensitive-area-period-container" }, h("div", { key: '8e5404e79de0611da9d3c8d7b19041ce8162fc5e', part: "sensitive-area-period-title", class: "sensitive-area-period-title" }, "P\u00E9riodes de sensibilit\u00E9"), h("div", { key: '6f300e600a660aac8a29ee1a3990704474d50ce6', part: "sensitive-area-periods", class: "sensitive-area-periods" }, this.sensitiveArea.period.map((month, index) => {
|
|
22
22
|
if (month) {
|
|
23
23
|
return (h("div", { part: "sensitive-area-period", class: "sensitive-area-period", innerHTML: `${new Date(0, index + 1, 0).toLocaleDateString('fr', { month: 'long' }).toUpperCase()}${this.sensitiveArea.period.slice(index + 1).find(month => month) ? ' - ' : ''}` }));
|
|
24
24
|
}
|
|
25
|
-
})))), h("div", { key: '
|
|
25
|
+
})))), h("div", { key: '9de4d86810467c824d27897048866e65c9112147', part: "sensitive-area-contact-container", class: "sensitive-area-contact-container" }, h("div", { key: 'ea60cab9430e15ae3e6203e00e90b910100ac7d1', part: "sensitive-area-contact-title", class: "sensitive-area-contact-title" }, "Contact"), h("div", { key: '18ce98746759ac791eb4f66e43bf198d5469ecda', part: "sensitive-area-contact-value", class: "sensitive-area-contact-value", innerHTML: this.sensitiveArea.contact }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
GrwSensitiveAreaDetail.style = GrwSensitiveAreaDetailStyle0;
|
|
@@ -157,7 +157,7 @@ const GrwTrekCard = class {
|
|
|
157
157
|
render() {
|
|
158
158
|
var _a, _b, _c, _d, _e;
|
|
159
159
|
const defaultImageSrc = getAssetPath(`${''}assets/default-image.svg`);
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: '5103411a0280359337b91033e979b5a1eafb4e43', style: {
|
|
161
161
|
'--font-family': this.fontFamily,
|
|
162
162
|
'width': this.isLargeView ? '100%' : 'auto',
|
|
163
163
|
'--color-primary-app': this.colorPrimaryApp,
|
|
@@ -165,7 +165,7 @@ const GrwTrekCard = class {
|
|
|
165
165
|
'--color-secondary-container': this.colorSecondaryContainer,
|
|
166
166
|
'--color-on-secondary-container': this.colorOnSecondaryContainer,
|
|
167
167
|
'--color-surface-container-low': this.colorSurfaceContainerLow,
|
|
168
|
-
} }, this.currentTrek && (h("div", { key: '
|
|
168
|
+
} }, this.currentTrek && (h("div", { key: 'a98b416a21e2cd778827d8d00688210e3bf479a4', part: "trek-card", class: this.isStep
|
|
169
169
|
? `trek-card trek-card-container trek-step-card${state.selectedStepId === this.currentTrek.id ? ' selected-trek-card' : ''} ${state.currentTrek && state.currentTrek.id === this.currentTrek.id ? 'is-current-step' : ''}`
|
|
170
170
|
: this.isLargeView
|
|
171
171
|
? `trek-card trek-card-large-view-container${state.selectedTrekId === this.currentTrek.id ? ' selected-trek-card' : ''}`
|
|
@@ -176,7 +176,7 @@ const GrwTrekCard = class {
|
|
|
176
176
|
else {
|
|
177
177
|
window.location.href = slugify(`${this.currentTrek.name}`);
|
|
178
178
|
}
|
|
179
|
-
} }, h("div", { key: '
|
|
179
|
+
} }, h("div", { key: '2a434bbd6ff1f7cdc34b23bbf2c04d78a820b44f', part: "trek-img-container", class: "trek-img-container" }, this.isAvailableOffline && (h("div", { key: '2d18609d9e00f576f2653cd96e483d195bd6fcd4', part: "offline-indicator", class: "offline-indicator" }, h("span", { key: 'fc400aea8e0b1203e918e55aabc6c7521d39a928', part: "icon", class: "icon", innerHTML: OfflinePinIcon }))), this.currentTrek.attachments.filter(attachment => attachment.type === 'image').length > 0 ? (h("img", { part: "trek-img", class: "trek-img", src: `${this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail !== ''
|
|
180
180
|
? this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].thumbnail
|
|
181
181
|
: this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].url}`, alt: `${this.currentTrek.attachments.filter(attachment => attachment.type === 'image')[0].legend}`, loading: "lazy",
|
|
182
182
|
/* @ts-ignore */
|
|
@@ -184,7 +184,7 @@ const GrwTrekCard = class {
|
|
|
184
184
|
event.target.onerror = null;
|
|
185
185
|
event.target.className = 'trek-img default-trek-img';
|
|
186
186
|
event.target.src = defaultImageSrc;
|
|
187
|
-
} })) : (h("img", { part: "trek-img", class: "trek-img default-trek-img", src: defaultImageSrc, alt: "", loading: "lazy" }))), h("div", { key: '
|
|
187
|
+
} })) : (h("img", { part: "trek-img", class: "trek-img default-trek-img", src: defaultImageSrc, alt: "", loading: "lazy" }))), h("div", { key: '14093d115f16688d324db919175a258ef94abc8d', part: "trek-sub-container", class: "trek-sub-container" }, this.departureCity && (h("div", { key: 'cb1ad758feebb67ccdb268607c17227cee00258b', part: "trek-departure", class: "trek-departure" }, this.departureCity.name)), h("div", { key: '168648f74cd0c10b02ff90b357b325a3c1072386', part: "trek-name", class: "trek-name" }, (_a = this.currentTrek) === null || _a === void 0 ? void 0 : _a.name), !this.isStep && this.themes && (h("div", { key: 'a0b18ea1b28b3337a2c42c2db468b4f5782ba0bc', part: "trek-themes-container", class: "trek-themes-container" }, this.themes.map(theme => (h("div", { part: "trek-theme", class: "trek-theme" }, theme.label))))), h("div", { key: 'c08553573fa26ca90dd775869e78463511d0cf63', part: "trek-icons-labels-container", class: "trek-icons-labels-container" }, this.difficulty && (h("div", { key: '6672961ae0a498fe6f9286a010926c576f71fd8a', part: "trek-icon-label", class: "trek-icon-label difficulty" }, this.difficulty.pictogram && h("img", { key: '7070ce65e3f9c53c0ff4fd22a1b67db41725a723', part: "trek-icon", class: "trek-icon", src: this.difficulty.pictogram, alt: "" }), h("span", { key: '7ed3f0c3c09301fc3d829ae08969b505d61f17e1', part: "trek-label", class: "trek-label" }, this.difficulty.label))), h("div", { key: '020ec2db5ef5153b36cfbafe3117b17e100c160e', part: "trek-icon-label", class: "trek-icon-label duration" }, h("span", { key: '3e6fa7695e5b9a7a5416b26bcadd5a131564c70b', part: "trek-icon", class: "trek-icon", innerHTML: TimelapseIcon }), h("span", { key: '28c19f1bc35c1b0238ec9490de1a3e4e95396f6a', part: "trek-label", class: "trek-label" }, formatDuration(this.currentTrek.duration))), h("div", { key: 'df3e39d8f793825be9aca2ba9e0865e356b065ff', part: "trek-icon-label", class: "trek-icon-label length" }, h("span", { key: '406fd2b4619c1dfe98f1c2d81aeae92764b4d0f4', part: "trek-icon", class: "trek-icon", innerHTML: OpenInFullIcon }), h("span", { key: 'c8bba67f4e01e2cebf46df5ef43746cbe11a671e', part: "trek-label", class: "trek-label" }, formatLength(this.currentTrek.length_2d))), h("div", { key: '8c1634c1bb73588e8e1c1ab2db4d8e3932947326', part: "trek-icon-label", class: "trek-icon-label ascent" }, h("span", { key: '546823a7b1210c20bcf9228b51a8e16f36acf9f7', part: "trek-icon", class: "trek-icon", innerHTML: MovingIcon }), h("span", { key: '269c9ba2dbc9ab58dae2178863125b91c9516eea', part: "trek-label", class: "trek-label" }, formatAscent(this.currentTrek.ascent))), !this.isStep && (h(Fragment, { key: 'd821040ef877fbbbfa125892dade9fc997e69441' }, h("div", { key: '5279ae1086e34d35d7e41b4ae8460f76b0328b94', part: "trek-icon-label", class: "trek-icon-label route" }, ((_b = this.route) === null || _b === void 0 ? void 0 : _b.pictogram) && h("img", { key: '4913027e807f6d43bd32f708a3d21542ae5b8ebc', part: "trek-icon", class: "trek-icon", src: this.route.pictogram, alt: "" }), h("span", { key: 'ae66c692aa1da2181545db0e746700fd8e73fc1b', part: "trek-label", class: "trek-label" }, (_c = this.route) === null || _c === void 0 ? void 0 : _c.route)), h("div", { key: '62b24580d88c5850ed306869d4bcd8086c7692b3', part: "trek-icon-label", class: "trek-icon-label practice" }, ((_d = this.practice) === null || _d === void 0 ? void 0 : _d.pictogram) && h("img", { key: 'e64fce8ade0f02e51b6dcbf207baf9f9af61acd8', part: "trek-icon", class: "trek-icon", src: this.practice.pictogram, alt: "" }), h("span", { key: 'ad742e9cc5cdaefa258223a6ee2864a9cefb47ac', part: "trek-label", class: "trek-label" }, (_e = this.practice) === null || _e === void 0 ? void 0 : _e.name))))))))));
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
190
|
GrwTrekCard.style = GrwTrekCardStyle0;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-83d78b30.js';
|
|
2
2
|
import { t as translate } from './i18n-d4785001.js';
|
|
3
|
-
import { s as state } from './store-
|
|
3
|
+
import { s as state } from './store-882ab9be.js';
|
|
4
4
|
|
|
5
5
|
const grwToggleSlotVisibilityCss = "grw-toggle-slot-visibility{display:block;position:relative;width:100%;overflow:hidden;max-width:100dvw}.grw-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:fixed;bottom:24px;z-index:4001;pointer-events:none}";
|
|
6
6
|
const GrwToggleSlotVisibilityStyle0 = grwToggleSlotVisibilityCss;
|
|
@@ -99,7 +99,7 @@ const GrwToggleSlotVisibility = class {
|
|
|
99
99
|
return mapLabelButton;
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '25f18697285a2e7783213b50a9948bbc2df838e4' }, h("div", { key: 'a56d8c400aee0c4c8f9449f363d9a98eeba5b113', class: "grw-toggle-slot-visibility-container" }, h("div", { key: 'b8f463ade00e7bcae66cb54a7a1eee506e796874', class: "grw-slot-start-container", style: { height: this.showStartSlot ? '100%' : '100vh', visibility: this.showStartSlot ? 'visible' : 'hidden', zIndex: this.showStartSlot ? '1' : '0' } }, h("slot", { key: '32f3fe6c03c86997963b3e030a12ccf55a15db1b', name: "start" }, " ")), h("div", { key: '132fcd29135670dd0018ed7d209fdbd97a228038', id: "grw-slot-end-container", style: {
|
|
103
103
|
width: '100%',
|
|
104
104
|
height: this.slotEndHeight,
|
|
105
105
|
visibility: !this.isLargeView ? 'hidden' : 'visible',
|
|
@@ -107,7 +107,7 @@ const GrwToggleSlotVisibility = class {
|
|
|
107
107
|
top: !this.isLargeView ? '0px' : 'none',
|
|
108
108
|
left: !this.isLargeView ? '0px' : 'none',
|
|
109
109
|
zIndex: !this.isLargeView ? '0' : '1',
|
|
110
|
-
} }, h("slot", { key: '
|
|
110
|
+
} }, h("slot", { key: '9a5dabc1fd1dd228a181e2c5dac00af90339359c', name: "end" }, " ")))));
|
|
111
111
|
}
|
|
112
112
|
get toggleSlotElement() { return getElement(this); }
|
|
113
113
|
};
|
|
Binary file
|
|
Binary file
|
package/dist/esm/{outdoor-courses.service-add4d256.js → outdoor-courses.service-d2397066.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as getAllPaginatedResults } from './utils-
|
|
1
|
+
import { d as getAllPaginatedResults } from './utils-5feb9281.js';
|
|
2
2
|
|
|
3
3
|
function getOutdoorCourses(api, language, inBbox, cities, districts, structures, themes, portals, init) {
|
|
4
4
|
let outdoorCoursesRequest = `${api}outdoor_course/?language=${language}&published=true`;
|
|
@@ -26,4 +26,4 @@ function getPoisNearCourse(api, language, courseId, init) {
|
|
|
26
26
|
|
|
27
27
|
export { getOutdoorCourseTypes as a, getPoisNearCourse as b, getOutdoorCourse as c, getOutdoorCourses as g };
|
|
28
28
|
|
|
29
|
-
//# sourceMappingURL=outdoor-courses.service-
|
|
29
|
+
//# sourceMappingURL=outdoor-courses.service-d2397066.js.map
|
|
Binary file
|
|
Binary file
|
package/dist/esm/{outdoor-courses.service-add4d256.js.map → outdoor-courses.service-d2397066.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"outdoor-courses.service-
|
|
1
|
+
{"file":"outdoor-courses.service-d2397066.js","mappings":";;SAEgB,iBAAiB,CAAC,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI;IAC3G,IAAI,qBAAqB,GAAG,GAAG,GAAG,4BAA4B,QAAQ,iBAAiB,CAAC;IACxF,MAAM,KAAK,qBAAqB,IAAI,YAAY,MAAM,EAAE,CAAC,CAAC;IAC1D,MAAM,KAAK,qBAAqB,IAAI,WAAW,MAAM,EAAE,CAAC,CAAC;IACzD,SAAS,KAAK,qBAAqB,IAAI,cAAc,SAAS,EAAE,CAAC,CAAC;IAClE,UAAU,KAAK,qBAAqB,IAAI,eAAe,UAAU,EAAE,CAAC,CAAC;IACrE,MAAM,KAAK,qBAAqB,IAAI,WAAW,MAAM,EAAE,CAAC,CAAC;IACzD,OAAO,KAAK,qBAAqB,IAAI,YAAY,OAAO,EAAE,CAAC,CAAC;IAE5D,qBAAqB,IAAI,0PAA0P,CAAC;IACpR,OAAO,sBAAsB,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;AAC7D,CAAC;SAEe,gBAAgB,CAAC,GAAG,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI;IACnE,IAAI,qBAAqB,GAAG,GAAG,GAAG,kBAAkB,eAAe,cAAc,QAAQ,iBAAiB,CAAC;IAC3G,qBAAqB,IAAI,0PAA0P,CAAC;IACpR,OAAO,KAAK,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;AAC5C,CAAC;SAEe,qBAAqB,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI;IACvD,IAAI,yBAAyB,GAAG,GAAG,GAAG,gCAAgC,QAAQ,iBAAiB,CAAC;IAChG,OAAO,KAAK,CAAC,yBAAyB,EAAE,IAAI,CAAC,CAAC;AAChD,CAAC;SAEe,iBAAiB,CAAC,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI;IAC7D,OAAO,sBAAsB,CAAC,GAAG,GAAG,iBAAiB,QAAQ,YAAY,QAAQ,sEAAsE,EAAE,IAAI,CAAC,CAAC;AACjK;;;;","names":[],"sources":["src/services/outdoor-courses.service.ts"],"sourcesContent":["import { getAllPaginatedResults } from '../utils/utils';\n\nexport function getOutdoorCourses(api, language, inBbox, cities, districts, structures, themes, portals, init) {\n let outdoorCoursesRequest = `${api}outdoor_course/?language=${language}&published=true`;\n inBbox && (outdoorCoursesRequest += `&in_bbox=${inBbox}`);\n cities && (outdoorCoursesRequest += `&cities=${cities}`);\n districts && (outdoorCoursesRequest += `&districts=${districts}`);\n structures && (outdoorCoursesRequest += `&structures=${structures}`);\n themes && (outdoorCoursesRequest += `&themes=${themes}`);\n portals && (outdoorCoursesRequest += `&portals=${portals}`);\n\n outdoorCoursesRequest += `&fields=id,name,geometry,accessibility,advice,attachments,children,cities,description,districts,duration,equipment,gear,height,length,max_elevation,min_elevation,parents,pdf,points_reference,provider,ratings,ratings_description,sites,structure,type`;\n return getAllPaginatedResults(outdoorCoursesRequest, init);\n}\n\nexport function getOutdoorCourse(api, language, outdoorCourseId, init) {\n let outdoorCoursesRequest = `${api}outdoor_course/${outdoorCourseId}/?language=${language}&published=true`;\n outdoorCoursesRequest += `&fields=id,name,geometry,accessibility,advice,attachments,children,cities,description,districts,duration,equipment,gear,height,length,max_elevation,min_elevation,parents,pdf,points_reference,provider,ratings,ratings_description,sites,structure,type`;\n return fetch(outdoorCoursesRequest, init);\n}\n\nexport function getOutdoorCourseTypes(api, language, init) {\n let outdoorCoursesTypeRequest = `${api}outdoor_coursetype/?language=${language}&published=true`;\n return fetch(outdoorCoursesTypeRequest, init);\n}\n\nexport function getPoisNearCourse(api, language, courseId, init) {\n return getAllPaginatedResults(`${api}poi/?language=${language}&courses=${courseId}&published=true&fields=id,name,description,attachments,type,geometry`, init);\n}\n"],"version":3}
|
|
@@ -204,7 +204,7 @@ const { state, onChange, reset } = createStore({
|
|
|
204
204
|
routes: null,
|
|
205
205
|
practices: null,
|
|
206
206
|
themes: null,
|
|
207
|
-
cities:
|
|
207
|
+
cities: [],
|
|
208
208
|
durations: null,
|
|
209
209
|
lengths: null,
|
|
210
210
|
elevations: null,
|
|
@@ -273,8 +273,11 @@ const { state, onChange, reset } = createStore({
|
|
|
273
273
|
outdoorRatingsScale: null,
|
|
274
274
|
offlineOutdoorSites: false,
|
|
275
275
|
currentSignages: null,
|
|
276
|
+
touristicContentsData: 0,
|
|
277
|
+
touristicEventsData: 0,
|
|
278
|
+
poisData: 0,
|
|
276
279
|
});
|
|
277
280
|
|
|
278
281
|
export { onChange as o, reset as r, state as s };
|
|
279
282
|
|
|
280
|
-
//# sourceMappingURL=store-
|
|
283
|
+
//# sourceMappingURL=store-882ab9be.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"store-882ab9be.js","mappings":";;AAEA,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,KAAK;AAC9C,IAAI,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AACpC,IAAI,IAAI,CAA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stencil/store/dist/index.mjs","src/store/store.ts"],"sourcesContent":["import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n const reset = () => {\n var _a;\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const unSet = on('set', (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n });\n // We need to unwrap the defaultState because it might be a function.\n // Otherwise we might not be sending the right reset value.\n const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));\n return () => {\n unSet();\n unReset();\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n","import { createStore } from '@stencil/store';\nimport { LatLngBounds } from 'leaflet';\nimport {\n Accessibilities,\n AccessibilitiesLevel,\n Difficulties,\n Durations,\n InformationDesks,\n Labels,\n Pois,\n PoiTypes,\n Practices,\n Routes,\n SensitiveAreas,\n Sources,\n Themes,\n Cities,\n Trek,\n Treks,\n Lengths,\n Elevations,\n Districts,\n TouristicContents,\n TouristicContentCategories,\n TouristicContent,\n TouristicEvents,\n TouristicEventTypes,\n TouristicEvent,\n Ratings,\n RatingsScale,\n Networks,\n OutdoorSites,\n OutdoorCourses,\n OutdoorSiteTypes,\n OutdoorPractices,\n OutdoorSite,\n OutdoorCourse,\n OutdoorCourseTypes,\n Signages,\n} from 'types/types';\n\nconst { state, onChange, reset } = createStore<{\n mode: string;\n api: string;\n languages: string[];\n language: string;\n treks: Treks;\n treksWithinBounds: Treks;\n currentMapBounds: LatLngBounds;\n currentTreks: Treks;\n difficulties: Difficulties;\n routes: Routes;\n practices: Practices;\n themes: Themes;\n cities: Cities;\n durations: Durations;\n lengths: Lengths;\n elevations: Elevations;\n labels: Labels;\n districts: Districts;\n sources: Sources;\n ratings: Ratings;\n ratingsScale: RatingsScale;\n outdoorRatings: Ratings;\n outdoorRatingsScale: RatingsScale;\n accessibilities: Accessibilities;\n accessibilitiesLevel: AccessibilitiesLevel;\n poiTypes: PoiTypes;\n currentTrek: Trek;\n currentSensitiveAreas: SensitiveAreas;\n currentPois: Pois;\n currentInformationDesks: InformationDesks;\n networkError: boolean;\n searchValue: string;\n selectedActivitiesFilters: number;\n selectedThemesFilters: number;\n selectedLocationFilters: number;\n selectedTrekId: number;\n parentTrekId: number;\n parentTrek: Trek;\n currentTrekSteps: Treks;\n selectedStepId: number;\n trekTouristicContents: TouristicContents;\n touristicContents: TouristicContents;\n currentTouristicContents: TouristicContents;\n touristicContentsWithinBounds: TouristicContents;\n touristicContentCategories: TouristicContentCategories;\n currentTouristicContent: TouristicContent;\n trekTouristicEvents: TouristicEvents;\n touristicEvents: TouristicEvents;\n currentTouristicEvents: TouristicEvents;\n touristicEventsWithinBounds: TouristicEvents;\n touristicEventTypes: TouristicEventTypes;\n currentTouristicEvent: TouristicEvent;\n selectedTouristicContentId: number;\n selectedTouristicEventId: number;\n networks: Networks;\n portalsFromProviders: string;\n inBboxFromProviders: string;\n citiesFromProviders: string;\n districtsFromProviders: string;\n structuresFromProviders: string;\n themesFromProviders: string;\n routesFromProviders: string;\n practicesFromProviders: string;\n labelsFromProviders: string;\n offlineTreks: boolean;\n currentOutdoorSites: OutdoorSites;\n outdoorSites: OutdoorSites;\n outdoorSitesWithinBounds: OutdoorSites;\n currentOutdoorCourses: OutdoorCourses;\n outdoorCourses: OutdoorCourses;\n outdoorSiteTypes: OutdoorSiteTypes;\n outdoorPractices: OutdoorPractices;\n selectedOutdoorSiteId: number;\n currentOutdoorSite: OutdoorSite;\n currentRelatedOutdoorSites: OutdoorSites;\n currentRelatedOutdoorCourses: OutdoorCourses;\n selectedOutdoorCourseId: number;\n outdoorCourseTypes: OutdoorCourseTypes;\n currentOutdoorCourse: OutdoorCourse;\n offlineOutdoorSites: boolean;\n currentSignages: Signages;\n touristicContentsData: number;\n touristicEventsData: number;\n poisData: number;\n}>({\n mode: null,\n api: null,\n languages: null,\n language: null,\n treks: null,\n currentTreks: null,\n treksWithinBounds: null,\n currentMapBounds: null,\n difficulties: null,\n routes: null,\n practices: null,\n themes: null,\n cities: [],\n durations: null,\n lengths: null,\n elevations: null,\n currentSensitiveAreas: null,\n labels: null,\n districts: null,\n sources: null,\n ratings: null,\n ratingsScale: null,\n accessibilities: null,\n accessibilitiesLevel: null,\n poiTypes: null,\n currentTrek: null,\n currentPois: null,\n currentInformationDesks: null,\n networkError: false,\n searchValue: null,\n selectedActivitiesFilters: 0,\n selectedThemesFilters: 0,\n selectedLocationFilters: 0,\n selectedTrekId: null,\n parentTrekId: null,\n parentTrek: null,\n currentTrekSteps: null,\n selectedStepId: null,\n trekTouristicContents: null,\n touristicContents: null,\n currentTouristicContents: null,\n touristicContentsWithinBounds: null,\n touristicContentCategories: null,\n currentTouristicContent: null,\n trekTouristicEvents: null,\n touristicEvents: null,\n currentTouristicEvents: null,\n touristicEventsWithinBounds: null,\n touristicEventTypes: null,\n currentTouristicEvent: null,\n selectedTouristicContentId: null,\n selectedTouristicEventId: null,\n networks: null,\n portalsFromProviders: null,\n inBboxFromProviders: null,\n citiesFromProviders: null,\n districtsFromProviders: null,\n structuresFromProviders: null,\n themesFromProviders: null,\n routesFromProviders: null,\n practicesFromProviders: null,\n labelsFromProviders: null,\n offlineTreks: false,\n currentOutdoorSites: null,\n outdoorSites: null,\n outdoorSitesWithinBounds: null,\n currentOutdoorCourses: null,\n outdoorCourses: null,\n outdoorSiteTypes: null,\n outdoorPractices: null,\n selectedOutdoorSiteId: null,\n currentOutdoorSite: null,\n currentRelatedOutdoorSites: null,\n currentRelatedOutdoorCourses: null,\n selectedOutdoorCourseId: null,\n outdoorCourseTypes: null,\n currentOutdoorCourse: null,\n outdoorRatings: null,\n outdoorRatingsScale: null,\n offlineOutdoorSites: false,\n currentSignages: null,\n touristicContentsData: 0,\n touristicEventsData: 0,\n poisData: 0,\n});\n\nexport { onChange, reset };\n\nexport default state;\n"],"version":3}
|