@geogirafe/lib-geoportal 1.3.0-dev.3008419756 → 1.3.0-dev.3008485984

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.
@@ -28,7 +28,7 @@ export default class SelectionPanelMobile extends GirafeHTMLElement {
28
28
  .full-width-height{width:100%;height:100%}.container{scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;width:100%;height:calc(100% - 60px - env(safe-area-inset-bottom) / 2);grid-auto-columns:100%;grid-auto-flow:column;gap:10px;display:grid;overflow-x:auto}.container::-webkit-scrollbar{display:none}.single-feature{scroll-snap-align:center;box-sizing:border-box;background-color:#ffffff61;border:1px solid #277aff3f;border-radius:10px;width:100%;padding:15px;position:relative;overflow-y:scroll}.pagination{width:100%;height:60px;margin-bottom:calc(env(safe-area-inset-bottom) / 2);border-radius:20px;position:relative}.nav-bt{width:fit-content;height:fit-content;margin:auto;top:0;bottom:0}.nav-bt>img{width:40px;height:40px}.previous-bt{position:absolute;left:70px}.next-bt{position:absolute;right:70px}.next-fast-bt{position:absolute;right:0}.previous-fast-bt{position:absolute;left:0}.next-fast-bt>img,.previous-fast-bt>img{width:50px;height:50px}.nav-indicator{text-align:center;color:#606368;font-size:2em;font-weight:600}.nav-center-wrapper{align-items:center;width:fit-content;height:fit-content;margin:auto;display:flex;position:absolute;inset:0}.feature-property-key-value{margin-bottom:1.5em;font-size:1.3em}.feature-property-key{color:#a9a9a9;font-weight:900}.layer-name{color:#277aff;text-align:center;background-color:#277aff29;border-radius:5px;width:100%;margin-bottom:1.5em;padding:.5em 0;font-size:1.5em}.layer-icon{filter:brightness(10);height:25px;margin-bottom:-6px;margin-right:5px}.feature-property-value{overflow-x:hidden;text-overflow:ellipsis!important}
29
29
  </style>
30
30
  <style>${this.customStyle}</style>
31
- <div class="full-width-height" style="${this.state.interface.swipeupPanelContent === 'features' ? '' : 'display: none;'}"><div class="container">${this.state.selection.selectedFeatures.filter((feature) => feature !== undefined).map((feature) => uHtml `<div class="single-feature"><div class="layer-name"><img class="layer-icon" alt="layer icon" src="icons/themes.svg"> <span i18n="${this.getFeatureLayerName(feature)}"></span></div>${Object.entries(feature.getProperties()).filter((keyValue) => typeof keyValue[1] === "boolean" || typeof keyValue[1] === "string" || typeof keyValue[1] === "number").map((keyValue) => uHtml `<div class="feature-property-key-value"><div class="feature-property-key" i18n="${keyValue[0]}"></div><div class="feature-property-value" i18n="${getLinkFriendlyString(keyValue[1])}"></div></div>`)}<div class="feature-property-key-value"><div class="feature-property-key" i18n="Geometry type"></div><div class="feature-property-value">${feature.getGeometry()?.getType()}</div></div></div>`)}</div><div class="pagination"><div class="nav-bt previous-fast-bt" onpointerup="${() => this.touchChangeSlide(-20)}" style="${this.currentIndex <= 0 ? 'opacity: 0.3' : ''}"><img alt="Fast previous button" src="icons/arrow_left.svg"></div><div class="nav-bt previous-bt" onpointerup="${() => this.touchChangeSlide(-1)}" style="${this.currentIndex <= 0 ? 'opacity: 0.3' : ''}"><img alt="Previous button" src="icons/arrow_left.svg"></div><div class="nav-bt next-bt" onpointerup="${() => this.touchChangeSlide(1)}" style="${this.currentIndex >= (this.state.selection.selectedFeatures.length - 1) ? 'opacity: 0.3' : ''}"><img alt="Fast next button" src="icons/arrow_right.svg"></div><div class="nav-bt next-fast-bt" onpointerup="${() => this.touchChangeSlide(20)}" style="${this.currentIndex >= (this.state.selection.selectedFeatures.length - 1) ? 'opacity: 0.3' : ''}"><img alt="Fast next button" src="icons/arrow_right.svg"></div><div class="nav-center-wrapper"><div class="nav-indicator">${`${this.currentIndex + 1}/${this.state.selection.selectedFeatures.length}`}</div><girafe-get-directions></girafe-get-directions></div></div></div>
31
+ <div class="full-width-height" style="${this.state.interface.swipeupPanelContent === 'features' ? '' : 'display: none;'}"><div class="container">${this.state.selection.selectedFeatures.filter((feature) => feature !== undefined).map((feature) => uHtml `<div class="single-feature"><div class="layer-name"><img class="layer-icon" alt="layer icon" src="icons/themes.svg"> <span i18n="${this.getFeatureLayerName(feature)}"></span></div>${Object.entries(feature.getProperties()).filter((keyValue) => typeof keyValue[1] === "boolean" || typeof keyValue[1] === "string" || typeof keyValue[1] === "number").map((keyValue) => uHtml `<div class="feature-property-key-value"><div class="feature-property-key" i18n="${keyValue[0]}"></div><div class="feature-property-value" i18n="${getLinkFriendlyString(keyValue[1])}"></div></div>`)}</div>`)}</div><div class="pagination"><div class="nav-bt previous-fast-bt" onpointerup="${() => this.touchChangeSlide(-20)}" style="${this.currentIndex <= 0 ? 'opacity: 0.3' : ''}"><img alt="Fast previous button" src="icons/arrow_left.svg"></div><div class="nav-bt previous-bt" onpointerup="${() => this.touchChangeSlide(-1)}" style="${this.currentIndex <= 0 ? 'opacity: 0.3' : ''}"><img alt="Previous button" src="icons/arrow_left.svg"></div><div class="nav-bt next-bt" onpointerup="${() => this.touchChangeSlide(1)}" style="${this.currentIndex >= (this.state.selection.selectedFeatures.length - 1) ? 'opacity: 0.3' : ''}"><img alt="Fast next button" src="icons/arrow_right.svg"></div><div class="nav-bt next-fast-bt" onpointerup="${() => this.touchChangeSlide(20)}" style="${this.currentIndex >= (this.state.selection.selectedFeatures.length - 1) ? 'opacity: 0.3' : ''}"><img alt="Fast next button" src="icons/arrow_right.svg"></div><div class="nav-center-wrapper"><div class="nav-indicator">${`${this.currentIndex + 1}/${this.state.selection.selectedFeatures.length}`}</div><girafe-get-directions></girafe-get-directions></div></div></div>
32
32
  ${this.htmlUnsafe(this.feedbackTemplateHtml ?? '')}`;
33
33
  };
34
34
  currentIndex = 0;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "name": "GeoGirafe PSC",
6
6
  "url": "https://doc.geogirafe.org"
7
7
  },
8
- "version": "1.3.0-dev.3008419756",
8
+ "version": "1.3.0-dev.3008485984",
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=20.19.0"
@@ -1 +1 @@
1
- {"version":"1.3.0-dev.3008419756", "build":"3008419756", "date":"30/10/2026"}
1
+ {"version":"1.3.0-dev.3008485984", "build":"3008485984", "date":"30/10/2026"}