@geotrekce/geotrek-rando-widget 0.4.7 → 0.5.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/geotrek-rando-widget.cjs.js +1 -1
- package/dist/cjs/geotrek-rando-widget.cjs.js.br +0 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js.gz +0 -0
- package/dist/cjs/{grw-filters_16.cjs.entry.js → grw-app_28.cjs.entry.js} +6972 -692
- package/dist/cjs/grw-app_28.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-app_28.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-app_28.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js.br +0 -0
- package/dist/cjs/loader.cjs.js.gz +0 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/grw-app/grw-app.css +11 -124
- 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 +60 -49
- 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-common-button/grw-common-button.css +36 -0
- package/dist/collection/components/grw-common-button/grw-common-button.css.br +5 -0
- package/dist/collection/components/grw-common-button/grw-common-button.css.gz +0 -0
- package/dist/collection/components/grw-common-button/grw-common-button.js +102 -0
- package/dist/collection/components/grw-common-button/grw-common-button.js.br +0 -0
- package/dist/collection/components/grw-common-button/grw-common-button.js.gz +0 -0
- package/dist/collection/components/grw-common-button/grw-common-button.js.map +1 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.css +35 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.css.br +0 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.css.gz +0 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.js +124 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.js.br +0 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.js.gz +0 -0
- package/dist/collection/components/grw-extended-fab/grw-extended-fab.js.map +1 -0
- package/dist/collection/components/grw-filter/grw-filter.css +9 -9
- package/dist/collection/components/grw-filter/grw-filter.css.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.css.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js +22 -1
- package/dist/collection/components/grw-filter/grw-filter.js.br +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.gz +0 -0
- package/dist/collection/components/grw-filter/grw-filter.js.map +1 -1
- package/dist/collection/components/grw-filters/grw-filters.css +12 -5
- package/dist/collection/components/grw-filters/grw-filters.css.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.css.gz +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js +22 -1
- package/dist/collection/components/grw-filters/grw-filters.js.br +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js.gz +0 -0
- package/dist/collection/components/grw-filters/grw-filters.js.map +1 -1
- package/dist/collection/components/grw-information-desk/grw-information-desk.css +2 -2
- package/dist/collection/components/grw-information-desk/grw-information-desk.css.br +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.css.gz +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js +4 -1
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.br +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.gz +0 -0
- package/dist/collection/components/grw-information-desk/grw-information-desk.js.map +1 -1
- package/dist/collection/components/grw-loader/grw-loader.css +19 -0
- package/dist/collection/components/grw-loader/grw-loader.css.br +0 -0
- package/dist/collection/components/grw-loader/grw-loader.css.gz +0 -0
- package/dist/collection/components/grw-loader/grw-loader.js +63 -0
- package/dist/collection/components/grw-loader/grw-loader.js.br +0 -0
- package/dist/collection/components/grw-loader/grw-loader.js.gz +0 -0
- package/dist/collection/components/grw-loader/grw-loader.js.map +1 -0
- package/dist/collection/components/grw-map/grw-map.css +6 -5
- 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 +44 -12
- 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-poi-detail/grw-poi.css +3 -3
- 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 +8 -2
- 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.css +7 -3
- package/dist/collection/components/grw-search/grw-search.css.br +0 -0
- package/dist/collection/components/grw-search/grw-search.css.gz +0 -0
- package/dist/collection/components/grw-search/grw-search.js +28 -1
- package/dist/collection/components/grw-search/grw-search.js.br +0 -0
- package/dist/collection/components/grw-search/grw-search.js.gz +0 -0
- package/dist/collection/components/grw-search/grw-search.js.map +1 -1
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css +42 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css.br +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.css.gz +0 -0
- package/dist/collection/components/grw-segmented-segment/grw-segmented-segment.js +135 -0
- 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-segmented-segment/grw-segmented-segment.js.map +1 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css +8 -7
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js +31 -2
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content/grw-touristic-content-card.js.map +1 -1
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css +3 -3
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.css.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js +30 -1
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-content-detail/grw-touristic-content-detail.js.map +1 -1
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css +1 -2
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.css.gz +0 -0
- package/dist/collection/components/grw-touristic-contents-list/grw-touristic-contents-list.js +20 -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-contents-list/grw-touristic-contents-list.js.map +1 -1
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css +8 -7
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.br +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js +31 -2
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.br +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event/grw-touristic-event-card.js.map +1 -1
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css +3 -3
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.css.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js +30 -1
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.br +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.gz +0 -0
- package/dist/collection/components/grw-touristic-event-detail/grw-touristic-event-detail.js.map +1 -1
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css +1 -2
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.br +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.css.gz +0 -0
- package/dist/collection/components/grw-touristic-events-list/grw-touristic-events-list.js +20 -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-touristic-events-list/grw-touristic-events-list.js.map +1 -1
- package/dist/collection/components/grw-trek-card/grw-trek-card.css +5 -5
- package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +35 -3
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.br +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.gz +0 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js.map +1 -1
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +12 -10
- 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 +47 -6
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.css +2 -2
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.css.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js +20 -1
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.br +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.gz +0 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js.map +1 -1
- package/dist/collection/stories/App.stories.js +2 -2
- package/dist/collection/stories/App.stories.js.br +0 -0
- package/dist/collection/stories/App.stories.js.gz +0 -0
- package/dist/collection/stories/TrekMap.stories.js +2 -2
- package/dist/collection/stories/TrekMap.stories.js.br +0 -0
- package/dist/collection/stories/TrekMap.stories.js.gz +0 -0
- package/dist/collection/stories/TreksMap.stories.js +2 -2
- package/dist/collection/stories/TreksMap.stories.js.br +0 -0
- package/dist/collection/stories/TreksMap.stories.js.gz +0 -0
- package/dist/collection/types/types.js.map +1 -1
- package/dist/collection/utils/utils.js +5 -3
- package/dist/collection/utils/utils.js.br +0 -0
- package/dist/collection/utils/utils.js.gz +0 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/esm/geotrek-rando-widget.js +3 -3
- package/dist/esm/geotrek-rando-widget.js.br +0 -0
- package/dist/esm/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm/{grw-filters_16.entry.js → grw-app_28.entry.js} +6505 -237
- package/dist/esm/grw-app_28.entry.js.br +0 -0
- package/dist/esm/grw-app_28.entry.js.gz +0 -0
- package/dist/esm/grw-app_28.entry.js.map +1 -0
- package/dist/esm/{index-d5cacae4.js → index-f51f19f9.js} +2 -2
- package/dist/esm/index-f51f19f9.js.br +0 -0
- package/dist/esm/index-f51f19f9.js.gz +0 -0
- package/dist/esm/{index-d5cacae4.js.map → index-f51f19f9.js.map} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.br +0 -0
- package/dist/esm/loader.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js +1 -1
- package/dist/esm-es5/geotrek-rando-widget.js.br +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.gz +0 -0
- package/dist/esm-es5/geotrek-rando-widget.js.map +1 -1
- package/dist/esm-es5/grw-app_28.entry.js +15 -0
- package/dist/esm-es5/grw-app_28.entry.js.br +0 -0
- package/dist/esm-es5/grw-app_28.entry.js.gz +0 -0
- package/dist/esm-es5/grw-app_28.entry.js.map +1 -0
- package/dist/esm-es5/{index-d5cacae4.js → index-f51f19f9.js} +2 -2
- package/dist/esm-es5/index-f51f19f9.js.br +0 -0
- package/dist/esm-es5/index-f51f19f9.js.gz +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.br +0 -0
- package/dist/esm-es5/loader.js.gz +0 -0
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.map +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js +1 -1
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.br +0 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-772a2e24.entry.js +15 -0
- package/dist/geotrek-rando-widget/p-772a2e24.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-772a2e24.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-772a2e24.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-d2c035bc.system.js → p-9d93427a.system.js} +2 -2
- package/dist/geotrek-rando-widget/p-9d93427a.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-9d93427a.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cae9163d.system.entry.js +15 -0
- package/dist/geotrek-rando-widget/p-cae9163d.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cae9163d.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cae9163d.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js +2 -0
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cea4d6a2.system.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-0c07a3f0.js → p-fb5e6f55.js} +2 -2
- package/dist/geotrek-rando-widget/p-fb5e6f55.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fb5e6f55.js.gz +0 -0
- package/dist/types/components/grw-app/grw-app.d.ts +3 -2
- package/dist/types/components/grw-common-button/grw-common-button.d.ts +7 -0
- package/dist/types/components/grw-extended-fab/grw-extended-fab.d.ts +8 -0
- package/dist/types/components/grw-filter/grw-filter.d.ts +1 -0
- package/dist/types/components/grw-filters/grw-filters.d.ts +1 -0
- package/dist/types/components/grw-loader/grw-loader.d.ts +5 -0
- package/dist/types/components/grw-map/grw-map.d.ts +1 -0
- package/dist/types/components/grw-search/grw-search.d.ts +1 -0
- package/dist/types/components/grw-segmented-segment/grw-segmented-segment.d.ts +9 -0
- package/dist/types/components/grw-touristic-content/grw-touristic-content-card.d.ts +1 -0
- package/dist/types/components/grw-touristic-content-detail/grw-touristic-content-detail.d.ts +1 -0
- package/dist/types/components/grw-touristic-contents-list/grw-touristic-contents-list.d.ts +1 -0
- package/dist/types/components/grw-touristic-event/grw-touristic-event-card.d.ts +1 -0
- package/dist/types/components/grw-touristic-event-detail/grw-touristic-event-detail.d.ts +1 -0
- package/dist/types/components/grw-touristic-events-list/grw-touristic-events-list.d.ts +1 -0
- package/dist/types/components/grw-trek-card/grw-trek-card.d.ts +1 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +1 -0
- package/dist/types/components/grw-treks-list/grw-treks-list.d.ts +1 -0
- package/dist/types/components.d.ts +112 -0
- package/dist/types/types/types.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/grw-app.cjs.entry.js +0 -383
- 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 +0 -1
- package/dist/cjs/grw-filter.cjs.entry.js +0 -102
- package/dist/cjs/grw-filter.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filter.cjs.entry.js.map +0 -1
- package/dist/cjs/grw-filters_16.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-filters_16.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-filters_16.cjs.entry.js.map +0 -1
- package/dist/cjs/grw-information-desk_6.cjs.entry.js +0 -313
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
- package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +0 -1
- package/dist/cjs/i18n-25e8e038.js +0 -192
- package/dist/cjs/i18n-25e8e038.js.br +0 -0
- package/dist/cjs/i18n-25e8e038.js.gz +0 -0
- package/dist/cjs/i18n-25e8e038.js.map +0 -1
- package/dist/cjs/pagination-149c2052.js +0 -4655
- package/dist/cjs/pagination-149c2052.js.br +0 -0
- package/dist/cjs/pagination-149c2052.js.gz +0 -0
- package/dist/cjs/pagination-149c2052.js.map +0 -1
- package/dist/cjs/utils-f0196a2f.js +0 -506
- package/dist/cjs/utils-f0196a2f.js.br +0 -0
- package/dist/cjs/utils-f0196a2f.js.gz +0 -0
- package/dist/cjs/utils-f0196a2f.js.map +0 -1
- package/dist/esm/grw-app.entry.js +0 -379
- 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 +0 -1
- package/dist/esm/grw-filter.entry.js +0 -98
- package/dist/esm/grw-filter.entry.js.br +0 -0
- package/dist/esm/grw-filter.entry.js.gz +0 -0
- package/dist/esm/grw-filter.entry.js.map +0 -1
- package/dist/esm/grw-filters_16.entry.js.br +0 -0
- package/dist/esm/grw-filters_16.entry.js.gz +0 -0
- package/dist/esm/grw-filters_16.entry.js.map +0 -1
- package/dist/esm/grw-information-desk_6.entry.js +0 -304
- package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm/grw-information-desk_6.entry.js.map +0 -1
- package/dist/esm/i18n-c18b35f3.js +0 -190
- package/dist/esm/i18n-c18b35f3.js.br +0 -0
- package/dist/esm/i18n-c18b35f3.js.gz +0 -0
- package/dist/esm/i18n-c18b35f3.js.map +0 -1
- package/dist/esm/index-d5cacae4.js.br +0 -0
- package/dist/esm/index-d5cacae4.js.gz +0 -0
- package/dist/esm/pagination-24051620.js +0 -4646
- package/dist/esm/pagination-24051620.js.br +0 -0
- package/dist/esm/pagination-24051620.js.gz +0 -0
- package/dist/esm/pagination-24051620.js.map +0 -1
- package/dist/esm/utils-2e80d729.js +0 -493
- package/dist/esm/utils-2e80d729.js.br +0 -0
- package/dist/esm/utils-2e80d729.js.gz +0 -0
- package/dist/esm/utils-2e80d729.js.map +0 -1
- package/dist/esm-es5/grw-app.entry.js +0 -2
- 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 +0 -1
- package/dist/esm-es5/grw-filter.entry.js +0 -3
- package/dist/esm-es5/grw-filter.entry.js.br +0 -0
- package/dist/esm-es5/grw-filter.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filter.entry.js.map +0 -1
- package/dist/esm-es5/grw-filters_16.entry.js +0 -14
- package/dist/esm-es5/grw-filters_16.entry.js.br +0 -0
- package/dist/esm-es5/grw-filters_16.entry.js.gz +0 -0
- package/dist/esm-es5/grw-filters_16.entry.js.map +0 -1
- package/dist/esm-es5/grw-information-desk_6.entry.js +0 -2
- package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
- package/dist/esm-es5/grw-information-desk_6.entry.js.map +0 -1
- package/dist/esm-es5/i18n-c18b35f3.js +0 -2
- package/dist/esm-es5/i18n-c18b35f3.js.br +0 -0
- package/dist/esm-es5/i18n-c18b35f3.js.gz +0 -0
- package/dist/esm-es5/i18n-c18b35f3.js.map +0 -1
- package/dist/esm-es5/index-d5cacae4.js.br +0 -0
- package/dist/esm-es5/index-d5cacae4.js.gz +0 -0
- package/dist/esm-es5/pagination-24051620.js +0 -2
- package/dist/esm-es5/pagination-24051620.js.br +0 -0
- package/dist/esm-es5/pagination-24051620.js.gz +0 -0
- package/dist/esm-es5/pagination-24051620.js.map +0 -1
- package/dist/esm-es5/utils-2e80d729.js +0 -2
- package/dist/esm-es5/utils-2e80d729.js.br +0 -0
- package/dist/esm-es5/utils-2e80d729.js.gz +0 -0
- package/dist/esm-es5/utils-2e80d729.js.map +0 -1
- package/dist/geotrek-rando-widget/p-0955858f.system.js +0 -2
- package/dist/geotrek-rando-widget/p-0955858f.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0955858f.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0955858f.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0c07a3f0.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0eb7003a.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-0eb7003a.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-0eb7003a.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-0eb7003a.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-20f93123.system.js +0 -2
- package/dist/geotrek-rando-widget/p-20f93123.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-20f93123.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-20f93123.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-34b0e7b0.entry.js +0 -3
- package/dist/geotrek-rando-widget/p-34b0e7b0.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-34b0e7b0.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-34b0e7b0.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-6f966493.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-6f966493.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-6f966493.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-6f966493.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js +0 -2
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-8872ebd8.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-a06aacd4.js +0 -2
- package/dist/geotrek-rando-widget/p-a06aacd4.js.br +0 -0
- package/dist/geotrek-rando-widget/p-a06aacd4.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-a06aacd4.js.map +0 -1
- package/dist/geotrek-rando-widget/p-c7fe0141.system.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-c7fe0141.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-c7fe0141.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-c7fe0141.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js +0 -2
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cc8a7df2.system.js.map +0 -1
- package/dist/geotrek-rando-widget/p-cfb59fc0.system.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-cfb59fc0.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-cfb59fc0.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-cfb59fc0.system.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-d24cca7d.js +0 -2
- package/dist/geotrek-rando-widget/p-d24cca7d.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d24cca7d.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-d24cca7d.js.map +0 -1
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.br +0 -0
- package/dist/geotrek-rando-widget/p-d2c035bc.system.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e16d970b.js +0 -2
- package/dist/geotrek-rando-widget/p-e16d970b.js.br +0 -0
- package/dist/geotrek-rando-widget/p-e16d970b.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-e16d970b.js.map +0 -1
- package/dist/geotrek-rando-widget/p-ec3f78e6.entry.js +0 -14
- package/dist/geotrek-rando-widget/p-ec3f78e6.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-ec3f78e6.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-ec3f78e6.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-f6f46632.entry.js +0 -2
- package/dist/geotrek-rando-widget/p-f6f46632.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f6f46632.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-f6f46632.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-fe94e7fd.system.entry.js +0 -4
- package/dist/geotrek-rando-widget/p-fe94e7fd.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-fe94e7fd.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/p-fe94e7fd.system.entry.js.map +0 -1
- /package/dist/esm-es5/{index-d5cacae4.js.map → index-f51f19f9.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-d2c035bc.system.js.map → p-9d93427a.system.js.map} +0 -0
- /package/dist/geotrek-rando-widget/{p-0c07a3f0.js.map → p-fb5e6f55.js.map} +0 -0
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-d5cacae4.js';
|
|
2
|
-
import { t as translate } from './i18n-c18b35f3.js';
|
|
3
|
-
import { s as state, o as onChange, r as reset, t as treksFilters, h as handleTreksFiltersAndSearch, a as touristicContentsFilters, b as handleTouristicContentsFiltersAndSearch, c as touristicEventsFilters, d as handleTouristicEventsFiltersAndSearch } from './utils-2e80d729.js';
|
|
4
|
-
|
|
5
|
-
const grwAppCss = ".material-symbols{font-family:\"Material Symbols Outlined\"}.material-symbols-outlined{font-variation-settings:\"FILL\" 0, \"wght\" 400, \"GRAD\" 0, \"opsz\" 48}grw-app{display:block;position:relative;width:var(--app-width);height:var(--app-height);font-family:\"Roboto\";color:var(--color-on-surface);overflow:hidden;line-height:initial;max-width:100dvw;max-height:100dvh}.app-container{position:relative;background-color:var(--color-background);width:100%;height:100%;overflow:hidden}.languages-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;margin:16px 16px 0px 0px}.header-container,.large-view-header-container{background-color:var(--color-background);height:var(--header-height)}.header-container .arrow-back-container,.large-view-header-container .arrow-back-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:100%;margin:0px 16px}.header-container .arrow-back-container .arrow-back-icon,.large-view-header-container .arrow-back-container .arrow-back-icon{cursor:pointer;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface);border:none;background-color:var(--color-background);border-radius:50%;height:48px;width:48px;padding:0px;text-align:left}.handle-search-filters-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin:0px 16px;height:64px}.handle-search-filters-container .handle-search-container{width:calc(50% + 48px);max-width:220px}.handle-search-filters-container .handle-filters-button{margin-left:16px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:transparent;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;background-color:var(--color-background);color:var(--color-on-surface);padding:12px 24px;border-radius:20px;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;gap:8px;white-space:nowrap;line-height:20px;letter-spacing:0.1000000015px;font-size:14px;font-weight:500;-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);-webkit-transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:-webkit-box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s;transition:box-shadow 0.2s ease-in-out 0s, -webkit-box-shadow 0.2s ease-in-out 0s}.handle-search-filters-container .handle-filters-button span{font-size:18px}.header-detail{height:64px}.large-view-header-container .handle-search-filters-container{-ms-flex-pack:start;justify-content:flex-start}.init-loader-container,.loader-container,.large-view-loader-container{position:absolute;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--color-background)}.init-loader-container .loader,.loader-container .loader,.large-view-loader-container .loader{width:48px;height:48px;border:5px solid var(--color-primary-container);border-bottom-color:var(--color-on-primary-container);border-radius:50%;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:rotation 1s linear infinite;animation:rotation 1s linear infinite}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.content-container{position:relative;display:-ms-flexbox;display:flex;height:calc(100% - var(--header-height));background-color:var(--color-background)}.content-treks{height:calc(100% - var(--header-height))}.content-trek{height:100%}.app-treks-list-container,.app-trek-detail-container,.app-touristic-content-detail-container,.app-touristic-event-detail-container,.large-view-app-treks-list-container,.large-view-app-trek-detail-container{max-width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.app-map-container,.large-view-app-map-container{width:100%;height:100%}.map-visibility-button-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;position:absolute;bottom:24px;z-index:4}.map-visibility-button-container .map-visibility-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border:none;text-decoration:none;padding:16px;background-color:var(--color-primary-container);color:var(--color-on-primary-container);-webkit-box-shadow:var(--elevation-1);box-shadow:var(--elevation-1);border-radius:12px;height:56px;font-size:16px;width:unset}.map-visibility-button-container .map-visibility-button:hover{-webkit-box-shadow:var(--elevation-4);box-shadow:var(--elevation-4)}.map-visibility-button-container .map-visibility-button span{font-size:24px;margin-right:8px;color:var(--color-on-primary-container)}.init-loader-container,.loader-container{width:100%}.app-treks-list-container,.app-trek-detail-container{width:100%}grw-treks-list,grw-touristic-contents-list{max-height:calc(100vh - var(--header-height))}grw-trek-detail,grw-touristic-content-detail,grw-touristic-event-detail{max-height:calc(100vh - 64px)}.app-map-container{width:100%;position:absolute}.large-view-loader-container{width:50%}.large-view-app-treks-list-container,.large-view-app-trek-detail-container,.large-view-app-touristic-content-detail-container,.large-view-app-touristic-event-detail-container{width:50%}.large-view-app-map-container{position:relative;width:50%}.segmented-buttons-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:calc(100% - 32px);height:40px;margin:16px;border:1px solid var(--color-outline);border-radius:20px;line-height:20px}.segmented-buttons-container .segment{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:14px;font-weight:500;-webkit-tap-highlight-color:transparent;color:var(--color-on-surface-variant);background-color:transparent;border-radius:0px;min-width:40px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.segmented-buttons-container .segment:first-child{border-top-left-radius:20px;border-bottom-left-radius:20px}.segmented-buttons-container .segment:not(:last-child){border-right:1px solid var(--color-outline)}.segmented-buttons-container .segment:last-child{border-top-right-radius:20px;border-bottom-right-radius:20px}.segmented-buttons-container .selected-segment{color:var(--color-on-secondary-container);background-color:var(--color-secondary-container)}";
|
|
6
|
-
|
|
7
|
-
const GrwApp = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.largeViewSize = 1024;
|
|
11
|
-
this.handlePopStateBind = this.handlePopState.bind(this);
|
|
12
|
-
this.showTrek = false;
|
|
13
|
-
this.showTouristicContent = false;
|
|
14
|
-
this.showTouristicEvent = false;
|
|
15
|
-
this.showHomeMap = false;
|
|
16
|
-
this.showTrekMap = false;
|
|
17
|
-
this.showTouristicContentMap = false;
|
|
18
|
-
this.showTouristicEventMap = false;
|
|
19
|
-
this.showFilters = false;
|
|
20
|
-
this.isLargeView = false;
|
|
21
|
-
this.currentTrekId = undefined;
|
|
22
|
-
this.currentTouristicContentId = undefined;
|
|
23
|
-
this.currentTouristicEventId = undefined;
|
|
24
|
-
this.appWidth = '100%';
|
|
25
|
-
this.appHeight = '100vh';
|
|
26
|
-
this.api = undefined;
|
|
27
|
-
this.languages = 'fr';
|
|
28
|
-
this.inBbox = undefined;
|
|
29
|
-
this.cities = undefined;
|
|
30
|
-
this.districts = undefined;
|
|
31
|
-
this.structures = undefined;
|
|
32
|
-
this.themes = undefined;
|
|
33
|
-
this.portals = undefined;
|
|
34
|
-
this.routes = undefined;
|
|
35
|
-
this.practices = undefined;
|
|
36
|
-
this.center = undefined;
|
|
37
|
-
this.zoom = undefined;
|
|
38
|
-
this.nameLayer = undefined;
|
|
39
|
-
this.urlLayer = undefined;
|
|
40
|
-
this.attributionLayer = undefined;
|
|
41
|
-
this.weather = false;
|
|
42
|
-
this.colorPrimaryApp = '#6750a4';
|
|
43
|
-
this.colorOnPrimary = '#ffffff';
|
|
44
|
-
this.colorSurface = '#1c1b1f';
|
|
45
|
-
this.colorOnSurface = '#49454e';
|
|
46
|
-
this.colorSurfaceVariant = '#fef7ff';
|
|
47
|
-
this.colorOnSurfaceVariant = '#1c1b1f';
|
|
48
|
-
this.colorPrimaryContainer = '#eaddff';
|
|
49
|
-
this.colorOnPrimaryContainer = '#21005e';
|
|
50
|
-
this.colorSecondaryContainer = '#e8def8';
|
|
51
|
-
this.colorOnSecondaryContainer = '#1d192b';
|
|
52
|
-
this.colorBackground = '#fef7ff';
|
|
53
|
-
this.colorSurfaceContainerHigh = '#ece6f0';
|
|
54
|
-
this.colorSurfaceContainerLow = '#f7f2fa';
|
|
55
|
-
this.fabBackgroundColor = '#eaddff';
|
|
56
|
-
this.fabColor = '#21005d';
|
|
57
|
-
this.colorTrekLine = '#6b0030';
|
|
58
|
-
this.colorSensitiveArea = '#4974a5';
|
|
59
|
-
this.colorPoiIcon = '#974c6e';
|
|
60
|
-
this.useGradient = false;
|
|
61
|
-
this.treks = true;
|
|
62
|
-
this.touristicContents = false;
|
|
63
|
-
this.touristicEvents = false;
|
|
64
|
-
}
|
|
65
|
-
onTrekCardPress(event) {
|
|
66
|
-
this.currentTouristicContentId = null;
|
|
67
|
-
this.showTouristicContent = false;
|
|
68
|
-
state.currentTouristicContent = null;
|
|
69
|
-
this.currentTouristicEventId = null;
|
|
70
|
-
this.showTouristicEvent = false;
|
|
71
|
-
state.currentTouristicEvent = null;
|
|
72
|
-
const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;
|
|
73
|
-
state.currentTrek = null;
|
|
74
|
-
this.currentTrekId = event.detail;
|
|
75
|
-
this.showTrek = true;
|
|
76
|
-
this.showTrekMap = false;
|
|
77
|
-
const url = new URL(window.location.toString());
|
|
78
|
-
url.searchParams.set('trek', this.currentTrekId.toString());
|
|
79
|
-
if (state.currentTrekSteps) {
|
|
80
|
-
url.searchParams.set('parenttrek', parentTrek.toString());
|
|
81
|
-
}
|
|
82
|
-
window.history.pushState({}, '', url);
|
|
83
|
-
}
|
|
84
|
-
onParentTrekPress(event) {
|
|
85
|
-
state.currentTrek = null;
|
|
86
|
-
this.currentTrekId = event.detail;
|
|
87
|
-
this.showTrek = true;
|
|
88
|
-
this.showTrekMap = false;
|
|
89
|
-
const url = new URL(window.location.toString());
|
|
90
|
-
url.searchParams.set('trek', this.currentTrekId.toString());
|
|
91
|
-
url.searchParams.delete('parenttrek');
|
|
92
|
-
window.history.pushState({}, '', url);
|
|
93
|
-
}
|
|
94
|
-
onTouristicContentCardPress(event) {
|
|
95
|
-
state.currentTrek = null;
|
|
96
|
-
this.currentTrekId = null;
|
|
97
|
-
this.showTrek = false;
|
|
98
|
-
this.currentTouristicContentId = event.detail;
|
|
99
|
-
this.showTouristicContent = true;
|
|
100
|
-
this.showTouristicContentMap = false;
|
|
101
|
-
const url = new URL(window.location.toString());
|
|
102
|
-
url.searchParams.delete('trek');
|
|
103
|
-
url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());
|
|
104
|
-
window.history.pushState({}, '', url);
|
|
105
|
-
}
|
|
106
|
-
onTouristiceEventCardPress(event) {
|
|
107
|
-
state.currentTrek = null;
|
|
108
|
-
this.currentTrekId = null;
|
|
109
|
-
this.showTrek = false;
|
|
110
|
-
this.currentTouristicEventId = event.detail;
|
|
111
|
-
this.showTouristicEvent = true;
|
|
112
|
-
this.showTouristicEventMap = false;
|
|
113
|
-
const url = new URL(window.location.toString());
|
|
114
|
-
url.searchParams.delete('trek');
|
|
115
|
-
url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());
|
|
116
|
-
window.history.pushState({}, '', url);
|
|
117
|
-
}
|
|
118
|
-
onWindowResize() {
|
|
119
|
-
this.handleView();
|
|
120
|
-
}
|
|
121
|
-
onCenterOnMap() {
|
|
122
|
-
if (!this.isLargeView) {
|
|
123
|
-
this.showTrekMap = true;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
watchPropHandler() {
|
|
127
|
-
window.dispatchEvent(new window.Event('resize'));
|
|
128
|
-
}
|
|
129
|
-
componentWillLoad() {
|
|
130
|
-
if (this.treks) {
|
|
131
|
-
state.mode = 'treks';
|
|
132
|
-
}
|
|
133
|
-
else if (this.touristicContents) {
|
|
134
|
-
state.mode = 'touristicContents';
|
|
135
|
-
}
|
|
136
|
-
else if (this.touristicEvents) {
|
|
137
|
-
state.mode = 'touristicEvents';
|
|
138
|
-
}
|
|
139
|
-
const url = new URL(window.location.toString());
|
|
140
|
-
const trekParam = url.searchParams.get('trek');
|
|
141
|
-
const parentTrekId = url.searchParams.get('parenttrek');
|
|
142
|
-
const touristicContentParam = url.searchParams.get('touristiccontent');
|
|
143
|
-
const touristicEventParam = url.searchParams.get('touristicevent');
|
|
144
|
-
if (trekParam) {
|
|
145
|
-
window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
|
|
146
|
-
state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;
|
|
147
|
-
this.currentTrekId = Number(trekParam);
|
|
148
|
-
this.showTrek = true;
|
|
149
|
-
}
|
|
150
|
-
else if (touristicContentParam) {
|
|
151
|
-
window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
|
|
152
|
-
this.currentTouristicContentId = Number(touristicContentParam);
|
|
153
|
-
this.showTouristicContent = true;
|
|
154
|
-
}
|
|
155
|
-
else if (touristicEventParam) {
|
|
156
|
-
window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);
|
|
157
|
-
this.currentTouristicEventId = Number(touristicEventParam);
|
|
158
|
-
this.showTouristicEvent = true;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
componentDidLoad() {
|
|
162
|
-
onChange('trekNetworkError', () => {
|
|
163
|
-
if (state.trekNetworkError) {
|
|
164
|
-
const urlRedirect = new URL(window.location.toString());
|
|
165
|
-
urlRedirect.searchParams.delete('trek');
|
|
166
|
-
urlRedirect.searchParams.delete('parenttrek');
|
|
167
|
-
urlRedirect.searchParams.delete('touristiccontent');
|
|
168
|
-
urlRedirect.searchParams.delete('touristicevent');
|
|
169
|
-
window.history.replaceState({}, '', urlRedirect);
|
|
170
|
-
this.onDetailsClose();
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
window.addEventListener('popstate', this.handlePopStateBind, false);
|
|
174
|
-
this.handleView();
|
|
175
|
-
}
|
|
176
|
-
onDetailsClose() {
|
|
177
|
-
if (this.treks) {
|
|
178
|
-
state.mode = 'treks';
|
|
179
|
-
}
|
|
180
|
-
else if (this.touristicContents) {
|
|
181
|
-
state.mode = 'touristicContents';
|
|
182
|
-
}
|
|
183
|
-
else if (this.touristicEvents) {
|
|
184
|
-
state.mode = 'touristicEvents';
|
|
185
|
-
}
|
|
186
|
-
this.currentTouristicContentId = null;
|
|
187
|
-
this.showTouristicContent = false;
|
|
188
|
-
this.showTouristicContentMap = false;
|
|
189
|
-
this.showTouristicEvent = false;
|
|
190
|
-
this.showTouristicEventMap = false;
|
|
191
|
-
state.currentTouristicContent = null;
|
|
192
|
-
state.currentTouristicEvent = null;
|
|
193
|
-
state.currentTrek = null;
|
|
194
|
-
state.currentTrekSteps = null;
|
|
195
|
-
state.parentTrekId = null;
|
|
196
|
-
this.currentTrekId = null;
|
|
197
|
-
this.showTrek = false;
|
|
198
|
-
}
|
|
199
|
-
handleView() {
|
|
200
|
-
this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;
|
|
201
|
-
this.showHomeMap = this.isLargeView;
|
|
202
|
-
this.showTrekMap = this.isLargeView;
|
|
203
|
-
}
|
|
204
|
-
handleFilters() {
|
|
205
|
-
this.showFilters = !this.showFilters;
|
|
206
|
-
}
|
|
207
|
-
handleBackButton() {
|
|
208
|
-
if (window.history.state && window.history.state.isInitialHistoryWithDetails) {
|
|
209
|
-
this.onDetailsClose();
|
|
210
|
-
const url = new URL(window.location.toString());
|
|
211
|
-
url.searchParams.delete('trek');
|
|
212
|
-
url.searchParams.delete('touristiccontent');
|
|
213
|
-
url.searchParams.delete('touristicevent');
|
|
214
|
-
window.history.pushState({}, '', url);
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
window.history.back();
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
handlePopState() {
|
|
221
|
-
const url = new URL(window.location.toString());
|
|
222
|
-
const trekParam = Number(url.searchParams.get('trek'));
|
|
223
|
-
const touristicContentParam = url.searchParams.get('touristiccontent');
|
|
224
|
-
const touristicEventParam = url.searchParams.get('touristicevent');
|
|
225
|
-
if (trekParam && this.currentTrekId !== trekParam) {
|
|
226
|
-
this.currentTouristicContentId = null;
|
|
227
|
-
this.showTouristicContent = false;
|
|
228
|
-
this.showTouristicEvent = false;
|
|
229
|
-
state.currentTouristicContent = null;
|
|
230
|
-
state.currentTouristicEvent = null;
|
|
231
|
-
state.currentTrek = null;
|
|
232
|
-
this.currentTrekId = trekParam;
|
|
233
|
-
this.showTrek = true;
|
|
234
|
-
}
|
|
235
|
-
else if (!trekParam && !touristicContentParam && !touristicEventParam) {
|
|
236
|
-
this.onDetailsClose();
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
handleShowMap() {
|
|
240
|
-
if (this.currentTrekId) {
|
|
241
|
-
this.showTrekMap = !this.showTrekMap;
|
|
242
|
-
}
|
|
243
|
-
else if (this.showTouristicContent) {
|
|
244
|
-
this.showTouristicContentMap = !this.showTouristicContentMap;
|
|
245
|
-
}
|
|
246
|
-
else if (this.showTouristicEvent) {
|
|
247
|
-
this.showTouristicEventMap = !this.showTouristicEventMap;
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
this.showHomeMap = !this.showHomeMap;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
getMapVisibilityIconButton() {
|
|
254
|
-
let mapIconButton;
|
|
255
|
-
if (this.showTrek) {
|
|
256
|
-
mapIconButton = this.showTrekMap ? 'summarize' : 'map';
|
|
257
|
-
}
|
|
258
|
-
else if (this.showTouristicContent) {
|
|
259
|
-
mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';
|
|
260
|
-
}
|
|
261
|
-
else if (this.showTouristicEvent) {
|
|
262
|
-
mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
mapIconButton = this.showHomeMap ? 'list' : 'map';
|
|
266
|
-
}
|
|
267
|
-
return mapIconButton;
|
|
268
|
-
}
|
|
269
|
-
getMapVisibilityLabelButton() {
|
|
270
|
-
let mapLabelButton;
|
|
271
|
-
if (this.showTrek) {
|
|
272
|
-
mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;
|
|
273
|
-
}
|
|
274
|
-
else if (this.showTouristicContent) {
|
|
275
|
-
mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;
|
|
276
|
-
}
|
|
277
|
-
else if (this.showTouristicEvent) {
|
|
278
|
-
mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;
|
|
279
|
-
}
|
|
280
|
-
else {
|
|
281
|
-
mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;
|
|
282
|
-
}
|
|
283
|
-
return mapLabelButton;
|
|
284
|
-
}
|
|
285
|
-
disconnectedCallback() {
|
|
286
|
-
reset();
|
|
287
|
-
window.removeEventListener('popstate', this.handlePopStateBind);
|
|
288
|
-
}
|
|
289
|
-
changeMode(mode) {
|
|
290
|
-
state.searchValue = '';
|
|
291
|
-
if (mode === 'treks' && state.currentTreks) {
|
|
292
|
-
treksFilters.forEach(filter => {
|
|
293
|
-
state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
|
|
294
|
-
});
|
|
295
|
-
state.selectedActivitiesFilters = 0;
|
|
296
|
-
state.selectedThemesFilters = 0;
|
|
297
|
-
state.selectedLocationFilters = 0;
|
|
298
|
-
state.currentTreks = handleTreksFiltersAndSearch();
|
|
299
|
-
}
|
|
300
|
-
else if (mode === 'touristicContents' && state.currentTouristicContents) {
|
|
301
|
-
touristicContentsFilters.forEach(filter => {
|
|
302
|
-
state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
|
|
303
|
-
});
|
|
304
|
-
state.selectedActivitiesFilters = 0;
|
|
305
|
-
state.selectedLocationFilters = 0;
|
|
306
|
-
state.currentTouristicContents = handleTouristicContentsFiltersAndSearch();
|
|
307
|
-
}
|
|
308
|
-
else if (mode === 'touristicEvents' && state.currentTouristicEvents) {
|
|
309
|
-
touristicEventsFilters.forEach(filter => {
|
|
310
|
-
state[filter.property].forEach(currentFilter => (currentFilter.selected = false));
|
|
311
|
-
});
|
|
312
|
-
state.selectedActivitiesFilters = 0;
|
|
313
|
-
state.selectedLocationFilters = 0;
|
|
314
|
-
state.currentTouristicEvents = handleTouristicEventsFiltersAndSearch();
|
|
315
|
-
}
|
|
316
|
-
state.mode = mode;
|
|
317
|
-
}
|
|
318
|
-
render() {
|
|
319
|
-
return (h(Host, { style: {
|
|
320
|
-
'--color-primary-app': this.colorPrimaryApp,
|
|
321
|
-
'--color-on-primary': this.colorOnPrimary,
|
|
322
|
-
'--color-surface': this.colorSurface,
|
|
323
|
-
'--color-on-surface': this.colorOnSurface,
|
|
324
|
-
'--color-surface-variant': this.colorSurfaceVariant,
|
|
325
|
-
'--color-on-surface-variant': this.colorOnSurfaceVariant,
|
|
326
|
-
'--color-primary-container': this.colorPrimaryContainer,
|
|
327
|
-
'--color-on-primary-container': this.colorOnPrimaryContainer,
|
|
328
|
-
'--color-secondary-container': this.colorSecondaryContainer,
|
|
329
|
-
'--color-on-secondary-container': this.colorOnSecondaryContainer,
|
|
330
|
-
'--color-background': this.colorBackground,
|
|
331
|
-
'--color-surface-container-high': this.colorSurfaceContainerHigh,
|
|
332
|
-
'--color-surface-container-low': this.colorSurfaceContainerLow,
|
|
333
|
-
'--fab-background-color': this.fabBackgroundColor,
|
|
334
|
-
'--fab-color': this.fabColor,
|
|
335
|
-
'--app-width': this.appWidth,
|
|
336
|
-
'--app-height': this.appHeight,
|
|
337
|
-
'--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',
|
|
338
|
-
} }, !state.currentTreks &&
|
|
339
|
-
!state.currentTrek &&
|
|
340
|
-
!state.currentTouristicContent &&
|
|
341
|
-
!state.currentTouristicEvent &&
|
|
342
|
-
!state.currentTouristicContents &&
|
|
343
|
-
!state.currentTouristicEvents && (h("div", { class: "init-loader-container" }, h("span", { class: "loader" }))), this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (h("grw-treks-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals, routes: this.routes, practices: this.practices })), this.showTrek && this.currentTrekId && !state.currentTrek && (h("grw-trek-provider", { api: this.api, languages: this.languages, "trek-id": this.currentTrekId, portals: this.portals })), this.showTouristicContent && this.currentTouristicContentId && (h("grw-touristic-content-provider", { api: this.api, languages: this.languages, "touristic-content-id": this.currentTouristicContentId, portals: this.portals })), this.showTouristicEvent && this.currentTouristicEventId && (h("grw-touristic-event-provider", { api: this.api, languages: this.languages, "touristic-event-id": this.currentTouristicEventId, portals: this.portals })), this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (h("grw-touristic-contents-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (h("grw-touristic-events-provider", { api: this.api, languages: this.languages, "in-bbox": this.inBbox, cities: this.cities, districts: this.districts, structures: this.structures, themes: this.themes, portals: this.portals })), (state.currentTreks || state.currentTrek || state.touristicContents || state.touristicEvents || state.currentTouristicContent || state.currentTouristicEvent) && (h("div", { class: "app-container" }, state.languages && state.languages.length > 1 && (h("div", { class: "languages-container" }, h("grw-select-language", null))), h("div", { class: `${this.isLargeView ? 'large-view-header-container' : 'header-container'}${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''}` }, Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && (h("div", { class: "segmented-buttons-container" }, this.treks && (h("label", { class: `segment${state.mode === 'treks' ? ' selected-segment' : ''}`, onClick: () => this.changeMode('treks') }, translate[state.language].home.segment.treks)), this.touristicContents && (h("label", { class: `segment${state.mode === 'touristicContents' ? ' selected-segment' : ''}`, onClick: () => this.changeMode('touristicContents') }, translate[state.language].home.segment.touristicContents)), this.touristicEvents && (h("label", { class: `segment${state.mode === 'touristicEvents' ? ' selected-segment' : ''}`, onClick: () => this.changeMode('touristicEvents') }, translate[state.language].home.segment.touristicEvents)))), !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (h("div", { class: "handle-search-filters-container" }, h("div", { class: "handle-search-container" }, h("grw-search", null)), h("div", { class: "handle-filters-container" }, h("button", { onClick: () => this.handleFilters(), class: "handle-filters-button" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined margin-right-icon" }, "filter_list"), translate[state.language].filter)))) : (h("div", { class: "arrow-back-container" }, h("button", { onClick: () => this.handleBackButton(), class: "arrow-back-icon" }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, "arrow_back"))))), h("div", { class: `content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}` }, h("div", { class: this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container', style: { display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' } }, state.mode === 'treks' && this.treks && (h("grw-treks-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), state.mode === 'touristicContents' && this.touristicContents && (h("grw-touristic-contents-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow })), state.mode === 'touristicEvents' && this.touristicEvents && (h("grw-touristic-events-list", { "reset-store-on-disconnected": 'false', "is-large-view": this.isLargeView, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow }))), (this.showTrek && !state.currentTrek) ||
|
|
344
|
-
(this.showTouristicContent && !state.currentTouristicContent) ||
|
|
345
|
-
(this.showTouristicEvent && !state.currentTouristicEvent) ||
|
|
346
|
-
(!state.currentTreks && state.mode === 'treks') ||
|
|
347
|
-
(!state.touristicContents && state.mode === 'touristicContents' && (h("div", { class: this.isLargeView ? 'large-view-loader-container' : 'loader-container' }, h("span", { class: "loader" })))), state.currentTrek && (h("div", { class: this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container' }, h("grw-trek-detail", { style: {
|
|
348
|
-
visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',
|
|
349
|
-
zIndex: !this.showTrekMap ? '1' : '0',
|
|
350
|
-
}, "reset-store-on-disconnected": 'false', "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, weather: this.weather, "is-large-view": this.isLargeView }))), this.showTouristicContent && (h("div", { class: this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container' }, h("grw-touristic-content-detail", { style: {
|
|
351
|
-
visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',
|
|
352
|
-
zIndex: !this.showTouristicContentMap ? '1' : '0',
|
|
353
|
-
}, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView }))), this.showTouristicEvent && (h("div", { class: this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container' }, h("grw-touristic-event-detail", { style: {
|
|
354
|
-
visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',
|
|
355
|
-
zIndex: !this.showTouristicEventMap ? '1' : '0',
|
|
356
|
-
}, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-secondary-container": this.colorSecondaryContainer, "color-on-secondary-container": this.colorOnSecondaryContainer, "color-surface-container-low": this.colorSurfaceContainerLow, "color-background": this.colorBackground, "is-large-view": this.isLargeView }))), h("grw-map", { "reset-store-on-disconnected": 'false', class: this.isLargeView ? 'large-view-app-map-container' : 'app-map-container', style: {
|
|
357
|
-
visibility: (this.showHomeMap && !this.showTrek) ||
|
|
358
|
-
(this.showTrekMap && this.showTrek) ||
|
|
359
|
-
(this.showTouristicContentMap && this.showTouristicContent) ||
|
|
360
|
-
(this.showTouristicEventMap && this.showTouristicEvent) ||
|
|
361
|
-
this.isLargeView
|
|
362
|
-
? 'visible'
|
|
363
|
-
: 'hidden',
|
|
364
|
-
zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',
|
|
365
|
-
}, center: this.center, zoom: this.zoom, "name-layer": this.nameLayer, "url-layer": this.urlLayer, "attribution-layer": this.attributionLayer, "color-primary-app": this.colorPrimaryApp, "color-on-surface": this.colorOnSurface, "color-primary-container": this.colorPrimaryContainer, "color-on-primary-container": this.colorOnPrimaryContainer, "color-background": this.colorBackground, "color-trek-line": this.colorTrekLine, "color-sensitive-area": this.colorSensitiveArea, "color-poi-icon": this.colorPoiIcon, "is-large-view": this.isLargeView, "use-gradient": this.useGradient })), ((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||
|
|
366
|
-
(this.showTrek && state.currentTrek) ||
|
|
367
|
-
(this.showTouristicContent && state.currentTouristicContent) ||
|
|
368
|
-
(this.showTouristicEvent && state.currentTouristicEvent)) && (h("div", { class: "map-visibility-button-container" }, h("button", { onClick: () => this.handleShowMap(), class: "map-visibility-button", style: { display: this.isLargeView ? 'none' : 'flex' } }, h("span", { translate: false, class: "material-symbols material-symbols-outlined" }, this.getMapVisibilityIconButton()), this.getMapVisibilityLabelButton()))))), !this.showTrek && this.showFilters && h("grw-filters", { handleFilters: () => this.handleFilters() })));
|
|
369
|
-
}
|
|
370
|
-
get appElement() { return getElement(this); }
|
|
371
|
-
static get watchers() { return {
|
|
372
|
-
"isLargeView": ["watchPropHandler"]
|
|
373
|
-
}; }
|
|
374
|
-
};
|
|
375
|
-
GrwApp.style = grwAppCss;
|
|
376
|
-
|
|
377
|
-
export { GrwApp as grw_app };
|
|
378
|
-
|
|
379
|
-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,EAAE,KAAK,EAAC,4CAA4C,IACvE,IAAI,CAAC,0BAA0B,EAAE,CAC7B,EACN,IAAI,CAAC,2BAA2B,EAAE,CAC5B,CACL,CACP,CACG,CACP,EACA,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,WAAW,IAAI,mBAAa,aAAa,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,GAAgB,CACxG,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/grw-app/grw-app.scss?tag=grw-app","./src/components/grw-app/grw-app.tsx"],"sourcesContent":[".material-symbols {\n font-family: 'Material Symbols Outlined';\n}\n\n.material-symbols-outlined {\n font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;\n}\n\ngrw-app {\n display: block;\n position: relative;\n width: var(--app-width);\n height: var(--app-height);\n font-family: 'Roboto';\n color: var(--color-on-surface);\n overflow: hidden;\n line-height: initial;\n max-width: 100dvw;\n max-height: 100dvh;\n}\n\n.app-container {\n position: relative;\n background-color: var(--color-background);\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n.languages-container {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n margin: 16px 16px 0px 0px;\n}\n\n.header-container,\n.large-view-header-container {\n background-color: var(--color-background);\n height: var(--header-height);\n .arrow-back-container {\n display: flex;\n align-items: center;\n height: 100%;\n margin: 0px 16px;\n .arrow-back-icon {\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface);\n border: none;\n background-color: var(--color-background);\n border-radius: 50%;\n height: 48px;\n width: 48px;\n padding: 0px;\n text-align: left;\n }\n }\n}\n\n.handle-search-filters-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin: 0px 16px;\n height: 64px;\n\n .handle-search-container {\n width: calc(50% + 48px);\n max-width: 220px;\n }\n\n .handle-filters-button {\n margin-left: 16px;\n user-select: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n background-color: var(--color-background);\n color: var(--color-on-surface);\n padding: 12px 24px;\n border-radius: 20px;\n box-sizing: border-box;\n position: relative;\n gap: 8px;\n white-space: nowrap;\n line-height: 20px;\n letter-spacing: 0.10000000149011612px;\n font-size: 14px;\n font-weight: 500;\n box-shadow: var(--elevation-1);\n transition: box-shadow 0.2s ease-in-out 0s;\n span {\n font-size: 18px;\n }\n }\n}\n\n.header-detail {\n height: 64px;\n}\n\n.large-view-header-container {\n .handle-search-filters-container {\n justify-content: flex-start;\n }\n}\n\n.init-loader-container,\n.loader-container,\n.large-view-loader-container {\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n background-color: var(--color-background);\n .loader {\n width: 48px;\n height: 48px;\n border: 5px solid var(--color-primary-container);\n border-bottom-color: var(--color-on-primary-container);\n border-radius: 50%;\n display: inline-block;\n box-sizing: border-box;\n animation: rotation 1s linear infinite;\n }\n\n @keyframes rotation {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n}\n\n.content-container {\n position: relative;\n display: flex;\n height: calc(100% - var(--header-height));\n background-color: var(--color-background);\n}\n\n.content-treks {\n height: calc(100% - var(--header-height));\n}\n\n.content-trek {\n height: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container,\n.app-touristic-content-detail-container,\n.app-touristic-event-detail-container,\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container {\n max-width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n\n.app-map-container,\n.large-view-app-map-container {\n width: 100%;\n height: 100%;\n}\n\n.map-visibility-button-container {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n position: absolute;\n bottom: 24px;\n z-index: 4;\n .map-visibility-button {\n cursor: pointer;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border: none;\n text-decoration: none;\n padding: 16px;\n background-color: var(--color-primary-container);\n color: var(--color-on-primary-container);\n box-shadow: var(--elevation-1);\n border-radius: 12px;\n height: 56px;\n font-size: 16px;\n width: unset;\n &:hover {\n box-shadow: var(--elevation-4);\n }\n span {\n font-size: 24px;\n margin-right: 8px;\n color: var(--color-on-primary-container);\n }\n }\n}\n\n.init-loader-container,\n.loader-container {\n width: 100%;\n}\n\n.app-treks-list-container,\n.app-trek-detail-container {\n width: 100%;\n}\n\ngrw-treks-list,\ngrw-touristic-contents-list {\n max-height: calc(100vh - var(--header-height));\n}\n\ngrw-trek-detail,\ngrw-touristic-content-detail,\ngrw-touristic-event-detail {\n max-height: calc(100vh - 64px);\n}\n\n.app-map-container {\n width: 100%;\n position: absolute;\n}\n\n.large-view-loader-container {\n width: 50%;\n}\n\n.large-view-app-treks-list-container,\n.large-view-app-trek-detail-container,\n.large-view-app-touristic-content-detail-container,\n.large-view-app-touristic-event-detail-container {\n width: 50%;\n}\n\n.large-view-app-map-container {\n position: relative;\n width: 50%;\n}\n\n.segmented-buttons-container {\n display: flex;\n justify-content: center;\n width: calc(100% - 32px);\n height: 40px;\n margin: 16px;\n border: 1px solid var(--color-outline);\n border-radius: 20px;\n line-height: 20px;\n .segment {\n cursor: pointer;\n user-select: none;\n font-size: 14px;\n font-weight: 500;\n -webkit-tap-highlight-color: transparent;\n color: var(--color-on-surface-variant);\n background-color: transparent;\n border-radius: 0px;\n min-width: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n &:first-child {\n border-top-left-radius: 20px;\n border-bottom-left-radius: 20px;\n }\n &:not(:last-child) {\n border-right: 1px solid var(--color-outline);\n }\n &:last-child {\n border-top-right-radius: 20px;\n border-bottom-right-radius: 20px;\n }\n }\n .selected-segment {\n color: var(--color-on-secondary-container);\n background-color: var(--color-secondary-container);\n }\n}\n","import { Component, Host, h, Listen, State, Prop, Element, Watch } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { onChange, reset } from 'store/store';\nimport { mode } from 'types/types';\nimport {\n handleTouristicContentsFiltersAndSearch,\n handleTouristicEventsFiltersAndSearch,\n handleTreksFiltersAndSearch,\n touristicContentsFilters,\n touristicEventsFilters,\n treksFilters,\n} from 'utils/utils';\n\n@Component({\n tag: 'grw-app',\n styleUrls: ['grw-app.scss'],\n shadow: false,\n})\nexport class GrwApp {\n @Element() appElement: HTMLElement;\n @State() showTrek = false;\n @State() showTouristicContent = false;\n @State() showTouristicEvent = false;\n @State() showHomeMap = false;\n @State() showTrekMap = false;\n @State() showTouristicContentMap = false;\n @State() showTouristicEventMap = false;\n @State() showFilters = false;\n @State() isLargeView = false;\n @State() currentTrekId: number;\n @State() currentTouristicContentId: number;\n @State() currentTouristicEventId: number;\n @Prop() appWidth: string = '100%';\n @Prop() appHeight: string = '100vh';\n @Prop() api: string;\n @Prop() languages = 'fr';\n @Prop() inBbox: string;\n @Prop() cities: string;\n @Prop() districts: string;\n @Prop() structures: string;\n @Prop() themes: string;\n @Prop() portals: string;\n @Prop() routes: string;\n @Prop() practices: string;\n @Prop() center: string;\n @Prop() zoom: number;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorOnPrimary = '#ffffff';\n @Prop() colorSurface = '#1c1b1f';\n @Prop() colorOnSurface = '#49454e';\n @Prop() colorSurfaceVariant = '#fef7ff';\n @Prop() colorOnSurfaceVariant = '#1c1b1f';\n @Prop() colorPrimaryContainer = '#eaddff';\n @Prop() colorOnPrimaryContainer = '#21005e';\n @Prop() colorSecondaryContainer = '#e8def8';\n @Prop() colorOnSecondaryContainer = '#1d192b';\n @Prop() colorBackground = '#fef7ff';\n @Prop() colorSurfaceContainerHigh = '#ece6f0';\n @Prop() colorSurfaceContainerLow = '#f7f2fa';\n @Prop() fabBackgroundColor = '#eaddff';\n @Prop() fabColor = '#21005d';\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorPoiIcon = '#974c6e';\n @Prop() useGradient = false;\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n\n largeViewSize = 1024;\n handlePopStateBind: (event: any) => void = this.handlePopState.bind(this);\n\n @Listen('trekCardPress', { target: 'window' })\n onTrekCardPress(event: CustomEvent<number>) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n state.currentTouristicContent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n state.currentTouristicEvent = null;\n const parentTrek = state.parentTrekId ? state.parentTrekId : state.currentTrekSteps ? this.currentTrekId : null;\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n if (state.currentTrekSteps) {\n url.searchParams.set('parenttrek', parentTrek.toString());\n }\n window.history.pushState({}, '', url);\n }\n\n @Listen('parentTrekPress', { target: 'window' })\n onParentTrekPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = event.detail;\n this.showTrek = true;\n this.showTrekMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('trek', this.currentTrekId.toString());\n url.searchParams.delete('parenttrek');\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicContentCardPress', { target: 'window' })\n onTouristicContentCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicContentId = event.detail;\n this.showTouristicContent = true;\n this.showTouristicContentMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristiccontent', this.currentTouristicContentId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('touristicEventCardPress', { target: 'window' })\n onTouristiceEventCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n this.currentTouristicEventId = event.detail;\n this.showTouristicEvent = true;\n this.showTouristicEventMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.set('touristicevent', this.currentTouristicEventId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('resize', { target: 'window' })\n onWindowResize() {\n this.handleView();\n }\n\n @Listen('centerOnMap', { target: 'window' })\n onCenterOnMap() {\n if (!this.isLargeView) {\n this.showTrekMap = true;\n }\n }\n\n @Watch('isLargeView')\n watchPropHandler() {\n window.dispatchEvent(new window.Event('resize'));\n }\n\n componentWillLoad() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\n const url = new URL(window.location.toString());\n const trekParam = url.searchParams.get('trek');\n const parentTrekId = url.searchParams.get('parenttrek');\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n this.showTouristicEvent = true;\n }\n }\n\n componentDidLoad() {\n onChange('trekNetworkError', () => {\n if (state.trekNetworkError) {\n const urlRedirect = new URL(window.location.toString());\n urlRedirect.searchParams.delete('trek');\n urlRedirect.searchParams.delete('parenttrek');\n urlRedirect.searchParams.delete('touristiccontent');\n urlRedirect.searchParams.delete('touristicevent');\n window.history.replaceState({}, '', urlRedirect);\n this.onDetailsClose();\n }\n });\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (this.treks) {\n state.mode = 'treks';\n } else if (this.touristicContents) {\n state.mode = 'touristicContents';\n } else if (this.touristicEvents) {\n state.mode = 'touristicEvents';\n }\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n this.showTrek = false;\n }\n\n handleView() {\n this.isLargeView = this.appElement.getBoundingClientRect().width >= this.largeViewSize;\n this.showHomeMap = this.isLargeView;\n this.showTrekMap = this.isLargeView;\n }\n\n handleFilters() {\n this.showFilters = !this.showFilters;\n }\n\n handleBackButton() {\n if (window.history.state && window.history.state.isInitialHistoryWithDetails) {\n this.onDetailsClose();\n const url = new URL(window.location.toString());\n url.searchParams.delete('trek');\n url.searchParams.delete('touristiccontent');\n url.searchParams.delete('touristicevent');\n window.history.pushState({}, '', url);\n } else {\n window.history.back();\n }\n }\n\n handlePopState() {\n const url = new URL(window.location.toString());\n const trekParam = Number(url.searchParams.get('trek'));\n const touristicContentParam = url.searchParams.get('touristiccontent');\n const touristicEventParam = url.searchParams.get('touristicevent');\n if (trekParam && this.currentTrekId !== trekParam) {\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicEvent = false;\n state.currentTouristicContent = null;\n state.currentTouristicEvent = null;\n state.currentTrek = null;\n this.currentTrekId = trekParam;\n this.showTrek = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam) {\n this.onDetailsClose();\n }\n }\n\n handleShowMap() {\n if (this.currentTrekId) {\n this.showTrekMap = !this.showTrekMap;\n } else if (this.showTouristicContent) {\n this.showTouristicContentMap = !this.showTouristicContentMap;\n } else if (this.showTouristicEvent) {\n this.showTouristicEventMap = !this.showTouristicEventMap;\n } else {\n this.showHomeMap = !this.showHomeMap;\n }\n }\n\n getMapVisibilityIconButton() {\n let mapIconButton: string;\n\n if (this.showTrek) {\n mapIconButton = this.showTrekMap ? 'summarize' : 'map';\n } else if (this.showTouristicContent) {\n mapIconButton = this.showTouristicContentMap ? 'summarize' : 'map';\n } else if (this.showTouristicEvent) {\n mapIconButton = this.showTouristicEventMap ? 'summarize' : 'map';\n } else {\n mapIconButton = this.showHomeMap ? 'list' : 'map';\n }\n\n return mapIconButton;\n }\n\n getMapVisibilityLabelButton() {\n let mapLabelButton: string;\n\n if (this.showTrek) {\n mapLabelButton = this.showTrekMap ? translate[state.language].showDetails : translate[state.language].showRoute;\n } else if (this.showTouristicContent) {\n mapLabelButton = this.showTouristicContentMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else if (this.showTouristicEvent) {\n mapLabelButton = this.showTouristicEventMap ? translate[state.language].showDetails : translate[state.language].showMap;\n } else {\n mapLabelButton = this.showHomeMap ? translate[state.language].showList : translate[state.language].showMap;\n }\n\n return mapLabelButton;\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n changeMode(mode: mode) {\n state.searchValue = '';\n if (mode === 'treks' && state.currentTreks) {\n treksFilters.forEach(filter => {\n state[filter.property].forEach(currentFilter => (currentFilter.selected = false));\n });\n state.selectedActivitiesFilters = 0;\n state.selectedThemesFilters = 0;\n state.selectedLocationFilters = 0;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else if (mode === 'touristicContents' && state.currentTouristicContents) {\n touristicContentsFilters.forEach(filter => {\n state[filter.property].forEach(currentFilter => (currentFilter.selected = false));\n });\n state.selectedActivitiesFilters = 0;\n state.selectedLocationFilters = 0;\n state.currentTouristicContents = handleTouristicContentsFiltersAndSearch();\n } else if (mode === 'touristicEvents' && state.currentTouristicEvents) {\n touristicEventsFilters.forEach(filter => {\n state[filter.property].forEach(currentFilter => (currentFilter.selected = false));\n });\n state.selectedActivitiesFilters = 0;\n state.selectedLocationFilters = 0;\n state.currentTouristicEvents = handleTouristicEventsFiltersAndSearch();\n }\n state.mode = mode;\n }\n\n render() {\n return (\n <Host\n style={{\n '--color-primary-app': this.colorPrimaryApp,\n '--color-on-primary': this.colorOnPrimary,\n '--color-surface': this.colorSurface,\n '--color-on-surface': this.colorOnSurface,\n '--color-surface-variant': this.colorSurfaceVariant,\n '--color-on-surface-variant': this.colorOnSurfaceVariant,\n '--color-primary-container': this.colorPrimaryContainer,\n '--color-on-primary-container': this.colorOnPrimaryContainer,\n '--color-secondary-container': this.colorSecondaryContainer,\n '--color-on-secondary-container': this.colorOnSecondaryContainer,\n '--color-background': this.colorBackground,\n '--color-surface-container-high': this.colorSurfaceContainerHigh,\n '--color-surface-container-low': this.colorSurfaceContainerLow,\n '--fab-background-color': this.fabBackgroundColor,\n '--fab-color': this.fabColor,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height': Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 ? '136px' : '64px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents && (\n <div class=\"init-loader-container\">\n <span class=\"loader\"></span>\n </div>\n )}\n {this.treks && state.mode === 'treks' && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !state.currentTreks && (\n <grw-treks-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n routes={this.routes}\n practices={this.practices}\n ></grw-treks-provider>\n )}\n {this.showTrek && this.currentTrekId && !state.currentTrek && (\n <grw-trek-provider api={this.api} languages={this.languages} trek-id={this.currentTrekId} portals={this.portals}></grw-trek-provider>\n )}\n {this.showTouristicContent && this.currentTouristicContentId && (\n <grw-touristic-content-provider\n api={this.api}\n languages={this.languages}\n touristic-content-id={this.currentTouristicContentId}\n portals={this.portals}\n ></grw-touristic-content-provider>\n )}\n {this.showTouristicEvent && this.currentTouristicEventId && (\n <grw-touristic-event-provider\n api={this.api}\n languages={this.languages}\n touristic-event-id={this.currentTouristicEventId}\n portals={this.portals}\n ></grw-touristic-event-provider>\n )}\n {this.touristicContents && state.mode === 'touristicContents' && !state.currentTouristicContents && !this.showTouristicContent && (\n <grw-touristic-contents-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-contents-provider>\n )}\n {this.touristicEvents && state.mode === 'touristicEvents' && !state.currentTouristicEvents && !this.showTouristicEvent && (\n <grw-touristic-events-provider\n api={this.api}\n languages={this.languages}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n portals={this.portals}\n ></grw-touristic-events-provider>\n )}\n {(state.currentTreks || state.currentTrek || state.touristicContents || state.touristicEvents || state.currentTouristicContent || state.currentTouristicEvent) && (\n <div class=\"app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'large-view-header-container' : 'header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent ? ' header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) > 1 && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && (\n <div class=\"segmented-buttons-container\">\n {this.treks && (\n <label class={`segment${state.mode === 'treks' ? ' selected-segment' : ''}`} onClick={() => this.changeMode('treks')}>\n {translate[state.language].home.segment.treks}\n </label>\n )}\n {this.touristicContents && (\n <label class={`segment${state.mode === 'touristicContents' ? ' selected-segment' : ''}`} onClick={() => this.changeMode('touristicContents')}>\n {translate[state.language].home.segment.touristicContents}\n </label>\n )}\n {this.touristicEvents && (\n <label class={`segment${state.mode === 'touristicEvents' ? ' selected-segment' : ''}`} onClick={() => this.changeMode('touristicEvents')}>\n {translate[state.language].home.segment.touristicEvents}\n </label>\n )}\n </div>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent ? (\n <div class=\"handle-search-filters-container\">\n <div class=\"handle-search-container\">\n <grw-search></grw-search>\n </div>\n <div class=\"handle-filters-container\">\n <button onClick={() => this.handleFilters()} class=\"handle-filters-button\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined margin-right-icon\">\n filter_list\n </span>\n {translate[state.language].filter}\n </button>\n </div>\n </div>\n ) : (\n <div class=\"arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"arrow-back-icon\">\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n arrow_back\n </span>\n </button>\n </div>\n )}\n </div>\n\n <div class={`content-container ${this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'content-trek' : 'content-treks'}`}>\n <div\n class={this.isLargeView ? 'large-view-app-treks-list-container' : 'app-treks-list-container'}\n style={{ display: this.showTrek || this.showTouristicContent || this.showTouristicEvent ? 'none' : 'flex', position: this.showTrek ? 'absolute' : 'relative' }}\n >\n {state.mode === 'treks' && this.treks && (\n <grw-treks-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && (\n <grw-touristic-contents-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-contents-list>\n )}\n {state.mode === 'touristicEvents' && this.touristicEvents && (\n <grw-touristic-events-list\n reset-store-on-disconnected={'false'}\n is-large-view={this.isLargeView}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n ></grw-touristic-events-list>\n )}\n </div>\n {(this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (!state.currentTreks && state.mode === 'treks') ||\n (!state.touristicContents && state.mode === 'touristicContents' && (\n <div class={this.isLargeView ? 'large-view-loader-container' : 'loader-container'}>\n <span class=\"loader\"></span>\n </div>\n ))}\n {state.currentTrek && (\n <div class={this.isLargeView ? 'large-view-app-trek-detail-container' : 'app-trek-detail-container'}>\n <grw-trek-detail\n style={{\n visibility: (!this.showTrekMap && this.showTrek) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTrekMap ? '1' : '0',\n }}\n reset-store-on-disconnected={'false'}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n weather={this.weather}\n is-large-view={this.isLargeView}\n ></grw-trek-detail>\n </div>\n )}\n {this.showTouristicContent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-content-detail-container' : 'app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: !this.showTouristicContentMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && (\n <div class={this.isLargeView ? 'large-view-app-touristic-event-detail-container' : 'app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: !this.showTouristicEventMap || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-secondary-container={this.colorSecondaryContainer}\n color-on-secondary-container={this.colorOnSecondaryContainer}\n color-surface-container-low={this.colorSurfaceContainerLow}\n color-background={this.colorBackground}\n is-large-view={this.isLargeView}\n ></grw-touristic-event-detail>\n </div>\n )}\n <grw-map\n reset-store-on-disconnected={'false'}\n class={this.isLargeView ? 'large-view-app-map-container' : 'app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap ? '1' : '0',\n }}\n center={this.center}\n zoom={this.zoom}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n color-primary-app={this.colorPrimaryApp}\n color-on-surface={this.colorOnSurface}\n color-primary-container={this.colorPrimaryContainer}\n color-on-primary-container={this.colorOnPrimaryContainer}\n color-background={this.colorBackground}\n color-trek-line={this.colorTrekLine}\n color-sensitive-area={this.colorSensitiveArea}\n color-poi-icon={this.colorPoiIcon}\n is-large-view={this.isLargeView}\n use-gradient={this.useGradient}\n ></grw-map>\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent)) && (\n <div class=\"map-visibility-button-container\">\n <button onClick={() => this.handleShowMap()} class=\"map-visibility-button\" style={{ display: this.isLargeView ? 'none' : 'flex' }}>\n {/* @ts-ignore */}\n <span translate={false} class=\"material-symbols material-symbols-outlined\">\n {this.getMapVisibilityIconButton()}\n </span>\n {this.getMapVisibilityLabelButton()}\n </button>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"],"version":3}
|