geonetwork-ui 2.6.0-dev.d8333ac5d → 2.6.0-dev.e052ad8ba

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 (32) hide show
  1. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +23 -1
  2. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +2 -1
  3. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +55 -3
  4. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +4 -12
  5. package/esm2022/translations/de.json +5 -2
  6. package/esm2022/translations/en.json +7 -2
  7. package/esm2022/translations/es.json +5 -2
  8. package/esm2022/translations/fr.json +7 -2
  9. package/esm2022/translations/it.json +41 -38
  10. package/esm2022/translations/nl.json +5 -2
  11. package/esm2022/translations/pt.json +5 -2
  12. package/fesm2022/geonetwork-ui.mjs +156 -63
  13. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  14. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  15. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  16. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  17. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +0 -1
  18. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -1
  19. package/package.json +1 -1
  20. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +23 -0
  21. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +1 -0
  22. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +53 -0
  23. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +1 -15
  24. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +1 -9
  25. package/translations/de.json +5 -2
  26. package/translations/en.json +7 -2
  27. package/translations/es.json +5 -2
  28. package/translations/fr.json +7 -2
  29. package/translations/it.json +41 -38
  30. package/translations/nl.json +5 -2
  31. package/translations/pt.json +5 -2
  32. package/translations/sk.json +5 -2
@@ -18890,6 +18890,10 @@ var de = {
18890
18890
  "facets.block.title.tag.default": "Stichwort",
18891
18891
  "facets.block.title.th_regions_tree.default": "Regionen",
18892
18892
  "favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Anmelden</a>, um auf diese Funktion zuzugreifen</div>",
18893
+ "feature.catalog.attribute.code": "",
18894
+ "feature.catalog.attribute.description": "",
18895
+ "feature.catalog.attribute.name": "",
18896
+ "feature.catalog.attribute.type": "",
18893
18897
  "input.file.dropFileLabel": "",
18894
18898
  "input.file.orInputUrl": "",
18895
18899
  "input.file.selectFileLabel": "",
@@ -18967,6 +18971,7 @@ var de = {
18967
18971
  "record.action.view": "Anzeigen",
18968
18972
  "record.card.metadata.contact": "",
18969
18973
  "record.externalViewer.open": "In externem Kartenviewer öffnen",
18974
+ "record.metadata.feature.catalog": "",
18970
18975
  "record.feature.catalog.number.total.attribute": "",
18971
18976
  "record.feature.catalog.number.total.object": "",
18972
18977
  "record.feature.limit": "Die Vorschau wurde aufgrund zu vieler Elemente deaktiviert",
@@ -19013,7 +19018,6 @@ var de = {
19013
19018
  "record.metadata.creation": "Erstellungsdatum",
19014
19019
  "record.metadata.details": "Über die Daten",
19015
19020
  "record.metadata.download": "Downloads",
19016
- "record.metadata.feature.catalog": "",
19017
19021
  "record.metadata.formats": "Formate",
19018
19022
  "record.metadata.keywords": "Stichworte",
19019
19023
  "record.metadata.languages": "Sprachen",
@@ -19161,7 +19165,6 @@ var de = {
19161
19165
  "service.metadata.other": "",
19162
19166
  "service.metadata.question": "",
19163
19167
  "service.metadata.search": "",
19164
- "service.metadata.search.clear": "",
19165
19168
  "service.metadata.spatialExtent": "",
19166
19169
  "share.tab.permalink": "Teilen",
19167
19170
  "share.tab.webComponent": "Integrieren",
@@ -19478,6 +19481,10 @@ var en = {
19478
19481
  "facets.block.title.tag.default": "Tag",
19479
19482
  "facets.block.title.th_regions_tree.default": "Regions",
19480
19483
  "favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Login</a> to access this feature</div>",
19484
+ "feature.catalog.attribute.code": "Code",
19485
+ "feature.catalog.attribute.description": "Description",
19486
+ "feature.catalog.attribute.name": "Name",
19487
+ "feature.catalog.attribute.type": "Type",
19481
19488
  "input.file.dropFileLabel": "or drop it here",
19482
19489
  "input.file.orInputUrl": "or create a link to an external resource",
19483
19490
  "input.file.selectFileLabel": "Select a file ({sizeMB} MB max.)",
@@ -19555,6 +19562,7 @@ var en = {
19555
19562
  "record.action.view": "View",
19556
19563
  "record.card.metadata.contact": "Metadata Contact",
19557
19564
  "record.externalViewer.open": "Open in the external map viewer",
19565
+ "record.metadata.feature.catalog": "Feature catalog",
19558
19566
  "record.feature.catalog.number.total.attribute": "Total amount of objects",
19559
19567
  "record.feature.catalog.number.total.object": "Total amount of attributes",
19560
19568
  "record.feature.limit": "Preview disabled due to too many elements",
@@ -19601,7 +19609,6 @@ var en = {
19601
19609
  "record.metadata.creation": "Date of creation",
19602
19610
  "record.metadata.details": "About the data",
19603
19611
  "record.metadata.download": "Downloads",
19604
- "record.metadata.feature.catalog": "Feature catalog",
19605
19612
  "record.metadata.formats": "Formats",
19606
19613
  "record.metadata.keywords": "Keywords",
19607
19614
  "record.metadata.languages": "Languages",
@@ -19749,7 +19756,6 @@ var en = {
19749
19756
  "service.metadata.other": "Other information",
19750
19757
  "service.metadata.question": "Ask a question",
19751
19758
  "service.metadata.search": "Search through the layer list",
19752
- "service.metadata.search.clear": "Clear the layer search",
19753
19759
  "service.metadata.spatialExtent": "Spatial extent",
19754
19760
  "share.tab.permalink": "Share",
19755
19761
  "share.tab.webComponent": "Integrate",
@@ -19768,6 +19774,8 @@ var en = {
19768
19774
  "tooltip.url.open": "Open URL",
19769
19775
  "ui.readLess": "Read less",
19770
19776
  "ui.readMore": "Read more",
19777
+ "ui.hideFullText": "Hide complete text",
19778
+ "ui.showAllText": "Show all text",
19771
19779
  "wfs.feature.limit": "Too many features to display the WFS layer!",
19772
19780
  "wfs.featuretype.notfound": "No matching feature type was found in the service",
19773
19781
  "wfs.geojsongml.notsupported": "This service does not support the GeoJSON or GML format",
@@ -20066,6 +20074,10 @@ var es = {
20066
20074
  "facets.block.title.tag.default": "",
20067
20075
  "facets.block.title.th_regions_tree.default": "",
20068
20076
  "favorite.not.authenticated.tooltip": "",
20077
+ "feature.catalog.attribute.code": "",
20078
+ "feature.catalog.attribute.description": "",
20079
+ "feature.catalog.attribute.name": "",
20080
+ "feature.catalog.attribute.type": "",
20069
20081
  "input.file.dropFileLabel": "",
20070
20082
  "input.file.orInputUrl": "",
20071
20083
  "input.file.selectFileLabel": "",
@@ -20143,6 +20155,7 @@ var es = {
20143
20155
  "record.action.view": "",
20144
20156
  "record.card.metadata.contact": "",
20145
20157
  "record.externalViewer.open": "",
20158
+ "record.feature.catalog": "",
20146
20159
  "record.feature.catalog.number.total.attribute": "",
20147
20160
  "record.feature.catalog.number.total.object": "",
20148
20161
  "record.feature.limit": "",
@@ -20189,7 +20202,6 @@ var es = {
20189
20202
  "record.metadata.creation": "",
20190
20203
  "record.metadata.details": "",
20191
20204
  "record.metadata.download": "",
20192
- "record.metadata.feature.catalog": "",
20193
20205
  "record.metadata.formats": "",
20194
20206
  "record.metadata.keywords": "",
20195
20207
  "record.metadata.languages": "",
@@ -20337,7 +20349,6 @@ var es = {
20337
20349
  "service.metadata.other": "",
20338
20350
  "service.metadata.question": "",
20339
20351
  "service.metadata.search": "",
20340
- "service.metadata.search.clear": "",
20341
20352
  "service.metadata.spatialExtent": "",
20342
20353
  "share.tab.permalink": "",
20343
20354
  "share.tab.webComponent": "",
@@ -20654,6 +20665,10 @@ var fr = {
20654
20665
  "facets.block.title.tag.default": "Tag",
20655
20666
  "facets.block.title.th_regions_tree.default": "Régions",
20656
20667
  "favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Connectez-vous</a> pour avoir accès à cette fonctionnalité</div>",
20668
+ "feature.catalog.attribute.code": "Code",
20669
+ "feature.catalog.attribute.description": "Description",
20670
+ "feature.catalog.attribute.name": "Nom",
20671
+ "feature.catalog.attribute.type": "Type",
20657
20672
  "input.file.dropFileLabel": "ou glissez-le ici",
20658
20673
  "input.file.orInputUrl": "ou créez un lien vers une ressource externe",
20659
20674
  "input.file.selectFileLabel": "Sélectionnez un fichier ({sizeMB} Mo max.)",
@@ -20731,6 +20746,7 @@ var fr = {
20731
20746
  "record.action.view": "Voir",
20732
20747
  "record.card.metadata.contact": "Contact de la métadonnée ",
20733
20748
  "record.externalViewer.open": "Ouvrir dans le visualiseur externe",
20749
+ "record.metadata.feature.catalog": "Catalogue d'attributs",
20734
20750
  "record.feature.catalog.number.total.attribute": "Nombre total d'attributs",
20735
20751
  "record.feature.catalog.number.total.object": "Nombre total d'objets",
20736
20752
  "record.feature.limit": "L’aperçu a été désactivé en raison d’un trop grand nombre d'éléments",
@@ -20777,7 +20793,6 @@ var fr = {
20777
20793
  "record.metadata.creation": "Date de création",
20778
20794
  "record.metadata.details": "À propos de la donnée",
20779
20795
  "record.metadata.download": "Téléchargements",
20780
- "record.metadata.feature.catalog": "Catalogue d'attributs",
20781
20796
  "record.metadata.formats": "Formats",
20782
20797
  "record.metadata.keywords": "Mots-clés",
20783
20798
  "record.metadata.languages": "Langues",
@@ -20925,7 +20940,6 @@ var fr = {
20925
20940
  "service.metadata.other": "Autres informations",
20926
20941
  "service.metadata.question": "Poser une question",
20927
20942
  "service.metadata.search": "Rechercher dans la liste des couches",
20928
- "service.metadata.search.clear": "Effacer la recherche des couches",
20929
20943
  "service.metadata.spatialExtent": "Etendue spatiale",
20930
20944
  "share.tab.permalink": "Partager",
20931
20945
  "share.tab.webComponent": "Intégrer",
@@ -20944,6 +20958,8 @@ var fr = {
20944
20958
  "tooltip.url.open": "Ouvrir l'URL",
20945
20959
  "ui.readLess": "Réduire",
20946
20960
  "ui.readMore": "Lire la suite",
20961
+ "ui.hideFullText": "Masquer le texte complet",
20962
+ "ui.showAllText": "Tout afficher",
20947
20963
  "wfs.feature.limit": "Trop d'objets pour afficher la couche WFS !",
20948
20964
  "wfs.featuretype.notfound": "La classe d'objets n'a pas été trouvée dans le service",
20949
20965
  "wfs.geojsongml.notsupported": "Le service ne supporte pas le format GeoJSON ou GML",
@@ -21030,7 +21046,7 @@ var it = {
21030
21046
  "dataset.error.http": "Il caricamento dei dati non è riuscito a causa di un errore HTTP: \"{info}\"",
21031
21047
  "dataset.error.network": "Il caricamento dei dati non è riuscito a causa di un errore di rete o di limitazioni CORS: \"{info}\"",
21032
21048
  "dataset.error.parse": "I dati sono stati caricati ma la decodifica non è riuscita: \"{info}\"",
21033
- "dataset.error.restrictedAccess": "L'accesso a questa risorsa è limitato",
21049
+ "dataset.error.restrictedAccess": "",
21034
21050
  "dataset.error.unknown": "Impossibile visualizzare i dati: \"{info}\"",
21035
21051
  "dataset.error.unsupportedType": "Il seguente tipo di contenuto non è supportato: \"{info}\"",
21036
21052
  "domain.contact.role.author": "Autore",
@@ -21162,9 +21178,9 @@ var it = {
21162
21178
  "editor.record.form.license.odc-by": "Open Data Commons ODC-By",
21163
21179
  "editor.record.form.license.pddl": "Open Data Commons PDDL",
21164
21180
  "editor.record.form.license.unknown": "Sconosciuto o assente",
21165
- "editor.record.form.multilingual.enable": "Aprire il pannello multilingue",
21166
- "editor.record.form.multilingual.open": "Modalità multilingue",
21167
- "editor.record.form.multilingual.title": "Traduzioni",
21181
+ "editor.record.form.multilingual.enable": "",
21182
+ "editor.record.form.multilingual.open": "",
21183
+ "editor.record.form.multilingual.title": "",
21168
21184
  "editor.record.form.page.accessAndContact": "Informazioni per l'uso",
21169
21185
  "editor.record.form.page.description": "Descrizione del dataset",
21170
21186
  "editor.record.form.page.resources": "Risorse",
@@ -21194,7 +21210,7 @@ var it = {
21194
21210
  "editor.record.loadError.body": "Impossibile caricare il dataset:",
21195
21211
  "editor.record.loadError.closeMessage": "Capito",
21196
21212
  "editor.record.loadError.title": "Errore durante il caricamento",
21197
- "editor.record.lock.format": "I record con il formato 'servizio' o 'riutilizzo' non sono modificabili",
21213
+ "editor.record.lock.format": "",
21198
21214
  "editor.record.lock.reason": "Non è un editore di uno dei gruppi autorizzati",
21199
21215
  "editor.record.onlineResource.protocol.other": "Altro",
21200
21216
  "editor.record.onlineResourceError.body": "Ha successo un'errore durante l'aggiunta della risorsa:",
@@ -21242,6 +21258,10 @@ var it = {
21242
21258
  "facets.block.title.tag.default": "Tag",
21243
21259
  "facets.block.title.th_regions_tree.default": "Regioni",
21244
21260
  "favorite.not.authenticated.tooltip": "<div><a href=' {link} '>Login</a> per accedere a questa funzionalità</div>",
21261
+ "feature.catalog.attribute.code": "",
21262
+ "feature.catalog.attribute.description": "",
21263
+ "feature.catalog.attribute.name": "",
21264
+ "feature.catalog.attribute.type": "",
21245
21265
  "input.file.dropFileLabel": "oppure trascinalo qui",
21246
21266
  "input.file.orInputUrl": "o collegamento a una risorsa esterna",
21247
21267
  "input.file.selectFileLabel": "Seleziona un file ({sizeMB} MB max.)",
@@ -21293,7 +21313,7 @@ var it = {
21293
21313
  "map.wms.urlInput.hint": "Inserisci URL del servizio WMS",
21294
21314
  "multiselect.filter.placeholder": "Cerca",
21295
21315
  "nav.back": "Indietro",
21296
- "navbar.mobile.menuTitle": "Accesso rapido",
21316
+ "navbar.mobile.menuTitle": "",
21297
21317
  next: next$2,
21298
21318
  "ogc.unreachable.unknown": "Il servizio non è accessibile",
21299
21319
  "organisation.filter.placeholder": "Filtra i risultati",
@@ -21317,15 +21337,16 @@ var it = {
21317
21337
  "record.action.duplicating": "Duplicazione",
21318
21338
  "record.action.rollback": "Annulla",
21319
21339
  "record.action.view": "Visualizza",
21320
- "record.card.metadata.contact": "Contatto del metadata",
21340
+ "record.card.metadata.contact": "",
21321
21341
  "record.externalViewer.open": "Aprire nel visualizzatore esterno",
21322
- "record.feature.catalog.number.total.attribute": "Quantità totale di oggetti",
21323
- "record.feature.catalog.number.total.object": "Quantità totale di attributi",
21342
+ "record.feature.catalog": "",
21343
+ "record.feature.catalog.number.total.attribute": "",
21344
+ "record.feature.catalog.number.total.object": "",
21324
21345
  "record.feature.limit": "La visualizzazione è stata disabilitata a causa di troppi elementi ",
21325
- "record.kind.data": "Data",
21326
- "record.kind.dataset": "Dataset",
21327
- "record.kind.reuse": "Riutilizzato",
21328
- "record.kind.service": "Servizio",
21346
+ "record.kind.data": "",
21347
+ "record.kind.dataset": "",
21348
+ "record.kind.reuse": "",
21349
+ "record.kind.service": "",
21329
21350
  "record.metadata.about": "Descrizione",
21330
21351
  "record.metadata.api": "API",
21331
21352
  "record.metadata.api.form.closeButton": "Chiude",
@@ -21359,13 +21380,12 @@ var it = {
21359
21380
  "record.metadata.api.form.zoneTitle": "Zona",
21360
21381
  "record.metadata.api.form.zoneTooltip": "Menu a discesa per selezionare una zona geografica",
21361
21382
  "record.metadata.api.gpfdl": "Scarica",
21362
- "record.metadata.capabilities": "Capacità del servizio",
21383
+ "record.metadata.capabilities": "",
21363
21384
  "record.metadata.catalog": "Catalogo",
21364
21385
  "record.metadata.contact": "Contatto",
21365
21386
  "record.metadata.creation": "Data di creazione",
21366
21387
  "record.metadata.details": "A proposito del dati",
21367
21388
  "record.metadata.download": "Download",
21368
- "record.metadata.feature.catalog": "Catalogo dei oggetti",
21369
21389
  "record.metadata.formats": "Formati",
21370
21390
  "record.metadata.keywords": "Parole chiave",
21371
21391
  "record.metadata.languages": "Lingue",
@@ -21397,7 +21417,7 @@ var it = {
21397
21417
  "record.metadata.quality.updateFrequency.failed": "La frequenza di aggiornamento non è specificata",
21398
21418
  "record.metadata.quality.updateFrequency.success": "La frequenza di aggiornamento è specificata",
21399
21419
  "record.metadata.related": "Vedi anche",
21400
- "record.metadata.related.contents": "Contenuti correlati",
21420
+ "record.metadata.related.contents": "",
21401
21421
  "record.metadata.ressources.and.links": "Risorse e collegamenti",
21402
21422
  "record.metadata.sheet": "Origine del metadata",
21403
21423
  "record.metadata.status": "Stato",
@@ -21439,7 +21459,7 @@ var it = {
21439
21459
  "results.sortBy.popularity": "Popolarità",
21440
21460
  "results.sortBy.qualityScore": "Indicatore di qualità",
21441
21461
  "results.sortBy.relevancy": "Rilevanza",
21442
- "reuse.metadata.access": "Accedere al riutilizzo",
21462
+ "reuse.metadata.access": "",
21443
21463
  "search.autocomplete.error": "Impossibile recuperare le suggerimenti",
21444
21464
  "search.error.couldNotReachApi": "Problema di connessione all'API",
21445
21465
  "search.error.organizationHasNoDataset": "Questa organizzazione non ha ancora dati.",
@@ -21449,7 +21469,7 @@ var it = {
21449
21469
  "search.error.recordNotFound": "Impossibile trovare questi dati.",
21450
21470
  "search.field.any.placeholder": "Cerca del catalogo...",
21451
21471
  "search.field.sortBy": "Ordina per:",
21452
- "search.filter.into.feature.catalog": "Cerca una parola",
21472
+ "search.filter.into.feature.catalog": "",
21453
21473
  "search.filters.availableServices.download": "",
21454
21474
  "search.filters.availableServices.view": "",
21455
21475
  "search.filters.changeDate": "Aggiornato",
@@ -21495,26 +21515,25 @@ var it = {
21495
21515
  "search.filters.useSpatialFilterHelp": "Se attivata, le schede relative all'area di interesse del catalogo saranno mostrate per prime; le schede al di fuori di questa area non appariranno nei risultati.",
21496
21516
  "search.filters.user": "Editore",
21497
21517
  "service.metadata.capabilities": "Informazioni tecniche",
21498
- "service.metadata.capabilities.abstract": "Riassunto",
21499
- "service.metadata.capabilities.attribution": "Attribuzione",
21500
- "service.metadata.capabilities.availableCrs": "CRS disponibile",
21501
- "service.metadata.capabilities.defaultCrs": "CRS predefinito",
21502
- "service.metadata.capabilities.geometryName": "Nome della geometria",
21503
- "service.metadata.capabilities.geometryType": "Tipo della geometria",
21504
- "service.metadata.capabilities.keywords": "Parole chiave",
21505
- "service.metadata.capabilities.name": "Nome",
21506
- "service.metadata.capabilities.objectCount": "Oggetti conto",
21507
- "service.metadata.capabilities.otherCrs": "Altri CRS",
21508
- "service.metadata.capabilities.outputFormats": "Formato di output",
21509
- "service.metadata.capabilities.resourceLinks": "Risorsa links",
21510
- "service.metadata.capabilities.title": "Titolo",
21511
- "service.metadata.filter": "I layers verranno filtrati per titolo e riassunto",
21512
- "service.metadata.filter.noLayers": "Nessun layer abbina la ricerca",
21513
- "service.metadata.other": "Altri informazioni",
21514
- "service.metadata.question": "Fare una domanda",
21515
- "service.metadata.search": "Cerca nella lista del layers",
21516
- "service.metadata.search.clear": "Cancella la ricerca del layers",
21517
- "service.metadata.spatialExtent": "Estensione spaziale",
21518
+ "service.metadata.capabilities.abstract": "",
21519
+ "service.metadata.capabilities.attribution": "",
21520
+ "service.metadata.capabilities.availableCrs": "",
21521
+ "service.metadata.capabilities.defaultCrs": "",
21522
+ "service.metadata.capabilities.geometryName": "",
21523
+ "service.metadata.capabilities.geometryType": "",
21524
+ "service.metadata.capabilities.keywords": "",
21525
+ "service.metadata.capabilities.name": "",
21526
+ "service.metadata.capabilities.objectCount": "",
21527
+ "service.metadata.capabilities.otherCrs": "",
21528
+ "service.metadata.capabilities.outputFormats": "",
21529
+ "service.metadata.capabilities.resourceLinks": "",
21530
+ "service.metadata.capabilities.title": "",
21531
+ "service.metadata.filter": "",
21532
+ "service.metadata.filter.noLayers": "",
21533
+ "service.metadata.other": "",
21534
+ "service.metadata.question": "",
21535
+ "service.metadata.search": "",
21536
+ "service.metadata.spatialExtent": "",
21518
21537
  "share.tab.permalink": "Condividere",
21519
21538
  "share.tab.webComponent": "Incorporare",
21520
21539
  "table.loading.data": "Caricamento dei dati...",
@@ -21830,6 +21849,10 @@ var nl = {
21830
21849
  "facets.block.title.tag.default": "",
21831
21850
  "facets.block.title.th_regions_tree.default": "",
21832
21851
  "favorite.not.authenticated.tooltip": "",
21852
+ "feature.catalog.attribute.code": "",
21853
+ "feature.catalog.attribute.description": "",
21854
+ "feature.catalog.attribute.name": "",
21855
+ "feature.catalog.attribute.type": "",
21833
21856
  "input.file.dropFileLabel": "",
21834
21857
  "input.file.orInputUrl": "",
21835
21858
  "input.file.selectFileLabel": "",
@@ -21907,6 +21930,7 @@ var nl = {
21907
21930
  "record.action.view": "",
21908
21931
  "record.card.metadata.contact": "",
21909
21932
  "record.externalViewer.open": "",
21933
+ "record.feature.catalog": "",
21910
21934
  "record.feature.catalog.number.total.attribute": "",
21911
21935
  "record.feature.catalog.number.total.object": "",
21912
21936
  "record.feature.limit": "",
@@ -21953,7 +21977,6 @@ var nl = {
21953
21977
  "record.metadata.creation": "",
21954
21978
  "record.metadata.details": "",
21955
21979
  "record.metadata.download": "",
21956
- "record.metadata.feature.catalog": "",
21957
21980
  "record.metadata.formats": "",
21958
21981
  "record.metadata.keywords": "",
21959
21982
  "record.metadata.languages": "",
@@ -22101,7 +22124,6 @@ var nl = {
22101
22124
  "service.metadata.other": "",
22102
22125
  "service.metadata.question": "",
22103
22126
  "service.metadata.search": "",
22104
- "service.metadata.search.clear": "",
22105
22127
  "service.metadata.spatialExtent": "",
22106
22128
  "share.tab.permalink": "",
22107
22129
  "share.tab.webComponent": "",
@@ -22418,6 +22440,10 @@ var pt = {
22418
22440
  "facets.block.title.tag.default": "",
22419
22441
  "facets.block.title.th_regions_tree.default": "",
22420
22442
  "favorite.not.authenticated.tooltip": "",
22443
+ "feature.catalog.attribute.code": "",
22444
+ "feature.catalog.attribute.description": "",
22445
+ "feature.catalog.attribute.name": "",
22446
+ "feature.catalog.attribute.type": "",
22421
22447
  "input.file.dropFileLabel": "",
22422
22448
  "input.file.orInputUrl": "",
22423
22449
  "input.file.selectFileLabel": "",
@@ -22495,6 +22521,7 @@ var pt = {
22495
22521
  "record.action.view": "",
22496
22522
  "record.card.metadata.contact": "",
22497
22523
  "record.externalViewer.open": "",
22524
+ "record.feature.catalog": "",
22498
22525
  "record.feature.catalog.number.total.attribute": "",
22499
22526
  "record.feature.catalog.number.total.object": "",
22500
22527
  "record.feature.limit": "",
@@ -22541,7 +22568,6 @@ var pt = {
22541
22568
  "record.metadata.creation": "",
22542
22569
  "record.metadata.details": "",
22543
22570
  "record.metadata.download": "",
22544
- "record.metadata.feature.catalog": "",
22545
22571
  "record.metadata.formats": "",
22546
22572
  "record.metadata.keywords": "",
22547
22573
  "record.metadata.languages": "",
@@ -22689,7 +22715,6 @@ var pt = {
22689
22715
  "service.metadata.other": "",
22690
22716
  "service.metadata.question": "",
22691
22717
  "service.metadata.search": "",
22692
- "service.metadata.search.clear": "",
22693
22718
  "service.metadata.spatialExtent": "",
22694
22719
  "share.tab.permalink": "",
22695
22720
  "share.tab.webComponent": "",
@@ -25394,7 +25419,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
25394
25419
  }] });
25395
25420
 
25396
25421
  var name = "geonetwork-ui";
25397
- var version = "2.6.0-dev.d8333ac5d";
25422
+ var version = "2.6.0-dev.e052ad8ba";
25398
25423
  var engines = {
25399
25424
  node: ">=20"
25400
25425
  };
@@ -31238,11 +31263,6 @@ class ServiceCapabilitiesComponent {
31238
31263
  this.searchLayers();
31239
31264
  }
31240
31265
  }
31241
- clearSearch() {
31242
- this.searchActive = false;
31243
- this.searchQuery = '';
31244
- this.filteredLayers = this.availableLayers;
31245
- }
31246
31266
  async loadLayers() {
31247
31267
  if (this.apiLinks.length > 0 &&
31248
31268
  this.apiLinks[0].accessServiceProtocol !== 'ogcFeatures') {
@@ -31301,16 +31321,15 @@ class ServiceCapabilitiesComponent {
31301
31321
  }
31302
31322
  }
31303
31323
  getExtraClass(layerItem) {
31304
- return layerItem === this.selectedLayer
31324
+ return layerItem.title === this.selectedLayer?.title
31305
31325
  ? `h-8 rounded-lg bg-primary-darker text-white hover:text-primary-darker hover:bg-white`
31306
31326
  : `h-8 rounded-lg`;
31307
31327
  }
31308
31328
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ServiceCapabilitiesComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
31309
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ServiceCapabilitiesComponent, isStandalone: true, selector: "gn-ui-service-capabilities", inputs: { apiLinks: "apiLinks" }, ngImport: i0, template: "<div style=\"height: 652px\" id=\"preview\" *ngIf=\"apiLinks.length > 0\">\n <div class=\"bg-primary-opacity-10 overflow-visible\" style=\"height: 420px\">\n <div class=\"container-lg px-4 lg:mx-auto\">\n <div>\n <div class=\"gn-ui-section-title mb-6\" translate>\n service.metadata.capabilities\n </div>\n <div\n *ngIf=\"loading\"\n class=\"flex justify-center w-full h-[200px] items-center\"\n >\n <gn-ui-spinning-loader></gn-ui-spinning-loader>\n </div>\n <div *ngIf=\"!loading\">\n <div class=\"flex flex-row gap-5\">\n <div class=\"h-14 md:w-2/5 w-full mb-4 flex flex-row relative\">\n <gn-ui-text-input\n class=\"w-full\"\n [(value)]=\"searchQuery\"\n [extraClass]=\"getExtraInputClass()\"\n [placeholder]=\"'service.metadata.search' | translate\"\n (input)=\"onSearchChange($event)\"\n (keydown.enter)=\"onSearchEnter($event)\"\n >\n </gn-ui-text-input>\n <div\n class=\"absolute right-14 h-14 w-14 flex items-center justify-center\"\n >\n <button\n #inputBtn\n *ngIf=\"searchQuery\"\n [aria-label]=\"'service.metadata.search.clear' | translate\"\n (click)=\"clearSearch()\"\n class=\"h-12 w-12 border-0 flex items-center justify-center\"\n >\n <ng-icon name=\"matClose\"></ng-icon>\n </button>\n </div>\n <div class=\"border-l absolute border-gray-200 right-0 h-14 w-14\">\n <gn-ui-button\n #inputBtn\n type=\"outline\"\n extraClass=\"h-12 w-12 border-0 absolute right-1 top-1 bg-white\"\n (buttonClick)=\"searchLayers()\"\n >\n <ng-icon name=\"iconoirSearch\"></ng-icon>\n </gn-ui-button>\n </div>\n </div>\n <gn-ui-popover\n [content]=\"popoverItems\"\n theme=\"light\"\n class=\"w-14 h-14 border border-gray-300 rounded-lg flex justify-center items-center\"\n >\n <ng-icon name=\"matInfoOutline\" class=\"w-6 h-6 pt-0.5\"></ng-icon>\n </gn-ui-popover>\n </div>\n <div\n style=\"height: 500px\"\n class=\"bg-white shadow-xl rounded p-0 flex md:flex-row flex-col\"\n >\n <div\n class=\"flex flex-col gap-2 bg-gray-100 md:w-1/2 md:h-full w-full h-1/2 rounded-l overflow-y-auto py-5 pr-1 pl-3\"\n data-test=\"layer-list\"\n >\n <gn-ui-button\n *ngFor=\"let layerItem of filteredLayers\"\n type=\"outline\"\n [extraClass]=\"getExtraClass(layerItem)\"\n (buttonClick)=\"selectLayer(layerItem)\"\n >\n {{ layerItem.title || layerItem.name }}\n </gn-ui-button>\n <span *ngIf=\"filteredLayers.length === 0\" class=\"text-gray-800\">\n {{ 'service.metadata.filter.noLayers' | translate }}\n </span>\n </div>\n <div\n data-test=\"layer-information\"\n class=\"flex flex-col gap-4 md:h-full md:w-1/2 w-full h-1/2 py-5 px-10 overflow-y-auto\"\n >\n <div\n *ngFor=\"let item of layerInformation\"\n class=\"flex flex-row gap-4 border-b border-gray-200\"\n >\n <span class=\"font-semibold w-24\">{{ item.displayName }}</span>\n <div *ngIf=\"isList(item.value)\">\n <div\n *ngFor=\"let subItem of item.value\"\n class=\"flex flex-row break-words max-w-72\"\n >\n {{ subItem }}\n </div>\n </div>\n <div class=\"break-words max-w-72\" *ngIf=\"!isList(item.value)\">\n {{ item.value }}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #popoverItems>\n <div class=\"p-2 py-4\">\n <div translate>service.metadata.filter</div>\n </div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: ButtonComponent, selector: "gn-ui-button", inputs: ["type", "disabled", "extraClass"], outputs: ["buttonClick"] }, { kind: "component", type: TextInputComponent, selector: "gn-ui-text-input", inputs: ["value", "extraClass", "placeholder", "required", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "component", type: PopoverComponent, selector: "gn-ui-popover", inputs: ["content", "theme"] }, { kind: "component", type: SpinningLoaderComponent, selector: "gn-ui-spinning-loader" }], viewProviders: [
31329
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ServiceCapabilitiesComponent, isStandalone: true, selector: "gn-ui-service-capabilities", inputs: { apiLinks: "apiLinks" }, ngImport: i0, template: "<div style=\"height: 652px\" id=\"preview\" *ngIf=\"apiLinks.length > 0\">\n <div class=\"bg-primary-opacity-10 overflow-visible\" style=\"height: 420px\">\n <div class=\"container-lg px-4 lg:mx-auto\">\n <div>\n <div class=\"gn-ui-section-title mb-6\" translate>\n service.metadata.capabilities\n </div>\n <div\n *ngIf=\"loading\"\n class=\"flex justify-center w-full h-[200px] items-center\"\n >\n <gn-ui-spinning-loader></gn-ui-spinning-loader>\n </div>\n <div *ngIf=\"!loading\">\n <div class=\"flex flex-row gap-5\">\n <div class=\"h-14 md:w-2/5 w-full mb-4 flex flex-row relative\">\n <gn-ui-text-input\n class=\"w-full\"\n [extraClass]=\"getExtraInputClass()\"\n [placeholder]=\"'service.metadata.search' | translate\"\n (input)=\"onSearchChange($event)\"\n (keydown.enter)=\"onSearchEnter($event)\"\n >\n </gn-ui-text-input>\n <div class=\"border-l absolute border-gray-200 right-0 h-14 w-14\">\n <gn-ui-button\n #inputBtn\n type=\"outline\"\n extraClass=\"h-12 w-12 border-0 absolute right-1 top-1\"\n (buttonClick)=\"searchLayers()\"\n >\n <ng-icon name=\"iconoirSearch\"></ng-icon>\n </gn-ui-button>\n </div>\n </div>\n <gn-ui-popover\n [content]=\"popoverItems\"\n theme=\"light\"\n class=\"w-14 h-14 border border-gray-300 rounded-lg flex justify-center items-center\"\n >\n <ng-icon name=\"matInfoOutline\" class=\"w-6 h-6 pt-0.5\"></ng-icon>\n </gn-ui-popover>\n </div>\n <div\n style=\"height: 500px\"\n class=\"bg-white shadow-xl rounded p-0 flex md:flex-row flex-col\"\n >\n <div\n class=\"flex flex-col gap-2 bg-gray-100 md:w-1/2 md:h-full w-full h-1/2 rounded-l overflow-y-auto py-5 pr-1 pl-3\"\n data-test=\"layer-list\"\n >\n <gn-ui-button\n *ngFor=\"let layerItem of filteredLayers\"\n type=\"outline\"\n [extraClass]=\"getExtraClass(layerItem)\"\n (buttonClick)=\"selectLayer(layerItem)\"\n >\n {{ layerItem.title || layerItem.name }}\n </gn-ui-button>\n <span *ngIf=\"filteredLayers.length === 0\" class=\"text-gray-800\">\n {{ 'service.metadata.filter.noLayers' | translate }}\n </span>\n </div>\n <div\n data-test=\"layer-information\"\n class=\"flex flex-col gap-4 md:h-full md:w-1/2 w-full h-1/2 py-5 px-10 overflow-y-auto\"\n >\n <div\n *ngFor=\"let item of layerInformation\"\n class=\"flex flex-row gap-4 border-b border-gray-200\"\n >\n <span class=\"font-semibold w-24\">{{ item.displayName }}</span>\n <div *ngIf=\"isList(item.value)\">\n <div\n *ngFor=\"let subItem of item.value\"\n class=\"flex flex-row break-words max-w-72\"\n >\n {{ subItem }}\n </div>\n </div>\n <div class=\"break-words max-w-72\" *ngIf=\"!isList(item.value)\">\n {{ item.value }}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #popoverItems>\n <div class=\"p-2 py-4\">\n <div translate>service.metadata.filter</div>\n </div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: ButtonComponent, selector: "gn-ui-button", inputs: ["type", "disabled", "extraClass"], outputs: ["buttonClick"] }, { kind: "component", type: TextInputComponent, selector: "gn-ui-text-input", inputs: ["value", "extraClass", "placeholder", "required", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "component", type: PopoverComponent, selector: "gn-ui-popover", inputs: ["content", "theme"] }, { kind: "component", type: SpinningLoaderComponent, selector: "gn-ui-spinning-loader" }], viewProviders: [
31310
31330
  provideIcons({
31311
31331
  iconoirSearch,
31312
31332
  matInfoOutline,
31313
- matClose,
31314
31333
  }),
31315
31334
  ] }); }
31316
31335
  }
@@ -31328,9 +31347,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
31328
31347
  provideIcons({
31329
31348
  iconoirSearch,
31330
31349
  matInfoOutline,
31331
- matClose,
31332
31350
  }),
31333
- ], template: "<div style=\"height: 652px\" id=\"preview\" *ngIf=\"apiLinks.length > 0\">\n <div class=\"bg-primary-opacity-10 overflow-visible\" style=\"height: 420px\">\n <div class=\"container-lg px-4 lg:mx-auto\">\n <div>\n <div class=\"gn-ui-section-title mb-6\" translate>\n service.metadata.capabilities\n </div>\n <div\n *ngIf=\"loading\"\n class=\"flex justify-center w-full h-[200px] items-center\"\n >\n <gn-ui-spinning-loader></gn-ui-spinning-loader>\n </div>\n <div *ngIf=\"!loading\">\n <div class=\"flex flex-row gap-5\">\n <div class=\"h-14 md:w-2/5 w-full mb-4 flex flex-row relative\">\n <gn-ui-text-input\n class=\"w-full\"\n [(value)]=\"searchQuery\"\n [extraClass]=\"getExtraInputClass()\"\n [placeholder]=\"'service.metadata.search' | translate\"\n (input)=\"onSearchChange($event)\"\n (keydown.enter)=\"onSearchEnter($event)\"\n >\n </gn-ui-text-input>\n <div\n class=\"absolute right-14 h-14 w-14 flex items-center justify-center\"\n >\n <button\n #inputBtn\n *ngIf=\"searchQuery\"\n [aria-label]=\"'service.metadata.search.clear' | translate\"\n (click)=\"clearSearch()\"\n class=\"h-12 w-12 border-0 flex items-center justify-center\"\n >\n <ng-icon name=\"matClose\"></ng-icon>\n </button>\n </div>\n <div class=\"border-l absolute border-gray-200 right-0 h-14 w-14\">\n <gn-ui-button\n #inputBtn\n type=\"outline\"\n extraClass=\"h-12 w-12 border-0 absolute right-1 top-1 bg-white\"\n (buttonClick)=\"searchLayers()\"\n >\n <ng-icon name=\"iconoirSearch\"></ng-icon>\n </gn-ui-button>\n </div>\n </div>\n <gn-ui-popover\n [content]=\"popoverItems\"\n theme=\"light\"\n class=\"w-14 h-14 border border-gray-300 rounded-lg flex justify-center items-center\"\n >\n <ng-icon name=\"matInfoOutline\" class=\"w-6 h-6 pt-0.5\"></ng-icon>\n </gn-ui-popover>\n </div>\n <div\n style=\"height: 500px\"\n class=\"bg-white shadow-xl rounded p-0 flex md:flex-row flex-col\"\n >\n <div\n class=\"flex flex-col gap-2 bg-gray-100 md:w-1/2 md:h-full w-full h-1/2 rounded-l overflow-y-auto py-5 pr-1 pl-3\"\n data-test=\"layer-list\"\n >\n <gn-ui-button\n *ngFor=\"let layerItem of filteredLayers\"\n type=\"outline\"\n [extraClass]=\"getExtraClass(layerItem)\"\n (buttonClick)=\"selectLayer(layerItem)\"\n >\n {{ layerItem.title || layerItem.name }}\n </gn-ui-button>\n <span *ngIf=\"filteredLayers.length === 0\" class=\"text-gray-800\">\n {{ 'service.metadata.filter.noLayers' | translate }}\n </span>\n </div>\n <div\n data-test=\"layer-information\"\n class=\"flex flex-col gap-4 md:h-full md:w-1/2 w-full h-1/2 py-5 px-10 overflow-y-auto\"\n >\n <div\n *ngFor=\"let item of layerInformation\"\n class=\"flex flex-row gap-4 border-b border-gray-200\"\n >\n <span class=\"font-semibold w-24\">{{ item.displayName }}</span>\n <div *ngIf=\"isList(item.value)\">\n <div\n *ngFor=\"let subItem of item.value\"\n class=\"flex flex-row break-words max-w-72\"\n >\n {{ subItem }}\n </div>\n </div>\n <div class=\"break-words max-w-72\" *ngIf=\"!isList(item.value)\">\n {{ item.value }}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #popoverItems>\n <div class=\"p-2 py-4\">\n <div translate>service.metadata.filter</div>\n </div>\n</ng-template>\n" }]
31351
+ ], template: "<div style=\"height: 652px\" id=\"preview\" *ngIf=\"apiLinks.length > 0\">\n <div class=\"bg-primary-opacity-10 overflow-visible\" style=\"height: 420px\">\n <div class=\"container-lg px-4 lg:mx-auto\">\n <div>\n <div class=\"gn-ui-section-title mb-6\" translate>\n service.metadata.capabilities\n </div>\n <div\n *ngIf=\"loading\"\n class=\"flex justify-center w-full h-[200px] items-center\"\n >\n <gn-ui-spinning-loader></gn-ui-spinning-loader>\n </div>\n <div *ngIf=\"!loading\">\n <div class=\"flex flex-row gap-5\">\n <div class=\"h-14 md:w-2/5 w-full mb-4 flex flex-row relative\">\n <gn-ui-text-input\n class=\"w-full\"\n [extraClass]=\"getExtraInputClass()\"\n [placeholder]=\"'service.metadata.search' | translate\"\n (input)=\"onSearchChange($event)\"\n (keydown.enter)=\"onSearchEnter($event)\"\n >\n </gn-ui-text-input>\n <div class=\"border-l absolute border-gray-200 right-0 h-14 w-14\">\n <gn-ui-button\n #inputBtn\n type=\"outline\"\n extraClass=\"h-12 w-12 border-0 absolute right-1 top-1\"\n (buttonClick)=\"searchLayers()\"\n >\n <ng-icon name=\"iconoirSearch\"></ng-icon>\n </gn-ui-button>\n </div>\n </div>\n <gn-ui-popover\n [content]=\"popoverItems\"\n theme=\"light\"\n class=\"w-14 h-14 border border-gray-300 rounded-lg flex justify-center items-center\"\n >\n <ng-icon name=\"matInfoOutline\" class=\"w-6 h-6 pt-0.5\"></ng-icon>\n </gn-ui-popover>\n </div>\n <div\n style=\"height: 500px\"\n class=\"bg-white shadow-xl rounded p-0 flex md:flex-row flex-col\"\n >\n <div\n class=\"flex flex-col gap-2 bg-gray-100 md:w-1/2 md:h-full w-full h-1/2 rounded-l overflow-y-auto py-5 pr-1 pl-3\"\n data-test=\"layer-list\"\n >\n <gn-ui-button\n *ngFor=\"let layerItem of filteredLayers\"\n type=\"outline\"\n [extraClass]=\"getExtraClass(layerItem)\"\n (buttonClick)=\"selectLayer(layerItem)\"\n >\n {{ layerItem.title || layerItem.name }}\n </gn-ui-button>\n <span *ngIf=\"filteredLayers.length === 0\" class=\"text-gray-800\">\n {{ 'service.metadata.filter.noLayers' | translate }}\n </span>\n </div>\n <div\n data-test=\"layer-information\"\n class=\"flex flex-col gap-4 md:h-full md:w-1/2 w-full h-1/2 py-5 px-10 overflow-y-auto\"\n >\n <div\n *ngFor=\"let item of layerInformation\"\n class=\"flex flex-row gap-4 border-b border-gray-200\"\n >\n <span class=\"font-semibold w-24\">{{ item.displayName }}</span>\n <div *ngIf=\"isList(item.value)\">\n <div\n *ngFor=\"let subItem of item.value\"\n class=\"flex flex-row break-words max-w-72\"\n >\n {{ subItem }}\n </div>\n </div>\n <div class=\"break-words max-w-72\" *ngIf=\"!isList(item.value)\">\n {{ item.value }}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<ng-template #popoverItems>\n <div class=\"p-2 py-4\">\n <div translate>service.metadata.filter</div>\n </div>\n</ng-template>\n" }]
31334
31352
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$1.TranslateService }], propDecorators: { apiLinks: [{
31335
31353
  type: Input
31336
31354
  }] } });
@@ -37323,6 +37341,28 @@ class DataService {
37323
37341
  }
37324
37342
  return styleLinks;
37325
37343
  }
37344
+ // async getStylesFromTms(
37345
+ // url: string
37346
+ // ): Promise<{ href: string; name: string }[]> {
37347
+ // try {
37348
+ // const endpoint = new TmsEndpoint(url)
37349
+ // const tileMaps = await endpoint.allTileMaps
37350
+ // if (!tileMaps?.length) return null
37351
+ //
37352
+ // const tileMapInfo = await endpoint.getTileMapInfo(tileMaps[0].href)
37353
+ // if (!tileMapInfo?.metadata?.length) return null
37354
+ //
37355
+ // return tileMapInfo.metadata
37356
+ // .filter((meta) => meta.href)
37357
+ // .map((meta) => {
37358
+ // const fileName = meta.href.split('/').pop() || ''
37359
+ // const name = fileName.split('.')[0]
37360
+ // return { href: meta.href, name }
37361
+ // })
37362
+ // } catch {
37363
+ // return null
37364
+ // }
37365
+ // }
37326
37366
  getDownloadLinksFromEsriRest(esriRestLink) {
37327
37367
  return ['json', 'geojson'].map((format) => ({
37328
37368
  ...esriRestLink,
@@ -38367,8 +38407,20 @@ class MdViewFacade {
38367
38407
  this.related$ = this.store.pipe(select(getRelated));
38368
38408
  this.chartConfig$ = this.store.pipe(select(getChartConfig));
38369
38409
  this.allLinks$ = this.metadata$.pipe(map$1((record) => 'onlineResources' in record ? record.onlineResources : []), shareReplay(1));
38370
- this.apiLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.API))), shareReplay(1));
38371
- this.mapApiLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.MAP_API))), shareReplay(1));
38410
+ this.apiLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.API))),
38411
+ // switchMap((apiLinks) =>
38412
+ // this.processLinksForTmsWithStyles(
38413
+ // apiLinks as DatasetServiceDistribution[]
38414
+ // )
38415
+ // ),
38416
+ shareReplay(1));
38417
+ this.mapApiLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.MAP_API))),
38418
+ // switchMap((mapApiLinks) =>
38419
+ // this.processLinksForTmsWithStyles(
38420
+ // mapApiLinks as DatasetServiceDistribution[]
38421
+ // )
38422
+ // ),
38423
+ shareReplay(1));
38372
38424
  this.downloadLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.DOWNLOAD))));
38373
38425
  this.dataLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.DATA))));
38374
38426
  this.geoDataLinks$ = this.allLinks$.pipe(map$1((links) => links.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.GEODATA))));
@@ -38427,6 +38479,46 @@ class MdViewFacade {
38427
38479
  loadUserFeedbacks(datasetUuid) {
38428
38480
  this.store.dispatch(loadUserFeedbacks({ datasetUuid }));
38429
38481
  }
38482
+ // private processLinksForTmsWithStyles(
38483
+ // links: DatasetServiceDistribution[]
38484
+ // ): Observable<DatasetServiceDistribution[]> {
38485
+ // return from(links).pipe(
38486
+ // concatMap((link) => this.createOneTmsLinkPerStyle(link)),
38487
+ // toArray(),
38488
+ // map((links) => links.flat())
38489
+ // )
38490
+ // }
38491
+ //
38492
+ // private createOneTmsLinkPerStyle(
38493
+ // link: DatasetServiceDistribution
38494
+ // ): Observable<DatasetServiceDistribution[]> {
38495
+ // if (
38496
+ // link.type === 'service' &&
38497
+ // link.accessServiceProtocol === 'tms' &&
38498
+ // !link.styleInfo
38499
+ // ) {
38500
+ // return from(this.dataService.getStylesFromTms(link.url.href)).pipe(
38501
+ // map((styles) =>
38502
+ // styles
38503
+ // ? styles.map((style) => ({
38504
+ // ...link,
38505
+ // name: `${link.name} - ${style.name}`,
38506
+ // url: new URL(style.href),
38507
+ // styleInfo: {
38508
+ // name: style.name,
38509
+ // href: style.href,
38510
+ // },
38511
+ // }))
38512
+ // : [link]
38513
+ // ),
38514
+ // catchError((e) => {
38515
+ // console.error('Error fetching TMS styles:', e)
38516
+ // return of([link])
38517
+ // })
38518
+ // )
38519
+ // }
38520
+ // return of([link])
38521
+ // }
38430
38522
  /**
38431
38523
  * loadFeatureCatalog
38432
38524
  */
@@ -39338,6 +39430,7 @@ class MapViewComponent {
39338
39430
  return of([]);
39339
39431
  }
39340
39432
  return this.getLayerFromLink(link).pipe(map$1((layer) => [layer]), catchError((e) => {
39433
+ console.error(e);
39341
39434
  this.handleError(e);
39342
39435
  return of([]);
39343
39436
  }), finalize(() => (this.loading = false)));