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
|
@@ -9,12 +9,23 @@
|
|
|
9
9
|
<div class="">
|
|
10
10
|
<div class="flex flex-row justify-between">
|
|
11
11
|
<span
|
|
12
|
+
*ngIf="link.accessServiceProtocol !== 'GPFDL'"
|
|
12
13
|
class="bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors"
|
|
13
14
|
[ngClass]="{
|
|
14
|
-
'!bg-primary': currentlyActive
|
|
15
|
+
'!bg-primary': currentlyActive,
|
|
15
16
|
}"
|
|
16
17
|
>{{ link.accessServiceProtocol }}</span
|
|
17
18
|
>
|
|
19
|
+
<span
|
|
20
|
+
*ngIf="link.accessServiceProtocol === 'GPFDL'"
|
|
21
|
+
class="bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors"
|
|
22
|
+
[ngClass]="{
|
|
23
|
+
'!bg-primary': currentlyActive,
|
|
24
|
+
}"
|
|
25
|
+
translate
|
|
26
|
+
>
|
|
27
|
+
record.metadata.api.gpfdl</span
|
|
28
|
+
>
|
|
18
29
|
<div class="flex flex-row gap-2 items-center">
|
|
19
30
|
<gn-ui-copy-text-button
|
|
20
31
|
[text]="link.url"
|
|
@@ -26,7 +37,7 @@
|
|
|
26
37
|
type="button"
|
|
27
38
|
[ngClass]="{
|
|
28
39
|
'py-2 px-4 rounded-r-md bg-gray-400 hover:bg-gray-600 focus:bg-gray-800 text-white':
|
|
29
|
-
displayText
|
|
40
|
+
displayText,
|
|
30
41
|
}"
|
|
31
42
|
[matTooltip]="
|
|
32
43
|
!currentlyActive
|
|
@@ -40,7 +51,7 @@
|
|
|
40
51
|
class="pointer-events-none align-middle card-icon"
|
|
41
52
|
name="matMoreHoriz"
|
|
42
53
|
[ngClass]="{
|
|
43
|
-
'text-secondary opacity-100': currentlyActive
|
|
54
|
+
'text-secondary opacity-100': currentlyActive,
|
|
44
55
|
}"
|
|
45
56
|
></ng-icon>
|
|
46
57
|
</button>
|
|
@@ -46,7 +46,8 @@ export class ApiCardComponent implements OnInit, OnChanges {
|
|
|
46
46
|
ngOnInit() {
|
|
47
47
|
this.displayApiFormButton =
|
|
48
48
|
this.link.accessServiceProtocol === 'ogcFeatures' ||
|
|
49
|
-
this.link.accessServiceProtocol === 'wfs'
|
|
49
|
+
this.link.accessServiceProtocol === 'wfs' ||
|
|
50
|
+
this.link.accessServiceProtocol === 'GPFDL'
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
ngOnChanges(changes: SimpleChanges) {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
>
|
|
21
21
|
<span
|
|
22
22
|
class="pl-2 inline-flex items-center text-gray-800 text-sm"
|
|
23
|
-
*ngIf="
|
|
23
|
+
*ngIf="isFromApi"
|
|
24
24
|
translate=""
|
|
25
|
-
>datahub.search.filter.
|
|
25
|
+
>datahub.search.filter.generatedByAPI</span
|
|
26
26
|
>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
@@ -28,7 +28,7 @@ export class DownloadItemComponent {
|
|
|
28
28
|
@Input() link: DatasetOnlineResource
|
|
29
29
|
@Input() color: string
|
|
30
30
|
@Input() format: string
|
|
31
|
-
@Input()
|
|
31
|
+
@Input() isFromApi: boolean
|
|
32
32
|
@Output() exportUrl = new EventEmitter<string>()
|
|
33
33
|
|
|
34
34
|
openUrl() {
|
|
@@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
|
2
2
|
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
3
3
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
4
4
|
import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
|
|
5
|
-
import {
|
|
5
|
+
import { DatasetDownloadDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
6
6
|
import { CommonModule } from '@angular/common'
|
|
7
7
|
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
8
8
|
import { DownloadItemComponent } from '../download-item/download-item.component'
|
|
@@ -11,7 +11,7 @@ marker('datahub.search.filter.all')
|
|
|
11
11
|
marker('datahub.search.filter.others')
|
|
12
12
|
|
|
13
13
|
const FILTER_FORMATS = ['all', 'csv', 'excel', 'json', 'shp', 'others'] as const
|
|
14
|
-
type FilterFormat = typeof FILTER_FORMATS[number]
|
|
14
|
+
type FilterFormat = (typeof FILTER_FORMATS)[number]
|
|
15
15
|
|
|
16
16
|
@Component({
|
|
17
17
|
selector: 'gn-ui-downloads-list',
|
|
@@ -29,16 +29,45 @@ type FilterFormat = typeof FILTER_FORMATS[number]
|
|
|
29
29
|
export class DownloadsListComponent {
|
|
30
30
|
constructor(private translateService: TranslateService) {}
|
|
31
31
|
|
|
32
|
-
@Input() links:
|
|
32
|
+
@Input() links: DatasetDownloadDistribution[]
|
|
33
33
|
|
|
34
34
|
activeFilterFormats: FilterFormat[] = ['all']
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
private removeDuplicateFormats(
|
|
37
|
+
links: DatasetDownloadDistribution[]
|
|
38
|
+
): DatasetDownloadDistribution[] {
|
|
39
|
+
const preferredLinks = new Map<string, DatasetDownloadDistribution>()
|
|
40
|
+
|
|
41
|
+
links.forEach((link) => {
|
|
42
|
+
const format = getFileFormat(link)
|
|
43
|
+
const withoutNameSpace = (link.name || link.description || '').replace(
|
|
44
|
+
/^.*?:/,
|
|
45
|
+
''
|
|
46
|
+
)
|
|
47
|
+
const uniqueKey = `${format}-${withoutNameSpace}`
|
|
48
|
+
if (!preferredLinks.has(uniqueKey)) {
|
|
49
|
+
preferredLinks.set(uniqueKey, link)
|
|
50
|
+
} else {
|
|
51
|
+
const existingLink = preferredLinks.get(uniqueKey)
|
|
52
|
+
if (
|
|
53
|
+
link.accessServiceProtocol === 'ogcFeatures' &&
|
|
54
|
+
existingLink?.accessServiceProtocol !== 'ogcFeatures'
|
|
55
|
+
) {
|
|
56
|
+
preferredLinks.set(uniqueKey, link)
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
return Array.from(preferredLinks.values())
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
get filteredLinks(): DatasetDownloadDistribution[] {
|
|
65
|
+
const filteredByFormat = this.links.filter((link) =>
|
|
38
66
|
this.activeFilterFormats.some((format) =>
|
|
39
67
|
this.isLinkOfFormat(link, format)
|
|
40
68
|
)
|
|
41
69
|
)
|
|
70
|
+
return this.removeDuplicateFormats(filteredByFormat)
|
|
42
71
|
}
|
|
43
72
|
|
|
44
73
|
get visibleFormats(): FilterFormat[] {
|
|
@@ -78,7 +107,10 @@ export class DownloadsListComponent {
|
|
|
78
107
|
return format
|
|
79
108
|
}
|
|
80
109
|
|
|
81
|
-
isLinkOfFormat(
|
|
110
|
+
isLinkOfFormat(
|
|
111
|
+
link: DatasetDownloadDistribution,
|
|
112
|
+
format: FilterFormat
|
|
113
|
+
): boolean {
|
|
82
114
|
if (format === 'all') {
|
|
83
115
|
return true
|
|
84
116
|
}
|
|
@@ -96,15 +128,19 @@ export class DownloadsListComponent {
|
|
|
96
128
|
return getFileFormat(link).includes(format)
|
|
97
129
|
}
|
|
98
130
|
|
|
99
|
-
getLinkFormat(link:
|
|
131
|
+
getLinkFormat(link: DatasetDownloadDistribution) {
|
|
100
132
|
return getFileFormat(link)
|
|
101
133
|
}
|
|
102
134
|
|
|
103
|
-
getLinkColor(link:
|
|
135
|
+
getLinkColor(link: DatasetDownloadDistribution) {
|
|
104
136
|
return getBadgeColor(getFileFormat(link))
|
|
105
137
|
}
|
|
106
138
|
|
|
107
|
-
|
|
108
|
-
return
|
|
139
|
+
isFromApi(link: DatasetDownloadDistribution) {
|
|
140
|
+
return (
|
|
141
|
+
link.type === 'download' &&
|
|
142
|
+
(link.accessServiceProtocol === 'wfs' ||
|
|
143
|
+
link.accessServiceProtocol === 'ogcFeatures')
|
|
144
|
+
)
|
|
109
145
|
}
|
|
110
146
|
}
|
|
@@ -6,7 +6,10 @@ import { Directive, ElementRef, OnInit, Renderer2 } from '@angular/core'
|
|
|
6
6
|
standalone: true,
|
|
7
7
|
})
|
|
8
8
|
export class GnUiLinkifyDirective implements OnInit {
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(
|
|
10
|
+
private el: ElementRef,
|
|
11
|
+
private renderer: Renderer2
|
|
12
|
+
) {}
|
|
10
13
|
|
|
11
14
|
ngOnInit() {
|
|
12
15
|
setTimeout(() => {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<gn-ui-expandable-panel
|
|
98
98
|
*ngIf="
|
|
99
99
|
metadata.lineage ||
|
|
100
|
-
metadata.
|
|
100
|
+
metadata.resourceUpdated ||
|
|
101
101
|
metadata.updateFrequency ||
|
|
102
102
|
metadata.status
|
|
103
103
|
"
|
|
@@ -160,16 +160,16 @@
|
|
|
160
160
|
<div
|
|
161
161
|
class="py-6 px-6 rounded bg-gray-100 grid grid-cols-2 gap-y-6 gap-x-[20px] text-gray-700"
|
|
162
162
|
>
|
|
163
|
-
<div *ngIf="metadata.
|
|
163
|
+
<div *ngIf="metadata.resourceCreated">
|
|
164
164
|
<p class="text-sm" translate>record.metadata.creation</p>
|
|
165
165
|
<p class="text-primary font-medium mt-1">
|
|
166
|
-
{{ metadata.
|
|
166
|
+
{{ metadata.resourceCreated.toLocaleDateString() }}
|
|
167
167
|
</p>
|
|
168
168
|
</div>
|
|
169
|
-
<div *ngIf="metadata.
|
|
169
|
+
<div *ngIf="metadata.resourcePublished">
|
|
170
170
|
<p class="text-sm" translate>record.metadata.publication</p>
|
|
171
171
|
<p class="text-primary font-medium mt-1">
|
|
172
|
-
{{ metadata.
|
|
172
|
+
{{ metadata.resourcePublished.toLocaleDateString() }}
|
|
173
173
|
</p>
|
|
174
174
|
</div>
|
|
175
175
|
<div *ngIf="updateFrequency">
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
translate
|
|
203
203
|
[translateParams]="{
|
|
204
204
|
start: temporalExtent.start,
|
|
205
|
-
end: temporalExtent.end
|
|
205
|
+
end: temporalExtent.end,
|
|
206
206
|
}"
|
|
207
207
|
>
|
|
208
208
|
record.metadata.temporalExtent.fromDateToDate
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Pipe, PipeTransform } from '@angular/core'
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core'
|
|
3
|
-
import { formatDistance } from 'date-fns'
|
|
4
|
-
import { de, enUS, es, fr, it, nl, pt, sk } from 'date-fns/locale'
|
|
3
|
+
import { formatDistance } from 'date-fns/formatDistance'
|
|
4
|
+
import { de, enUS, es, fr, it, Locale, nl, pt, sk } from 'date-fns/locale'
|
|
5
5
|
|
|
6
6
|
@Pipe({
|
|
7
7
|
name: 'timeSince',
|
|
@@ -54,7 +54,10 @@ export class ChipsInputComponent implements OnInit, OnDestroy {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
constructor(
|
|
57
|
+
constructor(
|
|
58
|
+
private http: HttpClient,
|
|
59
|
+
private translate: TranslateService
|
|
60
|
+
) {
|
|
58
61
|
this.rawChange = new Subject<Items[]>()
|
|
59
62
|
this.itemsChange = this.rawChange.pipe(distinctUntilChanged())
|
|
60
63
|
this.subscription = new Subscription()
|
|
@@ -19,7 +19,10 @@ export class EditableLabelDirective implements OnChanges, AfterViewInit {
|
|
|
19
19
|
|
|
20
20
|
appendedInput: HTMLInputElement
|
|
21
21
|
|
|
22
|
-
constructor(
|
|
22
|
+
constructor(
|
|
23
|
+
private el: ElementRef,
|
|
24
|
+
private renderer: Renderer2
|
|
25
|
+
) {}
|
|
23
26
|
|
|
24
27
|
ngOnChanges() {
|
|
25
28
|
if (this.appendedInput) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
'border-primary-lighter bg-primary-white': dragFilesOver,
|
|
7
7
|
'border-gray-300': !dragFilesOver,
|
|
8
8
|
'cursor-pointer hover:border-gray-500': !isUploadInProgress && !disabled,
|
|
9
|
-
'cursor-not-allowed': disabled
|
|
9
|
+
'cursor-not-allowed': disabled,
|
|
10
10
|
}"
|
|
11
11
|
[attr.tabindex]="isUploadInProgress || disabled ? null : 0"
|
|
12
12
|
(dragFilesOver)="handleDragFilesOver($event)"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
'border-gray-300': !dragFilesOver,
|
|
56
56
|
'cursor-pointer hover:border-gray-500':
|
|
57
57
|
!isUploadInProgress && !uploadError && !showUrlInput && !disabled,
|
|
58
|
-
'cursor-not-allowed': disabled
|
|
58
|
+
'cursor-not-allowed': disabled,
|
|
59
59
|
}"
|
|
60
60
|
[attr.tabindex]="
|
|
61
61
|
isUploadInProgress || uploadError || showUrlInput || disabled ? null : 0
|
|
@@ -86,7 +86,10 @@ export class ImageInputComponent {
|
|
|
86
86
|
return this.uploadProgress !== undefined
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
constructor(
|
|
89
|
+
constructor(
|
|
90
|
+
private http: HttpClient,
|
|
91
|
+
private cd: ChangeDetectorRef
|
|
92
|
+
) {}
|
|
90
93
|
|
|
91
94
|
getPrimaryText() {
|
|
92
95
|
if (this.uploadError) {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
/>
|
|
14
14
|
<div
|
|
15
15
|
class="absolute inset-y-[var(--side-padding)] left-[var(--2x-side-padding)] grid justify-center items-center pointer-events-none"
|
|
16
|
-
[ngClass]=
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
16
|
+
[ngClass]="{
|
|
17
|
+
'text-primary': !disabled,
|
|
18
|
+
'text-primary-lightest': disabled,
|
|
19
|
+
}"
|
|
20
20
|
>
|
|
21
21
|
<ng-icon name="iconoirLink"></ng-icon>
|
|
22
22
|
</div>
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
.cdk-drag-preview {
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
border-radius: 4px;
|
|
4
|
-
box-shadow:
|
|
5
|
-
0
|
|
4
|
+
box-shadow:
|
|
5
|
+
0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
6
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
7
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.cdk-drag-placeholder {
|
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
>
|
|
10
10
|
<gn-ui-thumbnail
|
|
11
11
|
class="relative h-full w-full object-cover object-left-top"
|
|
12
|
-
[thumbnailUrl]="[
|
|
12
|
+
[thumbnailUrl]="[
|
|
13
|
+
record.overviews?.[0]?.url?.toString(),
|
|
14
|
+
organization?.logoUrl?.toString(),
|
|
15
|
+
]"
|
|
13
16
|
[fit]="['cover', 'contain']"
|
|
14
17
|
></gn-ui-thumbnail>
|
|
15
18
|
</div>
|
|
@@ -30,7 +33,10 @@
|
|
|
30
33
|
class="abstract mt-4 mb-5 h-36 line-clamp-6 col-start-1 col-span-2 row-start-3 sm:mb-2 sm:h-[4.5rem] sm:line-clamp-3 sm:row-start-2 sm:mt-0"
|
|
31
34
|
data-cy="recordAbstract"
|
|
32
35
|
>
|
|
33
|
-
|
|
36
|
+
<gn-ui-markdown-parser
|
|
37
|
+
[textContent]="abstract"
|
|
38
|
+
whitoutStyles="true"
|
|
39
|
+
></gn-ui-markdown-parser>
|
|
34
40
|
</div>
|
|
35
41
|
<div
|
|
36
42
|
class="text-primary opacity-45 uppercase col-start-1 col-span-2 row-start-2 sm:truncate sm:row-start-3 sm:col-span-1"
|
|
@@ -14,7 +14,7 @@ export class ResultsLayoutConfigItem {
|
|
|
14
14
|
constructor(
|
|
15
15
|
public component: Type<RecordPreviewComponent>,
|
|
16
16
|
public itemClass: string = DEFAULT_ITEM_CLS,
|
|
17
|
-
public itemStyle
|
|
17
|
+
public itemStyle = '',
|
|
18
18
|
public containerClass: string = DEFAULT_CONTAINER_CLS
|
|
19
19
|
) {}
|
|
20
20
|
}
|
|
@@ -40,7 +40,10 @@ export class ActionMenuComponent {
|
|
|
40
40
|
|
|
41
41
|
sectionDisplayed: ActionMenuPage = 'mainMenu'
|
|
42
42
|
|
|
43
|
-
constructor(
|
|
43
|
+
constructor(
|
|
44
|
+
public dialog: MatDialog,
|
|
45
|
+
private cdr: ChangeDetectorRef
|
|
46
|
+
) {}
|
|
44
47
|
|
|
45
48
|
openMenu() {
|
|
46
49
|
this.trigger.openMenu()
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
(sortChange)="setSortBy('recordOwner', $event)"
|
|
85
85
|
>
|
|
86
86
|
<ng-template #header>
|
|
87
|
-
<span translate>
|
|
87
|
+
<span translate>search.filters.user</span>
|
|
88
88
|
</ng-template>
|
|
89
89
|
<ng-template #cell let-item>
|
|
90
90
|
<ng-icon name="iconoirUser" size="16px"></ng-icon>
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
(sortChange)="setSortBy('changeDate', $event)"
|
|
120
120
|
>
|
|
121
121
|
<ng-template #header>
|
|
122
|
-
<span translate>
|
|
122
|
+
<span translate>search.filters.changeDate</span>
|
|
123
123
|
</ng-template>
|
|
124
124
|
<ng-template #cell let-item>
|
|
125
125
|
<div class="flex text-left w-full text-xs">
|
|
@@ -149,6 +149,7 @@ export function loadAppConfig() {
|
|
|
149
149
|
'max_zoom',
|
|
150
150
|
'do_not_tile_wms',
|
|
151
151
|
'max_extent',
|
|
152
|
+
'max_feature_count',
|
|
152
153
|
'baselayer',
|
|
153
154
|
'do_not_use_default_basemap',
|
|
154
155
|
'external_viewer_url_template',
|
|
@@ -164,6 +165,7 @@ export function loadAppConfig() {
|
|
|
164
165
|
MAX_ZOOM: parsedMapSection.max_zoom,
|
|
165
166
|
DO_NOT_TILE_WMS: parsedMapSection.do_not_tile_wms,
|
|
166
167
|
MAX_EXTENT: parsedMapSection.max_extent,
|
|
168
|
+
MAX_FEATURE_COUNT: parsedMapSection.max_feature_count,
|
|
167
169
|
EXTERNAL_VIEWER_URL_TEMPLATE:
|
|
168
170
|
parsedMapSection.external_viewer_url_template,
|
|
169
171
|
EXTERNAL_VIEWER_OPEN_NEW_TAB:
|
|
@@ -179,7 +181,7 @@ export function loadAppConfig() {
|
|
|
179
181
|
DATA: map_layer.data,
|
|
180
182
|
STYLE_URL: map_layer.styleUrl,
|
|
181
183
|
ACCESS_TOKEN: map_layer.accessToken,
|
|
182
|
-
} as LayerConfig
|
|
184
|
+
}) as LayerConfig
|
|
183
185
|
),
|
|
184
186
|
} as MapConfig)
|
|
185
187
|
|
|
@@ -26,6 +26,7 @@ export interface MapConfig {
|
|
|
26
26
|
MAX_ZOOM?: number
|
|
27
27
|
DO_NOT_TILE_WMS: boolean
|
|
28
28
|
MAX_EXTENT?: [number, number, number, number] // Expressed as [minx, miny, maxx, maxy]
|
|
29
|
+
MAX_FEATURE_COUNT?: number
|
|
29
30
|
EXTERNAL_VIEWER_URL_TEMPLATE?: string
|
|
30
31
|
EXTERNAL_VIEWER_OPEN_NEW_TAB?: boolean
|
|
31
32
|
DO_NOT_USE_DEFAULT_BASEMAP: boolean
|
|
@@ -48,11 +48,11 @@ export const ExcelMimeTypes = [
|
|
|
48
48
|
export const GmlMimeTypes = ['application/gml+xml'] as const
|
|
49
49
|
|
|
50
50
|
export type SupportedMimeType =
|
|
51
|
-
| typeof CsvMimeTypes[number]
|
|
52
|
-
| typeof JsonMimeTypes[number]
|
|
53
|
-
| typeof GeoJsonMimeTypes[number]
|
|
54
|
-
| typeof ExcelMimeTypes[number]
|
|
55
|
-
| typeof GmlMimeTypes[number]
|
|
51
|
+
| (typeof CsvMimeTypes)[number]
|
|
52
|
+
| (typeof JsonMimeTypes)[number]
|
|
53
|
+
| (typeof GeoJsonMimeTypes)[number]
|
|
54
|
+
| (typeof ExcelMimeTypes)[number]
|
|
55
|
+
| (typeof GmlMimeTypes)[number]
|
|
56
56
|
|
|
57
57
|
export const SupportedTypes = [
|
|
58
58
|
'csv',
|
|
@@ -61,7 +61,7 @@ export const SupportedTypes = [
|
|
|
61
61
|
'excel',
|
|
62
62
|
'gml',
|
|
63
63
|
] as const
|
|
64
|
-
export type SupportedType = typeof SupportedTypes[number]
|
|
64
|
+
export type SupportedType = (typeof SupportedTypes)[number]
|
|
65
65
|
|
|
66
66
|
export const AllMimeTypes = {
|
|
67
67
|
csv: CsvMimeTypes,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from './model'
|
|
9
9
|
import { sharedFetch, useCache } from '@camptocamp/ogc-client'
|
|
10
10
|
import { parseHeaders } from './headers'
|
|
11
|
-
import parseDate from 'date-fns/parse'
|
|
12
|
-
import parseIsoDate from 'date-fns/parseISO'
|
|
11
|
+
import { parse as parseDate } from 'date-fns/parse'
|
|
12
|
+
import { parseISO as parseIsoDate } from 'date-fns/parseISO'
|
|
13
13
|
|
|
14
14
|
export async function inferDatasetType(
|
|
15
15
|
url: string,
|
|
@@ -89,20 +89,22 @@ export function fetchDataAsArrayBuffer(url: string): Promise<ArrayBuffer> {
|
|
|
89
89
|
})
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
export function tryParseDate(input:
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
export function tryParseDate(input: unknown): Date | null {
|
|
93
|
+
if (typeof input !== 'string') return null
|
|
94
|
+
|
|
95
|
+
function tryIso(value: string) {
|
|
96
|
+
const parsed = parseIsoDate(value)
|
|
95
97
|
return isNaN(parsed.getDate()) ? null : parsed
|
|
96
98
|
}
|
|
97
|
-
function tryFormat(format: string) {
|
|
98
|
-
const parsed = parseDate(
|
|
99
|
+
function tryFormat(value: string, format: string) {
|
|
100
|
+
const parsed = parseDate(value, format, new Date())
|
|
99
101
|
return isNaN(parsed.getDate()) ? null : parsed
|
|
100
102
|
}
|
|
101
103
|
return (
|
|
102
|
-
tryIso() ||
|
|
103
|
-
tryFormat('dd/MM/yyyy') ||
|
|
104
|
-
tryFormat('dd.MM.yyyy') ||
|
|
105
|
-
tryFormat('MM/dd/yyyy') ||
|
|
104
|
+
tryIso(input) ||
|
|
105
|
+
tryFormat(input, 'dd/MM/yyyy') ||
|
|
106
|
+
tryFormat(input, 'dd.MM.yyyy') ||
|
|
107
|
+
tryFormat(input, 'MM/dd/yyyy') ||
|
|
106
108
|
null
|
|
107
109
|
)
|
|
108
110
|
}
|
|
@@ -138,7 +138,7 @@ export function getLinkPriority(link: DatasetOnlineResource): number {
|
|
|
138
138
|
export function getFileFormatFromServiceOutput(
|
|
139
139
|
serviceOutput: string
|
|
140
140
|
): FileFormat | null {
|
|
141
|
-
function formatMatcher(format: typeof FORMATS[FileFormat]): boolean {
|
|
141
|
+
function formatMatcher(format: (typeof FORMATS)[FileFormat]): boolean {
|
|
142
142
|
const output = serviceOutput.toLowerCase()
|
|
143
143
|
return (
|
|
144
144
|
format.extensions.some((extension: string) =>
|