@geogirafe/lib-geoportal 1.1.0-dev.2643917963 → 1.1.0-dev.2646782640

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.
@@ -117,6 +117,7 @@
117
117
  "Delete Theme": "Thema löschen",
118
118
  "delete_help": "Profil-Linie löschen",
119
119
  "Disable drawing": "Zeichnen deaktivieren",
120
+ "Disable locate user": "Benutzer lokalisieren deaktivieren",
120
121
  "Discard": "Verwerfen",
121
122
  "Disk": "Kreis",
122
123
  "Display menu": "Menü anzeigen",
@@ -154,6 +155,7 @@
154
155
  "edit-panel": "Editieren",
155
156
  "Embed this map": "Diese Karte einbetten",
156
157
  "Empty": "Leer",
158
+ "Empty message": "Leere Nachricht",
157
159
  "en": "Englisch",
158
160
  "Enable shadows": "Schatten aktivieren",
159
161
  "Enter a name for your bookmark": "Geben Sie einen Namen für das Lesezeichen ein",
@@ -264,6 +266,7 @@
264
266
  "info": "Information",
265
267
  "Information without public faith": "Informationen ohne öffentliche Glaubwürdigkeit",
266
268
  "Intensity": "Intensität",
269
+ "Invalid reason": "Ungültiger Grund",
267
270
  "Invert filter": "Invertiere Filter",
268
271
  "Invert selection": "Auswahl umkehren",
269
272
  "it": "Italienisch",
@@ -296,6 +299,7 @@
296
299
  "local": "Lokal",
297
300
  "local file": "Local File",
298
301
  "Local Files": "Lokale Dateien",
302
+ "Locate user": "Benutzer lokalisieren",
299
303
  "Logic": "Logik",
300
304
  "Login": "Anmelden",
301
305
  "logLevel": "Log Level",
@@ -501,6 +505,7 @@
501
505
  "Snap": "Rast",
502
506
  "Snap to layer features": "Fang auf dieser Ebene aktivieren",
503
507
  "Some layer could not be added to the layer-tree. This is either because you do not have the rights for it, or because this layer does not exist anymore.": "Einige Ebenen konnten nicht zum Ebenenbaum hinzugefügt werden. Dies liegt entweder daran, dass Sie keine Rechte dafür haben, oder weil diese Ebene nicht mehr existiert.",
508
+ "Something went wrong and your message could not be sent. Please try again or contact us directly at _mail_.": "Ein Fehler ist aufgetreten und Ihre Nachricht konnte nicht gesendet werden. Bitte versuchen Sie es erneut oder kontaktieren Sie uns direkt unter _mail_.",
504
509
  "Source": "Quelle",
505
510
  "Source Type": "Typ der Quelle",
506
511
  "Square": "Quadrat",
@@ -118,6 +118,7 @@
118
118
  "Delete Theme": "Delete Theme",
119
119
  "delete_help": "Delete profile line",
120
120
  "Disable drawing": "Disable drawing",
121
+ "Disable locate user": "Disable locate user",
121
122
  "Discard": "Discard",
122
123
  "Disk": "Circle",
123
124
  "Display menu": "Display menu",
@@ -156,6 +157,7 @@
156
157
  "edit-panel": "Editing",
157
158
  "Embed this map": "Embed this map",
158
159
  "Empty": "Blank",
160
+ "Empty message": "Empty message",
159
161
  "en": "English",
160
162
  "Enable shadows": "Enable shadows",
161
163
  "Enter a name for your bookmark": "Enter a name for your bookmark",
@@ -266,6 +268,7 @@
266
268
  "info": "Info",
267
269
  "Information without public faith": "Information without public faith",
268
270
  "Intensity": "Intensity",
271
+ "Invalid reason": "Invalid reason",
269
272
  "Invert filter": "Invert filter",
270
273
  "Invert selection": "Invert selection",
271
274
  "it": "Italian",
@@ -298,6 +301,7 @@
298
301
  "local": "Local",
299
302
  "local file": "Local File",
300
303
  "Local Files": "Local Files",
304
+ "Locate user": "Locate user",
301
305
  "Logic": "Logic",
302
306
  "Login": "Login",
303
307
  "logLevel": "Log level",
@@ -503,6 +507,7 @@
503
507
  "Snap": "Snap",
504
508
  "Snap to layer features": "Enable snapping on this layer",
505
509
  "Some layer could not be added to the layer-tree. This is either because you do not have the rights for it, or because this layer does not exist anymore.": "Some layer could not be added to the layer-tree. This is either because you do not have the rights for it, or because this layer does not exist anymore.",
510
+ "Something went wrong and your message could not be sent. Please try again or contact us directly at _mail_.": "Something went wrong and your message could not be sent. Please try again or contact us directly at _mail_.",
506
511
  "Sort default": "Sort default",
507
512
  "Source": "Source",
508
513
  "Source Type": "Source Type",
@@ -117,6 +117,7 @@
117
117
  "Delete Theme": "Supprimer le thème",
118
118
  "delete_help": "Supprimer la ligne de profil",
119
119
  "Disable drawing": "Désactiver le dessin",
120
+ "Disable locate user": "Désactiver la localisation de l'utilisateur",
120
121
  "Discard": "Annuler cette entité",
121
122
  "Disk": "Cercle",
122
123
  "Display menu": "Afficher le menu",
@@ -154,6 +155,7 @@
154
155
  "edit-panel": "Édition",
155
156
  "Embed this map": "Intégrer cette carte",
156
157
  "Empty": "Vide",
158
+ "Empty message": "Message vide",
157
159
  "en": "Anglais",
158
160
  "Enable shadows": "Activer les ombres",
159
161
  "Enter a name for your bookmark": "Entrez un nom pour votre favori",
@@ -264,6 +266,7 @@
264
266
  "info": "Information",
265
267
  "Information without public faith": "Informations dépourvues de foi publique",
266
268
  "Intensity": "Intensité",
269
+ "Invalid reason": "Motif non valable",
267
270
  "Invert filter": "Inverser le filtre",
268
271
  "Invert selection": "Inverser la sélection",
269
272
  "it": "Italien",
@@ -296,6 +299,7 @@
296
299
  "local": "Locale",
297
300
  "local file": "Fichier local",
298
301
  "Local Files": "Fichiers locaux",
302
+ "Locate user": "Localiser l'utilisateur",
299
303
  "Logic": "Logique",
300
304
  "Login": "Connexion",
301
305
  "logLevel": "Niveau de log",
@@ -501,6 +505,7 @@
501
505
  "Snap": "Accrochage",
502
506
  "Snap to layer features": "Activer l'accrochage sur cette couche",
503
507
  "Some layer could not be added to the layer-tree. This is either because you do not have the rights for it, or because this layer does not exist anymore.": "Certaines couches n'ont pas pu être ajoutées à l'arbre des couches. Cela est soit dû à un manque de droits, soit parce que cette couche n'existe plus.",
508
+ "Something went wrong and your message could not be sent. Please try again or contact us directly at _mail_.": "Une erreur s'est produite et votre message n'a pas pu être envoyé. Veuillez réessayer ou nous contacter directement à l'adresse _mail_.",
504
509
  "Source": "Source",
505
510
  "Source Type": "Type de la source",
506
511
  "Square": "Carré",
@@ -117,6 +117,7 @@
117
117
  "Delete Theme": "Elimina tema",
118
118
  "delete_help": "Elimina la linea di profilo",
119
119
  "Disable drawing": "Disabilita disegno",
120
+ "Disable locate user": "Disattiva la localizzazione dell'utente",
120
121
  "Discard": "Scartare",
121
122
  "Disk": "Cerchio",
122
123
  "Display menu": "Mostra menu",
@@ -154,6 +155,7 @@
154
155
  "edit-panel": "Modifica",
155
156
  "Embed this map": "Incorporare questa mappa",
156
157
  "Empty": "Vuoto",
158
+ "Empty message": "Messaggio vuoto",
157
159
  "en": "Inglese",
158
160
  "Enable shadows": "Abilita ombre",
159
161
  "Enter a name for your bookmark": "Inserisci un nome per il segnalibro",
@@ -264,6 +266,7 @@
264
266
  "info": "Informazione",
265
267
  "Information without public faith": "Informazioni prive di fede pubblica",
266
268
  "Intensity": "Intensità",
269
+ "Invalid reason": "Motivo non valido",
267
270
  "Invert filter": "Inverti filtro",
268
271
  "Invert selection": "Inverti selezione",
269
272
  "it": "Italiano",
@@ -296,6 +299,7 @@
296
299
  "local": "Locale",
297
300
  "local file": "File locale",
298
301
  "Local Files": "File locali",
302
+ "Locate user": "Localizza utente",
299
303
  "Logic": "Logica",
300
304
  "Login": "Accedi",
301
305
  "logLevel": "Livello di log",
@@ -501,6 +505,7 @@
501
505
  "Snap": "Snap",
502
506
  "Snap to layer features": "Abilita l'aggancio su questo layer",
503
507
  "Some layer could not be added to the layer-tree. This is either because you do not have the rights for it, or because this layer does not exist anymore.": "Alcuni livelli non possono essere aggiunti all'albero dei livelli. Questo accade perché non si dispone dei diritti necessari o perché questo livello non esiste più.",
508
+ "Something went wrong and your message could not be sent. Please try again or contact us directly at _mail_.": "Si è verificato un errore e non è stato possibile inviare il tuo messaggio. Ti preghiamo di riprovare o di contattarci direttamente all'indirizzo _mail_.",
504
509
  "Source": "Fonte",
505
510
  "Source Type": "Tipo di layer",
506
511
  "Square": "Quadrato",
@@ -60,7 +60,10 @@ ${this.htmlUnsafe(this.feedbackTemplateHtml ?? '')}`;
60
60
  window.gAlert('Thanks for your message. If necessary, somebody will enter in contact with you as soon as possible.', 'Message sent');
61
61
  }
62
62
  else {
63
- window.gAlert(`Something went wrong and your message could not be sent. Please try again or contact us directly at ${this.context.configManager.Config.contact.email}`, 'Cannot send message');
63
+ const errorMsg = this.context.i18nManager
64
+ .getTranslation(`Something went wrong and your message could not be sent. Please try again or contact us directly at _mail_`)
65
+ .replace('_mail_', this.context.configManager.Config.contact.email);
66
+ window.gAlert(errorMsg, 'Cannot send message');
64
67
  }
65
68
  }
66
69
  render() {
@@ -56,7 +56,7 @@ export default class MapComponent extends GirafeHTMLElement {
56
56
  #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}.center{text-align:center;margin:10px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.loading span{color:var(--text-color);margin-top:1rem;font-weight:600;display:block}.loading span.quote{font-style:italic;font-weight:300}#cs-map{background-color:var(--bkg-color);border-left:3px solid #444;height:100%;display:none;position:absolute;overflow:hidden}.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:9.3rem!important}.ol-location{top:7rem!important}.img-location,.img-disable-location{width:55%;height:auto}.ol-zoom-in,.ol-zoom-out,.btn-location,.btn-disable-location,.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{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)}}
57
57
  </style>
58
58
  <style>${this.customStyle}</style>
59
- <div id="container"><div id="ol-map" class="${this.onMobile ? 'mobile-map' : ''}"></div><div class="${this.onMobile ? 'hidden' : 'ol-location ol-unselectable ol-control'}"><button onclick="${() => this.locateUser()}" class="btn-location"><img class="img-location" alt="location-icon" src="icons/adjust.svg"></button> <button id="disable-location" onclick="${() => this.disableLocateUser()}" class="btn-disable-location hidden"><img class="img-disable-location" alt="disable-location-icon" src="icons/adjust-disable.svg"></button></div><div id="cs-map"><div class="${this.loading ? 'loading center' : 'loading hidden'}"><img alt="loading-icon" src="icons/loading.svg" class="gg-spin"> <span i18n="Loading cesium...">Loading cesium...</span> <span class="quote" i18n="cesium-loading-quote">Please be patient, like a giraffe reaching for the tastiest leaves.</span></div></div><input id="swiper" type="range" min="0" max="1000" step="1"> <button tip="Hide Swiper" id="close-swiper" class="close-swiper">×</button></div>
59
+ <div id="container"><div id="ol-map" class="${this.onMobile ? 'mobile-map' : ''}"></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><div id="cs-map"><div class="${this.loading ? 'loading center' : 'loading hidden'}"><img alt="loading-icon" src="icons/loading.svg" class="gg-spin"> <span i18n="Loading cesium...">Loading cesium...</span> <span class="quote" i18n="cesium-loading-quote">Please be patient, like a giraffe reaching for the tastiest leaves.</span></div></div><input id="swiper" type="range" min="0" max="1000" step="1"> <button tip="Hide Swiper" id="close-swiper" class="close-swiper">×</button></div>
60
60
  ${this.htmlUnsafe(this.feedbackTemplateHtml ?? '')}`;
61
61
  };
62
62
  olMap;
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.1.0-dev.2643917963",
8
+ "version": "1.1.0-dev.2646782640",
9
9
  "type": "module",
10
10
  "engines": {
11
11
  "node": ">=20.19.0"
@@ -1 +1 @@
1
- {"version":"1.1.0-dev.2643917963", "build":"2643917963", "date":"01/07/2026"}
1
+ {"version":"1.1.0-dev.2646782640", "build":"2646782640", "date":"02/07/2026"}