geonetwork-ui 2.6.0-dev.10c659821 → 2.6.0-dev.14c46265d
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 +14 -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 +4 -8
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -6
- 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/elasticsearch.service.mjs +17 -15
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +3 -3
- 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 +17 -13
- 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 +11 -9
- 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 +9 -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 +5 -5
- 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 +16 -8
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +9 -6
- 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 +6 -6
- package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +8 -5
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +6 -6
- 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 +2 -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/external-link-card/external-link-card.component.mjs +59 -0
- package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +5 -6
- 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 +21 -54
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +23 -21
- 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 +6 -8
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +4 -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 +6 -7
- 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 +10 -13
- 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/star-toggle/star-toggle.component.mjs +7 -3
- 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 +1 -2
- package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +18 -8
- 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 +4 -5
- 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 +5 -7
- package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +16 -5
- 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 +5 -7
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +15 -12
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +23 -24
- 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 +3 -3
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
- 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 -69
- 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 +40 -2
- 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 +1 -16
- package/esm2022/translations/en.json +2 -17
- package/esm2022/translations/es.json +1 -16
- package/esm2022/translations/fr.json +6 -21
- package/esm2022/translations/it.json +1 -16
- package/esm2022/translations/nl.json +1 -16
- package/esm2022/translations/pt.json +1 -16
- package/esm2022/translations/sk.json +603 -0
- package/fesm2022/geonetwork-ui.mjs +10494 -10698
- 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.map +1 -1
- 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.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/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 +2 -2
- 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 +4 -3
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +2 -2
- 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.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.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 +2 -5
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +2 -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 +1 -1
- package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +2 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.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 +1 -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/{link-card/link-card.component.d.ts → external-link-card/external-link-card.component.d.ts} +4 -4
- package/libs/ui/elements/src/lib/external-link-card/external-link-card.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +3 -9
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +2 -1
- 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.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.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/autocomplete/autocomplete.component.d.ts +1 -2
- package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.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/star-toggle/star-toggle.component.d.ts +2 -1
- package/libs/ui/inputs/src/lib/star-toggle/star-toggle.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 +0 -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/block-list/block-list.component.d.ts +2 -1
- package/libs/ui/layout/src/lib/block-list/block-list.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 +1 -1
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts +2 -0
- package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
- package/libs/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 +11 -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/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/model.d.ts +1 -0
- package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
- package/libs/util/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 -16
- 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 +3 -29
- 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/metadata-for-i18n.records.ts +4196 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +12 -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 +3 -7
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -6
- 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 +3 -3
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +5 -7
- 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/elasticsearch.service.ts +13 -5
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +4 -3
- 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 +13 -20
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +6 -2
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +52 -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.ts +16 -10
- 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 +6 -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.ts +5 -4
- 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.ts +17 -4
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +1 -0
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +4 -3
- 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.ts +4 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +2 -1
- 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 +1 -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/{link-card/link-card.component.ts → external-link-card/external-link-card.component.ts} +6 -6
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +3 -3
- 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 +66 -62
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.scss +115 -0
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +29 -62
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +6 -2
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +17 -15
- 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.html +20 -22
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +3 -4
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +2 -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.ts +4 -4
- 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.html +2 -2
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +6 -9
- 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/star-toggle/star-toggle.component.css +0 -1
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +5 -1
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +3 -1
- 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 +0 -1
- package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +1 -2
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +15 -5
- 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.ts +2 -2
- 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.ts +3 -10
- package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +1 -1
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.ts +14 -1
- package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +3 -4
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +0 -2
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +21 -8
- package/src/libs/ui/search/src/lib/ui-search.module.ts +12 -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 +3 -2
- package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
- package/src/libs/util/app-config/src/lib/model.ts +1 -0
- 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 -71
- 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 +44 -1
- 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 +1 -16
- package/translations/en.json +2 -17
- package/translations/es.json +1 -16
- package/translations/fr.json +6 -21
- package/translations/it.json +1 -16
- package/translations/nl.json +1 -16
- package/translations/pt.json +1 -16
- package/translations/sk.json +1 -16
- 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/internal-link-card-contact/internal-link-card-contact.component.mjs +0 -59
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +0 -60
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -134
- 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/internal-link-card-contact/internal-link-card-contact.component.d.ts +0 -14
- package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +0 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -32
- 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/internal-link-card-contact/internal-link-card-contact.component.html +0 -69
- package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +0 -61
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.css +0 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -74
- 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
- /package/src/libs/ui/elements/src/lib/{internal-link-card/internal-link-card.component.css → external-link-card/external-link-card.component.css} +0 -0
- /package/src/libs/ui/elements/src/lib/{link-card/link-card.component.html → external-link-card/external-link-card.component.html} +0 -0
|
@@ -12,6 +12,7 @@ import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
|
12
12
|
import { CommonModule } from '@angular/common'
|
|
13
13
|
import { matStar, matStarBorder } from '@ng-icons/material-icons/baseline'
|
|
14
14
|
import { ButtonComponent } from '../button/button.component'
|
|
15
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
15
16
|
|
|
16
17
|
@Component({
|
|
17
18
|
selector: 'gn-ui-star-toggle',
|
|
@@ -19,12 +20,13 @@ import { ButtonComponent } from '../button/button.component'
|
|
|
19
20
|
styleUrls: ['./star-toggle.component.css'],
|
|
20
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21
22
|
standalone: true,
|
|
22
|
-
imports: [CommonModule, NgIcon, ButtonComponent],
|
|
23
|
+
imports: [CommonModule, NgIcon, ButtonComponent, TranslateDirective],
|
|
23
24
|
viewProviders: [provideIcons({ matStar, matStarBorder })],
|
|
24
25
|
})
|
|
25
26
|
export class StarToggleComponent {
|
|
26
27
|
@Input() toggled!: boolean
|
|
27
28
|
@Input() disabled = false
|
|
29
|
+
@Input() displayLabel = false
|
|
28
30
|
@Output() newValue = new EventEmitter<boolean>()
|
|
29
31
|
@ViewChild('starOverlay') overlay: ElementRef
|
|
30
32
|
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
Output,
|
|
8
8
|
} from '@angular/core'
|
|
9
9
|
import { MatButtonToggleModule } from '@angular/material/button-toggle'
|
|
10
|
-
import {
|
|
10
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
11
11
|
|
|
12
12
|
export type SwitchToggleOption = {
|
|
13
13
|
label: string
|
|
@@ -21,7 +21,7 @@ export type SwitchToggleOption = {
|
|
|
21
21
|
styleUrls: ['./switch-toggle.component.css'],
|
|
22
22
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
23
|
standalone: true,
|
|
24
|
-
imports: [MatButtonToggleModule, CommonModule,
|
|
24
|
+
imports: [MatButtonToggleModule, CommonModule, TranslatePipe],
|
|
25
25
|
})
|
|
26
26
|
export class SwitchToggleComponent {
|
|
27
27
|
@Input() options: SwitchToggleOption[]
|
|
@@ -13,6 +13,7 @@ import { Observable } from 'rxjs'
|
|
|
13
13
|
selector: 'gn-ui-viewport-intersector',
|
|
14
14
|
templateUrl: './viewport-intersector.component.html',
|
|
15
15
|
styleUrls: ['./viewport-intersector.component.css'],
|
|
16
|
+
standalone: true,
|
|
16
17
|
})
|
|
17
18
|
export class ViewportIntersectorComponent implements OnInit, OnDestroy {
|
|
18
19
|
@Output() isInViewport = new EventEmitter<boolean>()
|
|
@@ -16,5 +16,4 @@ export * from './lib/pagination-buttons/pagination-buttons.component'
|
|
|
16
16
|
export * from './lib/pagination-dots/pagination-dots.component'
|
|
17
17
|
export * from './lib/previous-next-buttons/previous-next-buttons.component'
|
|
18
18
|
export * from './lib/paginable.interface'
|
|
19
|
-
export * from './lib/ui-layout.module'
|
|
20
19
|
export * from './lib/truncated-text/truncated-text.component'
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
ContentChildren,
|
|
7
7
|
ElementRef,
|
|
8
8
|
EventEmitter,
|
|
9
|
+
HostListener,
|
|
9
10
|
Input,
|
|
10
11
|
Output,
|
|
11
12
|
QueryList,
|
|
@@ -32,7 +33,6 @@ export class BlockListComponent implements AfterViewInit, Paginable {
|
|
|
32
33
|
ElementRef<HTMLElement>
|
|
33
34
|
>
|
|
34
35
|
@ViewChild('blockContainer') blockContainer: ElementRef<HTMLElement>
|
|
35
|
-
protected minHeight = 0
|
|
36
36
|
@Output() listChanges = new EventEmitter<BlockListComponent>()
|
|
37
37
|
subComponentSize: ComponentSize = 'M'
|
|
38
38
|
|
|
@@ -56,6 +56,12 @@ export class BlockListComponent implements AfterViewInit, Paginable {
|
|
|
56
56
|
|
|
57
57
|
constructor(private changeDetector: ChangeDetectorRef) {}
|
|
58
58
|
|
|
59
|
+
@HostListener('window:resize')
|
|
60
|
+
onResize() {
|
|
61
|
+
this.updateSizes()
|
|
62
|
+
this.refreshBlocksVisibility()
|
|
63
|
+
}
|
|
64
|
+
|
|
59
65
|
ngAfterViewInit() {
|
|
60
66
|
this.blocks.changes.subscribe(() => {
|
|
61
67
|
this.updateSizes()
|
|
@@ -66,9 +72,6 @@ export class BlockListComponent implements AfterViewInit, Paginable {
|
|
|
66
72
|
})
|
|
67
73
|
this.updateSizes()
|
|
68
74
|
this.refreshBlocksVisibility()
|
|
69
|
-
|
|
70
|
-
// we store the first height as the min-height of the list container
|
|
71
|
-
this.minHeight = this.blockContainer.nativeElement.clientHeight
|
|
72
75
|
this.changeDetector.detectChanges()
|
|
73
76
|
this.listChanges.emit(this)
|
|
74
77
|
}
|
|
@@ -84,10 +87,17 @@ export class BlockListComponent implements AfterViewInit, Paginable {
|
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
protected updateSizes() {
|
|
87
|
-
this.subComponentSize = this.
|
|
90
|
+
this.subComponentSize = this.computeResponsiveSize()
|
|
88
91
|
this.pageSize = this.computePageSize()
|
|
89
92
|
}
|
|
90
93
|
|
|
94
|
+
protected computeResponsiveSize(): ComponentSize {
|
|
95
|
+
if (window.innerWidth < 768) {
|
|
96
|
+
return 'XS'
|
|
97
|
+
}
|
|
98
|
+
return this.computeSubComponentSize()
|
|
99
|
+
}
|
|
100
|
+
|
|
91
101
|
protected computeSubComponentSize(): ComponentSize {
|
|
92
102
|
if (!this.blocks) return 'M'
|
|
93
103
|
const subComponentsCount = this.blocks.length
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
|
2
2
|
import { MatTooltipModule } from '@angular/material/tooltip'
|
|
3
3
|
import { CommonModule } from '@angular/common'
|
|
4
|
-
import {
|
|
4
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
5
5
|
|
|
6
6
|
@Component({
|
|
7
7
|
selector: 'gn-ui-form-field-wrapper',
|
|
@@ -9,7 +9,7 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
9
9
|
styleUrls: ['./form-field-wrapper.component.css'],
|
|
10
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
11
|
standalone: true,
|
|
12
|
-
imports: [MatTooltipModule, CommonModule,
|
|
12
|
+
imports: [MatTooltipModule, CommonModule, TranslateDirective],
|
|
13
13
|
})
|
|
14
14
|
export class FormFieldWrapperComponent {
|
|
15
15
|
@Input() label?: string
|
|
@@ -11,7 +11,7 @@ import { InteractiveTableColumnComponent } from './interactive-table-column/inte
|
|
|
11
11
|
import { CommonModule } from '@angular/common'
|
|
12
12
|
import { NgIconComponent, provideIcons } from '@ng-icons/core'
|
|
13
13
|
import { iconoirNavArrowDown, iconoirNavArrowUp } from '@ng-icons/iconoir'
|
|
14
|
-
import {
|
|
14
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
15
15
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
16
16
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
17
17
|
import { Observable, of } from 'rxjs'
|
|
@@ -25,7 +25,7 @@ marker('editor.record.lock.owner')
|
|
|
25
25
|
styleUrls: ['./interactive-table.component.css'],
|
|
26
26
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27
27
|
standalone: true,
|
|
28
|
-
imports: [CommonModule, NgIconComponent,
|
|
28
|
+
imports: [CommonModule, NgIconComponent, TranslatePipe],
|
|
29
29
|
providers: [provideIcons({ iconoirNavArrowDown, iconoirNavArrowUp })],
|
|
30
30
|
})
|
|
31
31
|
export class InteractiveTableComponent {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ViewChild,
|
|
10
10
|
} from '@angular/core'
|
|
11
11
|
import { CommonModule } from '@angular/common'
|
|
12
|
-
import {
|
|
12
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
13
13
|
|
|
14
14
|
@Component({
|
|
15
15
|
selector: 'gn-ui-max-lines',
|
|
@@ -17,7 +17,7 @@ import { TranslateModule } from '@ngx-translate/core'
|
|
|
17
17
|
styleUrls: ['./max-lines.component.css'],
|
|
18
18
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
19
19
|
standalone: true,
|
|
20
|
-
imports: [CommonModule,
|
|
20
|
+
imports: [CommonModule, TranslatePipe],
|
|
21
21
|
})
|
|
22
22
|
export class MaxLinesComponent implements AfterViewInit, OnDestroy {
|
|
23
23
|
@Input() maxLines = 6
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
matChevronRight,
|
|
8
8
|
} from '@ng-icons/material-icons/baseline'
|
|
9
9
|
import { CommonModule } from '@angular/common'
|
|
10
|
-
import {
|
|
10
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
11
11
|
import { Paginable } from '../paginable.interface'
|
|
12
12
|
|
|
13
13
|
@Component({
|
|
@@ -20,7 +20,7 @@ import { Paginable } from '../paginable.interface'
|
|
|
20
20
|
ButtonComponent,
|
|
21
21
|
NgIcon,
|
|
22
22
|
FormsModule,
|
|
23
|
-
|
|
23
|
+
TranslateDirective,
|
|
24
24
|
],
|
|
25
25
|
viewProviders: [
|
|
26
26
|
provideIcons({
|
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from '@angular/core'
|
|
17
17
|
import { animationFrameScheduler, fromEvent, Subscription } from 'rxjs'
|
|
18
18
|
import { throttleTime } from 'rxjs/operators'
|
|
19
|
+
import { CommonModule } from '@angular/common'
|
|
19
20
|
|
|
20
21
|
/**
|
|
21
22
|
* This component will make a block that will stay sticky on the top of the page,
|
|
@@ -32,6 +33,8 @@ import { throttleTime } from 'rxjs/operators'
|
|
|
32
33
|
templateUrl: './sticky-header.component.html',
|
|
33
34
|
styleUrls: ['./sticky-header.component.css'],
|
|
34
35
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
36
|
+
standalone: true,
|
|
37
|
+
imports: [CommonModule],
|
|
35
38
|
})
|
|
36
39
|
export class StickyHeaderComponent
|
|
37
40
|
implements AfterViewInit, OnDestroy, OnInit, AfterViewChecked
|
|
@@ -4,21 +4,15 @@ import {
|
|
|
4
4
|
Component,
|
|
5
5
|
ElementRef,
|
|
6
6
|
Input,
|
|
7
|
+
NgZone,
|
|
7
8
|
OnDestroy,
|
|
8
9
|
ViewChild,
|
|
9
|
-
NgZone,
|
|
10
10
|
} from '@angular/core'
|
|
11
11
|
import { CommonModule } from '@angular/common'
|
|
12
|
-
import {
|
|
12
|
+
import { NgIconComponent, provideIcons } from '@ng-icons/core'
|
|
13
13
|
import { iconoirExpand } from '@ng-icons/iconoir'
|
|
14
|
-
import { TranslateModule } from '@ngx-translate/core'
|
|
15
14
|
import { MatButtonModule } from '@angular/material/button'
|
|
16
|
-
import {
|
|
17
|
-
CdkScrollable,
|
|
18
|
-
OverlayModule,
|
|
19
|
-
ViewportRuler,
|
|
20
|
-
ConnectedPosition,
|
|
21
|
-
} from '@angular/cdk/overlay'
|
|
15
|
+
import { CdkScrollable, OverlayModule } from '@angular/cdk/overlay'
|
|
22
16
|
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
23
17
|
import { CellPopinComponent } from '../cell-popin/cell-popin.component'
|
|
24
18
|
|
|
@@ -27,7 +21,6 @@ import { CellPopinComponent } from '../cell-popin/cell-popin.component'
|
|
|
27
21
|
standalone: true,
|
|
28
22
|
imports: [
|
|
29
23
|
CommonModule,
|
|
30
|
-
TranslateModule,
|
|
31
24
|
MatButtonModule,
|
|
32
25
|
OverlayModule,
|
|
33
26
|
ButtonComponent,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { fromEvent, merge, Observable, of, timer } from 'rxjs'
|
|
15
15
|
import { delay, map, startWith, switchMap } from 'rxjs/operators'
|
|
16
16
|
import { CommonModule } from '@angular/common'
|
|
17
|
-
import {
|
|
17
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
18
18
|
import {
|
|
19
19
|
computeMapContextDiff,
|
|
20
20
|
Extent,
|
|
@@ -67,7 +67,7 @@ const DEFAULT_VIEW: MapContextView = {
|
|
|
67
67
|
styleUrls: ['./map-container.component.css'],
|
|
68
68
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
69
69
|
standalone: true,
|
|
70
|
-
imports: [CommonModule,
|
|
70
|
+
imports: [CommonModule, TranslateDirective, NgIconComponent],
|
|
71
71
|
providers: [
|
|
72
72
|
provideIcons({ matSwipeOutline }),
|
|
73
73
|
provideNgIconsConfig({
|
|
@@ -62,7 +62,10 @@
|
|
|
62
62
|
{{ record.title }}
|
|
63
63
|
</h1>
|
|
64
64
|
<p class="line-clamp-3">
|
|
65
|
-
<gn-ui-markdown-parser
|
|
65
|
+
<gn-ui-markdown-parser
|
|
66
|
+
[textContent]="abstract"
|
|
67
|
+
[whitoutStyles]="true"
|
|
68
|
+
/>
|
|
66
69
|
</p>
|
|
67
70
|
<gn-ui-thumbnail
|
|
68
71
|
*ngIf="record.overviews?.[0]"
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
ChangeDetectionStrategy,
|
|
3
|
+
Component,
|
|
4
|
+
ElementRef,
|
|
5
|
+
HostListener,
|
|
6
|
+
} from '@angular/core'
|
|
2
7
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
3
8
|
|
|
4
9
|
@Component({
|
|
@@ -8,7 +13,15 @@ import { RecordPreviewComponent } from '../record-preview/record-preview.compone
|
|
|
8
13
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
9
14
|
})
|
|
10
15
|
export class RecordPreviewRowComponent extends RecordPreviewComponent {
|
|
16
|
+
size = 'L'
|
|
11
17
|
constructor(protected elementRef: ElementRef) {
|
|
12
18
|
super(elementRef)
|
|
19
|
+
this.onResize()
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@HostListener('window:resize')
|
|
23
|
+
onResize() {
|
|
24
|
+
if (window.innerWidth < 768) this.size = 'S'
|
|
25
|
+
else this.size = 'L'
|
|
13
26
|
}
|
|
14
27
|
}
|
|
@@ -9,9 +9,8 @@ import {
|
|
|
9
9
|
} from '@angular/core'
|
|
10
10
|
import { MatDialog, MatDialogModule } from '@angular/material/dialog'
|
|
11
11
|
import { MatMenuModule, MatMenuTrigger } from '@angular/material/menu'
|
|
12
|
-
import { ConfirmationDialogComponent } from '../../../../../../../libs/ui/elements/src'
|
|
13
12
|
import { ButtonComponent } from '../../../../../../../libs/ui/inputs/src'
|
|
14
|
-
import {
|
|
13
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
15
14
|
|
|
16
15
|
type ActionMenuPage = 'mainMenu' | 'deleteMenu' | 'rollbackMenu'
|
|
17
16
|
|
|
@@ -25,8 +24,8 @@ type ActionMenuPage = 'mainMenu' | 'deleteMenu' | 'rollbackMenu'
|
|
|
25
24
|
ButtonComponent,
|
|
26
25
|
MatMenuModule,
|
|
27
26
|
MatDialogModule,
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
TranslateDirective,
|
|
28
|
+
TranslatePipe,
|
|
30
29
|
],
|
|
31
30
|
})
|
|
32
31
|
export class ActionMenuComponent {
|
|
@@ -146,14 +146,12 @@
|
|
|
146
146
|
<ng-template #header> </ng-template>
|
|
147
147
|
<ng-template #cell let-item>
|
|
148
148
|
<div class="flex justify-end items-center gap-4 w-full">
|
|
149
|
-
<!-- IS MULTILINGUAL -->
|
|
150
149
|
<ng-icon
|
|
151
150
|
*ngIf="isMultilingual(item)"
|
|
152
151
|
data-cy="multilingual-indicator"
|
|
153
152
|
name="iconoirTranslate"
|
|
154
153
|
[attr.title]="getTxtHoverMultilingual(item)"
|
|
155
154
|
></ng-icon>
|
|
156
|
-
<!-- MORE ACTIONS MENU BUTTON -->
|
|
157
155
|
<gn-ui-button
|
|
158
156
|
cdkOverlayOrigin
|
|
159
157
|
#actionMenuButton
|
|
@@ -15,7 +15,11 @@ import {
|
|
|
15
15
|
FieldSort,
|
|
16
16
|
SortByField,
|
|
17
17
|
} from '../../../../../../libs/common/domain/src/lib/model/search'
|
|
18
|
-
import {
|
|
18
|
+
import {
|
|
19
|
+
BadgeComponent,
|
|
20
|
+
ButtonComponent,
|
|
21
|
+
CheckboxComponent,
|
|
22
|
+
} from '../../../../../../libs/ui/inputs/src'
|
|
19
23
|
import {
|
|
20
24
|
InteractiveTableColumnComponent,
|
|
21
25
|
InteractiveTableComponent,
|
|
@@ -28,10 +32,14 @@ import {
|
|
|
28
32
|
getFileFormat,
|
|
29
33
|
getFormatPriority,
|
|
30
34
|
} from '../../../../../../libs/util/shared/src'
|
|
31
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
TranslateDirective,
|
|
37
|
+
TranslatePipe,
|
|
38
|
+
TranslateService,
|
|
39
|
+
} from '@ngx-translate/core'
|
|
32
40
|
import { ActionMenuComponent } from './action-menu/action-menu.component'
|
|
33
41
|
import { NgIconComponent, provideIcons } from '@ng-icons/core'
|
|
34
|
-
import {
|
|
42
|
+
import { iconoirLock, iconoirTranslate, iconoirUser } from '@ng-icons/iconoir'
|
|
35
43
|
import { CdkOverlayOrigin, Overlay, OverlayRef } from '@angular/cdk/overlay'
|
|
36
44
|
import { TemplatePortal } from '@angular/cdk/portal'
|
|
37
45
|
import { matMoreVert } from '@ng-icons/material-icons/baseline'
|
|
@@ -44,14 +52,16 @@ import { Observable, of, take } from 'rxjs'
|
|
|
44
52
|
standalone: true,
|
|
45
53
|
imports: [
|
|
46
54
|
CommonModule,
|
|
47
|
-
UiInputsModule,
|
|
48
55
|
InteractiveTableComponent,
|
|
49
56
|
InteractiveTableColumnComponent,
|
|
50
|
-
|
|
57
|
+
TranslateDirective,
|
|
58
|
+
TranslatePipe,
|
|
51
59
|
BadgeComponent,
|
|
52
60
|
ActionMenuComponent,
|
|
53
61
|
NgIconComponent,
|
|
54
62
|
CdkOverlayOrigin,
|
|
63
|
+
CheckboxComponent,
|
|
64
|
+
ButtonComponent,
|
|
55
65
|
],
|
|
56
66
|
providers: [
|
|
57
67
|
provideIcons({ iconoirUser, iconoirLock, iconoirTranslate, matMoreVert }),
|
|
@@ -231,10 +241,13 @@ export class ResultsTableComponent {
|
|
|
231
241
|
}
|
|
232
242
|
|
|
233
243
|
getTxtHoverMultilingual(record: CatalogRecord) {
|
|
244
|
+
const languages = [
|
|
245
|
+
...[record.defaultLanguage],
|
|
246
|
+
...record.otherLanguages,
|
|
247
|
+
].sort((a, b) => a.localeCompare(b))
|
|
248
|
+
|
|
234
249
|
return this.translateService.instant('dashboard.records.isMultilingual', {
|
|
235
|
-
languages:
|
|
236
|
-
', '
|
|
237
|
-
),
|
|
250
|
+
languages: languages.join(', '),
|
|
238
251
|
})
|
|
239
252
|
}
|
|
240
253
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core'
|
|
2
2
|
import { RouterLink } from '@angular/router'
|
|
3
|
-
import {
|
|
4
|
-
import { TranslateModule } from '@ngx-translate/core'
|
|
3
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
5
4
|
import { NgxDropzoneModule } from 'ngx-dropzone'
|
|
6
5
|
import { FacetsModule } from './facets/facets.module'
|
|
7
6
|
import { RecordMetricComponent } from './record-metric/record-metric.component'
|
|
@@ -21,15 +20,15 @@ import { RecordPreviewComponent } from './record-preview/record-preview.componen
|
|
|
21
20
|
import { TagInputModule } from 'ngx-chips'
|
|
22
21
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
|
|
23
22
|
import { ResultsListItemComponent } from './results-list-item/results-list-item.component'
|
|
24
|
-
import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
|
|
25
23
|
import {
|
|
26
|
-
|
|
27
|
-
UiElementsModule,
|
|
24
|
+
InternalLinkCardComponent,
|
|
28
25
|
KindBadgeComponent,
|
|
26
|
+
MarkdownParserComponent,
|
|
27
|
+
MetadataQualityComponent,
|
|
28
|
+
ThumbnailComponent,
|
|
29
29
|
} from '../../../../../libs/ui/elements/src'
|
|
30
30
|
import { RecordPreviewFeedComponent } from './record-preview-feed/record-preview-feed.component'
|
|
31
31
|
import { CommonModule } from '@angular/common'
|
|
32
|
-
import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
|
|
33
32
|
import { MatCheckboxModule } from '@angular/material/checkbox'
|
|
34
33
|
import { InteractiveTableComponent } from '../../../../../libs/ui/layout/src'
|
|
35
34
|
import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
|
|
@@ -39,6 +38,7 @@ import {
|
|
|
39
38
|
matMapOutline,
|
|
40
39
|
} from '@ng-icons/material-icons/outline'
|
|
41
40
|
import { matFace } from '@ng-icons/material-icons/baseline'
|
|
41
|
+
import { InlineFilterComponent } from '../../../../../libs/ui/inputs/src'
|
|
42
42
|
import { ActionMenuComponent } from './results-table/action-menu/action-menu.component'
|
|
43
43
|
|
|
44
44
|
@NgModule({
|
|
@@ -58,16 +58,13 @@ import { ActionMenuComponent } from './results-table/action-menu/action-menu.com
|
|
|
58
58
|
],
|
|
59
59
|
imports: [
|
|
60
60
|
CommonModule,
|
|
61
|
-
|
|
61
|
+
TranslateDirective,
|
|
62
|
+
TranslatePipe,
|
|
62
63
|
NgxDropzoneModule,
|
|
63
64
|
FacetsModule,
|
|
64
65
|
FormsModule,
|
|
65
66
|
ReactiveFormsModule,
|
|
66
67
|
TagInputModule,
|
|
67
|
-
UtilSharedModule,
|
|
68
|
-
UiWidgetsModule,
|
|
69
|
-
UiInputsModule,
|
|
70
|
-
UiElementsModule,
|
|
71
68
|
MatCheckboxModule,
|
|
72
69
|
RouterLink,
|
|
73
70
|
InteractiveTableComponent,
|
|
@@ -80,6 +77,10 @@ import { ActionMenuComponent } from './results-table/action-menu/action-menu.com
|
|
|
80
77
|
}),
|
|
81
78
|
KindBadgeComponent,
|
|
82
79
|
MetadataQualityComponent,
|
|
80
|
+
InlineFilterComponent,
|
|
81
|
+
ThumbnailComponent,
|
|
82
|
+
MarkdownParserComponent,
|
|
83
|
+
InternalLinkCardComponent,
|
|
83
84
|
ActionMenuComponent,
|
|
84
85
|
],
|
|
85
86
|
exports: [
|
|
@@ -18,7 +18,6 @@ import {
|
|
|
18
18
|
import { TranslateCompiler, TranslateLoader } from '@ngx-translate/core'
|
|
19
19
|
import { TranslateMessageFormatCompiler } from 'ngx-translate-messageformat-compiler'
|
|
20
20
|
import { HttpClient } from '@angular/common/http'
|
|
21
|
-
import { DEFAULT_LANG } from '../../../../../libs/util/i18n/src'
|
|
22
21
|
import { FileWithOverridesTranslateLoader } from './i18n/file-with-overrides.translate.loader'
|
|
23
22
|
|
|
24
23
|
const MISSING_CONFIG_ERROR = `Application configuration was not initialized correctly.
|
|
@@ -225,6 +224,7 @@ export function loadAppConfig() {
|
|
|
225
224
|
'search',
|
|
226
225
|
[],
|
|
227
226
|
[
|
|
227
|
+
'record_kind_quick_filter',
|
|
228
228
|
'filter_geometry_data',
|
|
229
229
|
'filter_geometry_url',
|
|
230
230
|
'search_preset',
|
|
@@ -245,6 +245,8 @@ export function loadAppConfig() {
|
|
|
245
245
|
parsedSearchSection === null
|
|
246
246
|
? null
|
|
247
247
|
: ({
|
|
248
|
+
RECORD_KIND_QUICK_FILTER:
|
|
249
|
+
parsedSearchSection.record_kind_quick_filter,
|
|
248
250
|
FILTER_GEOMETRY_DATA: parsedSearchSection.filter_geometry_data,
|
|
249
251
|
FILTER_GEOMETRY_URL: parsedSearchSection.filter_geometry_url,
|
|
250
252
|
SEARCH_PRESET: parsedSearchParams.map((param) => ({
|
|
@@ -308,7 +310,6 @@ export const TRANSLATE_WITH_OVERRIDES_CONFIG = {
|
|
|
308
310
|
useFactory: function HttpLoaderFactory(http: HttpClient) {
|
|
309
311
|
return new FileWithOverridesTranslateLoader(http, './assets/i18n/')
|
|
310
312
|
},
|
|
311
|
-
defaultLanguage: DEFAULT_LANG,
|
|
312
313
|
deps: [HttpClient],
|
|
313
314
|
},
|
|
314
315
|
}
|
|
@@ -38,6 +38,7 @@ title_font = 'serif'
|
|
|
38
38
|
fonts_stylesheet_url = "https://fonts.googleapis.com/css2?family=Open+Sans"
|
|
39
39
|
|
|
40
40
|
[search]
|
|
41
|
+
record_kind_quick_filter = false
|
|
41
42
|
filter_geometry_url = 'https://my.domain.org/geom.json'
|
|
42
43
|
advanced_filters = ['publicationYear', 'documentStandard', 'inspireKeyword', 'topic', 'license']
|
|
43
44
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export * from './lib/
|
|
1
|
+
export * from './lib/i18n.providers'
|
|
2
2
|
export * from './lib/i18n.constants'
|
|
3
3
|
export * from './lib/i18n.interceptor'
|
|
4
|
-
export * from './lib/lang.service'
|
|
5
4
|
export * from './lib/file.translate.loader'
|
|
6
5
|
export * from './lib/embedded.translate.loader'
|
|
7
6
|
export * from './lib/translate.loader.utils'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TranslateLoader } from '@ngx-translate/core'
|
|
2
|
-
import {
|
|
2
|
+
import { map, Observable, of } from 'rxjs'
|
|
3
3
|
import { dropEmptyTranslations } from './translate.loader.utils'
|
|
4
4
|
import de from '../../../../../translations/de.json'
|
|
5
5
|
import en from '../../../../../translations/en.json'
|
|
@@ -8,10 +8,11 @@ import fr from '../../../../../translations/fr.json'
|
|
|
8
8
|
import it from '../../../../../translations/it.json'
|
|
9
9
|
import nl from '../../../../../translations/nl.json'
|
|
10
10
|
import pt from '../../../../../translations/pt.json'
|
|
11
|
+
import sk from '../../../../../translations/sk.json'
|
|
11
12
|
|
|
12
13
|
export class EmbeddedTranslateLoader implements TranslateLoader {
|
|
13
|
-
getTranslation(lang: string): Observable<
|
|
14
|
-
const langs = { de, en, es, fr, it, nl, pt }
|
|
14
|
+
getTranslation(lang: string): Observable<Record<string, string>> {
|
|
15
|
+
const langs = { de, en, es, fr, it, nl, pt, sk }
|
|
15
16
|
const translations = langs[lang.substring(0, 2)]
|
|
16
17
|
return of(translations).pipe(map(dropEmptyTranslations))
|
|
17
18
|
}
|