@opengeoweb/data-explorer 14.2.2 → 14.4.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.
package/index.esm.js CHANGED
@@ -256,44 +256,44 @@ var en = {
256
256
  ZWE: "Zimbabwe"
257
257
  };
258
258
  var fi = {
259
- "dataexplorer-search-datasets": "ei käännetty",
260
- "dataexplorer-filters": "ei käännetty",
261
- "dataexplorer-documentation": "ei käännetty",
262
- "dataexplorer-concept-All": "ei käännetty",
263
- "dataexplorer-add-dataset": "ei käännetty",
264
- "dataexplorer-remove-dataset": "ei käännetty",
265
- "dataexplorer-no-data": "ei käännetty",
266
- "dataexplorer-error-title": "ei käännetty",
267
- "dataexplorer-area-search-title": "ei käännetty",
268
- "info-dialog-geographical-coverage": "ei käännetty",
269
- "info-dialog-time-information": "ei käännetty",
270
- "info-dialog-theme-and-keywords": "ei käännetty",
271
- "info-dialog-useful-links": "ei käännetty",
272
- "info-dialog-contacts": "ei käännetty",
273
- "info-dialog-name": "ei käännetty",
274
- "base-info-last-updated": "ei käännetty",
275
- "base-info-description": "ei käännetty",
276
- "base-info-language": "ei käännetty",
277
- "base-info-data-policy": "ei käännetty",
278
- "base-info-format": "ei käännetty",
279
- "base-info-share": "ei käännetty",
280
- "geographical-coverage-westernmost": "ei käännetty",
281
- "geographical-coverage-easternmost": "ei käännetty",
282
- "geographical-coverage-northernmost": "ei käännetty",
283
- "geographical-coverage-southernmost": "ei käännetty",
284
- "time-information-observation-period": "ei käännetty",
285
- "time-information-data-resolution": "ei käännetty",
286
- "themes-and-keywords-themes": "ei käännetty",
287
- "themes-and-keywords-keywords": "ei käännetty",
288
- "contacts-name": "ei käännetty",
289
- "contacts-address": "ei käännetty",
290
- "contacts-email": "ei käännetty",
291
- "contacts-web": "ei käännetty",
292
- "contacts-role": "ei käännetty",
293
- "contacts-organisation": "ei käännetty",
294
- "contacts-hours-of-service": "ei käännetty",
295
- "contacts-contact-instructions": "ei käännetty",
296
- "contacts-telephone": "ei käännetty",
259
+ "dataexplorer-search-datasets": "Hae aineistoja",
260
+ "dataexplorer-filters": "Suodattimet",
261
+ "dataexplorer-documentation": "Dokumentaatio",
262
+ "dataexplorer-concept-All": "Kaikki",
263
+ "dataexplorer-add-dataset": "Lisää",
264
+ "dataexplorer-remove-dataset": "Poista",
265
+ "dataexplorer-no-data": "Ei aineistoja löytynyt",
266
+ "dataexplorer-error-title": "Aineistojen lataus epäonnistui",
267
+ "dataexplorer-area-search-title": "Alue",
268
+ "info-dialog-geographical-coverage": "Maantieteellinen kattavuus",
269
+ "info-dialog-time-information": "Aikatiedot",
270
+ "info-dialog-theme-and-keywords": "Teema ja avainsanat",
271
+ "info-dialog-useful-links": "Hyödylliset linkit",
272
+ "info-dialog-contacts": "Yhteystiedot",
273
+ "info-dialog-name": "Nimi",
274
+ "base-info-last-updated": "Viimeksi päivitetty",
275
+ "base-info-description": "Kuvaus",
276
+ "base-info-language": "Kieli",
277
+ "base-info-data-policy": "Datan käyttöehdot",
278
+ "base-info-format": "Muoto",
279
+ "base-info-share": "Jaa",
280
+ "geographical-coverage-westernmost": "Läntisin",
281
+ "geographical-coverage-easternmost": "Itäisin",
282
+ "geographical-coverage-northernmost": "Pohjoisin",
283
+ "geographical-coverage-southernmost": "Eteläisin",
284
+ "time-information-observation-period": "Havaintojakso",
285
+ "time-information-data-resolution": "Aineiston resoluutio",
286
+ "themes-and-keywords-themes": "Teemat",
287
+ "themes-and-keywords-keywords": "Avainsanat",
288
+ "contacts-name": "Nimi",
289
+ "contacts-address": "Osoite",
290
+ "contacts-email": "Sähköposti",
291
+ "contacts-web": "Verkkosivu",
292
+ "contacts-role": "Rooli",
293
+ "contacts-organisation": "Organisaatio",
294
+ "contacts-hours-of-service": "Palveluajat",
295
+ "contacts-contact-instructions": "Yhteysohjeet",
296
+ "contacts-telephone": "Puhelin",
297
297
  AFG: "Afganistan",
298
298
  AIA: "Anguilla",
299
299
  ALB: "Albania",
@@ -488,44 +488,44 @@ var fi = {
488
488
  ZWE: "Zimbabwe"
489
489
  };
490
490
  var no = {
491
- "dataexplorer-search-datasets": "ikke oversatt",
492
- "dataexplorer-filters": "ikke oversatt",
493
- "dataexplorer-documentation": "ikke oversatt",
494
- "dataexplorer-concept-All": "ikke oversatt",
495
- "dataexplorer-add-dataset": "ikke oversatt",
496
- "dataexplorer-remove-dataset": "ikke oversatt",
497
- "dataexplorer-no-data": "ikke oversatt",
498
- "dataexplorer-error-title": "ikke oversatt",
499
- "dataexplorer-area-search-title": "ikke oversatt",
500
- "info-dialog-geographical-coverage": "ikke oversatt",
501
- "info-dialog-time-information": "ikke oversatt",
502
- "info-dialog-theme-and-keywords": "ikke oversatt",
503
- "info-dialog-useful-links": "ikke oversatt",
504
- "info-dialog-contacts": "ikke oversatt",
505
- "info-dialog-name": "ikke oversatt",
506
- "base-info-last-updated": "ikke oversatt",
507
- "base-info-description": "ikke oversatt",
508
- "base-info-language": "ikke oversatt",
509
- "base-info-data-policy": "ikke oversatt",
510
- "base-info-format": "ikke oversatt",
511
- "base-info-share": "ikke oversatt",
512
- "geographical-coverage-westernmost": "ikke oversatt",
513
- "geographical-coverage-easternmost": "ikke oversatt",
514
- "geographical-coverage-northernmost": "ikke oversatt",
515
- "geographical-coverage-southernmost": "ikke oversatt",
516
- "time-information-observation-period": "ikke oversatt",
517
- "time-information-data-resolution": "ikke oversatt",
518
- "themes-and-keywords-themes": "ikke oversatt",
519
- "themes-and-keywords-keywords": "ikke oversatt",
520
- "contacts-name": "ikke oversatt",
521
- "contacts-address": "ikke oversatt",
522
- "contacts-email": "ikke oversatt",
523
- "contacts-web": "ikke oversatt",
524
- "contacts-role": "ikke oversatt",
525
- "contacts-organisation": "ikke oversatt",
526
- "contacts-hours-of-service": "ikke oversatt",
527
- "contacts-contact-instructions": "ikke oversatt",
528
- "contacts-telephone": "ikke oversatt",
491
+ "dataexplorer-search-datasets": "Søk i datasett",
492
+ "dataexplorer-filters": "Filtre",
493
+ "dataexplorer-documentation": "Dokumentasjon",
494
+ "dataexplorer-concept-All": "Alle",
495
+ "dataexplorer-add-dataset": "Legg til",
496
+ "dataexplorer-remove-dataset": "Fjern",
497
+ "dataexplorer-no-data": "Ingen datasett funnet",
498
+ "dataexplorer-error-title": "Kunne ikke laste datasett",
499
+ "dataexplorer-area-search-title": "Område",
500
+ "info-dialog-geographical-coverage": "Geografisk dekning",
501
+ "info-dialog-time-information": "Tidsinformasjon",
502
+ "info-dialog-theme-and-keywords": "Tema og nøkkelord",
503
+ "info-dialog-useful-links": "Nyttige lenker",
504
+ "info-dialog-contacts": "Kontakter",
505
+ "info-dialog-name": "Navn",
506
+ "base-info-last-updated": "Sist oppdatert",
507
+ "base-info-description": "Beskrivelse",
508
+ "base-info-language": "Språk",
509
+ "base-info-data-policy": "Retningslinjer for data",
510
+ "base-info-format": "Format",
511
+ "base-info-share": "Del",
512
+ "geographical-coverage-westernmost": "Lengst vest",
513
+ "geographical-coverage-easternmost": "Lengst øst",
514
+ "geographical-coverage-northernmost": "Lengst nord",
515
+ "geographical-coverage-southernmost": "Lengst sør",
516
+ "time-information-observation-period": "Observasjonsperiode",
517
+ "time-information-data-resolution": "Dataoppløsning",
518
+ "themes-and-keywords-themes": "Temaer",
519
+ "themes-and-keywords-keywords": "Nøkkelord",
520
+ "contacts-name": "Navn",
521
+ "contacts-address": "Adresse",
522
+ "contacts-email": "E-post",
523
+ "contacts-web": "Nettsted",
524
+ "contacts-role": "Rolle",
525
+ "contacts-organisation": "Organisasjon",
526
+ "contacts-hours-of-service": "Åpningstider",
527
+ "contacts-contact-instructions": "Kontaktinstruksjoner",
528
+ "contacts-telephone": "Telefon",
529
529
  AFG: "Afghanistan",
530
530
  AIA: "Anguilla",
531
531
  ALB: "Albania",
@@ -720,44 +720,44 @@ var no = {
720
720
  ZWE: "Zimbabwe"
721
721
  };
722
722
  var nl = {
723
- "dataexplorer-search-datasets": "niet vertaald",
724
- "dataexplorer-filters": "niet vertaald",
725
- "dataexplorer-documentation": "niet vertaald",
726
- "dataexplorer-concept-All": "niet vertaald",
727
- "dataexplorer-add-dataset": "niet vertaald",
728
- "dataexplorer-remove-dataset": "niet vertaald",
729
- "dataexplorer-no-data": "niet vertaald",
730
- "dataexplorer-error-title": "niet vertaald",
731
- "dataexplorer-area-search-title": "niet vertaald",
732
- "info-dialog-geographical-coverage": "niet vertaald",
733
- "info-dialog-time-information": "niet vertaald",
734
- "info-dialog-theme-and-keywords": "niet vertaald",
735
- "info-dialog-useful-links": "niet vertaald",
736
- "info-dialog-contacts": "niet vertaald",
737
- "info-dialog-name": "niet vertaald",
738
- "base-info-last-updated": "niet vertaald",
739
- "base-info-description": "niet vertaald",
740
- "base-info-language": "niet vertaald",
741
- "base-info-data-policy": "niet vertaald",
742
- "base-info-format": "niet vertaald",
743
- "base-info-share": "niet vertaald",
744
- "geographical-coverage-westernmost": "niet vertaald",
745
- "geographical-coverage-easternmost": "niet vertaald",
746
- "geographical-coverage-northernmost": "niet vertaald",
747
- "geographical-coverage-southernmost": "niet vertaald",
748
- "time-information-observation-period": "niet vertaald",
749
- "time-information-data-resolution": "niet vertaald",
750
- "themes-and-keywords-themes": "niet vertaaldd",
751
- "themes-and-keywords-keywords": "niet vertaald",
752
- "contacts-name": "niet vertaald",
753
- "contacts-address": "niet vertaald",
754
- "contacts-email": "niet vertaald",
755
- "contacts-web": "niet vertaald",
756
- "contacts-role": "niet vertaald",
757
- "contacts-organisation": "niet vertaald",
758
- "contacts-hours-of-service": "niet vertaald",
759
- "contacts-contact-instructions": "niet vertaald",
760
- "contacts-telephone": "niet vertaald",
723
+ "dataexplorer-search-datasets": "Zoek datasets",
724
+ "dataexplorer-filters": "Filters",
725
+ "dataexplorer-documentation": "Documentatie",
726
+ "dataexplorer-concept-All": "Alle",
727
+ "dataexplorer-add-dataset": "Toevoegen",
728
+ "dataexplorer-remove-dataset": "Verwijderen",
729
+ "dataexplorer-no-data": "Geen datasets gevonden",
730
+ "dataexplorer-error-title": "Laden van datasets mislukt",
731
+ "dataexplorer-area-search-title": "Gebied",
732
+ "info-dialog-geographical-coverage": "Geografische dekking",
733
+ "info-dialog-time-information": "Tijdsinformatie",
734
+ "info-dialog-theme-and-keywords": "Thema en trefwoorden",
735
+ "info-dialog-useful-links": "Nuttige links",
736
+ "info-dialog-contacts": "Contacten",
737
+ "info-dialog-name": "Naam",
738
+ "base-info-last-updated": "Laatst bijgewerkt",
739
+ "base-info-description": "Beschrijving",
740
+ "base-info-language": "Taal",
741
+ "base-info-data-policy": "Databeleid",
742
+ "base-info-format": "Formaat",
743
+ "base-info-share": "Delen",
744
+ "geographical-coverage-westernmost": "Westelijkst",
745
+ "geographical-coverage-easternmost": "Oostelijkst",
746
+ "geographical-coverage-northernmost": "Noordelijkst",
747
+ "geographical-coverage-southernmost": "Zuidelijkst",
748
+ "time-information-observation-period": "Observatieperiode",
749
+ "time-information-data-resolution": "Dataresolutie",
750
+ "themes-and-keywords-themes": "Thema's",
751
+ "themes-and-keywords-keywords": "Trefwoorden",
752
+ "contacts-name": "Naam",
753
+ "contacts-address": "Adres",
754
+ "contacts-email": "E‑mail",
755
+ "contacts-web": "Website",
756
+ "contacts-role": "Rol",
757
+ "contacts-organisation": "Organisatie",
758
+ "contacts-hours-of-service": "Openingstijden",
759
+ "contacts-contact-instructions": "Contactinstructies",
760
+ "contacts-telephone": "Telefoon",
761
761
  AFG: "Afghanistan",
762
762
  AIA: "Anguilla",
763
763
  ALB: "Albanië",
@@ -7686,7 +7686,7 @@ const AreaFilterLocationSearch = ({
7686
7686
  const {
7687
7687
  data: locationDetail,
7688
7688
  isFetching: isFetchingDetail
7689
- } = useLocationDetail(selectedValue == null ? void 0 : selectedValue.id, selectedValue == null ? void 0 : selectedValue.source);
7689
+ } = useLocationDetail(selectedValue);
7690
7690
  useEffect(() => {
7691
7691
  if (isFetchingDetail) {
7692
7692
  return;
@@ -8257,29 +8257,82 @@ const InfoDialogBaseInfo = ({
8257
8257
  });
8258
8258
  };
8259
8259
 
8260
+ /* *
8261
+ * Licensed under the Apache License, Version 2.0 (the "License");
8262
+ * you may not use this file except in compliance with the License.
8263
+ * You may obtain a copy of the License at
8264
+ *
8265
+ * http://www.apache.org/licenses/LICENSE-2.0
8266
+ *
8267
+ * Unless required by applicable law or agreed to in writing, software
8268
+ * distributed under the License is distributed on an "AS IS" BASIS,
8269
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8270
+ * See the License for the specific language governing permissions and
8271
+ * limitations under the License.
8272
+ *
8273
+ * Copyright 2025 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8274
+ * Copyright 2025 - Finnish Meteorological Institute (FMI)
8275
+ * Copyright 2025 - The Norwegian Meteorological Institute (MET Norway)
8276
+ * */
8277
+ // Multipolygon coordinates
8278
+ const findSmallestMultiPolygonFirstChild = multiPolygons => {
8279
+ const smallestValues = multiPolygons.map(polygon => {
8280
+ const smallFirsts = polygon.map(pairs => Math.min(...pairs.map(([first]) => first)));
8281
+ return Math.min(...smallFirsts);
8282
+ });
8283
+ return Math.min(...smallestValues);
8284
+ };
8285
+ const findLargestMultiPolygonFirstChild = multiPolygons => {
8286
+ const largestValues = multiPolygons.map(polygon => {
8287
+ const largeFirsts = polygon.map(pairs => Math.max(...pairs.map(([first]) => first)));
8288
+ return Math.max(...largeFirsts);
8289
+ });
8290
+ return Math.max(...largestValues);
8291
+ };
8292
+ const findSmallestMultiPolygonLastChild = multiPolygons => {
8293
+ const smallestValues = multiPolygons.map(polygon => {
8294
+ const smallFirsts = polygon.map(pairs => Math.min(...pairs.map(([, last]) => last)));
8295
+ return Math.min(...smallFirsts);
8296
+ });
8297
+ return Math.min(...smallestValues);
8298
+ };
8299
+ const findLargestMultiPolygonLastChild = multiPolygons => {
8300
+ const largestValues = multiPolygons.map(polygon => {
8301
+ const largeFirsts = polygon.map(pairs => Math.max(...pairs.map(([, last]) => last)));
8302
+ return Math.max(...largeFirsts);
8303
+ });
8304
+ return Math.max(...largestValues);
8305
+ };
8306
+ // Polygon coordinates
8307
+ const findSmallestPolygonFirstChild = pairs => {
8308
+ return Math.min(...pairs[0].map(([first]) => first));
8309
+ };
8310
+ const findLargestPolygonFirstChild = pairs => {
8311
+ return Math.max(...pairs[0].map(([first]) => first));
8312
+ };
8313
+ const findSmallestPolygonLastChild = pairs => {
8314
+ return Math.min(...pairs[0].map(([, last]) => last));
8315
+ };
8316
+ const findLargestPolygonLastChild = pairs => {
8317
+ return Math.max(...pairs[0].map(([, last]) => last));
8318
+ };
8319
+
8260
8320
  const InfoDialogGeographicalCoverage = ({
8261
- coordinates
8321
+ coordinates,
8322
+ type
8262
8323
  }) => {
8263
8324
  const {
8264
8325
  t
8265
8326
  } = useDataExplorerTranslation();
8266
8327
  // Get the coordinates from geometry
8267
- const findSmallestFirstChild = pairs => {
8268
- return Math.min(...pairs.map(([first]) => first));
8269
- };
8270
- const findLargestFirstChild = pairs => {
8271
- return Math.max(...pairs.map(([first]) => first));
8272
- };
8273
- const findSmallestLastChild = pairs => {
8274
- return Math.min(...pairs.map(([, last]) => last));
8275
- };
8276
- const findLargestLastChild = pairs => {
8277
- return Math.max(...pairs.map(([, last]) => last));
8278
- };
8328
+ const isMultiPolygon = type === 'multipolygon' || type === 'MultiPolygon';
8329
+ const polygon = coordinates;
8330
+ const multiPolygons = coordinates;
8279
8331
  return jsxs(Grid, {
8280
8332
  container: true,
8281
8333
  direction: "column",
8282
8334
  spacing: 2,
8335
+ "data-testid": "infoDialogGeographicalCoverage",
8283
8336
  children: [jsxs(Grid, {
8284
8337
  container: true,
8285
8338
  direction: "column",
@@ -8292,7 +8345,8 @@ const InfoDialogGeographicalCoverage = ({
8292
8345
  })
8293
8346
  }), jsx(Grid, {
8294
8347
  children: jsxs(Typography, {
8295
- children: [findSmallestFirstChild(coordinates[0]), "\u00B0"]
8348
+ "data-testid": "infoDialogGeographicalCoverageWesternmost",
8349
+ children: [isMultiPolygon ? findSmallestMultiPolygonFirstChild(multiPolygons) : findSmallestPolygonFirstChild(polygon), "\u00B0"]
8296
8350
  })
8297
8351
  })]
8298
8352
  }), jsxs(Grid, {
@@ -8307,7 +8361,8 @@ const InfoDialogGeographicalCoverage = ({
8307
8361
  })
8308
8362
  }), jsx(Grid, {
8309
8363
  children: jsxs(Typography, {
8310
- children: [findLargestFirstChild(coordinates[0]), "\u00B0"]
8364
+ "data-testid": "infoDialogGeographicalCoverageEasternmost",
8365
+ children: [isMultiPolygon ? findLargestMultiPolygonFirstChild(multiPolygons) : findLargestPolygonFirstChild(polygon), "\u00B0"]
8311
8366
  })
8312
8367
  })]
8313
8368
  }), jsxs(Grid, {
@@ -8322,7 +8377,8 @@ const InfoDialogGeographicalCoverage = ({
8322
8377
  })
8323
8378
  }), jsx(Grid, {
8324
8379
  children: jsxs(Typography, {
8325
- children: [findLargestLastChild(coordinates[0]), "\u00B0"]
8380
+ "data-testid": "infoDialogGeographicalCoverageNorthernmost",
8381
+ children: [isMultiPolygon ? findLargestMultiPolygonLastChild(multiPolygons) : findLargestPolygonLastChild(polygon), "\u00B0"]
8326
8382
  })
8327
8383
  })]
8328
8384
  }), jsxs(Grid, {
@@ -8337,7 +8393,8 @@ const InfoDialogGeographicalCoverage = ({
8337
8393
  })
8338
8394
  }), jsx(Grid, {
8339
8395
  children: jsxs(Typography, {
8340
- children: [findSmallestLastChild(coordinates[0]), "\u00B0"]
8396
+ "data-testid": "infoDialogGeographicalCoverageSouthernmost",
8397
+ children: [isMultiPolygon ? findSmallestMultiPolygonLastChild(multiPolygons) : findSmallestPolygonLastChild(polygon), "\u00B0"]
8341
8398
  })
8342
8399
  })]
8343
8400
  })]
@@ -9497,11 +9554,21 @@ const InfoDialogWMSMap = ({
9497
9554
  };
9498
9555
  useEffect(() => {
9499
9556
  if (geometry.coordinates) {
9500
- const coord1 = fromLonLat(geometry.coordinates[0][0], 'EPSG:3857');
9501
- const coord2 = fromLonLat(geometry.coordinates[0][2], 'EPSG:3857');
9502
- setExtent(boundingExtent([coord1, coord2]));
9557
+ if (geometry.type === 'multipolygon') {
9558
+ const smallestFirst = findSmallestMultiPolygonFirstChild(geometry.coordinates);
9559
+ const smallestLast = findSmallestMultiPolygonLastChild(geometry.coordinates);
9560
+ const largestFirst = findLargestMultiPolygonFirstChild(geometry.coordinates);
9561
+ const largestLast = findLargestMultiPolygonLastChild(geometry.coordinates);
9562
+ const coord1 = fromLonLat([smallestFirst, smallestLast], 'EPSG:3857');
9563
+ const coord2 = fromLonLat([largestFirst, largestLast], 'EPSG:3857');
9564
+ setExtent(boundingExtent([coord1, coord2]));
9565
+ } else {
9566
+ const coord1 = fromLonLat(geometry.coordinates[0][0], 'EPSG:3857');
9567
+ const coord2 = fromLonLat(geometry.coordinates[0][2], 'EPSG:3857');
9568
+ setExtent(boundingExtent([coord1, coord2]));
9569
+ }
9503
9570
  }
9504
- }, [geometry.coordinates]);
9571
+ }, [geometry]);
9505
9572
  useEffect(() => {
9506
9573
  if (mapSize && extent) {
9507
9574
  view.fit(extent, {
@@ -9675,10 +9742,10 @@ const DataExplorerInfo = ({
9675
9742
  properties: featureInfo.properties,
9676
9743
  datasetLink: datasetLink,
9677
9744
  id: featureInfo.id
9678
- }), featureInfo.properties.formats && isWmsFormat(featureInfo.properties.formats) && jsx(InfoDialogWMSMapConnect, {
9745
+ }), featureInfo.properties.formats && isWmsFormat(featureInfo.properties.formats) && featureInfo.geometry && featureInfo.links && jsx(InfoDialogWMSMapConnect, {
9679
9746
  geometry: featureInfo.geometry,
9680
9747
  links: featureInfo.links
9681
- }), jsxs(Accordion, {
9748
+ }), featureInfo.geometry && jsxs(Accordion, {
9682
9749
  defaultExpanded: true,
9683
9750
  onClick: e => e.stopPropagation(),
9684
9751
  slotProps: {
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@opengeoweb/data-explorer",
3
- "version": "14.2.2",
3
+ "version": "14.4.0",
4
4
  "dependencies": {
5
5
  "@mui/material": "^7.0.1",
6
- "@opengeoweb/api": "14.2.2",
7
- "@opengeoweb/core": "14.2.2",
8
- "@opengeoweb/shared": "14.2.2",
9
- "@opengeoweb/snackbar": "14.2.2",
10
- "@opengeoweb/store": "14.2.2",
11
- "@opengeoweb/theme": "14.2.2",
12
- "@opengeoweb/webmap": "14.2.2",
13
- "@opengeoweb/webmap-react": "14.2.2",
6
+ "@opengeoweb/api": "14.4.0",
7
+ "@opengeoweb/core": "14.4.0",
8
+ "@opengeoweb/shared": "14.4.0",
9
+ "@opengeoweb/snackbar": "14.4.0",
10
+ "@opengeoweb/store": "14.4.0",
11
+ "@opengeoweb/theme": "14.4.0",
12
+ "@opengeoweb/webmap": "14.4.0",
13
+ "@opengeoweb/webmap-react": "14.4.0",
14
14
  "@reduxjs/toolkit": "^2.6.1",
15
15
  "@tanstack/query-core": "^5.69.2",
16
16
  "@tanstack/react-query": "^5.85.5",
@@ -5,7 +5,7 @@ interface InfoDialogWMSMapProps {
5
5
  view: View;
6
6
  geometry: {
7
7
  type: string;
8
- coordinates: number[][][];
8
+ coordinates: number[][][] | number[][][][];
9
9
  };
10
10
  dataLink: string;
11
11
  getCapabilitiesJSON: GetCapabilitiesJson;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  interface InfoDialogWMSMapConnectProps {
3
3
  geometry: {
4
4
  type: string;
5
- coordinates: number[][][];
5
+ coordinates: number[][][] | number[][][][];
6
6
  };
7
7
  links: {
8
8
  href: string;
@@ -50,7 +50,7 @@ export interface InfoDialogBaseInfoProps {
50
50
  }
51
51
  export interface InfoDialogGeographicalCoverageProps {
52
52
  type: string;
53
- coordinates: number[][][];
53
+ coordinates: number[][][] | number[][][][];
54
54
  }
55
55
  export interface InfoDialogTimeProps {
56
56
  interval?: string[];
@@ -109,7 +109,7 @@ export interface DiscoveryMetadataItems {
109
109
  export interface DataExplorerWMSState {
110
110
  geometry: {
111
111
  type: string;
112
- coordinates: number[][][];
112
+ coordinates: number[][][] | number[][][][];
113
113
  };
114
114
  links: {
115
115
  href: string;
@@ -0,0 +1,8 @@
1
+ export declare const findSmallestMultiPolygonFirstChild: (multiPolygons: number[][][][]) => number;
2
+ export declare const findLargestMultiPolygonFirstChild: (multiPolygons: number[][][][]) => number;
3
+ export declare const findSmallestMultiPolygonLastChild: (multiPolygons: number[][][][]) => number;
4
+ export declare const findLargestMultiPolygonLastChild: (multiPolygons: number[][][][]) => number;
5
+ export declare const findSmallestPolygonFirstChild: (pairs: number[][][]) => number;
6
+ export declare const findLargestPolygonFirstChild: (pairs: number[][][]) => number;
7
+ export declare const findSmallestPolygonLastChild: (pairs: number[][][]) => number;
8
+ export declare const findLargestPolygonLastChild: (pairs: number[][][]) => number;
@@ -0,0 +1 @@
1
+ export {};
@@ -2,5 +2,5 @@ import i18n from 'i18next';
2
2
  import { UseTranslationResponse } from 'react-i18next';
3
3
  export declare const DATA_EXPLORER_NAMESPACE = "dataexplorer";
4
4
  export declare const initDataExplorerI18n: () => void;
5
- export declare const translateKeyOutsideComponents: (key: string, params?: Record<string, string | number> | undefined) => string;
5
+ export declare const translateInTestsAndStories: (key: string, params?: Record<string, string | number> | undefined) => string;
6
6
  export declare const useDataExplorerTranslation: () => UseTranslationResponse<typeof DATA_EXPLORER_NAMESPACE, typeof i18n>;
@@ -4,6 +4,7 @@ export declare const InfoDialogTimeMock: InfoDialogTimeProps;
4
4
  export declare const CoordinatedUniversalTimeMock: InfoDialogTimeProps;
5
5
  export declare const InfoDialogKeywordsMock: InfoDialogThemesAndKeywordsProps;
6
6
  export declare const InfoDialogContactsMock: InfoDialogContactsProps;
7
- export declare const InfoDialogGeographicalCoverageMock: InfoDialogGeographicalCoverageProps;
7
+ export declare const InfoDialogGeographicalCoveragePolygonMock: InfoDialogGeographicalCoverageProps;
8
+ export declare const InfoDialogGeographicalCoverageMultipolygonMock: InfoDialogGeographicalCoverageProps;
8
9
  export declare const InfoDialogBaseInfoMock: InfoDialogBaseInfoProps;
9
10
  export declare const featureInfoMock: DiscoveryMetadataFeature;