@geotrekce/geotrek-rando-widget 0.30.0 → 0.30.2
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/grw-app.cjs.entry.js +1 -1
- 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 +14 -13
- 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/collection/components/grw-app/grw-app.js +1 -1
- 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-trek-detail/grw-trek-detail.js +9 -9
- 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/store/grw-treks-provider.js +5 -4
- 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/grw-treks-provider.js.map +1 -1
- package/dist/esm/grw-app.entry.js +1 -1
- 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 +14 -13
- 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-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 +1 -1
- 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/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-de029003.entry.js → p-38d31358.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-38d31358.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-de029003.entry.js.gz → p-38d31358.entry.js.gz} +0 -0
- package/dist/geotrek-rando-widget/{p-de029003.entry.js.map → p-38d31358.entry.js.map} +1 -1
- 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-f77e20fe.system.entry.js → p-65c5fa1a.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-f77e20fe.system.entry.js.gz → p-65c5fa1a.system.entry.js.gz} +0 -0
- package/dist/geotrek-rando-widget/p-65c5fa1a.system.entry.js.map +1 -0
- package/dist/geotrek-rando-widget/{p-6d3ddec9.system.entry.js → p-928cafc2.system.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-928cafc2.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-928cafc2.system.entry.js.gz +0 -0
- package/dist/geotrek-rando-widget/{p-6d3ddec9.system.entry.js.map → p-928cafc2.system.entry.js.map} +1 -1
- package/dist/geotrek-rando-widget/{p-722e446c.entry.js → p-c0721af7.entry.js} +2 -2
- package/dist/geotrek-rando-widget/p-c0721af7.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/{p-722e446c.entry.js.gz → p-c0721af7.entry.js.gz} +0 -0
- package/dist/geotrek-rando-widget/p-c0721af7.entry.js.map +1 -0
- package/package.json +1 -1
- 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-722e446c.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-722e446c.entry.js.map +0 -1
- package/dist/geotrek-rando-widget/p-de029003.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f77e20fe.system.entry.js.br +0 -0
- package/dist/geotrek-rando-widget/p-f77e20fe.system.entry.js.map +0 -1
|
@@ -500,7 +500,7 @@ export class GrwApp {
|
|
|
500
500
|
(this.showTrek && state.currentTrek) ||
|
|
501
501
|
(this.showTouristicContent && state.currentTouristicContent) ||
|
|
502
502
|
(this.showTouristicEvent && state.currentTouristicEvent) ||
|
|
503
|
-
(this.showOutdoorSite && state.currentOutdoorSite)) && (h("div", { key: '480335a512bc25163b83ca3855ecdee8904a3140', class: "grw-map-visibility-button-container" }, h("grw-extended-fab", { key: '
|
|
503
|
+
(this.showOutdoorSite && state.currentOutdoorSite)) && (h("div", { key: '480335a512bc25163b83ca3855ecdee8904a3140', class: "grw-map-visibility-button-container" }, h("grw-extended-fab", { key: '3cad5ea4f530a54cd9f4967582541a75d38e057d', exportparts: "map-visibility-button,map-visibility-button-icon,map-visibility-button-label", "font-family": this.fontFamily, action: () => this.handleShowMap(), icon: () => this.getMapVisibilityIconButton(), name: () => this.getMapVisibilityLabelButton(), display: this.isLargeView ? 'none' : 'flex', "fab-background-color": this.fabBackgroundColor, "fab-color": this.fabColor }))))), !this.showTrek && this.showFilters && h("grw-filters", { key: 'd4bce6d7b4ccd591d96a4b58718c23b42f9cc65e', "font-family": this.fontFamily, handleFilters: () => this.handleFilters() })));
|
|
504
504
|
}
|
|
505
505
|
static get is() { return "grw-app"; }
|
|
506
506
|
static get originalStyleUrls() {
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grw-app.js","sourceRoot":"","sources":["../../../src/components/grw-app/grw-app.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7H,OAAO,aAAa,MAAM,6BAA6B,CAAC;AAOxD,MAAM,OAAO,MAAM;IALnB;QAOW,aAAQ,GAAG,KAAK,CAAC;QACjB,yBAAoB,GAAG,KAAK,CAAC;QAC7B,uBAAkB,GAAG,KAAK,CAAC;QAC3B,oBAAe,GAAG,KAAK,CAAC;QACxB,sBAAiB,GAAG,KAAK,CAAC;QAC1B,uBAAkB,GAAG,KAAK,CAAC;QAC3B,yBAAoB,GAAG,KAAK,CAAC;QAE7B,gBAAW,GAAG,KAAK,CAAC;QACpB,gBAAW,GAAG,KAAK,CAAC;QACpB,4BAAuB,GAAG,KAAK,CAAC;QAChC,0BAAqB,GAAG,KAAK,CAAC;QAC9B,gBAAW,GAAG,KAAK,CAAC;QACpB,gBAAW,GAAG,KAAK,CAAC;QAOrB,aAAQ,GAAW,MAAM,CAAC;QAC1B,cAAS,GAAW,OAAO,CAAC;QAE5B,cAAS,GAAG,IAAI,CAAC;QAajB,YAAO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CACF","sourcesContent":["import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleOutdoorSitesFiltersAndSearch, handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\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() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\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 @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\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() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#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 @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorMarkers = null;\n @Prop() colorClusters = null;\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() tilesMinZoomOffline = 12;\n @Prop() tilesMaxZoomOffline = 16;\n\n @Prop() mainMarkerSize = 32;\n @Prop() selectedMainMarkerSize = 48;\n @Prop() mainClusterSize = 48;\n @Prop() commonMarkerSize = 48;\n @Prop() departureArrivalMarkerSize = 14;\n @Prop() pointReferenceMarkerSize = 24;\n\n @Prop() largeViewSize = 1024;\n @Prop() elevationHeight = 280;\n @Prop() mobileElevationHeight = 280;\n\n @Prop() signages = false;\n @Prop() arrowRepeat = 20;\n\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 state.mode = 'treks';\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 state.mode = 'treks';\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 state.mode = 'touristicContents';\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\n state.mode = 'touristicEvents';\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('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.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 } else if (this.outdoor) {\n state.mode = 'outdoor';\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 const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\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 if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\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 url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\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 const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\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 state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\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 if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\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 if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? '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 (state.language) {\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 if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? 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\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOffline() {\n if (state.mode === 'treks') {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else {\n state.offlineOutdoorSites = !state.offlineOutdoorSites;\n state.currentOutdoorSites = handleOutdoorSitesFiltersAndSearch();\n }\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n trekIsLoading() {\n return this.showTrek && this.currentTrekId && !state.currentTrek;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\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 '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n this.showTrek && this.showTouristicContent && this.showTouristicEvent\n ? '116px'\n : Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? '148px'\n : '64px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--header-with-offline': this.enableOffline ? '48px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\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 portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.trekIsLoading() && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n signages={this.signages}\n ></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.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-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 {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (state.mode === 'treks' || state.mode === 'outdoor') && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">{state.mode === 'treks' ? translate[state.language].onlyOfflineTreks : translate[state.language].onlyOfflineOutdoor}</div>\n <grw-switch\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleOffline()}\n checked={state.mode === 'treks' ? state.offlineTreks : state.offlineOutdoorSites}\n ></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div\n class={`grw-content-container ${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'\n }`}\n >\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks && state.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents && state.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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-app={true}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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 && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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 {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-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 font-family={this.fontFamily}\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 emergency-number={this.emergencyNumber}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n tiles-min-zoom-offline={this.tilesMinZoomOffline}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n rounded={this.rounded}\n ></grw-trek-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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-app={true}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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-app={true}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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 weather={this.weather}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n grw-app={true}\n ></grw-outdoor-site-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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-app={true}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n font-family={this.fontFamily}\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-markers={this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp}\n color-clusters={this.colorClusters ? this.colorClusters : this.colorPrimaryApp}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n main-marker-size={this.mainMarkerSize}\n selected-main-marker-size={this.selectedMainMarkerSize}\n main-cluster-size={this.mainClusterSize}\n common-marker-size={this.commonMarkerSize}\n departure-arrival-marker-size={this.departureArrivalMarkerSize}\n point-reference-marker-size={this.pointReferenceMarkerSize}\n elevation-height={this.elevationHeight}\n mobile-elevation-height={this.mobileElevationHeight}\n large-view-size={this.largeViewSize}\n is-large-view={this.isLargeView}\n arrow-repeat={this.arrowRepeat}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"grw-app.js","sourceRoot":"","sources":["../../../src/components/grw-app/grw-app.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,kCAAkC,EAAE,2BAA2B,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC7H,OAAO,aAAa,MAAM,6BAA6B,CAAC;AAOxD,MAAM,OAAO,MAAM;IALnB;QAOW,aAAQ,GAAG,KAAK,CAAC;QACjB,yBAAoB,GAAG,KAAK,CAAC;QAC7B,uBAAkB,GAAG,KAAK,CAAC;QAC3B,oBAAe,GAAG,KAAK,CAAC;QACxB,sBAAiB,GAAG,KAAK,CAAC;QAC1B,uBAAkB,GAAG,KAAK,CAAC;QAC3B,yBAAoB,GAAG,KAAK,CAAC;QAE7B,gBAAW,GAAG,KAAK,CAAC;QACpB,gBAAW,GAAG,KAAK,CAAC;QACpB,4BAAuB,GAAG,KAAK,CAAC;QAChC,0BAAqB,GAAG,KAAK,CAAC;QAC9B,gBAAW,GAAG,KAAK,CAAC;QACpB,gBAAW,GAAG,KAAK,CAAC;QAOrB,aAAQ,GAAW,MA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Capacitor } from '@capacitor/core';\nimport { Component, Host, h, Listen, State, Prop, Element, Watch, Fragment } from '@stencil/core';\nimport { translate } from 'i18n/i18n';\nimport state, { reset } from 'store/store';\nimport { handleOutdoorSitesFiltersAndSearch, handleTreksFiltersAndSearch, imagesRegExp, revokeObjectURL } from 'utils/utils';\nimport ArrowBackIcon from '../../assets/arrow-back.svg';\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() showOutdoorSite = false;\n @State() showOutdoorCourse = false;\n @State() showOutdoorSiteMap = false;\n @State() showOutdoorCourseMap = false;\n\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 @State() currentOutdoorSiteId: number;\n @State() currentOutdoorCourseId: number;\n\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() labels: string;\n @Prop() nameLayer: string;\n @Prop() urlLayer: string;\n @Prop() attributionLayer: string;\n @Prop() weather = false;\n @Prop() emergencyNumber: number;\n\n @Prop() fontFamily = 'Roboto';\n @Prop() colorPrimaryApp = '#6750a4';\n @Prop() colorPrimary = '#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 @Prop() rounded = true;\n\n @Prop() colorTrekLine = '#6b0030';\n @Prop() colorSensitiveArea = '#4974a5';\n @Prop() colorMarkers = null;\n @Prop() colorClusters = null;\n @Prop() colorOutdoorArea = '#ffb700';\n\n @Prop() treks = true;\n @Prop() touristicContents = false;\n @Prop() touristicEvents = false;\n @Prop() outdoor = false;\n\n @Prop() enableOffline = false;\n @Prop() globalTilesMinZoomOffline = 0;\n @Prop() globalTilesMaxZoomOffline = 11;\n @Prop() tilesMinZoomOffline = 12;\n @Prop() tilesMaxZoomOffline = 16;\n\n @Prop() mainMarkerSize = 32;\n @Prop() selectedMainMarkerSize = 48;\n @Prop() mainClusterSize = 48;\n @Prop() commonMarkerSize = 48;\n @Prop() departureArrivalMarkerSize = 14;\n @Prop() pointReferenceMarkerSize = 24;\n\n @Prop() largeViewSize = 1024;\n @Prop() elevationHeight = 280;\n @Prop() mobileElevationHeight = 280;\n\n @Prop() signages = false;\n @Prop() arrowRepeat = 20;\n\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 state.mode = 'treks';\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 state.mode = 'treks';\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 state.mode = 'touristicContents';\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\n state.mode = 'touristicEvents';\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('outdoorSiteCardPress', { target: 'window' })\n onOutdoorSiteCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = event.detail;\n this.showOutdoorSite = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.set('outdoorsite', this.currentOutdoorSiteId.toString());\n window.history.pushState({}, '', url);\n }\n\n @Listen('outdoorCourseCardPress', { target: 'window' })\n onOutdoorCourseCardPress(event: CustomEvent<number>) {\n state.currentTrek = null;\n this.currentTrekId = null;\n this.showTrek = false;\n\n state.mode = 'outdoor';\n state.currentOutdoorSite = null;\n state.currentOutdoorCourse = null;\n state.currentRelatedOutdoorSites = null;\n state.currentRelatedOutdoorCourses = null;\n this.currentOutdoorSiteId = null;\n this.currentOutdoorCourseId = event.detail;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n this.showOutdoorCourse = true;\n this.showOutdoorSiteMap = false;\n const url = new URL(window.location.toString());\n url.searchParams.delete('outdoorsite');\n url.searchParams.set('outdoorcourse', this.currentOutdoorCourseId.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 } else if (this.outdoor) {\n state.mode = 'outdoor';\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 const outdoorSiteParam = url.searchParams.get('outdoorsite');\n const outdoorCourseParam = url.searchParams.get('outdoorcourse');\n\n if (trekParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n state.parentTrekId = parentTrekId ? Number(parentTrekId) : null;\n this.currentTrekId = Number(trekParam);\n state.mode = 'treks';\n this.showTrek = true;\n } else if (touristicContentParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicContentId = Number(touristicContentParam);\n state.mode = 'touristicContents';\n this.showTouristicContent = true;\n } else if (touristicEventParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentTouristicEventId = Number(touristicEventParam);\n state.mode = 'touristicEvents';\n this.showTouristicEvent = true;\n } else if (outdoorSiteParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorSiteId = Number(outdoorSiteParam);\n state.mode = 'outdoor';\n this.showOutdoorSite = true;\n } else if (outdoorCourseParam) {\n window.history.replaceState({ isInitialHistoryWithDetails: true }, '', url);\n this.currentOutdoorCourseId = Number(outdoorCourseParam);\n state.mode = 'outdoor';\n this.showOutdoorCourse = true;\n }\n }\n\n componentDidLoad() {\n window.addEventListener('popstate', this.handlePopStateBind, false);\n this.handleView();\n }\n\n onDetailsClose() {\n if (state.mode === 'treks') {\n this.showTrek = false;\n this.showTrekMap = false;\n state.currentTrek = null;\n state.currentTrekSteps = null;\n state.parentTrekId = null;\n this.currentTrekId = null;\n } else if (state.mode === 'touristicContents') {\n state.currentTouristicContent = null;\n this.currentTouristicContentId = null;\n this.showTouristicContent = false;\n this.showTouristicContentMap = false;\n } else if (state.mode === 'touristicEvents') {\n state.currentTouristicEvent = null;\n this.currentTouristicEventId = null;\n this.showTouristicEvent = false;\n this.showTouristicEventMap = false;\n } else if (state.mode === 'outdoor') {\n state.currentOutdoorSite = null;\n this.currentOutdoorSiteId = null;\n this.showOutdoorSite = false;\n this.showOutdoorSiteMap = false;\n state.currentOutdoorCourse = null;\n this.currentOutdoorCourseId = null;\n this.showOutdoorCourse = false;\n this.showOutdoorCourseMap = false;\n }\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 if (state.currentTrek && state.currentTrek.offline && !Capacitor.isNativePlatform()) {\n revokeObjectURL(state.currentPois, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicEvents, imagesRegExp, ['url']);\n revokeObjectURL(state.trekTouristicContents, imagesRegExp, ['url']);\n revokeObjectURL(state.currentInformationDesks, imagesRegExp);\n revokeObjectURL(state.currentTrek, imagesRegExp, ['url']);\n }\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 url.searchParams.delete('outdoorsite');\n url.searchParams.delete('outdoorcourse');\n\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 const outdoorSiteParam = Number(url.searchParams.get('outdoorsite'));\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 state.mode = 'treks';\n this.showTrek = true;\n } else if (outdoorSiteParam && this.currentOutdoorSiteId !== outdoorSiteParam) {\n this.currentOutdoorSiteId = outdoorSiteParam;\n state.currentOutdoorSite = null;\n this.showOutdoorCourse = false;\n this.showOutdoorSite = true;\n } else if (!trekParam && !touristicContentParam && !touristicEventParam && !outdoorSiteParam) {\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 if (this.showOutdoorSite) {\n this.showOutdoorSiteMap = !this.showOutdoorSiteMap;\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 if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapIconButton = this.showOutdoorSiteMap || this.showOutdoorCourseMap ? '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 (state.language) {\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 if (this.showOutdoorSite || this.showOutdoorCourse) {\n mapLabelButton = this.showOutdoorSiteMap ? 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\n return mapLabelButton;\n }\n\n reload() {\n window.location.reload();\n }\n\n disconnectedCallback() {\n reset();\n window.removeEventListener('popstate', this.handlePopStateBind);\n }\n\n handleOffline() {\n if (state.mode === 'treks') {\n state.offlineTreks = !state.offlineTreks;\n state.currentTreks = handleTreksFiltersAndSearch();\n } else {\n state.offlineOutdoorSites = !state.offlineOutdoorSites;\n state.currentOutdoorSites = handleOutdoorSitesFiltersAndSearch();\n }\n }\n\n getFiltersName() {\n const activeFilters = state.selectedActivitiesFilters + state.selectedLocationFilters + state.selectedThemesFilters;\n return `${translate[state.language].filter}${activeFilters > 0 ? ' (' + activeFilters + ')' : ''}`;\n }\n\n trekIsLoading() {\n return this.showTrek && this.currentTrekId && !state.currentTrek;\n }\n\n render() {\n return (\n <Host\n style={{\n '--font-family': this.fontFamily,\n '--color-primary-app': this.colorPrimaryApp,\n '--color-primary': this.colorPrimary,\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 '--color-sensitive-area': this.colorSensitiveArea,\n '--app-width': this.appWidth,\n '--app-height': this.appHeight,\n '--header-height':\n this.showTrek && this.showTouristicContent && this.showTouristicEvent\n ? '116px'\n : Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1\n ? '148px'\n : '64px',\n '--header-with-languages': this.languages.split(',').length > 1 ? '38px' : '0px',\n '--header-with-offline': this.enableOffline ? '48px' : '0px',\n '--border-radius': this.rounded ? '' : '0px',\n }}\n >\n {!state.currentTreks &&\n !state.currentTrek &&\n !state.currentTouristicContent &&\n !state.currentTouristicEvent &&\n !state.currentTouristicContents &&\n !state.currentTouristicEvents &&\n !state.currentOutdoorSites &&\n !state.currentOutdoorSite &&\n !state.currentOutdoorCourses &&\n !state.currentOutdoorCourse && (\n <div class=\"grw-init-loader-container\">\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorPrimaryContainer} color-on-primary-container={this.colorOnPrimaryContainer}></grw-loader>\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 portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n ></grw-treks-provider>\n )}\n {this.trekIsLoading() && (\n <grw-trek-provider\n api={this.api}\n languages={this.languages}\n trek-id={this.currentTrekId}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n routes={this.routes}\n practices={this.practices}\n labels={this.labels}\n signages={this.signages}\n ></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.showOutdoorSite && this.currentOutdoorSiteId && !state.currentOutdoorSite && (\n <grw-outdoor-site-provider api={this.api} languages={this.languages} outdoor-site-id={this.currentOutdoorSiteId} portals={this.portals}></grw-outdoor-site-provider>\n )}\n {this.showOutdoorCourse && this.currentOutdoorCourseId && !state.currentOutdoorCourse && (\n <grw-outdoor-course-provider\n api={this.api}\n languages={this.languages}\n outdoor-course-id={this.currentOutdoorCourseId}\n portals={this.portals}\n ></grw-outdoor-course-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 {this.outdoor &&\n state.mode === 'outdoor' &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !state.outdoorSites && (\n <grw-outdoor-sites-provider\n api={this.api}\n languages={this.languages}\n portals={this.portals}\n in-bbox={this.inBbox}\n cities={this.cities}\n districts={this.districts}\n structures={this.structures}\n themes={this.themes}\n ></grw-outdoor-sites-provider>\n )}\n\n {(state.currentTreks ||\n state.currentTrek ||\n state.touristicContents ||\n state.touristicEvents ||\n state.currentTouristicContent ||\n state.currentTouristicEvent ||\n state.currentOutdoorSites ||\n state.currentOutdoorSite ||\n state.currentOutdoorCourses ||\n state.currentOutdoorCourse ||\n state.networkError) && (\n <div class=\"grw-app-container\">\n {state.languages && state.languages.length > 1 && (\n <div class=\"grw-languages-container\">\n <grw-select-language></grw-select-language>\n </div>\n )}\n <div\n class={`${this.isLargeView ? 'grw-large-view-header-container' : 'grw-header-container'}${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? ' grw-header-detail' : ''\n }`}\n >\n {Number(this.treks) + Number(this.touristicContents) + Number(this.touristicEvents) + Number(this.outdoor) > 1 &&\n !this.showTrek &&\n !this.showTouristicContent &&\n !this.showTouristicEvent &&\n !this.showOutdoorSite &&\n !this.showOutdoorCourse && (\n <grw-segmented-segment\n font-family={this.fontFamily}\n treks={this.treks}\n touristicContents={this.touristicContents}\n touristicEvents={this.touristicEvents}\n outdoor={this.outdoor}\n ></grw-segmented-segment>\n )}\n {!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite && !this.showOutdoorCourse ? (\n <Fragment>\n <div class=\"grw-handle-search-filters-container\">\n <div class=\"grw-handle-search-container\">\n <grw-search font-family={this.fontFamily}></grw-search>\n </div>\n <div class=\"grw-handle-filters-container\">\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleFilters()}\n icon={'filter_list'}\n name={this.getFiltersName()}\n ></grw-common-button>\n </div>\n </div>\n {this.enableOffline && (state.mode === 'treks' || state.mode === 'outdoor') && (\n <div part=\"grw-offline-container\" class=\"grw-offline-container\">\n <div class=\"grw-offline-label\">{state.mode === 'treks' ? translate[state.language].onlyOfflineTreks : translate[state.language].onlyOfflineOutdoor}</div>\n <grw-switch\n exportparts=\"common-button,common-button-icon,common-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleOffline()}\n checked={state.mode === 'treks' ? state.offlineTreks : state.offlineOutdoorSites}\n ></grw-switch>\n </div>\n )}\n </Fragment>\n ) : (\n <div class=\"grw-arrow-back-container\">\n <button onClick={() => this.handleBackButton()} class=\"grw-arrow-back-icon\">\n <span part=\"icon\" class=\"icon\" innerHTML={ArrowBackIcon}></span>\n </button>\n </div>\n )}\n </div>\n\n <div\n class={`grw-content-container ${\n this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'grw-content-trek' : 'grw-content-treks'\n }`}\n >\n {state.networkError && (\n <div class=\"grw-error-container\">\n Une erreur est survenue.\n <grw-common-button\n exportparts=\"common-button,common-button-icon,common-button-label\"\n icon=\"refresh\"\n name=\"Recharger la page\"\n action={() => this.reload()}\n ></grw-common-button>\n </div>\n )}\n {((state.mode === 'treks' && this.treks && state.treks) ||\n (state.mode === 'touristicContents' && this.touristicContents && state.touristicContents) ||\n (state.mode === 'touristicEvents' && this.touristicEvents && state.touristicEvents) ||\n (state.mode === 'outdoor' && this.outdoor && state.outdoorSites)) && (\n <div\n class={this.isLargeView ? 'grw-large-view-app-list-container' : 'grw-app-list-container'}\n style={{\n display: this.showTrek || this.showTouristicContent || this.showTouristicEvent || this.showOutdoorSite || this.showOutdoorCourse ? 'none' : 'flex',\n position: this.showTrek ? 'absolute' : 'relative',\n }}\n >\n {state.mode === 'treks' && this.treks && state.treks && (\n <grw-treks-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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-app={true}\n ></grw-treks-list>\n )}\n {state.mode === 'touristicContents' && this.touristicContents && state.touristicContents && (\n <grw-touristic-contents-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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 && state.touristicEvents && (\n <grw-touristic-events-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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 {state.mode === 'outdoor' && this.outdoor && state.outdoorSites && (\n <grw-outdoor-sites-list\n is-large-view={this.isLargeView}\n font-family={this.fontFamily}\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-outdoor-sites-list>\n )}\n </div>\n )}\n {((this.showTrek && !state.currentTrek) ||\n (this.showTouristicContent && !state.currentTouristicContent) ||\n (this.showTouristicEvent && !state.currentTouristicEvent) ||\n (this.showOutdoorSite && !state.currentOutdoorSite) ||\n (this.showOutdoorCourse && !state.currentOutdoorCourse) ||\n (!state.treks && state.mode === 'treks' && !this.showTrek) ||\n (!state.touristicContents && state.mode === 'touristicContents' && !this.showTouristicContent) ||\n (!state.touristicEvents && state.mode === 'touristicEvents' && !this.showTouristicEvent) ||\n (!state.outdoorSites && state.mode === 'outdoor' && !this.showOutdoorSite && !this.showOutdoorCourse)) && (\n <div class={this.isLargeView ? 'grw-large-view-loader-container' : 'grw-loader-container'}>\n <grw-loader exportparts=\"loader\" color-primary-container={this.colorSecondaryContainer} color-on-primary-container={this.colorOnSecondaryContainer}></grw-loader>\n </div>\n )}\n {this.showTrek && state.currentTrek && (\n <div class={this.isLargeView ? 'grw-large-view-app-trek-detail-container' : 'grw-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 font-family={this.fontFamily}\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 emergency-number={this.emergencyNumber}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n global-tiles-min-zoom-offline={this.globalTilesMinZoomOffline}\n global-tiles-max-zoom-offline={this.globalTilesMaxZoomOffline}\n tiles-min-zoom-offline={this.tilesMinZoomOffline}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n rounded={this.rounded}\n ></grw-trek-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showTouristicContent && state.currentTouristicContent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-content-detail-container' : 'grw-app-touristic-content-detail-container'}>\n <grw-touristic-content-detail\n style={{\n visibility: (!this.showTouristicContentMap && this.showTouristicContent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicContentMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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-app={true}\n ></grw-touristic-content-detail>\n </div>\n )}\n {this.showTouristicEvent && state.currentTouristicEvent && (\n <div class={this.isLargeView ? 'grw-large-view-app-touristic-event-detail-container' : 'grw-app-touristic-event-detail-container'}>\n <grw-touristic-event-detail\n style={{\n visibility: (!this.showTouristicEventMap && this.showTouristicEvent) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showTouristicEventMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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-app={true}\n ></grw-touristic-event-detail>\n </div>\n )}\n {this.showOutdoorSite && state.currentOutdoorSite && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-site-detail-container' : 'grw-app-outdoor-site-detail-container'}>\n <grw-outdoor-site-detail\n style={{\n visibility: (!this.showOutdoorSiteMap && this.showOutdoorSite) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorSiteMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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 weather={this.weather}\n default-background-layer-url={this.urlLayer.split(',http').map((url, index) => (index === 0 ? url : 'http' + url))[0]}\n default-background-layer-attribution={this.attributionLayer ? this.attributionLayer.split(',')[0] : []}\n enable-offline={this.enableOffline}\n grw-app={true}\n ></grw-outdoor-site-detail>\n <grw-offline-confirm-modal mode=\"treks\"></grw-offline-confirm-modal>\n </div>\n )}\n {this.showOutdoorCourse && state.currentOutdoorCourse && (\n <div class={this.isLargeView ? 'grw-large-view-app-outdoor-course-detail-container' : 'grw-app-outdoor-course-detail-container'}>\n <grw-outdoor-course-detail\n style={{\n visibility: (!this.showOutdoorCourseMap && this.showOutdoorCourse) || this.isLargeView ? 'visible' : 'hidden',\n zIndex: !this.showOutdoorCourseMap ? '1' : '0',\n }}\n font-family={this.fontFamily}\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-app={true}\n ></grw-outdoor-course-detail>\n </div>\n )}\n {!state.networkError && (\n <grw-map\n exportparts=\"map,elevation,map-bottom-space,map-loader-container,loader\"\n class={this.isLargeView ? 'grw-large-view-app-map-container' : 'grw-app-map-container'}\n style={{\n visibility:\n (this.showHomeMap && !this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrekMap && this.showTrek) ||\n (this.showTouristicContentMap && this.showTouristicContent) ||\n (this.showTouristicEventMap && this.showTouristicEvent) ||\n (this.showOutdoorSiteMap && this.showOutdoorSite) ||\n this.isLargeView\n ? 'visible'\n : 'hidden',\n zIndex: this.showHomeMap || this.showTrekMap || this.showTouristicContentMap || this.showTouristicEventMap || this.showOutdoorSiteMap ? '1' : '0',\n }}\n name-layer={this.nameLayer}\n url-layer={this.urlLayer}\n attribution-layer={this.attributionLayer}\n font-family={this.fontFamily}\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-markers={this.colorMarkers ? this.colorMarkers : this.colorPrimaryApp}\n color-clusters={this.colorClusters ? this.colorClusters : this.colorPrimaryApp}\n tiles-max-zoom-offline={this.tilesMaxZoomOffline}\n grw-app={true}\n main-marker-size={this.mainMarkerSize}\n selected-main-marker-size={this.selectedMainMarkerSize}\n main-cluster-size={this.mainClusterSize}\n common-marker-size={this.commonMarkerSize}\n departure-arrival-marker-size={this.departureArrivalMarkerSize}\n point-reference-marker-size={this.pointReferenceMarkerSize}\n elevation-height={this.elevationHeight}\n mobile-elevation-height={this.mobileElevationHeight}\n large-view-size={this.largeViewSize}\n is-large-view={this.isLargeView}\n arrow-repeat={this.arrowRepeat}\n ></grw-map>\n )}\n </div>\n {((!this.showTrek && !this.showTouristicContent && !this.showTouristicEvent && !this.showOutdoorSite) ||\n (this.showTrek && state.currentTrek) ||\n (this.showTouristicContent && state.currentTouristicContent) ||\n (this.showTouristicEvent && state.currentTouristicEvent) ||\n (this.showOutdoorSite && state.currentOutdoorSite)) && (\n <div class=\"grw-map-visibility-button-container\">\n <grw-extended-fab\n exportparts=\"map-visibility-button,map-visibility-button-icon,map-visibility-button-label\"\n font-family={this.fontFamily}\n action={() => this.handleShowMap()}\n icon={() => this.getMapVisibilityIconButton()}\n name={() => this.getMapVisibilityLabelButton()}\n display={this.isLargeView ? 'none' : 'flex'}\n fab-background-color={this.fabBackgroundColor}\n fab-color={this.fabColor}\n ></grw-extended-fab>\n </div>\n )}\n </div>\n )}\n {!this.showTrek && this.showFilters && <grw-filters font-family={this.fontFamily} handleFilters={() => this.handleFilters()}></grw-filters>}\n </Host>\n );\n }\n}\n"]}
|