geonetwork-ui 2.6.0-dev.502fa026d → 2.6.0-dev.582b4530a
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/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +6 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +5 -1
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +5 -1
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -1
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -1
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +27 -6
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +22 -6
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +163 -0
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +29 -7
- package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -2
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +21 -19
- package/esm2022/translations/de.json +8 -0
- package/esm2022/translations/en.json +9 -1
- package/esm2022/translations/es.json +8 -0
- package/esm2022/translations/fr.json +8 -0
- package/esm2022/translations/it.json +8 -1
- package/esm2022/translations/nl.json +8 -0
- package/esm2022/translations/pt.json +8 -0
- package/fesm2022/geonetwork-ui.mjs +340 -55
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +4 -0
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts +9 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +8 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +43 -0
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +10 -2
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +16 -16
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +6 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +4 -0
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +4 -0
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -0
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +5 -0
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +1 -1
- package/src/libs/ui/elements/src/index.ts +1 -0
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +64 -38
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +26 -2
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +17 -17
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +20 -2
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +7 -6
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.css +0 -0
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +156 -0
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +190 -0
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +27 -29
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +33 -3
- package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +1 -1
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +4 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +2 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -0
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -4
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -2
- package/src/libs/util/shared/src/lib/links/link-utils.ts +20 -18
- package/tailwind.base.css +34 -1
- package/translations/de.json +8 -0
- package/translations/en.json +9 -1
- package/translations/es.json +8 -0
- package/translations/fr.json +8 -0
- package/translations/it.json +8 -1
- package/translations/nl.json +8 -0
- package/translations/pt.json +8 -0
- package/translations/sk.json +8 -0
|
@@ -16,7 +16,7 @@ import { TranslateMessageFormatCompiler } from 'ngx-translate-messageformat-comp
|
|
|
16
16
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
17
17
|
import { map as map$1, catchError, tap as tap$1, shareReplay, filter, startWith, withLatestFrom, switchMap as switchMap$1, take, mergeMap, throttleTime, distinctUntilChanged, debounceTime, finalize, first as first$1, share, pairwise, delay, defaultIfEmpty, toArray } from 'rxjs/operators';
|
|
18
18
|
import * as i1$2 from '@angular/common';
|
|
19
|
-
import { CommonModule, NgSwitch, NgSwitchCase, NgSwitchDefault, NgOptimizedImage, DatePipe
|
|
19
|
+
import { CommonModule, NgSwitch, NgSwitchCase, NgSwitchDefault, NgClass, NgIf, NgTemplateOutlet, NgOptimizedImage, DatePipe } from '@angular/common';
|
|
20
20
|
import { of, map as map$2, lastValueFrom, Subject, switchMap, combineLatest, from, exhaustMap, throwError, forkJoin, takeLast, firstValueFrom, merge, BehaviorSubject, fromEvent, animationFrameScheduler, ReplaySubject, Subscription, first, distinctUntilChanged as distinctUntilChanged$1, filter as filter$1, tap as tap$2, Observable, buffer, debounceTime as debounceTime$1, combineLatestWith, catchError as catchError$1, timer, takeUntil, EMPTY, mergeMap as mergeMap$1, startWith as startWith$1, withLatestFrom as withLatestFrom$1, shareReplay as shareReplay$1, pairwise as pairwise$1 } from 'rxjs';
|
|
21
21
|
import { lt, valid, coerce, satisfies, ltr } from 'semver';
|
|
22
22
|
import chroma from 'chroma-js';
|
|
@@ -26,8 +26,8 @@ import { createAction, props, createReducer, on, createFeatureSelector, createSe
|
|
|
26
26
|
import EmblaCarousel from 'embla-carousel';
|
|
27
27
|
import * as i2$2 from '@ng-icons/core';
|
|
28
28
|
import { provideIcons, NgIcon, NgIconComponent, provideNgIconsConfig, NgIconsModule } from '@ng-icons/core';
|
|
29
|
-
import { iconoirNavArrowRight, iconoirNavArrowLeft, iconoirNavArrowDown, iconoirNavArrowUp, iconoirSearch, iconoirLongArrowDownLeft, iconoirCalendar, iconoirLink, iconoirArrowUp, iconoirCloudUpload, iconoirFramePlusIn, iconoirMediaImage, iconoirMediaImageXmark, iconoirBin, iconoirPlus, iconoirUser, iconoirLock, iconoirImport, iconoirLightBulbOn, iconoirArrowLeft, iconoirAttachment, iconoirRefresh } from '@ng-icons/iconoir';
|
|
30
|
-
import { matExpandMore, matExpandLess, matAdd, matRemove, matClose, matContentCopy, matSearch, matStar, matStarBorder, matChevronLeft, matChevronRight, matArrowForward, matArrowBack, matCheck, matWarningAmber,
|
|
29
|
+
import { iconoirNavArrowRight, iconoirNavArrowLeft, iconoirNavArrowDown, iconoirNavArrowUp, iconoirSearch, iconoirLongArrowDownLeft, iconoirCalendar, iconoirLink, iconoirArrowUp, iconoirCloudUpload, iconoirFramePlusIn, iconoirSettings, iconoirDownload, iconoirMediaImage, iconoirMediaImageXmark, iconoirBin, iconoirPlus, iconoirDatabase, iconoirMap, iconoirInternet, iconoirUser, iconoirLock, iconoirImport, iconoirLightBulbOn, iconoirArrowLeft, iconoirAttachment, iconoirRefresh } from '@ng-icons/iconoir';
|
|
30
|
+
import { matExpandMore, matExpandLess, matAdd, matRemove, matClose, matContentCopy, matSearch, matStar, matStarBorder, matChevronLeft, matChevronRight, matArrowForward, matArrowBack, matCheck, matWarningAmber, matFace, matQuestionMark, matMoodBad, matZoomOutMap, matOpenInNew, matMailOutline, matPersonOutline, matCheckCircleOutline, matWarning, matCode, matMoreVert, matCorporateFare } from '@ng-icons/material-icons/baseline';
|
|
31
31
|
import * as i1$4 from '@angular/material/tooltip';
|
|
32
32
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
33
33
|
import { moveItemInArray, CdkDropList, CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';
|
|
@@ -41,7 +41,7 @@ import { TagInputModule } from 'ngx-chips';
|
|
|
41
41
|
import * as i1$5 from '@angular/material/progress-spinner';
|
|
42
42
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
43
43
|
import tippy from 'tippy.js';
|
|
44
|
-
import { matErrorOutlineOutline, matInfoOutline,
|
|
44
|
+
import { matErrorOutlineOutline, matInfoOutline, matComputerOutline, matCallOutline, matLocationOnOutline, matMailOutline as matMailOutline$1, matWarningAmberOutline, matCloseOutline, matLocationSearchingOutline, matEmailOutline, matPhoneOutline, matSendOutline, matMapOutline, matCloudDownloadOutline, matHomeWorkOutline, matSwipeOutline, matLayersOutline, matAddCircleOutlineOutline } from '@ng-icons/material-icons/outline';
|
|
45
45
|
import * as i2 from '@angular/material/core';
|
|
46
46
|
import { MatNativeDateModule, MAT_DATE_LOCALE, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
|
|
47
47
|
import * as i1$7 from '@angular/material/checkbox';
|
|
@@ -18602,6 +18602,7 @@ var records$6 = "Datensätze";
|
|
|
18602
18602
|
var de = {
|
|
18603
18603
|
"": "",
|
|
18604
18604
|
"Add Layer As": "",
|
|
18605
|
+
"Enter to search": "",
|
|
18605
18606
|
"button.login": "",
|
|
18606
18607
|
"catalog.figures.datasets": "{count, plural, =0{Datensätze} one{Datensatz} other{Datensätze}}",
|
|
18607
18608
|
"catalog.figures.organizations": "{count, plural, =0{Organisationen} one{Organisation} other{Organisationen}}",
|
|
@@ -18673,6 +18674,7 @@ var de = {
|
|
|
18673
18674
|
"dataset.error.http": "Die Daten konnten aufgrund eines HTTP-Fehlers nicht geladen werden: \"{ info }\"",
|
|
18674
18675
|
"dataset.error.network": "Die Daten konnten aufgrund eines Netzwerkfehlers oder CORS-Beschränkungen nicht geladen werden: \"{ info }\"",
|
|
18675
18676
|
"dataset.error.parse": "Die Daten wurden geladen, konnten aber nicht gelesen werden: \"{ info }\"",
|
|
18677
|
+
"dataset.error.restrictedAccess": "",
|
|
18676
18678
|
"dataset.error.unknown": "Die Daten können nicht angezeigt werden: \"{ info }\"",
|
|
18677
18679
|
"dataset.error.unsupportedType": "Der folgende Inhaltstyp wird nicht unterstützt: \"{ info }\"",
|
|
18678
18680
|
"domain.contact.role.author": "",
|
|
@@ -18955,8 +18957,12 @@ var de = {
|
|
|
18955
18957
|
"record.action.duplicating": "",
|
|
18956
18958
|
"record.action.rollback": "",
|
|
18957
18959
|
"record.action.view": "Anzeigen",
|
|
18960
|
+
"record.card.metadata.contact": "",
|
|
18958
18961
|
"record.externalViewer.open": "In externem Kartenviewer öffnen",
|
|
18959
18962
|
"record.feature.limit": "Die Vorschau wurde aufgrund zu vieler Elemente deaktiviert",
|
|
18963
|
+
"record.kind.dataset": "",
|
|
18964
|
+
"record.kind.reuse": "",
|
|
18965
|
+
"record.kind.service": "",
|
|
18960
18966
|
"record.metadata.about": "Beschreibung",
|
|
18961
18967
|
"record.metadata.api": "API",
|
|
18962
18968
|
"record.metadata.api.form.closeButton": "Schließen",
|
|
@@ -19026,6 +19032,8 @@ var de = {
|
|
|
19026
19032
|
"record.metadata.quality.updateFrequency.failed": "Aktualisierungsfrequenz nicht angegeben",
|
|
19027
19033
|
"record.metadata.quality.updateFrequency.success": "Aktualisierungsfrequenz angegeben",
|
|
19028
19034
|
"record.metadata.related": "Ähnliche Datensätze",
|
|
19035
|
+
"record.metadata.related.contents": "Verwandte Inhalte",
|
|
19036
|
+
"record.metadata.ressources.and.links": "Ressourcen und Links",
|
|
19029
19037
|
"record.metadata.sheet": "Weitere Informationen verfügbar unter:",
|
|
19030
19038
|
"record.metadata.status": "Status",
|
|
19031
19039
|
"record.metadata.status.notPublished": "",
|
|
@@ -19148,6 +19156,7 @@ var records$5 = "datasets";
|
|
|
19148
19156
|
var en = {
|
|
19149
19157
|
"": "",
|
|
19150
19158
|
"Add Layer As": "",
|
|
19159
|
+
"Enter to search": "",
|
|
19151
19160
|
"button.login": "Log in",
|
|
19152
19161
|
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
|
|
19153
19162
|
"catalog.figures.organizations": "{count, plural, =0{organizations} one{organization} other{organizations}}",
|
|
@@ -19213,12 +19222,13 @@ var en = {
|
|
|
19213
19222
|
"datahub.search.back": "Back",
|
|
19214
19223
|
"datahub.search.filter.all": "All",
|
|
19215
19224
|
"datahub.search.filter.generatedByAPI": "Generated by an API",
|
|
19216
|
-
"datahub.search.filter.generatedByWfs": "",
|
|
19225
|
+
"datahub.search.filter.generatedByWfs": "Generated by a WFS",
|
|
19217
19226
|
"datahub.search.filter.others": "Others",
|
|
19218
19227
|
"dataset.error.forbidden": "Access to this resource is restricted",
|
|
19219
19228
|
"dataset.error.http": "The data could not be loaded because of an HTTP error: \"{ info }\"",
|
|
19220
19229
|
"dataset.error.network": "The data could not be loaded because of a network error or CORS limitations: \"{ info }\"",
|
|
19221
19230
|
"dataset.error.parse": "The data was loaded but could not be parsed: \"{ info }\"",
|
|
19231
|
+
"dataset.error.restrictedAccess": "Access to this resource is restricted",
|
|
19222
19232
|
"dataset.error.unknown": "The data cannot be displayed: \"{ info }\"",
|
|
19223
19233
|
"dataset.error.unsupportedType": "The following content type is unsupported: \"{ info }\"",
|
|
19224
19234
|
"domain.contact.role.author": "Author",
|
|
@@ -19501,8 +19511,12 @@ var en = {
|
|
|
19501
19511
|
"record.action.duplicating": "Duplicating...",
|
|
19502
19512
|
"record.action.rollback": "Rollback",
|
|
19503
19513
|
"record.action.view": "View",
|
|
19514
|
+
"record.card.metadata.contact": "Metadata Contact",
|
|
19504
19515
|
"record.externalViewer.open": "Open in the external map viewer",
|
|
19505
19516
|
"record.feature.limit": "Preview disabled due to too many elements",
|
|
19517
|
+
"record.kind.dataset": "Data",
|
|
19518
|
+
"record.kind.reuse": "Reuse",
|
|
19519
|
+
"record.kind.service": "Service",
|
|
19506
19520
|
"record.metadata.about": "Description",
|
|
19507
19521
|
"record.metadata.api": "API",
|
|
19508
19522
|
"record.metadata.api.form.closeButton": "Close",
|
|
@@ -19572,6 +19586,8 @@ var en = {
|
|
|
19572
19586
|
"record.metadata.quality.updateFrequency.failed": "Update frequency is not specified",
|
|
19573
19587
|
"record.metadata.quality.updateFrequency.success": "Update frequency is specified",
|
|
19574
19588
|
"record.metadata.related": "Related datasets",
|
|
19589
|
+
"record.metadata.related.contents": "Related contents",
|
|
19590
|
+
"record.metadata.ressources.and.links": "Resources and links",
|
|
19575
19591
|
"record.metadata.sheet": "Original metadata",
|
|
19576
19592
|
"record.metadata.status": "Status",
|
|
19577
19593
|
"record.metadata.status.notPublished": "Not published",
|
|
@@ -19694,6 +19710,7 @@ var records$4 = "";
|
|
|
19694
19710
|
var es = {
|
|
19695
19711
|
"": "",
|
|
19696
19712
|
"Add Layer As": "",
|
|
19713
|
+
"Enter to search": "",
|
|
19697
19714
|
"button.login": "",
|
|
19698
19715
|
"catalog.figures.datasets": "conjuntos de datos",
|
|
19699
19716
|
"catalog.figures.organizations": "organizaciones",
|
|
@@ -19765,6 +19782,7 @@ var es = {
|
|
|
19765
19782
|
"dataset.error.http": "",
|
|
19766
19783
|
"dataset.error.network": "",
|
|
19767
19784
|
"dataset.error.parse": "",
|
|
19785
|
+
"dataset.error.restrictedAccess": "",
|
|
19768
19786
|
"dataset.error.unknown": "",
|
|
19769
19787
|
"dataset.error.unsupportedType": "",
|
|
19770
19788
|
"domain.contact.role.author": "",
|
|
@@ -20047,8 +20065,12 @@ var es = {
|
|
|
20047
20065
|
"record.action.duplicating": "",
|
|
20048
20066
|
"record.action.rollback": "",
|
|
20049
20067
|
"record.action.view": "",
|
|
20068
|
+
"record.card.metadata.contact": "",
|
|
20050
20069
|
"record.externalViewer.open": "",
|
|
20051
20070
|
"record.feature.limit": "",
|
|
20071
|
+
"record.kind.dataset": "",
|
|
20072
|
+
"record.kind.reuse": "",
|
|
20073
|
+
"record.kind.service": "",
|
|
20052
20074
|
"record.metadata.about": "",
|
|
20053
20075
|
"record.metadata.api": "",
|
|
20054
20076
|
"record.metadata.api.form.closeButton": "",
|
|
@@ -20118,6 +20140,8 @@ var es = {
|
|
|
20118
20140
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
20119
20141
|
"record.metadata.quality.updateFrequency.success": "",
|
|
20120
20142
|
"record.metadata.related": "",
|
|
20143
|
+
"record.metadata.related.contents": "Contenidos relacionados",
|
|
20144
|
+
"record.metadata.ressources.and.links": "Recursos y enlaces",
|
|
20121
20145
|
"record.metadata.sheet": "",
|
|
20122
20146
|
"record.metadata.status": "",
|
|
20123
20147
|
"record.metadata.status.notPublished": "",
|
|
@@ -20240,6 +20264,7 @@ var records$3 = "Enregistrements";
|
|
|
20240
20264
|
var fr = {
|
|
20241
20265
|
"": "",
|
|
20242
20266
|
"Add Layer As": "",
|
|
20267
|
+
"Enter to search": "",
|
|
20243
20268
|
"button.login": "Se connecter",
|
|
20244
20269
|
"catalog.figures.datasets": "{count, plural, =0{données} one{donnée} other{données}}",
|
|
20245
20270
|
"catalog.figures.organizations": "{count, plural, =0{organisations} one{organisation} other{organisations}}",
|
|
@@ -20311,6 +20336,7 @@ var fr = {
|
|
|
20311
20336
|
"dataset.error.http": "Le chargement des données a échoué en raison d'une erreur HTTP: \"{ info }\"",
|
|
20312
20337
|
"dataset.error.network": "Le chargement des données a échoué en raison d'une erreur réseau ou de limitations CORS: \"{ info }\"",
|
|
20313
20338
|
"dataset.error.parse": "Les données ont été chargées mais leur décodage a échoué: \"{ info }\"",
|
|
20339
|
+
"dataset.error.restrictedAccess": "L’accès à cette ressource est restreint",
|
|
20314
20340
|
"dataset.error.unknown": "Les données ne peuvent être affichées: \"{ info }\"",
|
|
20315
20341
|
"dataset.error.unsupportedType": "Le type de contenu suivant n'est pas pris en charge: \"{ info }\"",
|
|
20316
20342
|
"domain.contact.role.author": "Auteur",
|
|
@@ -20593,8 +20619,12 @@ var fr = {
|
|
|
20593
20619
|
"record.action.duplicating": "Duplication...",
|
|
20594
20620
|
"record.action.rollback": "Restaurer",
|
|
20595
20621
|
"record.action.view": "Voir",
|
|
20622
|
+
"record.card.metadata.contact": "Contact de la métadonnée ",
|
|
20596
20623
|
"record.externalViewer.open": "Ouvrir dans le visualiseur externe",
|
|
20597
20624
|
"record.feature.limit": "L’aperçu a été désactivé en raison d’un trop grand nombre d'éléments",
|
|
20625
|
+
"record.kind.dataset": "Donnée",
|
|
20626
|
+
"record.kind.reuse": "Réutilisation",
|
|
20627
|
+
"record.kind.service": "Service",
|
|
20598
20628
|
"record.metadata.about": "Description",
|
|
20599
20629
|
"record.metadata.api": "API",
|
|
20600
20630
|
"record.metadata.api.form.closeButton": "Fermer",
|
|
@@ -20664,6 +20694,8 @@ var fr = {
|
|
|
20664
20694
|
"record.metadata.quality.updateFrequency.failed": "La fréquence de mise à jour n'est pas renseignée",
|
|
20665
20695
|
"record.metadata.quality.updateFrequency.success": "La fréquence de mise à jour est renseignée",
|
|
20666
20696
|
"record.metadata.related": "Voir aussi",
|
|
20697
|
+
"record.metadata.related.contents": "Contenus associés",
|
|
20698
|
+
"record.metadata.ressources.and.links": "Ressources et liens",
|
|
20667
20699
|
"record.metadata.sheet": "Fiche de métadonnées d'origine",
|
|
20668
20700
|
"record.metadata.status": "Statut",
|
|
20669
20701
|
"record.metadata.status.notPublished": "Non publié",
|
|
@@ -20786,6 +20818,7 @@ var records$2 = "record";
|
|
|
20786
20818
|
var it = {
|
|
20787
20819
|
"": "",
|
|
20788
20820
|
"Add Layer As": "",
|
|
20821
|
+
"Enter to search": "",
|
|
20789
20822
|
"button.login": "Login",
|
|
20790
20823
|
"catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
|
|
20791
20824
|
"catalog.figures.organizations": "{count, plural, =0{organizzazioni} one{organizzazione} other{organizzazioni}}",
|
|
@@ -20857,6 +20890,7 @@ var it = {
|
|
|
20857
20890
|
"dataset.error.http": "Il caricamento dei dati non è riuscito a causa di un errore HTTP: \"{info}\"",
|
|
20858
20891
|
"dataset.error.network": "Il caricamento dei dati non è riuscito a causa di un errore di rete o di limitazioni CORS: \"{info}\"",
|
|
20859
20892
|
"dataset.error.parse": "I dati sono stati caricati ma la decodifica non è riuscita: \"{info}\"",
|
|
20893
|
+
"dataset.error.restrictedAccess": "",
|
|
20860
20894
|
"dataset.error.unknown": "Impossibile visualizzare i dati: \"{info}\"",
|
|
20861
20895
|
"dataset.error.unsupportedType": "Il seguente tipo di contenuto non è supportato: \"{info}\"",
|
|
20862
20896
|
"domain.contact.role.author": "Autore",
|
|
@@ -21139,8 +21173,12 @@ var it = {
|
|
|
21139
21173
|
"record.action.duplicating": "Duplicazione",
|
|
21140
21174
|
"record.action.rollback": "Annulla",
|
|
21141
21175
|
"record.action.view": "Visualizza",
|
|
21176
|
+
"record.card.metadata.contact": "",
|
|
21142
21177
|
"record.externalViewer.open": "Aprire nel visualizzatore esterno",
|
|
21143
21178
|
"record.feature.limit": "La visualizzazione è stata disabilitata a causa di troppi elementi ",
|
|
21179
|
+
"record.kind.dataset": "",
|
|
21180
|
+
"record.kind.reuse": "",
|
|
21181
|
+
"record.kind.service": "",
|
|
21144
21182
|
"record.metadata.about": "Descrizione",
|
|
21145
21183
|
"record.metadata.api": "API",
|
|
21146
21184
|
"record.metadata.api.form.closeButton": "Chiude",
|
|
@@ -21210,6 +21248,8 @@ var it = {
|
|
|
21210
21248
|
"record.metadata.quality.updateFrequency.failed": "La frequenza di aggiornamento non è specificata",
|
|
21211
21249
|
"record.metadata.quality.updateFrequency.success": "La frequenza di aggiornamento è specificata",
|
|
21212
21250
|
"record.metadata.related": "Vedi anche",
|
|
21251
|
+
"record.metadata.related.contents": "Contenuti correlati",
|
|
21252
|
+
"record.metadata.ressources.and.links": "Risorse e collegamenti",
|
|
21213
21253
|
"record.metadata.sheet": "Origine del metadata",
|
|
21214
21254
|
"record.metadata.status": "Stato",
|
|
21215
21255
|
"record.metadata.status.notPublished": "Non pubblicato",
|
|
@@ -21317,7 +21357,6 @@ var it = {
|
|
|
21317
21357
|
"tooltip.url.open": "Aprire l'URL",
|
|
21318
21358
|
"ui.readLess": "Ridurre",
|
|
21319
21359
|
"ui.readMore": "Leggere di più",
|
|
21320
|
-
"wfs.aggregations.notsupported": "Aggregazioni non supportate per i servizi WFS",
|
|
21321
21360
|
"wfs.feature.limit": "Troppi oggetti per visualizzare il WFS layer!",
|
|
21322
21361
|
"wfs.featuretype.notfound": "La classe di oggetto non è stata trovata nel servizio",
|
|
21323
21362
|
"wfs.geojsongml.notsupported": "Il servizio non supporta il formato GeoJSON o GML",
|
|
@@ -21333,6 +21372,7 @@ var records$1 = "";
|
|
|
21333
21372
|
var nl = {
|
|
21334
21373
|
"": "",
|
|
21335
21374
|
"Add Layer As": "",
|
|
21375
|
+
"Enter to search": "",
|
|
21336
21376
|
"button.login": "",
|
|
21337
21377
|
"catalog.figures.datasets": "datasets",
|
|
21338
21378
|
"catalog.figures.organizations": "organisaties",
|
|
@@ -21404,6 +21444,7 @@ var nl = {
|
|
|
21404
21444
|
"dataset.error.http": "",
|
|
21405
21445
|
"dataset.error.network": "",
|
|
21406
21446
|
"dataset.error.parse": "",
|
|
21447
|
+
"dataset.error.restrictedAccess": "",
|
|
21407
21448
|
"dataset.error.unknown": "",
|
|
21408
21449
|
"dataset.error.unsupportedType": "",
|
|
21409
21450
|
"domain.contact.role.author": "",
|
|
@@ -21686,8 +21727,12 @@ var nl = {
|
|
|
21686
21727
|
"record.action.duplicating": "",
|
|
21687
21728
|
"record.action.rollback": "",
|
|
21688
21729
|
"record.action.view": "",
|
|
21730
|
+
"record.card.metadata.contact": "",
|
|
21689
21731
|
"record.externalViewer.open": "",
|
|
21690
21732
|
"record.feature.limit": "",
|
|
21733
|
+
"record.kind.dataset": "",
|
|
21734
|
+
"record.kind.reuse": "",
|
|
21735
|
+
"record.kind.service": "",
|
|
21691
21736
|
"record.metadata.about": "",
|
|
21692
21737
|
"record.metadata.api": "",
|
|
21693
21738
|
"record.metadata.api.form.closeButton": "",
|
|
@@ -21757,6 +21802,8 @@ var nl = {
|
|
|
21757
21802
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
21758
21803
|
"record.metadata.quality.updateFrequency.success": "",
|
|
21759
21804
|
"record.metadata.related": "",
|
|
21805
|
+
"record.metadata.related.contents": "Gerelateerde inhoud",
|
|
21806
|
+
"record.metadata.ressources.and.links": "Bronnen en links",
|
|
21760
21807
|
"record.metadata.sheet": "",
|
|
21761
21808
|
"record.metadata.status": "",
|
|
21762
21809
|
"record.metadata.status.notPublished": "",
|
|
@@ -21879,6 +21926,7 @@ var records = "";
|
|
|
21879
21926
|
var pt = {
|
|
21880
21927
|
"": "",
|
|
21881
21928
|
"Add Layer As": "",
|
|
21929
|
+
"Enter to search": "",
|
|
21882
21930
|
"button.login": "",
|
|
21883
21931
|
"catalog.figures.datasets": "conjuntos de dados",
|
|
21884
21932
|
"catalog.figures.organizations": "organizações",
|
|
@@ -21950,6 +21998,7 @@ var pt = {
|
|
|
21950
21998
|
"dataset.error.http": "",
|
|
21951
21999
|
"dataset.error.network": "",
|
|
21952
22000
|
"dataset.error.parse": "",
|
|
22001
|
+
"dataset.error.restrictedAccess": "",
|
|
21953
22002
|
"dataset.error.unknown": "",
|
|
21954
22003
|
"dataset.error.unsupportedType": "",
|
|
21955
22004
|
"domain.contact.role.author": "",
|
|
@@ -22232,8 +22281,12 @@ var pt = {
|
|
|
22232
22281
|
"record.action.duplicating": "",
|
|
22233
22282
|
"record.action.rollback": "",
|
|
22234
22283
|
"record.action.view": "",
|
|
22284
|
+
"record.card.metadata.contact": "",
|
|
22235
22285
|
"record.externalViewer.open": "",
|
|
22236
22286
|
"record.feature.limit": "",
|
|
22287
|
+
"record.kind.dataset": "",
|
|
22288
|
+
"record.kind.reuse": "",
|
|
22289
|
+
"record.kind.service": "",
|
|
22237
22290
|
"record.metadata.about": "",
|
|
22238
22291
|
"record.metadata.api": "",
|
|
22239
22292
|
"record.metadata.api.form.closeButton": "",
|
|
@@ -22303,6 +22356,8 @@ var pt = {
|
|
|
22303
22356
|
"record.metadata.quality.updateFrequency.failed": "",
|
|
22304
22357
|
"record.metadata.quality.updateFrequency.success": "",
|
|
22305
22358
|
"record.metadata.related": "",
|
|
22359
|
+
"record.metadata.related.contents": "Conteúdos relacionados",
|
|
22360
|
+
"record.metadata.ressources.and.links": "Recursos e links",
|
|
22306
22361
|
"record.metadata.sheet": "",
|
|
22307
22362
|
"record.metadata.status": "",
|
|
22308
22363
|
"record.metadata.status.notPublished": "",
|
|
@@ -22696,6 +22751,10 @@ class Gn4FieldMapper {
|
|
|
22696
22751
|
const url = getAsUrl(selectFallback(selectTranslatedField(sourceLink, 'urlObject', this.lang3), selectField(sourceLink, 'url')));
|
|
22697
22752
|
const name = selectFallback(selectTranslatedField(sourceLink, 'nameObject', this.lang3), selectField(sourceLink, 'name'));
|
|
22698
22753
|
const description = selectFallback(selectTranslatedField(sourceLink, 'descriptionObject', this.lang3), selectField(sourceLink, 'description'));
|
|
22754
|
+
const descriptionLink = selectField(sourceLink, 'descriptionObject');
|
|
22755
|
+
const accessRestricted = descriptionLink &&
|
|
22756
|
+
'link' in descriptionLink &&
|
|
22757
|
+
descriptionLink.link.toString().includes('#MD_RestrictionCode_restricted');
|
|
22699
22758
|
// no url: fail early
|
|
22700
22759
|
if (url === null) {
|
|
22701
22760
|
// TODO: collect errors at the record level?
|
|
@@ -22718,6 +22777,7 @@ class Gn4FieldMapper {
|
|
|
22718
22777
|
type,
|
|
22719
22778
|
url: url,
|
|
22720
22779
|
accessServiceProtocol,
|
|
22780
|
+
accessRestricted: accessRestricted,
|
|
22721
22781
|
};
|
|
22722
22782
|
case 'link':
|
|
22723
22783
|
return {
|
|
@@ -24765,7 +24825,7 @@ const FORMATS = {
|
|
|
24765
24825
|
csv: {
|
|
24766
24826
|
extensions: ['csv'],
|
|
24767
24827
|
priority: 1,
|
|
24768
|
-
color: '#
|
|
24828
|
+
color: '#F6A924',
|
|
24769
24829
|
mimeTypes: ['text/csv', 'application/csv'],
|
|
24770
24830
|
},
|
|
24771
24831
|
excel: {
|
|
@@ -24777,7 +24837,7 @@ const FORMATS = {
|
|
|
24777
24837
|
'openxmlformats-officedocument',
|
|
24778
24838
|
],
|
|
24779
24839
|
priority: 2,
|
|
24780
|
-
color: '#
|
|
24840
|
+
color: '#FFDE10',
|
|
24781
24841
|
mimeTypes: [
|
|
24782
24842
|
'application/vnd.ms-excel',
|
|
24783
24843
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
@@ -24786,31 +24846,31 @@ const FORMATS = {
|
|
|
24786
24846
|
geojson: {
|
|
24787
24847
|
extensions: ['geojson'],
|
|
24788
24848
|
priority: 3,
|
|
24789
|
-
color: '#
|
|
24849
|
+
color: '#293C6F',
|
|
24790
24850
|
mimeTypes: ['application/geo+json', 'application/vnd.geo+json'],
|
|
24791
24851
|
},
|
|
24792
24852
|
json: {
|
|
24793
24853
|
extensions: ['json'],
|
|
24794
24854
|
priority: 3,
|
|
24795
|
-
color: '#
|
|
24855
|
+
color: '#84D0F0',
|
|
24796
24856
|
mimeTypes: ['application/json'],
|
|
24797
24857
|
},
|
|
24798
24858
|
shp: {
|
|
24799
24859
|
extensions: ['shp', 'shape', 'zipped-shapefile'],
|
|
24800
24860
|
priority: 4,
|
|
24801
|
-
color: '#
|
|
24861
|
+
color: '#009036',
|
|
24802
24862
|
mimeTypes: ['x-gis/x-shapefile'],
|
|
24803
24863
|
},
|
|
24804
24864
|
gml: {
|
|
24805
24865
|
extensions: ['gml'],
|
|
24806
24866
|
priority: 5,
|
|
24807
|
-
color: '#
|
|
24867
|
+
color: '#E75113',
|
|
24808
24868
|
mimeTypes: ['application/gml+xml', 'text/xml; subtype=gml'],
|
|
24809
24869
|
},
|
|
24810
24870
|
kml: {
|
|
24811
24871
|
extensions: ['kml', 'kmz'],
|
|
24812
24872
|
priority: 6,
|
|
24813
|
-
color: '#
|
|
24873
|
+
color: '#F4B5D0',
|
|
24814
24874
|
mimeTypes: [
|
|
24815
24875
|
'application/vnd.google-earth.kml+xml',
|
|
24816
24876
|
'application/vnd.google-earth.kmz',
|
|
@@ -24819,55 +24879,55 @@ const FORMATS = {
|
|
|
24819
24879
|
gpkg: {
|
|
24820
24880
|
extensions: ['gpkg', 'geopackage'],
|
|
24821
24881
|
priority: 7,
|
|
24822
|
-
color: '#
|
|
24882
|
+
color: '#7D5D9F',
|
|
24823
24883
|
mimeTypes: ['application/geopackage+sqlite3'],
|
|
24824
24884
|
},
|
|
24825
24885
|
zip: {
|
|
24826
24886
|
extensions: ['zip', 'tar.gz'],
|
|
24827
24887
|
priority: 8,
|
|
24828
|
-
color: '#
|
|
24888
|
+
color: '#B0CB52',
|
|
24829
24889
|
mimeTypes: ['application/zip', 'application/x-zip'],
|
|
24830
24890
|
},
|
|
24831
24891
|
pdf: {
|
|
24832
24892
|
extensions: ['pdf'],
|
|
24833
24893
|
priority: 9,
|
|
24834
|
-
color: '#
|
|
24894
|
+
color: '#49579E',
|
|
24835
24895
|
mimeTypes: ['application/pdf'],
|
|
24836
24896
|
},
|
|
24837
24897
|
jpg: {
|
|
24838
24898
|
extensions: ['jpg', 'jpeg', 'jfif', 'pjpeg', 'pjp'],
|
|
24839
24899
|
priority: 9,
|
|
24840
|
-
color: '#
|
|
24900
|
+
color: '#C4A98F',
|
|
24841
24901
|
mimeTypes: ['image/jpg'],
|
|
24842
24902
|
},
|
|
24843
24903
|
svg: {
|
|
24844
24904
|
extensions: ['svg'],
|
|
24845
24905
|
priority: 10,
|
|
24846
|
-
color: '#
|
|
24906
|
+
color: '#EB6D82',
|
|
24847
24907
|
mimeTypes: ['image/svg+xml'],
|
|
24848
24908
|
},
|
|
24849
24909
|
dxf: {
|
|
24850
24910
|
extensions: ['dxf'],
|
|
24851
24911
|
priority: 11,
|
|
24852
|
-
color: '#
|
|
24912
|
+
color: '#DCCD00',
|
|
24853
24913
|
mimeTypes: ['application/x-dxf', 'image/x-dxf'],
|
|
24854
24914
|
},
|
|
24855
24915
|
html: {
|
|
24856
24916
|
extensions: ['html', 'htm'],
|
|
24857
24917
|
priority: 12,
|
|
24858
|
-
color: '#
|
|
24918
|
+
color: '#C0C9B6',
|
|
24859
24919
|
mimeTypes: ['text/html'],
|
|
24860
24920
|
},
|
|
24861
24921
|
fgb: {
|
|
24862
24922
|
extensions: ['fgb', 'flatgeobuf'],
|
|
24863
24923
|
priority: 13,
|
|
24864
|
-
color: '#
|
|
24924
|
+
color: '#A8111C',
|
|
24865
24925
|
mimeTypes: ['application/flatgeobuf'],
|
|
24866
24926
|
},
|
|
24867
24927
|
jsonfg: {
|
|
24868
24928
|
extensions: ['jsonfg', 'jsonfgc'],
|
|
24869
24929
|
priority: 14,
|
|
24870
|
-
color: '#
|
|
24930
|
+
color: '#009EE0',
|
|
24871
24931
|
mimeTypes: [
|
|
24872
24932
|
'application/vnd.ogc.fg+json',
|
|
24873
24933
|
'application/vnd.ogc.fg+json;compatibility=geojson',
|
|
@@ -24938,9 +24998,11 @@ function mimeTypeToFormat(mimeType) {
|
|
|
24938
24998
|
return null;
|
|
24939
24999
|
}
|
|
24940
25000
|
function checkFileFormat(link, format) {
|
|
24941
|
-
return (('name' in link &&
|
|
25001
|
+
return (('name' in link &&
|
|
25002
|
+
new RegExp(`[./]${format}`, 'i').test(link.name.toLowerCase())) ||
|
|
24942
25003
|
('url' in link &&
|
|
24943
|
-
new RegExp(`[./]${format}`, 'i').test(link.url.toString()))
|
|
25004
|
+
new RegExp(`[./]${format}`, 'i').test(link.url.toString())) ||
|
|
25005
|
+
('name' in link && link.name.toLowerCase().includes(format)));
|
|
24944
25006
|
}
|
|
24945
25007
|
function getBadgeColor(linkFormat) {
|
|
24946
25008
|
for (const format in FORMATS) {
|
|
@@ -25493,11 +25555,11 @@ class CarouselComponent {
|
|
|
25493
25555
|
.on('select', this.refreshSteps);
|
|
25494
25556
|
}
|
|
25495
25557
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CarouselComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25496
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CarouselComponent, isStandalone: true, selector: "gn-ui-carousel", inputs: { containerClass: "containerClass", stepsContainerClass: "stepsContainerClass" }, outputs: { currentStepChange: "currentStepChange" }, viewQueries: [{ propertyName: "carouselOverflowContainer", first: true, predicate: ["carouselOverflowContainer"], descendants: true }], ngImport: i0, template: "<div #carouselOverflowContainer class=\"w-full\">\n <div class=\"carousel-container flex\" [ngClass]=\"containerClass\">\n <ng-content></ng-content>\n </div>\n</div>\n<gn-ui-pagination-dots\n [containerClass]=\"'absolute ' + stepsContainerClass\"\n [listComponent]=\"this\"\n></gn-ui-pagination-dots>\n", styles: [":host
|
|
25558
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CarouselComponent, isStandalone: true, selector: "gn-ui-carousel", inputs: { containerClass: "containerClass", stepsContainerClass: "stepsContainerClass" }, outputs: { currentStepChange: "currentStepChange" }, viewQueries: [{ propertyName: "carouselOverflowContainer", first: true, predicate: ["carouselOverflowContainer"], descendants: true }], ngImport: i0, template: "<div #carouselOverflowContainer class=\"w-full\">\n <div class=\"carousel-container flex\" [ngClass]=\"containerClass\">\n <ng-content></ng-content>\n </div>\n</div>\n<gn-ui-pagination-dots\n [containerClass]=\"'absolute ' + stepsContainerClass\"\n [listComponent]=\"this\"\n></gn-ui-pagination-dots>\n", styles: [":host{position:relative;display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: PaginationDotsComponent, selector: "gn-ui-pagination-dots", inputs: ["listComponent", "containerClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
25497
25559
|
}
|
|
25498
25560
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CarouselComponent, decorators: [{
|
|
25499
25561
|
type: Component,
|
|
25500
|
-
args: [{ selector: 'gn-ui-carousel', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, PaginationDotsComponent], template: "<div #carouselOverflowContainer class=\"w-full\">\n <div class=\"carousel-container flex\" [ngClass]=\"containerClass\">\n <ng-content></ng-content>\n </div>\n</div>\n<gn-ui-pagination-dots\n [containerClass]=\"'absolute ' + stepsContainerClass\"\n [listComponent]=\"this\"\n></gn-ui-pagination-dots>\n", styles: [":host
|
|
25562
|
+
args: [{ selector: 'gn-ui-carousel', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, PaginationDotsComponent], template: "<div #carouselOverflowContainer class=\"w-full\">\n <div class=\"carousel-container flex\" [ngClass]=\"containerClass\">\n <ng-content></ng-content>\n </div>\n</div>\n<gn-ui-pagination-dots\n [containerClass]=\"'absolute ' + stepsContainerClass\"\n [listComponent]=\"this\"\n></gn-ui-pagination-dots>\n", styles: [":host{position:relative;display:block}\n"] }]
|
|
25501
25563
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { carouselOverflowContainer: [{
|
|
25502
25564
|
type: ViewChild,
|
|
25503
25565
|
args: ['carouselOverflowContainer']
|
|
@@ -25937,11 +25999,11 @@ class ProgressBarComponent {
|
|
|
25937
25999
|
}
|
|
25938
26000
|
}
|
|
25939
26001
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25940
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProgressBarComponent, isStandalone: true, selector: "gn-ui-progress-bar", inputs: { value: "value", type: "type" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <!-- Light Theme -->\n <ng-container *ngSwitchCase=\"'light'\">\n <div class=\"flex items-center relative\">\n <div\n class=\"flex-shrink-0 {{ color.text }} text-xs font-medium mr-2\n text-opacity-100 !text-slate-800\"\n >\n {{ progress }}%\n </div>\n <div class=\"flex-grow h-[
|
|
26002
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ProgressBarComponent, isStandalone: true, selector: "gn-ui-progress-bar", inputs: { value: "value", type: "type" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"type\">\n <!-- Light Theme -->\n <ng-container *ngSwitchCase=\"'light'\">\n <div class=\"flex items-center relative\">\n <div\n class=\"flex-shrink-0 {{ color.text }} text-xs font-medium mr-2\n text-opacity-100 !text-slate-800\"\n >\n {{ progress }}%\n </div>\n <div class=\"flex-grow h-[4px] w-[52px] {{ color.outerBar }} rounded-full\">\n <div\n [style.width.%]=\"progress\"\n class=\"{{ color.innerBar }} transition-width duration-500\n ease-in-out rounded-full shadow-sm w-[52px] h-[4px]\"\n ></div>\n </div>\n </div>\n </ng-container>\n\n <!-- Default / Primary / Secondary Themes -->\n <ng-container *ngSwitchDefault>\n <div class=\"flex h-full {{ color.outerBar }} rounded-t-lg rounded-b-lg\">\n <div\n [style.width.%]=\"progress\"\n class=\"flex {{ color.innerBar }} my-1 mx-1 transition-width\n duration-500 ease-in-out rounded-t-md rounded-b-md shadow-xl\"\n >\n <div\n class=\"flex items-center pl-2 py-1 {{ color.text }} font-bold text-4\"\n >\n {{ progress }}%\n </div>\n </div>\n </div>\n </ng-container>\n</ng-container>\n", styles: [".font-bold{font-weight:var(--progress-bar-font-weight, \"bold\")}\n"], dependencies: [{ kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }] }); }
|
|
25941
26003
|
}
|
|
25942
26004
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ProgressBarComponent, decorators: [{
|
|
25943
26005
|
type: Component,
|
|
25944
|
-
args: [{ selector: 'gn-ui-progress-bar', standalone: true, imports: [NgSwitch, NgSwitchCase, NgSwitchDefault], template: "<ng-container [ngSwitch]=\"type\">\n <!-- Light Theme -->\n <ng-container *ngSwitchCase=\"'light'\">\n <div class=\"flex items-center relative\">\n <div\n class=\"flex-shrink-0 {{ color.text }} text-xs font-medium mr-2\n text-opacity-100 !text-slate-800\"\n >\n {{ progress }}%\n </div>\n <div class=\"flex-grow h-[
|
|
26006
|
+
args: [{ selector: 'gn-ui-progress-bar', standalone: true, imports: [NgSwitch, NgSwitchCase, NgSwitchDefault], template: "<ng-container [ngSwitch]=\"type\">\n <!-- Light Theme -->\n <ng-container *ngSwitchCase=\"'light'\">\n <div class=\"flex items-center relative\">\n <div\n class=\"flex-shrink-0 {{ color.text }} text-xs font-medium mr-2\n text-opacity-100 !text-slate-800\"\n >\n {{ progress }}%\n </div>\n <div class=\"flex-grow h-[4px] w-[52px] {{ color.outerBar }} rounded-full\">\n <div\n [style.width.%]=\"progress\"\n class=\"{{ color.innerBar }} transition-width duration-500\n ease-in-out rounded-full shadow-sm w-[52px] h-[4px]\"\n ></div>\n </div>\n </div>\n </ng-container>\n\n <!-- Default / Primary / Secondary Themes -->\n <ng-container *ngSwitchDefault>\n <div class=\"flex h-full {{ color.outerBar }} rounded-t-lg rounded-b-lg\">\n <div\n [style.width.%]=\"progress\"\n class=\"flex {{ color.innerBar }} my-1 mx-1 transition-width\n duration-500 ease-in-out rounded-t-md rounded-b-md shadow-xl\"\n >\n <div\n class=\"flex items-center pl-2 py-1 {{ color.text }} font-bold text-4\"\n >\n {{ progress }}%\n </div>\n </div>\n </div>\n </ng-container>\n</ng-container>\n", styles: [".font-bold{font-weight:var(--progress-bar-font-weight, \"bold\")}\n"] }]
|
|
25945
26007
|
}], propDecorators: { value: [{
|
|
25946
26008
|
type: Input
|
|
25947
26009
|
}], type: [{
|
|
@@ -28457,7 +28519,7 @@ class MetadataQualityComponent {
|
|
|
28457
28519
|
size: '1.2em',
|
|
28458
28520
|
strokeWidth: '1.5px',
|
|
28459
28521
|
}),
|
|
28460
|
-
], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"metadataQualityDisplay\" class=\"
|
|
28522
|
+
], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"metadataQualityDisplay\" class=\"metadata-quality\">\n <div\n class=\"flex items-center\"\n [class]=\"\n smaller ? 'leading-[8px] min-w-[120px] m-h-[120px]' : 'min-w-[200px]'\n \"\n >\n <gn-ui-progress-bar\n tabindex=\"0\"\n [value]=\"qualityScore\"\n [type]=\"'light'\"\n class=\"flex-grow\"\n ></gn-ui-progress-bar>\n <gn-ui-popover\n [content]=\"popoverItems\"\n theme=\"light-border\"\n [class]=\"smaller ? 'ml-2' : 'ml-2 mt-1'\"\n >\n <ng-icon\n name=\"matInfoOutline\"\n class=\"flex-shrink-0 text-gray-600\"\n ></ng-icon>\n </gn-ui-popover>\n </div>\n</div>\n<ng-template #popoverItems>\n <div class=\"p-2 py-4\">\n <div class=\"mb-4 font-bold\" translate>record.metadata.quality.details</div>\n <gn-ui-metadata-quality-item\n *ngFor=\"let e of items\"\n [name]=\"e.name\"\n [value]=\"e.value\"\n ></gn-ui-metadata-quality-item>\n </div>\n</ng-template>\n", styles: [":host gn-ui-progress-bar{--progress-bar-font-weight: \"normal\"}\n"], 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: "component", type: PopoverComponent, selector: "gn-ui-popover", inputs: ["content", "theme"] }, { kind: "component", type: ProgressBarComponent, selector: "gn-ui-progress-bar", inputs: ["value", "type"] }, { kind: "component", type: MetadataQualityItemComponent, selector: "gn-ui-metadata-quality-item", inputs: ["name", "value"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28461
28523
|
}
|
|
28462
28524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MetadataQualityComponent, decorators: [{
|
|
28463
28525
|
type: Component,
|
|
@@ -28476,7 +28538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28476
28538
|
size: '1.2em',
|
|
28477
28539
|
strokeWidth: '1.5px',
|
|
28478
28540
|
}),
|
|
28479
|
-
], template: "<div *ngIf=\"metadataQualityDisplay\" class=\"
|
|
28541
|
+
], template: "<div *ngIf=\"metadataQualityDisplay\" class=\"metadata-quality\">\n <div\n class=\"flex items-center\"\n [class]=\"\n smaller ? 'leading-[8px] min-w-[120px] m-h-[120px]' : 'min-w-[200px]'\n \"\n >\n <gn-ui-progress-bar\n tabindex=\"0\"\n [value]=\"qualityScore\"\n [type]=\"'light'\"\n class=\"flex-grow\"\n ></gn-ui-progress-bar>\n <gn-ui-popover\n [content]=\"popoverItems\"\n theme=\"light-border\"\n [class]=\"smaller ? 'ml-2' : 'ml-2 mt-1'\"\n >\n <ng-icon\n name=\"matInfoOutline\"\n class=\"flex-shrink-0 text-gray-600\"\n ></ng-icon>\n </gn-ui-popover>\n </div>\n</div>\n<ng-template #popoverItems>\n <div class=\"p-2 py-4\">\n <div class=\"mb-4 font-bold\" translate>record.metadata.quality.details</div>\n <gn-ui-metadata-quality-item\n *ngFor=\"let e of items\"\n [name]=\"e.name\"\n [value]=\"e.value\"\n ></gn-ui-metadata-quality-item>\n </div>\n</ng-template>\n", styles: [":host gn-ui-progress-bar{--progress-bar-font-weight: \"normal\"}\n"] }]
|
|
28480
28542
|
}], propDecorators: { metadata: [{
|
|
28481
28543
|
type: Input
|
|
28482
28544
|
}], smaller: [{
|
|
@@ -28653,9 +28715,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28653
28715
|
|
|
28654
28716
|
class ApiCardComponent {
|
|
28655
28717
|
constructor() {
|
|
28718
|
+
this.sizeClassMap = {
|
|
28719
|
+
L: 'gn-ui-card-l py-2 px-5 flex-row',
|
|
28720
|
+
M: 'gn-ui-card-m py-2 px-5 flex-row',
|
|
28721
|
+
S: 'gn-ui-card-s p-4 flex-col',
|
|
28722
|
+
XS: 'gn-ui-card-xs py-2 px-5 flex-row',
|
|
28723
|
+
};
|
|
28724
|
+
this.cardClass = '';
|
|
28656
28725
|
this.currentlyActive = false;
|
|
28657
28726
|
this.openRecordApiForm = new EventEmitter();
|
|
28658
28727
|
}
|
|
28728
|
+
set size(value) {
|
|
28729
|
+
this._size = value;
|
|
28730
|
+
this.cardClass = this.sizeClassMap[value];
|
|
28731
|
+
}
|
|
28732
|
+
get size() {
|
|
28733
|
+
return this._size;
|
|
28734
|
+
}
|
|
28735
|
+
get generatedText() {
|
|
28736
|
+
return this.link.accessServiceProtocol === 'wfs'
|
|
28737
|
+
? 'datahub.search.filter.generatedByWfs'
|
|
28738
|
+
: 'datahub.search.filter.generatedByAPI';
|
|
28739
|
+
}
|
|
28659
28740
|
ngOnInit() {
|
|
28660
28741
|
this.displayApiFormButton =
|
|
28661
28742
|
this.link.accessServiceProtocol === 'ogcFeatures' ||
|
|
@@ -28673,9 +28754,9 @@ class ApiCardComponent {
|
|
|
28673
28754
|
}
|
|
28674
28755
|
}
|
|
28675
28756
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApiCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28676
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ApiCardComponent, isStandalone: true, selector: "gn-ui-api-card", inputs: { link: "link", currentLink: "currentLink" }, outputs: { openRecordApiForm: "openRecordApiForm" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"group flex
|
|
28757
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ApiCardComponent, isStandalone: true, selector: "gn-ui-api-card", inputs: { link: "link", currentLink: "currentLink", size: "size" }, outputs: { openRecordApiForm: "openRecordApiForm" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"group flex justify-between rounded filter overflow-hidden\"\n [ngClass]=\"cardClass\"\n>\n <ng-container *ngIf=\"size !== 'S'\">\n <div>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n <div class=\"flex items-center\">\n <ng-container *ngTemplateOutlet=\"buttons\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"size === 'S'\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #buttons>\n <div class=\"flex flex-row gap-2\">\n <gn-ui-copy-text-button\n [text]=\"link.url\"\n [tooltipText]=\"'tooltip.url.copy' | translate\"\n [displayText]=\"false\"\n class=\"border border-gray-300 rounded-lg pt-1 px-2 h-[34px]\"\n ></gn-ui-copy-text-button>\n <button\n *ngIf=\"displayApiFormButton\"\n type=\"button\"\n class=\"gn-ui-card-icon\"\n [ngClass]=\"{\n 'py-2 px-4 rounded-r-md bg-gray-400 hover:bg-gray-600 focus:bg-gray-800 text-white':\n displayText,\n }\"\n [matTooltip]=\"\n !currentlyActive\n ? ('record.metadata.api.form.openForm' | translate)\n : ('record.metadata.api.form.closeForm' | translate)\n \"\n matTooltipPosition=\"above\"\n (click)=\"openRecordApiFormPanel()\"\n >\n <ng-icon\n class=\"pointer-events-none align-middle card-icon\"\n name=\"iconoirSettings\"\n [ngClass]=\"{\n 'text-secondary opacity-100': currentlyActive,\n }\"\n ></ng-icon>\n </button>\n </div>\n</ng-template>\n\n<ng-template #content>\n <div>\n <div class=\"gn-ui-card-title\">\n {{ link.description || link.name }}\n </div>\n <div class=\"gn-ui-card-detail\">\n {{ link.name }}\n </div>\n </div>\n <div class=\"flex flex-row justify-between\">\n <div class=\"flex flex-row gap-2.5 items-center pt-1\">\n <span\n *ngIf=\"link.accessServiceProtocol !== 'GPFDL'\"\n class=\"bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors\"\n [ngClass]=\"{\n '!bg-primary': currentlyActive,\n }\"\n >{{ link.accessServiceProtocol }}</span\n >\n <span\n *ngIf=\"link.accessServiceProtocol === 'GPFDL'\"\n class=\"bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors\"\n [ngClass]=\"{\n '!bg-primary': currentlyActive,\n }\"\n translate\n >\n record.metadata.api.gpfdl</span\n >\n </div>\n <div *ngIf=\"size === 'S'\">\n <ng-container *ngTemplateOutlet=\"buttons\"></ng-container>\n </div>\n </div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CopyTextButtonComponent, selector: "gn-ui-copy-text-button", inputs: ["text", "tooltipText", "displayText", "rows"] }, { 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: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i1$4.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], viewProviders: [
|
|
28677
28758
|
provideIcons({
|
|
28678
|
-
|
|
28759
|
+
iconoirSettings,
|
|
28679
28760
|
}),
|
|
28680
28761
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28681
28762
|
}
|
|
@@ -28689,13 +28770,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28689
28770
|
NgIcon,
|
|
28690
28771
|
], viewProviders: [
|
|
28691
28772
|
provideIcons({
|
|
28692
|
-
|
|
28773
|
+
iconoirSettings,
|
|
28693
28774
|
}),
|
|
28694
|
-
], template: "<div\n class=\"group flex
|
|
28775
|
+
], template: "<div\n class=\"group flex justify-between rounded filter overflow-hidden\"\n [ngClass]=\"cardClass\"\n>\n <ng-container *ngIf=\"size !== 'S'\">\n <div>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n <div class=\"flex items-center\">\n <ng-container *ngTemplateOutlet=\"buttons\"></ng-container>\n </div>\n </ng-container>\n <ng-container *ngIf=\"size === 'S'\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #buttons>\n <div class=\"flex flex-row gap-2\">\n <gn-ui-copy-text-button\n [text]=\"link.url\"\n [tooltipText]=\"'tooltip.url.copy' | translate\"\n [displayText]=\"false\"\n class=\"border border-gray-300 rounded-lg pt-1 px-2 h-[34px]\"\n ></gn-ui-copy-text-button>\n <button\n *ngIf=\"displayApiFormButton\"\n type=\"button\"\n class=\"gn-ui-card-icon\"\n [ngClass]=\"{\n 'py-2 px-4 rounded-r-md bg-gray-400 hover:bg-gray-600 focus:bg-gray-800 text-white':\n displayText,\n }\"\n [matTooltip]=\"\n !currentlyActive\n ? ('record.metadata.api.form.openForm' | translate)\n : ('record.metadata.api.form.closeForm' | translate)\n \"\n matTooltipPosition=\"above\"\n (click)=\"openRecordApiFormPanel()\"\n >\n <ng-icon\n class=\"pointer-events-none align-middle card-icon\"\n name=\"iconoirSettings\"\n [ngClass]=\"{\n 'text-secondary opacity-100': currentlyActive,\n }\"\n ></ng-icon>\n </button>\n </div>\n</ng-template>\n\n<ng-template #content>\n <div>\n <div class=\"gn-ui-card-title\">\n {{ link.description || link.name }}\n </div>\n <div class=\"gn-ui-card-detail\">\n {{ link.name }}\n </div>\n </div>\n <div class=\"flex flex-row justify-between\">\n <div class=\"flex flex-row gap-2.5 items-center pt-1\">\n <span\n *ngIf=\"link.accessServiceProtocol !== 'GPFDL'\"\n class=\"bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors\"\n [ngClass]=\"{\n '!bg-primary': currentlyActive,\n }\"\n >{{ link.accessServiceProtocol }}</span\n >\n <span\n *ngIf=\"link.accessServiceProtocol === 'GPFDL'\"\n class=\"bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors\"\n [ngClass]=\"{\n '!bg-primary': currentlyActive,\n }\"\n translate\n >\n record.metadata.api.gpfdl</span\n >\n </div>\n <div *ngIf=\"size === 'S'\">\n <ng-container *ngTemplateOutlet=\"buttons\"></ng-container>\n </div>\n </div>\n</ng-template>\n" }]
|
|
28695
28776
|
}], propDecorators: { link: [{
|
|
28696
28777
|
type: Input
|
|
28697
28778
|
}], currentLink: [{
|
|
28698
28779
|
type: Input
|
|
28780
|
+
}], size: [{
|
|
28781
|
+
type: Input
|
|
28699
28782
|
}], openRecordApiForm: [{
|
|
28700
28783
|
type: Output
|
|
28701
28784
|
}] } });
|
|
@@ -28756,15 +28839,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28756
28839
|
|
|
28757
28840
|
class DownloadItemComponent {
|
|
28758
28841
|
constructor() {
|
|
28842
|
+
this.sizeClassMap = {
|
|
28843
|
+
L: 'gn-ui-card-l py-2 px-5',
|
|
28844
|
+
M: 'gn-ui-card-m py-2 px-5',
|
|
28845
|
+
S: 'gn-ui-card-s p-4',
|
|
28846
|
+
XS: 'gn-ui-card-xs py-2 px-5',
|
|
28847
|
+
};
|
|
28848
|
+
this.cardClass = '';
|
|
28759
28849
|
this.exportUrl = new EventEmitter();
|
|
28760
28850
|
}
|
|
28851
|
+
set size(value) {
|
|
28852
|
+
this._size = value;
|
|
28853
|
+
this.cardClass = this.sizeClassMap[value];
|
|
28854
|
+
}
|
|
28855
|
+
get size() {
|
|
28856
|
+
return this._size;
|
|
28857
|
+
}
|
|
28761
28858
|
openUrl() {
|
|
28762
28859
|
this.exportUrl.emit(this.link.url.toString());
|
|
28763
28860
|
}
|
|
28764
28861
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DownloadItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28765
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DownloadItemComponent, isStandalone: true, selector: "gn-ui-download-item", inputs: { link: "link", color: "color", format: "format", isFromApi: "isFromApi" }, outputs: { exportUrl: "exportUrl" }, ngImport: i0, template: "<a\n href=\"{{ link.url }}\"\n target=\"_blank\"\n class=\"group flex justify-between card-shadow
|
|
28862
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DownloadItemComponent, isStandalone: true, selector: "gn-ui-download-item", inputs: { link: "link", color: "color", format: "format", isFromApi: "isFromApi", size: "size" }, outputs: { exportUrl: "exportUrl" }, ngImport: i0, template: "<a\n href=\"{{ link.url }}\"\n target=\"_blank\"\n class=\"group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden\"\n rel=\"noopener\"\n [ngClass]=\"cardClass\"\n>\n <div class=\"flex flex-col justify-between\">\n <div class=\"gn-ui-card-title\" [title]=\"link.description || link.name\">\n {{ link.description || link.name }}\n </div>\n <div class=\"gn-ui-card-detail\">\n {{ link.name }}\n </div>\n <div class=\"flex flex-row gap-2 items-center pt-1\">\n <span\n class=\"inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100\"\n [style.background-color]=\"color\"\n data-cy=\"download-format\"\n >{{ format || ('downloads.format.unknown' | translate) }}</span\n >\n <span class=\"text-gray-800 text-xs\" *ngIf=\"isFromApi\" translate=\"\"\n >datahub.search.filter.generatedByAPI</span\n >\n </div>\n </div>\n <div class=\"flex\" [ngClass]=\"size === 'S' ? 'items-end' : 'items-center'\">\n <div class=\"gn-ui-card-icon\">\n <ng-icon\n class=\"inline-block card-icon align-middle\"\n name=\"iconoirDownload\"\n >\n </ng-icon>\n </div>\n </div>\n</a>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], viewProviders: [
|
|
28766
28863
|
provideIcons({
|
|
28767
|
-
|
|
28864
|
+
iconoirDownload,
|
|
28768
28865
|
}),
|
|
28769
28866
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28770
28867
|
}
|
|
@@ -28772,9 +28869,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28772
28869
|
type: Component,
|
|
28773
28870
|
args: [{ selector: 'gn-ui-download-item', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, TranslateModule, NgIcon], standalone: true, viewProviders: [
|
|
28774
28871
|
provideIcons({
|
|
28775
|
-
|
|
28872
|
+
iconoirDownload,
|
|
28776
28873
|
}),
|
|
28777
|
-
], template: "<a\n href=\"{{ link.url }}\"\n target=\"_blank\"\n class=\"group flex justify-between card-shadow
|
|
28874
|
+
], template: "<a\n href=\"{{ link.url }}\"\n target=\"_blank\"\n class=\"group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden\"\n rel=\"noopener\"\n [ngClass]=\"cardClass\"\n>\n <div class=\"flex flex-col justify-between\">\n <div class=\"gn-ui-card-title\" [title]=\"link.description || link.name\">\n {{ link.description || link.name }}\n </div>\n <div class=\"gn-ui-card-detail\">\n {{ link.name }}\n </div>\n <div class=\"flex flex-row gap-2 items-center pt-1\">\n <span\n class=\"inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100\"\n [style.background-color]=\"color\"\n data-cy=\"download-format\"\n >{{ format || ('downloads.format.unknown' | translate) }}</span\n >\n <span class=\"text-gray-800 text-xs\" *ngIf=\"isFromApi\" translate=\"\"\n >datahub.search.filter.generatedByAPI</span\n >\n </div>\n </div>\n <div class=\"flex\" [ngClass]=\"size === 'S' ? 'items-end' : 'items-center'\">\n <div class=\"gn-ui-card-icon\">\n <ng-icon\n class=\"inline-block card-icon align-middle\"\n name=\"iconoirDownload\"\n >\n </ng-icon>\n </div>\n </div>\n</a>\n" }]
|
|
28778
28875
|
}], propDecorators: { link: [{
|
|
28779
28876
|
type: Input
|
|
28780
28877
|
}], color: [{
|
|
@@ -28783,6 +28880,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28783
28880
|
type: Input
|
|
28784
28881
|
}], isFromApi: [{
|
|
28785
28882
|
type: Input
|
|
28883
|
+
}], size: [{
|
|
28884
|
+
type: Input
|
|
28786
28885
|
}], exportUrl: [{
|
|
28787
28886
|
type: Output
|
|
28788
28887
|
}] } });
|
|
@@ -28873,7 +28972,7 @@ class DownloadsListComponent {
|
|
|
28873
28972
|
link.accessServiceProtocol === 'ogcFeatures'));
|
|
28874
28973
|
}
|
|
28875
28974
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DownloadsListComponent, deps: [{ token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28876
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DownloadsListComponent, isStandalone: true, selector: "gn-ui-downloads-list", inputs: { links: "links" }, ngImport: i0, template: "<div\n class=\"flex flex-wrap justify-between
|
|
28975
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: DownloadsListComponent, isStandalone: true, selector: "gn-ui-downloads-list", inputs: { links: "links" }, ngImport: i0, template: "<div\n class=\"flex flex-wrap justify-between items-center pb-4\"\n *ngIf=\"links && links.length > 0\"\n>\n <div\n class=\"font-title text-xl text-title font-medium mr-4 text-center sm:text-left\"\n translate\n >\n record.metadata.download\n </div>\n <div\n class=\"flex flex-wrap justify-start sm:justify-end\"\n data-cy=\"download-format-filters\"\n >\n <gn-ui-button\n class=\"m-1 format-filter\"\n [extraClass]=\"\n '!px-[12px] !py-[8px] !text-[15px]' +\n (isFilterActive(format) ? ' opacity-100' : ' opacity-60')\n \"\n (buttonClick)=\"toggleFilterFormat(format)\"\n [attr.data-format]=\"format\"\n *ngFor=\"let format of visibleFormats\"\n >\n {{ getFilterFormatTitle(format) }}\n </gn-ui-button>\n </div>\n</div>\n<div class=\"mb-2 sm:mb-3\" *ngFor=\"let link of filteredLinks\">\n <gn-ui-download-item\n size=\"L\"\n [link]=\"link\"\n [color]=\"getLinkColor(link)\"\n [format]=\"getLinkFormat(link)\"\n [isFromApi]=\"isFromApi(link)\"\n ></gn-ui-download-item>\n</div>\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: "component", type: ButtonComponent, selector: "gn-ui-button", inputs: ["type", "disabled", "extraClass"], outputs: ["buttonClick"] }, { kind: "component", type: DownloadItemComponent, selector: "gn-ui-download-item", inputs: ["link", "color", "format", "isFromApi", "size"], outputs: ["exportUrl"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28877
28976
|
}
|
|
28878
28977
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: DownloadsListComponent, decorators: [{
|
|
28879
28978
|
type: Component,
|
|
@@ -28882,7 +28981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
28882
28981
|
ButtonComponent,
|
|
28883
28982
|
DownloadItemComponent,
|
|
28884
28983
|
TranslateModule,
|
|
28885
|
-
], template: "<div\n class=\"flex flex-wrap justify-between
|
|
28984
|
+
], template: "<div\n class=\"flex flex-wrap justify-between items-center pb-4\"\n *ngIf=\"links && links.length > 0\"\n>\n <div\n class=\"font-title text-xl text-title font-medium mr-4 text-center sm:text-left\"\n translate\n >\n record.metadata.download\n </div>\n <div\n class=\"flex flex-wrap justify-start sm:justify-end\"\n data-cy=\"download-format-filters\"\n >\n <gn-ui-button\n class=\"m-1 format-filter\"\n [extraClass]=\"\n '!px-[12px] !py-[8px] !text-[15px]' +\n (isFilterActive(format) ? ' opacity-100' : ' opacity-60')\n \"\n (buttonClick)=\"toggleFilterFormat(format)\"\n [attr.data-format]=\"format\"\n *ngFor=\"let format of visibleFormats\"\n >\n {{ getFilterFormatTitle(format) }}\n </gn-ui-button>\n </div>\n</div>\n<div class=\"mb-2 sm:mb-3\" *ngFor=\"let link of filteredLinks\">\n <gn-ui-download-item\n size=\"L\"\n [link]=\"link\"\n [color]=\"getLinkColor(link)\"\n [format]=\"getLinkFormat(link)\"\n [isFromApi]=\"isFromApi(link)\"\n ></gn-ui-download-item>\n</div>\n" }]
|
|
28886
28985
|
}], ctorParameters: () => [{ type: i1$1.TranslateService }], propDecorators: { links: [{
|
|
28887
28986
|
type: Input
|
|
28888
28987
|
}] } });
|
|
@@ -29166,7 +29265,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
29166
29265
|
|
|
29167
29266
|
class LinkCardComponent {
|
|
29168
29267
|
constructor() {
|
|
29169
|
-
this.
|
|
29268
|
+
this.sizeClassMap = {
|
|
29269
|
+
L: 'gn-ui-card-l py-2 px-5',
|
|
29270
|
+
M: 'gn-ui-card-m py-2 px-5',
|
|
29271
|
+
S: 'gn-ui-card-s p-4',
|
|
29272
|
+
XS: 'gn-ui-card-xs py-2 px-5',
|
|
29273
|
+
};
|
|
29274
|
+
this.cardClass = '';
|
|
29275
|
+
}
|
|
29276
|
+
set size(value) {
|
|
29277
|
+
this._size = value;
|
|
29278
|
+
this.cardClass = this.sizeClassMap[value];
|
|
29279
|
+
}
|
|
29280
|
+
get size() {
|
|
29281
|
+
return this._size;
|
|
29170
29282
|
}
|
|
29171
29283
|
get title() {
|
|
29172
29284
|
if (this.link.name && this.link.description) {
|
|
@@ -29174,25 +29286,31 @@ class LinkCardComponent {
|
|
|
29174
29286
|
}
|
|
29175
29287
|
return this.link.name || this.link.description || '';
|
|
29176
29288
|
}
|
|
29289
|
+
getLinkFormat(link) {
|
|
29290
|
+
return getFileFormat(link);
|
|
29291
|
+
}
|
|
29292
|
+
getLinkColor(link) {
|
|
29293
|
+
return getBadgeColor(getFileFormat(link));
|
|
29294
|
+
}
|
|
29177
29295
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LinkCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29178
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: LinkCardComponent, isStandalone: true, selector: "gn-ui-link-card", inputs: { link: "link",
|
|
29296
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: LinkCardComponent, isStandalone: true, selector: "gn-ui-link-card", inputs: { link: "link", size: "size" }, providers: [
|
|
29179
29297
|
provideIcons({
|
|
29180
29298
|
matOpenInNew,
|
|
29181
29299
|
}),
|
|
29182
29300
|
provideNgIconsConfig({ size: '1.5em' }),
|
|
29183
|
-
], ngImport: i0, template: "<a\n [href]=\"link.url\"\n target=\"_blank\"\n class=\"flex flex-
|
|
29301
|
+
], ngImport: i0, template: "<a\n [href]=\"link.url\"\n target=\"_blank\"\n class=\"group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden\"\n [ngClass]=\"cardClass\"\n [title]=\"title\"\n>\n <div class=\"flex flex-col justify-between\">\n <div class=\"gn-ui-card-title\">\n {{ link.description || link.name }}\n </div>\n <div class=\"gn-ui-card-detail\">\n {{ link.name }}\n </div>\n <p *ngIf=\"!link.name && !link.description\" class=\"gn-ui-card-title\">\n {{ link.url }}\n </p>\n <div class=\"pt-1\">\n <span\n class=\"inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100\"\n [style.background-color]=\"getLinkColor(link)\"\n data-cy=\"download-format\"\n >{{\n getLinkFormat(link) || ('downloads.format.unknown' | translate)\n }}</span\n >\n </div>\n </div>\n <div class=\"flex\" [ngClass]=\"size === 'S' ? 'items-end' : 'items-center'\">\n <div class=\"gn-ui-card-icon\">\n <ng-icon\n class=\"inline-block card-icon align-middle\"\n name=\"matOpenInNew\"\n ></ng-icon>\n </div>\n </div>\n</a>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgIconComponent, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29184
29302
|
}
|
|
29185
29303
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LinkCardComponent, decorators: [{
|
|
29186
29304
|
type: Component,
|
|
29187
|
-
args: [{ selector: 'gn-ui-link-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, NgIconComponent], providers: [
|
|
29305
|
+
args: [{ selector: 'gn-ui-link-card', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, NgIconComponent, TranslateModule], providers: [
|
|
29188
29306
|
provideIcons({
|
|
29189
29307
|
matOpenInNew,
|
|
29190
29308
|
}),
|
|
29191
29309
|
provideNgIconsConfig({ size: '1.5em' }),
|
|
29192
|
-
], template: "<a\n [href]=\"link.url\"\n target=\"_blank\"\n class=\"flex flex-
|
|
29310
|
+
], template: "<a\n [href]=\"link.url\"\n target=\"_blank\"\n class=\"group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden\"\n [ngClass]=\"cardClass\"\n [title]=\"title\"\n>\n <div class=\"flex flex-col justify-between\">\n <div class=\"gn-ui-card-title\">\n {{ link.description || link.name }}\n </div>\n <div class=\"gn-ui-card-detail\">\n {{ link.name }}\n </div>\n <p *ngIf=\"!link.name && !link.description\" class=\"gn-ui-card-title\">\n {{ link.url }}\n </p>\n <div class=\"pt-1\">\n <span\n class=\"inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100\"\n [style.background-color]=\"getLinkColor(link)\"\n data-cy=\"download-format\"\n >{{\n getLinkFormat(link) || ('downloads.format.unknown' | translate)\n }}</span\n >\n </div>\n </div>\n <div class=\"flex\" [ngClass]=\"size === 'S' ? 'items-end' : 'items-center'\">\n <div class=\"gn-ui-card-icon\">\n <ng-icon\n class=\"inline-block card-icon align-middle\"\n name=\"matOpenInNew\"\n ></ng-icon>\n </div>\n </div>\n</a>\n" }]
|
|
29193
29311
|
}], propDecorators: { link: [{
|
|
29194
29312
|
type: Input
|
|
29195
|
-
}],
|
|
29313
|
+
}], size: [{
|
|
29196
29314
|
type: Input
|
|
29197
29315
|
}] } });
|
|
29198
29316
|
|
|
@@ -29234,11 +29352,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
29234
29352
|
|
|
29235
29353
|
class MetadataCatalogComponent {
|
|
29236
29354
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MetadataCatalogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
29237
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MetadataCatalogComponent, isStandalone: true, selector: "gn-ui-metadata-catalog", inputs: { sourceLabel: "sourceLabel" }, ngImport: i0, template: "<div>\n <p class=\"text-gray-
|
|
29355
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: MetadataCatalogComponent, isStandalone: true, selector: "gn-ui-metadata-catalog", inputs: { sourceLabel: "sourceLabel" }, ngImport: i0, template: "<div>\n <p class=\"text-gray-900 text-xs mb-3 uppercase\" translate>\n record.metadata.catalog\n </p>\n <p class=\"text-primary font-title text-21 mb-1\">\n {{ sourceLabel }}\n </p>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29238
29356
|
}
|
|
29239
29357
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: MetadataCatalogComponent, decorators: [{
|
|
29240
29358
|
type: Component,
|
|
29241
|
-
args: [{ selector: 'gn-ui-metadata-catalog', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [TranslateModule], template: "<div>\n <p class=\"text-gray-
|
|
29359
|
+
args: [{ selector: 'gn-ui-metadata-catalog', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [TranslateModule], template: "<div>\n <p class=\"text-gray-900 text-xs mb-3 uppercase\" translate>\n record.metadata.catalog\n </p>\n <p class=\"text-primary font-title text-21 mb-1\">\n {{ sourceLabel }}\n </p>\n</div>\n" }]
|
|
29242
29360
|
}], propDecorators: { sourceLabel: [{
|
|
29243
29361
|
type: Input
|
|
29244
29362
|
}] } });
|
|
@@ -29639,7 +29757,7 @@ class RecordApiFormComponent {
|
|
|
29639
29757
|
maxFeatures: limit !== '-1' ? Number(limit) : undefined,
|
|
29640
29758
|
limit: limit !== '-1' ? Number(limit) : -1,
|
|
29641
29759
|
offset: offset !== '' ? Number(offset) : undefined,
|
|
29642
|
-
outputCrs: format
|
|
29760
|
+
outputCrs: format.toLowerCase().indexOf('json') > -1 ? 'EPSG:4326' : undefined,
|
|
29643
29761
|
};
|
|
29644
29762
|
if (this.endpoint instanceof WfsEndpoint) {
|
|
29645
29763
|
delete options.limit;
|
|
@@ -29647,6 +29765,7 @@ class RecordApiFormComponent {
|
|
|
29647
29765
|
return this.endpoint.getFeatureUrl(this.apiFeatureType, options);
|
|
29648
29766
|
}
|
|
29649
29767
|
else {
|
|
29768
|
+
delete options.outputCrs;
|
|
29650
29769
|
return await this.endpoint.getCollectionItemsUrl(this.apiFeatureType, options);
|
|
29651
29770
|
}
|
|
29652
29771
|
}
|
|
@@ -29842,6 +29961,154 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
29842
29961
|
type: Input
|
|
29843
29962
|
}] } });
|
|
29844
29963
|
|
|
29964
|
+
marker('record.kind.dataset');
|
|
29965
|
+
marker('record.kind.reuse');
|
|
29966
|
+
marker('record.kind.service');
|
|
29967
|
+
class InternalLinkCardComponent {
|
|
29968
|
+
set size(value) {
|
|
29969
|
+
this._size = value;
|
|
29970
|
+
this.cardClass = this.sizeClassMap[value] || '';
|
|
29971
|
+
this.thumbnailContainerClass = this.thumbnailSizeClassMap[value] || 'hidden';
|
|
29972
|
+
}
|
|
29973
|
+
get size() {
|
|
29974
|
+
return this._size;
|
|
29975
|
+
}
|
|
29976
|
+
constructor(elementRef) {
|
|
29977
|
+
this.elementRef = elementRef;
|
|
29978
|
+
this.linkHref = null;
|
|
29979
|
+
this.mdSelect = new EventEmitter();
|
|
29980
|
+
this.subscription = new Subscription();
|
|
29981
|
+
this.cardClass = '';
|
|
29982
|
+
this.thumbnailContainerClass = '';
|
|
29983
|
+
this._size = 'M';
|
|
29984
|
+
this.sizeClassMap = {
|
|
29985
|
+
L: 'min-h-[190px] md:w-[992px] py-3 px-3 flex items-start gap-5',
|
|
29986
|
+
M: 'min-h-[140px] md:w-[570px] py-3 px-3 flex items-start gap-4',
|
|
29987
|
+
S: 'min-h-[220px] md:w-[370px] py-3 px-3 flex gap-4',
|
|
29988
|
+
XS: 'min-h-[108px] md:w-[570px] py-3 px-3 flex gap-4',
|
|
29989
|
+
};
|
|
29990
|
+
this.thumbnailSizeClassMap = {
|
|
29991
|
+
L: 'w-[190px] h-[180px] rounded-lg overflow-hidden shrink-0',
|
|
29992
|
+
M: 'w-[110px] h-[140px] rounded-lg overflow-hidden shrink-0',
|
|
29993
|
+
S: 'hidden',
|
|
29994
|
+
XS: 'hidden',
|
|
29995
|
+
};
|
|
29996
|
+
this.titleClassMap = {
|
|
29997
|
+
L: 'text-xl line-clamp-2',
|
|
29998
|
+
M: 'text-base line-clamp-2',
|
|
29999
|
+
S: 'text-base line-clamp-3',
|
|
30000
|
+
XS: 'text-base mt-3 line-clamp-2',
|
|
30001
|
+
};
|
|
30002
|
+
}
|
|
30003
|
+
ngOnInit() {
|
|
30004
|
+
this.abstract = removeWhitespace(stripHtml(this.record?.abstract));
|
|
30005
|
+
this.subscription.add(fromEvent(this.elementRef.nativeElement, 'click').subscribe((event) => {
|
|
30006
|
+
event.preventDefault();
|
|
30007
|
+
propagateToDocumentOnly(event);
|
|
30008
|
+
this.mdSelect.emit(this.record);
|
|
30009
|
+
}));
|
|
30010
|
+
}
|
|
30011
|
+
get organization() {
|
|
30012
|
+
return this.record.ownerOrganization;
|
|
30013
|
+
}
|
|
30014
|
+
get contacts() {
|
|
30015
|
+
return ((this.record.kind === 'dataset'
|
|
30016
|
+
? this.record.contactsForResource
|
|
30017
|
+
: this.record.contacts) || []);
|
|
30018
|
+
}
|
|
30019
|
+
getTitleClass() {
|
|
30020
|
+
return (this.titleClassMap[this._size] +
|
|
30021
|
+
' ' +
|
|
30022
|
+
(this.record.ownerOrganization?.name ? '' : 'mt-3') || '');
|
|
30023
|
+
}
|
|
30024
|
+
openExternalUrl(event, url) {
|
|
30025
|
+
event.stopPropagation();
|
|
30026
|
+
window.open(url, '_blank');
|
|
30027
|
+
}
|
|
30028
|
+
openMailto(event, email) {
|
|
30029
|
+
event.stopPropagation();
|
|
30030
|
+
window.open(`mailto:${email}`, '_blank');
|
|
30031
|
+
}
|
|
30032
|
+
copyToClipboard(event, text) {
|
|
30033
|
+
event.stopPropagation();
|
|
30034
|
+
navigator.clipboard.writeText(text);
|
|
30035
|
+
}
|
|
30036
|
+
get shouldShowThumbnail() {
|
|
30037
|
+
return this.size === 'L' || this.size === 'M';
|
|
30038
|
+
}
|
|
30039
|
+
getKindInfo() {
|
|
30040
|
+
if (!this.record?.kind)
|
|
30041
|
+
return { text: '', icon: '' };
|
|
30042
|
+
switch (this.record.kind.toLowerCase()) {
|
|
30043
|
+
case 'dataset':
|
|
30044
|
+
return { text: 'record.kind.dataset', icon: 'iconoirDatabase' };
|
|
30045
|
+
case 'reuse':
|
|
30046
|
+
return { text: 'record.kind.reuse', icon: 'iconoirMap' };
|
|
30047
|
+
case 'service':
|
|
30048
|
+
return { text: 'record.kind.service', icon: 'matCode' };
|
|
30049
|
+
default:
|
|
30050
|
+
return { text: '', icon: '' };
|
|
30051
|
+
}
|
|
30052
|
+
}
|
|
30053
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InternalLinkCardComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30054
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: InternalLinkCardComponent, isStandalone: true, selector: "gn-ui-internal-link-card", inputs: { record: "record", metadataQualityDisplay: "metadataQualityDisplay", favoriteTemplate: "favoriteTemplate", linkHref: "linkHref", isGeodata: "isGeodata", size: "size" }, outputs: { mdSelect: "mdSelect" }, providers: [
|
|
30055
|
+
provideIcons({
|
|
30056
|
+
matLocationSearchingOutline,
|
|
30057
|
+
matCode,
|
|
30058
|
+
iconoirDatabase,
|
|
30059
|
+
iconoirMap,
|
|
30060
|
+
iconoirInternet,
|
|
30061
|
+
matEmailOutline,
|
|
30062
|
+
matPhoneOutline,
|
|
30063
|
+
matLocationOnOutline,
|
|
30064
|
+
}),
|
|
30065
|
+
provideNgIconsConfig({
|
|
30066
|
+
size: '1.2em',
|
|
30067
|
+
}),
|
|
30068
|
+
], ngImport: i0, template: "<div\n class=\"rounded-lg group card-shadow cursor-pointer overflow-hidden hover:bg-gray-50\"\n [ngClass]=\"cardClass\"\n>\n <div class=\"flex flex-row justify-between w-full\">\n <div\n *ngIf=\"shouldShowThumbnail\"\n [ngClass]=\"thumbnailContainerClass\"\n class=\"mr-4 flex flex-col\"\n >\n <gn-ui-thumbnail\n class=\"w-full h-full object-cover\"\n [thumbnailUrl]=\"record.overviews?.[0]?.url?.toString() || ''\"\n [fit]=\"'cover'\"\n ></gn-ui-thumbnail>\n </div>\n <div\n class=\"flex flex-col flex-1 relative\"\n [ngClass]=\"{\n 'justify-between': record.ownerOrganization?.name && size !== 'XS',\n }\"\n >\n <div class=\"flex items-center space-x-2\">\n <span\n *ngIf=\"getKindInfo().text\"\n class=\"badge-btn text-white text-xs px-2 py-0.5 font-bold shrink-0 bg-primary leading-tight flex items-center justify-evenly h-6 min-h-6\"\n >\n <ng-icon\n class=\"text-[0.9em] text-white mr-1\"\n [name]=\"getKindInfo().icon\"\n ></ng-icon>\n <span class=\"font-medium text-white text-xs\" translate>\n {{ getKindInfo().text }}\n </span>\n </span>\n <span\n *ngIf=\"isGeodata\"\n class=\"badge-btn text-black text-xs px-2 py-0.5 font-bold shrink-0 bg-primary-white leading-tight flex items-center justify-evenly h-6 min-h-6\"\n [ngClass]=\"size === 'L' ? 'w-[164px]' : 'w-8'\"\n >\n <ng-icon\n class=\"text-[0.9em] text-primary-darkest\"\n name=\"matLocationSearchingOutline\"\n ></ng-icon>\n <ng-container *ngIf=\"size === 'L'\">\n <span\n class=\"font-medium text-primary-darkest text-xs ml-1\"\n translate\n >\n record.metadata.type\n </span>\n </ng-container>\n </span>\n <div class=\"flex items-center\">\n <gn-ui-metadata-quality\n [smaller]=\"true\"\n [metadata]=\"record\"\n [metadataQualityDisplay]=\"metadataQualityDisplay\"\n ></gn-ui-metadata-quality>\n </div>\n <div class=\"absolute top-0 right-0 items-center\">\n <ng-container\n *ngIf=\"size !== 'XS'\"\n [ngTemplateOutlet]=\"favoriteTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: record }\"\n ></ng-container>\n </div>\n </div>\n <div\n class=\"font-medium text-title group-hover:text-primary overflow-hidden break-words\"\n [ngClass]=\"getTitleClass()\"\n >\n {{ record.title }}\n </div>\n <div\n *ngIf=\"size === 'L'\"\n class=\"mt-1 mb-2 font-normal text-xs text-gray-900 line-clamp-2 overflow-hidden\"\n >\n <gn-ui-markdown-parser\n [textContent]=\"abstract\"\n [whitoutStyles]=\"true\"\n ></gn-ui-markdown-parser>\n </div>\n <div\n *ngIf=\"size !== 'XS' && record.ownerOrganization?.name\"\n class=\"flex items-center justify-evenly bg-gray-50 rounded-lg h-[53px] px-2\"\n >\n <div class=\"flex items-center flex-1 min-w-0\">\n <div\n class=\"w-[45px] h-[45px] rounded-lg overflow-hidden shrink-0 mr-3\"\n >\n <gn-ui-thumbnail\n [thumbnailUrl]=\"\n record.ownerOrganization?.logoUrl?.toString() || ''\n \"\n [fit]=\"'contain'\"\n class=\"w-full h-full rounded-lg\"\n ></gn-ui-thumbnail>\n </div>\n <div *ngIf=\"organization?.name\" class=\"flex-1 w-0 overflow-hidden\">\n <div\n class=\"text-xs text-black font-normal leading-tight truncate\"\n translate\n >\n record.card.metadata.contact\n </div>\n <div class=\"text-xl text-primary-black font-medium truncate\">\n {{ organization.name }}\n </div>\n </div>\n </div>\n <div *ngIf=\"size === 'L'\" class=\"ml-2 flex space-x-2\">\n <div *ngIf=\"organization?.website\" class=\"flex\">\n <button\n [title]=\"organization.website\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest\"\n (click)=\"openExternalUrl($event, organization.website)\"\n >\n <ng-icon name=\"iconoirInternet\"></ng-icon>\n </button>\n </div>\n <div *ngIf=\"contacts[0]?.email\" class=\"flex\">\n <button\n [title]=\"contacts[0].email\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest\"\n data-cy=\"contact-email\"\n (click)=\"openMailto($event, contacts[0].email)\"\n >\n <ng-icon name=\"matEmailOutline\"></ng-icon>\n </button>\n </div>\n <div *ngIf=\"contacts[0]?.phone\" class=\"flex\">\n <button\n [title]=\"'Copy to clipboard'\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest relative group\"\n data-cy=\"contact-phone\"\n (click)=\"copyToClipboard($event, contacts[0].phone)\"\n >\n <ng-icon name=\"matPhoneOutline\"></ng-icon>\n </button>\n </div>\n <div *ngIf=\"contacts[0]?.address\" class=\"flex\">\n <button\n [title]=\"'Copy to clipboard'\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest relative group\"\n data-cy=\"contact-phone\"\n (click)=\"copyToClipboard($event, contacts[0].address)\"\n >\n <ng-icon name=\"matLocationOnOutline\"></ng-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ThumbnailComponent, selector: "gn-ui-thumbnail", inputs: ["thumbnailUrl", "fit"], outputs: ["placeholderShown"] }, { kind: "component", type: MetadataQualityComponent, selector: "gn-ui-metadata-quality", inputs: ["metadata", "smaller", "metadataQualityDisplay"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NgIconComponent, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i1$1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: MarkdownParserComponent, selector: "gn-ui-markdown-parser", inputs: ["textContent", "whitoutStyles"] }] }); }
|
|
30069
|
+
}
|
|
30070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InternalLinkCardComponent, decorators: [{
|
|
30071
|
+
type: Component,
|
|
30072
|
+
args: [{ selector: 'gn-ui-internal-link-card', standalone: true, imports: [
|
|
30073
|
+
NgClass,
|
|
30074
|
+
NgIf,
|
|
30075
|
+
ThumbnailComponent,
|
|
30076
|
+
MetadataQualityComponent,
|
|
30077
|
+
NgTemplateOutlet,
|
|
30078
|
+
NgIconComponent,
|
|
30079
|
+
TranslateModule,
|
|
30080
|
+
MarkdownParserComponent,
|
|
30081
|
+
], providers: [
|
|
30082
|
+
provideIcons({
|
|
30083
|
+
matLocationSearchingOutline,
|
|
30084
|
+
matCode,
|
|
30085
|
+
iconoirDatabase,
|
|
30086
|
+
iconoirMap,
|
|
30087
|
+
iconoirInternet,
|
|
30088
|
+
matEmailOutline,
|
|
30089
|
+
matPhoneOutline,
|
|
30090
|
+
matLocationOnOutline,
|
|
30091
|
+
}),
|
|
30092
|
+
provideNgIconsConfig({
|
|
30093
|
+
size: '1.2em',
|
|
30094
|
+
}),
|
|
30095
|
+
], template: "<div\n class=\"rounded-lg group card-shadow cursor-pointer overflow-hidden hover:bg-gray-50\"\n [ngClass]=\"cardClass\"\n>\n <div class=\"flex flex-row justify-between w-full\">\n <div\n *ngIf=\"shouldShowThumbnail\"\n [ngClass]=\"thumbnailContainerClass\"\n class=\"mr-4 flex flex-col\"\n >\n <gn-ui-thumbnail\n class=\"w-full h-full object-cover\"\n [thumbnailUrl]=\"record.overviews?.[0]?.url?.toString() || ''\"\n [fit]=\"'cover'\"\n ></gn-ui-thumbnail>\n </div>\n <div\n class=\"flex flex-col flex-1 relative\"\n [ngClass]=\"{\n 'justify-between': record.ownerOrganization?.name && size !== 'XS',\n }\"\n >\n <div class=\"flex items-center space-x-2\">\n <span\n *ngIf=\"getKindInfo().text\"\n class=\"badge-btn text-white text-xs px-2 py-0.5 font-bold shrink-0 bg-primary leading-tight flex items-center justify-evenly h-6 min-h-6\"\n >\n <ng-icon\n class=\"text-[0.9em] text-white mr-1\"\n [name]=\"getKindInfo().icon\"\n ></ng-icon>\n <span class=\"font-medium text-white text-xs\" translate>\n {{ getKindInfo().text }}\n </span>\n </span>\n <span\n *ngIf=\"isGeodata\"\n class=\"badge-btn text-black text-xs px-2 py-0.5 font-bold shrink-0 bg-primary-white leading-tight flex items-center justify-evenly h-6 min-h-6\"\n [ngClass]=\"size === 'L' ? 'w-[164px]' : 'w-8'\"\n >\n <ng-icon\n class=\"text-[0.9em] text-primary-darkest\"\n name=\"matLocationSearchingOutline\"\n ></ng-icon>\n <ng-container *ngIf=\"size === 'L'\">\n <span\n class=\"font-medium text-primary-darkest text-xs ml-1\"\n translate\n >\n record.metadata.type\n </span>\n </ng-container>\n </span>\n <div class=\"flex items-center\">\n <gn-ui-metadata-quality\n [smaller]=\"true\"\n [metadata]=\"record\"\n [metadataQualityDisplay]=\"metadataQualityDisplay\"\n ></gn-ui-metadata-quality>\n </div>\n <div class=\"absolute top-0 right-0 items-center\">\n <ng-container\n *ngIf=\"size !== 'XS'\"\n [ngTemplateOutlet]=\"favoriteTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: record }\"\n ></ng-container>\n </div>\n </div>\n <div\n class=\"font-medium text-title group-hover:text-primary overflow-hidden break-words\"\n [ngClass]=\"getTitleClass()\"\n >\n {{ record.title }}\n </div>\n <div\n *ngIf=\"size === 'L'\"\n class=\"mt-1 mb-2 font-normal text-xs text-gray-900 line-clamp-2 overflow-hidden\"\n >\n <gn-ui-markdown-parser\n [textContent]=\"abstract\"\n [whitoutStyles]=\"true\"\n ></gn-ui-markdown-parser>\n </div>\n <div\n *ngIf=\"size !== 'XS' && record.ownerOrganization?.name\"\n class=\"flex items-center justify-evenly bg-gray-50 rounded-lg h-[53px] px-2\"\n >\n <div class=\"flex items-center flex-1 min-w-0\">\n <div\n class=\"w-[45px] h-[45px] rounded-lg overflow-hidden shrink-0 mr-3\"\n >\n <gn-ui-thumbnail\n [thumbnailUrl]=\"\n record.ownerOrganization?.logoUrl?.toString() || ''\n \"\n [fit]=\"'contain'\"\n class=\"w-full h-full rounded-lg\"\n ></gn-ui-thumbnail>\n </div>\n <div *ngIf=\"organization?.name\" class=\"flex-1 w-0 overflow-hidden\">\n <div\n class=\"text-xs text-black font-normal leading-tight truncate\"\n translate\n >\n record.card.metadata.contact\n </div>\n <div class=\"text-xl text-primary-black font-medium truncate\">\n {{ organization.name }}\n </div>\n </div>\n </div>\n <div *ngIf=\"size === 'L'\" class=\"ml-2 flex space-x-2\">\n <div *ngIf=\"organization?.website\" class=\"flex\">\n <button\n [title]=\"organization.website\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest\"\n (click)=\"openExternalUrl($event, organization.website)\"\n >\n <ng-icon name=\"iconoirInternet\"></ng-icon>\n </button>\n </div>\n <div *ngIf=\"contacts[0]?.email\" class=\"flex\">\n <button\n [title]=\"contacts[0].email\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest\"\n data-cy=\"contact-email\"\n (click)=\"openMailto($event, contacts[0].email)\"\n >\n <ng-icon name=\"matEmailOutline\"></ng-icon>\n </button>\n </div>\n <div *ngIf=\"contacts[0]?.phone\" class=\"flex\">\n <button\n [title]=\"'Copy to clipboard'\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest relative group\"\n data-cy=\"contact-phone\"\n (click)=\"copyToClipboard($event, contacts[0].phone)\"\n >\n <ng-icon name=\"matPhoneOutline\"></ng-icon>\n </button>\n </div>\n <div *ngIf=\"contacts[0]?.address\" class=\"flex\">\n <button\n [title]=\"'Copy to clipboard'\"\n class=\"w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest relative group\"\n data-cy=\"contact-phone\"\n (click)=\"copyToClipboard($event, contacts[0].address)\"\n >\n <ng-icon name=\"matLocationOnOutline\"></ng-icon>\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
30096
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { record: [{
|
|
30097
|
+
type: Input
|
|
30098
|
+
}], metadataQualityDisplay: [{
|
|
30099
|
+
type: Input
|
|
30100
|
+
}], favoriteTemplate: [{
|
|
30101
|
+
type: Input
|
|
30102
|
+
}], linkHref: [{
|
|
30103
|
+
type: Input
|
|
30104
|
+
}], isGeodata: [{
|
|
30105
|
+
type: Input
|
|
30106
|
+
}], size: [{
|
|
30107
|
+
type: Input
|
|
30108
|
+
}], mdSelect: [{
|
|
30109
|
+
type: Output
|
|
30110
|
+
}] } });
|
|
30111
|
+
|
|
29845
30112
|
class UiElementsModule {
|
|
29846
30113
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UiElementsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
29847
30114
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: UiElementsModule, declarations: [AvatarComponent, UserPreviewComponent], imports: [CommonModule,
|
|
@@ -29860,12 +30127,14 @@ class UiElementsModule {
|
|
|
29860
30127
|
MaxLinesComponent,
|
|
29861
30128
|
TextInputComponent,
|
|
29862
30129
|
ImageInputComponent,
|
|
29863
|
-
ApplicationBannerComponent
|
|
30130
|
+
ApplicationBannerComponent,
|
|
30131
|
+
InternalLinkCardComponent], exports: [ThumbnailComponent,
|
|
29864
30132
|
AvatarComponent,
|
|
29865
30133
|
UserPreviewComponent,
|
|
29866
30134
|
MarkdownParserComponent,
|
|
29867
30135
|
ImageInputComponent,
|
|
29868
|
-
ApplicationBannerComponent
|
|
30136
|
+
ApplicationBannerComponent,
|
|
30137
|
+
InternalLinkCardComponent] }); }
|
|
29869
30138
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UiElementsModule, providers: [
|
|
29870
30139
|
provideNgIconsConfig({
|
|
29871
30140
|
size: '1.5em',
|
|
@@ -29885,7 +30154,8 @@ class UiElementsModule {
|
|
|
29885
30154
|
MaxLinesComponent,
|
|
29886
30155
|
TextInputComponent,
|
|
29887
30156
|
ImageInputComponent,
|
|
29888
|
-
ApplicationBannerComponent
|
|
30157
|
+
ApplicationBannerComponent,
|
|
30158
|
+
InternalLinkCardComponent] }); }
|
|
29889
30159
|
}
|
|
29890
30160
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UiElementsModule, decorators: [{
|
|
29891
30161
|
type: NgModule,
|
|
@@ -29910,6 +30180,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
29910
30180
|
TextInputComponent,
|
|
29911
30181
|
ImageInputComponent,
|
|
29912
30182
|
ApplicationBannerComponent,
|
|
30183
|
+
InternalLinkCardComponent,
|
|
29913
30184
|
],
|
|
29914
30185
|
providers: [
|
|
29915
30186
|
provideNgIconsConfig({
|
|
@@ -29924,6 +30195,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
29924
30195
|
MarkdownParserComponent,
|
|
29925
30196
|
ImageInputComponent,
|
|
29926
30197
|
ApplicationBannerComponent,
|
|
30198
|
+
InternalLinkCardComponent,
|
|
29927
30199
|
],
|
|
29928
30200
|
}]
|
|
29929
30201
|
}] });
|
|
@@ -31573,11 +31845,11 @@ class FavoriteStarComponent {
|
|
|
31573
31845
|
});
|
|
31574
31846
|
}
|
|
31575
31847
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FavoriteStarComponent, deps: [{ token: FavoritesService }, { token: PlatformServiceInterface }, { token: i0.ChangeDetectorRef }, { token: AuthService }, { token: i1$1.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31576
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FavoriteStarComponent, isStandalone: true, selector: "gn-ui-favorite-star", inputs: { displayCount: "displayCount", record: "record" }, viewQueries: [{ propertyName: "starToggleRef", first: true, predicate: StarToggleComponent, descendants: true, read: ElementRef }], ngImport: i0, template: "<div class=\"flex flex-row items-center\">\n <span\n class=\"align-text-top mr-1.5\"\n data-test=\"favorite-count\"\n *ngIf=\"hasFavoriteCount && displayCount\"\n >{{ favoriteCount }}</span\n >\n <gn-ui-star-toggle\n [toggled]=\"isFavorite$ | async\"\n (newValue)=\"toggleFavorite($event)\"\n [disabled]=\"loading || (isAnonymous$ | async)\"\n ></gn-ui-star-toggle>\n <span\n class=\"align-text-top ml-1.5\"\n data-test=\"favorite-count\"\n *ngIf=\"!displayCount\"\n translate=\"datahub.record.addToFavorites\"\n ></span>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "component", type: StarToggleComponent, selector: "gn-ui-star-toggle", inputs: ["toggled", "disabled"], outputs: ["newValue"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
31848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FavoriteStarComponent, isStandalone: true, selector: "gn-ui-favorite-star", inputs: { displayCount: "displayCount", record: "record" }, viewQueries: [{ propertyName: "starToggleRef", first: true, predicate: StarToggleComponent, descendants: true, read: ElementRef }], ngImport: i0, template: "<div class=\"flex flex-row items-center\">\n <span\n class=\"align-text-top mr-1.5 mt-0.5\"\n data-test=\"favorite-count\"\n *ngIf=\"hasFavoriteCount && displayCount\"\n >{{ favoriteCount }}</span\n >\n <gn-ui-star-toggle\n [toggled]=\"isFavorite$ | async\"\n (newValue)=\"toggleFavorite($event)\"\n [disabled]=\"loading || (isAnonymous$ | async)\"\n ></gn-ui-star-toggle>\n <span\n class=\"align-text-top ml-1.5\"\n data-test=\"favorite-count\"\n *ngIf=\"!displayCount\"\n translate=\"datahub.record.addToFavorites\"\n ></span>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "component", type: StarToggleComponent, selector: "gn-ui-star-toggle", inputs: ["toggled", "disabled"], outputs: ["newValue"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
31577
31849
|
}
|
|
31578
31850
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FavoriteStarComponent, decorators: [{
|
|
31579
31851
|
type: Component,
|
|
31580
|
-
args: [{ selector: 'gn-ui-favorite-star', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, StarToggleComponent], template: "<div class=\"flex flex-row items-center\">\n <span\n class=\"align-text-top mr-1.5\"\n data-test=\"favorite-count\"\n *ngIf=\"hasFavoriteCount && displayCount\"\n >{{ favoriteCount }}</span\n >\n <gn-ui-star-toggle\n [toggled]=\"isFavorite$ | async\"\n (newValue)=\"toggleFavorite($event)\"\n [disabled]=\"loading || (isAnonymous$ | async)\"\n ></gn-ui-star-toggle>\n <span\n class=\"align-text-top ml-1.5\"\n data-test=\"favorite-count\"\n *ngIf=\"!displayCount\"\n translate=\"datahub.record.addToFavorites\"\n ></span>\n</div>\n" }]
|
|
31852
|
+
args: [{ selector: 'gn-ui-favorite-star', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, StarToggleComponent], template: "<div class=\"flex flex-row items-center\">\n <span\n class=\"align-text-top mr-1.5 mt-0.5\"\n data-test=\"favorite-count\"\n *ngIf=\"hasFavoriteCount && displayCount\"\n >{{ favoriteCount }}</span\n >\n <gn-ui-star-toggle\n [toggled]=\"isFavorite$ | async\"\n (newValue)=\"toggleFavorite($event)\"\n [disabled]=\"loading || (isAnonymous$ | async)\"\n ></gn-ui-star-toggle>\n <span\n class=\"align-text-top ml-1.5\"\n data-test=\"favorite-count\"\n *ngIf=\"!displayCount\"\n translate=\"datahub.record.addToFavorites\"\n ></span>\n</div>\n" }]
|
|
31581
31853
|
}], ctorParameters: () => [{ type: FavoritesService }, { type: PlatformServiceInterface }, { type: i0.ChangeDetectorRef }, { type: AuthService }, { type: i1$1.TranslateService }], propDecorators: { displayCount: [{
|
|
31582
31854
|
type: Input
|
|
31583
31855
|
}], record: [{
|
|
@@ -36508,6 +36780,10 @@ class ChartViewComponent {
|
|
|
36508
36780
|
this.dataset$ = this.currentLink$.pipe(filter((link) => !!link), switchMap$1((link) => {
|
|
36509
36781
|
this.error = null;
|
|
36510
36782
|
this.loading = true;
|
|
36783
|
+
if (link.accessRestricted) {
|
|
36784
|
+
this.handleError('dataset.error.restrictedAccess');
|
|
36785
|
+
return EMPTY;
|
|
36786
|
+
}
|
|
36511
36787
|
return this.dataService.getDataset(link, this.cacheActive).pipe(catchError((error) => {
|
|
36512
36788
|
this.handleError(error);
|
|
36513
36789
|
return EMPTY;
|
|
@@ -36772,6 +37048,10 @@ class TableViewComponent {
|
|
|
36772
37048
|
this.error = null;
|
|
36773
37049
|
if (!link)
|
|
36774
37050
|
return of(undefined);
|
|
37051
|
+
if (link.accessRestricted) {
|
|
37052
|
+
this.handleError('dataset.error.restrictedAccess');
|
|
37053
|
+
return of([]);
|
|
37054
|
+
}
|
|
36775
37055
|
this.loading = true;
|
|
36776
37056
|
return this.getDatasetReader(link).pipe(catchError((error) => {
|
|
36777
37057
|
this.handleError(error);
|
|
@@ -37766,6 +38046,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
37766
38046
|
|
|
37767
38047
|
marker('map.dropdown.placeholder');
|
|
37768
38048
|
marker('wfs.feature.limit');
|
|
38049
|
+
marker('dataset.error.restrictedAccess');
|
|
37769
38050
|
class MapViewComponent {
|
|
37770
38051
|
set exceedsLimit(value) {
|
|
37771
38052
|
this.excludeWfs$.next(value);
|
|
@@ -37817,6 +38098,10 @@ class MapViewComponent {
|
|
|
37817
38098
|
this.hidePreview = false;
|
|
37818
38099
|
this.loading = true;
|
|
37819
38100
|
this.error = null;
|
|
38101
|
+
if (link.accessRestricted) {
|
|
38102
|
+
this.handleError('dataset.error.restrictedAccess');
|
|
38103
|
+
return of([]);
|
|
38104
|
+
}
|
|
37820
38105
|
return this.getLayerFromLink(link).pipe(map$1((layer) => [layer]), catchError((e) => {
|
|
37821
38106
|
this.handleError(e);
|
|
37822
38107
|
return of([]);
|
|
@@ -41636,5 +41921,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
41636
41921
|
* Generated bundle index. Do not edit.
|
|
41637
41922
|
*/
|
|
41638
41923
|
|
|
41639
|
-
export { ADD_RESULTS, ADD_SEARCH, AbstractAction, AbstractSearchField, AddLayerFromCatalogComponent, AddLayerRecordPreviewComponent, AddResults, AddSearch, AnchorLinkDirective, ApiCardComponent, ApplicationBannerComponent, AuthService, AutocompleteComponent, AvailableServicesField, AvatarComponent, AvatarServiceInterface, BASEMAP_LAYERS, BadgeComponent, BaseConverter, BaseFileReader, BaseReader, BlockListComponent, ButtonComponent, CLEAR_ERROR, CLEAR_RESULTS, CarouselComponent, CatalogTitleComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, EmbeddedTranslateLoader, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetBlockStubComponent, FacetItemComponent, FacetItemStubComponent, FacetListComponent, FacetsContainerComponent, FacetsModule, FavoriteStarComponent, FavoritesService, FeatureAuthModule, FeatureCatalogModule, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureNotificationsModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GN_UI_VERSION, GeoTableViewComponent, GeocodingComponent, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GpfApiDlComponent, GravatarService, HttpLoaderFactory, I18nInterceptor, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InteractiveTableColumnComponent, InteractiveTableComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LANG_3_TO_2_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LangService, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkCardComponent, LinkClassifierService, LinkUsage, LoadingMaskComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, METADATA_LANGUAGE, MY_FORMATS, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapStyleService, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, ModalDialogComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NavigationButtonComponent, NotificationComponent, NotificationsContainerComponent, NotificationsService, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PopoverComponent, PopupAlertComponent, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_SEARCH, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordsMetricsComponent, RecordsService, RelatedRecordCardComponent, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, ResultsHitsContainerComponent, ResultsHitsNumberComponent, ResultsLayoutComponent, ResultsLayoutConfigItem, ResultsListComponent, ResultsListContainerComponent, ResultsListItemComponent, ResultsTableComponent, ResultsTableContainerComponent, RouterEffects, RouterFacade, RouterService, SEARCH_FEATURE_KEY, SETTINGS_URL, SET_CONFIG_AGGREGATIONS, SET_CONFIG_FILTERS, SET_CONFIG_REQUEST_FIELDS, SET_ERROR, SET_FAVORITES_ONLY, SET_FILTERS, SET_INCLUDE_ON_AGGREGATION, SET_PAGE_SIZE, SET_RESULTS_AGGREGATIONS, SET_RESULTS_HITS, SET_RESULTS_LAYOUT, SET_SEARCH, SET_SORT_BY, SET_SPATIAL_FILTER_ENABLED, SearchEffects, SearchFacade, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortableListComponent, SourceLabelComponent, SourcesService, SpinningLoaderComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UiDatavizModule, UiElementsModule, FacetsModule$1 as UiFacetsModule, UiInputsModule, UiLayoutModule, UiSearchModule, UiWidgetsModule, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, UtilI18nModule, UtilSharedModule, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, WizardComponent, WizardFieldComponent, WizardFieldType, WizardService, WizardSummarizeComponent, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, currentPage, defaultMapStyleFixture, defaultMapStyleHlFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryFromGeoJSON, getGlobalConfig, getJsonDataItemsProxy, getLangFromBrowser, getLayers, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isConfigLoaded, isDateRange, isFormatInQueryParam, isPublished, itemModelFixture, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, parse, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readText, reducer$2 as reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setFieldVisibility, setSelectedFeatures, setTextContent, someHabTableItemFixture, sortByFromString, sortByToString, sortByToStrings, stripHtml, stripNamespace, tableItemsFixture, toDate, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateRecordField, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
|
|
41924
|
+
export { ADD_RESULTS, ADD_SEARCH, AbstractAction, AbstractSearchField, AddLayerFromCatalogComponent, AddLayerRecordPreviewComponent, AddResults, AddSearch, AnchorLinkDirective, ApiCardComponent, ApplicationBannerComponent, AuthService, AutocompleteComponent, AvailableServicesField, AvatarComponent, AvatarServiceInterface, BASEMAP_LAYERS, BadgeComponent, BaseConverter, BaseFileReader, BaseReader, BlockListComponent, ButtonComponent, CLEAR_ERROR, CLEAR_RESULTS, CarouselComponent, CatalogTitleComponent, ChartComponent, ChartViewComponent, CheckToggleComponent, CheckboxComponent, ClearError, ClearResults, ColorScaleComponent, ConfirmationDialogComponent, ContentGhostComponent, CopyTextButtonComponent, DEFAULT_GN4_LOGIN_URL, DEFAULT_GN4_LOGOUT_URL, DEFAULT_GN4_SETTINGS_URL, DEFAULT_LANG, DEFAULT_PAGE_SIZE, DEFAULT_RESULTS_LAYOUT_CONFIG, DEFAULT_SEARCH_KEY, DO_NOT_USE_DEFAULT_BASEMAP, DataService, DataTableComponent, DataViewComponent, DataViewPermalinkComponent, DataViewShareComponent, DataViewWebComponentComponent, DatePickerComponent, DateRangeDropdownComponent, DateRangePickerComponent, DateRangeSearchField, DateService, DcatApConverter, DefaultRouterModule, DownloadItemComponent, DownloadsListComponent, DragAndDropFileInputComponent, DropdownMultiselectComponent, DropdownSelectorComponent, EDITOR_FEATURE_KEY, ES_QUERY_FIELDS_PRIORITY, ES_RESOURCES_VALUES, ES_SOURCE_SUMMARY, EXTERNAL_VIEWER_OPEN_NEW_TAB, EXTERNAL_VIEWER_URL_TEMPLATE, EditableLabelDirective, EditorFacade, EditorService, ElasticsearchService, EmbeddedTranslateLoader, ErrorComponent, ErrorType, ExpandablePanelButtonComponent, ExpandablePanelComponent, ExternalViewerButtonComponent, FIELDS_BRIEF, FIELDS_SUMMARY, FILTER_GEOMETRY, FILTER_SUMMARY_IGNORE_LIST, FORMATS, FacetBlockComponent, FacetBlockStubComponent, FacetItemComponent, FacetItemStubComponent, FacetListComponent, FacetsContainerComponent, FacetsModule, FavoriteStarComponent, FavoritesService, FeatureAuthModule, FeatureCatalogModule, FeatureDetailComponent, FeatureEditorModule, FeatureMapModule, FeatureNotificationsModule, FeatureRecordModule, FeatureSearchModule, FetchError, FieldsService, FigureComponent, FigureContainerComponent, FileInputComponent, FileTranslateLoader, FilesDropDirective, FilterDropdownComponent, FormFieldArrayComponent, FormFieldComponent, FormFieldDateComponent, FormFieldFileComponent, FormFieldKeywordsComponent, FormFieldLicenseComponent, FormFieldObjectComponent, FormFieldRichComponent, FormFieldSimpleComponent, FormFieldSpatialExtentComponent, FormFieldTemporalExtentsComponent, FormFieldWrapperComponent, FullTextSearchField, FuzzySearchComponent, GN_UI_VERSION, GeoTableViewComponent, GeocodingComponent, GeojsonReader, Gn4Converter, Gn4PlatformMapper, Gn4PlatformService, Gn4Repository, Gn4SettingsService, GpfApiDlComponent, GravatarService, HttpLoaderFactory, I18nInterceptor, ImageFallbackDirective, ImageInputComponent, ImageOverlayPreviewComponent, ImportRecordComponent, InteractiveTableColumnComponent, InteractiveTableComponent, InternalLinkCardComponent, IsSpatialSearchField, Iso191153Converter, Iso19139Converter, LANGUAGES_LIST, LANGUAGE_NAMES, LANGUAGE_STORAGE_KEY, LANG_2_TO_3_MAPPER, LANG_3_TO_2_MAPPER, LOGIN_URL, LOGOUT_URL, LONLAT_CRS_CODES, LangService, LanguageSwitcherComponent, LayersPanelComponent, LicenseSearchField, LinkCardComponent, LinkClassifierService, LinkUsage, LoadingMaskComponent, LogService, MAP_FEATURE_KEY, MAP_VIEW_CONSTRAINTS, METADATA_LANGUAGE, MY_FORMATS, MapContainerComponent, MapFacade, MapLegendComponent, MapStateContainerComponent, MapStyleService, MapUtilsService, MapViewComponent, MarkdownEditorComponent, MarkdownParserComponent, MaxLinesComponent, mdview_actions as MdViewActions, MdViewFacade, MetadataCatalogComponent, MetadataContactComponent, MetadataInfoComponent, MetadataLinkType, MetadataMapperContext, MetadataQualityComponent, MetadataQualityItemComponent, ModalDialogComponent, MultilingualSearchField, MyOrgService, NAMESPACES, NOT_APPLICABLE_CONSTRAINT, NOT_KNOWN_CONSTRAINT, NavigationButtonComponent, NotificationComponent, NotificationsContainerComponent, NotificationsService, ORGANIZATIONS_STRATEGY, ORGANIZATION_PAGE_URL_TOKEN, ORGANIZATION_URL_TOKEN, OrganisationPreviewComponent, OrganisationsComponent, OrganisationsFilterComponent, OrganisationsResultComponent, OrganizationSearchField, OrganizationsFromGroupsService, OrganizationsFromMetadataService, OwnerSearchField, PAGINATE, PARSE_DELIMITER, PATCH_RESULTS_AGGREGATIONS, PROXY_PATH, Paginate, PaginationButtonsComponent, PaginationComponent, PaginationDotsComponent, PatchResultsAggregations, PopoverComponent, PopupAlertComponent, PreviousNextButtonsComponent, ProgressBarComponent, ProxyService, QUERY_FIELDS, RECORD_URL_TOKEN, REQUEST_MORE_ON_AGGREGATION, REQUEST_MORE_RESULTS, REQUEST_NEW_RESULTS, RESULTS_LAYOUT_CONFIG, ROUTER_CONFIG, ROUTER_ROUTE_DATASET, ROUTER_ROUTE_ORGANIZATION, ROUTER_ROUTE_SEARCH, ROUTER_STATE_KEY, ROUTE_PARAMS, RecordApiFormComponent, RecordFormComponent, RecordMetaComponent, RecordMetricComponent, RecordPreviewCardComponent, RecordPreviewComponent, RecordPreviewFeedComponent, RecordPreviewListComponent, RecordPreviewRowComponent, RecordPreviewTextComponent, RecordPreviewTitleComponent, RecordsMetricsComponent, RecordsService, RelatedRecordCardComponent, RequestMoreOnAggregation, RequestMoreResults, RequestNewResults, ResultsHitsContainerComponent, ResultsHitsNumberComponent, ResultsLayoutComponent, ResultsLayoutConfigItem, ResultsListComponent, ResultsListContainerComponent, ResultsListItemComponent, ResultsTableComponent, ResultsTableContainerComponent, RouterEffects, RouterFacade, RouterService, SEARCH_FEATURE_KEY, SETTINGS_URL, SET_CONFIG_AGGREGATIONS, SET_CONFIG_FILTERS, SET_CONFIG_REQUEST_FIELDS, SET_ERROR, SET_FAVORITES_ONLY, SET_FILTERS, SET_INCLUDE_ON_AGGREGATION, SET_PAGE_SIZE, SET_RESULTS_AGGREGATIONS, SET_RESULTS_HITS, SET_RESULTS_LAYOUT, SET_SEARCH, SET_SORT_BY, SET_SPATIAL_FILTER_ENABLED, SearchEffects, SearchFacade, SearchFiltersSummaryComponent, SearchFiltersSummaryItemComponent, SearchInputComponent, SearchRouterContainerDirective, SearchService, SearchStateContainerDirective, SelectionService, SetConfigAggregations, SetConfigFilters, SetConfigRequestFields, SetError, SetFavoritesOnly, SetFilters, SetIncludeOnAggregation, SetPageSize, SetResultsAggregations, SetResultsHits, SetResultsLayout, SetSearch, SetSortBy, SetSpatialFilterEnabled, SimpleSearchField, SiteTitleComponent, SortByComponent, SortableListComponent, SourceLabelComponent, SourcesService, SpinningLoaderComponent, StarToggleComponent, StickyHeaderComponent, SupportedTypes, SwitchToggleComponent, THUMBNAIL_PLACEHOLDER, TRANSLATE_DEFAULT_CONFIG, TRANSLATE_WITH_OVERRIDES_CONFIG, TableViewComponent, TextAreaComponent, TextInputComponent, ThemeService, ThumbnailComponent, TranslatedSearchField, UPDATE_CONFIG_AGGREGATIONS, UPDATE_FILTERS, UPDATE_REQUEST_AGGREGATION_TERM, UiDatavizModule, UiElementsModule, FacetsModule$1 as UiFacetsModule, UiInputsModule, UiLayoutModule, UiSearchModule, UiWidgetsModule, UpdateConfigAggregations, UpdateFilters, UrlInputComponent, UserFeedbackItemComponent, UserPreviewComponent, UserSearchField, UtilI18nModule, UtilSharedModule, VECTOR_STYLE_DEFAULT, ViewportIntersectorComponent, WEB_COMPONENT_EMBEDDER_URL, WizardComponent, WizardFieldComponent, WizardFieldType, WizardService, WizardSummarizeComponent, XmlParseError, _reset, allChildrenElement, appConfigWithTranslationFixture, appendChildTree, appendChildren, assertValidXml, blockModelFixture, bytesToMegabytes, canEditRecord, checkFileFormat, clearSelectedFeatures, createChild, createDocument, createElement, createFuzzyFilter, createNestedChild, createNestedElement, currentPage, defaultMapStyleFixture, defaultMapStyleHlFixture, downgradeImage, downsizeImage, draftSaveSuccess, dragPanCondition, dropEmptyTranslations, editorReducer, emptyBlockModelFixture, findChildElement, findChildOrCreate, findChildrenElement, findConverterForDocument, findNestedChildOrCreate, findNestedElement, findNestedElements, findParent, firstChildElement, formatDate, formatUserInfo, getArrayItem, getAsArray, getAsUrl, getBadgeColor, getCustomTranslations, getError, getFavoritesOnly, getFileFormat, getFileFormatFromServiceOutput, getFirstValue, getFormatPriority, getGeometryFromGeoJSON, getGlobalConfig, getJsonDataItemsProxy, getLangFromBrowser, getLayers, getLinkLabel, getLinkPriority, getMapContext, getMapContextLayerFromConfig, getMapState, getMetadataQualityConfig, getMimeTypeForFormat, getNamespace, getOptionalMapConfig, getOptionalSearchConfig, getPageSize, getRootElement, getSearchConfigAggregations, getSearchFilters, getSearchResults, getSearchResultsAggregations, getSearchResultsHits, getSearchResultsLayout, getSearchResultsLoading, getSearchSortBy, getSearchState, getSearchStateSearch, getSelectedFeatures, getSpatialFilterEnabled, getTemporalRangeUnion, getThemeConfig, hasRecordChangedSinceDraft, hasRecordChangedSinceDraftSuccess, initSearch, initialEditorState, initialMapState, initialState, isConfigLoaded, isDateRange, isFormatInQueryParam, isPublished, itemModelFixture, loadAppConfig, malformedConfigFixture, mapConfigFixture, mapContact, mapKeywords, mapLogo, mapOrganization, mapReducer, markRecordAsChanged, matchesNoApplicableConstraint, matchesNoKnownConstraint, megabytesToBytes, mimeTypeToFormat, minimalAppConfigFixture, missingMandatoryConfigFixture, mouseWheelZoomCondition, noDuplicateFileName, okAppConfigFixture, openDataset, openRecord, parse, parseXmlString, placeholder, prioritizePageScroll, propagateToDocumentOnly, provideGn4, provideRepositoryUrl, readAttribute, readDataset, readDatasetHeaders, readText, reducer$2 as reducer, reducerSearch, removeAllChildren, removeChildren, removeChildrenByName, removeSearchParams, removeWhitespace, renameElements, saveRecord, saveRecordFailure, saveRecordSuccess, selectCanEditRecord, selectCurrentPage, selectEditorConfig, selectEditorState, selectFallback, selectFallbackFields, selectField, selectHasRecordChanged, selectIsPublished, selectRecord, selectRecordChangedSinceSave, selectRecordSaveError, selectRecordSaving, selectRecordSections, selectRecordSource, selectTranslatedField, selectTranslatedValue, setContext, setCurrentPage, setFieldVisibility, setSelectedFeatures, setTextContent, someHabTableItemFixture, sortByFromString, sortByToString, sortByToStrings, stripHtml, stripNamespace, tableItemsFixture, toDate, totalPages, undoRecordDraft, unrecognizedKeysConfigFixture, updateRecordField, writeAttribute, wrongLanguageCodeConfigFixture, xmlToString };
|
|
41640
41925
|
//# sourceMappingURL=geonetwork-ui.mjs.map
|