geonetwork-ui 2.4.0-alpha.2.dbfa93cf3 → 2.4.0-alpha.2.ddc8a5a9f
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 +1 -7
- package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/license.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +38 -0
- package/esm2022/libs/api/metadata-converter/src/lib/common/url.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/convert-utils.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +4 -2
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/function-utils.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +4 -4
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +20 -11
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.mjs +1 -1
- 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/iso19115-3.converter.mjs +5 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +16 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +7 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +62 -63
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +33 -4
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +7 -3
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +1 -1
- package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +12 -9
- package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +7 -7
- package/esm2022/libs/api/repository/src/lib/gn4/favorites/favorites.service.mjs +4 -4
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +4 -4
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +4 -4
- package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +4 -4
- package/esm2022/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +19 -19
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/data-access/gn4/src/openapi/api/atom.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/customstyle.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/formatters.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/groups.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/harvesters.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/identifiers.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/languages.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/links.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/logos.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/mapservers.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/mapservices.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/me.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/operations.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/pages.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/processes.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/regions.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/registries.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/related.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/search.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/selections.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/site.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/sources.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/standards.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/status.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/tags.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/tools.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/ui.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/userfeedback.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/users.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/usersearches.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api/userselections.api.service.mjs +6 -6
- package/esm2022/libs/data-access/gn4/src/openapi/api.module.mjs +7 -7
- package/esm2022/libs/data-access/gn4/src/openapi/configuration.mjs +1 -1
- package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +4 -4
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +4 -4
- package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -4
- package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
- package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -4
- package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +4 -4
- package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +5 -5
- package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +4 -4
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +5 -5
- package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +5 -5
- package/esm2022/libs/feature/dataviz/src/lib/figure/figure.service.mjs +4 -4
- package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +5 -5
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +18 -7
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +3 -3
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.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 +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -7
- package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +4 -4
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +4 -4
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +6 -6
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +4 -4
- package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +6 -6
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
- package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/style/map-style.service.mjs +4 -4
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +4 -4
- package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +4 -4
- package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +4 -4
- package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +3 -3
- package/esm2022/libs/feature/record/src/index.mjs +3 -1
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +5 -5
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -6
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +6 -6
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -6
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -6
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +11 -7
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +169 -0
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +45 -0
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +21 -8
- package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +5 -5
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +5 -5
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +14 -6
- package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +6 -6
- package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +5 -5
- package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +5 -5
- package/esm2022/libs/feature/router/src/lib/default/services/router-search.service.mjs +4 -4
- package/esm2022/libs/feature/router/src/lib/default/state/query-params.utils.mjs +1 -1
- package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +6 -6
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/facets/facets.service.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +5 -5
- 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 +5 -5
- package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +6 -6
- package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/state/actions.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +6 -6
- package/esm2022/libs/feature/search/src/lib/state/effects.mjs +6 -6
- package/esm2022/libs/feature/search/src/lib/state/reducer.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +5 -5
- package/esm2022/libs/feature/search/src/lib/utils/operators/search.operator.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
- package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +3 -3
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +6 -6
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -4
- package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +3 -3
- package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +3 -3
- package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +6 -6
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
- package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +6 -6
- package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +7 -6
- package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/content-ghost/content-ghost.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +31 -9
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +7 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +7 -7
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.mjs +6 -6
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +7 -7
- package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +7 -7
- package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +4 -4
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +7 -7
- package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +4 -4
- package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +6 -6
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -4
- package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +3 -3
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +7 -7
- package/esm2022/libs/ui/map/src/lib/components/map-legend/map-legend.component.mjs +4 -4
- package/esm2022/libs/ui/map/src/lib/map-utils.mjs +1 -1
- package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +7 -7
- package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +6 -6
- package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +4 -4
- package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +5 -5
- package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +4 -4
- package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +9 -8
- package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +3 -3
- 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-list/results-layout.config.mjs +1 -1
- package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +5 -5
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +5 -5
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +6 -6
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +4 -4
- package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
- package/esm2022/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.mjs +5 -5
- package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +5 -5
- package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +6 -6
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +3 -3
- package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +5 -5
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +4 -4
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
- package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +1 -1
- package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
- package/esm2022/libs/util/app-config/src/lib/parse-utils.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/headers.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/model.mjs +3 -3
- package/esm2022/libs/util/data-fetcher/src/lib/readers/base-file.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/csv.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/excel.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/geojson.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/gml.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/readers/json.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/sql-utils.mjs +1 -1
- package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +13 -11
- package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
- package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +4 -4
- package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +6 -6
- package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +5 -5
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +6 -4
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/services/log.service.mjs +3 -3
- package/esm2022/libs/util/shared/src/lib/services/proxy.service.mjs +12 -9
- package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +4 -4
- package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +4 -4
- package/esm2022/libs/util/shared/src/lib/utils/format-fields.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/geojson.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/parse.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/temporal-extent-union.mjs +1 -1
- package/esm2022/libs/util/shared/src/lib/utils/url.mjs +1 -1
- package/esm2022/translations/de.json +6 -4
- package/esm2022/translations/en.json +87 -66
- package/esm2022/translations/es.json +6 -4
- package/esm2022/translations/fr.json +82 -61
- package/esm2022/translations/it.json +6 -4
- package/esm2022/translations/nl.json +6 -4
- package/esm2022/translations/pt.json +6 -4
- package/fesm2022/geonetwork-ui.mjs +1791 -1384
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +5 -0
- package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -0
- package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/function-utils.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +4 -4
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
- 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/elasticsearch.model.d.ts +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +11 -10
- 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/iso19115-3.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -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 +1 -0
- 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 +1 -0
- package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +3 -1
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -2
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +2 -2
- package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts +4 -2
- package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -1
- package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +15 -5
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/groupPrivilege.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/jsonNode.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/link.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/metadataResourceExternalManagementProperties.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/metadataStatusParameter.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/operation.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/pageProperties.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/publicationOption.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/setting.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/status.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/statusValue.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/userGroup.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/userGroupId.api.model.d.ts.map +1 -1
- package/libs/data-access/gn4/src/openapi/model/userSecurity.api.model.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +3 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +12 -12
- 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 +11 -11
- 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 -2
- package/libs/feature/editor/src/lib/+state/editor.facade.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-resources/form-field-online-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +6 -6
- 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/fields.config.d.ts +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/map/src/lib/+state/map.actions.d.ts +3 -3
- package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
- package/libs/feature/record/src/index.d.ts +2 -0
- package/libs/feature/record/src/index.d.ts.map +1 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -1
- 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 +74 -0
- package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -0
- package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts +19 -0
- package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -0
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -1
- 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 +13 -13
- 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 +9 -9
- 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.map +1 -1
- package/libs/feature/router/src/lib/default/constants.d.ts +1 -1
- package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/router.actions.d.ts +3 -3
- package/libs/feature/router/src/lib/default/state/router.actions.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/router.effects.d.ts +5 -5
- package/libs/feature/router/src/lib/default/state/router.effects.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/router.selectors.d.ts +1 -1
- package/libs/feature/router/src/lib/default/state/router.selectors.d.ts.map +1 -1
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.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/state/actions.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/operators/search.operator.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.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/download-item/download-item.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +9 -8
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +2 -1
- package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +1 -0
- package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/model.d.ts +2 -2
- package/libs/util/data-fetcher/src/lib/model.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/csv.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/excel.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/geojson.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/readers/json.d.ts.map +1 -1
- package/libs/util/data-fetcher/src/lib/utils.d.ts +1 -1
- package/libs/util/data-fetcher/src/lib/utils.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/services/proxy.service.d.ts +4 -2
- package/libs/util/shared/src/lib/services/proxy.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts +4 -1
- package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts.map +1 -1
- package/package.json +50 -43
- 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 +50 -0
- package/src/libs/api/metadata-converter/src/lib/convert-utils.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +2 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +3 -3
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+ongules.ts +246 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+roilaye.ts +101 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +187 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +9 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/georhena.records.ts +216 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +6 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.reuse.ts +451 -0
- package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +289 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +16 -11
- package/src/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +11 -10
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -0
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +24 -10
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +8 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +61 -56
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +65 -10
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +9 -3
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -1
- package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +11 -3
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +1 -1
- package/src/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +20 -4
- package/src/libs/common/fixtures/src/lib/elasticsearch/full-response.fixtures.ts +1 -0
- package/src/libs/common/fixtures/src/lib/elasticsearch/search-responses.fixtures.ts +12931 -0
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +37 -28
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +28 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +4 -4
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +2 -2
- package/src/libs/feature/record/src/index.ts +2 -0
- package/src/libs/feature/record/src/lib/feature-record.module.ts +2 -0
- package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.css +22 -0
- package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.html +132 -0
- package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +253 -0
- package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.css +0 -0
- package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.html +37 -0
- package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +43 -0
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +16 -3
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +10 -1
- package/src/libs/feature/search/src/lib/facets/facets.service.ts +4 -4
- package/src/libs/feature/search/src/lib/state/actions.ts +69 -17
- package/src/libs/feature/search/src/lib/state/effects.ts +1 -1
- package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +1 -1
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +5 -4
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +14 -3
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +2 -1
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +2 -2
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +1 -1
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +1 -1
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +46 -10
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.html +4 -1
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +1 -0
- package/src/libs/ui/elements/src/lib/metadata-info/linkify.directive.ts +4 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +6 -6
- package/src/libs/ui/elements/src/lib/notification/notification.component.html +1 -1
- package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +2 -2
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +4 -1
- package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +4 -1
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +4 -1
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +4 -4
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.css +4 -2
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +8 -2
- package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +1 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +4 -1
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +2 -2
- package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.html +1 -1
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +2 -2
- package/src/libs/util/app-config/src/lib/app-config.ts +3 -1
- package/src/libs/util/app-config/src/lib/model.ts +1 -0
- package/src/libs/util/data-fetcher/src/lib/model.ts +6 -6
- package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +1 -1
- package/src/libs/util/data-fetcher/src/lib/utils.ts +13 -11
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +2 -0
- package/src/libs/util/shared/src/lib/links/link-utils.ts +1 -1
- package/src/libs/util/shared/src/lib/services/proxy.service.ts +7 -3
- package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -1
- package/translations/de.json +6 -4
- package/translations/en.json +87 -66
- package/translations/es.json +6 -4
- package/translations/fr.json +82 -61
- package/translations/it.json +6 -4
- package/translations/nl.json +6 -4
- package/translations/pt.json +6 -4
- package/translations/sk.json +6 -4
|
@@ -3,7 +3,9 @@ import {
|
|
|
3
3
|
CatalogRecordKeys,
|
|
4
4
|
DatasetRecord,
|
|
5
5
|
ModelTranslations,
|
|
6
|
+
RecordKind,
|
|
6
7
|
RecordTranslations,
|
|
8
|
+
ReuseRecord,
|
|
7
9
|
ServiceRecord,
|
|
8
10
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
9
11
|
import { XmlElement } from '@rgrove/parse-xml'
|
|
@@ -37,6 +39,7 @@ import {
|
|
|
37
39
|
readResourceIdentifier,
|
|
38
40
|
readResourcePublished,
|
|
39
41
|
readResourceUpdated,
|
|
42
|
+
readReuseType,
|
|
40
43
|
readSecurityConstraints,
|
|
41
44
|
readSpatialExtents,
|
|
42
45
|
readSpatialRepresentation,
|
|
@@ -65,6 +68,7 @@ import {
|
|
|
65
68
|
writeResourceIdentifier,
|
|
66
69
|
writeResourcePublished,
|
|
67
70
|
writeResourceUpdated,
|
|
71
|
+
writeReuseType,
|
|
68
72
|
writeSecurityConstraints,
|
|
69
73
|
writeSpatialExtents,
|
|
70
74
|
writeSpatialRepresentation,
|
|
@@ -91,6 +95,7 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
91
95
|
resourceUpdated: readResourceUpdated,
|
|
92
96
|
resourceCreated: readResourceCreated,
|
|
93
97
|
resourcePublished: readResourcePublished,
|
|
98
|
+
reuseType: readReuseType,
|
|
94
99
|
title: readTitle,
|
|
95
100
|
abstract: readAbstract,
|
|
96
101
|
contacts: readContacts,
|
|
@@ -131,6 +136,7 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
131
136
|
resourceUpdated: writeResourceUpdated,
|
|
132
137
|
resourceCreated: writeResourceCreated,
|
|
133
138
|
resourcePublished: writeResourcePublished,
|
|
139
|
+
reuseType: writeReuseType,
|
|
134
140
|
title: writeTitle,
|
|
135
141
|
abstract: writeAbstract,
|
|
136
142
|
contacts: writeContacts,
|
|
@@ -207,11 +213,7 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
207
213
|
return record
|
|
208
214
|
}
|
|
209
215
|
|
|
210
|
-
|
|
211
|
-
const doc = parseXmlString(document)
|
|
212
|
-
const rootEl = getRootElement(doc)
|
|
213
|
-
|
|
214
|
-
const tr: RecordTranslations = {}
|
|
216
|
+
readBaseRecord(rootEl: XmlElement, tr: RecordTranslations): CatalogRecord {
|
|
215
217
|
const uniqueIdentifier = this.readers['uniqueIdentifier'](rootEl, tr)
|
|
216
218
|
const kind = this.readers['kind'](rootEl, tr)
|
|
217
219
|
const ownerOrganization = this.readers['ownerOrganization'](rootEl, tr)
|
|
@@ -237,6 +239,45 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
237
239
|
const otherLanguages = this.readers['otherLanguages'](rootEl, tr)
|
|
238
240
|
const defaultLanguage = this.readers['defaultLanguage'](rootEl, tr)
|
|
239
241
|
const resourceIdentifier = this.readers['resourceIdentifier'](rootEl, tr)
|
|
242
|
+
const spatialExtents = this.readers['spatialExtents'](rootEl, tr)
|
|
243
|
+
|
|
244
|
+
return {
|
|
245
|
+
uniqueIdentifier,
|
|
246
|
+
...(resourceIdentifier && { resourceIdentifier }),
|
|
247
|
+
kind,
|
|
248
|
+
otherLanguages,
|
|
249
|
+
defaultLanguage,
|
|
250
|
+
...(recordCreated && { recordCreated }),
|
|
251
|
+
...(recordPublished && { recordPublished }),
|
|
252
|
+
recordUpdated,
|
|
253
|
+
...(resourceCreated && { resourceCreated }),
|
|
254
|
+
...(resourceUpdated && { resourceUpdated }),
|
|
255
|
+
...(resourcePublished && { resourcePublished }),
|
|
256
|
+
title,
|
|
257
|
+
abstract,
|
|
258
|
+
ownerOrganization,
|
|
259
|
+
contacts,
|
|
260
|
+
contactsForResource,
|
|
261
|
+
keywords,
|
|
262
|
+
topics,
|
|
263
|
+
licenses,
|
|
264
|
+
legalConstraints,
|
|
265
|
+
securityConstraints,
|
|
266
|
+
otherConstraints,
|
|
267
|
+
overviews,
|
|
268
|
+
spatialExtents,
|
|
269
|
+
onlineResources,
|
|
270
|
+
translations: tr,
|
|
271
|
+
...(landingPage && { landingPage }),
|
|
272
|
+
} as CatalogRecord
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
async readRecord(document: string): Promise<CatalogRecord> {
|
|
276
|
+
const doc = parseXmlString(document)
|
|
277
|
+
const rootEl = getRootElement(doc)
|
|
278
|
+
|
|
279
|
+
const tr: RecordTranslations = {}
|
|
280
|
+
const kind = this.readers['kind'](rootEl, tr) as RecordKind
|
|
240
281
|
|
|
241
282
|
if (kind === 'dataset') {
|
|
242
283
|
const status = this.readers['status'](rootEl, tr)
|
|
@@ -244,73 +285,36 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
244
285
|
rootEl,
|
|
245
286
|
tr
|
|
246
287
|
)
|
|
247
|
-
const spatialExtents = this.readers['spatialExtents'](rootEl, tr)
|
|
248
288
|
const temporalExtents = this.readers['temporalExtents'](rootEl, tr)
|
|
249
289
|
const lineage = this.readers['lineage'](rootEl, tr)
|
|
250
290
|
const updateFrequency = this.readers['updateFrequency'](rootEl, tr)
|
|
251
291
|
|
|
252
292
|
return this.afterRecordRead({
|
|
253
|
-
|
|
254
|
-
...(resourceIdentifier && { resourceIdentifier }),
|
|
293
|
+
...this.readBaseRecord(rootEl, tr),
|
|
255
294
|
kind,
|
|
256
|
-
otherLanguages,
|
|
257
|
-
defaultLanguage,
|
|
258
|
-
...(recordCreated && { recordCreated }),
|
|
259
|
-
...(recordPublished && { recordPublished }),
|
|
260
|
-
recordUpdated,
|
|
261
|
-
...(resourceCreated && { resourceCreated }),
|
|
262
|
-
...(resourceUpdated && { resourceUpdated }),
|
|
263
|
-
...(resourcePublished && { resourcePublished }),
|
|
264
295
|
status,
|
|
265
|
-
title,
|
|
266
|
-
abstract,
|
|
267
|
-
ownerOrganization,
|
|
268
|
-
contacts,
|
|
269
|
-
contactsForResource,
|
|
270
|
-
keywords,
|
|
271
|
-
topics,
|
|
272
|
-
licenses,
|
|
273
|
-
legalConstraints,
|
|
274
|
-
securityConstraints,
|
|
275
|
-
otherConstraints,
|
|
276
296
|
lineage,
|
|
277
297
|
...(spatialRepresentation && { spatialRepresentation }),
|
|
278
|
-
overviews,
|
|
279
|
-
spatialExtents,
|
|
280
298
|
temporalExtents,
|
|
281
|
-
onlineResources,
|
|
282
299
|
updateFrequency,
|
|
283
300
|
translations: tr,
|
|
284
|
-
...(landingPage && { landingPage }),
|
|
285
301
|
} as DatasetRecord)
|
|
302
|
+
} else if (kind === 'reuse') {
|
|
303
|
+
const lineage = this.readers['lineage'](rootEl, tr)
|
|
304
|
+
const temporalExtents = this.readers['temporalExtents'](rootEl, tr)
|
|
305
|
+
const reuseType = this.readers['reuseType'](rootEl, tr)
|
|
306
|
+
|
|
307
|
+
return this.afterRecordRead({
|
|
308
|
+
...this.readBaseRecord(rootEl, tr),
|
|
309
|
+
kind,
|
|
310
|
+
lineage,
|
|
311
|
+
temporalExtents,
|
|
312
|
+
reuseType,
|
|
313
|
+
} as ReuseRecord)
|
|
286
314
|
} else {
|
|
287
315
|
return this.afterRecordRead({
|
|
288
|
-
|
|
289
|
-
...(resourceIdentifier && { resourceIdentifier }),
|
|
316
|
+
...this.readBaseRecord(rootEl, tr),
|
|
290
317
|
kind,
|
|
291
|
-
otherLanguages,
|
|
292
|
-
defaultLanguage,
|
|
293
|
-
...(recordCreated && { recordCreated }),
|
|
294
|
-
...(recordPublished && { recordPublished }),
|
|
295
|
-
recordUpdated,
|
|
296
|
-
...(resourceCreated && { resourceCreated }),
|
|
297
|
-
...(resourceUpdated && { resourceUpdated }),
|
|
298
|
-
...(resourcePublished && { resourcePublished }),
|
|
299
|
-
title,
|
|
300
|
-
abstract,
|
|
301
|
-
ownerOrganization,
|
|
302
|
-
contacts,
|
|
303
|
-
contactsForResource,
|
|
304
|
-
keywords,
|
|
305
|
-
topics,
|
|
306
|
-
licenses,
|
|
307
|
-
legalConstraints,
|
|
308
|
-
securityConstraints,
|
|
309
|
-
otherConstraints,
|
|
310
|
-
overviews,
|
|
311
|
-
onlineResources,
|
|
312
|
-
translations: tr,
|
|
313
|
-
...(landingPage && { landingPage }),
|
|
314
318
|
} as ServiceRecord)
|
|
315
319
|
}
|
|
316
320
|
}
|
|
@@ -338,6 +342,7 @@ export class Iso19139Converter extends BaseConverter<string> {
|
|
|
338
342
|
|
|
339
343
|
fieldChanged('uniqueIdentifier') &&
|
|
340
344
|
this.writers['uniqueIdentifier'](record, rootEl)
|
|
345
|
+
fieldChanged('reuseType') && this.writers['reuseType'](record, rootEl)
|
|
341
346
|
fieldChanged('kind') && this.writers['kind'](record, rootEl)
|
|
342
347
|
fieldChanged('defaultLanguage') &&
|
|
343
348
|
this.writers['defaultLanguage'](record, rootEl)
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
KeywordTranslations,
|
|
10
10
|
LanguageCode,
|
|
11
11
|
ModelTranslations,
|
|
12
|
+
OnlineLinkResource,
|
|
12
13
|
OnlineResource,
|
|
13
14
|
OnlineResourceTranslations,
|
|
14
15
|
Organization,
|
|
@@ -16,6 +17,7 @@ import {
|
|
|
16
17
|
RecordKind,
|
|
17
18
|
RecordStatus,
|
|
18
19
|
RecordTranslations,
|
|
20
|
+
ReuseType,
|
|
19
21
|
Role,
|
|
20
22
|
ServiceOnlineResource,
|
|
21
23
|
SpatialRepresentationType,
|
|
@@ -54,6 +56,7 @@ import { getRoleFromRoleCode } from './utils/role.mapper'
|
|
|
54
56
|
import { getStatusFromStatusCode } from './utils/status.mapper'
|
|
55
57
|
import { getUpdateFrequencyFromFrequencyCode } from './utils/update-frequency.mapper'
|
|
56
58
|
import { LANG_3_TO_2_MAPPER } from '../../../../../../libs/util/i18n/src/lib/language-codes'
|
|
59
|
+
import { getResourceType, getReuseType } from '../common/resource-types'
|
|
57
60
|
|
|
58
61
|
export function extractCharacterString(): ChainableFunction<
|
|
59
62
|
XmlElement,
|
|
@@ -650,10 +653,7 @@ export function readKind(rootEl: XmlElement): RecordKind {
|
|
|
650
653
|
return pipe(
|
|
651
654
|
findNestedElement('gmd:hierarchyLevel', 'gmd:MD_ScopeCode'),
|
|
652
655
|
readAttribute('codeListValue'),
|
|
653
|
-
map(
|
|
654
|
-
(scopeCode): RecordKind =>
|
|
655
|
-
scopeCode === 'service' ? 'service' : 'dataset'
|
|
656
|
-
)
|
|
656
|
+
map((scopeCode): RecordKind => getResourceType(scopeCode))
|
|
657
657
|
)(rootEl)
|
|
658
658
|
}
|
|
659
659
|
|
|
@@ -680,6 +680,14 @@ export function readRecordUpdated(rootEl: XmlElement): Date {
|
|
|
680
680
|
return pipe(findChildElement('gmd:dateStamp'), extractDateTime())(rootEl)
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
+
export function readReuseType(rootEl: XmlElement): ReuseType {
|
|
684
|
+
return pipe(
|
|
685
|
+
findNestedElement('gmd:hierarchyLevel', 'gmd:MD_ScopeCode'),
|
|
686
|
+
readAttribute('codeListValue'),
|
|
687
|
+
map((scopeCode): ReuseType => getReuseType(scopeCode))
|
|
688
|
+
)(rootEl)
|
|
689
|
+
}
|
|
690
|
+
|
|
683
691
|
export function readTitle(
|
|
684
692
|
rootEl: XmlElement,
|
|
685
693
|
translations: RecordTranslations
|
|
@@ -969,17 +977,64 @@ export function extractServiceOnlineResources(): ChainableFunction<
|
|
|
969
977
|
)
|
|
970
978
|
}
|
|
971
979
|
|
|
980
|
+
export function extractReuseOnlineResources(): ChainableFunction<
|
|
981
|
+
XmlElement,
|
|
982
|
+
OnlineLinkResource[]
|
|
983
|
+
> {
|
|
984
|
+
const getUrl = pipe(findChildElement('gmd:linkage'), extractMandatoryUrl())
|
|
985
|
+
const getName = pipe(
|
|
986
|
+
findChildElement('gmd:name'),
|
|
987
|
+
extractLocalizedCharacterString<OnlineResourceTranslations>('name')
|
|
988
|
+
)
|
|
989
|
+
const getDescription = pipe(
|
|
990
|
+
findChildElement('gmd:description'),
|
|
991
|
+
extractLocalizedCharacterString<OnlineResourceTranslations>(
|
|
992
|
+
'description',
|
|
993
|
+
{}
|
|
994
|
+
)
|
|
995
|
+
)
|
|
996
|
+
return pipe(
|
|
997
|
+
findNestedElements(
|
|
998
|
+
'gmd:transferOptions',
|
|
999
|
+
'gmd:MD_DigitalTransferOptions',
|
|
1000
|
+
'gmd:onLine',
|
|
1001
|
+
'gmd:CI_OnlineResource'
|
|
1002
|
+
),
|
|
1003
|
+
mapArray(combine(getUrl, getName, getDescription)),
|
|
1004
|
+
mapArray(
|
|
1005
|
+
([
|
|
1006
|
+
url,
|
|
1007
|
+
[name, nameTranslations],
|
|
1008
|
+
[description, descriptionTranslations],
|
|
1009
|
+
]) => {
|
|
1010
|
+
const translations = {
|
|
1011
|
+
...nameTranslations,
|
|
1012
|
+
...descriptionTranslations,
|
|
1013
|
+
}
|
|
1014
|
+
return {
|
|
1015
|
+
type: 'link',
|
|
1016
|
+
url: url,
|
|
1017
|
+
...(name && { name }),
|
|
1018
|
+
...(description && { description }),
|
|
1019
|
+
translations,
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
)
|
|
1023
|
+
)
|
|
1024
|
+
}
|
|
1025
|
+
|
|
972
1026
|
export function readOnlineResources(rootEl: XmlElement): OnlineResource[] {
|
|
1027
|
+
let getOnlineResources: ChainableFunction<XmlElement, OnlineResource[]>
|
|
973
1028
|
if (readKind(rootEl) === 'dataset') {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
1029
|
+
getOnlineResources = (el) => extractDatasetOnlineResources(getMimeType)(el)
|
|
1030
|
+
} else if (readKind(rootEl) === 'service') {
|
|
1031
|
+
getOnlineResources = extractServiceOnlineResources()
|
|
1032
|
+
} else {
|
|
1033
|
+
getOnlineResources = extractReuseOnlineResources()
|
|
979
1034
|
}
|
|
980
1035
|
return pipe(
|
|
981
1036
|
findNestedElements('gmd:distributionInfo', 'gmd:MD_Distribution'),
|
|
982
|
-
mapArray(
|
|
1037
|
+
mapArray(getOnlineResources),
|
|
983
1038
|
flattenArray()
|
|
984
1039
|
)(rootEl)
|
|
985
1040
|
}
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
LanguageCode,
|
|
11
11
|
RecordStatus,
|
|
12
12
|
RecordTranslations,
|
|
13
|
+
ReuseRecord,
|
|
13
14
|
Role,
|
|
14
15
|
ServiceEndpoint,
|
|
15
16
|
ServiceOnlineResource,
|
|
@@ -18,7 +19,7 @@ import {
|
|
|
18
19
|
UpdateFrequencyCustom,
|
|
19
20
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
20
21
|
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
21
|
-
import format from 'date-fns/format'
|
|
22
|
+
import { format } from 'date-fns/format'
|
|
22
23
|
import { Geometry } from 'geojson'
|
|
23
24
|
import {
|
|
24
25
|
ChainableFunction,
|
|
@@ -53,6 +54,7 @@ import { readKind } from './read-parts'
|
|
|
53
54
|
import { writeGeometry } from './utils/geometry'
|
|
54
55
|
import { namePartsToFull } from './utils/individual-name'
|
|
55
56
|
import { LANG_2_TO_3_MAPPER } from '../../../../../../libs/util/i18n/src/lib/language-codes'
|
|
57
|
+
import { kindToCodeListValue } from '../common/resource-types'
|
|
56
58
|
|
|
57
59
|
function writeLocalizedElement(
|
|
58
60
|
writeFn: ChainableFunction<XmlElement, XmlElement>,
|
|
@@ -840,7 +842,7 @@ export function writeKind(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
840
842
|
'codeList',
|
|
841
843
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode'
|
|
842
844
|
),
|
|
843
|
-
writeAttribute('codeListValue', record
|
|
845
|
+
writeAttribute('codeListValue', kindToCodeListValue(record))
|
|
844
846
|
)(rootEl)
|
|
845
847
|
}
|
|
846
848
|
|
|
@@ -1124,6 +1126,10 @@ export function writeResourcePublished(
|
|
|
1124
1126
|
appendResourceDate(record.resourcePublished, 'publication')(rootEl)
|
|
1125
1127
|
}
|
|
1126
1128
|
|
|
1129
|
+
export function writeReuseType(record: CatalogRecord, rootEl: XmlElement) {
|
|
1130
|
+
writeKind(record, rootEl)
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1127
1133
|
export function writeSpatialRepresentation(
|
|
1128
1134
|
record: DatasetRecord,
|
|
1129
1135
|
rootEl: XmlElement
|
|
@@ -1285,7 +1291,7 @@ export function appendDatasetOnlineResources(
|
|
|
1285
1291
|
}
|
|
1286
1292
|
|
|
1287
1293
|
export function appendServiceOnlineResources(
|
|
1288
|
-
record: ServiceRecord,
|
|
1294
|
+
record: ServiceRecord | ReuseRecord,
|
|
1289
1295
|
rootEl: XmlElement
|
|
1290
1296
|
) {
|
|
1291
1297
|
appendChildren(...record.onlineResources.map(createOnlineResource))(rootEl)
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseXml,
|
|
3
|
+
XmlCdata,
|
|
3
4
|
XmlComment,
|
|
5
|
+
XmlDeclaration,
|
|
4
6
|
XmlDocument,
|
|
7
|
+
XmlDocumentType,
|
|
5
8
|
XmlElement,
|
|
9
|
+
XmlProcessingInstruction,
|
|
6
10
|
XmlText,
|
|
7
11
|
} from '@rgrove/parse-xml'
|
|
8
12
|
import { ChainableFunction, fallback } from './function-utils'
|
|
@@ -196,7 +200,15 @@ export function readAttribute(
|
|
|
196
200
|
}
|
|
197
201
|
|
|
198
202
|
export function xmlToString(
|
|
199
|
-
el:
|
|
203
|
+
el:
|
|
204
|
+
| XmlDocument
|
|
205
|
+
| XmlElement
|
|
206
|
+
| XmlComment
|
|
207
|
+
| XmlProcessingInstruction
|
|
208
|
+
| XmlDeclaration
|
|
209
|
+
| XmlDocumentType
|
|
210
|
+
| XmlCdata
|
|
211
|
+
| XmlText,
|
|
200
212
|
indentationLevel = 0
|
|
201
213
|
) {
|
|
202
214
|
const encodeEntities = (text: string) => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Inject, Injectable, InjectionToken, Optional } from '@angular/core'
|
|
2
2
|
import { LANG_2_TO_3_MAPPER } from '../../../../../../../libs/util/i18n/src'
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core'
|
|
4
|
+
import { Location } from '@angular/common'
|
|
4
5
|
|
|
5
6
|
export const DEFAULT_GN4_LOGIN_URL = `/geonetwork/srv/\${lang3}/catalog.signin?redirect=\${current_url}`
|
|
6
7
|
export const LOGIN_URL = new InjectionToken<string>('loginUrl')
|
|
@@ -21,13 +22,19 @@ export class AuthService {
|
|
|
21
22
|
|
|
22
23
|
get loginUrl() {
|
|
23
24
|
let baseUrl = this.baseLoginUrl
|
|
24
|
-
const locationHasQueryParams = !!
|
|
25
|
+
const locationHasQueryParams = !!new URL(
|
|
26
|
+
this.location.path(),
|
|
27
|
+
window.location.href
|
|
28
|
+
).search
|
|
25
29
|
// this is specific to georchestra login URL based on a ?login query param
|
|
26
30
|
if (baseUrl.startsWith('${current_url}?') && locationHasQueryParams) {
|
|
27
31
|
baseUrl = baseUrl.replace('?', '&')
|
|
28
32
|
}
|
|
29
33
|
return baseUrl
|
|
30
|
-
.replace(
|
|
34
|
+
.replace(
|
|
35
|
+
'${current_url}',
|
|
36
|
+
new URL(this.location.path(), window.location.href).toString()
|
|
37
|
+
)
|
|
31
38
|
.replace('${lang2}', this.translateService.currentLang)
|
|
32
39
|
.replace(
|
|
33
40
|
'${lang3}',
|
|
@@ -50,6 +57,7 @@ export class AuthService {
|
|
|
50
57
|
@Optional() @Inject(LOGIN_URL) private baseLoginUrlToken: string,
|
|
51
58
|
@Optional() @Inject(LOGOUT_URL) private baseLogoutUrlToken: string,
|
|
52
59
|
@Optional() @Inject(SETTINGS_URL) private baseSettingsUrlToken: string,
|
|
53
|
-
private translateService: TranslateService
|
|
60
|
+
private translateService: TranslateService,
|
|
61
|
+
private location: Location
|
|
54
62
|
) {}
|
|
55
63
|
}
|
|
@@ -37,7 +37,7 @@ export class Gn4PlatformMapper {
|
|
|
37
37
|
|
|
38
38
|
return this.avatarService
|
|
39
39
|
.getProfileIcon(hash)
|
|
40
|
-
.pipe(map((profileIcon) => ({ ...user, profileIcon } as UserModel))
|
|
40
|
+
.pipe(map((profileIcon) => ({ ...user, profileIcon }) as UserModel))
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
userFromApi(apiUser: UserApiModel): UserModel {
|
|
@@ -9,7 +9,7 @@ export const CHART_TYPE_VALUES = [
|
|
|
9
9
|
'pie',
|
|
10
10
|
] as const
|
|
11
11
|
|
|
12
|
-
export type InputChartType = typeof CHART_TYPE_VALUES[number]
|
|
12
|
+
export type InputChartType = (typeof CHART_TYPE_VALUES)[number]
|
|
13
13
|
|
|
14
14
|
export interface DatavizConfigurationModel {
|
|
15
15
|
xProperty: string
|
|
@@ -52,7 +52,7 @@ export const RoleLabels = new Map<Role, string>([
|
|
|
52
52
|
['user', marker('domain.contact.role.user')],
|
|
53
53
|
])
|
|
54
54
|
|
|
55
|
-
export type Role = typeof RoleValues[number]
|
|
55
|
+
export type Role = (typeof RoleValues)[number]
|
|
56
56
|
|
|
57
57
|
export interface Individual {
|
|
58
58
|
firstName?: string
|
|
@@ -40,7 +40,7 @@ export type UpdateFrequencyCustom = {
|
|
|
40
40
|
}
|
|
41
41
|
export type UpdateFrequency = UpdateFrequencyCode | UpdateFrequencyCustom
|
|
42
42
|
|
|
43
|
-
export type RecordKind = 'dataset' | 'service'
|
|
43
|
+
export type RecordKind = 'dataset' | 'service' | 'reuse'
|
|
44
44
|
|
|
45
45
|
marker('domain.record.status.completed')
|
|
46
46
|
marker('domain.record.status.ongoing')
|
|
@@ -55,7 +55,7 @@ export const RecordStatusValues = [
|
|
|
55
55
|
'deprecated',
|
|
56
56
|
'removed',
|
|
57
57
|
]
|
|
58
|
-
export type RecordStatus = typeof RecordStatusValues[number]
|
|
58
|
+
export type RecordStatus = (typeof RecordStatusValues)[number]
|
|
59
59
|
|
|
60
60
|
export type Constraint = {
|
|
61
61
|
text: string
|
|
@@ -129,6 +129,7 @@ export type ServiceProtocol =
|
|
|
129
129
|
| 'wmts'
|
|
130
130
|
| 'esriRest'
|
|
131
131
|
| 'ogcFeatures'
|
|
132
|
+
| 'GPFDL'
|
|
132
133
|
| 'other'
|
|
133
134
|
|
|
134
135
|
export type OnlineResourceType = 'service' | 'download' | 'link' | 'endpoint'
|
|
@@ -219,10 +220,25 @@ export type ServiceOnlineResource = (ServiceEndpoint | OnlineLinkResource) & {
|
|
|
219
220
|
export interface ServiceRecord extends BaseRecord {
|
|
220
221
|
kind: 'service'
|
|
221
222
|
onlineResources: Array<ServiceOnlineResource>
|
|
223
|
+
spatialExtents: Array<DatasetSpatialExtent>
|
|
222
224
|
}
|
|
223
225
|
|
|
226
|
+
export interface ReuseRecord extends BaseRecord {
|
|
227
|
+
kind: 'reuse'
|
|
228
|
+
lineage: string // Explanation of the origin of this record (e.g: how, why)"
|
|
229
|
+
onlineResources: Array<OnlineLinkResource>
|
|
230
|
+
reuseType: ReuseType
|
|
231
|
+
spatialExtents: Array<DatasetSpatialExtent>
|
|
232
|
+
temporalExtents: Array<DatasetTemporalExtent>
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export type ReuseType = 'application' | 'map' | 'other'
|
|
236
|
+
|
|
224
237
|
export type OnlineResource = DatasetOnlineResource | ServiceOnlineResource
|
|
225
238
|
|
|
226
|
-
export type CatalogRecord =
|
|
239
|
+
export type CatalogRecord = DatasetRecord | ReuseRecord | ServiceRecord
|
|
227
240
|
|
|
228
|
-
export type CatalogRecordKeys =
|
|
241
|
+
export type CatalogRecordKeys =
|
|
242
|
+
| keyof DatasetRecord
|
|
243
|
+
| keyof ReuseRecord
|
|
244
|
+
| keyof ServiceRecord
|
|
@@ -1502,6 +1502,7 @@ export const elasticFullResponseFixture = () => ({
|
|
|
1502
1502
|
changeDate: '2021-10-05T12:48:57.678Z',
|
|
1503
1503
|
id: '11700',
|
|
1504
1504
|
createDate: '2021-10-05T12:48:57.678Z',
|
|
1505
|
+
publicationDate: '2021-11-05T12:48:57.678Z',
|
|
1505
1506
|
owner: '100',
|
|
1506
1507
|
groupOwner: '2',
|
|
1507
1508
|
logo: '/images/logos/81e8a591-7815-4d2f-a7da-5673192e74c9.png',
|