geonetwork-ui 2.4.0-dev.fdf8f64b → 2.4.1-dev.73bac9979
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 +51 -35
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +71 -40
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +37 -26
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +30 -8
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +32 -12
- 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 +7 -6
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +31 -18
- 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 +11 -5
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +36 -12
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +45 -18
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +150 -87
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +114 -28
- 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 +6 -62
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +134 -63
- package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +77 -22
- package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +36 -9
- package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.mjs +12 -0
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +50 -25
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/index.mjs +2 -1
- 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 +61 -15
- 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 +59 -31
- 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/error/index.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/model/error/publication-version.error.mjs +8 -0
- package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +19 -19
- package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +27 -1
- package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/record/translation.model.mjs +2 -0
- package/esm2022/libs/common/domain/src/lib/model/search/filter.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/model/search/sort-by.model.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.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 +14 -21
- 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 +41 -16
- 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 +6 -6
- 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/index.mjs +1 -2
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +18 -11
- package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +7 -6
- 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 +7 -10
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +20 -9
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +16 -10
- package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +4 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +23 -6
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +12 -4
- package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +25 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +68 -0
- package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +5 -6
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +18 -10
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +36 -18
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +23 -9
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +8 -7
- 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 +76 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.mjs +35 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +130 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +19 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.mjs +19 -0
- 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 +31 -50
- 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 +18 -11
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +17 -12
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +17 -17
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +19 -12
- 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 +7 -26
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +6 -30
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.mjs +44 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +19 -9
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +41 -65
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +29 -12
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +6 -6
- 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 +77 -13
- package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +9 -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 +5 -9
- 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 +33 -15
- 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 +6 -5
- package/esm2022/libs/feature/record/src/index.mjs +4 -1
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +17 -10
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +12 -10
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +18 -10
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +13 -11
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +12 -10
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +25 -58
- 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 +56 -20
- package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +45 -0
- 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/constants.mjs +1 -1
- 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 +50 -0
- package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +8 -8
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -8
- package/esm2022/libs/feature/search/src/index.mjs +3 -1
- package/esm2022/libs/feature/search/src/lib/constants.mjs +2 -2
- 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 +7 -7
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +22 -19
- package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +30 -8
- 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 +15 -10
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +6 -6
- package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +67 -0
- package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +84 -0
- package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +9 -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 +7 -9
- package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +1 -9
- 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 +63 -8
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +13 -6
- package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
- package/esm2022/libs/ui/catalog/src/index.mjs +1 -2
- package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +6 -5
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +15 -19
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +17 -7
- 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 +6 -5
- package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +6 -6
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +7 -7
- package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +6 -6
- package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +33 -7
- package/esm2022/libs/ui/elements/src/index.mjs +1 -3
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +28 -9
- 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 +6 -5
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +19 -8
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +40 -12
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +25 -7
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +17 -9
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +17 -7
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -6
- 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 +7 -6
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +28 -8
- package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +7 -6
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +43 -16
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +16 -9
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +10 -8
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +38 -7
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +40 -35
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +20 -11
- package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +17 -98
- 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 +29 -11
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -5
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +32 -14
- package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +21 -7
- 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 +7 -7
- 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 +10 -7
- package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +19 -9
- package/esm2022/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.mjs +65 -0
- package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +19 -9
- 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 +8 -8
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +25 -9
- 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 +32 -11
- 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 +38 -11
- package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +7 -7
- package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +17 -7
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +8 -6
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +8 -5
- 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 +31 -26
- package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +52 -23
- package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/index.mjs +6 -1
- 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 +20 -15
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +27 -22
- package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +9 -7
- package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +8 -6
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +7 -6
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +6 -4
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +12 -8
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +6 -6
- package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +5 -5
- package/esm2022/libs/ui/layout/src/lib/paginable.interface.mjs +2 -0
- package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +52 -0
- package/esm2022/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.mjs +52 -0
- package/esm2022/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.mjs +36 -0
- package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +26 -0
- package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +5 -13
- 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 +17 -26
- package/esm2022/libs/ui/map/src/index.mjs +2 -1
- 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 +20 -10
- package/esm2022/libs/ui/map/src/lib/components/map-legend/map-legend.component.mjs +32 -0
- 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 +8 -7
- 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 +10 -9
- 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 +25 -33
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +74 -32
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +34 -12
- 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 +7 -6
- 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 +8 -8
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +5 -5
- package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +5 -5
- 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 +9 -34
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +9 -2
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +7 -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/index.mjs +2 -1
- package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +1 -38
- package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
- package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +6 -6
- package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +40 -0
- 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 +17 -17
- 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 +9 -0
- 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/index.mjs +3 -1
- package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +19 -0
- 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 +70 -35
- package/esm2022/translations/en.json +129 -75
- package/esm2022/translations/es.json +59 -24
- package/esm2022/translations/fr.json +129 -75
- package/esm2022/translations/it.json +62 -27
- package/esm2022/translations/nl.json +59 -24
- package/esm2022/translations/pt.json +59 -24
- package/fesm2022/geonetwork-ui.mjs +7406 -5147
- 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 +2 -2
- package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts +6 -5
- package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts +11 -5
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/function-utils.d.ts +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.converter.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 +6 -3
- 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 +5 -2
- 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 +4 -2
- 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 +14 -4
- package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +16 -9
- 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 +47 -4
- 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 +14 -2
- package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.d.ts +4 -0
- package/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.d.ts.map +1 -0
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +5 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/index.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/elasticsearch/index.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +15 -8
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +5 -17
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.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/error/index.d.ts +2 -0
- package/libs/common/domain/src/lib/model/error/index.d.ts.map +1 -0
- package/libs/common/domain/src/lib/model/error/publication-version.error.d.ts +5 -0
- package/libs/common/domain/src/lib/model/error/publication-version.error.d.ts.map +1 -0
- 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/index.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +29 -8
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/organization.model.d.ts +2 -0
- package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/translation.model.d.ts +26 -0
- package/libs/common/domain/src/lib/model/record/translation.model.d.ts.map +1 -0
- package/libs/common/domain/src/lib/model/search/filter.model.d.ts +16 -1
- package/libs/common/domain/src/lib/model/search/filter.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/search/sort-by.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +4 -4
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +5 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.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/catalog/src/lib/feature-catalog.module.d.ts +8 -9
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts +10 -3
- package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/index.d.ts +0 -1
- package/libs/feature/dataviz/src/index.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts +1 -1
- package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +1 -1
- package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.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/dataviz/src/lib/table-view/table-view.component.d.ts +1 -1
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +33 -9
- 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 +18 -10
- 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 +11 -4
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.models.d.ts +1 -1
- package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -0
- package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +8 -1
- package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts +16 -0
- package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +2 -1
- package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts +18 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.d.ts +6 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.d.ts +32 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.d.ts +9 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.d.ts.map +1 -0
- 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-license/form-field-license.component.d.ts +14 -35
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +5 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +4 -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-open-data/form-field-open-data.component.d.ts +1 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +5 -2
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +2 -8
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +3 -7
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.d.ts +14 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +11 -9
- 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/components/record-form/form-field/index.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +11 -3
- package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +6 -3
- package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/services/editor.service.d.ts +4 -0
- package/libs/feature/editor/src/lib/services/editor.service.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/map/src/lib/feature-map.module.d.ts +9 -10
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/notifications/src/lib/notifications.service.d.ts +1 -1
- package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -1
- package/libs/feature/record/src/index.d.ts +3 -0
- package/libs/feature/record/src/index.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +1 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +1 -1
- package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +1 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/feature-record.module.d.ts +15 -25
- 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 +7 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +14 -0
- package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts.map +1 -0
- 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 +3 -2
- package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts +4 -0
- package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts.map +1 -0
- 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.facade.d.ts +1 -1
- package/libs/feature/router/src/lib/default/state/router.facade.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/index.d.ts +2 -0
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/feature-search.module.d.ts +17 -15
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +7 -1
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -0
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +22 -0
- package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -0
- package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts +34 -0
- package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -0
- package/libs/feature/search/src/lib/sort-by/sort-by.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/state/search.facade.d.ts +0 -2
- package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/selectors.d.ts +0 -2
- package/libs/feature/search/src/lib/state/selectors.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.d.ts +24 -6
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts +4 -2
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/catalog/src/index.d.ts +0 -1
- package/libs/ui/catalog/src/index.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.d.ts +1 -1
- package/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.d.ts +10 -8
- package/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +1 -1
- package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.d.ts +1 -1
- package/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +3 -3
- package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +0 -2
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/content-ghost/content-ghost.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/content-ghost/content-ghost.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/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +10 -9
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/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-catalog/metadata-catalog.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts +2 -2
- package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts +2 -2
- package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts +1 -0
- package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +6 -17
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +19 -37
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +1 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts +2 -2
- package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.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/copy-text-button/copy-text-button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.d.ts +20 -0
- package/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.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/file-input/file-input.component.d.ts +3 -2
- package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +28 -31
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +14 -12
- package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +5 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +7 -5
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +9 -7
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +1 -1
- package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.d.ts +1 -1
- package/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +2 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/paginable.interface.d.ts +15 -0
- package/libs/ui/layout/src/lib/paginable.interface.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/pagination/pagination.component.d.ts +11 -0
- package/libs/ui/layout/src/lib/pagination/pagination.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.d.ts +9 -0
- package/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.d.ts +10 -0
- package/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +8 -0
- package/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts +6 -8
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/ui/map/src/index.d.ts +1 -0
- package/libs/ui/map/src/index.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/map-container/map-container.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/map/src/lib/components/map-legend/map-legend.component.d.ts +12 -0
- package/libs/ui/map/src/lib/components/map-legend/map-legend.component.d.ts.map +1 -0
- 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 +10 -6
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +11 -4
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/ui-search.module.d.ts +6 -5
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +9 -13
- package/libs/ui/widgets/src/lib/ui-widgets.module.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/fixtures.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +6 -1
- 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/i18n/src/index.d.ts +1 -0
- package/libs/util/i18n/src/index.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.constants.d.ts +0 -35
- package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/language-codes.d.ts +38 -0
- package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -0
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +16 -16
- 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/format-fields.d.ts +2 -0
- package/libs/util/shared/src/lib/utils/format-fields.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts +2 -0
- package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts +2 -0
- package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts.map +1 -0
- 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 +160 -34
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +140 -47
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +62 -47
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +37 -7
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +51 -18
- package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +473 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +36 -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/geo2france.records.ts +20 -3
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +336 -5
- 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 +84 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +336 -9
- package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +404 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +4 -1
- 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/function-utils.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.converter.ts +2 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +29 -23
- 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 +15 -3
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +69 -20
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +100 -25
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +165 -81
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +279 -49
- package/src/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.ts +9 -62
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +446 -172
- package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +97 -24
- package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +35 -6
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.ts +13 -0
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +58 -23
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/index.ts +1 -0
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +111 -52
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +1 -1
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +113 -31
- package/src/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/error/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/error/publication-version.error.ts +9 -0
- package/src/libs/common/domain/src/lib/model/record/contact.model.ts +1 -1
- package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +73 -14
- package/src/libs/common/domain/src/lib/model/record/organization.model.ts +4 -0
- package/src/libs/common/domain/src/lib/model/record/translation.model.ts +49 -0
- package/src/libs/common/domain/src/lib/model/search/filter.model.ts +17 -1
- package/src/libs/common/domain/src/lib/model/search/sort-by.model.ts +1 -0
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +4 -3
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +4 -0
- package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +10 -3
- package/src/libs/common/fixtures/src/lib/elasticsearch/full-response.fixtures.ts +1673 -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/common/fixtures/src/lib/records.fixtures.ts +117 -15
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -9
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -5
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +41 -5
- package/src/libs/feature/dataviz/src/index.ts +0 -1
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +1 -1
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +20 -2
- package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +3 -1
- package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +6 -1
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +30 -7
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -1
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +15 -2
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +16 -0
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +41 -2
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -0
- package/src/libs/feature/editor/src/lib/+state/editor.models.ts +1 -1
- package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +27 -0
- package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +5 -0
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.html +28 -0
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +71 -0
- package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +1 -2
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +3 -0
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +7 -6
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +12 -2
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +3 -4
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +32 -11
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +15 -2
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +2 -0
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +1 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.html +24 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +85 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.ts +42 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.css +4 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.html +34 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +210 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +13 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-date-updated/form-field-date-updated.component.ts → form-field-date/form-field-date.component.ts} +4 -4
- 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-license/form-field-license.component.html +11 -8
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +33 -45
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +55 -40
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +29 -18
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +83 -66
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +27 -17
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +15 -12
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +22 -11
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +30 -17
- 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-simple/form-field-simple.component.html +4 -25
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +3 -23
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -5
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -42
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.html +5 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.ts +60 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +3 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +13 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +1 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +46 -74
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +58 -21
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +33 -8
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +6 -1
- package/src/libs/feature/editor/src/lib/fields.config.ts +83 -12
- package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +12 -4
- package/src/libs/feature/editor/src/lib/services/editor.service.ts +7 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +2 -2
- package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -2
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +3 -5
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +23 -4
- package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -1
- package/src/libs/feature/record/src/index.ts +3 -0
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +1 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +15 -0
- package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +5 -0
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +16 -1
- package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +5 -0
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +1 -1
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +8 -1
- package/src/libs/feature/record/src/lib/feature-record.module.ts +11 -38
- 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.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.html +50 -12
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +62 -4
- package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +45 -0
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +10 -1
- package/src/libs/feature/router/src/lib/default/constants.ts +6 -1
- package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +61 -0
- package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +5 -3
- package/src/libs/feature/search/src/index.ts +2 -0
- package/src/libs/feature/search/src/lib/constants.ts +1 -1
- package/src/libs/feature/search/src/lib/facets/facets.service.ts +4 -4
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +3 -0
- package/src/libs/feature/search/src/lib/feature-search.module.ts +15 -8
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +20 -10
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +32 -1
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -6
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +12 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +16 -12
- package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.css +0 -0
- package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.html +17 -0
- package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +78 -0
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.css +0 -0
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.html +20 -0
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +118 -0
- package/src/libs/feature/search/src/lib/sort-by/sort-by.component.ts +4 -0
- 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/feature/search/src/lib/state/search.facade.ts +0 -8
- package/src/libs/feature/search/src/lib/state/selectors.ts +0 -18
- package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +20 -3
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +91 -12
- package/src/libs/ui/catalog/src/index.ts +0 -1
- package/src/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.ts +3 -0
- package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
- package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.ts +15 -21
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +2 -3
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +11 -0
- package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +3 -0
- package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +1 -1
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +6 -5
- package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +17 -2
- package/src/libs/ui/elements/src/index.ts +0 -2
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +18 -8
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +21 -1
- package/src/libs/ui/elements/src/lib/content-ghost/content-ghost.component.ts +3 -0
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +7 -5
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +12 -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 +57 -11
- package/src/libs/ui/elements/src/lib/error/error.component.css +24 -19
- package/src/libs/ui/elements/src/lib/error/error.component.html +11 -21
- package/src/libs/ui/elements/src/lib/error/error.component.ts +19 -0
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +3 -6
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +15 -0
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +2 -6
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +13 -2
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +0 -2
- 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-catalog/metadata-catalog.component.ts +4 -1
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +20 -22
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +24 -0
- package/src/libs/ui/elements/src/lib/metadata-info/linkify.directive.ts +7 -3
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +47 -26
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +43 -1
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +18 -1
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +7 -1
- package/src/libs/ui/elements/src/lib/notification/notification.component.html +10 -14
- package/src/libs/ui/elements/src/lib/notification/notification.component.ts +33 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.css +2 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +44 -35
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +4 -4
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +15 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -55
- package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +2 -2
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +2 -6
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +22 -0
- package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -4
- package/src/libs/ui/inputs/src/index.ts +1 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +3 -10
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +5 -5
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +18 -2
- package/src/libs/ui/inputs/src/lib/badge/badge.component.html +2 -2
- package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +15 -2
- package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.html +4 -1
- package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts +3 -3
- 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 +5 -6
- package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.ts +7 -0
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +1 -3
- package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +13 -2
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +5 -0
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +30 -0
- package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +63 -0
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +1 -3
- package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +13 -2
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +16 -20
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +7 -7
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +16 -2
- 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 +14 -13
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +19 -3
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +32 -28
- package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +32 -3
- package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +1 -3
- package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +4 -1
- package/src/libs/ui/inputs/src/lib/search-input/search-input.component.html +2 -2
- package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +13 -2
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -9
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +2 -6
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +6 -0
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +1 -0
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +1 -0
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +21 -11
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +1 -1
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +12 -21
- package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +49 -20
- package/src/libs/ui/layout/src/index.ts +5 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +0 -16
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +4 -12
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +20 -11
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -16
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -12
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +22 -19
- package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +2 -4
- package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +8 -2
- package/src/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.html +2 -6
- package/src/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.ts +6 -0
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
- package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts +1 -0
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +4 -8
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +9 -9
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +13 -3
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
- package/src/libs/ui/layout/src/lib/paginable.interface.ts +14 -0
- package/src/libs/ui/layout/src/lib/pagination/pagination.component.css +0 -0
- package/src/libs/ui/{elements → layout}/src/lib/pagination/pagination.component.html +12 -13
- package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +45 -0
- package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.css +0 -0
- package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.html +51 -0
- package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.ts +50 -0
- package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.css +16 -0
- package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.html +15 -0
- package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.ts +31 -0
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +18 -0
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +29 -0
- package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.css +4 -2
- package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.ts +1 -9
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +8 -15
- package/src/libs/ui/map/src/index.ts +1 -0
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.html +4 -3
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +13 -2
- package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.css +5 -0
- package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.html +1 -0
- package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.ts +39 -0
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +17 -13
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +16 -10
- 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.html +59 -26
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +17 -30
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +35 -27
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +89 -28
- package/src/libs/ui/search/src/lib/ui-search.module.ts +22 -3
- package/src/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.ts +4 -6
- package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.html +2 -4
- package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +8 -2
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts +1 -0
- package/src/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.ts +1 -0
- package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +2 -2
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -18
- package/src/libs/util/app-config/src/lib/app-config.ts +9 -2
- package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
- package/src/libs/util/app-config/src/lib/map-layers.ts +6 -0
- package/src/libs/util/app-config/src/lib/model.ts +6 -1
- 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/i18n/src/index.ts +1 -0
- package/src/libs/util/i18n/src/lib/i18n.constants.ts +0 -43
- package/src/libs/util/i18n/src/lib/lang.service.ts +1 -1
- package/src/libs/util/i18n/src/lib/language-codes.ts +44 -0
- 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 +17 -17
- package/src/libs/util/shared/src/lib/services/proxy.service.ts +7 -3
- package/src/libs/util/shared/src/lib/utils/format-fields.ts +11 -0
- package/src/libs/util/shared/src/lib/utils/index.ts +2 -0
- package/src/libs/util/shared/src/lib/utils/no-duplicate-file-name.ts +23 -0
- package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -1
- package/tailwind.base.css +17 -6
- package/translations/de.json +70 -35
- package/translations/en.json +129 -75
- package/translations/es.json +59 -24
- package/translations/fr.json +129 -75
- package/translations/it.json +62 -27
- package/translations/nl.json +59 -24
- package/translations/pt.json +59 -24
- package/translations/sk.json +60 -25
- package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +0 -74
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +0 -19
- package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +0 -57
- package/esm2022/libs/ui/elements/src/lib/pagination/pagination.component.mjs +0 -54
- package/esm2022/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.mjs +0 -66
- package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +0 -29
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +0 -22
- package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +0 -9
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts.map +0 -1
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +0 -17
- package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/pagination/pagination.component.d.ts +0 -16
- package/libs/ui/elements/src/lib/pagination/pagination.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.d.ts +0 -17
- package/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +0 -12
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +0 -1
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/update-frequency.mapper.ts +0 -67
- package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +0 -48
- package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +0 -35
- package/src/libs/ui/elements/src/lib/pagination/pagination.component.ts +0 -50
- package/src/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.html +0 -33
- package/src/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.ts +0 -68
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +0 -26
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +0 -32
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-date-updated/form-field-date-updated.component.css → form-field-date/form-field-date.component.css} +0 -0
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-date-updated/form-field-date-updated.component.html → form-field-date/form-field-date.component.html} +0 -0
- /package/src/libs/{ui/elements/src/lib/pagination-buttons/pagination-buttons.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.css} +0 -0
- /package/src/libs/{ui/elements/src/lib/pagination/pagination.component.css → feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.css} +0 -0
- /package/src/libs/ui/{inputs → layout}/src/lib/previous-next-buttons/previous-next-buttons.component.css +0 -0
|
@@ -4,9 +4,13 @@ import {
|
|
|
4
4
|
DatasetOnlineResource,
|
|
5
5
|
DatasetRecord,
|
|
6
6
|
DatasetServiceDistribution,
|
|
7
|
+
FieldTranslation,
|
|
7
8
|
Individual,
|
|
8
9
|
Keyword,
|
|
10
|
+
LanguageCode,
|
|
9
11
|
RecordStatus,
|
|
12
|
+
RecordTranslations,
|
|
13
|
+
ReuseRecord,
|
|
10
14
|
Role,
|
|
11
15
|
ServiceEndpoint,
|
|
12
16
|
ServiceOnlineResource,
|
|
@@ -15,7 +19,7 @@ import {
|
|
|
15
19
|
UpdateFrequencyCustom,
|
|
16
20
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
17
21
|
import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus'
|
|
18
|
-
import format from 'date-fns/format'
|
|
22
|
+
import { format } from 'date-fns/format'
|
|
19
23
|
import { Geometry } from 'geojson'
|
|
20
24
|
import {
|
|
21
25
|
ChainableFunction,
|
|
@@ -27,10 +31,12 @@ import {
|
|
|
27
31
|
tap,
|
|
28
32
|
} from '../function-utils'
|
|
29
33
|
import {
|
|
30
|
-
|
|
34
|
+
allChildrenElement,
|
|
31
35
|
appendChildren,
|
|
32
36
|
createChild,
|
|
33
37
|
createElement,
|
|
38
|
+
createNestedChild,
|
|
39
|
+
createNestedElement,
|
|
34
40
|
findChildOrCreate,
|
|
35
41
|
findChildrenElement,
|
|
36
42
|
findNestedChildOrCreate,
|
|
@@ -41,11 +47,41 @@ import {
|
|
|
41
47
|
removeChildren,
|
|
42
48
|
removeChildrenByName,
|
|
43
49
|
setTextContent,
|
|
50
|
+
writeAttribute,
|
|
44
51
|
XmlElement,
|
|
45
52
|
} from '../xml-utils'
|
|
46
53
|
import { readKind } from './read-parts'
|
|
47
54
|
import { writeGeometry } from './utils/geometry'
|
|
48
55
|
import { namePartsToFull } from './utils/individual-name'
|
|
56
|
+
import { LANG_2_TO_3_MAPPER } from '../../../../../../libs/util/i18n/src/lib/language-codes'
|
|
57
|
+
import { kindToCodeListValue } from '../common/resource-types'
|
|
58
|
+
|
|
59
|
+
function writeLocalizedElement(
|
|
60
|
+
writeFn: ChainableFunction<XmlElement, XmlElement>,
|
|
61
|
+
text: string,
|
|
62
|
+
translations: FieldTranslation,
|
|
63
|
+
defaultLanguage: LanguageCode
|
|
64
|
+
): ChainableFunction<XmlElement, XmlElement> {
|
|
65
|
+
if (!translations) return writeFn
|
|
66
|
+
function createLocalized(lang: LanguageCode, translation: string) {
|
|
67
|
+
return pipe(
|
|
68
|
+
createNestedElement('gmd:textGroup', 'gmd:LocalisedCharacterString'),
|
|
69
|
+
writeAttribute('locale', `#${lang.toUpperCase()}`),
|
|
70
|
+
setTextContent(translation)
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
return pipe(
|
|
74
|
+
writeFn,
|
|
75
|
+
removeChildrenByName('gmd:PT_FreeText'),
|
|
76
|
+
createChild('gmd:PT_FreeText'),
|
|
77
|
+
appendChildren(
|
|
78
|
+
createLocalized(defaultLanguage, text),
|
|
79
|
+
...Object.entries(translations).map(([lang, translation]) =>
|
|
80
|
+
createLocalized(lang, translation)
|
|
81
|
+
)
|
|
82
|
+
)
|
|
83
|
+
)
|
|
84
|
+
}
|
|
49
85
|
|
|
50
86
|
export function writeCharacterString(
|
|
51
87
|
text: string
|
|
@@ -55,6 +91,19 @@ export function writeCharacterString(
|
|
|
55
91
|
)
|
|
56
92
|
}
|
|
57
93
|
|
|
94
|
+
export function writeLocalizedCharacterString(
|
|
95
|
+
text: string,
|
|
96
|
+
translations: FieldTranslation,
|
|
97
|
+
defaultLanguage: LanguageCode
|
|
98
|
+
): ChainableFunction<XmlElement, XmlElement> {
|
|
99
|
+
return writeLocalizedElement(
|
|
100
|
+
writeCharacterString(text),
|
|
101
|
+
text,
|
|
102
|
+
translations,
|
|
103
|
+
defaultLanguage
|
|
104
|
+
)
|
|
105
|
+
}
|
|
106
|
+
|
|
58
107
|
export function writeLinkage(
|
|
59
108
|
url: URL
|
|
60
109
|
): ChainableFunction<XmlElement, XmlElement> {
|
|
@@ -73,12 +122,26 @@ export function writeAnchor(
|
|
|
73
122
|
return tap(
|
|
74
123
|
pipe(
|
|
75
124
|
findChildOrCreate('gmx:Anchor'),
|
|
76
|
-
|
|
125
|
+
writeAttribute('xlink:href', url.toString()),
|
|
77
126
|
text ? setTextContent(text) : noop
|
|
78
127
|
)
|
|
79
128
|
)
|
|
80
129
|
}
|
|
81
130
|
|
|
131
|
+
export function writeLocalizedAnchor(
|
|
132
|
+
url: URL,
|
|
133
|
+
text: string,
|
|
134
|
+
translations: FieldTranslation,
|
|
135
|
+
defaultLanguage: LanguageCode
|
|
136
|
+
): ChainableFunction<XmlElement, XmlElement> {
|
|
137
|
+
return writeLocalizedElement(
|
|
138
|
+
writeAnchor(url, text),
|
|
139
|
+
text,
|
|
140
|
+
translations,
|
|
141
|
+
defaultLanguage
|
|
142
|
+
)
|
|
143
|
+
}
|
|
144
|
+
|
|
82
145
|
export function writeDateTime(
|
|
83
146
|
date: Date
|
|
84
147
|
): ChainableFunction<XmlElement, XmlElement> {
|
|
@@ -206,6 +269,24 @@ export function getMaintenanceFrequencyCode(
|
|
|
206
269
|
return 'continual'
|
|
207
270
|
case 'periodic':
|
|
208
271
|
return 'periodic'
|
|
272
|
+
case 'daily':
|
|
273
|
+
return 'daily'
|
|
274
|
+
case 'weekly':
|
|
275
|
+
return 'weekly'
|
|
276
|
+
case 'fortnightly':
|
|
277
|
+
return 'fortnightly'
|
|
278
|
+
case 'monthly':
|
|
279
|
+
return 'monthly'
|
|
280
|
+
case 'quarterly':
|
|
281
|
+
return 'quarterly'
|
|
282
|
+
case 'biannually':
|
|
283
|
+
return 'biannually'
|
|
284
|
+
case 'annually':
|
|
285
|
+
return 'annually'
|
|
286
|
+
case 'semimonthly':
|
|
287
|
+
return 'semimonthly'
|
|
288
|
+
case 'biennially':
|
|
289
|
+
return 'biennially'
|
|
209
290
|
}
|
|
210
291
|
}
|
|
211
292
|
|
|
@@ -238,12 +319,15 @@ export function getISODuration(updateFrequency: UpdateFrequencyCustom): string {
|
|
|
238
319
|
return `P${duration.years}Y${duration.months}M${duration.days}D${hours}`
|
|
239
320
|
}
|
|
240
321
|
|
|
241
|
-
function appendResponsibleParty(
|
|
322
|
+
function appendResponsibleParty(
|
|
323
|
+
contact: Individual,
|
|
324
|
+
translations: RecordTranslations,
|
|
325
|
+
defaultLanguage: LanguageCode
|
|
326
|
+
) {
|
|
242
327
|
const fullName = namePartsToFull(contact.firstName, contact.lastName)
|
|
243
328
|
|
|
244
329
|
const createAddress = pipe(
|
|
245
|
-
|
|
246
|
-
createChild('gmd:CI_Address'),
|
|
330
|
+
createNestedElement('gmd:address', 'gmd:CI_Address'),
|
|
247
331
|
appendChildren(
|
|
248
332
|
pipe(
|
|
249
333
|
createElement('gmd:electronicMailAddress'),
|
|
@@ -261,14 +345,11 @@ function appendResponsibleParty(contact: Individual) {
|
|
|
261
345
|
)
|
|
262
346
|
|
|
263
347
|
const createContact = pipe(
|
|
264
|
-
|
|
265
|
-
createChild('gmd:CI_Contact'),
|
|
348
|
+
createNestedElement('gmd:contactInfo', 'gmd:CI_Contact'),
|
|
266
349
|
contact.phone
|
|
267
350
|
? appendChildren(
|
|
268
351
|
pipe(
|
|
269
|
-
|
|
270
|
-
createChild('gmd:CI_Telephone'),
|
|
271
|
-
createChild('gmd:voice'),
|
|
352
|
+
createNestedElement('gmd:phone', 'gmd:CI_Telephone', 'gmd:voice'),
|
|
272
353
|
writeCharacterString(contact.phone)
|
|
273
354
|
)
|
|
274
355
|
)
|
|
@@ -277,8 +358,7 @@ function appendResponsibleParty(contact: Individual) {
|
|
|
277
358
|
contact.organization?.website
|
|
278
359
|
? appendChildren(
|
|
279
360
|
pipe(
|
|
280
|
-
|
|
281
|
-
createChild('gmd:CI_OnlineResource'),
|
|
361
|
+
createNestedElement('gmd:onlineResource', 'gmd:CI_OnlineResource'),
|
|
282
362
|
writeLinkage(contact.organization.website)
|
|
283
363
|
)
|
|
284
364
|
)
|
|
@@ -316,13 +396,12 @@ function appendResponsibleParty(contact: Individual) {
|
|
|
316
396
|
appendChildren(
|
|
317
397
|
createContact,
|
|
318
398
|
pipe(
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
addAttribute(
|
|
399
|
+
createNestedElement('gmd:role', 'gmd:CI_RoleCode'),
|
|
400
|
+
writeAttribute(
|
|
322
401
|
'codeList',
|
|
323
402
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_RoleCode'
|
|
324
403
|
),
|
|
325
|
-
|
|
404
|
+
writeAttribute('codeListValue', getRoleCode(contact.role))
|
|
326
405
|
)
|
|
327
406
|
)
|
|
328
407
|
)
|
|
@@ -336,16 +415,14 @@ export function removeKeywords() {
|
|
|
336
415
|
// returns a <gmd:thesaurusName> element
|
|
337
416
|
export function createThesaurus(thesaurus: ThesaurusModel) {
|
|
338
417
|
return pipe(
|
|
339
|
-
|
|
340
|
-
createChild('gmd:CI_Citation'),
|
|
418
|
+
createNestedElement('gmd:thesaurusName', 'gmd:CI_Citation'),
|
|
341
419
|
appendChildren(
|
|
342
420
|
pipe(
|
|
343
421
|
createElement('gmd:title'),
|
|
344
422
|
writeCharacterString(thesaurus.name || thesaurus.id)
|
|
345
423
|
),
|
|
346
424
|
pipe(
|
|
347
|
-
|
|
348
|
-
createChild('gmd:MD_Identifier'),
|
|
425
|
+
createNestedElement('gmd:identifier', 'gmd:MD_Identifier'),
|
|
349
426
|
appendChildren(
|
|
350
427
|
pipe(
|
|
351
428
|
createElement('gmd:code'),
|
|
@@ -359,7 +436,10 @@ export function createThesaurus(thesaurus: ThesaurusModel) {
|
|
|
359
436
|
)
|
|
360
437
|
}
|
|
361
438
|
|
|
362
|
-
export function appendKeywords(
|
|
439
|
+
export function appendKeywords(
|
|
440
|
+
keywords: Keyword[],
|
|
441
|
+
defaultLanguage: LanguageCode
|
|
442
|
+
) {
|
|
363
443
|
// keywords are grouped by thesaurus if they have one, otherwise by type
|
|
364
444
|
const keywordsByThesaurus: Keyword[][] = keywords.reduce((acc, keyword) => {
|
|
365
445
|
const thesaurusId = keyword.thesaurus?.id
|
|
@@ -379,17 +459,15 @@ export function appendKeywords(keywords: Keyword[]) {
|
|
|
379
459
|
return appendChildren(
|
|
380
460
|
...keywordsByThesaurus.map((keywords) =>
|
|
381
461
|
pipe(
|
|
382
|
-
|
|
383
|
-
createChild('gmd:MD_Keywords'),
|
|
462
|
+
createNestedElement('gmd:descriptiveKeywords', 'gmd:MD_Keywords'),
|
|
384
463
|
appendChildren(
|
|
385
464
|
pipe(
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
addAttribute(
|
|
465
|
+
createNestedElement('gmd:type', 'gmd:MD_KeywordTypeCode'),
|
|
466
|
+
writeAttribute(
|
|
389
467
|
'codeList',
|
|
390
468
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_KeywordTypeCode'
|
|
391
469
|
),
|
|
392
|
-
|
|
470
|
+
writeAttribute('codeListValue', keywords[0].type)
|
|
393
471
|
)
|
|
394
472
|
),
|
|
395
473
|
keywords[0].thesaurus
|
|
@@ -399,7 +477,11 @@ export function appendKeywords(keywords: Keyword[]) {
|
|
|
399
477
|
...keywords.map((keyword) =>
|
|
400
478
|
pipe(
|
|
401
479
|
createElement('gmd:keyword'),
|
|
402
|
-
|
|
480
|
+
writeLocalizedCharacterString(
|
|
481
|
+
keyword.label,
|
|
482
|
+
keyword.translations?.label,
|
|
483
|
+
defaultLanguage
|
|
484
|
+
)
|
|
403
485
|
)
|
|
404
486
|
)
|
|
405
487
|
)
|
|
@@ -410,70 +492,114 @@ export function appendKeywords(keywords: Keyword[]) {
|
|
|
410
492
|
|
|
411
493
|
export function createConstraint(
|
|
412
494
|
constraint: Constraint,
|
|
413
|
-
type: 'legal' | 'security' | 'other'
|
|
495
|
+
type: 'legal' | 'security' | 'other',
|
|
496
|
+
defaultLanguage: LanguageCode
|
|
414
497
|
) {
|
|
415
498
|
if (type === 'security') {
|
|
416
499
|
return pipe(
|
|
417
|
-
|
|
418
|
-
|
|
500
|
+
createNestedElement(
|
|
501
|
+
'gmd:resourceConstraints',
|
|
502
|
+
'gmd:MD_SecurityConstraints'
|
|
503
|
+
),
|
|
419
504
|
appendChildren(
|
|
420
505
|
pipe(
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
506
|
+
createNestedElement(
|
|
507
|
+
'gmd:classification',
|
|
508
|
+
'gmd:MD_ClassificationCode'
|
|
509
|
+
),
|
|
510
|
+
writeAttribute(
|
|
424
511
|
'codeList',
|
|
425
512
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ClassificationCode'
|
|
426
513
|
),
|
|
427
|
-
|
|
514
|
+
writeAttribute('codeListValue', 'restricted')
|
|
428
515
|
),
|
|
429
516
|
pipe(
|
|
430
517
|
createElement('gmd:useLimitation'),
|
|
431
|
-
|
|
518
|
+
'url' in constraint
|
|
519
|
+
? writeLocalizedAnchor(
|
|
520
|
+
constraint.url,
|
|
521
|
+
constraint.text,
|
|
522
|
+
constraint.translations?.text,
|
|
523
|
+
defaultLanguage
|
|
524
|
+
)
|
|
525
|
+
: writeLocalizedCharacterString(
|
|
526
|
+
constraint.text,
|
|
527
|
+
constraint.translations?.text,
|
|
528
|
+
defaultLanguage
|
|
529
|
+
)
|
|
432
530
|
)
|
|
433
531
|
)
|
|
434
532
|
)
|
|
435
533
|
} else if (type === 'legal') {
|
|
436
534
|
return pipe(
|
|
437
|
-
|
|
438
|
-
createChild('gmd:MD_LegalConstraints'),
|
|
535
|
+
createNestedElement('gmd:resourceConstraints', 'gmd:MD_LegalConstraints'),
|
|
439
536
|
appendChildren(
|
|
440
537
|
pipe(
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
538
|
+
createNestedElement(
|
|
539
|
+
'gmd:accessConstraints',
|
|
540
|
+
'gmd:MD_RestrictionCode'
|
|
541
|
+
),
|
|
542
|
+
writeAttribute(
|
|
444
543
|
'codeList',
|
|
445
544
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode'
|
|
446
545
|
),
|
|
447
|
-
|
|
546
|
+
writeAttribute('codeListValue', 'otherRestrictions')
|
|
448
547
|
),
|
|
449
548
|
pipe(
|
|
450
549
|
createElement('gmd:otherConstraints'),
|
|
451
|
-
|
|
550
|
+
'url' in constraint
|
|
551
|
+
? writeLocalizedAnchor(
|
|
552
|
+
constraint.url,
|
|
553
|
+
constraint.text,
|
|
554
|
+
constraint.translations?.text,
|
|
555
|
+
defaultLanguage
|
|
556
|
+
)
|
|
557
|
+
: writeLocalizedCharacterString(
|
|
558
|
+
constraint.text,
|
|
559
|
+
constraint.translations?.text,
|
|
560
|
+
defaultLanguage
|
|
561
|
+
)
|
|
452
562
|
)
|
|
453
563
|
)
|
|
454
564
|
)
|
|
455
565
|
}
|
|
456
|
-
|
|
566
|
+
// other
|
|
457
567
|
return pipe(
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
568
|
+
createNestedElement(
|
|
569
|
+
'gmd:resourceConstraints',
|
|
570
|
+
'gmd:MD_Constraints',
|
|
571
|
+
'gmd:useLimitation'
|
|
572
|
+
),
|
|
573
|
+
'url' in constraint
|
|
574
|
+
? writeLocalizedAnchor(
|
|
575
|
+
constraint.url,
|
|
576
|
+
constraint.text,
|
|
577
|
+
constraint.translations?.text,
|
|
578
|
+
defaultLanguage
|
|
579
|
+
)
|
|
580
|
+
: writeLocalizedCharacterString(
|
|
581
|
+
constraint.text,
|
|
582
|
+
constraint.translations?.text,
|
|
583
|
+
defaultLanguage
|
|
584
|
+
)
|
|
466
585
|
)
|
|
467
586
|
}
|
|
468
587
|
|
|
469
588
|
export function removeOtherConstraints() {
|
|
470
|
-
return
|
|
589
|
+
return tap(
|
|
471
590
|
pipe(
|
|
472
591
|
findChildrenElement('gmd:resourceConstraints'),
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
592
|
+
mapArray(
|
|
593
|
+
removeChildren(
|
|
594
|
+
pipe(
|
|
595
|
+
findChildrenElement('gmd:MD_Constraints'),
|
|
596
|
+
filterArray(
|
|
597
|
+
pipe(
|
|
598
|
+
findNestedElements('gmd:useLimitation'),
|
|
599
|
+
(array) => array.length > 0
|
|
600
|
+
)
|
|
601
|
+
)
|
|
602
|
+
)
|
|
477
603
|
)
|
|
478
604
|
)
|
|
479
605
|
)
|
|
@@ -481,13 +607,20 @@ export function removeOtherConstraints() {
|
|
|
481
607
|
}
|
|
482
608
|
|
|
483
609
|
export function removeSecurityConstraints() {
|
|
484
|
-
return
|
|
610
|
+
return tap(
|
|
485
611
|
pipe(
|
|
486
612
|
findChildrenElement('gmd:resourceConstraints'),
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
613
|
+
mapArray(
|
|
614
|
+
removeChildren(
|
|
615
|
+
pipe(
|
|
616
|
+
findChildrenElement('gmd:MD_SecurityConstraints'),
|
|
617
|
+
filterArray(
|
|
618
|
+
pipe(
|
|
619
|
+
findNestedElements('gmd:useLimitation'),
|
|
620
|
+
(array) => array.length > 0
|
|
621
|
+
)
|
|
622
|
+
)
|
|
623
|
+
)
|
|
491
624
|
)
|
|
492
625
|
)
|
|
493
626
|
)
|
|
@@ -495,25 +628,40 @@ export function removeSecurityConstraints() {
|
|
|
495
628
|
}
|
|
496
629
|
|
|
497
630
|
export function removeLegalConstraints() {
|
|
498
|
-
return
|
|
631
|
+
return tap(
|
|
499
632
|
pipe(
|
|
500
633
|
findChildrenElement('gmd:resourceConstraints'),
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
'gmd:MD_LegalConstraints',
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
634
|
+
mapArray(
|
|
635
|
+
removeChildren(
|
|
636
|
+
pipe(
|
|
637
|
+
findChildrenElement('gmd:MD_LegalConstraints'),
|
|
638
|
+
filterArray(
|
|
639
|
+
pipe(
|
|
640
|
+
findNestedElements(
|
|
641
|
+
'gmd:accessConstraints',
|
|
642
|
+
'gmd:MD_RestrictionCode'
|
|
643
|
+
),
|
|
644
|
+
mapArray(readAttribute('codeListValue')),
|
|
645
|
+
(restrictionCodes) =>
|
|
646
|
+
restrictionCodes.every((code) => code !== 'license')
|
|
647
|
+
)
|
|
648
|
+
)
|
|
649
|
+
)
|
|
511
650
|
)
|
|
512
651
|
)
|
|
513
652
|
)
|
|
514
653
|
)
|
|
515
654
|
}
|
|
516
655
|
|
|
656
|
+
export function removeEmptyResourceConstraints() {
|
|
657
|
+
return removeChildren(
|
|
658
|
+
pipe(
|
|
659
|
+
findChildrenElement('gmd:resourceConstraints'),
|
|
660
|
+
filterArray(pipe(allChildrenElement, (array) => array.length === 0))
|
|
661
|
+
)
|
|
662
|
+
)
|
|
663
|
+
}
|
|
664
|
+
|
|
517
665
|
export function removeLicenses() {
|
|
518
666
|
return removeChildren(
|
|
519
667
|
pipe(
|
|
@@ -534,48 +682,51 @@ export function removeLicenses() {
|
|
|
534
682
|
)
|
|
535
683
|
}
|
|
536
684
|
|
|
537
|
-
export function createLicense(
|
|
685
|
+
export function createLicense(
|
|
686
|
+
license: Constraint,
|
|
687
|
+
defaultLanguage: LanguageCode
|
|
688
|
+
) {
|
|
538
689
|
return pipe(
|
|
539
|
-
|
|
540
|
-
createChild('gmd:MD_LegalConstraints'),
|
|
690
|
+
createNestedElement('gmd:resourceConstraints', 'gmd:MD_LegalConstraints'),
|
|
541
691
|
appendChildren(
|
|
542
692
|
pipe(
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
addAttribute(
|
|
693
|
+
createNestedElement('gmd:accessConstraints', 'gmd:MD_RestrictionCode'),
|
|
694
|
+
writeAttribute(
|
|
546
695
|
'codeList',
|
|
547
696
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode'
|
|
548
697
|
),
|
|
549
|
-
|
|
698
|
+
writeAttribute('codeListValue', 'license')
|
|
550
699
|
),
|
|
551
700
|
pipe(
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
addAttribute(
|
|
701
|
+
createNestedElement('gmd:accessConstraints', 'gmd:MD_RestrictionCode'),
|
|
702
|
+
writeAttribute(
|
|
555
703
|
'codeList',
|
|
556
704
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_RestrictionCode'
|
|
557
705
|
),
|
|
558
|
-
|
|
706
|
+
writeAttribute('codeListValue', 'otherRestrictions')
|
|
559
707
|
),
|
|
560
708
|
pipe(
|
|
561
709
|
createElement('gmd:otherConstraints'),
|
|
562
710
|
'url' in license
|
|
563
711
|
? writeAnchor(license.url, license.text)
|
|
564
|
-
:
|
|
712
|
+
: writeLocalizedCharacterString(
|
|
713
|
+
license.text,
|
|
714
|
+
license.translations?.text,
|
|
715
|
+
defaultLanguage
|
|
716
|
+
)
|
|
565
717
|
)
|
|
566
718
|
)
|
|
567
719
|
)
|
|
568
720
|
}
|
|
569
721
|
|
|
570
722
|
export function removeOnlineResources() {
|
|
571
|
-
return
|
|
723
|
+
return removeChildrenByName('gmd:distributionInfo')
|
|
572
724
|
}
|
|
573
725
|
|
|
574
726
|
function appendOnlineResourceFormat(mimeType: string) {
|
|
575
727
|
return appendChildren(
|
|
576
728
|
pipe(
|
|
577
|
-
|
|
578
|
-
createChild('gmd:MD_Format'),
|
|
729
|
+
createNestedElement('gmd:distributionFormat', 'gmd:MD_Format'),
|
|
579
730
|
appendChildren(
|
|
580
731
|
pipe(createElement('gmd:name'), writeCharacterString(mimeType)),
|
|
581
732
|
pipe(
|
|
@@ -588,10 +739,7 @@ function appendOnlineResourceFormat(mimeType: string) {
|
|
|
588
739
|
}
|
|
589
740
|
|
|
590
741
|
export function createDistributionInfo() {
|
|
591
|
-
return
|
|
592
|
-
createElement('gmd:distributionInfo'),
|
|
593
|
-
createChild('gmd:MD_Distribution')
|
|
594
|
-
)
|
|
742
|
+
return createNestedElement('gmd:distributionInfo', 'gmd:MD_Distribution')
|
|
595
743
|
}
|
|
596
744
|
|
|
597
745
|
// apply to MD_Distribution
|
|
@@ -599,7 +747,9 @@ export function appendOnlineResource(
|
|
|
599
747
|
onlineResource: DatasetOnlineResource,
|
|
600
748
|
appendFormatFn: (
|
|
601
749
|
mimeType: string
|
|
602
|
-
) => ChainableFunction<XmlElement, XmlElement
|
|
750
|
+
) => ChainableFunction<XmlElement, XmlElement>,
|
|
751
|
+
translations: RecordTranslations,
|
|
752
|
+
defaultLanguage: LanguageCode
|
|
603
753
|
) {
|
|
604
754
|
let name: string
|
|
605
755
|
let functionCode: string
|
|
@@ -619,34 +769,46 @@ export function appendOnlineResource(
|
|
|
619
769
|
}
|
|
620
770
|
const appendTransferOptions = appendChildren(
|
|
621
771
|
pipe(
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
772
|
+
createNestedElement(
|
|
773
|
+
'gmd:transferOptions',
|
|
774
|
+
'gmd:MD_DigitalTransferOptions',
|
|
775
|
+
'gmd:onLine',
|
|
776
|
+
'gmd:CI_OnlineResource'
|
|
777
|
+
),
|
|
626
778
|
writeLinkage(onlineResource.url),
|
|
627
779
|
'description' in onlineResource
|
|
628
780
|
? appendChildren(
|
|
629
781
|
pipe(
|
|
630
782
|
createElement('gmd:description'),
|
|
631
|
-
|
|
783
|
+
writeLocalizedCharacterString(
|
|
784
|
+
onlineResource.description,
|
|
785
|
+
onlineResource.translations?.description,
|
|
786
|
+
defaultLanguage
|
|
787
|
+
)
|
|
632
788
|
)
|
|
633
789
|
)
|
|
634
790
|
: noop,
|
|
635
791
|
name !== undefined
|
|
636
792
|
? appendChildren(
|
|
637
|
-
pipe(
|
|
793
|
+
pipe(
|
|
794
|
+
createElement('gmd:name'),
|
|
795
|
+
writeLocalizedCharacterString(
|
|
796
|
+
name,
|
|
797
|
+
onlineResource.translations?.name,
|
|
798
|
+
defaultLanguage
|
|
799
|
+
)
|
|
800
|
+
)
|
|
638
801
|
)
|
|
639
802
|
: noop,
|
|
640
803
|
appendChildren(
|
|
641
804
|
pipe(createElement('gmd:protocol'), writeCharacterString(protocol)),
|
|
642
805
|
pipe(
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
addAttribute(
|
|
806
|
+
createNestedElement('gmd:function', 'gmd:CI_OnLineFunctionCode'),
|
|
807
|
+
writeAttribute(
|
|
646
808
|
'codeList',
|
|
647
809
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode'
|
|
648
810
|
),
|
|
649
|
-
|
|
811
|
+
writeAttribute('codeListValue', functionCode)
|
|
650
812
|
)
|
|
651
813
|
)
|
|
652
814
|
)
|
|
@@ -694,11 +856,11 @@ export function writeUniqueIdentifier(
|
|
|
694
856
|
export function writeKind(record: CatalogRecord, rootEl: XmlElement) {
|
|
695
857
|
pipe(
|
|
696
858
|
findNestedChildOrCreate('gmd:hierarchyLevel', 'gmd:MD_ScopeCode'),
|
|
697
|
-
|
|
859
|
+
writeAttribute(
|
|
698
860
|
'codeList',
|
|
699
861
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ScopeCode'
|
|
700
862
|
),
|
|
701
|
-
|
|
863
|
+
writeAttribute('codeListValue', kindToCodeListValue(record))
|
|
702
864
|
)(rootEl)
|
|
703
865
|
}
|
|
704
866
|
|
|
@@ -706,7 +868,11 @@ export function writeTitle(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
706
868
|
pipe(
|
|
707
869
|
findOrCreateIdentification(),
|
|
708
870
|
findNestedChildOrCreate('gmd:citation', 'gmd:CI_Citation', 'gmd:title'),
|
|
709
|
-
|
|
871
|
+
writeLocalizedCharacterString(
|
|
872
|
+
record.title,
|
|
873
|
+
record.translations?.title,
|
|
874
|
+
record.defaultLanguage
|
|
875
|
+
)
|
|
710
876
|
)(rootEl)
|
|
711
877
|
}
|
|
712
878
|
|
|
@@ -714,7 +880,11 @@ export function writeAbstract(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
714
880
|
pipe(
|
|
715
881
|
findOrCreateIdentification(),
|
|
716
882
|
findChildOrCreate('gmd:abstract'),
|
|
717
|
-
|
|
883
|
+
writeLocalizedCharacterString(
|
|
884
|
+
record.abstract,
|
|
885
|
+
record.translations?.abstract,
|
|
886
|
+
record.defaultLanguage
|
|
887
|
+
)
|
|
718
888
|
)(rootEl)
|
|
719
889
|
}
|
|
720
890
|
|
|
@@ -722,11 +892,11 @@ export function writeStatus(record: DatasetRecord, rootEl: XmlElement) {
|
|
|
722
892
|
pipe(
|
|
723
893
|
findOrCreateIdentification(),
|
|
724
894
|
findNestedChildOrCreate('gmd:status', 'gmd:MD_ProgressCode'),
|
|
725
|
-
|
|
895
|
+
writeAttribute(
|
|
726
896
|
'codeList',
|
|
727
897
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_ProgressCode'
|
|
728
898
|
),
|
|
729
|
-
|
|
899
|
+
writeAttribute('codeListValue', getProgressCode(record.status))
|
|
730
900
|
)(rootEl)
|
|
731
901
|
}
|
|
732
902
|
|
|
@@ -735,7 +905,14 @@ export function writeContacts(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
735
905
|
removeChildrenByName('gmd:contact'),
|
|
736
906
|
appendChildren(
|
|
737
907
|
...record.contacts.map((contact) =>
|
|
738
|
-
pipe(
|
|
908
|
+
pipe(
|
|
909
|
+
createElement('gmd:contact'),
|
|
910
|
+
appendResponsibleParty(
|
|
911
|
+
contact,
|
|
912
|
+
record.translations,
|
|
913
|
+
record.defaultLanguage
|
|
914
|
+
)
|
|
915
|
+
)
|
|
739
916
|
)
|
|
740
917
|
)
|
|
741
918
|
)(rootEl)
|
|
@@ -753,7 +930,11 @@ export function writeContactsForResource(
|
|
|
753
930
|
...record.contactsForResource.map((contact) =>
|
|
754
931
|
pipe(
|
|
755
932
|
createElement('gmd:pointOfContact'),
|
|
756
|
-
appendResponsibleParty(
|
|
933
|
+
appendResponsibleParty(
|
|
934
|
+
contact,
|
|
935
|
+
record.translations,
|
|
936
|
+
record.defaultLanguage
|
|
937
|
+
)
|
|
757
938
|
)
|
|
758
939
|
)
|
|
759
940
|
)
|
|
@@ -764,7 +945,7 @@ export function writeKeywords(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
764
945
|
pipe(
|
|
765
946
|
findOrCreateIdentification(),
|
|
766
947
|
removeKeywords(),
|
|
767
|
-
appendKeywords(record.keywords)
|
|
948
|
+
appendKeywords(record.keywords, record.defaultLanguage)
|
|
768
949
|
)(rootEl)
|
|
769
950
|
}
|
|
770
951
|
|
|
@@ -775,8 +956,7 @@ export function writeTopics(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
775
956
|
appendChildren(
|
|
776
957
|
...record.topics.map((topic) =>
|
|
777
958
|
pipe(
|
|
778
|
-
|
|
779
|
-
createChild('gmd:MD_TopicCategoryCode'),
|
|
959
|
+
createNestedElement('gmd:topicCategory', 'gmd:MD_TopicCategoryCode'),
|
|
780
960
|
setTextContent(topic)
|
|
781
961
|
)
|
|
782
962
|
)
|
|
@@ -788,7 +968,11 @@ export function writeLicenses(record: CatalogRecord, rootEl: XmlElement) {
|
|
|
788
968
|
pipe(
|
|
789
969
|
findOrCreateIdentification(),
|
|
790
970
|
removeLicenses(),
|
|
791
|
-
appendChildren(
|
|
971
|
+
appendChildren(
|
|
972
|
+
...record.licenses.map((license) =>
|
|
973
|
+
createLicense(license, record.defaultLanguage)
|
|
974
|
+
)
|
|
975
|
+
)
|
|
792
976
|
)(rootEl)
|
|
793
977
|
}
|
|
794
978
|
|
|
@@ -799,8 +983,11 @@ export function writeLegalConstraints(
|
|
|
799
983
|
pipe(
|
|
800
984
|
findOrCreateIdentification(),
|
|
801
985
|
removeLegalConstraints(),
|
|
986
|
+
removeEmptyResourceConstraints(),
|
|
802
987
|
appendChildren(
|
|
803
|
-
...record.legalConstraints.map((c) =>
|
|
988
|
+
...record.legalConstraints.map((c) =>
|
|
989
|
+
createConstraint(c, 'legal', record.defaultLanguage)
|
|
990
|
+
)
|
|
804
991
|
)
|
|
805
992
|
)(rootEl)
|
|
806
993
|
}
|
|
@@ -812,8 +999,11 @@ export function writeSecurityConstraints(
|
|
|
812
999
|
pipe(
|
|
813
1000
|
findOrCreateIdentification(),
|
|
814
1001
|
removeSecurityConstraints(),
|
|
1002
|
+
removeEmptyResourceConstraints(),
|
|
815
1003
|
appendChildren(
|
|
816
|
-
...record.securityConstraints.map((c) =>
|
|
1004
|
+
...record.securityConstraints.map((c) =>
|
|
1005
|
+
createConstraint(c, 'security', record.defaultLanguage)
|
|
1006
|
+
)
|
|
817
1007
|
)
|
|
818
1008
|
)(rootEl)
|
|
819
1009
|
}
|
|
@@ -825,8 +1015,11 @@ export function writeOtherConstraints(
|
|
|
825
1015
|
pipe(
|
|
826
1016
|
findOrCreateIdentification(),
|
|
827
1017
|
removeOtherConstraints(),
|
|
1018
|
+
removeEmptyResourceConstraints(),
|
|
828
1019
|
appendChildren(
|
|
829
|
-
...record.otherConstraints.map((c) =>
|
|
1020
|
+
...record.otherConstraints.map((c) =>
|
|
1021
|
+
createConstraint(c, 'other', record.defaultLanguage)
|
|
1022
|
+
)
|
|
830
1023
|
)
|
|
831
1024
|
)(rootEl)
|
|
832
1025
|
}
|
|
@@ -842,18 +1035,22 @@ export function writeUpdateFrequency(
|
|
|
842
1035
|
findChildOrCreate('gmd:MD_MaintenanceInformation'),
|
|
843
1036
|
typeof record.updateFrequency === 'object'
|
|
844
1037
|
? pipe(
|
|
845
|
-
|
|
846
|
-
|
|
1038
|
+
createNestedChild(
|
|
1039
|
+
'gmd:userDefinedMaintenanceFrequency',
|
|
1040
|
+
'gts:TM_PeriodDuration'
|
|
1041
|
+
),
|
|
847
1042
|
setTextContent(getISODuration(record.updateFrequency))
|
|
848
1043
|
)
|
|
849
1044
|
: pipe(
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
1045
|
+
createNestedChild(
|
|
1046
|
+
'gmd:maintenanceAndUpdateFrequency',
|
|
1047
|
+
'gmd:MD_MaintenanceFrequencyCode'
|
|
1048
|
+
),
|
|
1049
|
+
writeAttribute(
|
|
853
1050
|
'codeList',
|
|
854
1051
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_MaintenanceFrequencyCode'
|
|
855
1052
|
),
|
|
856
|
-
|
|
1053
|
+
writeAttribute(
|
|
857
1054
|
'codeListValue',
|
|
858
1055
|
getMaintenanceFrequencyCode(record.updateFrequency)
|
|
859
1056
|
)
|
|
@@ -903,18 +1100,16 @@ export function appendResourceDate(
|
|
|
903
1100
|
findNestedChildOrCreate('gmd:citation', 'gmd:CI_Citation'),
|
|
904
1101
|
appendChildren(
|
|
905
1102
|
pipe(
|
|
906
|
-
|
|
907
|
-
createChild('gmd:CI_Date'),
|
|
1103
|
+
createNestedElement('gmd:date', 'gmd:CI_Date'),
|
|
908
1104
|
appendChildren(
|
|
909
1105
|
pipe(createElement('gmd:date'), writeDateTime(date)),
|
|
910
1106
|
pipe(
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
addAttribute(
|
|
1107
|
+
createNestedElement('gmd:dateType', 'gmd:CI_DateTypeCode'),
|
|
1108
|
+
writeAttribute(
|
|
914
1109
|
'codeList',
|
|
915
1110
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_DateTypeCode'
|
|
916
1111
|
),
|
|
917
|
-
|
|
1112
|
+
writeAttribute('codeListValue', type)
|
|
918
1113
|
)
|
|
919
1114
|
)
|
|
920
1115
|
)
|
|
@@ -949,21 +1144,32 @@ export function writeResourcePublished(
|
|
|
949
1144
|
appendResourceDate(record.resourcePublished, 'publication')(rootEl)
|
|
950
1145
|
}
|
|
951
1146
|
|
|
1147
|
+
export function writeReuseType(record: CatalogRecord, rootEl: XmlElement) {
|
|
1148
|
+
writeKind(record, rootEl)
|
|
1149
|
+
}
|
|
1150
|
+
|
|
952
1151
|
export function writeSpatialRepresentation(
|
|
953
1152
|
record: DatasetRecord,
|
|
954
1153
|
rootEl: XmlElement
|
|
955
1154
|
) {
|
|
1155
|
+
if (!record.spatialRepresentation) {
|
|
1156
|
+
pipe(
|
|
1157
|
+
findOrCreateIdentification(),
|
|
1158
|
+
removeChildrenByName('gmd:spatialRepresentationType')
|
|
1159
|
+
)(rootEl)
|
|
1160
|
+
return
|
|
1161
|
+
}
|
|
956
1162
|
pipe(
|
|
957
1163
|
findOrCreateIdentification(),
|
|
958
1164
|
findNestedChildOrCreate(
|
|
959
1165
|
'gmd:spatialRepresentationType',
|
|
960
1166
|
'gmd:MD_SpatialRepresentationTypeCode'
|
|
961
1167
|
),
|
|
962
|
-
|
|
1168
|
+
writeAttribute(
|
|
963
1169
|
'codeList',
|
|
964
1170
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#MD_SpatialRepresentationTypeCode'
|
|
965
1171
|
),
|
|
966
|
-
|
|
1172
|
+
writeAttribute('codeListValue', record.spatialRepresentation)
|
|
967
1173
|
)(rootEl)
|
|
968
1174
|
}
|
|
969
1175
|
|
|
@@ -977,8 +1183,7 @@ export function writeGraphicOverviews(
|
|
|
977
1183
|
appendChildren(
|
|
978
1184
|
...record.overviews.map((overview) =>
|
|
979
1185
|
pipe(
|
|
980
|
-
|
|
981
|
-
createChild('gmd:MD_BrowseGraphic'),
|
|
1186
|
+
createNestedElement('gmd:graphicOverview', 'gmd:MD_BrowseGraphic'),
|
|
982
1187
|
appendChildren(
|
|
983
1188
|
pipe(
|
|
984
1189
|
createElement('gmd:fileName'),
|
|
@@ -1008,7 +1213,11 @@ export function writeLineage(record: DatasetRecord, rootEl: XmlElement) {
|
|
|
1008
1213
|
'gmd:LI_Lineage',
|
|
1009
1214
|
'gmd:statement'
|
|
1010
1215
|
),
|
|
1011
|
-
|
|
1216
|
+
writeLocalizedCharacterString(
|
|
1217
|
+
record.lineage,
|
|
1218
|
+
record.translations?.lineage,
|
|
1219
|
+
record.defaultLanguage
|
|
1220
|
+
)
|
|
1012
1221
|
)(rootEl)
|
|
1013
1222
|
}
|
|
1014
1223
|
|
|
@@ -1039,9 +1248,11 @@ export function createOnlineResource(onlineResource: ServiceOnlineResource) {
|
|
|
1039
1248
|
const appendTransferOptions = appendChildren(
|
|
1040
1249
|
pipe(
|
|
1041
1250
|
createElement('gmd:transferOptions'),
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1251
|
+
createNestedChild(
|
|
1252
|
+
'gmd:MD_DigitalTransferOptions',
|
|
1253
|
+
'gmd:onLine',
|
|
1254
|
+
'gmd:CI_OnlineResource'
|
|
1255
|
+
),
|
|
1045
1256
|
writeLinkage(linkageUrl),
|
|
1046
1257
|
'description' in onlineResource
|
|
1047
1258
|
? appendChildren(
|
|
@@ -1062,20 +1273,18 @@ export function createOnlineResource(onlineResource: ServiceOnlineResource) {
|
|
|
1062
1273
|
appendChildren(
|
|
1063
1274
|
pipe(createElement('gmd:protocol'), writeCharacterString(protocol)),
|
|
1064
1275
|
pipe(
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
addAttribute(
|
|
1276
|
+
createNestedElement('gmd:function', 'gmd:CI_OnLineFunctionCode'),
|
|
1277
|
+
writeAttribute(
|
|
1068
1278
|
'codeList',
|
|
1069
1279
|
'http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode'
|
|
1070
1280
|
),
|
|
1071
|
-
|
|
1281
|
+
writeAttribute('codeListValue', functionCode)
|
|
1072
1282
|
)
|
|
1073
1283
|
)
|
|
1074
1284
|
)
|
|
1075
1285
|
)
|
|
1076
1286
|
return pipe(
|
|
1077
|
-
|
|
1078
|
-
createChild('gmd:MD_Distribution'),
|
|
1287
|
+
createNestedElement('gmd:distributionInfo', 'gmd:MD_Distribution'),
|
|
1079
1288
|
appendTransferOptions
|
|
1080
1289
|
)
|
|
1081
1290
|
}
|
|
@@ -1088,14 +1297,19 @@ export function appendDatasetOnlineResources(
|
|
|
1088
1297
|
...record.onlineResources.map((d) =>
|
|
1089
1298
|
pipe(
|
|
1090
1299
|
createDistributionInfo(),
|
|
1091
|
-
appendOnlineResource(
|
|
1300
|
+
appendOnlineResource(
|
|
1301
|
+
d,
|
|
1302
|
+
appendOnlineResourceFormat,
|
|
1303
|
+
record.translations,
|
|
1304
|
+
record.defaultLanguage
|
|
1305
|
+
)
|
|
1092
1306
|
)
|
|
1093
1307
|
)
|
|
1094
1308
|
)(rootEl)
|
|
1095
1309
|
}
|
|
1096
1310
|
|
|
1097
1311
|
export function appendServiceOnlineResources(
|
|
1098
|
-
record: ServiceRecord,
|
|
1312
|
+
record: ServiceRecord | ReuseRecord,
|
|
1099
1313
|
rootEl: XmlElement
|
|
1100
1314
|
) {
|
|
1101
1315
|
appendChildren(...record.onlineResources.map(createOnlineResource))(rootEl)
|
|
@@ -1125,20 +1339,18 @@ export function writeTemporalExtents(
|
|
|
1125
1339
|
appendChildren(
|
|
1126
1340
|
...record.temporalExtents.map((extent) =>
|
|
1127
1341
|
pipe(
|
|
1128
|
-
|
|
1129
|
-
createChild('gmd:EX_TemporalExtent'),
|
|
1342
|
+
createNestedElement('gmd:temporalElement', 'gmd:EX_TemporalExtent'),
|
|
1130
1343
|
appendChildren(
|
|
1131
1344
|
'start' in extent && 'end' in extent
|
|
1132
1345
|
? pipe(
|
|
1133
|
-
|
|
1134
|
-
createChild('gml:TimePeriod'),
|
|
1346
|
+
createNestedElement('gmd:extent', 'gml:TimePeriod'),
|
|
1135
1347
|
appendChildren(
|
|
1136
1348
|
pipe(
|
|
1137
1349
|
createElement('gml:beginPosition'),
|
|
1138
1350
|
pipe(
|
|
1139
1351
|
extent.start
|
|
1140
1352
|
? setTextContent(format(extent.start, 'yyyy-MM-dd'))
|
|
1141
|
-
:
|
|
1353
|
+
: writeAttribute('indeterminatePosition', 'unknown')
|
|
1142
1354
|
)
|
|
1143
1355
|
),
|
|
1144
1356
|
pipe(
|
|
@@ -1146,24 +1358,20 @@ export function writeTemporalExtents(
|
|
|
1146
1358
|
pipe(
|
|
1147
1359
|
extent.end
|
|
1148
1360
|
? setTextContent(format(extent.end, 'yyyy-MM-dd'))
|
|
1149
|
-
:
|
|
1361
|
+
: writeAttribute('indeterminatePosition', 'unknown')
|
|
1150
1362
|
)
|
|
1151
1363
|
)
|
|
1152
1364
|
)
|
|
1153
1365
|
)
|
|
1154
1366
|
: pipe(
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
: addAttribute('indeterminatePosition', 'unknown')
|
|
1164
|
-
)
|
|
1165
|
-
)
|
|
1166
|
-
)
|
|
1367
|
+
createNestedElement(
|
|
1368
|
+
'gmd:extent',
|
|
1369
|
+
'gml:TimeInstant',
|
|
1370
|
+
'gml:timePosition'
|
|
1371
|
+
),
|
|
1372
|
+
extent.start
|
|
1373
|
+
? setTextContent(format(extent.start, 'yyyy-MM-dd'))
|
|
1374
|
+
: writeAttribute('indeterminatePosition', 'unknown')
|
|
1167
1375
|
)
|
|
1168
1376
|
)
|
|
1169
1377
|
)
|
|
@@ -1201,14 +1409,23 @@ export function writeSpatialExtents(record: DatasetRecord, rootEl: XmlElement) {
|
|
|
1201
1409
|
)
|
|
1202
1410
|
}
|
|
1203
1411
|
|
|
1204
|
-
const appendGeographicDescription = (
|
|
1412
|
+
const appendGeographicDescription = (
|
|
1413
|
+
description?: string,
|
|
1414
|
+
translations?: FieldTranslation
|
|
1415
|
+
) => {
|
|
1205
1416
|
if (!description) return null
|
|
1206
1417
|
return pipe(
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1418
|
+
createNestedElement(
|
|
1419
|
+
'gmd:EX_GeographicDescription',
|
|
1420
|
+
'gmd:geographicIdentifier',
|
|
1421
|
+
'gmd:MD_Identifier',
|
|
1422
|
+
'gmd:code'
|
|
1423
|
+
),
|
|
1424
|
+
writeLocalizedCharacterString(
|
|
1425
|
+
description,
|
|
1426
|
+
translations,
|
|
1427
|
+
record.defaultLanguage
|
|
1428
|
+
)
|
|
1212
1429
|
)
|
|
1213
1430
|
}
|
|
1214
1431
|
|
|
@@ -1223,10 +1440,67 @@ export function writeSpatialExtents(record: DatasetRecord, rootEl: XmlElement) {
|
|
|
1223
1440
|
appendChildren(
|
|
1224
1441
|
appendBoundingPolygon(extent.geometry),
|
|
1225
1442
|
appendGeographicBoundingBox(extent.bbox),
|
|
1226
|
-
appendGeographicDescription(
|
|
1443
|
+
appendGeographicDescription(
|
|
1444
|
+
extent.description,
|
|
1445
|
+
extent.translations?.description
|
|
1446
|
+
)
|
|
1227
1447
|
)
|
|
1228
1448
|
)
|
|
1229
1449
|
)
|
|
1230
1450
|
)
|
|
1231
1451
|
)(rootEl)
|
|
1232
1452
|
}
|
|
1453
|
+
|
|
1454
|
+
export function writeLanguages(record: DatasetRecord, rootEl: XmlElement) {
|
|
1455
|
+
// clear existing
|
|
1456
|
+
removeChildrenByName('gmd:locale')(rootEl)
|
|
1457
|
+
|
|
1458
|
+
// do not write down languages if there is nothing else than the default one
|
|
1459
|
+
if (!record.otherLanguages?.length) {
|
|
1460
|
+
return
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
const createLanguageEl = (lang: LanguageCode) =>
|
|
1464
|
+
pipe(
|
|
1465
|
+
createNestedElement('gmd:locale', 'gmd:PT_Locale'),
|
|
1466
|
+
writeAttribute('id', lang.toUpperCase()),
|
|
1467
|
+
createNestedChild('gmd:languageCode', 'gmd:LanguageCode'),
|
|
1468
|
+
writeAttribute('codeList', 'http://www.loc.gov/standards/iso639-2/'),
|
|
1469
|
+
writeAttribute('codeListValue', LANG_2_TO_3_MAPPER[lang])
|
|
1470
|
+
)
|
|
1471
|
+
|
|
1472
|
+
// add new languages (only if other than default one)
|
|
1473
|
+
appendChildren(
|
|
1474
|
+
createLanguageEl(record.defaultLanguage),
|
|
1475
|
+
...record.otherLanguages.map(createLanguageEl)
|
|
1476
|
+
)(rootEl)
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
export function writeDefaultLanguage(
|
|
1480
|
+
record: DatasetRecord,
|
|
1481
|
+
rootEl: XmlElement
|
|
1482
|
+
) {
|
|
1483
|
+
const lang3 = LANG_2_TO_3_MAPPER[record.defaultLanguage.toLowerCase()]
|
|
1484
|
+
return pipe(
|
|
1485
|
+
findNestedChildOrCreate('gmd:language', 'gmd:LanguageCode'),
|
|
1486
|
+
writeAttribute('codeList', 'http://www.loc.gov/standards/iso639-2/'),
|
|
1487
|
+
writeAttribute('codeListValue', lang3)
|
|
1488
|
+
)(rootEl)
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
export function writeResourceIdentifier(
|
|
1492
|
+
record: DatasetRecord,
|
|
1493
|
+
rootEl: XmlElement
|
|
1494
|
+
) {
|
|
1495
|
+
pipe(
|
|
1496
|
+
findOrCreateIdentification(),
|
|
1497
|
+
findNestedChildOrCreate('gmd:citation', 'gmd:CI_Citation'),
|
|
1498
|
+
removeChildrenByName('gmd:identifier'),
|
|
1499
|
+
record.resourceIdentifier
|
|
1500
|
+
? pipe(
|
|
1501
|
+
createNestedChild('gmd:identifier', 'gmd:MD_Identifier', 'gmd:code'),
|
|
1502
|
+
writeCharacterString(record.resourceIdentifier)
|
|
1503
|
+
)
|
|
1504
|
+
: noop
|
|
1505
|
+
)(rootEl)
|
|
1506
|
+
}
|