geonetwork-ui 2.6.0-dev.ceb4be4c1 → 2.6.0-dev.cfd9cd166
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 +2 -3
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +11 -2
- package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +17 -11
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +14 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +4 -4
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
- package/esm2022/libs/api/metadata-converter/src/lib/translate-utils.mjs +17 -0
- package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +4 -2
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +18 -16
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +53 -14
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +23 -13
- package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
- package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
- package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
- package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +5 -3
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/index.mjs +1 -4
- package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +13 -7
- package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
- package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +5 -1
- package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
- package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
- package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +268 -11
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +4 -13
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +8 -14
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
- package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
- package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
- package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +20 -19
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -7
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +4 -5
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -7
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +4 -4
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +77 -28
- package/esm2022/libs/feature/search/src/lib/constants.mjs +3 -2
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +24 -27
- package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +6 -6
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
- package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
- package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +5 -4
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
- package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
- package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
- package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +4 -4
- package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/index.mjs +1 -3
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +6 -6
- package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +5 -5
- package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
- package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -3
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
- package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +19 -36
- package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +58 -0
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +7 -10
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
- package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -7
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +39 -16
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -5
- package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +52 -32
- package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +5 -4
- package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
- package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +5 -6
- package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -5
- package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +4 -3
- package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +12 -7
- package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
- package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/index.mjs +2 -2
- package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
- package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
- package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +21 -12
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
- package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
- package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
- package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +17 -53
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
- package/esm2022/libs/ui/search/src/index.mjs +2 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +28 -17
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +32 -27
- package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
- package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +1 -3
- package/esm2022/libs/util/i18n/src/index.mjs +2 -3
- package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
- package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
- package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
- package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
- package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
- package/esm2022/libs/util/shared/src/index.mjs +2 -2
- package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
- package/esm2022/libs/util/shared/src/lib/record.util.mjs +56 -0
- package/esm2022/translations/de.json +41 -22
- package/esm2022/translations/en.json +41 -22
- package/esm2022/translations/es.json +40 -21
- package/esm2022/translations/fr.json +41 -22
- package/esm2022/translations/it.json +40 -21
- package/esm2022/translations/nl.json +40 -21
- package/esm2022/translations/pt.json +40 -21
- package/esm2022/translations/sk.json +602 -0
- package/fesm2022/geonetwork-ui.mjs +11190 -10577
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
- 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.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/translate-utils.d.ts +2 -0
- package/libs/api/metadata-converter/src/lib/translate-utils.d.ts.map +1 -0
- package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +8 -6
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +11 -3
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
- package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +6 -3
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
- package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +20 -17
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +5 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
- package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +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.map +1 -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.map +1 -1
- package/libs/feature/editor/src/index.d.ts +0 -3
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +8 -1
- 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 +10 -12
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -1
- package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
- 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 +1 -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.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/multilingual-panel/multilingual-panel.component.d.ts +48 -3
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.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.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
- 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-keywords/form-field-keywords.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.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.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.map +1 -1
- 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.map +1 -1
- 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/feature-editor.module.d.ts +10 -17
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
- package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +7 -4
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +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 +8 -12
- 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.map +1 -1
- package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -6
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/constants.d.ts.map +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 +24 -24
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
- 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 +1 -2
- package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +1 -2
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/ui/dataviz/src/index.d.ts +0 -1
- package/libs/ui/dataviz/src/index.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
- package/libs/ui/dataviz/src/lib/figure/figure.component.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.map +1 -1
- package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
- package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +4 -7
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
- package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.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/metadata-info/metadata-info.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
- 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.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +20 -9
- package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +0 -1
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +1 -1
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +1 -1
- package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
- package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +4 -2
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
- package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +6 -11
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -1
- package/libs/ui/search/src/index.d.ts +1 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
- 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 +5 -3
- 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 +12 -11
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
- package/libs/ui/widgets/src/index.d.ts +0 -1
- package/libs/ui/widgets/src/index.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
- package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/i18n/src/index.d.ts +1 -2
- package/libs/util/i18n/src/index.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
- package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
- package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
- package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
- package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
- package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
- package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
- package/libs/util/shared/src/index.d.ts +1 -1
- package/libs/util/shared/src/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
- package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
- package/libs/util/shared/src/lib/record.util.d.ts +3 -0
- package/libs/util/shared/src/lib/record.util.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +10 -1
- package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
- package/src/libs/api/metadata-converter/src/lib/fixtures/metadata-for-i18n.records.ts +4196 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +19 -6
- package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +14 -8
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +8 -5
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +5 -4
- package/src/libs/api/metadata-converter/src/lib/translate-utils.ts +17 -0
- package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +3 -1
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +14 -6
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +71 -13
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -20
- package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +20 -14
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +9 -1
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +113 -0
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
- package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +2 -2
- package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +4 -2
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +2 -2
- package/src/libs/feature/editor/src/index.ts +0 -3
- package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +9 -1
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +23 -12
- package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
- package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +9 -1
- package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
- package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +117 -11
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +322 -6
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -10
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +3 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +5 -9
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
- package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
- package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
- package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
- 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 +22 -19
- package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -2
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
- package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +2 -2
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
- package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
- package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
- package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +27 -9
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +113 -30
- package/src/libs/feature/search/src/lib/constants.ts +2 -1
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -2
- package/src/libs/feature/search/src/lib/feature-search.module.ts +13 -18
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
- package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
- package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
- package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +4 -3
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
- package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
- package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
- package/src/libs/ui/dataviz/src/index.ts +0 -1
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +2 -2
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
- package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
- package/src/libs/ui/elements/src/index.ts +0 -2
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +6 -6
- package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +6 -2
- package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +5 -1
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +2 -5
- package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +8 -76
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +22 -55
- package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
- package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +4 -5
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
- package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +4 -7
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +51 -13
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +96 -37
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +62 -31
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +7 -2
- package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
- package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
- package/src/libs/ui/inputs/src/index.ts +0 -1
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +3 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +9 -3
- package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
- package/src/libs/ui/layout/src/index.ts +1 -1
- package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
- package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
- package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
- 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.component.html +2 -2
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +15 -8
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
- package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +25 -42
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +12 -58
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
- package/src/libs/ui/search/src/index.ts +1 -0
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +15 -23
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +34 -13
- package/src/libs/ui/search/src/lib/ui-search.module.ts +15 -11
- package/src/libs/ui/widgets/src/index.ts +0 -1
- package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
- package/src/libs/util/app-config/src/lib/app-config.ts +0 -2
- package/src/libs/util/i18n/src/index.ts +1 -2
- package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
- package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
- package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
- package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
- package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
- package/src/libs/util/shared/src/index.ts +1 -1
- package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
- package/src/libs/util/shared/src/lib/record.util.ts +114 -0
- package/tailwind.base.css +1 -1
- package/translations/de.json +41 -22
- package/translations/en.json +41 -22
- package/translations/es.json +40 -21
- package/translations/fr.json +41 -22
- package/translations/it.json +40 -21
- package/translations/nl.json +40 -21
- package/translations/pt.json +40 -21
- package/translations/sk.json +40 -21
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
- package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
- package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
- package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
- package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
- package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
- package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -56
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -130
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -160
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -23
- package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
- package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
- package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
- package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
- package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
- package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
- package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
- package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
- package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
- package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
- package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
- package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -19
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -31
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -35
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
- package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
- package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
- package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
- package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
- package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
- package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
- package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
- package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
- package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
- package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
- package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
- package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
- package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.css +0 -0
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -9
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -61
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -72
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -14
- package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
- package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
- package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
- package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChangeDetectionStrategy,
|
|
3
3
|
Component,
|
|
4
|
+
EventEmitter,
|
|
4
5
|
Input,
|
|
5
6
|
Output,
|
|
6
7
|
} from '@angular/core'
|
|
7
8
|
import { getLinkLabel, getLinkPriority } from '../../../../../../libs/util/shared/src'
|
|
8
|
-
import { BehaviorSubject, combineLatest
|
|
9
|
-
import {
|
|
9
|
+
import { BehaviorSubject, combineLatest } from 'rxjs'
|
|
10
|
+
import { map, tap } from 'rxjs/operators'
|
|
10
11
|
import { MdViewFacade } from '../state'
|
|
11
12
|
import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model'
|
|
12
|
-
import {
|
|
13
|
+
import {
|
|
14
|
+
DatasetOnlineResource,
|
|
15
|
+
DatasetServiceDistribution,
|
|
16
|
+
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
13
17
|
import { DropdownSelectorComponent } from '../../../../../../libs/ui/inputs/src'
|
|
14
18
|
import {
|
|
15
19
|
ChartViewComponent,
|
|
16
20
|
TableViewComponent,
|
|
17
21
|
} from '../../../../../../libs/feature/dataviz/src'
|
|
18
22
|
import { CommonModule } from '@angular/common'
|
|
19
|
-
import {
|
|
23
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
20
24
|
import { PopupAlertComponent } from '../../../../../../libs/ui/widgets/src'
|
|
21
25
|
|
|
22
26
|
@Component({
|
|
@@ -29,7 +33,8 @@ import { PopupAlertComponent } from '../../../../../../libs/ui/widgets/src'
|
|
|
29
33
|
CommonModule,
|
|
30
34
|
DropdownSelectorComponent,
|
|
31
35
|
TableViewComponent,
|
|
32
|
-
|
|
36
|
+
TranslateDirective,
|
|
37
|
+
TranslatePipe,
|
|
33
38
|
ChartViewComponent,
|
|
34
39
|
PopupAlertComponent,
|
|
35
40
|
],
|
|
@@ -40,11 +45,16 @@ export class DataViewComponent {
|
|
|
40
45
|
@Input() set exceedsLimit(value: boolean) {
|
|
41
46
|
this.excludeWfs$.next(value)
|
|
42
47
|
}
|
|
48
|
+
@Input() set selectedView(value: string) {
|
|
49
|
+
if (value !== 'map') {
|
|
50
|
+
this.linkSelected.emit(this.selectedLink$.value)
|
|
51
|
+
}
|
|
52
|
+
}
|
|
43
53
|
@Output() chartConfig$ = new BehaviorSubject<DatavizConfigurationModel>(null)
|
|
54
|
+
@Output() linkSelected = new EventEmitter<DatasetOnlineResource>()
|
|
44
55
|
cacheActive$ = this.mdViewFacade.isHighUpdateFrequency$.pipe(
|
|
45
56
|
map((highF) => !highF)
|
|
46
57
|
)
|
|
47
|
-
hidePreview = false
|
|
48
58
|
excludeWfs$ = new BehaviorSubject(false)
|
|
49
59
|
compatibleDataLinks$ = combineLatest([
|
|
50
60
|
this.mdViewFacade.dataLinks$,
|
|
@@ -71,6 +81,10 @@ export class DataViewComponent {
|
|
|
71
81
|
)
|
|
72
82
|
selectedLink$ = new BehaviorSubject<DatasetOnlineResource>(null)
|
|
73
83
|
|
|
84
|
+
hidePreview$ = this.excludeWfs$.pipe(
|
|
85
|
+
map((excludeWfs) => this.mode === 'chart' && excludeWfs)
|
|
86
|
+
)
|
|
87
|
+
|
|
74
88
|
constructor(private mdViewFacade: MdViewFacade) {}
|
|
75
89
|
|
|
76
90
|
setChartConfig(event: DatavizConfigurationModel) {
|
|
@@ -79,19 +93,8 @@ export class DataViewComponent {
|
|
|
79
93
|
|
|
80
94
|
selectLink(linkAsString: string) {
|
|
81
95
|
const link: DatasetOnlineResource = JSON.parse(linkAsString)
|
|
96
|
+
this.linkSelected.emit(link)
|
|
82
97
|
link.url = new URL(link.url)
|
|
83
|
-
this.
|
|
84
|
-
.pipe(
|
|
85
|
-
tap((excludeWfs) => {
|
|
86
|
-
this.hidePreview =
|
|
87
|
-
link['accessServiceProtocol'] === 'wfs' &&
|
|
88
|
-
excludeWfs &&
|
|
89
|
-
this.mode === 'chart'
|
|
90
|
-
? true
|
|
91
|
-
: false
|
|
92
|
-
this.selectedLink$.next(link)
|
|
93
|
-
})
|
|
94
|
-
)
|
|
95
|
-
.subscribe()
|
|
98
|
+
this.selectedLink$.next(link)
|
|
96
99
|
}
|
|
97
100
|
}
|
package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { BehaviorSubject, combineLatest, map } from 'rxjs'
|
|
|
11
11
|
import { MdViewFacade } from '../state'
|
|
12
12
|
import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
13
13
|
import { CommonModule } from '@angular/common'
|
|
14
|
-
import {
|
|
14
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
15
15
|
import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
|
|
16
16
|
|
|
17
17
|
export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
|
|
@@ -24,7 +24,7 @@ export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
|
|
|
24
24
|
styleUrls: ['./data-view-permalink.component.css'],
|
|
25
25
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
26
|
standalone: true,
|
|
27
|
-
imports: [CommonModule, CopyTextButtonComponent,
|
|
27
|
+
imports: [CommonModule, CopyTextButtonComponent, TranslatePipe],
|
|
28
28
|
})
|
|
29
29
|
export class DataViewPermalinkComponent {
|
|
30
30
|
viewType$ = new BehaviorSubject<string>('map')
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { MatTabsModule } from '@angular/material/tabs'
|
|
13
13
|
import { CommonModule } from '@angular/common'
|
|
14
14
|
import { DataViewWebComponentComponent } from '../data-view-web-component/data-view-web-component.component'
|
|
15
|
-
import {
|
|
15
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
16
16
|
|
|
17
17
|
@Component({
|
|
18
18
|
selector: 'gn-ui-data-view-share',
|
|
@@ -24,7 +24,7 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
24
24
|
MatTabsModule,
|
|
25
25
|
DataViewPermalinkComponent,
|
|
26
26
|
DataViewWebComponentComponent,
|
|
27
|
-
|
|
27
|
+
TranslateDirective,
|
|
28
28
|
],
|
|
29
29
|
standalone: true,
|
|
30
30
|
})
|
package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { MdViewFacade } from '../state'
|
|
|
9
9
|
import { BehaviorSubject, combineLatest, map } from 'rxjs'
|
|
10
10
|
import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
11
11
|
import { CommonModule } from '@angular/common'
|
|
12
|
-
import {
|
|
12
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
13
13
|
import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
|
|
14
14
|
|
|
15
15
|
@Component({
|
|
@@ -18,7 +18,7 @@ import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
|
|
|
18
18
|
styleUrls: ['./data-view-web-component.component.css'],
|
|
19
19
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
20
|
standalone: true,
|
|
21
|
-
imports: [CommonModule, CopyTextButtonComponent,
|
|
21
|
+
imports: [CommonModule, CopyTextButtonComponent, TranslatePipe],
|
|
22
22
|
})
|
|
23
23
|
export class DataViewWebComponentComponent {
|
|
24
24
|
viewType$ = new BehaviorSubject<string>('map')
|
package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from '@angular/core'
|
|
9
9
|
import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
10
10
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
11
|
-
import {
|
|
11
|
+
import { TranslatePipe, TranslateService } from '@ngx-translate/core'
|
|
12
12
|
import { getFileFormat } from '../../../../../../libs/util/shared/src'
|
|
13
13
|
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
14
14
|
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
@@ -31,7 +31,7 @@ export const EXTERNAL_VIEWER_OPEN_NEW_TAB = new InjectionToken<boolean>(
|
|
|
31
31
|
styleUrls: ['./external-viewer-button.component.css'],
|
|
32
32
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
33
|
standalone: true,
|
|
34
|
-
imports: [CommonModule, ButtonComponent, NgIcon,
|
|
34
|
+
imports: [CommonModule, ButtonComponent, NgIcon, TranslatePipe],
|
|
35
35
|
viewProviders: [provideIcons({ matOpenInNew })],
|
|
36
36
|
})
|
|
37
37
|
export class ExternalViewerButtonComponent {
|
|
@@ -2,13 +2,8 @@ import { NgModule } from '@angular/core'
|
|
|
2
2
|
import { CommonModule } from '@angular/common'
|
|
3
3
|
import { StoreModule } from '@ngrx/store'
|
|
4
4
|
import { EffectsModule } from '@ngrx/effects'
|
|
5
|
-
import { UiLayoutModule } from '../../../../../libs/ui/layout/src'
|
|
6
5
|
import { FeatureMapModule } from '../../../../../libs/feature/map/src'
|
|
7
|
-
import {
|
|
8
|
-
DropdownSelectorComponent,
|
|
9
|
-
UiInputsModule,
|
|
10
|
-
} from '../../../../../libs/ui/inputs/src'
|
|
11
|
-
import { UiElementsModule } from '../../../../../libs/ui/elements/src'
|
|
6
|
+
import { DropdownSelectorComponent } from '../../../../../libs/ui/inputs/src'
|
|
12
7
|
import { MdViewFacade } from './state'
|
|
13
8
|
import { MdViewEffects } from './state/mdview.effects'
|
|
14
9
|
import {
|
|
@@ -16,8 +11,7 @@ import {
|
|
|
16
11
|
reducer,
|
|
17
12
|
} from './state/mdview.reducer'
|
|
18
13
|
import { MatTabsModule } from '@angular/material/tabs'
|
|
19
|
-
import {
|
|
20
|
-
import { TranslateModule } from '@ngx-translate/core'
|
|
14
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
21
15
|
import { FeatureCatalogModule } from '../../../../../libs/feature/catalog/src'
|
|
22
16
|
import { DataTableComponent } from '../../../../../libs/ui/dataviz/src'
|
|
23
17
|
import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
|
|
@@ -27,14 +21,11 @@ import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
|
|
|
27
21
|
CommonModule,
|
|
28
22
|
StoreModule.forFeature(METADATA_VIEW_FEATURE_STATE_KEY, reducer),
|
|
29
23
|
EffectsModule.forFeature([MdViewEffects]),
|
|
30
|
-
UiLayoutModule,
|
|
31
24
|
FeatureMapModule,
|
|
32
25
|
FeatureCatalogModule,
|
|
33
|
-
UiInputsModule,
|
|
34
|
-
UiElementsModule,
|
|
35
26
|
MatTabsModule,
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
TranslateDirective,
|
|
28
|
+
TranslatePipe,
|
|
38
29
|
DataTableComponent,
|
|
39
30
|
NgIconsModule,
|
|
40
31
|
DropdownSelectorComponent,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
OnInit,
|
|
6
6
|
} from '@angular/core'
|
|
7
7
|
import { DatasetServiceDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
8
|
-
import { BehaviorSubject,
|
|
8
|
+
import { BehaviorSubject, combineLatest, map, mergeMap, Observable } from 'rxjs'
|
|
9
9
|
import { HttpClient } from '@angular/common/http'
|
|
10
10
|
import { Choice, DropdownSelectorComponent } from '../../../../../../libs/ui/inputs/src'
|
|
11
11
|
import axios from 'axios'
|
|
12
12
|
import { CommonModule } from '@angular/common'
|
|
13
|
-
import {
|
|
13
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
14
14
|
import { GpfApiDlListItemComponent } from '../gpf-api-dl-list-item/gpf-api-dl-list-item.component'
|
|
15
15
|
|
|
16
16
|
export interface Label {
|
|
@@ -57,7 +57,8 @@ export interface Field {
|
|
|
57
57
|
standalone: true,
|
|
58
58
|
imports: [
|
|
59
59
|
CommonModule,
|
|
60
|
-
|
|
60
|
+
TranslateDirective,
|
|
61
|
+
TranslatePipe,
|
|
61
62
|
DropdownSelectorComponent,
|
|
62
63
|
GpfApiDlListItemComponent,
|
|
63
64
|
],
|
package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts
CHANGED
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common'
|
|
2
2
|
import { HttpClient } from '@angular/common/http'
|
|
3
3
|
import { Component, Input, OnInit } from '@angular/core'
|
|
4
|
-
import { NgIconsModule } from '@ng-icons/core'
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { NgIconsModule, provideIcons } from '@ng-icons/core'
|
|
5
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
6
|
+
import { map, mergeMap, Observable } from 'rxjs'
|
|
7
|
+
import { matCloudDownloadOutline } from '@ng-icons/material-icons/outline'
|
|
7
8
|
|
|
8
9
|
@Component({
|
|
9
10
|
selector: 'gn-ui-gpf-api-dl-list-item',
|
|
10
11
|
templateUrl: './gpf-api-dl-list-item.component.html',
|
|
11
12
|
styleUrls: ['./gpf-api-dl-list-item.component.css'],
|
|
12
13
|
standalone: true,
|
|
13
|
-
imports: [CommonModule,
|
|
14
|
+
imports: [CommonModule, TranslateDirective, TranslatePipe, NgIconsModule],
|
|
15
|
+
providers: [
|
|
16
|
+
provideIcons({
|
|
17
|
+
matCloudDownloadOutline,
|
|
18
|
+
}),
|
|
19
|
+
],
|
|
14
20
|
})
|
|
15
21
|
export class GpfApiDlListItemComponent implements OnInit {
|
|
16
22
|
@Input() link
|
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
<div class="w-full h-full flex flex-col gap-[13px]">
|
|
2
2
|
<div
|
|
3
|
-
class="flex py-4 px-5 bg-white border border-color-border rounded-lg mt-6"
|
|
3
|
+
class="flex flex-col md:flex-row gap-4 py-4 px-5 bg-white border border-color-border rounded-lg mt-6"
|
|
4
4
|
>
|
|
5
|
-
<
|
|
5
|
+
<gn-ui-dropdown-selector
|
|
6
|
+
*ngIf="displaySource"
|
|
7
|
+
class="w-full md:flex-1 md:min-w-0"
|
|
8
|
+
extraBtnClass="font-sans font-bold"
|
|
9
|
+
[title]="'map.select.layer' | translate"
|
|
10
|
+
[choices]="dropdownChoices$ | async"
|
|
11
|
+
(selectValue)="selectLinkToDisplay($event)"
|
|
12
|
+
></gn-ui-dropdown-selector>
|
|
13
|
+
|
|
14
|
+
<ng-container *ngIf="(styleLinks$ | async)?.length > 0; else styleDisabled">
|
|
6
15
|
<gn-ui-dropdown-selector
|
|
7
|
-
|
|
8
|
-
class="w-full"
|
|
16
|
+
class="w-full md:flex-1 md:min-w-0"
|
|
9
17
|
extraBtnClass="font-sans font-bold"
|
|
10
|
-
[title]="'map.select.
|
|
11
|
-
[choices]="
|
|
12
|
-
(selectValue)="
|
|
18
|
+
[title]="'map.select.style' | translate"
|
|
19
|
+
[choices]="styleDropdownChoices$ | async"
|
|
20
|
+
(selectValue)="selectStyleToDisplay($event)"
|
|
13
21
|
></gn-ui-dropdown-selector>
|
|
14
|
-
</
|
|
15
|
-
<
|
|
22
|
+
</ng-container>
|
|
23
|
+
<ng-template #styleDisabled>
|
|
24
|
+
<gn-ui-dropdown-selector
|
|
25
|
+
class="w-full md:flex-1 md:min-w-0 text-gray-400"
|
|
26
|
+
extraBtnClass="font-sans font-bold text-gray-400"
|
|
27
|
+
[title]="'map.select.style' | translate"
|
|
28
|
+
[choices]="styleDropdownChoices$ | async"
|
|
29
|
+
[disabled]="true"
|
|
30
|
+
></gn-ui-dropdown-selector>
|
|
31
|
+
</ng-template>
|
|
32
|
+
|
|
33
|
+
<div class="self-end md:ml-2">
|
|
16
34
|
<gn-ui-external-viewer-button
|
|
17
35
|
extraClass="w-[44px] h-[44px]"
|
|
18
36
|
[link]="selectedLink$ | async"
|
|
@@ -3,7 +3,9 @@ import {
|
|
|
3
3
|
ChangeDetectionStrategy,
|
|
4
4
|
ChangeDetectorRef,
|
|
5
5
|
Component,
|
|
6
|
+
EventEmitter,
|
|
6
7
|
Input,
|
|
8
|
+
Output,
|
|
7
9
|
ViewChild,
|
|
8
10
|
} from '@angular/core'
|
|
9
11
|
import { MapUtilsService } from '../../../../../../libs/feature/map/src'
|
|
@@ -25,11 +27,15 @@ import {
|
|
|
25
27
|
map,
|
|
26
28
|
shareReplay,
|
|
27
29
|
switchMap,
|
|
30
|
+
take,
|
|
28
31
|
tap,
|
|
29
32
|
} from 'rxjs/operators'
|
|
30
33
|
import { MdViewFacade } from '../state/mdview.facade'
|
|
31
34
|
import { DataService } from '../../../../../../libs/feature/dataviz/src'
|
|
32
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
DatasetOnlineResource,
|
|
37
|
+
DatasetServiceDistribution,
|
|
38
|
+
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
33
39
|
import {
|
|
34
40
|
createViewFromLayer,
|
|
35
41
|
MapContext,
|
|
@@ -50,7 +56,11 @@ import {
|
|
|
50
56
|
ButtonComponent,
|
|
51
57
|
DropdownSelectorComponent,
|
|
52
58
|
} from '../../../../../../libs/ui/inputs/src'
|
|
53
|
-
import {
|
|
59
|
+
import {
|
|
60
|
+
TranslateDirective,
|
|
61
|
+
TranslatePipe,
|
|
62
|
+
TranslateService,
|
|
63
|
+
} from '@ngx-translate/core'
|
|
54
64
|
import { ExternalViewerButtonComponent } from '../external-viewer-button/external-viewer-button.component'
|
|
55
65
|
import {
|
|
56
66
|
LoadingMaskComponent,
|
|
@@ -62,6 +72,7 @@ import { FetchError } from '../../../../../../libs/util/data-fetcher/src'
|
|
|
62
72
|
marker('map.dropdown.placeholder')
|
|
63
73
|
marker('wfs.feature.limit')
|
|
64
74
|
marker('dataset.error.restrictedAccess')
|
|
75
|
+
marker('map.select.style')
|
|
65
76
|
|
|
66
77
|
@Component({
|
|
67
78
|
selector: 'gn-ui-map-view',
|
|
@@ -75,7 +86,8 @@ marker('dataset.error.restrictedAccess')
|
|
|
75
86
|
MapContainerComponent,
|
|
76
87
|
FeatureDetailComponent,
|
|
77
88
|
PopupAlertComponent,
|
|
78
|
-
|
|
89
|
+
TranslateDirective,
|
|
90
|
+
TranslatePipe,
|
|
79
91
|
LoadingMaskComponent,
|
|
80
92
|
NgIconComponent,
|
|
81
93
|
ExternalViewerButtonComponent,
|
|
@@ -88,7 +100,15 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
88
100
|
@Input() set exceedsLimit(value: boolean) {
|
|
89
101
|
this.excludeWfs$.next(value)
|
|
90
102
|
}
|
|
103
|
+
@Input() set selectedView(value: string) {
|
|
104
|
+
if (value === 'map') {
|
|
105
|
+
this.selectedLink$.pipe(take(1)).subscribe((link) => {
|
|
106
|
+
this.linkSelected.emit(link)
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
}
|
|
91
110
|
@Input() displaySource = true
|
|
111
|
+
@Output() linkSelected = new EventEmitter<DatasetOnlineResource>()
|
|
92
112
|
@ViewChild('mapContainer') mapContainer: MapContainerComponent
|
|
93
113
|
|
|
94
114
|
excludeWfs$ = new BehaviorSubject(false)
|
|
@@ -96,32 +116,32 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
96
116
|
selection: Feature
|
|
97
117
|
showLegend = true
|
|
98
118
|
legendExists = false
|
|
119
|
+
loading = false
|
|
120
|
+
error = null
|
|
121
|
+
|
|
122
|
+
selectLinkToDisplay(i: number) {
|
|
123
|
+
this.selectedLinkIndex$.next(i)
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
selectStyleToDisplay(i: number) {
|
|
127
|
+
this.selectedStyleIndex$.next(i)
|
|
128
|
+
}
|
|
99
129
|
|
|
100
130
|
toggleLegend() {
|
|
101
131
|
this.showLegend = !this.showLegend
|
|
102
132
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
this.legendExists = status
|
|
133
|
+
onLegendStatusChange(v: boolean) {
|
|
134
|
+
this.legendExists = v
|
|
106
135
|
}
|
|
107
136
|
|
|
108
137
|
compatibleMapLinks$ = combineLatest([
|
|
109
138
|
this.mdViewFacade.mapApiLinks$,
|
|
110
139
|
this.mdViewFacade.geoDataLinksWithGeometry$,
|
|
111
140
|
]).pipe(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
if (link.type === 'service' && link.accessServiceProtocol === 'tms') {
|
|
117
|
-
return this.dataService.getGeodataLinksFromTms(link)
|
|
118
|
-
}
|
|
119
|
-
return link
|
|
120
|
-
})
|
|
121
|
-
)
|
|
122
|
-
processedMapApiLinks = processedMapApiLinks.flat()
|
|
123
|
-
return [...processedMapApiLinks, ...geoDataLinksWithGeometry]
|
|
124
|
-
}),
|
|
141
|
+
map(([mapApiLinks, geoDataLinksWithGeometry]) => [
|
|
142
|
+
...mapApiLinks,
|
|
143
|
+
...geoDataLinksWithGeometry,
|
|
144
|
+
]),
|
|
125
145
|
shareReplay(1)
|
|
126
146
|
)
|
|
127
147
|
|
|
@@ -135,15 +155,84 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
135
155
|
: [{ label: 'map.dropdown.placeholder', value: 0 }]
|
|
136
156
|
)
|
|
137
157
|
)
|
|
138
|
-
selectedLinkIndex$ = new BehaviorSubject(0)
|
|
139
158
|
|
|
140
|
-
|
|
141
|
-
|
|
159
|
+
selectedLinkIndex$ = new BehaviorSubject(0)
|
|
160
|
+
private selectedStyleIndex$ = new BehaviorSubject(0)
|
|
142
161
|
|
|
143
|
-
|
|
162
|
+
selectedSourceLink$ = combineLatest([
|
|
144
163
|
this.compatibleMapLinks$,
|
|
145
164
|
this.selectedLinkIndex$.pipe(distinctUntilChanged()),
|
|
146
|
-
]).pipe(
|
|
165
|
+
]).pipe(
|
|
166
|
+
tap(() => {
|
|
167
|
+
this.error = null
|
|
168
|
+
}),
|
|
169
|
+
map(([links, index]) => {
|
|
170
|
+
this.linkSelected.emit(links[index])
|
|
171
|
+
return links[index]
|
|
172
|
+
})
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
styleLinks$ = this.selectedSourceLink$.pipe(
|
|
176
|
+
switchMap((src) => {
|
|
177
|
+
if (
|
|
178
|
+
src &&
|
|
179
|
+
src.type === 'service' &&
|
|
180
|
+
src.accessServiceProtocol === 'tms'
|
|
181
|
+
) {
|
|
182
|
+
return from(
|
|
183
|
+
// WARNING: when using "getGeodataLinksFromTms", make sure to add error handling to prevent the rest of the logic from failing
|
|
184
|
+
// this may happen when TMS endpoint is in error
|
|
185
|
+
this.dataService.getGeodataLinksFromTms(
|
|
186
|
+
src as DatasetServiceDistribution,
|
|
187
|
+
false
|
|
188
|
+
)
|
|
189
|
+
).pipe(
|
|
190
|
+
// We need to check for maplibre-style links because when a TMS service has no styles,
|
|
191
|
+
// getGeodataLinksFromTms returns the original TMS link, which isn't a maplibre-style link
|
|
192
|
+
map(
|
|
193
|
+
(links) =>
|
|
194
|
+
links?.filter(
|
|
195
|
+
(link) =>
|
|
196
|
+
link.type === 'service' &&
|
|
197
|
+
link.accessServiceProtocol === 'maplibre-style'
|
|
198
|
+
) || []
|
|
199
|
+
),
|
|
200
|
+
catchError((error) => {
|
|
201
|
+
this.handleError(error)
|
|
202
|
+
return of(src)
|
|
203
|
+
})
|
|
204
|
+
)
|
|
205
|
+
}
|
|
206
|
+
return of([])
|
|
207
|
+
}),
|
|
208
|
+
tap(() => this.selectedStyleIndex$.next(0)),
|
|
209
|
+
shareReplay(1)
|
|
210
|
+
)
|
|
211
|
+
|
|
212
|
+
styleDropdownChoices$ = this.styleLinks$.pipe(
|
|
213
|
+
map((links) =>
|
|
214
|
+
links.length
|
|
215
|
+
? links.map((link, index) => ({
|
|
216
|
+
label: getLinkLabel(link),
|
|
217
|
+
value: index,
|
|
218
|
+
}))
|
|
219
|
+
: [
|
|
220
|
+
{
|
|
221
|
+
label: '\u00A0\u00A0\u00A0\u00A0',
|
|
222
|
+
value: 0,
|
|
223
|
+
},
|
|
224
|
+
]
|
|
225
|
+
)
|
|
226
|
+
)
|
|
227
|
+
|
|
228
|
+
selectedLink$ = combineLatest([
|
|
229
|
+
this.selectedSourceLink$,
|
|
230
|
+
this.styleLinks$,
|
|
231
|
+
this.selectedStyleIndex$.pipe(distinctUntilChanged()),
|
|
232
|
+
]).pipe(
|
|
233
|
+
map(([src, styles, styleIdx]) => (styles.length ? styles[styleIdx] : src)),
|
|
234
|
+
shareReplay(1)
|
|
235
|
+
)
|
|
147
236
|
|
|
148
237
|
currentLayers$ = combineLatest([this.selectedLink$, this.excludeWfs$]).pipe(
|
|
149
238
|
switchMap(([link, excludeWfs]) => {
|
|
@@ -156,7 +245,6 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
156
245
|
}
|
|
157
246
|
this.hidePreview = false
|
|
158
247
|
this.loading = true
|
|
159
|
-
this.error = null
|
|
160
248
|
if (link.accessRestricted) {
|
|
161
249
|
this.handleError('dataset.error.restrictedAccess')
|
|
162
250
|
return of([])
|
|
@@ -296,11 +384,6 @@ export class MapViewComponent implements AfterViewInit {
|
|
|
296
384
|
}
|
|
297
385
|
return throwError(() => 'protocol not supported')
|
|
298
386
|
}
|
|
299
|
-
|
|
300
|
-
selectLinkToDisplay(link: number) {
|
|
301
|
-
this.selectedLinkIndex$.next(link)
|
|
302
|
-
}
|
|
303
|
-
|
|
304
387
|
handleError(error: FetchError | Error | string) {
|
|
305
388
|
if (error instanceof FetchError) {
|
|
306
389
|
this.error = this.translateService.instant(
|
|
@@ -20,9 +20,10 @@ export const FIELDS_SUMMARY: FieldName[] = [
|
|
|
20
20
|
'userSavedCount',
|
|
21
21
|
'cl_topic',
|
|
22
22
|
'cl_maintenanceAndUpdateFrequency',
|
|
23
|
-
'
|
|
23
|
+
'MD_LegalConstraints*Object',
|
|
24
24
|
'qualityScore',
|
|
25
25
|
'allKeywords',
|
|
26
|
+
'recordLink',
|
|
26
27
|
]
|
|
27
28
|
|
|
28
29
|
export const FIELDS_BRIEF: FieldName[] = [
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
withLatestFrom,
|
|
17
17
|
} from 'rxjs/operators'
|
|
18
18
|
import tippy from 'tippy.js'
|
|
19
|
-
import {
|
|
19
|
+
import { TranslateService } from '@ngx-translate/core'
|
|
20
20
|
import { StarToggleComponent } from '../../../../../../../libs/ui/inputs/src'
|
|
21
21
|
import { Observable, Subscription } from 'rxjs'
|
|
22
22
|
import { CatalogRecord } from '../../../../../../../libs/common/domain/src/lib/model/record'
|
|
@@ -30,7 +30,7 @@ import { CommonModule } from '@angular/common'
|
|
|
30
30
|
styleUrls: ['./favorite-star.component.css'],
|
|
31
31
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
32
32
|
standalone: true,
|
|
33
|
-
imports: [CommonModule, StarToggleComponent
|
|
33
|
+
imports: [CommonModule, StarToggleComponent],
|
|
34
34
|
})
|
|
35
35
|
export class FavoriteStarComponent implements AfterViewInit, OnDestroy {
|
|
36
36
|
@Input() displayCount? = true
|
|
@@ -3,10 +3,9 @@ import { HttpClientModule, HttpClientXsrfModule } from '@angular/common/http'
|
|
|
3
3
|
import { UiSearchModule } from '../../../../../libs/ui/search/src'
|
|
4
4
|
import { EffectsModule } from '@ngrx/effects'
|
|
5
5
|
import { StoreModule } from '@ngrx/store'
|
|
6
|
-
import {
|
|
6
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
7
7
|
import { NgIconsModule } from '@ng-icons/core'
|
|
8
8
|
import { FacetsModule } from './facets/facets.module'
|
|
9
|
-
import { FuzzySearchComponent } from './fuzzy-search/fuzzy-search.component'
|
|
10
9
|
import { RecordsMetricsComponent } from './records-metrics/records-metrics.component'
|
|
11
10
|
import { ResultsLayoutComponent } from './results-layout/results-layout.component'
|
|
12
11
|
import { ResultsListContainerComponent } from './results-list/results-list.container.component'
|
|
@@ -17,27 +16,22 @@ import { ResultsHitsContainerComponent } from './results-hits/results-hits.conta
|
|
|
17
16
|
import { SearchStateContainerDirective } from './state/container/search-state.container.directive'
|
|
18
17
|
import {
|
|
19
18
|
AutocompleteComponent,
|
|
19
|
+
ButtonComponent,
|
|
20
20
|
DateRangeDropdownComponent,
|
|
21
|
-
|
|
21
|
+
DropdownMultiselectComponent,
|
|
22
|
+
DropdownSelectorComponent,
|
|
23
|
+
ViewportIntersectorComponent,
|
|
22
24
|
} from '../../../../../libs/ui/inputs/src'
|
|
23
25
|
import { NgModule } from '@angular/core'
|
|
24
|
-
import {
|
|
25
|
-
ErrorComponent,
|
|
26
|
-
KindBadgeComponent,
|
|
27
|
-
UiElementsModule,
|
|
28
|
-
} from '../../../../../libs/ui/elements/src'
|
|
26
|
+
import { ErrorComponent, KindBadgeComponent } from '../../../../../libs/ui/elements/src'
|
|
29
27
|
import { FilterDropdownComponent } from './filter-dropdown/filter-dropdown.component'
|
|
30
|
-
import {
|
|
31
|
-
SpinningLoaderComponent,
|
|
32
|
-
UiWidgetsModule,
|
|
33
|
-
} from '../../../../../libs/ui/widgets/src'
|
|
28
|
+
import { SpinningLoaderComponent } from '../../../../../libs/ui/widgets/src'
|
|
34
29
|
import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.component'
|
|
35
30
|
|
|
36
31
|
@NgModule({
|
|
37
32
|
declarations: [
|
|
38
33
|
SortByComponent,
|
|
39
34
|
ResultsLayoutComponent,
|
|
40
|
-
FuzzySearchComponent,
|
|
41
35
|
RecordsMetricsComponent,
|
|
42
36
|
ResultsListContainerComponent,
|
|
43
37
|
ResultsHitsContainerComponent,
|
|
@@ -46,7 +40,8 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
|
|
|
46
40
|
],
|
|
47
41
|
imports: [
|
|
48
42
|
CommonModule,
|
|
49
|
-
|
|
43
|
+
TranslateDirective,
|
|
44
|
+
TranslatePipe,
|
|
50
45
|
StoreModule.forFeature(SEARCH_FEATURE_KEY, reducer, {
|
|
51
46
|
initialState,
|
|
52
47
|
}),
|
|
@@ -54,10 +49,7 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
|
|
|
54
49
|
HttpClientModule,
|
|
55
50
|
HttpClientXsrfModule,
|
|
56
51
|
UiSearchModule,
|
|
57
|
-
UiInputsModule,
|
|
58
|
-
UiElementsModule,
|
|
59
52
|
FacetsModule,
|
|
60
|
-
UiWidgetsModule,
|
|
61
53
|
AutocompleteComponent,
|
|
62
54
|
SpinningLoaderComponent,
|
|
63
55
|
ErrorComponent,
|
|
@@ -65,11 +57,14 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
|
|
|
65
57
|
DateRangeDropdownComponent,
|
|
66
58
|
NgIconsModule,
|
|
67
59
|
KindBadgeComponent,
|
|
60
|
+
DropdownSelectorComponent,
|
|
61
|
+
DropdownMultiselectComponent,
|
|
62
|
+
ViewportIntersectorComponent,
|
|
63
|
+
ButtonComponent,
|
|
68
64
|
],
|
|
69
65
|
exports: [
|
|
70
66
|
SortByComponent,
|
|
71
67
|
ResultsLayoutComponent,
|
|
72
|
-
FuzzySearchComponent,
|
|
73
68
|
RecordsMetricsComponent,
|
|
74
69
|
ResultsListContainerComponent,
|
|
75
70
|
ResultsHitsContainerComponent,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<gn-ui-autocomplete
|
|
2
|
-
[placeholder]="'search.field.any.placeholder' | translate"
|
|
2
|
+
[placeholder]="placeholder ?? ('search.field.any.placeholder' | translate)"
|
|
3
3
|
[displayWithFn]="displayWithFn"
|
|
4
4
|
[action]="autoCompleteAction"
|
|
5
5
|
(itemSelected)="handleItemSelection($event)"
|