@geotrekce/geotrek-rando-widget 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/cjs/grw-common-button_21.cjs.entry.js +1 -1
  2. package/dist/cjs/grw-common-button_21.cjs.entry.js.br +0 -0
  3. package/dist/cjs/grw-common-button_21.cjs.entry.js.gz +0 -0
  4. package/dist/cjs/grw-common-button_21.cjs.entry.js.map +1 -1
  5. package/dist/cjs/grw-information-desk_6.cjs.entry.js +11 -5
  6. package/dist/cjs/grw-information-desk_6.cjs.entry.js.br +0 -0
  7. package/dist/cjs/grw-information-desk_6.cjs.entry.js.gz +0 -0
  8. package/dist/cjs/grw-information-desk_6.cjs.entry.js.map +1 -1
  9. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css +2 -0
  10. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.br +0 -0
  11. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.css.gz +0 -0
  12. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js +4 -1
  13. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.br +0 -0
  14. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.gz +0 -0
  15. package/dist/collection/components/grw-touristic-content-card/grw-touristic-content-card.js.map +1 -1
  16. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css +2 -0
  17. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.br +0 -0
  18. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.css.gz +0 -0
  19. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js +4 -1
  20. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.br +0 -0
  21. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.gz +0 -0
  22. package/dist/collection/components/grw-touristic-event-card/grw-touristic-event-card.js.map +1 -1
  23. package/dist/collection/components/grw-trek-card/grw-trek-card.css +3 -1
  24. package/dist/collection/components/grw-trek-card/grw-trek-card.css.br +0 -0
  25. package/dist/collection/components/grw-trek-card/grw-trek-card.css.gz +0 -0
  26. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +1 -1
  27. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.br +0 -0
  28. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.gz +0 -0
  29. package/dist/collection/components/grw-trek-detail/grw-trek-detail.js.map +1 -1
  30. package/dist/esm/grw-common-button_21.entry.js +1 -1
  31. package/dist/esm/grw-common-button_21.entry.js.br +0 -0
  32. package/dist/esm/grw-common-button_21.entry.js.gz +0 -0
  33. package/dist/esm/grw-common-button_21.entry.js.map +1 -1
  34. package/dist/esm/grw-information-desk_6.entry.js +11 -5
  35. package/dist/esm/grw-information-desk_6.entry.js.br +0 -0
  36. package/dist/esm/grw-information-desk_6.entry.js.gz +0 -0
  37. package/dist/esm/grw-information-desk_6.entry.js.map +1 -1
  38. package/dist/esm-es5/grw-common-button_21.entry.js +1 -1
  39. package/dist/esm-es5/grw-common-button_21.entry.js.br +0 -0
  40. package/dist/esm-es5/grw-common-button_21.entry.js.gz +0 -0
  41. package/dist/esm-es5/grw-common-button_21.entry.js.map +1 -1
  42. package/dist/esm-es5/grw-information-desk_6.entry.js +1 -1
  43. package/dist/esm-es5/grw-information-desk_6.entry.js.br +0 -0
  44. package/dist/esm-es5/grw-information-desk_6.entry.js.gz +0 -0
  45. package/dist/esm-es5/grw-information-desk_6.entry.js.map +1 -1
  46. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -1
  47. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.br +0 -0
  48. package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js.gz +0 -0
  49. package/dist/geotrek-rando-widget/{p-c171e0d7.entry.js → p-40e69a46.entry.js} +4 -4
  50. package/dist/geotrek-rando-widget/p-40e69a46.entry.js.br +0 -0
  51. package/dist/geotrek-rando-widget/{p-c171e0d7.entry.js.gz → p-40e69a46.entry.js.gz} +0 -0
  52. package/dist/geotrek-rando-widget/{p-c171e0d7.entry.js.map → p-40e69a46.entry.js.map} +1 -1
  53. package/dist/geotrek-rando-widget/{p-d2fb6fb4.system.entry.js → p-4c85680a.system.entry.js} +2 -2
  54. package/dist/geotrek-rando-widget/p-4c85680a.system.entry.js.br +0 -0
  55. package/dist/geotrek-rando-widget/p-4c85680a.system.entry.js.gz +0 -0
  56. package/dist/geotrek-rando-widget/p-4c85680a.system.entry.js.map +1 -0
  57. package/dist/geotrek-rando-widget/{p-9d826a4c.entry.js → p-ae129a99.entry.js} +2 -2
  58. package/dist/geotrek-rando-widget/p-ae129a99.entry.js.br +0 -0
  59. package/dist/geotrek-rando-widget/p-ae129a99.entry.js.gz +0 -0
  60. package/dist/geotrek-rando-widget/p-ae129a99.entry.js.map +1 -0
  61. package/dist/geotrek-rando-widget/p-b02ae30d.system.js +1 -1
  62. package/dist/geotrek-rando-widget/p-b02ae30d.system.js.br +0 -0
  63. package/dist/geotrek-rando-widget/p-b02ae30d.system.js.gz +0 -0
  64. package/dist/geotrek-rando-widget/{p-ed66cd9d.system.entry.js → p-dfd293bb.system.entry.js} +2 -2
  65. package/dist/geotrek-rando-widget/p-dfd293bb.system.entry.js.br +0 -0
  66. package/dist/geotrek-rando-widget/{p-ed66cd9d.system.entry.js.gz → p-dfd293bb.system.entry.js.gz} +0 -0
  67. package/dist/geotrek-rando-widget/{p-ed66cd9d.system.entry.js.map → p-dfd293bb.system.entry.js.map} +1 -1
  68. package/package.json +1 -1
  69. package/dist/geotrek-rando-widget/p-9d826a4c.entry.js.br +0 -0
  70. package/dist/geotrek-rando-widget/p-9d826a4c.entry.js.gz +0 -0
  71. package/dist/geotrek-rando-widget/p-9d826a4c.entry.js.map +0 -1
  72. package/dist/geotrek-rando-widget/p-c171e0d7.entry.js.br +0 -0
  73. package/dist/geotrek-rando-widget/p-d2fb6fb4.system.entry.js.br +0 -0
  74. package/dist/geotrek-rando-widget/p-d2fb6fb4.system.entry.js.gz +0 -0
  75. package/dist/geotrek-rando-widget/p-d2fb6fb4.system.entry.js.map +0 -1
  76. package/dist/geotrek-rando-widget/p-ed66cd9d.system.entry.js.br +0 -0
@@ -5184,7 +5184,7 @@ const GrwTrekDetail = class {
5184
5184
  return (index.h("div", { part: "network", class: "network" }, index.h("img", { part: "icon", class: "icon",
5185
5185
  /* @ts-ignore */
5186
5186
  crossorigin: "anonymous", src: currentNetwork.pictogram }), index.h("span", { part: "label", class: "label" }, currentNetwork.label)));
5187
- })), this.currentTrek.ratings.map(trekRating => (index.h("div", { part: "row", class: "row" }, `${utils.state.ratingsScale.find(ratingScale => ratingScale.id === utils.state.ratings.find(rating => rating.id === trekRating).scale).name} : ${utils.state.ratings.find(rating => rating.id === trekRating).name}`))), this.currentTrek.ratings_description && this.currentTrek.ratings_description !== '' && (index.h("div", { part: "row", class: "row", innerHTML: this.currentTrek.ratings_description })))), index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "downloads-container", class: "downloads-container" }, index.h("div", { part: "download-title", class: "download-title" }, i18n.translate[utils.state.language].downloads), this.enableOffline && !this.offline && (index.h("button", { part: "offline-button", class: "offline-button", onClick: () => this.displayTrekDownloadModal() }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download_for_offline"), index.h("span", { part: "label", class: "label" }, "RENDRE DISPONIBLE HORS LIGNE"))), this.enableOffline && this.offline && (index.h("button", { part: "offline-button", class: "offline-button", onClick: () => this.displayTrekDeleteModal() }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "delete"), index.h("span", { part: "label", class: "label" }, "SUPPRIMER DU HORS LIGNE"))), index.h("div", { part: "links-container", class: "links-container" }, index.h("a", { href: `${this.currentTrek.gpx}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download"), index.h("span", { part: "label", class: "label" }, "GPX")), index.h("a", { href: `${this.currentTrek.kml}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download"), index.h("span", { part: "label", class: "label" }, "KML")), index.h("a", { href: `${this.currentTrek.pdf}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download"), index.h("span", { part: "label", class: "label" }, "PDF")))), index.h("div", { part: "divider", class: "divider" }), this.currentTrek.description_teaser && index.h("div", { part: "description-teaser", class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && index.h("div", { part: "ambiance", class: "ambiance", innerHTML: this.currentTrek.ambiance }), utils.state.parentTrekId && utils.state.parentTrek && this.currentTrek.id !== utils.state.parentTrekId && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "parent-trek-container", class: "parent-trek-container" }, index.h("button", { part: "parent-trek-title", class: "parent-trek-title", onClick: () => this.parentTrekPress.emit(utils.state.parentTrekId) }, index.h("div", null, "<"), utils.state.parentTrek.name)))), utils.state.currentTrekSteps && (index.h("div", { part: "step-container", class: "step-container" }, index.h("div", { part: "step-title", class: "step-title", ref: el => (this.stepsRef = el) }, `${utils.state.currentTrekSteps.length} ${i18n.translate[utils.state.language].steps}`), index.h("div", { part: "swiper-step", class: "swiper swiper-step", ref: el => (this.swiperStepRef = el) }, index.h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, utils.state.currentTrekSteps &&
5187
+ })), this.currentTrek.ratings.map(trekRating => (index.h("div", { part: "row", class: "row" }, `${utils.state.ratingsScale.find(ratingScale => ratingScale.id === utils.state.ratings.find(rating => rating.id === trekRating).scale).name} : ${utils.state.ratings.find(rating => rating.id === trekRating).name}`))), this.currentTrek.ratings_description && this.currentTrek.ratings_description !== '' && (index.h("div", { part: "row", class: "row", innerHTML: this.currentTrek.ratings_description })))), index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "downloads-container", class: "downloads-container" }, index.h("div", { part: "download-title", class: "download-title" }, i18n.translate[utils.state.language].downloads), this.enableOffline && !this.offline && (index.h("button", { part: "offline-button", class: "offline-button", onClick: () => this.displayTrekDownloadModal() }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download_for_offline"), index.h("span", { part: "label", class: "label" }, "RENDRE DISPONIBLE HORS LIGNE"))), this.enableOffline && this.offline && (index.h("button", { part: "offline-button", class: "offline-button", onClick: () => this.displayTrekDeleteModal() }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "delete"), index.h("span", { part: "label", class: "label" }, "SUPPRIMER DU HORS LIGNE"))), index.h("div", { part: "links-container", class: "links-container" }, index.h("a", { href: `${this.currentTrek.gpx}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download"), index.h("span", { part: "label", class: "label" }, "GPX")), index.h("a", { href: `${this.currentTrek.kml}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download"), index.h("span", { part: "label", class: "label" }, "KML")), index.h("a", { href: `${this.currentTrek.pdf}${utils.state.portalsFromProviders && utils.state.portalsFromProviders.length === 1 ? '?portal=' + utils.state.portalsFromProviders[0] : ''}`, target: "_blank", rel: "noopener noreferrer" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "download"), index.h("span", { part: "label", class: "label" }, "PDF")))), index.h("div", { part: "divider", class: "divider" }), this.currentTrek.description_teaser && index.h("div", { part: "description-teaser", class: "description-teaser", innerHTML: this.currentTrek.description_teaser }), this.currentTrek.ambiance && index.h("div", { part: "ambiance", class: "ambiance", innerHTML: this.currentTrek.ambiance }), utils.state.parentTrekId && utils.state.parentTrek && this.currentTrek.id !== utils.state.parentTrekId && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "parent-trek-container", class: "parent-trek-container" }, index.h("button", { part: "parent-trek-title", class: "parent-trek-title", onClick: () => this.parentTrekPress.emit(utils.state.parentTrekId) }, index.h("div", null, "<"), utils.state.parentTrek.name)))), utils.state.currentTrekSteps && (index.h("div", { part: "step-container", class: "step-container" }, index.h("div", { part: "step-title", class: "step-title", ref: el => (this.stepsRef = el) }, `${utils.state.currentTrekSteps.length} ${i18n.translate[utils.state.language].steps}`), index.h("div", { part: "swiper-step", class: "swiper swiper-step", ref: el => (this.swiperStepRef = el) }, index.h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, utils.state.currentTrekSteps &&
5188
5188
  utils.state.currentTrekSteps.map(trek => {
5189
5189
  return (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-trek-card", { exportparts: "trek-card,trek-img-container,trek-img,trek-sub-container,trek-departure,trek-name,trek-themes-container,trek-theme,trek-icons-labels-container,trek-icon-label,trek-icon,trek-label", key: `trek-${trek.id}`, trek: trek, "is-large-view": false, "is-step": true, fontFamily: this.fontFamily, "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 })));
5190
5190
  })), index.h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.stepSwiperScrollbar = el) })))), index.h("div", { part: "divider", class: "divider" }), this.currentTrek.description && (index.h("div", { part: "description-container", class: "description-container" }, index.h("div", { part: "description-title", class: "description-title", ref: el => (this.descriptionRef = el) }, i18n.translate[utils.state.language].description), index.h("div", { part: "description", class: "description", innerHTML: this.currentTrek.description }))), this.currentTrek.departure && (index.h("div", { part: "departure-container", class: "departure-container" }, index.h("div", { part: "departure-title", class: "departure-title" }, i18n.translate[utils.state.language].departure, " :\u00A0"), index.h("div", { part: "departure", innerHTML: this.currentTrek.departure }))), this.currentTrek.arrival && (index.h("div", { part: "arrival-container", class: "arrival-container" }, index.h("div", { part: "arrival-title", class: "arrival-title" }, i18n.translate[utils.state.language].arrival, " :\u00A0"), index.h("div", { part: "arrival", innerHTML: this.currentTrek.arrival }))), this.currentTrek.cities && this.currentTrek.cities.length > 0 && (index.h("div", { part: "cities-container", class: "cities-container" }, index.h("div", { part: "cities-title", class: "cities-title" }, i18n.translate[utils.state.language].crossedCities, " :\u00A0"), index.h("div", { part: "cities", innerHTML: this.cities.join(', ') }))), utils.state.currentPois && utils.state.currentPois.length > 0 && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "pois-container", class: "pois-container" }, index.h("div", { part: "pois-title", class: "pois-title", ref: el => (this.poiRef = el) }, i18n.translate[utils.state.language].pois(utils.state.currentPois.length)), index.h("div", { part: "swiper-pois", class: "swiper swiper-pois", ref: el => (this.swiperPoisRef = el) }, index.h("div", { part: "swiper-wrapper", class: "swiper-wrapper" }, utils.state.currentPois.map(poi => (index.h("div", { part: "swiper-slide", class: "swiper-slide" }, index.h("grw-poi", { exportparts: "poi-type-img-container,poi-type,swiper-poi,swiper-wrapper,swiper-slide,poi-img,default-poi-img,swiper-pagination,swiper-button-prev,swiper-button-next,poi-sub-container,poi-name,poi-description,handle-poi-description", poi: poi }))))), index.h("div", { part: "swiper-scrollbar", class: "swiper-scrollbar", ref: el => (this.poisSwiperScrollbar = el) }))))), this.weather && this.currentTrek.departure_city && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "weather-container", class: "weather-container" }, index.h("iframe", { height: "150", frameborder: "0", src: `https://meteofrance.com/widget/prevision/${this.currentTrek.departure_city}0#${this.colorPrimaryApp}` })))), this.currentTrek.access && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "access-container", class: "access-container" }, index.h("div", { part: "access-title", class: "access-title" }, i18n.translate[utils.state.language].roadAccessAndParking), index.h("div", { part: "access", class: "access", innerHTML: this.currentTrek.access }), this.currentTrek.advised_parking && (index.h("div", null, index.h("div", { part: "advised-parking-title", class: "advised-parking-title", ref: el => (this.parkingRef = el) }, i18n.translate[utils.state.language].recommendedParking), index.h("div", { part: "advised-parking", class: "advised-parking", innerHTML: this.currentTrek.advised_parking })))))), this.currentTrek.public_transport && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "public-transport-container", class: "public-transport-container" }, index.h("div", { part: "public-transport-title", class: "public-transport-title" }, i18n.translate[utils.state.language].transport), index.h("div", { part: "public-transport", class: "public-transport", innerHTML: this.currentTrek.public_transport })))), (this.currentTrek.advice || this.currentTrek.gear || this.labels.length > 0) && (index.h("div", null, index.h("div", { part: "divider", class: "divider" }), index.h("div", { part: "advice-container", class: "advice-container" }, index.h("div", { part: "advice-title", class: "advice-title", ref: el => (this.recommendationRef = el) }, i18n.translate[utils.state.language].recommendations), this.currentTrek.advice && (index.h("div", { part: "current-advice-container", class: "current-advice-container" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "warning"), index.h("div", { part: "advice", class: "advice", innerHTML: this.currentTrek.advice }))), this.currentTrek.gear && (index.h("div", { part: "gear-container", class: "gear-container" }, index.h("span", { translate: false, part: "icon", class: "material-symbols material-symbols-outlined icon" }, "backpack"), index.h("div", { part: "gear", class: "gear", innerHTML: this.currentTrek.gear }))), this.labels.map(label => (index.h("div", { part: "label-container", class: "label-container" }, index.h("div", { part: "label-sub-container", class: "label-sub-container" }, label.pictogram && (index.h("img", {