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
package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts
ADDED
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { ServiceRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
2
|
+
|
|
3
|
+
export const WALLONIE_SERVICE_NAPITSWALLONIA_RECORD: ServiceRecord = {
|
|
4
|
+
uniqueIdentifier: 'fe1c1a3d-c75b-435c-a1d1-48426818f54d',
|
|
5
|
+
resourceIdentifier: 'fe1c1a3d-c75b-435c-a1d1-48426818f54d',
|
|
6
|
+
kind: 'service',
|
|
7
|
+
otherLanguages: [],
|
|
8
|
+
defaultLanguage: 'fr',
|
|
9
|
+
recordCreated: new Date('2023-12-18T12:25:26.465Z'),
|
|
10
|
+
recordUpdated: new Date('2024-10-15T07:37:39.350Z'),
|
|
11
|
+
resourceUpdated: new Date('2023-12-18T00:00:00.000Z'),
|
|
12
|
+
resourcePublished: new Date('2023-12-18T00:00:00.000Z'),
|
|
13
|
+
title: 'Service OGC API Records du catalogue NAP-ITS-Wallonia',
|
|
14
|
+
abstract:
|
|
15
|
+
"Point d'accès OGC API Records du catalogue NAP-ITS-Wallonia contenant la description des données régionales de mobilité telles que demandé par la législation sur les systèmes de transport intelligents.",
|
|
16
|
+
ownerOrganization: {
|
|
17
|
+
name: 'Gestion et valorisation de la donnée (SPW - Secrétariat général - SPW Digital - Département Données transversales - Gestion et valorisation de la donnée)',
|
|
18
|
+
translations: {},
|
|
19
|
+
},
|
|
20
|
+
contacts: [
|
|
21
|
+
{
|
|
22
|
+
email: 'helpdesk.carto@spw.wallonie.be',
|
|
23
|
+
organization: {
|
|
24
|
+
name: 'Gestion et valorisation de la donnée (SPW - Secrétariat général - SPW Digital - Département Données transversales - Gestion et valorisation de la donnée)',
|
|
25
|
+
translations: {},
|
|
26
|
+
},
|
|
27
|
+
role: 'point_of_contact',
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
contactsForResource: [
|
|
31
|
+
{
|
|
32
|
+
email: 'helpdesk.carto@spw.wallonie.be',
|
|
33
|
+
organization: {
|
|
34
|
+
name: 'Helpdesk carto du SPW (SPW - Secrétariat général - SPW Digital - Département Données transversales - Gestion et valorisation de la donnée)',
|
|
35
|
+
translations: {},
|
|
36
|
+
},
|
|
37
|
+
role: 'point_of_contact',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
email: 'helpdesk.carto@spw.wallonie.be',
|
|
41
|
+
organization: {
|
|
42
|
+
name: 'Gestion et valorisation de la donnée (SPW - Secrétariat général - SPW Digital - Département Données transversales - Gestion et valorisation de la donnée)',
|
|
43
|
+
translations: {},
|
|
44
|
+
},
|
|
45
|
+
role: 'custodian',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
email: 'missing@missing.com',
|
|
49
|
+
organization: {
|
|
50
|
+
name: 'Service public de Wallonie (SPW)',
|
|
51
|
+
website: new URL('https://geoportail.wallonie.be/'),
|
|
52
|
+
translations: {},
|
|
53
|
+
},
|
|
54
|
+
role: 'owner',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
email: 'helpdesk.carto@spw.wallonie.be',
|
|
58
|
+
organization: {
|
|
59
|
+
name: 'Service public de Wallonie (SPW)',
|
|
60
|
+
translations: {},
|
|
61
|
+
},
|
|
62
|
+
role: 'distributor',
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
keywords: [
|
|
66
|
+
{
|
|
67
|
+
thesaurus: {
|
|
68
|
+
id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
|
|
69
|
+
name: 'Thèmes du géoportail wallon',
|
|
70
|
+
url: new URL(
|
|
71
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
|
|
72
|
+
),
|
|
73
|
+
},
|
|
74
|
+
label: 'Mobilité (autre)',
|
|
75
|
+
type: 'theme',
|
|
76
|
+
translations: {},
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
thesaurus: {
|
|
80
|
+
id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
|
|
81
|
+
name: 'Thèmes du géoportail wallon',
|
|
82
|
+
url: new URL(
|
|
83
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
|
|
84
|
+
),
|
|
85
|
+
},
|
|
86
|
+
label: 'Données de base (autre)',
|
|
87
|
+
type: 'theme',
|
|
88
|
+
translations: {},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
thesaurus: {
|
|
92
|
+
id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
|
|
93
|
+
name: 'Thèmes du géoportail wallon',
|
|
94
|
+
url: new URL(
|
|
95
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
|
|
96
|
+
),
|
|
97
|
+
},
|
|
98
|
+
label: 'Mobilité',
|
|
99
|
+
type: 'theme',
|
|
100
|
+
translations: {},
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
thesaurus: {
|
|
104
|
+
id: 'geonetwork.thesaurus.external.theme.Themes_geoportail_wallon_hierarchy',
|
|
105
|
+
name: 'Thèmes du géoportail wallon',
|
|
106
|
+
url: new URL(
|
|
107
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.Themes_geoportail_wallon_hierarchy'
|
|
108
|
+
),
|
|
109
|
+
},
|
|
110
|
+
label: 'Données de base',
|
|
111
|
+
type: 'theme',
|
|
112
|
+
translations: {},
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
label: 'métadonnées',
|
|
116
|
+
type: 'other',
|
|
117
|
+
translations: {},
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: 'ISO',
|
|
121
|
+
type: 'other',
|
|
122
|
+
translations: {},
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
label: 'CSW',
|
|
126
|
+
type: 'other',
|
|
127
|
+
translations: {},
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
label: '19115',
|
|
131
|
+
type: 'other',
|
|
132
|
+
translations: {},
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
label: '19139',
|
|
136
|
+
type: 'other',
|
|
137
|
+
translations: {},
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
label: 'description',
|
|
141
|
+
type: 'other',
|
|
142
|
+
translations: {},
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
label: 'MobilityDCAT',
|
|
146
|
+
type: 'other',
|
|
147
|
+
translations: {},
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
label: 'DCAT',
|
|
151
|
+
type: 'other',
|
|
152
|
+
translations: {},
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
label: 'MMTIS',
|
|
156
|
+
type: 'other',
|
|
157
|
+
translations: {},
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
label: 'SRTI',
|
|
161
|
+
type: 'other',
|
|
162
|
+
translations: {},
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
label: 'ITS',
|
|
166
|
+
type: 'other',
|
|
167
|
+
translations: {},
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
label: 'NAP',
|
|
171
|
+
type: 'other',
|
|
172
|
+
translations: {},
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
label: 'transportdata',
|
|
176
|
+
type: 'other',
|
|
177
|
+
translations: {},
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
label: 'RTTI',
|
|
181
|
+
type: 'other',
|
|
182
|
+
translations: {},
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
label: 'SSTP',
|
|
186
|
+
type: 'other',
|
|
187
|
+
translations: {},
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
thesaurus: {
|
|
191
|
+
id: 'geonetwork.thesaurus.external.theme.infraSIG',
|
|
192
|
+
name: 'Mots-clés InfraSIG',
|
|
193
|
+
url: new URL(
|
|
194
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.infraSIG'
|
|
195
|
+
),
|
|
196
|
+
},
|
|
197
|
+
label: 'Reporting INSPIRENO',
|
|
198
|
+
type: 'theme',
|
|
199
|
+
translations: {},
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
thesaurus: {
|
|
203
|
+
id: 'geonetwork.thesaurus.external.theme.httpinspireeceuropaeumetadatacodelistSpatialDataServiceCategory-SpatialDataServiceCategory',
|
|
204
|
+
name: 'Classification of spatial data services',
|
|
205
|
+
url: new URL(
|
|
206
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.httpinspireeceuropaeumetadatacodelistSpatialDataServiceCategory-SpatialDataServiceCategory'
|
|
207
|
+
),
|
|
208
|
+
},
|
|
209
|
+
label: 'Service de catalogue',
|
|
210
|
+
type: 'theme',
|
|
211
|
+
translations: {},
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
thesaurus: {
|
|
215
|
+
id: 'geonetwork.thesaurus.external.theme.httpinspireeceuropaeumetadatacodelistSpatialScope-SpatialScope',
|
|
216
|
+
name: 'Champ géographique',
|
|
217
|
+
url: new URL(
|
|
218
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.httpinspireeceuropaeumetadatacodelistSpatialScope-SpatialScope'
|
|
219
|
+
),
|
|
220
|
+
},
|
|
221
|
+
label: 'Régional',
|
|
222
|
+
type: 'theme',
|
|
223
|
+
translations: {},
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
thesaurus: {
|
|
227
|
+
id: 'geonetwork.thesaurus.external.theme.gemet-theme',
|
|
228
|
+
name: 'GEMET themes',
|
|
229
|
+
url: new URL(
|
|
230
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/registries/vocabularies/external.theme.gemet-theme'
|
|
231
|
+
),
|
|
232
|
+
},
|
|
233
|
+
label: 'transport',
|
|
234
|
+
type: 'theme',
|
|
235
|
+
translations: {},
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
topics: ['transportation'],
|
|
239
|
+
licenses: [],
|
|
240
|
+
legalConstraints: [
|
|
241
|
+
{
|
|
242
|
+
url: new URL(
|
|
243
|
+
'http://inspire.ec.europa.eu/metadata-codelist/LimitationsOnPublicAccess/noLimitations'
|
|
244
|
+
),
|
|
245
|
+
text: 'No limitations to public access',
|
|
246
|
+
translations: {},
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
text: "Aucune contrainte d'utilisation ne s'applique",
|
|
250
|
+
translations: {},
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
securityConstraints: [],
|
|
254
|
+
spatialExtents: [
|
|
255
|
+
{
|
|
256
|
+
bbox: [2.75, 49.45, 6.5, 50.85],
|
|
257
|
+
translations: {},
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
otherConstraints: [
|
|
261
|
+
{
|
|
262
|
+
text: "Aucune condition ne s'applique",
|
|
263
|
+
translations: {},
|
|
264
|
+
},
|
|
265
|
+
],
|
|
266
|
+
overviews: [
|
|
267
|
+
{
|
|
268
|
+
url: new URL(
|
|
269
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/records/fe1c1a3d-c75b-435c-a1d1-48426818f54d/attachments/echangeur.png'
|
|
270
|
+
),
|
|
271
|
+
description: 'echangeur.png',
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
onlineResources: [
|
|
275
|
+
{
|
|
276
|
+
type: 'endpoint',
|
|
277
|
+
endpointUrl: new URL(
|
|
278
|
+
'https://metawal.wallonie.be/geonetwork/api/collections/napits'
|
|
279
|
+
),
|
|
280
|
+
protocol: 'other',
|
|
281
|
+
description: "Point d'accès OGC API Records pour NAP-ITS-Wallonia.",
|
|
282
|
+
translations: {},
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
translations: {},
|
|
286
|
+
landingPage: new URL(
|
|
287
|
+
'https://metawal.wallonie.be/geonetwork/srv/api/records/fe1c1a3d-c75b-435c-a1d1-48426818f54d'
|
|
288
|
+
),
|
|
289
|
+
}
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
import { matchProtocol } from '../common/distribution.mapper'
|
|
28
28
|
import { Thesaurus } from './types'
|
|
29
29
|
import { LANG_3_TO_2_MAPPER, LangService } from '../../../../../../libs/util/i18n/src'
|
|
30
|
+
import { getResourceType, getReuseType } from '../common/resource-types'
|
|
30
31
|
|
|
31
32
|
type ESResponseSource = SourceWithUnknownProps
|
|
32
33
|
|
|
@@ -127,6 +128,12 @@ export class Gn4FieldMapper {
|
|
|
127
128
|
getFirstValue(selectField<string>(source, 'revisionDateForResource'))
|
|
128
129
|
),
|
|
129
130
|
}),
|
|
131
|
+
publicationDateForResource: (output, source) => ({
|
|
132
|
+
...output,
|
|
133
|
+
resourcePublished: toDate(
|
|
134
|
+
selectField<string>(source, 'publicationDateForResource')
|
|
135
|
+
),
|
|
136
|
+
}),
|
|
130
137
|
createDate: (output, source) => ({
|
|
131
138
|
...output,
|
|
132
139
|
recordCreated: toDate(selectField<string>(source, 'createDate')),
|
|
@@ -135,11 +142,9 @@ export class Gn4FieldMapper {
|
|
|
135
142
|
...output,
|
|
136
143
|
recordUpdated: toDate(selectField<string>(source, 'changeDate')),
|
|
137
144
|
}),
|
|
138
|
-
|
|
145
|
+
publicationDate: (output, source) => ({
|
|
139
146
|
...output,
|
|
140
|
-
recordPublished: toDate(
|
|
141
|
-
selectField<string>(source, 'publicationDateForResource')
|
|
142
|
-
),
|
|
147
|
+
recordPublished: toDate(selectField<string>(source, 'publicationDate')),
|
|
143
148
|
}),
|
|
144
149
|
resourceLanguage: (output, source) => {
|
|
145
150
|
const langList = getAsArray(
|
|
@@ -286,15 +291,14 @@ export class Gn4FieldMapper {
|
|
|
286
291
|
},
|
|
287
292
|
output
|
|
288
293
|
),
|
|
289
|
-
|
|
290
|
-
const
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
)
|
|
294
|
-
const kind = hierarchyLevel === 'service' ? 'service' : 'dataset'
|
|
294
|
+
resourceType: (output, source) => {
|
|
295
|
+
const resourceType = getFirstValue(selectField(source, 'resourceType'))
|
|
296
|
+
const kind = getResourceType(resourceType)
|
|
297
|
+
const reuseType = getReuseType(resourceType)
|
|
295
298
|
return {
|
|
296
299
|
...output,
|
|
297
300
|
kind,
|
|
301
|
+
...(reuseType && { reuseType }),
|
|
298
302
|
} as CatalogRecord
|
|
299
303
|
},
|
|
300
304
|
geom: (output, source) => {
|
|
@@ -394,7 +398,8 @@ export class Gn4FieldMapper {
|
|
|
394
398
|
/^OGC:WMS/.test(protocol) ||
|
|
395
399
|
/^OGC:WFS/.test(protocol) ||
|
|
396
400
|
/^OGC:WMTS/.test(protocol) ||
|
|
397
|
-
/ogc\W*api\W*features/i.test(protocol)
|
|
401
|
+
/ogc\W*api\W*features/i.test(protocol) ||
|
|
402
|
+
(/^WWW:DOWNLOAD-/.test(protocol) && /data.geopf.fr/.test(url)) // TO DO : change with the good protocol when decided
|
|
398
403
|
) {
|
|
399
404
|
return 'service'
|
|
400
405
|
}
|
|
@@ -50,5 +50,5 @@ export const ES_RESOURCES_VALUES = [
|
|
|
50
50
|
'featureCatalog',
|
|
51
51
|
] as const
|
|
52
52
|
|
|
53
|
-
export type EsResourceTypeValues = typeof ES_RESOURCES_VALUES[number]
|
|
53
|
+
export type EsResourceTypeValues = (typeof ES_RESOURCES_VALUES)[number]
|
|
54
54
|
export type EsResourceType = EsResourceTypeValues | EsResourceTypeValues[]
|
|
@@ -17,7 +17,8 @@ interface CodeListEntry extends MultilingualField {
|
|
|
17
17
|
type MaybeArray<T> = T | T[]
|
|
18
18
|
|
|
19
19
|
interface Contact {
|
|
20
|
-
organisation
|
|
20
|
+
organisation?: string
|
|
21
|
+
organisationObject?: MultilingualField
|
|
21
22
|
role: string
|
|
22
23
|
email: string
|
|
23
24
|
website: string
|
|
@@ -108,17 +109,17 @@ export type MetadataObject = Partial<{
|
|
|
108
109
|
extra: string
|
|
109
110
|
featureOfRecord: string
|
|
110
111
|
feedbackCount: string
|
|
111
|
-
geom: Geometry
|
|
112
|
+
geom: Geometry | Geometry[]
|
|
112
113
|
groupOwner: string
|
|
113
|
-
groupPublished: string[]
|
|
114
|
-
groupPublishedId: string
|
|
114
|
+
groupPublished: string | string[]
|
|
115
|
+
groupPublishedId: string | string[]
|
|
115
116
|
harvesterUuid: string
|
|
116
117
|
hasInspireTheme: BooleanString
|
|
117
118
|
hasOverview: BooleanString
|
|
118
119
|
hasxlinks: BooleanString
|
|
119
120
|
id: string
|
|
120
|
-
indexingDate: string
|
|
121
|
-
indexingError: string[]
|
|
121
|
+
indexingDate: string | number
|
|
122
|
+
indexingError: string | string[]
|
|
122
123
|
indexingErrorMsg: string[]
|
|
123
124
|
inspireAnnex: string[]
|
|
124
125
|
inspireAnnexForFirstTheme: string
|
|
@@ -137,8 +138,8 @@ export type MetadataObject = Partial<{
|
|
|
137
138
|
lineageObject: MultilingualField
|
|
138
139
|
link: Link[]
|
|
139
140
|
linkProtocol: string[]
|
|
140
|
-
linkUrl: string[]
|
|
141
|
-
linkUrlProtocolOGCWFS: string[]
|
|
141
|
+
linkUrl: string | string[]
|
|
142
|
+
linkUrlProtocolOGCWFS: string | string[]
|
|
142
143
|
linkUrlProtocolOGCWMS: string[]
|
|
143
144
|
linkUrlProtocolWWWLINK10httplink: MaybeArray<string>
|
|
144
145
|
linkUrlProtocolWWWLINK10httprelated: string
|
|
@@ -151,7 +152,7 @@ export type MetadataObject = Partial<{
|
|
|
151
152
|
pointOfContactOrg: string
|
|
152
153
|
pointOfContactOrgForResource: string
|
|
153
154
|
popularity: number
|
|
154
|
-
publicationDateForResource: string
|
|
155
|
+
publicationDateForResource: string | string[]
|
|
155
156
|
rating: string
|
|
156
157
|
record: string
|
|
157
158
|
recordGroup: string
|
|
@@ -186,7 +187,7 @@ export type MetadataObject = Partial<{
|
|
|
186
187
|
|
|
187
188
|
export interface Gn4Record {
|
|
188
189
|
_index: string
|
|
189
|
-
_type
|
|
190
|
+
_type?: string
|
|
190
191
|
_id: string
|
|
191
192
|
_score: number
|
|
192
193
|
_source: MetadataObject
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
readRecordCreated,
|
|
16
16
|
readRecordPublished,
|
|
17
17
|
readRecordUpdated,
|
|
18
|
+
readReuseType,
|
|
18
19
|
readUniqueIdentifier,
|
|
19
20
|
} from './read-parts'
|
|
20
21
|
import {
|
|
@@ -32,6 +33,7 @@ import {
|
|
|
32
33
|
writeResourceCreated,
|
|
33
34
|
writeResourcePublished,
|
|
34
35
|
writeResourceUpdated,
|
|
36
|
+
writeReuseType,
|
|
35
37
|
writeSpatialRepresentation,
|
|
36
38
|
writeStatus,
|
|
37
39
|
writeUniqueIdentifier,
|
|
@@ -54,6 +56,7 @@ export class Iso191153Converter extends Iso19139Converter {
|
|
|
54
56
|
this.readers['onlineResources'] = readOnlineResources
|
|
55
57
|
this.readers['defaultLanguage'] = readDefaultLanguage
|
|
56
58
|
this.readers['otherLanguages'] = readOtherLanguages
|
|
59
|
+
this.readers['reuseType'] = readReuseType
|
|
57
60
|
|
|
58
61
|
this.writers['uniqueIdentifier'] = writeUniqueIdentifier
|
|
59
62
|
this.writers['kind'] = writeKind
|
|
@@ -63,6 +66,7 @@ export class Iso191153Converter extends Iso19139Converter {
|
|
|
63
66
|
this.writers['resourceUpdated'] = writeResourceUpdated
|
|
64
67
|
this.writers['resourceCreated'] = writeResourceCreated
|
|
65
68
|
this.writers['resourcePublished'] = writeResourcePublished
|
|
69
|
+
this.writers['reuseType'] = writeReuseType
|
|
66
70
|
this.writers['contacts'] = writeContacts
|
|
67
71
|
this.writers['contactsForResource'] = writeContactsForResource
|
|
68
72
|
this.writers['ownerOrganization'] = () => undefined // fixme: find a way to store this value properly
|
|
@@ -24,6 +24,7 @@ import {
|
|
|
24
24
|
extractLocalizedCharacterString,
|
|
25
25
|
extractRole,
|
|
26
26
|
extractServiceOnlineResources,
|
|
27
|
+
extractReuseOnlineResources,
|
|
27
28
|
extractUrl,
|
|
28
29
|
findIdentification,
|
|
29
30
|
} from '../iso19139/read-parts'
|
|
@@ -35,11 +36,13 @@ import {
|
|
|
35
36
|
OrganizationTranslations,
|
|
36
37
|
RecordKind,
|
|
37
38
|
RecordTranslations,
|
|
39
|
+
ReuseType,
|
|
38
40
|
Role,
|
|
39
41
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
40
42
|
import { matchMimeType } from '../common/distribution.mapper'
|
|
41
43
|
import { fullNameToParts } from '../iso19139/utils/individual-name'
|
|
42
44
|
import { LANG_3_TO_2_MAPPER } from '../../../../../../libs/util/i18n/src/lib/language-codes'
|
|
45
|
+
import { getResourceType, getReuseType } from '../common/resource-types'
|
|
43
46
|
|
|
44
47
|
export function readKind(rootEl: XmlElement): RecordKind {
|
|
45
48
|
return pipe(
|
|
@@ -50,10 +53,7 @@ export function readKind(rootEl: XmlElement): RecordKind {
|
|
|
50
53
|
'mcc:MD_ScopeCode'
|
|
51
54
|
),
|
|
52
55
|
readAttribute('codeListValue'),
|
|
53
|
-
map(
|
|
54
|
-
(scopeCode): RecordKind =>
|
|
55
|
-
scopeCode === 'service' ? 'service' : 'dataset'
|
|
56
|
-
)
|
|
56
|
+
map((scopeCode): RecordKind => getResourceType(scopeCode))
|
|
57
57
|
)(rootEl)
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -321,6 +321,19 @@ export function readRecordPublished(rootEl: XmlElement): Date {
|
|
|
321
321
|
return extractDateInfo('publication')(rootEl)
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
+
export function readReuseType(rootEl: XmlElement): ReuseType {
|
|
325
|
+
return pipe(
|
|
326
|
+
findNestedElement(
|
|
327
|
+
'mdb:metadataScope',
|
|
328
|
+
'mdb:MD_MetadataScope',
|
|
329
|
+
'mdb:resourceScope',
|
|
330
|
+
'mcc:MD_ScopeCode'
|
|
331
|
+
),
|
|
332
|
+
readAttribute('codeListValue'),
|
|
333
|
+
map((scopeCode): ReuseType => getReuseType(scopeCode))
|
|
334
|
+
)(rootEl)
|
|
335
|
+
}
|
|
336
|
+
|
|
324
337
|
const getMimeType = pipe(
|
|
325
338
|
findParent('mrd:MD_Distribution'),
|
|
326
339
|
findNestedElement(
|
|
@@ -335,16 +348,17 @@ const getMimeType = pipe(
|
|
|
335
348
|
)
|
|
336
349
|
|
|
337
350
|
export function readOnlineResources(rootEl: XmlElement): OnlineResource[] {
|
|
351
|
+
let getOnlineResources: ChainableFunction<XmlElement, OnlineResource[]>
|
|
338
352
|
if (readKind(rootEl) === 'dataset') {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
353
|
+
getOnlineResources = extractDatasetOnlineResources(getMimeType)
|
|
354
|
+
} else if (readKind(rootEl) === 'service') {
|
|
355
|
+
getOnlineResources = extractServiceOnlineResources()
|
|
356
|
+
} else {
|
|
357
|
+
getOnlineResources = extractReuseOnlineResources()
|
|
344
358
|
}
|
|
345
359
|
return pipe(
|
|
346
360
|
findNestedElements('mrd:distributionInfo', 'mrd:MD_Distribution'),
|
|
347
|
-
mapArray(
|
|
361
|
+
mapArray(getOnlineResources),
|
|
348
362
|
flattenArray()
|
|
349
363
|
)(rootEl)
|
|
350
364
|
}
|
|
@@ -50,6 +50,7 @@ import {
|
|
|
50
50
|
import { findIdentification } from '../iso19139/read-parts'
|
|
51
51
|
import { namePartsToFull } from '../iso19139/utils/individual-name'
|
|
52
52
|
import { LANG_2_TO_3_MAPPER } from '../../../../../../libs/util/i18n/src/lib/language-codes'
|
|
53
|
+
import { kindToCodeListValue } from '../common/resource-types'
|
|
53
54
|
|
|
54
55
|
export function writeUniqueIdentifier(
|
|
55
56
|
record: CatalogRecord,
|
|
@@ -66,6 +67,7 @@ export function writeUniqueIdentifier(
|
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
export function writeKind(record: CatalogRecord, rootEl: XmlElement) {
|
|
70
|
+
const kind = kindToCodeListValue(record)
|
|
69
71
|
pipe(
|
|
70
72
|
findNestedChildOrCreate(
|
|
71
73
|
'mdb:metadataScope',
|
|
@@ -77,8 +79,8 @@ export function writeKind(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
77
79
|
'codeList',
|
|
78
80
|
'https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ScopeCode'
|
|
79
81
|
),
|
|
80
|
-
writeAttribute('codeListValue',
|
|
81
|
-
setTextContent(
|
|
82
|
+
writeAttribute('codeListValue', kind),
|
|
83
|
+
setTextContent(kind)
|
|
82
84
|
)(rootEl)
|
|
83
85
|
}
|
|
84
86
|
|
|
@@ -217,6 +219,10 @@ export function writeResourcePublished(
|
|
|
217
219
|
appendResourceDate(record.resourcePublished, 'publication')(rootEl)
|
|
218
220
|
}
|
|
219
221
|
|
|
222
|
+
export function writeReuseType(record: CatalogRecord, rootEl: XmlElement) {
|
|
223
|
+
writeKind(record, rootEl)
|
|
224
|
+
}
|
|
225
|
+
|
|
220
226
|
export function appendResponsibleParty(
|
|
221
227
|
contact: Individual,
|
|
222
228
|
defaultLanguage: LanguageCode
|