geonetwork-ui 2.6.0-dev.c5432f39f → 2.6.0-dev.cfd9cd166
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/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 +17 -11
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +4 -8
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -6
- 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 +4 -4
- 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 +4 -2
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +18 -16
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +46 -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 +4 -4
- package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +5 -3
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/index.mjs +1 -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 +11 -9
- 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/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 +77 -28
- package/esm2022/libs/feature/search/src/lib/constants.mjs +3 -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 +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-list/results-list.container.component.mjs +6 -6
- 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/data-table/data-table.component.mjs +4 -4
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/index.mjs +1 -3
- 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/geo-data-badge/geo-data-badge.component.mjs +4 -5
- 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 +19 -36
- 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 +7 -10
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +4 -5
- 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 +4 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -7
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +39 -16
- 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 +52 -32
- package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +5 -4
- 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 +1 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +5 -6
- 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 +12 -7
- 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 +2 -2
- package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
- package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
- 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 +17 -53
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +8 -8
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +28 -17
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +23 -24
- 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 +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 -69
- 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 +40 -2
- 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/record.util.mjs +56 -0
- package/esm2022/translations/de.json +20 -22
- package/esm2022/translations/en.json +21 -23
- package/esm2022/translations/es.json +19 -21
- package/esm2022/translations/fr.json +25 -27
- package/esm2022/translations/it.json +22 -24
- package/esm2022/translations/nl.json +19 -21
- package/esm2022/translations/pt.json +19 -21
- package/esm2022/translations/sk.json +602 -0
- package/fesm2022/geonetwork-ui.mjs +10826 -10689
- package/fesm2022/geonetwork-ui.mjs.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/iso19115-3/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/write-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/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 +8 -6
- 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 +10 -4
- 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 +20 -17
- 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 +5 -2
- 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.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.map +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +0 -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.map +1 -1
- 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/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/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 -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-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/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 +0 -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/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/internal-link-card/internal-link-card.component.d.ts +4 -7
- 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.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 +20 -9
- package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -1
- 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 +0 -1
- package/libs/ui/inputs/src/index.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.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 +1 -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/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/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 +6 -11
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +2 -1
- 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 +5 -3
- 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 +11 -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/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 -16
- 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 +3 -29
- 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/record.util.d.ts +3 -0
- package/libs/util/shared/src/lib/record.util.d.ts.map +1 -0
- package/package.json +3 -3
- 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/metadata-for-i18n.records.ts +4196 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +19 -6
- package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +3 -7
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -6
- 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 +3 -3
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +5 -7
- 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 +3 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +14 -6
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +60 -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 +20 -14
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +9 -2
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +113 -0
- 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.ts +2 -2
- 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 +4 -2
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +2 -2
- package/src/libs/feature/editor/src/index.ts +0 -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.ts +16 -10
- 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/lib/data-view/data-view.component.html +1 -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 +27 -9
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +113 -30
- package/src/libs/feature/search/src/lib/constants.ts +2 -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 +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-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/data-table/data-table.component.ts +2 -2
- 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 +0 -2
- 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/geo-data-badge/geo-data-badge.component.ts +2 -2
- 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 +8 -76
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +22 -55
- 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.ts +4 -5
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +2 -2
- 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.ts +2 -2
- 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.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 +96 -37
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +62 -31
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +7 -2
- 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 +0 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.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.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.ts +9 -3
- 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 +1 -1
- package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
- 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/form-field-wrapper/form-field-wrapper.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +2 -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 +25 -42
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +12 -58
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +6 -4
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +4 -4
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +14 -22
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +34 -13
- package/src/libs/ui/search/src/lib/ui-search.module.ts +12 -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 +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 -71
- 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 +44 -1
- 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/record.util.ts +114 -0
- package/translations/de.json +20 -22
- package/translations/en.json +21 -23
- package/translations/es.json +19 -21
- package/translations/fr.json +25 -27
- package/translations/it.json +22 -24
- package/translations/nl.json +19 -21
- package/translations/pt.json +19 -21
- package/translations/sk.json +19 -21
- 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/related-record-card/related-record-card.component.mjs +0 -56
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -130
- 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/related-record-card/related-record-card.component.d.ts +0 -19
- 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 -31
- 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.css +0 -0
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -9
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -61
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -72
- 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
|
@@ -29,7 +29,6 @@ import {
|
|
|
29
29
|
} from '../../../../../../../libs/common/domain/src/lib/model/record'
|
|
30
30
|
import { Gn4PlatformMapper } from './gn4-platform.mapper'
|
|
31
31
|
import { ltr } from 'semver'
|
|
32
|
-
import { LangService } from '../../../../../../../libs/util/i18n/src'
|
|
33
32
|
import { HttpClient, HttpEventType } from '@angular/common/http'
|
|
34
33
|
import {
|
|
35
34
|
KeywordApiResponse,
|
|
@@ -45,6 +44,8 @@ import {
|
|
|
45
44
|
switchMap,
|
|
46
45
|
throwError,
|
|
47
46
|
} from 'rxjs'
|
|
47
|
+
import { TranslateService } from '@ngx-translate/core'
|
|
48
|
+
import { getLang3FromLang2 } from '../../../../../../../libs/util/i18n/src'
|
|
48
49
|
|
|
49
50
|
const minApiVersion = '4.2.2'
|
|
50
51
|
|
|
@@ -82,12 +83,23 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
82
83
|
shareReplay(1)
|
|
83
84
|
)
|
|
84
85
|
|
|
86
|
+
private readonly allowEditHarvestedMd$ = this.settings$.pipe(
|
|
87
|
+
map((info) => {
|
|
88
|
+
return info['system/harvester/enableEditing'] as boolean
|
|
89
|
+
}),
|
|
90
|
+
shareReplay(1)
|
|
91
|
+
)
|
|
92
|
+
|
|
85
93
|
/**
|
|
86
94
|
* A map of already loaded thesauri (groups of keywords); the key is a URI
|
|
87
95
|
* @private
|
|
88
96
|
*/
|
|
89
97
|
private keywordsByThesauri: Record<string, Observable<Keyword[]>> = {}
|
|
90
98
|
|
|
99
|
+
private get lang3() {
|
|
100
|
+
return getLang3FromLang2(this.translateService.currentLang)
|
|
101
|
+
}
|
|
102
|
+
|
|
91
103
|
constructor(
|
|
92
104
|
private siteApiService: SiteApiService,
|
|
93
105
|
private meApi: MeApiService,
|
|
@@ -95,7 +107,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
95
107
|
private mapper: Gn4PlatformMapper,
|
|
96
108
|
private toolsApiService: ToolsApiService,
|
|
97
109
|
private registriesApiService: RegistriesApiService,
|
|
98
|
-
private
|
|
110
|
+
private translateService: TranslateService,
|
|
99
111
|
private userfeedbackApiService: UserfeedbackApiService,
|
|
100
112
|
private httpClient: HttpClient,
|
|
101
113
|
private recordsApiService: RecordsApiService
|
|
@@ -123,6 +135,10 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
123
135
|
return this.apiVersion$
|
|
124
136
|
}
|
|
125
137
|
|
|
138
|
+
getAllowEditHarvestedMd(): Observable<boolean> {
|
|
139
|
+
return this.allowEditHarvestedMd$
|
|
140
|
+
}
|
|
141
|
+
|
|
126
142
|
getMe(): Observable<UserModel> {
|
|
127
143
|
return this.me$
|
|
128
144
|
}
|
|
@@ -187,7 +203,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
187
203
|
|
|
188
204
|
return this.registriesApiService.searchKeywords(
|
|
189
205
|
query,
|
|
190
|
-
this.
|
|
206
|
+
this.lang3,
|
|
191
207
|
10,
|
|
192
208
|
0,
|
|
193
209
|
null,
|
|
@@ -200,11 +216,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
200
216
|
|
|
201
217
|
return combineLatest([keywords$, this.allThesaurus$]).pipe(
|
|
202
218
|
map(([keywords, thesaurus]) => {
|
|
203
|
-
return this.mapper.keywordsFromApi(
|
|
204
|
-
keywords,
|
|
205
|
-
thesaurus,
|
|
206
|
-
this.langService.iso3
|
|
207
|
-
)
|
|
219
|
+
return this.mapper.keywordsFromApi(keywords, thesaurus, this.lang3)
|
|
208
220
|
})
|
|
209
221
|
)
|
|
210
222
|
}
|
|
@@ -215,7 +227,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
215
227
|
}
|
|
216
228
|
const keywords$ = this.registriesApiService.searchKeywords(
|
|
217
229
|
null,
|
|
218
|
-
this.
|
|
230
|
+
this.lang3,
|
|
219
231
|
1000,
|
|
220
232
|
0,
|
|
221
233
|
null,
|
|
@@ -229,11 +241,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
229
241
|
this.allThesaurus$,
|
|
230
242
|
]).pipe(
|
|
231
243
|
map(([keywords, thesaurus]) => {
|
|
232
|
-
return this.mapper.keywordsFromApi(
|
|
233
|
-
keywords,
|
|
234
|
-
thesaurus,
|
|
235
|
-
this.langService.iso3
|
|
236
|
-
)
|
|
244
|
+
return this.mapper.keywordsFromApi(keywords, thesaurus, this.lang3)
|
|
237
245
|
}),
|
|
238
246
|
shareReplay(1)
|
|
239
247
|
)
|
|
@@ -253,7 +261,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
253
261
|
return this.registriesApiService
|
|
254
262
|
.searchKeywords(
|
|
255
263
|
query,
|
|
256
|
-
this.
|
|
264
|
+
this.lang3,
|
|
257
265
|
100,
|
|
258
266
|
0,
|
|
259
267
|
null,
|
|
@@ -262,11 +270,7 @@ export class Gn4PlatformService implements PlatformServiceInterface {
|
|
|
262
270
|
)
|
|
263
271
|
.pipe(
|
|
264
272
|
map((keywords: KeywordApiResponse[]) =>
|
|
265
|
-
this.mapper.keywordsFromApi(
|
|
266
|
-
keywords,
|
|
267
|
-
thesauri,
|
|
268
|
-
this.langService.iso3
|
|
269
|
-
)
|
|
273
|
+
this.mapper.keywordsFromApi(keywords, thesauri, this.lang3)
|
|
270
274
|
)
|
|
271
275
|
)
|
|
272
276
|
})
|
|
@@ -11,6 +11,9 @@ export class Gn4SettingsService {
|
|
|
11
11
|
'system/users/identicon'
|
|
12
12
|
)
|
|
13
13
|
|
|
14
|
+
public allowEditHarvested$: Observable<boolean> =
|
|
15
|
+
this.getSettingsSetValueByKey('system/harvester/enableEditing')
|
|
16
|
+
|
|
14
17
|
constructor(private siteApiService: SiteApiService) {}
|
|
15
18
|
|
|
16
19
|
private getSettingsSetValueByKey(key: string) {
|
|
@@ -233,14 +233,6 @@ export interface DatasetRecord extends BaseRecord {
|
|
|
233
233
|
spatialRepresentation?: SpatialRepresentationType
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export type DatasetFeatureCatalog = {
|
|
237
|
-
featureTypes: Array<{
|
|
238
|
-
name: string
|
|
239
|
-
definition: string
|
|
240
|
-
attributes: Array<{ name: string; title: string; code: string }>
|
|
241
|
-
}>
|
|
242
|
-
}
|
|
243
|
-
|
|
244
236
|
export interface ServiceEndpoint {
|
|
245
237
|
url: URL
|
|
246
238
|
accessServiceProtocol: ServiceProtocol
|
|
@@ -268,18 +260,32 @@ export interface ReuseRecord extends BaseRecord {
|
|
|
268
260
|
temporalExtents: Array<DatasetTemporalExtent>
|
|
269
261
|
}
|
|
270
262
|
|
|
263
|
+
export type DatasetFeatureCatalog = {
|
|
264
|
+
featureTypes: Array<{
|
|
265
|
+
name: string
|
|
266
|
+
definition: string
|
|
267
|
+
attributes: DatasetFeatureAttribute[]
|
|
268
|
+
}>
|
|
269
|
+
}
|
|
270
|
+
export interface DatasetFeatureAttributeValue {
|
|
271
|
+
code?: string
|
|
272
|
+
definition?: string
|
|
273
|
+
label?: string
|
|
274
|
+
}
|
|
275
|
+
export interface DatasetFeatureAttribute {
|
|
276
|
+
name: string
|
|
277
|
+
definition: string
|
|
278
|
+
type: string
|
|
279
|
+
code: string
|
|
280
|
+
values?: Array<DatasetFeatureAttributeValue>
|
|
281
|
+
}
|
|
271
282
|
export interface DatasetFeatureType {
|
|
272
283
|
aliases: string
|
|
273
284
|
code: string
|
|
274
285
|
isAbstract: string
|
|
275
286
|
typeName: string
|
|
276
287
|
definition: string
|
|
277
|
-
attributeTable: Array<
|
|
278
|
-
name: string
|
|
279
|
-
definition: string
|
|
280
|
-
type: string
|
|
281
|
-
code: string
|
|
282
|
-
}>
|
|
288
|
+
attributeTable: Array<DatasetFeatureAttribute>
|
|
283
289
|
}
|
|
284
290
|
|
|
285
291
|
export type ReuseType = 'application' | 'map' | 'other'
|
|
@@ -6,7 +6,11 @@ import {
|
|
|
6
6
|
SearchParams,
|
|
7
7
|
SearchResults,
|
|
8
8
|
} from '../model/search'
|
|
9
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
CatalogRecord,
|
|
11
|
+
DatasetFeatureCatalog,
|
|
12
|
+
LanguageCode,
|
|
13
|
+
} from '../model/record'
|
|
10
14
|
|
|
11
15
|
export abstract class RecordsRepositoryInterface {
|
|
12
16
|
abstract search(params: SearchParams): Observable<SearchResults>
|
|
@@ -22,7 +26,10 @@ export abstract class RecordsRepositoryInterface {
|
|
|
22
26
|
abstract getSources(record: CatalogRecord): Observable<CatalogRecord[]>
|
|
23
27
|
abstract getSourceOf(record: CatalogRecord): Observable<CatalogRecord[]>
|
|
24
28
|
abstract fuzzySearch(query: string): Observable<SearchResults>
|
|
29
|
+
abstract canDuplicate(record: CatalogRecord): boolean
|
|
30
|
+
abstract canDelete(record: CatalogRecord): Observable<boolean>
|
|
25
31
|
abstract canEditRecord(uniqueIdentifier: string): Observable<boolean>
|
|
32
|
+
abstract canEditIndexedRecord(record: CatalogRecord): Observable<boolean>
|
|
26
33
|
/**
|
|
27
34
|
* This emits once:
|
|
28
35
|
* - record object; if a draft exists, this will return it
|
|
@@ -97,5 +104,5 @@ export abstract class RecordsRepositoryInterface {
|
|
|
97
104
|
localRecord: CatalogRecord
|
|
98
105
|
): Observable<{ user: string; date: Date }>
|
|
99
106
|
abstract getRecordPublicationStatus(uuid: string): Observable<boolean>
|
|
100
|
-
abstract getApplicationLanguages(): Observable<
|
|
107
|
+
abstract getApplicationLanguages(): Observable<LanguageCode[]>
|
|
101
108
|
}
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
DatasetRecord,
|
|
4
4
|
DatasetSpatialExtent,
|
|
5
5
|
Keyword,
|
|
6
|
+
ServiceRecord,
|
|
6
7
|
} from '../../../../../libs/common/domain/src/lib/model/record'
|
|
7
8
|
|
|
8
9
|
export const datasetRecordsFixture: () => CatalogRecord[] = () => [
|
|
@@ -176,6 +177,20 @@ As such, **it is not very interesting at all.**`,
|
|
|
176
177
|
link: '',
|
|
177
178
|
definition: 'Nom de la rue',
|
|
178
179
|
type: 'String (48)',
|
|
180
|
+
values: [
|
|
181
|
+
{
|
|
182
|
+
code: 'Pomme',
|
|
183
|
+
label: 'Les Pommiers',
|
|
184
|
+
description: 'Sous les pommiers',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
code: 'Cotton',
|
|
188
|
+
label: 'Rue Cotton',
|
|
189
|
+
description: 'Rue Cotton',
|
|
190
|
+
},
|
|
191
|
+
{ code: "Passage de l'échiquier" },
|
|
192
|
+
{ description: 'Rue du Charlieu' },
|
|
193
|
+
],
|
|
179
194
|
},
|
|
180
195
|
{
|
|
181
196
|
code: 'RUE',
|
|
@@ -811,6 +826,52 @@ export const importDatasetRecordAsXmlFixture = (): string => `
|
|
|
811
826
|
</gmd:identificationInfo>
|
|
812
827
|
</gmd:MD_Metadata>`
|
|
813
828
|
|
|
829
|
+
export const simpleServiceRecordFixture = (): ServiceRecord => ({
|
|
830
|
+
abstract: `Ce service de visualisation WMS permet de consulter la série de couches de données "Sites de gestion des déchets miniers - Série".`,
|
|
831
|
+
kind: 'service',
|
|
832
|
+
recordUpdated: new Date('2023-03-17T07:38:08.875Z'),
|
|
833
|
+
recordPublished: null,
|
|
834
|
+
ownerOrganization: null,
|
|
835
|
+
licenses: [],
|
|
836
|
+
legalConstraints: [],
|
|
837
|
+
securityConstraints: [],
|
|
838
|
+
otherConstraints: [],
|
|
839
|
+
contacts: [],
|
|
840
|
+
contactsForResource: [],
|
|
841
|
+
keywords: [],
|
|
842
|
+
topics: [],
|
|
843
|
+
spatialExtents: [],
|
|
844
|
+
overviews: [],
|
|
845
|
+
defaultLanguage: null,
|
|
846
|
+
otherLanguages: [],
|
|
847
|
+
title: 'Sites de gestion des déchets miniers - Service de visualisation WMS',
|
|
848
|
+
onlineResources: [
|
|
849
|
+
{
|
|
850
|
+
name: 'Rapport de disponibilité du service WMS',
|
|
851
|
+
description:
|
|
852
|
+
'Ce service de visualisation WMS permet de consulter la série de couches de données "Sites de gestion des déchets miniers - Série".',
|
|
853
|
+
mimeType: 'text/html',
|
|
854
|
+
type: 'link',
|
|
855
|
+
url: new URL(
|
|
856
|
+
'https://geoservices.wallonie.be/rapportDisponibilite/wms/sites_de_gestion_des_dechets_miniers_srie.html'
|
|
857
|
+
),
|
|
858
|
+
accessRestricted: false,
|
|
859
|
+
},
|
|
860
|
+
],
|
|
861
|
+
uniqueIdentifier: '00b22798-ec8e-4500-89e8-90eeeda45919',
|
|
862
|
+
landingPage: new URL(
|
|
863
|
+
'http://localhost:4200/geonetwork/srv/fre/catalog.search#/metadata/00b22798-ec8e-4500-89e8-90eeeda45919'
|
|
864
|
+
),
|
|
865
|
+
extras: {
|
|
866
|
+
isPublishedToAll: true,
|
|
867
|
+
id: '723',
|
|
868
|
+
isHarvested: true,
|
|
869
|
+
ownerInfo: 'admin|admin|admin|Administrator',
|
|
870
|
+
edit: true,
|
|
871
|
+
},
|
|
872
|
+
recordCreated: new Date('2023-03-17T07:38:08.875Z'),
|
|
873
|
+
})
|
|
874
|
+
|
|
814
875
|
export const NATIONAL_KEYWORD = {
|
|
815
876
|
key: 'http://inspire.ec.europa.eu/metadata-codelist/SpatialScope/national',
|
|
816
877
|
label: 'National',
|
|
@@ -909,3 +970,55 @@ export const SAMPLE_RECORD = {
|
|
|
909
970
|
...SAMPLE_PLACE_KEYWORDS_FROM_XML,
|
|
910
971
|
],
|
|
911
972
|
}
|
|
973
|
+
|
|
974
|
+
export const multilingualDatasetFixture: () => DatasetRecord = () => ({
|
|
975
|
+
kind: 'dataset',
|
|
976
|
+
defaultLanguage: 'en',
|
|
977
|
+
otherLanguages: ['fr', 'de'],
|
|
978
|
+
title: 'English Title',
|
|
979
|
+
abstract: 'English Abstract',
|
|
980
|
+
lineage: 'English Lineage',
|
|
981
|
+
translations: {
|
|
982
|
+
title: { fr: 'Titre Français', de: 'Titel DE' },
|
|
983
|
+
abstract: { fr: 'Résumé Français', de: 'Beschreibung DE' },
|
|
984
|
+
lineage: { fr: 'Généalogie Français', de: 'Lineage DE' },
|
|
985
|
+
},
|
|
986
|
+
keywords: [
|
|
987
|
+
{
|
|
988
|
+
label: 'Keyword EN',
|
|
989
|
+
description: 'Keyword Desc EN',
|
|
990
|
+
type: 'theme',
|
|
991
|
+
translations: {
|
|
992
|
+
label: { fr: 'Mot-clé FR', de: 'Schlusselwort DE' },
|
|
993
|
+
description: { fr: 'Description FR', de: 'Schlusselwort DE' },
|
|
994
|
+
},
|
|
995
|
+
},
|
|
996
|
+
],
|
|
997
|
+
onlineResources: [],
|
|
998
|
+
licenses: [],
|
|
999
|
+
legalConstraints: [],
|
|
1000
|
+
securityConstraints: [],
|
|
1001
|
+
otherConstraints: [],
|
|
1002
|
+
contacts: [],
|
|
1003
|
+
contactsForResource: [],
|
|
1004
|
+
ownerOrganization: {
|
|
1005
|
+
name: 'Org EN',
|
|
1006
|
+
translations: {
|
|
1007
|
+
name: { fr: 'Org FR', de: 'Org DE' },
|
|
1008
|
+
},
|
|
1009
|
+
},
|
|
1010
|
+
spatialExtents: [
|
|
1011
|
+
{
|
|
1012
|
+
description: 'Extent EN',
|
|
1013
|
+
translations: {
|
|
1014
|
+
description: { fr: 'Étendue FR', de: 'Bereich DE' },
|
|
1015
|
+
},
|
|
1016
|
+
},
|
|
1017
|
+
],
|
|
1018
|
+
temporalExtents: [],
|
|
1019
|
+
status: 'ongoing',
|
|
1020
|
+
uniqueIdentifier: 'ABCD-EFGH',
|
|
1021
|
+
overviews: [],
|
|
1022
|
+
topics: [],
|
|
1023
|
+
recordUpdated: null,
|
|
1024
|
+
})
|
|
@@ -10,10 +10,7 @@ import {
|
|
|
10
10
|
} from '../../../../../libs/data-access/gn4/src'
|
|
11
11
|
import { CommonModule } from '@angular/common'
|
|
12
12
|
import { SourceLabelComponent } from './source-label/source-label.component'
|
|
13
|
-
import {
|
|
14
|
-
import { UiLayoutModule } from '../../../../../libs/ui/layout/src'
|
|
15
|
-
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
16
|
-
import { UiElementsModule } from '../../../../../libs/ui/elements/src'
|
|
13
|
+
import { TranslateService } from '@ngx-translate/core'
|
|
17
14
|
import { OrganizationsServiceInterface } from '../../../../../libs/common/domain/src/lib/organizations.service.interface'
|
|
18
15
|
import {
|
|
19
16
|
ElasticsearchService,
|
|
@@ -35,8 +32,7 @@ const organizationsServiceFactory = (
|
|
|
35
32
|
searchApiService: SearchApiService,
|
|
36
33
|
groupsApiService: GroupsApiService,
|
|
37
34
|
translateService: TranslateService,
|
|
38
|
-
platformService: PlatformServiceInterface
|
|
39
|
-
langService: LangService
|
|
35
|
+
platformService: PlatformServiceInterface
|
|
40
36
|
) =>
|
|
41
37
|
strategy === 'groups'
|
|
42
38
|
? new OrganizationsFromGroupsService(
|
|
@@ -50,20 +46,12 @@ const organizationsServiceFactory = (
|
|
|
50
46
|
searchApiService,
|
|
51
47
|
groupsApiService,
|
|
52
48
|
platformService,
|
|
53
|
-
|
|
49
|
+
translateService
|
|
54
50
|
)
|
|
55
51
|
|
|
56
52
|
@NgModule({
|
|
57
53
|
declarations: [SiteTitleComponent, SourceLabelComponent],
|
|
58
|
-
imports: [
|
|
59
|
-
UiLayoutModule,
|
|
60
|
-
CommonModule,
|
|
61
|
-
UtilI18nModule,
|
|
62
|
-
TranslateModule.forChild(),
|
|
63
|
-
UiElementsModule,
|
|
64
|
-
OrganisationsFilterComponent,
|
|
65
|
-
CatalogTitleComponent,
|
|
66
|
-
],
|
|
54
|
+
imports: [CommonModule, OrganisationsFilterComponent, CatalogTitleComponent],
|
|
67
55
|
exports: [SiteTitleComponent, SourceLabelComponent],
|
|
68
56
|
providers: [
|
|
69
57
|
{
|
|
@@ -76,7 +64,6 @@ const organizationsServiceFactory = (
|
|
|
76
64
|
GroupsApiService,
|
|
77
65
|
TranslateService,
|
|
78
66
|
PlatformServiceInterface,
|
|
79
|
-
LangService,
|
|
80
67
|
],
|
|
81
68
|
},
|
|
82
69
|
],
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core'
|
|
2
2
|
import { SourcesApiService } from '../../../../../../libs/data-access/gn4/src'
|
|
3
|
-
import { LangService } from '../../../../../../libs/util/i18n/src'
|
|
4
3
|
import { Observable } from 'rxjs'
|
|
5
4
|
import { filter, map, shareReplay } from 'rxjs/operators'
|
|
6
5
|
import { CatalogSource } from './sources.model'
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core'
|
|
7
|
+
import { getLang3FromLang2 } from '../../../../../../libs/util/i18n/src'
|
|
7
8
|
|
|
8
9
|
@Injectable({
|
|
9
10
|
providedIn: 'root',
|
|
@@ -15,14 +16,17 @@ export class SourcesService {
|
|
|
15
16
|
|
|
16
17
|
constructor(
|
|
17
18
|
private sourcesApiService: SourcesApiService,
|
|
18
|
-
private
|
|
19
|
+
private translateService: TranslateService
|
|
19
20
|
) {}
|
|
20
21
|
|
|
21
22
|
getSourceLabel(uuid: string): Observable<string> {
|
|
22
23
|
return this.sources$.pipe(
|
|
23
24
|
map((sources) => sources.filter((source) => source.uuid === uuid)[0]),
|
|
24
25
|
filter((source) => !!source),
|
|
25
|
-
map(
|
|
26
|
+
map(
|
|
27
|
+
(source) =>
|
|
28
|
+
source.label[getLang3FromLang2(this.translateService.currentLang)]
|
|
29
|
+
)
|
|
26
30
|
)
|
|
27
31
|
}
|
|
28
32
|
}
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
DatasetFeatureCatalog,
|
|
34
34
|
DatasetOnlineResource,
|
|
35
35
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
36
|
-
import {
|
|
36
|
+
import { TranslatePipe, TranslateService } from '@ngx-translate/core'
|
|
37
37
|
import { CommonModule } from '@angular/common'
|
|
38
38
|
import { ChartComponent } from '../../../../../../libs/ui/dataviz/src'
|
|
39
39
|
import {
|
|
@@ -61,10 +61,10 @@ marker('chart.aggregation.count')
|
|
|
61
61
|
imports: [
|
|
62
62
|
CommonModule,
|
|
63
63
|
DropdownSelectorComponent,
|
|
64
|
-
TranslateModule,
|
|
65
64
|
ChartComponent,
|
|
66
65
|
LoadingMaskComponent,
|
|
67
66
|
PopupAlertComponent,
|
|
67
|
+
TranslatePipe,
|
|
68
68
|
],
|
|
69
69
|
standalone: true,
|
|
70
70
|
})
|
package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
Input,
|
|
5
5
|
OnChanges,
|
|
6
6
|
} from '@angular/core'
|
|
7
|
-
import {
|
|
7
|
+
import { FigureComponent, TableItemModel } from '../../../../../../../libs/ui/dataviz/src'
|
|
8
8
|
import { FigureService } from '../figure.service'
|
|
9
9
|
|
|
10
10
|
@Component({
|
|
@@ -13,7 +13,7 @@ import { FigureService } from '../figure.service'
|
|
|
13
13
|
styleUrls: ['./figure-container.component.css'],
|
|
14
14
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
15
15
|
standalone: true,
|
|
16
|
-
imports: [
|
|
16
|
+
imports: [FigureComponent],
|
|
17
17
|
})
|
|
18
18
|
export class FigureContainerComponent implements OnChanges {
|
|
19
19
|
@Input() dataset: TableItemModel[]
|
|
@@ -227,7 +227,7 @@ export class DataService {
|
|
|
227
227
|
? endpoint.getCollectionItem(collections[0], '1')
|
|
228
228
|
: null
|
|
229
229
|
})
|
|
230
|
-
.catch((
|
|
230
|
+
.catch(() => {
|
|
231
231
|
throw new Error(`ogc.unreachable.unknown`)
|
|
232
232
|
})
|
|
233
233
|
}
|
|
@@ -237,7 +237,9 @@ export class DataService {
|
|
|
237
237
|
keepOriginalLink = false
|
|
238
238
|
): Promise<DatasetServiceDistribution[]> {
|
|
239
239
|
const endpoint = new TmsEndpoint(tmsLink.url.toString())
|
|
240
|
-
const tileMaps = await endpoint.allTileMaps
|
|
240
|
+
const tileMaps = await endpoint.allTileMaps.catch(() => {
|
|
241
|
+
throw new Error(`ogc.unreachable.unknown`)
|
|
242
|
+
})
|
|
241
243
|
if (!tileMaps?.length) return null
|
|
242
244
|
|
|
243
245
|
// TODO: at some point use the identifierInService field if more that one layers in the TMS service
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
DatasetFeatureCatalog,
|
|
16
16
|
DatasetOnlineResource,
|
|
17
17
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
18
|
-
import {
|
|
18
|
+
import { TranslatePipe, TranslateService } from '@ngx-translate/core'
|
|
19
19
|
import {
|
|
20
20
|
LoadingMaskComponent,
|
|
21
21
|
PopupAlertComponent,
|
|
@@ -32,7 +32,7 @@ import { CommonModule } from '@angular/common'
|
|
|
32
32
|
DataTableComponent,
|
|
33
33
|
LoadingMaskComponent,
|
|
34
34
|
PopupAlertComponent,
|
|
35
|
-
|
|
35
|
+
TranslatePipe,
|
|
36
36
|
],
|
|
37
37
|
standalone: true,
|
|
38
38
|
})
|
|
@@ -7,8 +7,5 @@ export * from './lib/feature-editor.module'
|
|
|
7
7
|
export * from './lib/services/editor.service'
|
|
8
8
|
export * from './lib/components/import-record/import-record.component'
|
|
9
9
|
export * from './lib/components/record-form/record-form.component'
|
|
10
|
-
export * from './lib/components/wizard/wizard.component'
|
|
11
|
-
export * from './lib/components/wizard-field/wizard-field.component'
|
|
12
|
-
export * from './lib/components/wizard-summarize/wizard-summarize.component'
|
|
13
10
|
export * from './lib/components/record-form/form-field'
|
|
14
11
|
export * from './lib/components/multilingual-panel/multilingual-panel.component'
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { createAction, props } from '@ngrx/store'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
CatalogRecord,
|
|
4
|
+
LanguageCode,
|
|
5
|
+
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
3
6
|
import { SaveRecordError } from './editor.models'
|
|
4
7
|
import { EditorFieldIdentification } from '../models'
|
|
5
8
|
|
|
@@ -16,6 +19,11 @@ export const updateRecordField = createAction(
|
|
|
16
19
|
props<{ field: string; value: unknown }>()
|
|
17
20
|
)
|
|
18
21
|
|
|
22
|
+
export const updateRecordLanguages = createAction(
|
|
23
|
+
'[Editor] Update record languages',
|
|
24
|
+
props<{ defaultLanguage: LanguageCode; otherLanguages: LanguageCode[] }>()
|
|
25
|
+
)
|
|
26
|
+
|
|
19
27
|
export const markRecordAsChanged = createAction(
|
|
20
28
|
'[Editor] Mark record as changed'
|
|
21
29
|
)
|
|
@@ -4,7 +4,7 @@ import { debounceTime, EMPTY, filter, of, withLatestFrom } from 'rxjs'
|
|
|
4
4
|
import { catchError, map, switchMap } from 'rxjs/operators'
|
|
5
5
|
import * as EditorActions from './editor.actions'
|
|
6
6
|
import { EditorService } from '../services/editor.service'
|
|
7
|
-
import { Store } from '@ngrx/store'
|
|
7
|
+
import { Action, Store } from '@ngrx/store'
|
|
8
8
|
import {
|
|
9
9
|
selectEditorConfig,
|
|
10
10
|
selectRecord,
|
|
@@ -31,15 +31,20 @@ export class EditorEffects {
|
|
|
31
31
|
),
|
|
32
32
|
switchMap(([, record, recordSource, fieldsConfig]) =>
|
|
33
33
|
this.editorService.saveRecord(record, recordSource, fieldsConfig).pipe(
|
|
34
|
-
switchMap(([
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
34
|
+
switchMap(([savedRecord, savedRecordSource]) => {
|
|
35
|
+
const actions: Action[] = [EditorActions.saveRecordSuccess()]
|
|
36
|
+
|
|
37
|
+
if (!record?.uniqueIdentifier) {
|
|
38
|
+
actions.push(
|
|
39
|
+
EditorActions.openRecord({
|
|
40
|
+
record: savedRecord,
|
|
41
|
+
recordSource: savedRecordSource,
|
|
42
|
+
})
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return of(...actions)
|
|
47
|
+
}),
|
|
43
48
|
catchError((error) =>
|
|
44
49
|
of(
|
|
45
50
|
EditorActions.saveRecordFailure({
|
|
@@ -78,14 +83,20 @@ export class EditorEffects {
|
|
|
78
83
|
|
|
79
84
|
markAsChanged$ = createEffect(() =>
|
|
80
85
|
this.actions$.pipe(
|
|
81
|
-
ofType(
|
|
86
|
+
ofType(
|
|
87
|
+
EditorActions.updateRecordField,
|
|
88
|
+
EditorActions.updateRecordLanguages
|
|
89
|
+
),
|
|
82
90
|
map(() => EditorActions.markRecordAsChanged())
|
|
83
91
|
)
|
|
84
92
|
)
|
|
85
93
|
|
|
86
94
|
saveRecordDraft$ = createEffect(() =>
|
|
87
95
|
this.actions$.pipe(
|
|
88
|
-
ofType(
|
|
96
|
+
ofType(
|
|
97
|
+
EditorActions.updateRecordField,
|
|
98
|
+
EditorActions.updateRecordLanguages
|
|
99
|
+
),
|
|
89
100
|
debounceTime(1000),
|
|
90
101
|
withLatestFrom(
|
|
91
102
|
this.store.select(selectRecord),
|
|
@@ -2,7 +2,10 @@ import { inject, Injectable } from '@angular/core'
|
|
|
2
2
|
import { select, Store } from '@ngrx/store'
|
|
3
3
|
import * as EditorActions from './editor.actions'
|
|
4
4
|
import * as EditorSelectors from './editor.selectors'
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
CatalogRecord,
|
|
7
|
+
LanguageCode,
|
|
8
|
+
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
6
9
|
import { filter } from 'rxjs'
|
|
7
10
|
import { Actions, ofType } from '@ngrx/effects'
|
|
8
11
|
import { EditorFieldIdentification } from '../models'
|
|
@@ -57,6 +60,15 @@ export class EditorFacade {
|
|
|
57
60
|
this.store.dispatch(EditorActions.updateRecordField({ field, value }))
|
|
58
61
|
}
|
|
59
62
|
|
|
63
|
+
updateRecordLanguages(
|
|
64
|
+
defaultLanguage: LanguageCode,
|
|
65
|
+
otherLanguages: LanguageCode[]
|
|
66
|
+
) {
|
|
67
|
+
this.store.dispatch(
|
|
68
|
+
EditorActions.updateRecordLanguages({ defaultLanguage, otherLanguages })
|
|
69
|
+
)
|
|
70
|
+
}
|
|
71
|
+
|
|
60
72
|
setCurrentPage(page: number) {
|
|
61
73
|
this.store.dispatch(EditorActions.setCurrentPage({ page }))
|
|
62
74
|
}
|
|
@@ -4,6 +4,7 @@ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/mode
|
|
|
4
4
|
import { SaveRecordError } from './editor.models'
|
|
5
5
|
import { EditorConfig } from '../models'
|
|
6
6
|
import { DEFAULT_CONFIGURATION } from '../fields.config'
|
|
7
|
+
import { updateLanguages } from '../../../../../../libs/util/shared/src'
|
|
7
8
|
|
|
8
9
|
export const EDITOR_FEATURE_KEY = 'editor'
|
|
9
10
|
|
|
@@ -116,7 +117,14 @@ const reducer = createReducer(
|
|
|
116
117
|
on(EditorActions.canEditRecord, (state, { canEditRecord }) => ({
|
|
117
118
|
...state,
|
|
118
119
|
canEditRecord: canEditRecord,
|
|
119
|
-
}))
|
|
120
|
+
})),
|
|
121
|
+
on(
|
|
122
|
+
EditorActions.updateRecordLanguages,
|
|
123
|
+
(state, { defaultLanguage, otherLanguages }) => ({
|
|
124
|
+
...state,
|
|
125
|
+
record: updateLanguages(state.record, defaultLanguage, otherLanguages),
|
|
126
|
+
})
|
|
127
|
+
)
|
|
120
128
|
)
|
|
121
129
|
|
|
122
130
|
export function editorReducer(state: EditorState | undefined, action: Action) {
|