geonetwork-ui 2.9.0-dev.be07527a4 → 2.9.0-dev.f09b1c763
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/fesm2022/geonetwork-ui.mjs +503 -476
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +237 -157
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +5 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +13 -6
- package/src/libs/feature/editor/src/index.ts +8 -7
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +6 -1
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +5 -1
- package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +4 -0
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +9 -3
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +5 -5
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +10 -7
- package/translations/de.json +2 -1
- package/translations/en.json +5 -4
- package/translations/es.json +1 -0
- package/translations/fr.json +5 -4
- package/translations/it.json +5 -4
- package/translations/nl.json +1 -0
- package/translations/pt.json +1 -0
- package/translations/sk.json +1 -0
|
@@ -36,7 +36,7 @@ export abstract class AbstractSearchField {
|
|
|
36
36
|
abstract getAvailableValues(): Observable<FieldAvailableValue[] | DateRange[]>
|
|
37
37
|
abstract getFiltersForValues(
|
|
38
38
|
values: FieldValue[] | DateRange[]
|
|
39
|
-
): Observable<FieldFilters>
|
|
39
|
+
): Observable<FieldFilters | string>
|
|
40
40
|
abstract getValuesForFilter(
|
|
41
41
|
filters: FieldFilters
|
|
42
42
|
): Observable<FieldValue[] | FieldValue | DateRange>
|
|
@@ -89,7 +89,7 @@ export class SimpleSearchField implements AbstractSearchField {
|
|
|
89
89
|
}
|
|
90
90
|
getFiltersForValues(
|
|
91
91
|
values: FieldValue[] | DateRange[]
|
|
92
|
-
): Observable<FieldFilters> {
|
|
92
|
+
): Observable<FieldFilters | string> {
|
|
93
93
|
// FieldValue[]
|
|
94
94
|
if (this.getType() === 'values') {
|
|
95
95
|
return of({
|
|
@@ -538,7 +538,7 @@ export class RecordKindField extends SimpleSearchField {
|
|
|
538
538
|
])
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
getFiltersForValues(values: FieldValue[]): Observable<FieldFilters> {
|
|
541
|
+
getFiltersForValues(values: FieldValue[]): Observable<FieldFilters | string> {
|
|
542
542
|
const filters: FieldFilters = {
|
|
543
543
|
[this.esFieldName]: values.reduce((acc, value) => {
|
|
544
544
|
if (value === '') return { ...acc, [value]: true }
|
|
@@ -552,8 +552,8 @@ export class RecordKindField extends SimpleSearchField {
|
|
|
552
552
|
|
|
553
553
|
const presentationFormFilter = {}
|
|
554
554
|
if (values.includes('reuse') && !values.includes('dataset')) {
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
filters['gn-ui-crossFieldFilter'] =
|
|
556
|
+
`(resourceType:("dataset" OR "document") AND cl_presentationForm.key:("mapDigital" OR "mapHardcopy")) OR resourceType:("application" OR "interactiveMap" OR "map" OR "map/static" OR "map/interactive" OR "map-interactive" OR "map-static" OR "mapDigital" OR "mapHardcopy" OR "staticMap")`
|
|
557
557
|
} else if (values.includes('dataset') && !values.includes('reuse')) {
|
|
558
558
|
presentationFormFilter['mapDigital'] = false
|
|
559
559
|
presentationFormFilter['mapHardcopy'] = false
|
|
@@ -29,16 +29,19 @@
|
|
|
29
29
|
</div>
|
|
30
30
|
@if (shownOrganization?.website) {
|
|
31
31
|
<div>
|
|
32
|
-
<
|
|
33
|
-
[href]="shownOrganization.website"
|
|
34
|
-
target="_blank"
|
|
35
|
-
class="contact-website text-sm cursor-pointer hover:underline transition-all"
|
|
36
|
-
>{{ shownOrganization.website }}
|
|
32
|
+
<div class="flex items-center mt-1">
|
|
37
33
|
<ng-icon
|
|
38
|
-
class="!w-
|
|
34
|
+
class="!w-5 !h-5 !text-[20px] opacity-75 shrink-0"
|
|
39
35
|
name="matOpenInNew"
|
|
40
36
|
></ng-icon>
|
|
41
|
-
|
|
37
|
+
<a
|
|
38
|
+
[href]="shownOrganization.website"
|
|
39
|
+
target="_blank"
|
|
40
|
+
class="contact-website text-sm cursor-pointer hover:underline transition-all ml-2"
|
|
41
|
+
>
|
|
42
|
+
{{ shownOrganization.website }}
|
|
43
|
+
</a>
|
|
44
|
+
</div>
|
|
42
45
|
</div>
|
|
43
46
|
}
|
|
44
47
|
</div>
|
package/translations/de.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"multiselect.filter.placeholder": "Suche",
|
|
388
388
|
"nav.back": "Zurück",
|
|
389
389
|
"navbar.mobile.menuTitle": "Schnellzugriff",
|
|
390
|
+
"ogc.geojson.notsupported": "Dieser OGC API-Dienst unterstützt das GeoJSON-Format nicht.",
|
|
390
391
|
"ogc.unreachable.unknown": "Der Dienst konnte nicht erreicht werden",
|
|
391
392
|
"organisation.filter.placeholder": "Ergebnisse filtern",
|
|
392
393
|
"organisation.sort.sortBy": "Sortieren nach:",
|
|
@@ -472,7 +473,7 @@
|
|
|
472
473
|
"record.metadata.download": "Herunterladen",
|
|
473
474
|
"record.metadata.feature.catalog": "Attributkatalog",
|
|
474
475
|
"record.metadata.formats": "Formate",
|
|
475
|
-
"record.metadata.isGeographical": "
|
|
476
|
+
"record.metadata.isGeographical": "geographischer Datensatz",
|
|
476
477
|
"record.metadata.keywords": "Stichworte",
|
|
477
478
|
"record.metadata.languages": "Sprachen",
|
|
478
479
|
"record.metadata.link.postgis.table": "Tabelle:",
|
package/translations/en.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"multiselect.filter.placeholder": "Search",
|
|
388
388
|
"nav.back": "Back",
|
|
389
389
|
"navbar.mobile.menuTitle": "Quick access",
|
|
390
|
+
"ogc.geojson.notsupported": "This OGC API does not support the GeoJSON format",
|
|
390
391
|
"ogc.unreachable.unknown": "The service could not be reached",
|
|
391
392
|
"organisation.filter.placeholder": "Filter results",
|
|
392
393
|
"organisation.sort.sortBy": "Sort by:",
|
|
@@ -414,9 +415,9 @@
|
|
|
414
415
|
"record.feature.catalog.number.total.attribute": "Total amount of objects",
|
|
415
416
|
"record.feature.catalog.number.total.object": "Total amount of attributes",
|
|
416
417
|
"record.feature.limit": "Preview disabled due to too many elements",
|
|
417
|
-
"record.kind.dataset": "
|
|
418
|
-
"record.kind.reuse": "
|
|
419
|
-
"record.kind.service": "
|
|
418
|
+
"record.kind.dataset": "dataset",
|
|
419
|
+
"record.kind.reuse": "reuse",
|
|
420
|
+
"record.kind.service": "service",
|
|
420
421
|
"record.metadata.about": "Description",
|
|
421
422
|
"record.metadata.api": "API",
|
|
422
423
|
"record.metadata.api.accessServiceProtocol.GPFDL": "GPFDL",
|
|
@@ -472,7 +473,7 @@
|
|
|
472
473
|
"record.metadata.download": "Downloads",
|
|
473
474
|
"record.metadata.feature.catalog": "Feature catalog",
|
|
474
475
|
"record.metadata.formats": "Formats",
|
|
475
|
-
"record.metadata.isGeographical": "
|
|
476
|
+
"record.metadata.isGeographical": "geographic dataset",
|
|
476
477
|
"record.metadata.keywords": "Keywords",
|
|
477
478
|
"record.metadata.languages": "Languages",
|
|
478
479
|
"record.metadata.link.postgis.table": "table :",
|
package/translations/es.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"multiselect.filter.placeholder": "",
|
|
388
388
|
"nav.back": "",
|
|
389
389
|
"navbar.mobile.menuTitle": "Acceso rápido",
|
|
390
|
+
"ogc.geojson.notsupported": "",
|
|
390
391
|
"ogc.unreachable.unknown": "",
|
|
391
392
|
"organisation.filter.placeholder": "",
|
|
392
393
|
"organisation.sort.sortBy": "",
|
package/translations/fr.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"multiselect.filter.placeholder": "Rechercher",
|
|
388
388
|
"nav.back": "Retour",
|
|
389
389
|
"navbar.mobile.menuTitle": "Navigation rapide",
|
|
390
|
+
"ogc.geojson.notsupported": "Le service OGC API ne supporte pas le format GeoJSON",
|
|
390
391
|
"ogc.unreachable.unknown": "Le service n'est pas accessible",
|
|
391
392
|
"organisation.filter.placeholder": "Filtrer les résultats",
|
|
392
393
|
"organisation.sort.sortBy": "Trier par :",
|
|
@@ -414,9 +415,9 @@
|
|
|
414
415
|
"record.feature.catalog.number.total.attribute": "Nombre total d'attributs",
|
|
415
416
|
"record.feature.catalog.number.total.object": "Nombre total d'objets",
|
|
416
417
|
"record.feature.limit": "L’aperçu a été désactivé en raison d’un trop grand nombre d'éléments",
|
|
417
|
-
"record.kind.dataset": "
|
|
418
|
-
"record.kind.reuse": "
|
|
419
|
-
"record.kind.service": "
|
|
418
|
+
"record.kind.dataset": "donnée",
|
|
419
|
+
"record.kind.reuse": "réutilisation",
|
|
420
|
+
"record.kind.service": "service",
|
|
420
421
|
"record.metadata.about": "A propos",
|
|
421
422
|
"record.metadata.api": "API",
|
|
422
423
|
"record.metadata.api.accessServiceProtocol.GPFDL": "",
|
|
@@ -472,7 +473,7 @@
|
|
|
472
473
|
"record.metadata.download": "Téléchargements",
|
|
473
474
|
"record.metadata.feature.catalog": "Catalogue d'attributs",
|
|
474
475
|
"record.metadata.formats": "Formats",
|
|
475
|
-
"record.metadata.isGeographical": "
|
|
476
|
+
"record.metadata.isGeographical": "donnée géographique",
|
|
476
477
|
"record.metadata.keywords": "Mots-clés",
|
|
477
478
|
"record.metadata.languages": "Langues",
|
|
478
479
|
"record.metadata.link.postgis.table": "table :",
|
package/translations/it.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"multiselect.filter.placeholder": "Cerca",
|
|
388
388
|
"nav.back": "Indietro",
|
|
389
389
|
"navbar.mobile.menuTitle": "Accesso rapido",
|
|
390
|
+
"ogc.geojson.notsupported": "Il servizio OGC API non supporta il formato GeoJSON.",
|
|
390
391
|
"ogc.unreachable.unknown": "Il servizio non è accessibile",
|
|
391
392
|
"organisation.filter.placeholder": "Filtra i risultati",
|
|
392
393
|
"organisation.sort.sortBy": "Ordina per:",
|
|
@@ -414,9 +415,9 @@
|
|
|
414
415
|
"record.feature.catalog.number.total.attribute": "Quantità totale di oggetti",
|
|
415
416
|
"record.feature.catalog.number.total.object": "Quantità totale di attributi",
|
|
416
417
|
"record.feature.limit": "La visualizzazione è stata disabilitata a causa di troppi elementi ",
|
|
417
|
-
"record.kind.dataset": "
|
|
418
|
-
"record.kind.reuse": "
|
|
419
|
-
"record.kind.service": "
|
|
418
|
+
"record.kind.dataset": "dataset",
|
|
419
|
+
"record.kind.reuse": "riutilizzato",
|
|
420
|
+
"record.kind.service": "servizio",
|
|
420
421
|
"record.metadata.about": "Descrizione",
|
|
421
422
|
"record.metadata.api": "API",
|
|
422
423
|
"record.metadata.api.accessServiceProtocol.GPFDL": "",
|
|
@@ -472,7 +473,7 @@
|
|
|
472
473
|
"record.metadata.download": "Download",
|
|
473
474
|
"record.metadata.feature.catalog": "Catalogo dei oggetti",
|
|
474
475
|
"record.metadata.formats": "Formati",
|
|
475
|
-
"record.metadata.isGeographical": "
|
|
476
|
+
"record.metadata.isGeographical": "dati geografici",
|
|
476
477
|
"record.metadata.keywords": "Parole chiave",
|
|
477
478
|
"record.metadata.languages": "Lingue",
|
|
478
479
|
"record.metadata.link.postgis.table": "",
|
package/translations/nl.json
CHANGED
package/translations/pt.json
CHANGED
package/translations/sk.json
CHANGED
|
@@ -387,6 +387,7 @@
|
|
|
387
387
|
"multiselect.filter.placeholder": "Hľadať",
|
|
388
388
|
"nav.back": "Späť",
|
|
389
389
|
"navbar.mobile.menuTitle": "",
|
|
390
|
+
"ogc.geojson.notsupported": "",
|
|
390
391
|
"ogc.unreachable.unknown": "So službou sa nedalo spojiť",
|
|
391
392
|
"organisation.filter.placeholder": "Filtrovať výsledky",
|
|
392
393
|
"organisation.sort.sortBy": "Zoradiť podľa:",
|