geonetwork-ui 2.5.0-dev.5ea8dba3f → 2.5.0-dev.6e4d22b12

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 (50) hide show
  1. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  2. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +2 -2
  3. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +2 -2
  4. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +2 -2
  5. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +2 -2
  6. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -1
  7. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
  8. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +24 -5
  9. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +8 -6
  10. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +6 -3
  11. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +37 -2
  12. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +2 -7
  13. package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +5 -3
  14. package/esm2022/translations/de.json +1 -1
  15. package/esm2022/translations/en.json +1 -1
  16. package/esm2022/translations/fr.json +1 -1
  17. package/esm2022/translations/it.json +1 -1
  18. package/fesm2022/geonetwork-ui.mjs +85 -30
  19. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  20. package/libs/feature/editor/src/index.d.ts +1 -0
  21. package/libs/feature/editor/src/index.d.ts.map +1 -1
  22. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -0
  23. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  24. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +4 -1
  25. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  26. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -2
  27. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  28. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  29. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  30. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +16 -1
  31. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  32. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +2 -3
  33. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
  34. package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/src/libs/feature/editor/src/index.ts +1 -0
  37. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -0
  38. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +24 -13
  39. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +23 -4
  40. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +71 -60
  41. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +4 -2
  42. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -0
  43. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +1 -0
  44. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +42 -0
  45. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +1 -7
  46. package/src/libs/util/data-fetcher/src/lib/utils.ts +4 -2
  47. package/translations/de.json +1 -1
  48. package/translations/en.json +1 -1
  49. package/translations/fr.json +1 -1
  50. package/translations/it.json +1 -1
@@ -62,9 +62,11 @@ export function fetchDataAsText(
62
62
  })
63
63
  .then(async (response) => {
64
64
  if (!response.ok) {
65
- throw FetchError.http(response.status, await response.text())
65
+ const clonedResponse = response.clone()
66
+ throw FetchError.http(response.status, await clonedResponse.text())
66
67
  }
67
- return response.text()
68
+ const clonedResponse = response.clone()
69
+ return clonedResponse.text()
68
70
  })
69
71
 
70
72
  return cacheActive ? useCache(fetchFactory, url, 'asText') : fetchFactory()
@@ -354,7 +354,7 @@
354
354
  "record.action.rollback": "",
355
355
  "record.action.view": "Anzeigen",
356
356
  "record.externalViewer.open": "In externem Kartenviewer öffnen",
357
- "record.feature.limit": "Die Ressource enthält mehr als {count} Features und kann hier nicht angezeigt werden.",
357
+ "record.feature.limit": "Die Vorschau wurde aufgrund zu vieler Elemente deaktiviert",
358
358
  "record.metadata.about": "Beschreibung",
359
359
  "record.metadata.api": "API",
360
360
  "record.metadata.api.form.closeButton": "Schließen",
@@ -354,7 +354,7 @@
354
354
  "record.action.rollback": "Rollback",
355
355
  "record.action.view": "View",
356
356
  "record.externalViewer.open": "Open in the external map viewer",
357
- "record.feature.limit": "The resource contains more than {count} features and cannot be displayed here.",
357
+ "record.feature.limit": "Preview disabled due to too many elements",
358
358
  "record.metadata.about": "Description",
359
359
  "record.metadata.api": "API",
360
360
  "record.metadata.api.form.closeButton": "Close",
@@ -354,7 +354,7 @@
354
354
  "record.action.rollback": "Restaurer",
355
355
  "record.action.view": "Voir",
356
356
  "record.externalViewer.open": "Ouvrir dans le visualiseur externe",
357
- "record.feature.limit": "La ressource contient plus de {count} entités et ne peut pas être affichée ici.",
357
+ "record.feature.limit": "L’aperçu a été désactivé en raison d’un trop grand nombre d'éléments",
358
358
  "record.metadata.about": "Description",
359
359
  "record.metadata.api": "API",
360
360
  "record.metadata.api.form.closeButton": "Fermer",
@@ -354,7 +354,7 @@
354
354
  "record.action.rollback": "Annulla",
355
355
  "record.action.view": "Visualizza",
356
356
  "record.externalViewer.open": "Aprire nel visualizzatore esterno",
357
- "record.feature.limit": "La risorsa contiene più di {count} funzionalità e non può essere visualizzata qui.",
357
+ "record.feature.limit": "La visualizzazione è stata disabilitata a causa di troppi elementi ",
358
358
  "record.metadata.about": "Descrizione",
359
359
  "record.metadata.api": "API",
360
360
  "record.metadata.api.form.closeButton": "Chiude",