@geogirafe/lib-geoportal 1.3.0-dev.3007646190 → 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.
@@ -250,6 +250,7 @@
250
250
  "geoadminch_zipcode": "PLZ",
251
251
  "GeoGirafe is a flexible application to build online geoportals.": "GeoGirafe ist eine flexible Applikation um Online-Geoportale zu erstellen.",
252
252
  "GeoJSON": "GeoJSON",
253
+ "Geolocation": "Geolokalisierung",
253
254
  "Geolocation browser error": "Ihr Browser unterstützt keine Geolokalisierung",
254
255
  "Geolocation error": "Geolocation-Fehler",
255
256
  "Geolocation permission denied": "Geolokalisierungserlaubnis vom Benutzer verweigert",
@@ -325,6 +326,7 @@
325
326
  "Longpress disable geolocation": "Drücke den Button und halte ihn gedrückt, um die Geolokalisierung zu deaktivieren.",
326
327
  "Manual entry": "Manuelle Eingabe",
327
328
  "map": "Karte",
329
+ "Map orientation": "Kartenorientierung",
328
330
  "map.geo.admin.ch": "map.geo.admin.ch",
329
331
  "Material": "Material",
330
332
  "measure-information-full": "Vollständig",
@@ -252,6 +252,7 @@
252
252
  "geoadminch_zipcode": "ZIP codes",
253
253
  "GeoGirafe is a flexible application to build online geoportals.": "GeoGirafe is a flexible application to build online geoportals.",
254
254
  "GeoJSON": "GeoJSON",
255
+ "Geolocation": "Geolocation",
255
256
  "Geolocation browser error": "Your browser does not support geolocation",
256
257
  "Geolocation error": "Geolocation error",
257
258
  "Geolocation permission denied": "Geolocation permission denied by user",
@@ -327,6 +328,7 @@
327
328
  "Longpress disable geolocation": "Press and hold the button to disable geolocation.",
328
329
  "Manual entry": "Manual entry",
329
330
  "map": "Map",
331
+ "Map orientation": "Map orientation",
330
332
  "map.geo.admin.ch": "map.geo.admin.ch",
331
333
  "Material": "Material",
332
334
  "measure-information-full": "Full",
@@ -250,6 +250,7 @@
250
250
  "geoadminch_zipcode": "Codes postaux",
251
251
  "GeoGirafe is a flexible application to build online geoportals.": "GeoGirafe est une application flexible permettant de créer des géoportails en ligne.",
252
252
  "GeoJSON": "GeoJSON",
253
+ "Geolocation": "Géolocalisation",
253
254
  "Geolocation browser error": "Votre navigateur ne supporte pas la géolocalisation",
254
255
  "Geolocation error": "Erreur de géolocalisation",
255
256
  "Geolocation permission denied": "Autorisation de géolocalisation refusée",
@@ -325,6 +326,7 @@
325
326
  "Longpress disable geolocation": "Maintenez le bouton pour désactiver la géolocalisation.",
326
327
  "Manual entry": "Entrée manuelle",
327
328
  "map": "Carte",
329
+ "Map orientation": "Orientation de la carte",
328
330
  "map.geo.admin.ch": "map.geo.admin.ch",
329
331
  "Material": "Matériel",
330
332
  "measure-information-full": "Complète",
@@ -250,6 +250,7 @@
250
250
  "geoadminch_zipcode": "Codici postali",
251
251
  "GeoGirafe is a flexible application to build online geoportals.": "GeoGirafe è un'applicazione flessibile per creare geoportali online.",
252
252
  "GeoJSON": "GeoJSON",
253
+ "Geolocation": "Geolocalizzazione",
253
254
  "Geolocation browser error": "Il tuo browser non supporta la geolocalizzazione",
254
255
  "Geolocation error": "Errore di geolocalizzazione",
255
256
  "Geolocation permission denied": "Permesso negato dall'utente",
@@ -325,6 +326,7 @@
325
326
  "Longpress disable geolocation": "Tenga premuto il pulsante per disattivare la geolocalizzazione.",
326
327
  "Manual entry": "Inserimento manuale",
327
328
  "map": "Mappa",
329
+ "Map orientation": "Orientamento della mappa",
328
330
  "map.geo.admin.ch": "map.geo.admin.ch",
329
331
  "Material": "Materiale",
330
332
  "measure-information-full": "Completa",
@@ -11,7 +11,7 @@ export default class AlignNorthButtonMobile extends GirafeHTMLElement {
11
11
  #north-button,#north-button:focus{background-color:#fff;outline:none}.black-to-red{filter:invert(27%)sepia(50%)saturate(3000%)brightness(95%)contrast()}
12
12
  </style>
13
13
  <style>${this.customStyle}</style>
14
- <link rel="stylesheet" href="styles/common.mobile.css"><button id="north-button" class="girafe-button-big" tip="Theme selection" onpointerup="${(e) => this.alignNorth(e)}"><img id="compass-icon" alt="menu-icon" src="icons/compass.svg"></button>
14
+ <link rel="stylesheet" href="styles/common.mobile.css"><button id="north-button" class="girafe-button-big" tip="Map orientation" onpointerup="${(e) => this.alignNorth(e)}"><img id="compass-icon" alt="menu-icon" src="icons/compass.svg"></button>
15
15
  ${this.htmlUnsafe(this.feedbackTemplateHtml ?? '')}`;
16
16
  };
17
17
  constructor() {
@@ -21,7 +21,7 @@ export default class GeolocationMobile extends GirafeHTMLElement {
21
21
  #geolocation-button{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#geolocation-button:focus{outline:none}.black-to-red{filter:invert(27%)sepia(50%)saturate(3000%)brightness(95%)contrast()}.alpha{opacity:.4}.blink{-webkit-animation:2s infinite both blink;animation:2s infinite both blink}@-webkit-keyframes blink{0%,50%,to{opacity:1}25%,75%{opacity:.1}}@keyframes blink{0%,50%,to{opacity:1}25%,75%{opacity:.1}}.black-to-blue{filter:brightness(0)saturate()invert(54%)sepia(97%)saturate(2988%)hue-rotate(187deg)brightness(123%)contrast(101%)}#clock{z-index:2;opacity:.5;pointer-events:none;background:0 0;border-radius:100%;width:200%;height:200%;margin:auto;position:absolute;inset:0 0 0 -50%}
22
22
  </style>
23
23
  <style>${this.customStyle}</style>
24
- <link rel="stylesheet" href="styles/common.mobile.css"><button id="geolocation-button" class="girafe-button-big" tip="Theme selection" onpointerup="${(e) => this.pointerUp(e)}" onpointerdown="${(e) => this.pointerDown(e)}" onpointerleave="${(e) => this.pointerUp(e)}" oncontextmenu="${(e) => this.preventContextMenu(e)}"><div id="clock"></div><img alt="menu-icon" class="${this.getCssClassesForStatus()}" src="${this.getIconForStatus()}"></button>
24
+ <link rel="stylesheet" href="styles/common.mobile.css"><button id="geolocation-button" class="girafe-button-big" tip="Geolocation" onpointerup="${(e) => this.pointerUp(e)}" onpointerdown="${(e) => this.pointerDown(e)}" onpointerleave="${(e) => this.pointerUp(e)}" oncontextmenu="${(e) => this.preventContextMenu(e)}"><div id="clock"></div><img alt="menu-icon" class="${this.getCssClassesForStatus()}" src="${this.getIconForStatus()}"></button>
25
25
  ${this.htmlUnsafe(this.feedbackTemplateHtml ?? '')}`;
26
26
  };
27
27
  geolocation = null;
@@ -48,7 +48,7 @@ export default class Map2dComponent extends GirafeHTMLElement {
48
48
  </style><style>
49
49
  .hidden{display:none!important}.gg-rotate90{transform:rotate(90deg)}.gg-rotate180{transform:rotate(180deg)}.gg-rotate270{transform:rotate(270deg)}img{filter:var(--svg-filter)}img.legend-image{filter:var(--svg-map-filter);background:var(--svg-legend-bkg)}div{scrollbar-width:thin}a,a:visited{color:var(--link-color)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin-wait{0%{transform:rotate(0)}7%{transform:rotate(360deg)}to{transform:rotate(360deg)}}.gg-spin{animation-name:spin;animation-duration:2s;animation-timing-function:linear;animation-iteration-count:infinite}.gg-spin-wait{animation-name:spin-wait;animation-duration:10s;animation-timing-function:linear;animation-iteration-count:infinite}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background:#999}button,input,select,textarea{font:inherit}.gg-button,.gg-select,.gg-input,.gg-textarea{background-color:var(--bkg-color);color:var(--text-color);border:var(--app-standard-border);box-sizing:border-box;cursor:pointer;border-radius:3px;outline:0;margin:0;padding:0 0 0 .5rem;display:inline-block}.gg-label{background-color:var(--bkg-color);color:var(--text-color);border:none;align-items:center;margin:0;padding:0;display:flex}.gg-button,.gg-select,.gg-input,.gg-label{min-height:calc(var(--app-standard-height) / 1.5)}.gg-textarea{max-height:initial;resize:vertical;height:6rem;padding:.5rem;line-height:1.3rem}.gg-input{cursor:text}.gg-checkbox{accent-color:var(--text-color);cursor:pointer;width:1.2rem}.gg-range{accent-color:var(--text-color)}.gg-button{padding:0 .5rem}.gg-button.active{border:solid 1px var(--text-color-grad1);background-color:var(--bkg-color-grad2)}.gg-button:disabled{background-color:var(--bkg-color-grad1);color:var(--text-color-grad2);cursor:not-allowed;border:none}.gg-button:disabled img{filter:opacity(.6)}.gg-input:disabled,.gg-select:disabled,.gg-textarea:disabled{background-color:var(--bkg-color-grad1);color:var(--text-color-grad2);cursor:not-allowed}.gg-button>img{vertical-align:middle}.gg-icon-button{color:var(--text-color);cursor:pointer;background-color:#0000;border:none;flex-direction:column;justify-content:center;align-items:center;padding:0;display:flex}.gg-icon{justify-content:center;align-items:center;display:flex}.gg-big,.gg-big-withtext{min-width:var(--app-standard-height);min-height:var(--app-standard-height);max-height:var(--app-standard-height)}.gg-big img,.gg-big-withtext img{width:calc(var(--app-standard-height) - 1.5rem);margin:0}.gg-big-withtext span{font-variant:small-caps;padding:0 1rem;font-size:.9rem}.gg-medium,.gg-medium-withtext{min-width:calc(var(--app-standard-height) / 1.2);min-height:calc(var(--app-standard-height) / 1.2);max-height:calc(var(--app-standard-height) / 1.2);flex-direction:row}.gg-medium img{width:calc(var(--app-standard-height) / 2.4);margin:0}.gg-medium-withtext img{width:calc(var(--app-standard-height) / 2.4);margin-left:.5rem}.gg-medium-withtext span{padding:0 1rem 0 .5rem;font-size:.9rem}.gg-small,.gg-small-withtext{min-width:calc(var(--app-standard-height) / 2);min-height:calc(var(--app-standard-height) / 2);max-height:calc(var(--app-standard-height) / 2);flex-direction:row}.gg-small img{width:calc(var(--app-standard-height) / 3);margin:0}.gg-small-withtext img{width:calc(var(--app-standard-height) / 3);margin-left:.5rem}.gg-small-withtext span{padding:0 .5rem 0 .3rem;font-size:.9rem}.gg-button:hover:not(:disabled),.gg-select:hover:not(:disabled),.gg-input:hover:not(:disabled),.gg-textarea:hover:not(:disabled),.gg-icon-button:hover:not(:disabled){background-color:var(--bkg-color-grad1)}.gg-opacity{opacity:.5}.gg-opacity:hover{opacity:1;background-color:#0000}.gg-tabs{cursor:pointer;grid-auto-flow:column;padding-bottom:1rem;font-size:1rem;display:grid}.gg-tab{border:none;border-bottom:var(--app-standard-border);cursor:pointer;color:var(--text-color);background:0 0;padding:.5rem}.gg-tab.active{border-bottom:solid 1px var(--text-color)}.girafe-button-big,.girafe-button-large,.girafe-button-small,.girafe-button-tiny{color:var(--text-color);background-color:#0000;border:none;flex-direction:column;display:flex}.girafe-button-big:hover,.girafe-button-large:hover,.girafe-button-small:hover,.girafe-button-tiny:hover{background-color:var(--bkg-color-grad1);cursor:pointer}.girafe-button-big.dark,.girafe-button-large.dark,.girafe-button-small.dark,.girafe-button-tiny.dark{background-color:var(--bkg-color);filter:invert()}.girafe-button-big{width:var(--app-standard-height);height:var(--app-standard-height);align-items:center;padding:1rem}.girafe-button-big img{overflow:hidden}.girafe-button-large{flex-direction:row}.girafe-button-large img{height:2rem;margin:.3rem}.girafe-button-large span{height:2rem;margin:.3rem;line-height:2rem}.girafe-button-small{min-width:calc(var(--app-standard-height) / 2);height:calc(var(--app-standard-height) / 2);align-items:center;padding:.5rem}.girafe-button-small img{overflow:hidden}.girafe-button-small span{text-align:left;text-overflow:ellipsis;width:100%;overflow:hidden}.girafe-button-tiny{align-items:center;width:1rem;height:1rem;padding:0}.girafe-button-tiny img{overflow:hidden}.girafe-onboarding-theme{background-color:var(--bkg-color)!important;color:var(--text-color)!important}.girafe-onboarding-theme button{background-color:var(--bkg-color)!important;color:var(--text-color)!important;text-shadow:none!important}.girafe-onboarding-theme button.driver-popover-close-btn{z-index:10000}.tippy-box{background-color:var(--bkg-color)!important;border:var(--app-standard-border)!important}.tippy-content{color:var(--text-color)!important}.tippy-arrow{color:var(--bkg-color)!important}.tippy-box[data-theme~=error]{background-color:var(--error-color);white-space:pre-line}div.tippy-box[data-theme=image-popup]{border:var(--app-standard-border)!important;& div.tippy-content{background-color:var(--bkg-color)!important;& img{max-width:20rem;max-height:20rem}}& div.tippy-arrow{color:var(--bkg-color)!important}}
50
50
  </style><style>
51
- #container,#ol-map{background-color:var(--bkg-color);width:100%;height:100%;position:relative}#ol-map.darkmap canvas{filter:invert()hue-rotate(180deg)}.hidden{display:none}.ol-control{background-color:#0000;border:none;box-shadow:0 1px 4px #0000004d;right:2rem!important;left:unset!important}.ol-zoom{top:2rem!important}.mobile-map .ol-zoom{display:none!important}.ol-rotate{top:11.6rem!important}.ol-fullscreen{top:7rem!important}.ol-location{top:9.3rem!important}.img-location,.img-disable-location,.img-fullscreen{width:55%;height:auto}.ol-zoom-in,.ol-zoom-out,.btn-location,.btn-disable-location,.btn-fullscreen,.btn-exit-fullscreen,.ol-rotate-reset{cursor:pointer;background-color:var(--bkg-color)!important;width:2rem!important;height:2rem!important;color:var(--text-color)!important;font-size:1.2rem!important}.ol-scale-line{bottom:.5rem!important;right:1rem!important;left:unset!important}#swiper{width:100%;height:0;margin:0;display:none;position:absolute;top:50%}input[type=range]{-webkit-appearance:none;width:100%}input[type=range]::-webkit-slider-runnable-track{height:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--bkg-color);cursor:ew-resize;border:2px solid #444;width:6px;height:0;margin-top:-1000px;padding-top:1000px;padding-bottom:1000px}input[type=range]::-moz-range-thumb{background:var(--bkg-color);cursor:ew-resize;border:2px solid #444;width:3px;height:0;padding-top:1000px;padding-bottom:1000px}.close-swiper{--button-size:2rem;transform:translateX(calc(-1 * var(--button-size) / 2));width:var(--button-size);height:var(--button-size);background-color:var(--bkg-color);color:var(--text-color);cursor:pointer;border-width:1px;border-radius:4px;display:none;position:absolute;top:0}.close-swiper:hover,.close-swiper:focus{outline:1px solid var(--text-color);color:var(--text-color-grad1)}.ol-viewport .tooltip{color:#fff;opacity:.7;white-space:nowrap;background:#00000080;border-radius:0;padding:.32rem .62rem;position:relative}@media screen and (hover:none){.ol-zoom,.ol-rotate,.ol-location,.ol-fullscreen{display:none!important}}.contextmenu{background-color:var(--bkg-color);color:var(--text-color);border:1px solid #ccc;box-shadow:1px 3px 4px #0006;& .hidden{display:none}& .menu-entry{cursor:pointer;padding:10px}& .menu-entry:hover{background-color:var(--bkg-color-grad1)}& .menu-entry[aria-disabled=true]{pointer-events:none;color:var(--text-color-grad1)}}
51
+ #container,#ol-map{background-color:var(--bkg-color);width:100%;height:100%;position:relative}#ol-map.darkmap canvas{filter:invert()hue-rotate(180deg)}.hidden{display:none}.ol-control{background-color:#0000;border:none;box-shadow:0 1px 4px #0000004d;right:2rem!important;left:unset!important}.ol-zoom{top:2rem!important}.mobile-map .ol-zoom{display:none!important}.ol-rotate{top:11.6rem!important}.mobile-map .ol-rotate{display:none!important}.ol-fullscreen{top:7rem!important}.ol-location{top:9.3rem!important}.img-location,.img-disable-location,.img-fullscreen{width:55%;height:auto}.ol-zoom-in,.ol-zoom-out,.btn-location,.btn-disable-location,.btn-fullscreen,.btn-exit-fullscreen,.ol-rotate-reset{cursor:pointer;background-color:var(--bkg-color)!important;width:2rem!important;height:2rem!important;color:var(--text-color)!important;font-size:1.2rem!important}.ol-scale-line{bottom:.5rem!important;right:1rem!important;left:unset!important}#swiper{width:100%;height:0;margin:0;display:none;position:absolute;top:50%}input[type=range]{-webkit-appearance:none;width:100%}input[type=range]::-webkit-slider-runnable-track{height:0}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--bkg-color);cursor:ew-resize;border:2px solid #444;width:6px;height:0;margin-top:-1000px;padding-top:1000px;padding-bottom:1000px}input[type=range]::-moz-range-thumb{background:var(--bkg-color);cursor:ew-resize;border:2px solid #444;width:3px;height:0;padding-top:1000px;padding-bottom:1000px}.close-swiper{--button-size:2rem;transform:translateX(calc(-1 * var(--button-size) / 2));width:var(--button-size);height:var(--button-size);background-color:var(--bkg-color);color:var(--text-color);cursor:pointer;border-width:1px;border-radius:4px;display:none;position:absolute;top:0}.close-swiper:hover,.close-swiper:focus{outline:1px solid var(--text-color);color:var(--text-color-grad1)}.ol-viewport .tooltip{color:#fff;opacity:.7;white-space:nowrap;background:#00000080;border-radius:0;padding:.32rem .62rem;position:relative}@media screen and (hover:none){.ol-zoom,.ol-rotate,.ol-location,.ol-fullscreen{display:none!important}}.contextmenu{background-color:var(--bkg-color);color:var(--text-color);border:1px solid #ccc;box-shadow:1px 3px 4px #0006;& .hidden{display:none}& .menu-entry{cursor:pointer;padding:10px}& .menu-entry:hover{background-color:var(--bkg-color-grad1)}& .menu-entry[aria-disabled=true]{pointer-events:none;color:var(--text-color-grad1)}}
52
52
  </style>
53
53
  <style>${this.customStyle}</style>
54
54
  <div id="container"><div id="ol-map" class="${this.onMobile ? 'mobile-map' : ''}"></div><div class="${this.onMobile ? 'hidden' : 'ol-fullscreen ol-unselectable ol-control'}"><button id="fullscreen-enter-button" onclick="${() => this.toggleFullscreen()}" tip="fullscreen-on" class="btn-fullscreen"><img class="img-fullscreen" alt="fullscreen-icon" src="icons/fullscreen.svg"></button> <button id="fullscreen-exit-button" onclick="${() => this.toggleFullscreen()}" tip="fullscreen-off" class="btn-exit-fullscreen hidden"><img class="img-fullscreen" alt="fullscreen-exit-icon" src="icons/fullscreen-exit.svg"></button></div><div class="${this.onMobile ? 'hidden' : 'ol-location ol-unselectable ol-control'}"><button onclick="${() => this.locateUser()}" class="btn-location" tip="Locate user"><img class="img-location" alt="location-icon" src="icons/adjust.svg"></button> <button id="disable-location" onclick="${() => this.disableLocateUser()}" tip="Disable locate user" class="btn-disable-location hidden"><img class="img-disable-location" alt="disable-location-icon" src="icons/adjust-disable.svg"></button></div><input id="swiper" type="range" aria-label="Map swiper" min="0" max="1000" step="1"> <button tip="Hide Swiper" id="close-swiper" class="close-swiper">×</button></div>
@@ -33,6 +33,9 @@
33
33
  .ol-rotate {
34
34
  top: 11.6rem !important;
35
35
  }
36
+ .mobile-map .ol-rotate {
37
+ display: none !important;
38
+ }
36
39
 
37
40
  /* Inserted between the zoom controls (top: 2rem) and the geolocation button. */
38
41
  .ol-fullscreen {
@@ -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.3007646190",
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.3007646190", "build":"3007646190", "date":"30/10/2026"}
1
+ {"version":"1.3.0-dev.3008485984", "build":"3008485984", "date":"30/10/2026"}