geonetwork-ui 2.1.0 → 2.2.0-dev.auto-publish-npm-package
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/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -42
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +5 -1
- package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +8 -1
- package/esm2022/translations/de.json +3 -0
- package/esm2022/translations/en.json +5 -2
- package/esm2022/translations/es.json +3 -0
- package/esm2022/translations/fr.json +7 -4
- package/esm2022/translations/it.json +6 -0
- package/esm2022/translations/nl.json +3 -0
- package/esm2022/translations/pt.json +3 -0
- package/fesm2022/geonetwork-ui.mjs +42 -47
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
- package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts +0 -3
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +2 -0
- package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
- package/libs/util/shared/src/lib/services/theme.service.d.ts +1 -0
- package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -44
- package/src/libs/util/app-config/src/lib/app-config.ts +4 -0
- package/src/libs/util/app-config/src/lib/model.ts +2 -0
- package/src/libs/util/shared/src/lib/services/theme.service.ts +9 -0
- package/tailwind.base.css +31 -1
- package/translations/de.json +3 -0
- package/translations/en.json +5 -2
- package/translations/es.json +3 -0
- package/translations/fr.json +7 -4
- package/translations/it.json +6 -0
- package/translations/nl.json +3 -0
- package/translations/pt.json +3 -0
- package/translations/sk.json +3 -0
|
@@ -16781,6 +16781,9 @@ var de = {
|
|
|
16781
16781
|
"datahub.header.organisations": "Organisationen",
|
|
16782
16782
|
"datahub.header.popularRecords": "Die beliebtesten",
|
|
16783
16783
|
"datahub.header.title.html": "<div class=\"text-white\">Entdecken Sie offene<br> Daten von meiner Organisation</div>",
|
|
16784
|
+
"datahub.news.contact.contactus": "",
|
|
16785
|
+
"datahub.news.contact.html": "",
|
|
16786
|
+
"datahub.news.contact.title": "",
|
|
16784
16787
|
"datahub.news.feed": "Nachrichtenfeed",
|
|
16785
16788
|
"datahub.news.figures": "Indikatoren",
|
|
16786
16789
|
"datahub.search.back": "Zurück zu den Ergebnissen",
|
|
@@ -17016,12 +17019,12 @@ var en = {
|
|
|
17016
17019
|
"dashboard.records.myRecords": "My Records",
|
|
17017
17020
|
"dashboard.records.noRecord": "No record for this organization",
|
|
17018
17021
|
"dashboard.records.noUser": "No users for this organization",
|
|
17019
|
-
"dashboard.records.publishedRecords": "published records",
|
|
17022
|
+
"dashboard.records.publishedRecords": "{count, plural, =1{published record} other{published records}}",
|
|
17020
17023
|
"dashboard.records.search": "Search for \"{searchText}\"",
|
|
17021
17024
|
"dashboard.records.userDetail": "Name",
|
|
17022
17025
|
"dashboard.records.userEmail": "Email",
|
|
17023
17026
|
"dashboard.records.username": "Username",
|
|
17024
|
-
"dashboard.records.users": "users",
|
|
17027
|
+
"dashboard.records.users": "{count, plural, =1{user} other{users}}",
|
|
17025
17028
|
"datafeeder.analysisProgressBar.illustration.fileFormatDetection": "File format \n detection",
|
|
17026
17029
|
"datafeeder.analysisProgressBar.illustration.gatheringDatasetInformation": "Gathering dataset \n information",
|
|
17027
17030
|
"datafeeder.analysisProgressBar.illustration.samplingData": "Sampling \n data",
|
|
@@ -17102,6 +17105,9 @@ var en = {
|
|
|
17102
17105
|
"datahub.header.organisations": "Organisations",
|
|
17103
17106
|
"datahub.header.popularRecords": "The most popular",
|
|
17104
17107
|
"datahub.header.title.html": "<div class=\"text-white\">Discover open<br> data from my Organization</div>",
|
|
17108
|
+
"datahub.news.contact.contactus": "Contact us",
|
|
17109
|
+
"datahub.news.contact.html": "<p>Do you need data that is not currently present on the platform?</p><p>Our teams are here to answer you.</p>",
|
|
17110
|
+
"datahub.news.contact.title": "A specific need?",
|
|
17105
17111
|
"datahub.news.feed": "News feed",
|
|
17106
17112
|
"datahub.news.figures": "Indicators",
|
|
17107
17113
|
"datahub.search.back": "Back to results",
|
|
@@ -17423,6 +17429,9 @@ var es = {
|
|
|
17423
17429
|
"datahub.header.organisations": "",
|
|
17424
17430
|
"datahub.header.popularRecords": "",
|
|
17425
17431
|
"datahub.header.title.html": "",
|
|
17432
|
+
"datahub.news.contact.contactus": "",
|
|
17433
|
+
"datahub.news.contact.html": "",
|
|
17434
|
+
"datahub.news.contact.title": "",
|
|
17426
17435
|
"datahub.news.feed": "",
|
|
17427
17436
|
"datahub.news.figures": "",
|
|
17428
17437
|
"datahub.search.back": "",
|
|
@@ -17658,12 +17667,12 @@ var fr = {
|
|
|
17658
17667
|
"dashboard.records.myRecords": "Mes fiches publiées",
|
|
17659
17668
|
"dashboard.records.noRecord": "Aucun jeu de données pour cette organisation",
|
|
17660
17669
|
"dashboard.records.noUser": "Aucun utilisateur pour cette organisation",
|
|
17661
|
-
"dashboard.records.publishedRecords": "données publiées",
|
|
17670
|
+
"dashboard.records.publishedRecords": "{count, plural, =1{donnée publiée} other{données publiées}}",
|
|
17662
17671
|
"dashboard.records.search": "Résultats pour \"{searchText}\"",
|
|
17663
17672
|
"dashboard.records.userDetail": "Nom",
|
|
17664
17673
|
"dashboard.records.userEmail": "Email",
|
|
17665
17674
|
"dashboard.records.username": "Nom d'utilisateur",
|
|
17666
|
-
"dashboard.records.users": "utilisateurs",
|
|
17675
|
+
"dashboard.records.users": "{count, plural, =1{utilisateur} other{utilisateurs}}",
|
|
17667
17676
|
"datafeeder.analysisProgressBar.illustration.fileFormatDetection": "Détection du \n format de fichier",
|
|
17668
17677
|
"datafeeder.analysisProgressBar.illustration.gatheringDatasetInformation": "Récupération des informations \n sur le jeu de données",
|
|
17669
17678
|
"datafeeder.analysisProgressBar.illustration.samplingData": "Sampling \n des données",
|
|
@@ -17744,6 +17753,9 @@ var fr = {
|
|
|
17744
17753
|
"datahub.header.organisations": "Organisations",
|
|
17745
17754
|
"datahub.header.popularRecords": "Les plus appréciées",
|
|
17746
17755
|
"datahub.header.title.html": "<div class=\"text-white\">Toutes les données<br>publiques de mon organisation</div>",
|
|
17756
|
+
"datahub.news.contact.contactus": "Contactez-nous",
|
|
17757
|
+
"datahub.news.contact.html": "<p>Vous avez besoin de données qui ne sont pas présentes sur la plateforme actuellement ? </p><p> Nos équipes sont la pour vous répondre.</p>",
|
|
17758
|
+
"datahub.news.contact.title": "Un besoin spécifique ?",
|
|
17747
17759
|
"datahub.news.feed": "Fil d'activité",
|
|
17748
17760
|
"datahub.news.figures": "Quelques chiffres",
|
|
17749
17761
|
"datahub.search.back": "Retour aux résultats",
|
|
@@ -17886,10 +17898,10 @@ var fr = {
|
|
|
17886
17898
|
"record.was.created.time": "a créé ce jeu de données {time}",
|
|
17887
17899
|
records: records$3,
|
|
17888
17900
|
"results.layout.selectOne": "Affichage des résultats",
|
|
17889
|
-
"results.records.hits.displayedOn": "",
|
|
17901
|
+
"results.records.hits.displayedOn": "{displayed, plural, =0{Aucun enregistrement} one{1 enregistrement affiché} other{{displayed} enregistrements affichés}} {hits, plural, other{sur {hits} au total.}}",
|
|
17890
17902
|
"results.records.hits.empty.help.html": "Suggestions : <ul class='list-disc list-inside'><li>Essayez d'autres mots clés</li><li>Cherchez moins de mots</li></ul>",
|
|
17891
17903
|
"results.records.hits.found": "{hits, plural, =0{Aucune correspondance.} one{1 enregistrement trouvé.} other{{hits} résultats.}}",
|
|
17892
|
-
"results.records.hits.selected": "",
|
|
17904
|
+
"results.records.hits.selected": "{amount, plural, one{1 selectionnée} other{{ amount } sélectionnées}}",
|
|
17893
17905
|
"results.showMore": "Plus de résultats...",
|
|
17894
17906
|
"results.sortBy.dateStamp": "Plus récent",
|
|
17895
17907
|
"results.sortBy.popularity": "Popularité",
|
|
@@ -18065,6 +18077,9 @@ var it = {
|
|
|
18065
18077
|
"datahub.header.organisations": "Organizzazioni",
|
|
18066
18078
|
"datahub.header.popularRecords": "Più popolari",
|
|
18067
18079
|
"datahub.header.title.html": "<div class=\"text-white\">Tutti i dati<br>pubblici della mia organizzazione</div>",
|
|
18080
|
+
"datahub.news.contact.contactus": "",
|
|
18081
|
+
"datahub.news.contact.html": "",
|
|
18082
|
+
"datahub.news.contact.title": "",
|
|
18068
18083
|
"datahub.news.feed": "Feed di attività",
|
|
18069
18084
|
"datahub.news.figures": "Alcune figure",
|
|
18070
18085
|
"datahub.search.back": "Torna ai risultati",
|
|
@@ -18094,6 +18109,7 @@ var it = {
|
|
|
18094
18109
|
"downloads.format.unknown": "sconosciuto",
|
|
18095
18110
|
"downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
|
|
18096
18111
|
dropFile: dropFile$2,
|
|
18112
|
+
"externalviewer.dataset.unnamed": "",
|
|
18097
18113
|
"facets.block.title.OrgForResource": "Organizzazione",
|
|
18098
18114
|
"facets.block.title.availableInServices": "Disponibile per",
|
|
18099
18115
|
"facets.block.title.cl_hierarchyLevel.key": "Tipo di risorsa",
|
|
@@ -18260,6 +18276,8 @@ var it = {
|
|
|
18260
18276
|
"tooltip.html.copy": "Copiare il HTML",
|
|
18261
18277
|
"tooltip.url.copy": "Copiare l'URL",
|
|
18262
18278
|
"tooltip.url.open": "Aprire l'URL",
|
|
18279
|
+
"ui.readLess": "",
|
|
18280
|
+
"ui.readMore": "",
|
|
18263
18281
|
"wfs.featuretype.notfound": "La classe di oggetto non è stata trovata nel servizio",
|
|
18264
18282
|
"wfs.geojsongml.notsupported": "Il servizio non supporta il formato GeoJSON o GML",
|
|
18265
18283
|
"wfs.unreachable.cors": "Il servizio non è accessibile a causa di limitazioni CORS",
|
|
@@ -18383,6 +18401,9 @@ var nl = {
|
|
|
18383
18401
|
"datahub.header.organisations": "",
|
|
18384
18402
|
"datahub.header.popularRecords": "",
|
|
18385
18403
|
"datahub.header.title.html": "",
|
|
18404
|
+
"datahub.news.contact.contactus": "",
|
|
18405
|
+
"datahub.news.contact.html": "",
|
|
18406
|
+
"datahub.news.contact.title": "",
|
|
18386
18407
|
"datahub.news.feed": "",
|
|
18387
18408
|
"datahub.news.figures": "",
|
|
18388
18409
|
"datahub.search.back": "",
|
|
@@ -18704,6 +18725,9 @@ var pt = {
|
|
|
18704
18725
|
"datahub.header.organisations": "",
|
|
18705
18726
|
"datahub.header.popularRecords": "",
|
|
18706
18727
|
"datahub.header.title.html": "",
|
|
18728
|
+
"datahub.news.contact.contactus": "",
|
|
18729
|
+
"datahub.news.contact.html": "",
|
|
18730
|
+
"datahub.news.contact.title": "",
|
|
18707
18731
|
"datahub.news.feed": "",
|
|
18708
18732
|
"datahub.news.figures": "",
|
|
18709
18733
|
"datahub.search.back": "",
|
|
@@ -20736,6 +20760,13 @@ class ThemeService {
|
|
|
20736
20760
|
}
|
|
20737
20761
|
return chroma.hsl(hue % 360, saturation, lightness).css();
|
|
20738
20762
|
}
|
|
20763
|
+
static setFavicon(faviconPath) {
|
|
20764
|
+
const link = document.querySelector("link[rel*='icon']") ||
|
|
20765
|
+
document.createElement('link');
|
|
20766
|
+
link['rel'] = 'icon';
|
|
20767
|
+
link['href'] = faviconPath;
|
|
20768
|
+
document.getElementsByTagName('head')[0].appendChild(link);
|
|
20769
|
+
}
|
|
20739
20770
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20740
20771
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ThemeService, providedIn: 'root' }); }
|
|
20741
20772
|
}
|
|
@@ -22043,6 +22074,7 @@ function loadAppConfig() {
|
|
|
22043
22074
|
'login_url',
|
|
22044
22075
|
'web_component_embedder_url',
|
|
22045
22076
|
'languages',
|
|
22077
|
+
'contact_email',
|
|
22046
22078
|
], warnings, errors);
|
|
22047
22079
|
if (parsedGlobalSection?.metadata_language) {
|
|
22048
22080
|
parsedGlobalSection = checkMetadataLanguage(parsedGlobalSection, warnings);
|
|
@@ -22060,6 +22092,7 @@ function loadAppConfig() {
|
|
|
22060
22092
|
LOGIN_URL: parsedGlobalSection.login_url,
|
|
22061
22093
|
WEB_COMPONENT_EMBEDDER_URL: parsedGlobalSection.web_component_embedder_url,
|
|
22062
22094
|
LANGUAGES: parsedGlobalSection.languages,
|
|
22095
|
+
CONTACT_EMAIL: parsedGlobalSection.contact_email,
|
|
22063
22096
|
};
|
|
22064
22097
|
const parsedLayersSections = parseMultiConfigSection(parsed, 'map_layer', ['type'], ['name', 'url', 'data'], warnings, errors);
|
|
22065
22098
|
const parsedMapSection = parseConfigSection(parsed, 'map', [], [
|
|
@@ -22093,6 +22126,7 @@ function loadAppConfig() {
|
|
|
22093
22126
|
'fonts_stylesheet_url',
|
|
22094
22127
|
'thumbnail_placeholder',
|
|
22095
22128
|
'header_background',
|
|
22129
|
+
'favicon',
|
|
22096
22130
|
], warnings, errors);
|
|
22097
22131
|
themeConfig =
|
|
22098
22132
|
parsedThemeSection === null
|
|
@@ -22108,6 +22142,7 @@ function loadAppConfig() {
|
|
|
22108
22142
|
TITLE_FONT: parsedThemeSection.title_font,
|
|
22109
22143
|
MAIN_FONT: parsedThemeSection.main_font,
|
|
22110
22144
|
FONTS_STYLESHEET_URL: parsedThemeSection.fonts_stylesheet_url,
|
|
22145
|
+
FAVICON: parsedThemeSection.favicon,
|
|
22111
22146
|
};
|
|
22112
22147
|
const parsedSearchSection = parseConfigSection(parsed, 'search', [], [
|
|
22113
22148
|
'filter_geometry_data',
|
|
@@ -23906,47 +23941,7 @@ class ButtonComponent {
|
|
|
23906
23941
|
this.buttonClick = new EventEmitter();
|
|
23907
23942
|
}
|
|
23908
23943
|
get classList() {
|
|
23909
|
-
return
|
|
23910
|
-
}
|
|
23911
|
-
get color() {
|
|
23912
|
-
switch (this.type) {
|
|
23913
|
-
case 'default':
|
|
23914
|
-
return 'bg-gray-700 hover:bg-gray-800 hover:bg-gray-800 active:bg-gray-900';
|
|
23915
|
-
case 'primary':
|
|
23916
|
-
return 'bg-primary hover:bg-primary-darker focus:bg-primary-darker active:bg-primary-darkest';
|
|
23917
|
-
case 'secondary':
|
|
23918
|
-
return 'bg-secondary hover:bg-secondary-darker focus:bg-secondary-darker active:bg-secondary-darkest';
|
|
23919
|
-
case 'outline':
|
|
23920
|
-
return 'bg-white';
|
|
23921
|
-
case 'light':
|
|
23922
|
-
return 'bg-white hover:bg-gray-50 focus:bg-gray-50 active:bg-gray-100';
|
|
23923
|
-
}
|
|
23924
|
-
}
|
|
23925
|
-
get textColor() {
|
|
23926
|
-
switch (this.type) {
|
|
23927
|
-
case 'default':
|
|
23928
|
-
case 'secondary':
|
|
23929
|
-
case 'primary':
|
|
23930
|
-
return 'text-white';
|
|
23931
|
-
case 'outline':
|
|
23932
|
-
return 'text-main hover:text-primary-darker focus:text-primary-darker active:text-primary-black';
|
|
23933
|
-
case 'light':
|
|
23934
|
-
return 'text-main';
|
|
23935
|
-
}
|
|
23936
|
-
}
|
|
23937
|
-
get borderColor() {
|
|
23938
|
-
switch (this.type) {
|
|
23939
|
-
case 'default':
|
|
23940
|
-
return 'border border-gray-700 focus:ring-4 focus:ring-gray-200';
|
|
23941
|
-
case 'secondary':
|
|
23942
|
-
return 'border border-secondary focus:ring-4 focus:ring-secondary-lightest';
|
|
23943
|
-
case 'primary':
|
|
23944
|
-
return 'border border-primary focus:ring-4 focus:ring-primary-lightest';
|
|
23945
|
-
case 'outline':
|
|
23946
|
-
return 'border border-gray-300 hover:border-primary-lighter focus:border-primary-lighter focus:ring-4 focus:ring-primary-lightest active:border-primary-darker';
|
|
23947
|
-
case 'light':
|
|
23948
|
-
return 'border border-white focus:ring-4 focus:ring-gray-300';
|
|
23949
|
-
}
|
|
23944
|
+
return `btn-${this.type} ${this.extraClass}`;
|
|
23950
23945
|
}
|
|
23951
23946
|
handleClick(event) {
|
|
23952
23947
|
this.buttonClick.emit();
|