geonetwork-ui 2.6.0-dev.0739ca76d → 2.6.0-dev.0cd426aa4
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/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
- 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/read-parts.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +4 -4
- 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/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 +274 -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 +8 -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 +5 -6
- 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 +7 -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/index.mjs +2 -2
- 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 +4 -4
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +32 -28
- 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 +41 -0
- 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 +74 -4
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
- 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 -3
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +7 -7
- package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +5 -6
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +20 -9
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
- 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/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +42 -85
- package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +58 -0
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +65 -0
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +5 -6
- 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 +3 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +6 -7
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
- 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 +5 -6
- 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 +43 -0
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
- 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 +3 -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 +48 -11
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
- 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/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
- 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 +3 -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 +4 -8
- package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
- 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 +41 -21
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +39 -26
- 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/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +1 -3
- 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 +1 -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/translations/de.json +55 -24
- package/esm2022/translations/en.json +55 -24
- package/esm2022/translations/es.json +54 -23
- package/esm2022/translations/fr.json +56 -25
- package/esm2022/translations/it.json +81 -50
- package/esm2022/translations/nl.json +54 -23
- package/esm2022/translations/pt.json +54 -23
- package/esm2022/translations/sk.json +602 -0
- package/fesm2022/geonetwork-ui.mjs +11119 -9726
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/index.d.ts.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/common/resource-types.d.ts +21 -0
- package/libs/api/metadata-converter/src/lib/common/resource-types.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/read-parts.d.ts.map +1 -1
- 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 +13 -2
- 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 +6 -0
- 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.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 +2 -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/index.d.ts +1 -1
- package/libs/feature/search/src/index.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.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -22
- 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 +21 -0
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
- 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 +22 -2
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.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 -2
- 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/download-item/download-item.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- 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 +7 -14
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
- package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +13 -0
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.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 +2 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.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 +14 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
- 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/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 +9 -2
- 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 +2 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
- 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 +22 -19
- 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/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 +0 -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/package.json +4 -4
- package/src/libs/api/metadata-converter/src/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
- 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/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/read-parts.ts +10 -6
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -3
- 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 +118 -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 +6 -0
- 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 +62 -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/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 +330 -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 +5 -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 +17 -11
- 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.html +1 -1
- 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.html +2 -2
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +3 -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 +38 -11
- 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/index.ts +1 -1
- package/src/libs/feature/search/src/lib/constants.ts +3 -1
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -2
- package/src/libs/feature/search/src/lib/feature-search.module.ts +17 -15
- 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.css +0 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
- 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.service.ts +4 -5
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +103 -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 -2
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
- package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +28 -4
- package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
- 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/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +68 -141
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +40 -101
- package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
- package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +69 -0
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +5 -9
- 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.html +3 -5
- 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 +12 -9
- 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.css +1 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +11 -3
- 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 +2 -3
- 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 +16 -2
- 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 +2 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
- 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.html +1 -1
- 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.html +1 -1
- 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.html +23 -0
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +47 -0
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -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.html +3 -4
- 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.css +22 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
- 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.html +1 -1
- 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/previous-next-buttons/previous-next-buttons.component.html +17 -5
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
- 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 +2 -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/results-hits-number/results-hits-number.component.html +1 -1
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -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 +31 -27
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +46 -18
- package/src/libs/ui/search/src/lib/ui-search.module.ts +19 -10
- 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/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
- package/src/libs/util/app-config/src/lib/app-config.ts +0 -2
- 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 +0 -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/tailwind.base.config.js +3 -0
- package/tailwind.base.css +2 -14
- package/translations/de.json +55 -24
- package/translations/en.json +55 -24
- package/translations/es.json +54 -23
- package/translations/fr.json +56 -25
- package/translations/it.json +81 -50
- package/translations/nl.json +54 -23
- package/translations/pt.json +54 -23
- package/translations/sk.json +54 -23
- 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/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
- package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
- 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 -118
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -161
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -31
- 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/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
- package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.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/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 -29
- 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 -34
- 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/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
- package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
- 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 -67
- 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 -18
- 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/related-record-card/related-record-card.component.css → feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css} +0 -0
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
[showContent]="fieldReady('keywords')"
|
|
26
26
|
>
|
|
27
27
|
<div *ngIf="metadata.keywords?.length">
|
|
28
|
-
<div class="sm:pb-4 flex flex-wrap gap-2">
|
|
28
|
+
<div class="metadata-info-keywords sm:pb-4 flex flex-wrap gap-2">
|
|
29
29
|
<gn-ui-badge
|
|
30
30
|
class="inline-block lowercase"
|
|
31
31
|
(click)="onKeywordClick(keyword)"
|
|
@@ -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">
|
|
@@ -79,9 +80,12 @@
|
|
|
79
80
|
</ng-container>
|
|
80
81
|
<ng-container *ngIf="otherConstraints.length">
|
|
81
82
|
<div gnUiLinkify *ngFor="let constraint of otherConstraints">
|
|
82
|
-
<
|
|
83
|
+
<span
|
|
84
|
+
translate
|
|
85
|
+
class="font-medium text-black text-sm mb-[2px] mt-[16px]"
|
|
86
|
+
>
|
|
83
87
|
record.metadata.otherConstraints
|
|
84
|
-
</
|
|
88
|
+
</span>
|
|
85
89
|
<div class="mb-6">
|
|
86
90
|
<gn-ui-markdown-parser [textContent]="constraint">
|
|
87
91
|
</gn-ui-markdown-parser>
|
|
@@ -102,6 +106,7 @@
|
|
|
102
106
|
(metadata.kind === 'dataset' && metadata.status)
|
|
103
107
|
"
|
|
104
108
|
[title]="'record.metadata.details' | translate"
|
|
109
|
+
data-test="details-panel"
|
|
105
110
|
>
|
|
106
111
|
<div *ngIf="metadata.lineage" class="text-gray-900 flex flex-col mt-4 gap-2">
|
|
107
112
|
<p class="whitespace-pre-line break-words text-gray-900" gnUiLinkify>
|
|
@@ -228,6 +233,7 @@
|
|
|
228
233
|
<gn-ui-expandable-panel
|
|
229
234
|
*ngIf="metadata.kind !== 'dataset' && metadata.spatialExtents"
|
|
230
235
|
[title]="'service.metadata.spatialExtent' | translate"
|
|
236
|
+
data-test="spatial-extent-panel"
|
|
231
237
|
>
|
|
232
238
|
<gn-ui-spatial-extent
|
|
233
239
|
class="flex h-[271px] w-full rounded-lg border border-gray-100 mt-3 mb-6"
|
|
@@ -237,6 +243,7 @@
|
|
|
237
243
|
<gn-ui-expandable-panel
|
|
238
244
|
*ngIf="metadata.landingPage"
|
|
239
245
|
[title]="'service.metadata.other' | translate"
|
|
246
|
+
data-test="other-panel"
|
|
240
247
|
>
|
|
241
248
|
<div class="flex flex-col gap-4 mr-4 py-5 rounded text-gray-700">
|
|
242
249
|
<div *ngIf="metadata.recordUpdated">
|
|
@@ -276,6 +283,7 @@
|
|
|
276
283
|
<p class="text-sm mb-1" translate>record.metadata.topics</p>
|
|
277
284
|
<div class="sm:pb-4 sm:pr-16">
|
|
278
285
|
<gn-ui-badge
|
|
286
|
+
[clickable]="false"
|
|
279
287
|
class="inline-block mr-2 mb-2 lowercase"
|
|
280
288
|
*ngFor="let topic of metadata.topics"
|
|
281
289
|
>{{ topic }}</gn-ui-badge
|
|
@@ -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,9 +1,8 @@
|
|
|
1
1
|
<div *ngIf="metadataQualityDisplay" class="metadata-quality">
|
|
2
2
|
<div
|
|
3
3
|
class="flex items-center"
|
|
4
|
-
[class]="
|
|
5
|
-
|
|
6
|
-
"
|
|
4
|
+
[class]="min - w - 0"
|
|
5
|
+
[ngClass]="{ 'text-xs leading-[8px] m-h-[120px]': smaller }"
|
|
7
6
|
>
|
|
8
7
|
<gn-ui-progress-bar
|
|
9
8
|
tabindex="0"
|
|
@@ -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 {
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<div
|
|
2
|
+
cdkScrollable
|
|
3
|
+
class="h-[562px] relative overflow-y-auto overflow-hidden"
|
|
4
|
+
data-cy="feat-catalog-scrollable"
|
|
5
|
+
>
|
|
6
|
+
<div #scrollContainer class="flex flex-col gap-2 py-5 px-5">
|
|
7
|
+
<div
|
|
8
|
+
*ngFor="let featureType of filteredFeatureCatalog?.featureTypes"
|
|
9
|
+
class="rounded shadow bg-white"
|
|
10
|
+
>
|
|
11
|
+
<gn-ui-expandable-panel
|
|
12
|
+
#expanel
|
|
13
|
+
[collapsed]="filteredFeatureCatalog?.featureTypes?.length !== 1"
|
|
14
|
+
iconColor="black"
|
|
15
|
+
>
|
|
16
|
+
<ng-template #titleTemplate>
|
|
17
|
+
<div class="px-2">
|
|
18
|
+
<div class="text-lg font-bold">{{ featureType.name }}</div>
|
|
19
|
+
<div class="text-sm" *ngIf="featureType.definition">
|
|
20
|
+
{{ featureType.definition }}
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</ng-template>
|
|
24
|
+
<div
|
|
25
|
+
*ngIf="expanel && !expanel.collapsed"
|
|
26
|
+
class="grid gap-0"
|
|
27
|
+
[style.grid-template-columns]="
|
|
28
|
+
getGridTemplateColumns(featureType.attributes)
|
|
29
|
+
"
|
|
30
|
+
data-cy="feature-type-content"
|
|
31
|
+
>
|
|
32
|
+
<div
|
|
33
|
+
class="py-1 px-2 text-sm font-bold text-left border-t break-all"
|
|
34
|
+
[class.border-l]="i > 0"
|
|
35
|
+
[class.border-gray-300]="i > 0"
|
|
36
|
+
[ngClass]="col.class || ''"
|
|
37
|
+
*ngFor="
|
|
38
|
+
let col of getColumnsDefinition(featureType.attributes);
|
|
39
|
+
trackBy: trackByColumn;
|
|
40
|
+
let i = index
|
|
41
|
+
"
|
|
42
|
+
data-test="column-label"
|
|
43
|
+
>
|
|
44
|
+
{{ 'feature.catalog.attribute.' + col.key | translate }}
|
|
45
|
+
</div>
|
|
46
|
+
<ng-container *ngIf="expanel && !expanel.collapsed">
|
|
47
|
+
<ng-container *ngFor="let row of featureType.attributes">
|
|
48
|
+
<div
|
|
49
|
+
class="bg-white text-sm font-normal text-left border-t"
|
|
50
|
+
[class.border-l]="i > 0"
|
|
51
|
+
[class.border-gray-300]="i > 0"
|
|
52
|
+
*ngFor="
|
|
53
|
+
let col of getColumnsDefinition(featureType.attributes);
|
|
54
|
+
trackBy: trackByColumn;
|
|
55
|
+
let i = index
|
|
56
|
+
"
|
|
57
|
+
data-test="cell-content"
|
|
58
|
+
>
|
|
59
|
+
<ng-container
|
|
60
|
+
*ngIf="col.key === 'values'; then tplValues; else defaultTpl"
|
|
61
|
+
></ng-container>
|
|
62
|
+
|
|
63
|
+
<ng-template #defaultTpl>
|
|
64
|
+
<gn-ui-truncated-text
|
|
65
|
+
[scrollContainer]="scrollContainer"
|
|
66
|
+
[cdkScrollContainer]="scrollable"
|
|
67
|
+
[text]="row[col.key]"
|
|
68
|
+
></gn-ui-truncated-text>
|
|
69
|
+
</ng-template>
|
|
70
|
+
|
|
71
|
+
<ng-template #tplValues>
|
|
72
|
+
<gn-ui-cell-popin
|
|
73
|
+
#popinRef
|
|
74
|
+
[scrollContainer]="scrollContainer"
|
|
75
|
+
[cdkScrollContainer]="scrollable"
|
|
76
|
+
*ngIf="row.values?.length > 0"
|
|
77
|
+
>
|
|
78
|
+
<div cellContent data-cy="values-cell-popin-trigger">
|
|
79
|
+
<gn-ui-button
|
|
80
|
+
type="light"
|
|
81
|
+
extraClass="bg-transparent border-none"
|
|
82
|
+
(buttonClick)="popinRef.openOverlay()"
|
|
83
|
+
>
|
|
84
|
+
<ng-icon name="iconoirList" size="24"></ng-icon>
|
|
85
|
+
</gn-ui-button>
|
|
86
|
+
</div>
|
|
87
|
+
<div
|
|
88
|
+
popinContent
|
|
89
|
+
class="max-h-60 overflow-y-auto min-w-64 py-4 px-6"
|
|
90
|
+
style="scrollbar-width: thin"
|
|
91
|
+
>
|
|
92
|
+
<ul class="list-disc list-inside mr-4">
|
|
93
|
+
<li *ngFor="let v of row.values">
|
|
94
|
+
{{ v.label || v.code }}
|
|
95
|
+
</li>
|
|
96
|
+
</ul>
|
|
97
|
+
</div>
|
|
98
|
+
</gn-ui-cell-popin>
|
|
99
|
+
</ng-template>
|
|
100
|
+
</div>
|
|
101
|
+
</ng-container>
|
|
102
|
+
</ng-container>
|
|
103
|
+
</div>
|
|
104
|
+
</gn-ui-expandable-panel>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</div>
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Component, ElementRef, Input, ViewChild } from '@angular/core'
|
|
2
|
+
import { CommonModule } from '@angular/common'
|
|
3
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
4
|
+
import {
|
|
5
|
+
DatasetFeatureAttribute,
|
|
6
|
+
DatasetFeatureCatalog,
|
|
7
|
+
} from '../../../../../../../libs/common/domain/src/lib/model/record'
|
|
8
|
+
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
9
|
+
import { ButtonComponent } from '../../../../../../../libs/ui/inputs/src'
|
|
10
|
+
import {
|
|
11
|
+
CellPopinComponent,
|
|
12
|
+
ExpandablePanelComponent,
|
|
13
|
+
TruncatedTextComponent,
|
|
14
|
+
} from '../../../../../../../libs/ui/layout/src'
|
|
15
|
+
import { CdkScrollable, ScrollingModule } from '@angular/cdk/scrolling'
|
|
16
|
+
import { NgIconComponent, provideIcons } from '@ng-icons/core'
|
|
17
|
+
import { iconoirList } from '@ng-icons/iconoir'
|
|
18
|
+
|
|
19
|
+
marker('feature.catalog.attribute.type')
|
|
20
|
+
marker('feature.catalog.attribute.name')
|
|
21
|
+
marker('feature.catalog.attribute.code')
|
|
22
|
+
marker('feature.catalog.attribute.definition')
|
|
23
|
+
marker('feature.catalog.attribute.values')
|
|
24
|
+
|
|
25
|
+
interface ColumnDefinition {
|
|
26
|
+
key: string
|
|
27
|
+
width: string
|
|
28
|
+
class?: string
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@Component({
|
|
32
|
+
selector: 'gn-ui-feature-catalog-list',
|
|
33
|
+
templateUrl: './feature-catalog-list.component.html',
|
|
34
|
+
styleUrls: [],
|
|
35
|
+
standalone: true,
|
|
36
|
+
imports: [
|
|
37
|
+
ButtonComponent,
|
|
38
|
+
CellPopinComponent,
|
|
39
|
+
CommonModule,
|
|
40
|
+
TranslatePipe,
|
|
41
|
+
ExpandablePanelComponent,
|
|
42
|
+
TruncatedTextComponent,
|
|
43
|
+
NgIconComponent,
|
|
44
|
+
ScrollingModule,
|
|
45
|
+
],
|
|
46
|
+
providers: [provideIcons({ iconoirList })],
|
|
47
|
+
})
|
|
48
|
+
export class FeatureCatalogListComponent {
|
|
49
|
+
@Input() filteredFeatureCatalog!: DatasetFeatureCatalog
|
|
50
|
+
|
|
51
|
+
@ViewChild('scrollContainer') scrollContainer!: ElementRef
|
|
52
|
+
@ViewChild(CdkScrollable, { static: true }) scrollable!: CdkScrollable
|
|
53
|
+
@ViewChild('expanel', { read: ExpandablePanelComponent, static: true })
|
|
54
|
+
panelComponent: ExpandablePanelComponent
|
|
55
|
+
|
|
56
|
+
readonly COLUMNS_DEFAULT: ColumnDefinition[] = [
|
|
57
|
+
{ key: 'type', width: '17%' },
|
|
58
|
+
{ key: 'name', width: '32%' },
|
|
59
|
+
{ key: 'code', width: '17%' },
|
|
60
|
+
{ key: 'definition', width: 'minmax(0px, 1fr)' },
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
readonly COLUMN_VALUES: ColumnDefinition = {
|
|
64
|
+
key: 'values',
|
|
65
|
+
width: '73px',
|
|
66
|
+
class: 'text-center',
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
getColumnsDefinition(attrs: DatasetFeatureAttribute[]): ColumnDefinition[] {
|
|
70
|
+
const hasValues = attrs.some((a) => a.values?.length > 0)
|
|
71
|
+
return [...this.COLUMNS_DEFAULT, ...(hasValues ? [this.COLUMN_VALUES] : [])]
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
getGridTemplateColumns(attributes: DatasetFeatureAttribute[]) {
|
|
75
|
+
return this.getColumnsDefinition(attributes)
|
|
76
|
+
.map((col) => col.width)
|
|
77
|
+
.join(' ')
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
trackByColumn(_i: number, col: { key: string }) {
|
|
81
|
+
return col.key
|
|
82
|
+
}
|
|
83
|
+
}
|
package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div style="height: 652px" id="preview" *ngIf="apiLinks.length > 0">
|
|
2
|
-
<div class="bg-primary-opacity-10 overflow-visible" style="height:
|
|
2
|
+
<div class="bg-primary-opacity-10 overflow-visible" style="height: 420px">
|
|
3
3
|
<div class="container-lg px-4 lg:mx-auto">
|
|
4
4
|
<div>
|
|
5
5
|
<div class="gn-ui-section-title mb-6" translate>
|
|
@@ -16,17 +16,31 @@
|
|
|
16
16
|
<div class="h-14 md:w-2/5 w-full mb-4 flex flex-row relative">
|
|
17
17
|
<gn-ui-text-input
|
|
18
18
|
class="w-full"
|
|
19
|
+
[(value)]="searchQuery"
|
|
19
20
|
[extraClass]="getExtraInputClass()"
|
|
20
21
|
[placeholder]="'service.metadata.search' | translate"
|
|
21
22
|
(input)="onSearchChange($event)"
|
|
22
23
|
(keydown.enter)="onSearchEnter($event)"
|
|
23
24
|
>
|
|
24
25
|
</gn-ui-text-input>
|
|
26
|
+
<div
|
|
27
|
+
class="absolute right-14 h-14 w-14 flex items-center justify-center"
|
|
28
|
+
>
|
|
29
|
+
<button
|
|
30
|
+
#inputBtn
|
|
31
|
+
*ngIf="searchQuery"
|
|
32
|
+
[aria-label]="'service.metadata.search.clear' | translate"
|
|
33
|
+
(click)="clearSearch()"
|
|
34
|
+
class="h-12 w-12 border-0 flex items-center justify-center"
|
|
35
|
+
>
|
|
36
|
+
<ng-icon name="matClose"></ng-icon>
|
|
37
|
+
</button>
|
|
38
|
+
</div>
|
|
25
39
|
<div class="border-l absolute border-gray-200 right-0 h-14 w-14">
|
|
26
40
|
<gn-ui-button
|
|
27
41
|
#inputBtn
|
|
28
42
|
type="outline"
|
|
29
|
-
extraClass="h-12 w-12 border-0 absolute right-1 top-1"
|
|
43
|
+
extraClass="h-12 w-12 border-0 absolute right-1 top-1 bg-white"
|
|
30
44
|
(buttonClick)="searchLayers()"
|
|
31
45
|
>
|
|
32
46
|
<ng-icon name="iconoirSearch"></ng-icon>
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component, Input, OnInit } from '@angular/core'
|
|
2
2
|
import { CommonModule } from '@angular/common'
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
TranslateDirective,
|
|
5
|
+
TranslatePipe,
|
|
6
|
+
TranslateService,
|
|
7
|
+
} from '@ngx-translate/core'
|
|
4
8
|
import { getLayers } from '../../../../../../libs/util/shared/src'
|
|
5
9
|
import { ButtonComponent, TextInputComponent } from '../../../../../../libs/ui/inputs/src'
|
|
6
10
|
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
@@ -16,6 +20,7 @@ import {
|
|
|
16
20
|
WmsLayerFull,
|
|
17
21
|
WmtsLayer,
|
|
18
22
|
} from '@camptocamp/ogc-client'
|
|
23
|
+
import { matClose } from '@ng-icons/material-icons/baseline'
|
|
19
24
|
|
|
20
25
|
marker(`service.metadata.search`)
|
|
21
26
|
marker(`service.metadata.capabilities.title`)
|
|
@@ -37,7 +42,8 @@ marker(`service.metadata.capabilities.attribution`)
|
|
|
37
42
|
standalone: true,
|
|
38
43
|
imports: [
|
|
39
44
|
CommonModule,
|
|
40
|
-
|
|
45
|
+
TranslateDirective,
|
|
46
|
+
TranslatePipe,
|
|
41
47
|
ButtonComponent,
|
|
42
48
|
TextInputComponent,
|
|
43
49
|
NgIcon,
|
|
@@ -48,6 +54,7 @@ marker(`service.metadata.capabilities.attribution`)
|
|
|
48
54
|
provideIcons({
|
|
49
55
|
iconoirSearch,
|
|
50
56
|
matInfoOutline,
|
|
57
|
+
matClose,
|
|
51
58
|
}),
|
|
52
59
|
],
|
|
53
60
|
templateUrl: './service-capabilities.component.html',
|
|
@@ -104,6 +111,12 @@ export class ServiceCapabilitiesComponent implements OnInit {
|
|
|
104
111
|
}
|
|
105
112
|
}
|
|
106
113
|
|
|
114
|
+
clearSearch() {
|
|
115
|
+
this.searchActive = false
|
|
116
|
+
this.searchQuery = ''
|
|
117
|
+
this.filteredLayers = this.availableLayers
|
|
118
|
+
}
|
|
119
|
+
|
|
107
120
|
async loadLayers() {
|
|
108
121
|
if (
|
|
109
122
|
this.apiLinks.length > 0 &&
|
|
@@ -176,7 +189,7 @@ export class ServiceCapabilitiesComponent implements OnInit {
|
|
|
176
189
|
}
|
|
177
190
|
|
|
178
191
|
getExtraClass(layerItem) {
|
|
179
|
-
return layerItem
|
|
192
|
+
return layerItem === this.selectedLayer
|
|
180
193
|
? `h-8 rounded-lg bg-primary-darker text-white hover:text-primary-darker hover:bg-white`
|
|
181
194
|
: `h-8 rounded-lg`
|
|
182
195
|
}
|
|
@@ -14,7 +14,7 @@ import { UserModel } from '../../../../../../libs/common/domain/src/lib/model/us
|
|
|
14
14
|
import { TimeSincePipe } from './time-since.pipe'
|
|
15
15
|
import { CommonModule } from '@angular/common'
|
|
16
16
|
import { ButtonComponent, TextAreaComponent } from '../../../../../../libs/ui/inputs/src'
|
|
17
|
-
import {
|
|
17
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
18
18
|
import { SpinningLoaderComponent } from '../../../../../../libs/ui/widgets/src'
|
|
19
19
|
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
20
20
|
import { matSendOutline } from '@ng-icons/material-icons/outline'
|
|
@@ -29,7 +29,7 @@ import { matSendOutline } from '@ng-icons/material-icons/outline'
|
|
|
29
29
|
CommonModule,
|
|
30
30
|
TimeSincePipe,
|
|
31
31
|
TextAreaComponent,
|
|
32
|
-
|
|
32
|
+
TranslatePipe,
|
|
33
33
|
ButtonComponent,
|
|
34
34
|
SpinningLoaderComponent,
|
|
35
35
|
NgIcon,
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
2
|
import { UserModel } from '../../../../../../libs/common/domain/src/lib/model/user/user.model'
|
|
3
|
+
import { AvatarComponent } from '../avatar/avatar.component'
|
|
4
|
+
import { MatTooltipModule } from '@angular/material/tooltip'
|
|
3
5
|
|
|
4
6
|
@Component({
|
|
5
7
|
selector: 'gn-ui-user-preview',
|
|
6
8
|
templateUrl: './user-preview.component.html',
|
|
7
9
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10
|
+
imports: [AvatarComponent, MatTooltipModule],
|
|
11
|
+
standalone: true,
|
|
8
12
|
})
|
|
9
13
|
export class UserPreviewComponent {
|
|
10
14
|
@Input() user: UserModel
|
|
@@ -15,11 +15,12 @@ export * from './lib/dropdown-selector/dropdown-selector.model'
|
|
|
15
15
|
export * from './lib/editable-label/editable-label.directive'
|
|
16
16
|
export * from './lib/file-input/file-input.component'
|
|
17
17
|
export * from './lib/files-drop/files-drop.directive'
|
|
18
|
+
export * from './lib/inline-filter/inline-filter.component'
|
|
18
19
|
export * from './lib/search-input/search-input.component'
|
|
19
20
|
export * from './lib/star-toggle/star-toggle.component'
|
|
20
21
|
export * from './lib/switch-toggle/switch-toggle.component'
|
|
21
22
|
export * from './lib/text-area/text-area.component'
|
|
22
23
|
export * from './lib/text-input/text-input.component'
|
|
23
|
-
export * from './lib/ui-inputs.module'
|
|
24
24
|
export * from './lib/url-input/url-input.component'
|
|
25
25
|
export * from './lib/viewport-intersector/viewport-intersector.component'
|
|
26
|
+
export * from './lib/search-feature-catalog/search-feature-catalog.component'
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from 'rxjs/operators'
|
|
35
35
|
import { PopupAlertComponent } from '../../../../../../libs/ui/widgets/src'
|
|
36
36
|
import { CommonModule } from '@angular/common'
|
|
37
|
-
import {
|
|
37
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
38
38
|
import { ButtonComponent } from '../button/button.component'
|
|
39
39
|
import {
|
|
40
40
|
NgIconComponent,
|
|
@@ -56,7 +56,7 @@ export type AutocompleteItem = unknown
|
|
|
56
56
|
PopupAlertComponent,
|
|
57
57
|
MatAutocompleteModule,
|
|
58
58
|
CommonModule,
|
|
59
|
-
|
|
59
|
+
TranslateDirective,
|
|
60
60
|
ReactiveFormsModule,
|
|
61
61
|
ButtonComponent,
|
|
62
62
|
NgIconComponent,
|
|
@@ -56,14 +56,14 @@ export class ButtonComponent {
|
|
|
56
56
|
|
|
57
57
|
@Input() disabled = false
|
|
58
58
|
@Input() extraClass = ''
|
|
59
|
-
@Output() buttonClick = new EventEmitter<
|
|
59
|
+
@Output() buttonClick = new EventEmitter<Event>()
|
|
60
60
|
|
|
61
61
|
get classList() {
|
|
62
62
|
return `${this.btnClass} ${this.extraClass}`
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
handleClick(event: MouseEvent) {
|
|
66
|
-
this.buttonClick.emit()
|
|
66
|
+
this.buttonClick.emit(event)
|
|
67
67
|
event.preventDefault()
|
|
68
68
|
;(event.currentTarget as HTMLElement).blur()
|
|
69
69
|
propagateToDocumentOnly(event)
|
|
@@ -5,12 +5,15 @@ import {
|
|
|
5
5
|
Input,
|
|
6
6
|
Output,
|
|
7
7
|
} from '@angular/core'
|
|
8
|
+
import { MatCheckboxModule } from '@angular/material/checkbox'
|
|
8
9
|
|
|
9
10
|
@Component({
|
|
10
11
|
selector: 'gn-ui-checkbox',
|
|
11
12
|
templateUrl: './checkbox.component.html',
|
|
12
13
|
styleUrls: ['./checkbox.component.css'],
|
|
13
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
|
+
standalone: true,
|
|
16
|
+
imports: [MatCheckboxModule],
|
|
14
17
|
})
|
|
15
18
|
export class CheckboxComponent {
|
|
16
19
|
@Input() type: 'primary' | 'secondary' | 'default' = 'default'
|