geonetwork-ui 2.6.0-dev.01f702fed → 2.6.0-dev.02631a41f
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/README.md +2 -3
- package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +11 -2
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +52 -13
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +14 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/translate-utils.mjs +17 -0
- package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +5 -2
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +20 -18
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +23 -13
- package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
- package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +47 -11
- package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
- package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +35 -3
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +27 -8
- package/esm2022/libs/feature/editor/src/index.mjs +2 -4
- package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +13 -7
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +5 -1
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
- package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +275 -0
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +4 -13
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -14
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
- package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
- package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
- package/esm2022/libs/feature/record/src/index.mjs +2 -3
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +20 -19
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -7
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +4 -5
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -7
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +4 -4
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +96 -21
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +7 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -13
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
- package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +9 -6
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +24 -27
- package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
- package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +8 -5
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +12 -8
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
- package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
- package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +5 -4
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
- package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
- package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
- package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
- package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +13 -8
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/index.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -3
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/external-link-card/external-link-card.component.mjs +59 -0
- package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +54 -0
- package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +30 -104
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +37 -18
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
- package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +5 -6
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +7 -8
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +40 -17
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -5
- package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +71 -0
- package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +15 -6
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +10 -13
- package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -5
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +73 -0
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +7 -3
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
- package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/index.mjs +3 -2
- package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +18 -8
- package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
- package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +21 -12
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
- package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
- package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
- package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +71 -0
- package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
- package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +2 -1
- package/esm2022/libs/ui/search/src/index.mjs +2 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +17 -10
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +5 -5
- package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
- package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +45 -21
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +32 -27
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -3
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
- package/esm2022/libs/util/i18n/src/index.mjs +2 -3
- package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
- package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
- package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
- package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
- package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
- package/esm2022/libs/util/shared/src/index.mjs +2 -2
- package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -1
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +4 -1
- package/esm2022/libs/util/shared/src/lib/record.util.mjs +56 -0
- package/esm2022/translations/de.json +55 -27
- package/esm2022/translations/en.json +55 -27
- package/esm2022/translations/es.json +54 -26
- package/esm2022/translations/fr.json +55 -27
- package/esm2022/translations/it.json +81 -53
- package/esm2022/translations/nl.json +54 -26
- package/esm2022/translations/pt.json +54 -26
- package/esm2022/translations/sk.json +603 -0
- package/fesm2022/geonetwork-ui.mjs +12011 -10843
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/translate-utils.d.ts +2 -0
- package/libs/api/metadata-converter/src/lib/translate-utils.d.ts.map +1 -0
- package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +9 -7
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +14 -3
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +6 -3
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +21 -15
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
- package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +5 -2
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -3
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +8 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +10 -12
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +1 -1
- package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts +10 -17
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
- package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/record/src/index.d.ts +1 -2
- package/libs/feature/record/src/index.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +7 -4
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts +8 -12
- package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
- package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -6
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +6 -0
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
- package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +2 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -24
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +2 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -1
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +1 -2
- package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +1 -2
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/ui/dataviz/src/index.d.ts +0 -1
- package/libs/ui/dataviz/src/index.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
- package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +3 -3
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/{link-card/link-card.component.d.ts → external-link-card/external-link-card.component.d.ts} +4 -4
- package/libs/ui/elements/src/lib/external-link-card/external-link-card.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
- package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +6 -19
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +4 -1
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.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/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
- package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +1 -0
- package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +1 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +1 -2
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
- package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +2 -1
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +1 -1
- package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +2 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
- package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
- package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +4 -2
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
- package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
- package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
- package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -1
- package/libs/ui/search/src/index.d.ts +1 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts +2 -0
- package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/ui-search.module.d.ts +12 -11
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +0 -1
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +1 -0
- package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
- package/libs/util/i18n/src/index.d.ts +1 -2
- package/libs/util/i18n/src/index.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
- package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
- package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
- package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
- package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
- package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
- package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
- package/libs/util/shared/src/index.d.ts +1 -1
- package/libs/util/shared/src/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
- package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/libs/util/shared/src/lib/record.util.d.ts +3 -0
- package/libs/util/shared/src/lib/record.util.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +10 -1
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/metadata-for-i18n.records.ts +4240 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +73 -9
- package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +14 -8
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +10 -6
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +5 -4
- package/src/libs/api/metadata-converter/src/lib/translate-utils.ts +17 -0
- package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +4 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +16 -8
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +119 -16
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -20
- package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +22 -9
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +11 -1
- package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +10 -0
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +14 -0
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +114 -1
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
- package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +56 -12
- package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +40 -1
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +29 -3
- package/src/libs/feature/editor/src/index.ts +1 -3
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +9 -1
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +23 -12
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
- package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +9 -1
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +120 -0
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +331 -0
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -10
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +3 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +6 -9
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
- package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
- package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
- package/src/libs/feature/record/src/index.ts +1 -2
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +3 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +22 -19
- package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -2
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
- package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +2 -2
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
- package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
- package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
- package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +31 -10
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +135 -21
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +22 -0
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +22 -15
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
- package/src/libs/feature/search/src/lib/constants.ts +3 -1
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +1 -0
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +4 -3
- package/src/libs/feature/search/src/lib/feature-search.module.ts +13 -18
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +2 -1
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +2 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
- package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +4 -3
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
- package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
- package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
- package/src/libs/ui/dataviz/src/index.ts +0 -1
- package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +7 -6
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
- package/src/libs/ui/elements/src/index.ts +3 -3
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +6 -6
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +6 -2
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +5 -1
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +2 -5
- package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/{link-card/link-card.component.ts → external-link-card/external-link-card.component.ts} +6 -6
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +69 -138
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.scss +115 -0
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +33 -125
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -5
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +32 -11
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
- package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +6 -3
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +4 -0
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +4 -7
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +20 -22
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +51 -13
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +83 -0
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +15 -1
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +16 -3
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
- package/src/libs/ui/inputs/src/index.ts +1 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +3 -3
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +6 -9
- package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +3 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +83 -0
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -1
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +5 -2
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +3 -1
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
- package/src/libs/ui/layout/src/index.ts +2 -1
- package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +1 -2
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +15 -5
- package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
- package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
- package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
- package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +3 -2
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +15 -8
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +84 -0
- package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
- package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
- package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts +1 -0
- package/src/libs/ui/search/src/index.ts +1 -0
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.ts +14 -1
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +1 -0
- package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
- package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
- package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
- package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +29 -27
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +49 -18
- package/src/libs/ui/search/src/lib/ui-search.module.ts +15 -11
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
- package/src/libs/util/app-config/src/lib/app-config.ts +3 -2
- package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
- package/src/libs/util/app-config/src/lib/model.ts +1 -0
- package/src/libs/util/i18n/src/index.ts +1 -2
- package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
- package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
- package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
- package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
- package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
- package/src/libs/util/shared/src/index.ts +1 -1
- package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +3 -0
- package/src/libs/util/shared/src/lib/links/link-utils.ts +3 -0
- package/src/libs/util/shared/src/lib/record.util.ts +114 -0
- package/tailwind.base.css +2 -2
- package/translations/de.json +55 -27
- package/translations/en.json +55 -27
- package/translations/es.json +54 -26
- package/translations/fr.json +55 -27
- package/translations/it.json +81 -53
- package/translations/nl.json +54 -26
- package/translations/pt.json +54 -26
- package/translations/sk.json +54 -26
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
- package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
- package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
- package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
- package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +0 -60
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -46
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -124
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -160
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -23
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
- package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
- package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
- package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
- package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
- package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
- package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
- package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
- package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
- package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -12
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -30
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -35
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
- package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
- package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
- package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
- package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
- package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
- package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
- package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
- package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -30
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -48
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -70
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -14
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
- package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
- package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
- package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
- /package/src/libs/{ui/elements/src/lib/internal-link-card/internal-link-card.component.css → feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css} +0 -0
- /package/src/libs/ui/elements/src/lib/{link-card/link-card.component.css → external-link-card/external-link-card.component.css} +0 -0
- /package/src/libs/ui/elements/src/lib/{link-card/link-card.component.html → external-link-card/external-link-card.component.html} +0 -0
- /package/src/libs/ui/{elements/src/lib/related-record-card/related-record-card.component.css → inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css} +0 -0
|
@@ -1,45 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Component,
|
|
3
|
+
ElementRef,
|
|
4
|
+
EventEmitter,
|
|
3
5
|
Input,
|
|
4
|
-
TemplateRef,
|
|
5
6
|
OnInit,
|
|
6
7
|
Output,
|
|
7
|
-
|
|
8
|
-
ElementRef,
|
|
8
|
+
TemplateRef,
|
|
9
9
|
} from '@angular/core'
|
|
10
|
-
import {
|
|
11
|
-
CatalogRecord,
|
|
12
|
-
Organization,
|
|
13
|
-
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
14
10
|
import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common'
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
|
|
18
|
-
import {
|
|
19
|
-
propagateToDocumentOnly,
|
|
20
|
-
removeWhitespace,
|
|
21
|
-
stripHtml,
|
|
22
|
-
} from '../../../../../../libs/util/shared/src'
|
|
11
|
+
import { fromEvent, Subscription } from 'rxjs'
|
|
12
|
+
import { iconoirBank } from '@ng-icons/iconoir'
|
|
23
13
|
import {
|
|
24
14
|
NgIconComponent,
|
|
25
15
|
provideIcons,
|
|
26
16
|
provideNgIconsConfig,
|
|
27
17
|
} from '@ng-icons/core'
|
|
28
|
-
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from '
|
|
34
|
-
import {
|
|
35
|
-
import { iconoirDatabase, iconoirMap, iconoirInternet } from '@ng-icons/iconoir'
|
|
36
|
-
import { TranslateModule } from '@ngx-translate/core'
|
|
37
|
-
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
38
|
-
import { fromEvent, Subscription } from 'rxjs'
|
|
39
|
-
|
|
40
|
-
marker('record.kind.data')
|
|
41
|
-
marker('record.kind.reuse')
|
|
42
|
-
marker('record.kind.service')
|
|
18
|
+
import { matLocationSearchingOutline } from '@ng-icons/material-icons/outline'
|
|
19
|
+
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
20
|
+
import { KindBadgeComponent } from '../kind-badge/kind-badge.component'
|
|
21
|
+
import { MarkdownParserComponent } from '../markdown-parser/markdown-parser.component'
|
|
22
|
+
import { MetadataQualityComponent } from '../metadata-quality/metadata-quality.component'
|
|
23
|
+
import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
|
|
24
|
+
import { removeWhitespace, stripHtml } from '../../../../../../libs/util/shared/src'
|
|
43
25
|
|
|
44
26
|
type CardSize = 'L' | 'M' | 'S' | 'XS'
|
|
45
27
|
|
|
@@ -49,41 +31,34 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
|
|
|
49
31
|
imports: [
|
|
50
32
|
NgClass,
|
|
51
33
|
NgIf,
|
|
52
|
-
|
|
34
|
+
NgIconComponent,
|
|
53
35
|
MetadataQualityComponent,
|
|
54
36
|
NgTemplateOutlet,
|
|
55
|
-
|
|
56
|
-
TranslateModule,
|
|
37
|
+
KindBadgeComponent,
|
|
57
38
|
MarkdownParserComponent,
|
|
39
|
+
ThumbnailComponent,
|
|
58
40
|
],
|
|
59
41
|
providers: [
|
|
60
42
|
provideIcons({
|
|
43
|
+
iconoirBank,
|
|
61
44
|
matLocationSearchingOutline,
|
|
62
|
-
matCode,
|
|
63
|
-
iconoirDatabase,
|
|
64
|
-
iconoirMap,
|
|
65
|
-
iconoirInternet,
|
|
66
|
-
matEmailOutline,
|
|
67
|
-
matPhoneOutline,
|
|
68
|
-
matLocationOnOutline,
|
|
69
45
|
}),
|
|
70
46
|
provideNgIconsConfig({
|
|
71
47
|
size: '1.2em',
|
|
72
48
|
}),
|
|
73
49
|
],
|
|
74
50
|
templateUrl: './internal-link-card.component.html',
|
|
75
|
-
styleUrls: ['./internal-link-card.component.
|
|
51
|
+
styleUrls: ['./internal-link-card.component.scss'],
|
|
76
52
|
})
|
|
77
53
|
export class InternalLinkCardComponent implements OnInit {
|
|
78
54
|
@Input() record: CatalogRecord
|
|
55
|
+
@Input() linkTarget = '_blank'
|
|
56
|
+
@Input() linkHref: string = null
|
|
79
57
|
@Input() metadataQualityDisplay: boolean
|
|
80
58
|
@Input() favoriteTemplate: TemplateRef<{ $implicit: CatalogRecord }>
|
|
81
|
-
@Input() linkHref: string = null
|
|
82
|
-
@Input() isGeodata: boolean
|
|
83
59
|
@Input() set size(value: CardSize) {
|
|
84
60
|
this._size = value
|
|
85
|
-
this.cardClass =
|
|
86
|
-
this.thumbnailContainerClass = this.thumbnailSizeClassMap[value] || 'hidden'
|
|
61
|
+
this.cardClass = `size-${value}`
|
|
87
62
|
}
|
|
88
63
|
get size(): CardSize {
|
|
89
64
|
return this._size
|
|
@@ -92,99 +67,32 @@ export class InternalLinkCardComponent implements OnInit {
|
|
|
92
67
|
subscription = new Subscription()
|
|
93
68
|
|
|
94
69
|
abstract: string
|
|
70
|
+
cardClass: string
|
|
95
71
|
|
|
96
|
-
|
|
97
|
-
thumbnailContainerClass = ''
|
|
98
|
-
|
|
99
|
-
private _size: CardSize = 'M'
|
|
100
|
-
|
|
101
|
-
private readonly sizeClassMap: Record<CardSize, string> = {
|
|
102
|
-
L: 'min-h-[190px] md:w-[992px] py-3 px-3 flex items-start gap-5',
|
|
103
|
-
M: 'min-h-[140px] md:w-[570px] py-3 px-3 flex items-start gap-4',
|
|
104
|
-
S: 'min-h-[220px] md:w-[370px] py-3 px-3 flex gap-4',
|
|
105
|
-
XS: 'min-h-[108px] md:w-[570px] py-3 px-3 flex gap-4',
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private readonly thumbnailSizeClassMap: Record<CardSize, string> = {
|
|
109
|
-
L: 'w-[190px] h-[180px] rounded-lg overflow-hidden shrink-0',
|
|
110
|
-
M: 'w-[110px] h-[140px] rounded-lg overflow-hidden shrink-0',
|
|
111
|
-
S: 'hidden',
|
|
112
|
-
XS: 'hidden',
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
private readonly titleClassMap: Record<CardSize, string> = {
|
|
116
|
-
L: 'text-xl line-clamp-2',
|
|
117
|
-
M: 'text-base line-clamp-2',
|
|
118
|
-
S: 'text-base line-clamp-3',
|
|
119
|
-
XS: 'text-base mt-3 line-clamp-2',
|
|
120
|
-
}
|
|
72
|
+
private _size: CardSize = 'L'
|
|
121
73
|
|
|
122
74
|
constructor(protected elementRef: ElementRef) {}
|
|
123
75
|
|
|
124
76
|
ngOnInit(): void {
|
|
125
77
|
this.abstract = removeWhitespace(stripHtml(this.record?.abstract))
|
|
126
78
|
this.subscription.add(
|
|
127
|
-
fromEvent(this.elementRef.nativeElement, 'click').subscribe(
|
|
128
|
-
(
|
|
129
|
-
event.preventDefault()
|
|
130
|
-
propagateToDocumentOnly(event)
|
|
131
|
-
this.mdSelect.emit(this.record)
|
|
132
|
-
}
|
|
79
|
+
fromEvent(this.elementRef.nativeElement, 'click').subscribe(() =>
|
|
80
|
+
this.mdSelect.emit(this.record)
|
|
133
81
|
)
|
|
134
82
|
)
|
|
135
83
|
}
|
|
136
|
-
|
|
137
|
-
get organization(): Organization {
|
|
138
|
-
return this.record.ownerOrganization
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
get contacts() {
|
|
142
|
-
return (
|
|
143
|
-
(this.record.kind === 'dataset'
|
|
144
|
-
? this.record.contactsForResource
|
|
145
|
-
: this.record.contacts) || []
|
|
146
|
-
)
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
getTitleClass() {
|
|
150
|
-
return (
|
|
151
|
-
this.titleClassMap[this._size] +
|
|
152
|
-
' ' +
|
|
153
|
-
(this.record.ownerOrganization?.name ? '' : 'mt-3') || ''
|
|
154
|
-
)
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
openExternalUrl(event: Event, url: URL): void {
|
|
158
|
-
event.stopPropagation()
|
|
159
|
-
window.open(url, '_blank')
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
openMailto(event: Event, email: string): void {
|
|
163
|
-
event.stopPropagation()
|
|
164
|
-
window.open(`mailto:${email}`, '_blank')
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
copyToClipboard(event: Event, text: string): void {
|
|
168
|
-
event.stopPropagation()
|
|
169
|
-
navigator.clipboard.writeText(text)
|
|
170
|
-
}
|
|
171
|
-
|
|
172
84
|
get shouldShowThumbnail(): boolean {
|
|
173
85
|
return this.size === 'L' || this.size === 'M'
|
|
174
86
|
}
|
|
175
87
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
return { text: 'record.kind.service', icon: 'matCode' }
|
|
186
|
-
default:
|
|
187
|
-
return { text: '', icon: '' }
|
|
188
|
-
}
|
|
88
|
+
get displayContactIconOnly() {
|
|
89
|
+
const cardWidth =
|
|
90
|
+
this.elementRef.nativeElement.getBoundingClientRect().width
|
|
91
|
+
return (
|
|
92
|
+
this.record.ownerOrganization?.name &&
|
|
93
|
+
this.metadataQualityDisplay &&
|
|
94
|
+
this.size === 'M' &&
|
|
95
|
+
cardWidth <= 490
|
|
96
|
+
)
|
|
189
97
|
}
|
|
190
98
|
}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
<
|
|
1
|
+
<div
|
|
2
|
+
[class]="badgeClasses"
|
|
3
|
+
*ngIf="kind"
|
|
4
|
+
[title]="'record.kind.' + kind | translate"
|
|
5
|
+
>
|
|
6
|
+
<ng-icon [name]="iconKind" [ngClass]="extraClass"></ng-icon>
|
|
2
7
|
|
|
3
|
-
<ng-container *ngIf="contentTemplate; else defaultContent">
|
|
4
|
-
|
|
5
|
-
</ng-container>
|
|
8
|
+
<ng-container *ngIf="contentTemplate; else defaultContent">
|
|
9
|
+
<ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
|
|
10
|
+
</ng-container>
|
|
11
|
+
</div>
|
|
6
12
|
|
|
7
13
|
<ng-template #defaultContent>
|
|
8
|
-
{{ kind | translate }}
|
|
14
|
+
{{ 'record.kind.' + kind | translate }}
|
|
9
15
|
</ng-template>
|
|
@@ -5,22 +5,25 @@ import {
|
|
|
5
5
|
Input,
|
|
6
6
|
TemplateRef,
|
|
7
7
|
} from '@angular/core'
|
|
8
|
-
import { provideIcons } from '@ng-icons/core'
|
|
8
|
+
import { NgIconComponent, provideIcons } from '@ng-icons/core'
|
|
9
9
|
import {
|
|
10
|
+
iconoirDatabase,
|
|
10
11
|
iconoirAppleWallet,
|
|
11
|
-
iconoirAppleShortcuts,
|
|
12
12
|
iconoirCode,
|
|
13
|
-
|
|
13
|
+
iconoirAppWindow,
|
|
14
14
|
} from '@ng-icons/iconoir'
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
15
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
16
|
+
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
17
|
+
|
|
18
|
+
marker('record.kind.dataset')
|
|
19
|
+
marker('record.kind.reuse')
|
|
20
|
+
marker('record.kind.service')
|
|
18
21
|
|
|
19
22
|
enum KindConfig {
|
|
20
23
|
all = 'iconoirAppleWallet', // (this one is for filter)
|
|
21
|
-
dataset = '
|
|
24
|
+
dataset = 'iconoirDatabase',
|
|
22
25
|
service = 'iconoirCode',
|
|
23
|
-
reuse = '
|
|
26
|
+
reuse = 'iconoirAppWindow',
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
@Component({
|
|
@@ -30,22 +33,40 @@ enum KindConfig {
|
|
|
30
33
|
viewProviders: [
|
|
31
34
|
provideIcons({
|
|
32
35
|
iconoirAppleWallet,
|
|
33
|
-
|
|
36
|
+
iconoirDatabase,
|
|
34
37
|
iconoirCode,
|
|
35
|
-
|
|
38
|
+
iconoirAppWindow,
|
|
36
39
|
}),
|
|
37
40
|
],
|
|
38
41
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
39
42
|
standalone: true,
|
|
40
|
-
imports: [
|
|
43
|
+
imports: [NgIconComponent, CommonModule, TranslatePipe],
|
|
41
44
|
})
|
|
42
45
|
export class KindBadgeComponent {
|
|
46
|
+
@Input() styling = 'primary'
|
|
43
47
|
@Input() contentTemplate: TemplateRef<unknown>
|
|
44
48
|
@Input() kind: string
|
|
49
|
+
@Input() extraClass = 'text-[0.85em]'
|
|
45
50
|
|
|
46
51
|
hasProjectedContent = false
|
|
47
52
|
|
|
48
53
|
get iconKind() {
|
|
49
54
|
return KindConfig[this.kind] || KindConfig.dataset
|
|
50
55
|
}
|
|
56
|
+
|
|
57
|
+
get badgeClasses(): string {
|
|
58
|
+
const baseClasses =
|
|
59
|
+
'badge-btn text-xs px-2 font-bold shrink-0 flex items-center gap-2 h-6 min-h-6'
|
|
60
|
+
|
|
61
|
+
switch (this.styling) {
|
|
62
|
+
case 'outline':
|
|
63
|
+
return `${baseClasses} bg-transparent border border-current py-1.5`
|
|
64
|
+
case 'primary':
|
|
65
|
+
return `${baseClasses} bg-primary py-0.5`
|
|
66
|
+
case 'gray':
|
|
67
|
+
return `${baseClasses} bg-gray-100 text-gray-900 py-0.5`
|
|
68
|
+
default:
|
|
69
|
+
return 'flex items-center gap-2'
|
|
70
|
+
}
|
|
71
|
+
}
|
|
51
72
|
}
|
|
@@ -8,8 +8,7 @@ import {
|
|
|
8
8
|
} from '@angular/core'
|
|
9
9
|
import { FormsModule } from '@angular/forms'
|
|
10
10
|
import { MarkdownParserComponent } from '../markdown-parser/markdown-parser.component'
|
|
11
|
-
import {
|
|
12
|
-
import { ButtonComponent, TextAreaComponent } from '../../../../../../libs/ui/inputs/src'
|
|
11
|
+
import { TextAreaComponent } from '../../../../../../libs/ui/inputs/src'
|
|
13
12
|
import { MatTooltipModule } from '@angular/material/tooltip'
|
|
14
13
|
|
|
15
14
|
@Component({
|
|
@@ -22,10 +21,8 @@ import { MatTooltipModule } from '@angular/material/tooltip'
|
|
|
22
21
|
CommonModule,
|
|
23
22
|
FormsModule,
|
|
24
23
|
MatTooltipModule,
|
|
25
|
-
ButtonComponent,
|
|
26
24
|
TextAreaComponent,
|
|
27
25
|
MarkdownParserComponent,
|
|
28
|
-
TranslateModule,
|
|
29
26
|
],
|
|
30
27
|
})
|
|
31
28
|
export class MarkdownEditorComponent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
|
-
import {
|
|
2
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
3
3
|
|
|
4
4
|
@Component({
|
|
5
5
|
selector: 'gn-ui-metadata-catalog',
|
|
@@ -7,7 +7,7 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
7
7
|
styleUrls: ['./metadata-catalog.component.css'],
|
|
8
8
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
9
9
|
standalone: true,
|
|
10
|
-
imports: [
|
|
10
|
+
imports: [TranslateDirective],
|
|
11
11
|
})
|
|
12
12
|
export class MetadataCatalogComponent {
|
|
13
13
|
@Input() sourceLabel: string
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
<div
|
|
2
|
-
|
|
1
|
+
<div
|
|
2
|
+
class="py-5 px-5 rounded bg-gray-100 text-black"
|
|
3
|
+
data-cy="metadata-organization"
|
|
4
|
+
>
|
|
5
|
+
<div class="grid gap-3 overflow-hidden">
|
|
3
6
|
<div>
|
|
4
7
|
<p class="text-base font-medium" translate>record.metadata.contact</p>
|
|
5
8
|
</div>
|
|
@@ -18,7 +21,7 @@
|
|
|
18
21
|
<div
|
|
19
22
|
class="font-title text-21 mr-2 cursor-pointer hover:underline"
|
|
20
23
|
(click)="onOrganizationClick()"
|
|
21
|
-
data-cy="organization-name"
|
|
24
|
+
data-cy="organization-name-link"
|
|
22
25
|
>
|
|
23
26
|
{{ shownOrganization?.name }}
|
|
24
27
|
</div>
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
matLocationOnOutline,
|
|
23
23
|
} from '@ng-icons/material-icons/outline'
|
|
24
24
|
import { CommonModule } from '@angular/common'
|
|
25
|
-
import {
|
|
25
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
26
26
|
|
|
27
27
|
@Component({
|
|
28
28
|
selector: 'gn-ui-metadata-contact',
|
|
@@ -30,7 +30,7 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
30
30
|
styleUrls: ['./metadata-contact.component.css'],
|
|
31
31
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
32
|
standalone: true,
|
|
33
|
-
imports: [CommonModule, ThumbnailComponent, NgIcon,
|
|
33
|
+
imports: [CommonModule, ThumbnailComponent, NgIcon, TranslateDirective],
|
|
34
34
|
viewProviders: [
|
|
35
35
|
provideIcons({
|
|
36
36
|
matOpenInNew,
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
metadata.otherConstraints
|
|
47
47
|
"
|
|
48
48
|
[title]="'record.metadata.usage' | translate"
|
|
49
|
+
data-test="usage-panel"
|
|
49
50
|
>
|
|
50
51
|
<div class="flex flex-col gap-[10px] mr-4 py-[12px] rounded text-gray-900">
|
|
51
52
|
<ng-container *ngFor="let license of licenses">
|
|
@@ -105,6 +106,7 @@
|
|
|
105
106
|
(metadata.kind === 'dataset' && metadata.status)
|
|
106
107
|
"
|
|
107
108
|
[title]="'record.metadata.details' | translate"
|
|
109
|
+
data-test="details-panel"
|
|
108
110
|
>
|
|
109
111
|
<div *ngIf="metadata.lineage" class="text-gray-900 flex flex-col mt-4 gap-2">
|
|
110
112
|
<p class="whitespace-pre-line break-words text-gray-900" gnUiLinkify>
|
|
@@ -231,6 +233,7 @@
|
|
|
231
233
|
<gn-ui-expandable-panel
|
|
232
234
|
*ngIf="metadata.kind !== 'dataset' && metadata.spatialExtents"
|
|
233
235
|
[title]="'service.metadata.spatialExtent' | translate"
|
|
236
|
+
data-test="spatial-extent-panel"
|
|
234
237
|
>
|
|
235
238
|
<gn-ui-spatial-extent
|
|
236
239
|
class="flex h-[271px] w-full rounded-lg border border-gray-100 mt-3 mb-6"
|
|
@@ -240,6 +243,7 @@
|
|
|
240
243
|
<gn-ui-expandable-panel
|
|
241
244
|
*ngIf="metadata.landingPage"
|
|
242
245
|
[title]="'service.metadata.other' | translate"
|
|
246
|
+
data-test="other-panel"
|
|
243
247
|
>
|
|
244
248
|
<div class="flex flex-col gap-4 mr-4 py-5 rounded text-gray-700">
|
|
245
249
|
<div *ngIf="metadata.recordUpdated">
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
ExpandablePanelComponent,
|
|
16
16
|
MaxLinesComponent,
|
|
17
17
|
} from '../../../../../../libs/ui/layout/src'
|
|
18
|
-
import {
|
|
18
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
19
19
|
import {
|
|
20
20
|
BadgeComponent,
|
|
21
21
|
CopyTextButtonComponent,
|
|
@@ -28,10 +28,7 @@ import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
|
|
|
28
28
|
import { GnUiLinkifyDirective } from './linkify.directive'
|
|
29
29
|
|
|
30
30
|
import { CommonModule } from '@angular/common'
|
|
31
|
-
import {
|
|
32
|
-
MapContainerComponent,
|
|
33
|
-
SpatialExtentComponent,
|
|
34
|
-
} from '../../../../../../libs/ui/map/src'
|
|
31
|
+
import { SpatialExtentComponent } from '../../../../../../libs/ui/map/src'
|
|
35
32
|
|
|
36
33
|
@Component({
|
|
37
34
|
selector: 'gn-ui-metadata-info',
|
|
@@ -41,7 +38,8 @@ import {
|
|
|
41
38
|
standalone: true,
|
|
42
39
|
imports: [
|
|
43
40
|
CommonModule,
|
|
44
|
-
|
|
41
|
+
TranslateDirective,
|
|
42
|
+
TranslatePipe,
|
|
45
43
|
MarkdownParserComponent,
|
|
46
44
|
ExpandablePanelComponent,
|
|
47
45
|
BadgeComponent,
|
|
@@ -51,7 +49,6 @@ import {
|
|
|
51
49
|
CopyTextButtonComponent,
|
|
52
50
|
NgIcon,
|
|
53
51
|
GnUiLinkifyDirective,
|
|
54
|
-
MapContainerComponent,
|
|
55
52
|
SpatialExtentComponent,
|
|
56
53
|
],
|
|
57
54
|
viewProviders: [
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
<div
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<div
|
|
2
|
+
*ngIf="metadataQualityDisplay"
|
|
3
|
+
class="flex items-center metadata-quality min-w-0"
|
|
4
|
+
[ngClass]="{ 'text-xs leading-[8px] m-h-[120px]': smaller }"
|
|
5
|
+
>
|
|
6
|
+
<gn-ui-progress-bar
|
|
7
|
+
tabindex="0"
|
|
8
|
+
[value]="qualityScore"
|
|
9
|
+
[type]="'light'"
|
|
10
|
+
class="flex-grow"
|
|
11
|
+
></gn-ui-progress-bar>
|
|
12
|
+
<gn-ui-popover
|
|
13
|
+
[content]="popoverItems"
|
|
14
|
+
theme="light-border"
|
|
15
|
+
[class]="smaller ? 'ml-2' : 'ml-2 mt-1'"
|
|
6
16
|
>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
></gn-ui-progress-bar>
|
|
13
|
-
<gn-ui-popover
|
|
14
|
-
[content]="popoverItems"
|
|
15
|
-
theme="light-border"
|
|
16
|
-
[class]="smaller ? 'ml-2' : 'ml-2 mt-1'"
|
|
17
|
-
>
|
|
18
|
-
<ng-icon
|
|
19
|
-
name="matInfoOutline"
|
|
20
|
-
class="flex-shrink-0 text-gray-600"
|
|
21
|
-
></ng-icon>
|
|
22
|
-
</gn-ui-popover>
|
|
23
|
-
</div>
|
|
17
|
+
<ng-icon
|
|
18
|
+
name="matInfoOutline"
|
|
19
|
+
class="flex-shrink-0 text-gray-600"
|
|
20
|
+
></ng-icon>
|
|
21
|
+
</gn-ui-popover>
|
|
24
22
|
</div>
|
|
25
23
|
<ng-template #popoverItems>
|
|
26
24
|
<div class="p-2 py-4">
|
|
@@ -15,10 +15,13 @@ import {
|
|
|
15
15
|
ProgressBarComponent,
|
|
16
16
|
} from '../../../../../../libs/ui/widgets/src'
|
|
17
17
|
import { CommonModule } from '@angular/common'
|
|
18
|
-
import {
|
|
19
|
-
import { NgIcon } from '@ng-icons/core'
|
|
18
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
19
|
+
import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
|
|
20
20
|
import { matInfoOutline } from '@ng-icons/material-icons/outline'
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
type QualityChecks = {
|
|
23
|
+
[key: string]: (metadata: Partial<CatalogRecord>) => boolean
|
|
24
|
+
}
|
|
22
25
|
|
|
23
26
|
@Component({
|
|
24
27
|
selector: 'gn-ui-metadata-quality',
|
|
@@ -31,7 +34,7 @@ import { provideIcons, provideNgIconsConfig } from '@ng-icons/core'
|
|
|
31
34
|
PopoverComponent,
|
|
32
35
|
ProgressBarComponent,
|
|
33
36
|
MetadataQualityItemComponent,
|
|
34
|
-
|
|
37
|
+
TranslateDirective,
|
|
35
38
|
NgIcon,
|
|
36
39
|
],
|
|
37
40
|
providers: [
|
|
@@ -69,18 +72,53 @@ export class MetadataQualityComponent implements OnChanges {
|
|
|
69
72
|
this.items.push({ name, value })
|
|
70
73
|
}
|
|
71
74
|
}
|
|
75
|
+
hasGetCapabilities(url: string): boolean {
|
|
76
|
+
return url.toLowerCase().includes('capabilities')
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
private readonly COMMON_CHECKS: QualityChecks = {
|
|
80
|
+
title: (metadata) => !!metadata?.title,
|
|
81
|
+
description: (metadata) => !!metadata?.abstract,
|
|
82
|
+
keywords: (metadata) => (metadata?.keywords?.length ?? 0) > 0,
|
|
83
|
+
legalConstraints: (metadata) =>
|
|
84
|
+
(metadata?.legalConstraints?.length ?? 0) > 0,
|
|
85
|
+
contact: (metadata) => !!metadata?.contacts?.[0]?.email,
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
private readonly SPECIFIC_CHECKS: Record<string, QualityChecks> = {
|
|
89
|
+
dataset: {
|
|
90
|
+
updateFrequency: (metadata) => !!metadata?.updateFrequency,
|
|
91
|
+
topic: (metadata) => (metadata?.topics?.length ?? 0) > 0,
|
|
92
|
+
organisation: (metadata) => !!metadata?.contacts?.[0]?.organization?.name,
|
|
93
|
+
},
|
|
94
|
+
service: {
|
|
95
|
+
capabilities: (metadata) =>
|
|
96
|
+
(metadata?.onlineResources ?? []).some((resource) =>
|
|
97
|
+
this.hasGetCapabilities(resource?.url?.href ?? '')
|
|
98
|
+
),
|
|
99
|
+
},
|
|
100
|
+
reuse: {
|
|
101
|
+
topic: (metadata) => (metadata?.topics?.length ?? 0) > 0,
|
|
102
|
+
organisation: (metadata) => !!metadata?.contacts?.[0]?.organization?.name,
|
|
103
|
+
source: (metadata) => !!metadata?.extras?.sourcesIdentifiers,
|
|
104
|
+
},
|
|
105
|
+
}
|
|
72
106
|
|
|
73
107
|
initialize() {
|
|
74
|
-
const contact = this.metadata?.contacts?.[0]
|
|
75
108
|
this.items = []
|
|
76
|
-
|
|
77
|
-
this.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
83
|
-
|
|
109
|
+
|
|
110
|
+
Object.entries(this.COMMON_CHECKS).forEach(([name, check]) => {
|
|
111
|
+
this.add(name, check(this.metadata))
|
|
112
|
+
})
|
|
113
|
+
|
|
114
|
+
const datasetType = this.metadata?.kind
|
|
115
|
+
if (datasetType && this.SPECIFIC_CHECKS[datasetType]) {
|
|
116
|
+
Object.entries(this.SPECIFIC_CHECKS[datasetType]).forEach(
|
|
117
|
+
([name, check]) => {
|
|
118
|
+
this.add(name, check(this.metadata))
|
|
119
|
+
}
|
|
120
|
+
)
|
|
121
|
+
}
|
|
84
122
|
}
|
|
85
123
|
|
|
86
124
|
ngOnChanges(changes: SimpleChanges): void {
|
package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
2
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
3
3
|
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
4
|
-
import {
|
|
4
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
5
5
|
import { matCheck, matWarningAmber } from '@ng-icons/material-icons/baseline'
|
|
6
6
|
|
|
7
7
|
marker('record.metadata.quality.title.success')
|
|
@@ -20,6 +20,10 @@ marker('record.metadata.quality.updateFrequency.success')
|
|
|
20
20
|
marker('record.metadata.quality.updateFrequency.failed')
|
|
21
21
|
marker('record.metadata.quality.organisation.success')
|
|
22
22
|
marker('record.metadata.quality.organisation.failed')
|
|
23
|
+
marker('record.metadata.quality.capabilities.success')
|
|
24
|
+
marker('record.metadata.quality.capabilities.failed')
|
|
25
|
+
marker('record.metadata.quality.source.success')
|
|
26
|
+
marker('record.metadata.quality.source.failed')
|
|
23
27
|
|
|
24
28
|
export interface MetadataQualityItem {
|
|
25
29
|
name: string
|
|
@@ -31,7 +35,7 @@ export interface MetadataQualityItem {
|
|
|
31
35
|
templateUrl: './metadata-quality-item.component.html',
|
|
32
36
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
37
|
standalone: true,
|
|
34
|
-
imports: [NgIcon,
|
|
38
|
+
imports: [NgIcon, TranslatePipe],
|
|
35
39
|
viewProviders: [provideIcons({ matCheck, matWarningAmber })],
|
|
36
40
|
})
|
|
37
41
|
export class MetadataQualityItemComponent implements MetadataQualityItem {
|
|
@@ -13,7 +13,8 @@ import {
|
|
|
13
13
|
TextInputComponent,
|
|
14
14
|
} from '../../../../../../libs/ui/inputs/src'
|
|
15
15
|
import { CommonModule } from '@angular/common'
|
|
16
|
-
import {
|
|
16
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
17
|
+
import { MatTooltipModule } from '@angular/material/tooltip'
|
|
17
18
|
|
|
18
19
|
const DEFAULT_PARAMS = {
|
|
19
20
|
OFFSET: '',
|
|
@@ -32,7 +33,8 @@ const DEFAULT_PARAMS = {
|
|
|
32
33
|
TextInputComponent,
|
|
33
34
|
DropdownSelectorComponent,
|
|
34
35
|
CopyTextButtonComponent,
|
|
35
|
-
|
|
36
|
+
TranslateDirective,
|
|
37
|
+
MatTooltipModule,
|
|
36
38
|
],
|
|
37
39
|
})
|
|
38
40
|
export class RecordApiFormComponent {
|