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
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
Input,
|
|
5
|
+
OnInit,
|
|
6
|
+
} from '@angular/core'
|
|
7
|
+
import { DatasetServiceDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
8
|
+
import { BehaviorSubject, Observable, combineLatest, map, mergeMap } from 'rxjs'
|
|
9
|
+
import { HttpClient } from '@angular/common/http'
|
|
10
|
+
import { Choice, DropdownSelectorComponent } from '../../../../../../libs/ui/inputs/src'
|
|
11
|
+
import axios from 'axios'
|
|
12
|
+
import { CommonModule } from '@angular/common'
|
|
13
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
14
|
+
import { GpfApiDlListItemComponent } from '../gpf-api-dl-list-item/gpf-api-dl-list-item.component'
|
|
15
|
+
|
|
16
|
+
export interface Label {
|
|
17
|
+
label: string
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface FormatProduit {
|
|
21
|
+
title: string
|
|
22
|
+
update: string
|
|
23
|
+
format: Array<TermBucket>
|
|
24
|
+
zone: Array<TermBucket>
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface FormatSortieProduit {
|
|
28
|
+
label: string
|
|
29
|
+
value: string | number
|
|
30
|
+
}
|
|
31
|
+
export interface ListUrl {
|
|
32
|
+
url: string
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface ListChoice {
|
|
36
|
+
zone: Choice[]
|
|
37
|
+
format: Choice[]
|
|
38
|
+
editionDate: Choice[]
|
|
39
|
+
crs: Choice[]
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface TermBucket {
|
|
43
|
+
term: string
|
|
44
|
+
label: string | number
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface Field {
|
|
48
|
+
entry: Array<any>
|
|
49
|
+
link: any
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@Component({
|
|
53
|
+
selector: 'gn-ui-gpf-api-dl',
|
|
54
|
+
templateUrl: './gpf-api-dl.component.html',
|
|
55
|
+
styleUrls: ['./gpf-api-dl.component.css'],
|
|
56
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
57
|
+
standalone: true,
|
|
58
|
+
imports: [
|
|
59
|
+
CommonModule,
|
|
60
|
+
TranslateModule,
|
|
61
|
+
DropdownSelectorComponent,
|
|
62
|
+
GpfApiDlListItemComponent,
|
|
63
|
+
],
|
|
64
|
+
})
|
|
65
|
+
export class GpfApiDlComponent implements OnInit {
|
|
66
|
+
isOpen = false
|
|
67
|
+
collapsed = false
|
|
68
|
+
initialLimit = 50
|
|
69
|
+
apiBaseUrl: string
|
|
70
|
+
editionDate$ = new BehaviorSubject('')
|
|
71
|
+
zone$ = new BehaviorSubject('')
|
|
72
|
+
format$ = new BehaviorSubject('')
|
|
73
|
+
crs$ = new BehaviorSubject('')
|
|
74
|
+
page$ = new BehaviorSubject(1)
|
|
75
|
+
url =
|
|
76
|
+
'https://data.geopf.fr/telechargement/capabilities?outputFormat=application/json'
|
|
77
|
+
choices: any
|
|
78
|
+
bucketPromisesZone: Choice[]
|
|
79
|
+
bucketPromisesFormat: Choice[]
|
|
80
|
+
bucketPromisesCrs: Choice[]
|
|
81
|
+
|
|
82
|
+
constructor(protected http: HttpClient) {}
|
|
83
|
+
|
|
84
|
+
@Input() set apiLink(value: DatasetServiceDistribution) {
|
|
85
|
+
this.apiBaseUrl = value ? value.url.href : undefined
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
ngOnInit(): void {
|
|
89
|
+
this.bucketPromisesZone = [{ value: '', label: 'ZONE' }]
|
|
90
|
+
this.bucketPromisesFormat = [{ value: '', label: 'FORMAT' }]
|
|
91
|
+
this.bucketPromisesCrs = [{ value: '', label: 'CRS' }]
|
|
92
|
+
this.getFields()
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
apiQueryUrl$ = combineLatest([
|
|
96
|
+
this.zone$,
|
|
97
|
+
this.format$,
|
|
98
|
+
this.editionDate$,
|
|
99
|
+
this.crs$,
|
|
100
|
+
this.page$,
|
|
101
|
+
]).pipe(
|
|
102
|
+
map(([zone, format, editionDate, crs, page]) => {
|
|
103
|
+
let outputUrl
|
|
104
|
+
if (this.apiBaseUrl) {
|
|
105
|
+
const url = new URL(this.apiBaseUrl) // initialisation de l'url avec l'url de base
|
|
106
|
+
const params = {
|
|
107
|
+
zone: zone,
|
|
108
|
+
format: format,
|
|
109
|
+
editionDate: editionDate,
|
|
110
|
+
crs: crs,
|
|
111
|
+
page: page,
|
|
112
|
+
} // initialisation des paramètres de filtres
|
|
113
|
+
for (const [key, value] of Object.entries(params)) {
|
|
114
|
+
if (value && value !== 'null') {
|
|
115
|
+
url.searchParams.set(key, String(value))
|
|
116
|
+
} else {
|
|
117
|
+
url.searchParams.delete(key)
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
outputUrl = url.toString()
|
|
121
|
+
} else {
|
|
122
|
+
console.error('erreur apibaseUrl null')
|
|
123
|
+
}
|
|
124
|
+
return outputUrl
|
|
125
|
+
})
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
listFilteredProduct$ = this.apiQueryUrl$.pipe(
|
|
129
|
+
mergeMap((url) => {
|
|
130
|
+
return this.getFilteredProduct$(url).pipe(
|
|
131
|
+
map((response) => response['entry'])
|
|
132
|
+
)
|
|
133
|
+
})
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
pageMax$ = this.apiQueryUrl$.pipe(
|
|
137
|
+
mergeMap((url) => {
|
|
138
|
+
return this.getFilteredProduct$(url).pipe(
|
|
139
|
+
map((response) =>
|
|
140
|
+
Math.ceil(response['totalentries'] / Number(this.initialLimit))
|
|
141
|
+
)
|
|
142
|
+
)
|
|
143
|
+
})
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
getFilteredProduct$(url): Observable<any> {
|
|
147
|
+
return this.http.get(url)
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
getLinkFormat(produit): string {
|
|
151
|
+
return produit['format'][0]['label']
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
setEditionDate(value: string) {
|
|
155
|
+
if (value.match(/[0-9]{4}-[0-1][0-9]-[0-3][0-9]/)) {
|
|
156
|
+
this.editionDate$.next(value)
|
|
157
|
+
this.resetPage()
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
setZone(value: string) {
|
|
162
|
+
if (this.bucketPromisesZone.map((choice) => choice.value).includes(value)) {
|
|
163
|
+
this.zone$.next(value)
|
|
164
|
+
this.resetPage()
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
setCrs(value: string) {
|
|
169
|
+
if (this.bucketPromisesCrs.map((choice) => choice.value).includes(value)) {
|
|
170
|
+
this.crs$.next(value)
|
|
171
|
+
this.resetPage()
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
setFormat(value: string) {
|
|
176
|
+
if (
|
|
177
|
+
this.bucketPromisesFormat.map((choice) => choice.value).includes(value)
|
|
178
|
+
) {
|
|
179
|
+
this.format$.next(value)
|
|
180
|
+
this.resetPage()
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
resetUrl() {
|
|
185
|
+
this.zone$.next('null')
|
|
186
|
+
this.format$.next('null')
|
|
187
|
+
this.crs$.next('null')
|
|
188
|
+
this.page$.next(1)
|
|
189
|
+
}
|
|
190
|
+
moreResult(): void {
|
|
191
|
+
this.page$.next(this.page$.value + 1)
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
lessResult(): void {
|
|
195
|
+
this.page$.next(this.page$.value - 1)
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
resetPage(): void {
|
|
199
|
+
this.page$.next(1)
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
async getCapabilities() {
|
|
203
|
+
let page = 0
|
|
204
|
+
let choicesTest = undefined
|
|
205
|
+
let pageCount = 1
|
|
206
|
+
|
|
207
|
+
while (choicesTest === undefined && pageCount > page) {
|
|
208
|
+
const response = await axios.get(
|
|
209
|
+
this.url.concat(`&limit=200&page=${page}`)
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
choicesTest = response.data.entry.filter(
|
|
213
|
+
(element) => element['id'] == this.apiBaseUrl
|
|
214
|
+
)[0]
|
|
215
|
+
page += 1
|
|
216
|
+
pageCount = response.data.pagecount
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
return choicesTest
|
|
220
|
+
}
|
|
221
|
+
async getFields() {
|
|
222
|
+
this.choices = await this.getCapabilities()
|
|
223
|
+
|
|
224
|
+
const tempZone = this.choices.zone.map((bucket) => ({
|
|
225
|
+
value: bucket.term,
|
|
226
|
+
label: bucket.label,
|
|
227
|
+
}))
|
|
228
|
+
tempZone.sort((a, b) => (a.label > b.label ? 1 : -1))
|
|
229
|
+
tempZone.unshift({ value: 'null', label: 'ZONE' })
|
|
230
|
+
|
|
231
|
+
this.bucketPromisesZone = tempZone
|
|
232
|
+
|
|
233
|
+
const tempFormat = this.choices.format.map((bucket) => ({
|
|
234
|
+
value: bucket.term,
|
|
235
|
+
label: bucket.label,
|
|
236
|
+
}))
|
|
237
|
+
tempFormat.sort((a, b) => (a.label > b.label ? 1 : -1))
|
|
238
|
+
tempFormat.unshift({ value: 'null', label: 'FORMAT' })
|
|
239
|
+
|
|
240
|
+
this.bucketPromisesFormat = tempFormat
|
|
241
|
+
|
|
242
|
+
const tempCrs = this.choices.category.map((bucket) => ({
|
|
243
|
+
value: bucket.term,
|
|
244
|
+
label: bucket.label,
|
|
245
|
+
}))
|
|
246
|
+
tempCrs.sort((a, b) => (a.label > b.label ? 1 : -1))
|
|
247
|
+
tempCrs.unshift({ value: 'null', label: 'CRS' })
|
|
248
|
+
|
|
249
|
+
this.bucketPromisesCrs = tempCrs
|
|
250
|
+
|
|
251
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
252
|
+
}
|
|
253
|
+
}
|
package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.css
ADDED
|
File without changes
|
package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.html
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<a
|
|
2
|
+
class="group flex justify-between card-shadow px-6 py-5 cursor-pointer"
|
|
3
|
+
rel="noopener"
|
|
4
|
+
>
|
|
5
|
+
<div class="grow-1 w-full overflow-hidden">
|
|
6
|
+
<div
|
|
7
|
+
class="text-16 text-black truncate font-title w-11/12"
|
|
8
|
+
[title]="link['title'] || link.name"
|
|
9
|
+
>
|
|
10
|
+
{{ link['title'] || link.name }}
|
|
11
|
+
</div>
|
|
12
|
+
<div class="pt-1">
|
|
13
|
+
<span
|
|
14
|
+
class="inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100"
|
|
15
|
+
[style.background-color]="color"
|
|
16
|
+
data-cy="download-format"
|
|
17
|
+
>{{ format || ('downloads.format.unknown' | translate) }}</span
|
|
18
|
+
>
|
|
19
|
+
<span
|
|
20
|
+
class="pl-2 inline-flex items-center text-gray-800 text-sm"
|
|
21
|
+
*ngIf="isFromWfs"
|
|
22
|
+
translate=""
|
|
23
|
+
>datahub.search.filter.generatedByWfs</span
|
|
24
|
+
>
|
|
25
|
+
</div>
|
|
26
|
+
<div *ngFor="let entry of liste$ | async">
|
|
27
|
+
<a [href]="entry['link'][0]['href']"
|
|
28
|
+
>{{ entry['link'][0]['href'].split('/').slice(-1) }}
|
|
29
|
+
<ng-icon
|
|
30
|
+
class="text-primary opacity-45 mr-3"
|
|
31
|
+
name="matCloudDownloadOutline"
|
|
32
|
+
>
|
|
33
|
+
</ng-icon>
|
|
34
|
+
</a>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</a>
|
package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
2
|
+
import { HttpClient } from '@angular/common/http'
|
|
3
|
+
import { Component, Input, OnInit } from '@angular/core'
|
|
4
|
+
import { NgIconsModule } from '@ng-icons/core'
|
|
5
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
6
|
+
import { Observable, map, mergeMap } from 'rxjs'
|
|
7
|
+
|
|
8
|
+
@Component({
|
|
9
|
+
selector: 'gn-ui-gpf-api-dl-list-item',
|
|
10
|
+
templateUrl: './gpf-api-dl-list-item.component.html',
|
|
11
|
+
styleUrls: ['./gpf-api-dl-list-item.component.css'],
|
|
12
|
+
standalone: true,
|
|
13
|
+
imports: [CommonModule, TranslateModule, NgIconsModule],
|
|
14
|
+
})
|
|
15
|
+
export class GpfApiDlListItemComponent implements OnInit {
|
|
16
|
+
@Input() link
|
|
17
|
+
@Input() color: string
|
|
18
|
+
@Input() format: string
|
|
19
|
+
@Input() isFromWfs: boolean
|
|
20
|
+
|
|
21
|
+
constructor(protected http: HttpClient) {}
|
|
22
|
+
liste$: Observable<any>
|
|
23
|
+
|
|
24
|
+
ngOnInit(): void {
|
|
25
|
+
this.liste$ = this.http
|
|
26
|
+
.get(this.link['id'])
|
|
27
|
+
.pipe(map((response) => response['entry']))
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
downloadListe(): void {
|
|
31
|
+
this.http
|
|
32
|
+
.get(this.link['id'])
|
|
33
|
+
.pipe(
|
|
34
|
+
map((response) => response['entry']),
|
|
35
|
+
mergeMap((response) => response)
|
|
36
|
+
)
|
|
37
|
+
.subscribe((reponse) => this.download(reponse['id']))
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
download(url): void {
|
|
41
|
+
this.http.get(url).subscribe()
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
ChangeDetectionStrategy,
|
|
4
4
|
ChangeDetectorRef,
|
|
5
5
|
Component,
|
|
6
|
+
Input,
|
|
6
7
|
ViewChild,
|
|
7
8
|
} from '@angular/core'
|
|
8
9
|
import { MapUtilsService } from '../../../../../../libs/feature/map/src'
|
|
@@ -54,6 +55,10 @@ import {
|
|
|
54
55
|
LoadingMaskComponent,
|
|
55
56
|
PopupAlertComponent,
|
|
56
57
|
} from '../../../../../../libs/ui/widgets/src'
|
|
58
|
+
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
59
|
+
|
|
60
|
+
marker('map.dropdown.placeholder')
|
|
61
|
+
marker('wfs.feature.limit')
|
|
57
62
|
|
|
58
63
|
@Component({
|
|
59
64
|
selector: 'gn-ui-map-view',
|
|
@@ -77,8 +82,12 @@ import {
|
|
|
77
82
|
viewProviders: [provideIcons({ matClose })],
|
|
78
83
|
})
|
|
79
84
|
export class MapViewComponent implements AfterViewInit {
|
|
85
|
+
@Input() set excludeWfs(value: boolean) {
|
|
86
|
+
this.excludeWfs$.next(value)
|
|
87
|
+
}
|
|
80
88
|
@ViewChild('mapContainer') mapContainer: MapContainerComponent
|
|
81
89
|
|
|
90
|
+
excludeWfs$ = new BehaviorSubject(false)
|
|
82
91
|
selection: Feature
|
|
83
92
|
showLegend = true
|
|
84
93
|
legendExists = false
|
|
@@ -110,7 +119,7 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
110
119
|
label: getLinkLabel(link),
|
|
111
120
|
value: index,
|
|
112
121
|
}))
|
|
113
|
-
: [{ label: '
|
|
122
|
+
: [{ label: 'map.dropdown.placeholder', value: 0 }]
|
|
114
123
|
)
|
|
115
124
|
)
|
|
116
125
|
selectedLinkIndex$ = new BehaviorSubject(0)
|
|
@@ -123,11 +132,15 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
123
132
|
this.selectedLinkIndex$.pipe(distinctUntilChanged()),
|
|
124
133
|
]).pipe(map(([links, index]) => links[index]))
|
|
125
134
|
|
|
126
|
-
currentLayers$ = this.selectedLink
|
|
127
|
-
switchMap((link) => {
|
|
135
|
+
currentLayers$ = combineLatest([this.selectedLink$, this.excludeWfs$]).pipe(
|
|
136
|
+
switchMap(([link, excludeWfs]) => {
|
|
128
137
|
if (!link) {
|
|
129
138
|
return of([])
|
|
130
139
|
}
|
|
140
|
+
if (excludeWfs && link.accessServiceProtocol === 'wfs') {
|
|
141
|
+
this.error = 'wfs.feature.limit'
|
|
142
|
+
return of([])
|
|
143
|
+
}
|
|
131
144
|
this.loading = true
|
|
132
145
|
this.error = null
|
|
133
146
|
return this.getLayerFromLink(link).pipe(
|
|
@@ -15,6 +15,7 @@ import { LinkClassifierService, LinkUsage } from '../../../../../../libs/util/sh
|
|
|
15
15
|
import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model'
|
|
16
16
|
import {
|
|
17
17
|
CatalogRecord,
|
|
18
|
+
DatasetServiceDistribution,
|
|
18
19
|
UserFeedback,
|
|
19
20
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
20
21
|
import { AvatarServiceInterface } from '../../../../../../libs/api/repository/src'
|
|
@@ -72,7 +73,15 @@ export class MdViewFacade {
|
|
|
72
73
|
|
|
73
74
|
apiLinks$ = this.allLinks$.pipe(
|
|
74
75
|
map((links) =>
|
|
75
|
-
links
|
|
76
|
+
links
|
|
77
|
+
.filter((link) => this.linkClassifier.hasUsage(link, LinkUsage.API))
|
|
78
|
+
// Put links to IGN Géoplateforme first
|
|
79
|
+
.sort((dd1, dd2) => {
|
|
80
|
+
return (dd2 as DatasetServiceDistribution).accessServiceProtocol ===
|
|
81
|
+
'GPFDL'
|
|
82
|
+
? 1
|
|
83
|
+
: undefined // do not change the sorting otherwise
|
|
84
|
+
})
|
|
76
85
|
)
|
|
77
86
|
)
|
|
78
87
|
|
|
@@ -72,19 +72,19 @@ export class FacetsService {
|
|
|
72
72
|
for (let p = 0; p < entries.length; p++) {
|
|
73
73
|
const entry: [string, AggEntry] = entries[p] as [
|
|
74
74
|
string,
|
|
75
|
-
AggEntry
|
|
75
|
+
AggEntry,
|
|
76
76
|
]
|
|
77
77
|
const nextEntry: [string, AggEntry] = entries[p + 1] as [
|
|
78
78
|
string,
|
|
79
|
-
AggEntry
|
|
79
|
+
AggEntry,
|
|
80
80
|
]
|
|
81
81
|
const lowerBound = entry[1].key
|
|
82
82
|
const onlyOneBucket = entries.length === 1
|
|
83
83
|
const upperBound = onlyOneBucket
|
|
84
84
|
? lowerBound + Number(requestAgg['histogram'].interval)
|
|
85
85
|
: nextEntry
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
? nextEntry[1].key
|
|
87
|
+
: '*'
|
|
88
88
|
const value = lowerBound + '-' + upperBound
|
|
89
89
|
const itemPath = [...blockModel.path, lowerBound + '']
|
|
90
90
|
const itemModel = {
|
|
@@ -56,7 +56,10 @@ export class AddSearch implements Action {
|
|
|
56
56
|
export class SetConfigFilters extends AbstractAction implements Action {
|
|
57
57
|
readonly type = SET_CONFIG_FILTERS
|
|
58
58
|
|
|
59
|
-
constructor(
|
|
59
|
+
constructor(
|
|
60
|
+
public payload: FieldFilters,
|
|
61
|
+
id?: string
|
|
62
|
+
) {
|
|
60
63
|
super(id)
|
|
61
64
|
}
|
|
62
65
|
}
|
|
@@ -64,7 +67,10 @@ export class SetConfigFilters extends AbstractAction implements Action {
|
|
|
64
67
|
export class SetFilters extends AbstractAction implements Action {
|
|
65
68
|
readonly type = SET_FILTERS
|
|
66
69
|
|
|
67
|
-
constructor(
|
|
70
|
+
constructor(
|
|
71
|
+
public payload: FieldFilters,
|
|
72
|
+
id?: string
|
|
73
|
+
) {
|
|
68
74
|
super(id)
|
|
69
75
|
}
|
|
70
76
|
}
|
|
@@ -72,7 +78,10 @@ export class SetFilters extends AbstractAction implements Action {
|
|
|
72
78
|
export class UpdateFilters extends AbstractAction implements Action {
|
|
73
79
|
readonly type = UPDATE_FILTERS
|
|
74
80
|
|
|
75
|
-
constructor(
|
|
81
|
+
constructor(
|
|
82
|
+
public payload: FieldFilters,
|
|
83
|
+
id?: string
|
|
84
|
+
) {
|
|
76
85
|
super(id)
|
|
77
86
|
}
|
|
78
87
|
}
|
|
@@ -80,27 +89,39 @@ export class UpdateFilters extends AbstractAction implements Action {
|
|
|
80
89
|
export class SetSearch extends AbstractAction implements Action {
|
|
81
90
|
readonly type = SET_SEARCH
|
|
82
91
|
|
|
83
|
-
constructor(
|
|
92
|
+
constructor(
|
|
93
|
+
public payload: SearchStateParams,
|
|
94
|
+
id?: string
|
|
95
|
+
) {
|
|
84
96
|
super(id)
|
|
85
97
|
}
|
|
86
98
|
}
|
|
87
99
|
|
|
88
100
|
export class SetFavoritesOnly extends AbstractAction implements Action {
|
|
89
101
|
readonly type = SET_FAVORITES_ONLY
|
|
90
|
-
constructor(
|
|
102
|
+
constructor(
|
|
103
|
+
public favoritesOnly: boolean,
|
|
104
|
+
id?: string
|
|
105
|
+
) {
|
|
91
106
|
super(id)
|
|
92
107
|
}
|
|
93
108
|
}
|
|
94
109
|
export class SetSortBy extends AbstractAction implements Action {
|
|
95
110
|
readonly type = SET_SORT_BY
|
|
96
|
-
constructor(
|
|
111
|
+
constructor(
|
|
112
|
+
public sortBy: SortByField,
|
|
113
|
+
id?: string
|
|
114
|
+
) {
|
|
97
115
|
super(id)
|
|
98
116
|
}
|
|
99
117
|
}
|
|
100
118
|
|
|
101
119
|
export class SetPageSize extends AbstractAction implements Action {
|
|
102
120
|
readonly type = SET_PAGE_SIZE
|
|
103
|
-
constructor(
|
|
121
|
+
constructor(
|
|
122
|
+
public limit: number,
|
|
123
|
+
id?: string
|
|
124
|
+
) {
|
|
104
125
|
super(id)
|
|
105
126
|
}
|
|
106
127
|
}
|
|
@@ -108,7 +129,10 @@ export class SetPageSize extends AbstractAction implements Action {
|
|
|
108
129
|
export class Paginate extends AbstractAction implements Action {
|
|
109
130
|
readonly type = PAGINATE
|
|
110
131
|
// Note: page number is one-based!!
|
|
111
|
-
constructor(
|
|
132
|
+
constructor(
|
|
133
|
+
public pageNumber: number,
|
|
134
|
+
id?: string
|
|
135
|
+
) {
|
|
112
136
|
super(id)
|
|
113
137
|
}
|
|
114
138
|
}
|
|
@@ -116,7 +140,10 @@ export class Paginate extends AbstractAction implements Action {
|
|
|
116
140
|
export class SetResultsLayout extends AbstractAction implements Action {
|
|
117
141
|
readonly type = SET_RESULTS_LAYOUT
|
|
118
142
|
|
|
119
|
-
constructor(
|
|
143
|
+
constructor(
|
|
144
|
+
public resultsLayout: string,
|
|
145
|
+
id?: string
|
|
146
|
+
) {
|
|
120
147
|
super(id)
|
|
121
148
|
}
|
|
122
149
|
}
|
|
@@ -124,7 +151,10 @@ export class SetResultsLayout extends AbstractAction implements Action {
|
|
|
124
151
|
export class AddResults extends AbstractAction implements Action {
|
|
125
152
|
readonly type = ADD_RESULTS
|
|
126
153
|
|
|
127
|
-
constructor(
|
|
154
|
+
constructor(
|
|
155
|
+
public payload: CatalogRecord[],
|
|
156
|
+
id?: string
|
|
157
|
+
) {
|
|
128
158
|
super(id)
|
|
129
159
|
}
|
|
130
160
|
}
|
|
@@ -156,35 +186,50 @@ export class RequestNewResults extends AbstractAction implements Action {
|
|
|
156
186
|
export class SetResultsAggregations extends AbstractAction implements Action {
|
|
157
187
|
readonly type = SET_RESULTS_AGGREGATIONS
|
|
158
188
|
|
|
159
|
-
constructor(
|
|
189
|
+
constructor(
|
|
190
|
+
public payload: Aggregations,
|
|
191
|
+
id?: string
|
|
192
|
+
) {
|
|
160
193
|
super(id)
|
|
161
194
|
}
|
|
162
195
|
}
|
|
163
196
|
|
|
164
197
|
export class SetResultsHits extends AbstractAction implements Action {
|
|
165
198
|
readonly type = SET_RESULTS_HITS
|
|
166
|
-
constructor(
|
|
199
|
+
constructor(
|
|
200
|
+
public payload: number,
|
|
201
|
+
id?: string
|
|
202
|
+
) {
|
|
167
203
|
super(id)
|
|
168
204
|
}
|
|
169
205
|
}
|
|
170
206
|
|
|
171
207
|
export class SetConfigAggregations extends AbstractAction implements Action {
|
|
172
208
|
readonly type = SET_CONFIG_AGGREGATIONS
|
|
173
|
-
constructor(
|
|
209
|
+
constructor(
|
|
210
|
+
public payload: AggregationsParams,
|
|
211
|
+
id?: string
|
|
212
|
+
) {
|
|
174
213
|
super(id)
|
|
175
214
|
}
|
|
176
215
|
}
|
|
177
216
|
|
|
178
217
|
export class UpdateConfigAggregations extends AbstractAction implements Action {
|
|
179
218
|
readonly type = UPDATE_CONFIG_AGGREGATIONS
|
|
180
|
-
constructor(
|
|
219
|
+
constructor(
|
|
220
|
+
public payload: AggregationsParams,
|
|
221
|
+
id?: string
|
|
222
|
+
) {
|
|
181
223
|
super(id)
|
|
182
224
|
}
|
|
183
225
|
}
|
|
184
226
|
|
|
185
227
|
export class SetConfigRequestFields extends AbstractAction implements Action {
|
|
186
228
|
readonly type = SET_CONFIG_REQUEST_FIELDS
|
|
187
|
-
constructor(
|
|
229
|
+
constructor(
|
|
230
|
+
public payload: FieldName[],
|
|
231
|
+
id?: string
|
|
232
|
+
) {
|
|
188
233
|
super(id)
|
|
189
234
|
}
|
|
190
235
|
}
|
|
@@ -226,7 +271,11 @@ export class PatchResultsAggregations extends AbstractAction implements Action {
|
|
|
226
271
|
export class SetError extends AbstractAction implements Action {
|
|
227
272
|
readonly type = SET_ERROR
|
|
228
273
|
|
|
229
|
-
constructor(
|
|
274
|
+
constructor(
|
|
275
|
+
public code: number,
|
|
276
|
+
public message: string,
|
|
277
|
+
id?: string
|
|
278
|
+
) {
|
|
230
279
|
super(id)
|
|
231
280
|
}
|
|
232
281
|
}
|
|
@@ -241,7 +290,10 @@ export class ClearError extends AbstractAction implements Action {
|
|
|
241
290
|
|
|
242
291
|
export class SetSpatialFilterEnabled extends AbstractAction implements Action {
|
|
243
292
|
readonly type = SET_SPATIAL_FILTER_ENABLED
|
|
244
|
-
constructor(
|
|
293
|
+
constructor(
|
|
294
|
+
public enabled: boolean,
|
|
295
|
+
id?: string
|
|
296
|
+
) {
|
|
245
297
|
super(id)
|
|
246
298
|
}
|
|
247
299
|
}
|
|
@@ -88,7 +88,7 @@ export class ChartComponent implements OnChanges, AfterViewInit {
|
|
|
88
88
|
const data = this.handlesSecondaryValue()
|
|
89
89
|
? (this.getDataProxy(this.valueProperty, this.secondaryValueProperty) as [
|
|
90
90
|
number,
|
|
91
|
-
number
|
|
91
|
+
number,
|
|
92
92
|
][])
|
|
93
93
|
: (this.getDataProxy(this.valueProperty) as number[])
|
|
94
94
|
return {
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
(title | translate: { count: figure })
|
|
10
10
|
"
|
|
11
11
|
>
|
|
12
|
-
<
|
|
12
|
+
<div
|
|
13
13
|
class="{{ bgClass }} {{
|
|
14
14
|
textClass
|
|
15
|
-
}} text-[1.875em] rounded-full mr-[0.55em]
|
|
15
|
+
}} text-[1.875em] rounded-full mr-[0.55em] flex justify-center items-center w-[2.2em] h-[2.2em] shrink-0"
|
|
16
16
|
style="width: 2.2em; height: 2.2em"
|
|
17
|
-
|
|
17
|
+
data-test="icon-container"
|
|
18
18
|
>
|
|
19
|
-
|
|
19
|
+
<ng-icon class="text-[0.66em]" [name]="icon"> </ng-icon>
|
|
20
|
+
</div>
|
|
20
21
|
<div class="shrink overflow-hidden">
|
|
21
22
|
<div class="figure-block text-[1.5em] text-black">
|
|
22
23
|
<span class="figure font-medium mr-[0.3em]" data-test="figure">{{
|