geonetwork-ui 2.6.0-dev.9df114cd4 → 2.6.0-dev.a0bd52a21
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/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
- package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +42 -6
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +8 -4
- package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +5 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +3 -1
- package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -12
- package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
- package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +7 -1
- 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/dataviz/src/lib/chart-view/chart-view.component.mjs +45 -9
- package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +32 -2
- package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +25 -6
- package/esm2022/libs/feature/editor/src/index.mjs +2 -1
- package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +273 -0
- package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +2 -3
- package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +1 -1
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/index.mjs +2 -4
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +5 -9
- package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
- package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +7 -11
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +33 -7
- package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +14 -5
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -15
- package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
- package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
- package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
- package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
- package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
- package/esm2022/libs/feature/search/src/index.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -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 +13 -19
- package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +5 -3
- package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
- package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +30 -10
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
- package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
- package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +11 -6
- package/esm2022/libs/ui/elements/src/index.mjs +5 -1
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
- package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +55 -0
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +42 -83
- package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +59 -0
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +68 -0
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +8 -5
- package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +37 -12
- package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +5 -1
- package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +72 -0
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +17 -7
- package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +169 -0
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +26 -4
- package/esm2022/libs/ui/inputs/src/index.mjs +3 -1
- package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
- package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
- package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +68 -0
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -9
- package/esm2022/libs/ui/layout/src/index.mjs +3 -1
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
- package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
- package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +25 -3
- package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
- package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
- package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +73 -0
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
- package/esm2022/libs/ui/map/src/index.mjs +2 -1
- package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
- package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +80 -0
- package/esm2022/libs/ui/search/src/index.mjs +3 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -8
- package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
- package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
- package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
- package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +21 -12
- package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +39 -17
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +19 -5
- package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/libs/util/app-config/src/lib/app-config.mjs +2 -1
- package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
- package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +42 -1
- package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +24 -2
- package/esm2022/libs/util/shared/src/index.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +5 -1
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +16 -6
- package/esm2022/translations/de.json +75 -8
- package/esm2022/translations/en.json +77 -10
- package/esm2022/translations/es.json +74 -7
- package/esm2022/translations/fr.json +76 -9
- package/esm2022/translations/it.json +81 -14
- package/esm2022/translations/nl.json +74 -7
- package/esm2022/translations/pt.json +74 -7
- package/fesm2022/geonetwork-ui.mjs +3585 -1487
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/index.d.ts +1 -0
- package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
- package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
- package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/iso19115-3/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/iso19115-3/write-parts.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/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +1 -1
- 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 +13 -2
- package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -0
- 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 +23 -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 +6 -0
- package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
- package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
- 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 +5 -2
- package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
- package/libs/feature/editor/src/index.d.ts +1 -0
- package/libs/feature/editor/src/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
- package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
- 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 +6 -6
- 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-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
- package/libs/feature/record/src/index.d.ts +1 -3
- package/libs/feature/record/src/index.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +9 -1
- package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
- package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
- package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -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/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
- package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -1
- package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
- package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
- package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
- package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
- package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +1 -1
- package/libs/feature/search/src/index.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 +4 -2
- 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/record-url.token.d.ts +3 -1
- package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +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/utils/service/fields.d.ts +21 -0
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
- package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
- package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +4 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
- package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +6 -13
- 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 +13 -0
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
- 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-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
- package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +8 -1
- package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +31 -0
- package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +5 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +2 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
- package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
- package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
- package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
- package/libs/ui/layout/src/index.d.ts +2 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
- package/libs/ui/layout/src/lib/block-list/block-list.component.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/expandable-panel/expandable-panel.component.d.ts +15 -8
- package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +5 -1
- package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
- package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/libs/ui/map/src/index.d.ts +1 -0
- package/libs/ui/map/src/index.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
- package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
- package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
- package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
- package/libs/ui/search/src/index.d.ts +2 -0
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
- package/libs/ui/search/src/lib/results-list/results-list.component.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 +10 -4
- package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/ui-search.module.d.ts +22 -19
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
- package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/i18n.constants.d.ts +1 -0
- package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
- package/libs/util/i18n/src/lib/language-codes.d.ts +23 -1
- package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
- package/libs/util/shared/src/index.d.ts +1 -0
- package/libs/util/shared/src/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
- package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
- package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +14 -7
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/libs/api/metadata-converter/src/index.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
- package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
- package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
- package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +3 -3
- package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +64 -6
- package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +13 -3
- package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +5 -1
- package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +10 -6
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +7 -4
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +2 -0
- package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +3 -11
- package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +118 -16
- package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
- 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 +24 -11
- package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +6 -0
- package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +36 -26
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +16 -2
- package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
- package/src/libs/common/fixtures/src/lib/records.fixtures.ts +64 -1
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
- package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +54 -10
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +37 -0
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
- package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +27 -1
- package/src/libs/feature/editor/src/index.ts +1 -0
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +120 -0
- package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +325 -0
- package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +1 -2
- package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.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.html +2 -2
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
- package/src/libs/feature/record/src/index.ts +1 -3
- package/src/libs/feature/record/src/lib/data-view/data-view.component.html +16 -10
- package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -3
- package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
- package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +4 -5
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
- package/src/libs/feature/record/src/lib/map-view/map-view.component.html +25 -16
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +35 -4
- package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
- package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
- package/src/libs/feature/record/src/lib/state/mdview.effects.ts +27 -3
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +21 -17
- package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
- package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
- package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
- package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
- package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
- package/src/libs/feature/search/src/index.ts +1 -1
- package/src/libs/feature/search/src/lib/constants.ts +3 -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 +9 -10
- 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 +1 -0
- package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +26 -5
- 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/utils/service/fields.service.ts +4 -5
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
- package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
- package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
- package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +5 -4
- package/src/libs/ui/elements/src/index.ts +4 -0
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
- 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.html +38 -7
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +68 -141
- package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +38 -97
- 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.css +6 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -0
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +70 -0
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
- package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +24 -7
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -4
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
- package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +48 -9
- package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +4 -0
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
- package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +83 -0
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +8 -29
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +14 -1
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +110 -0
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +191 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +11 -1
- package/src/libs/ui/inputs/src/index.ts +2 -0
- package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
- package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
- package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +77 -0
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +3 -4
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
- package/src/libs/ui/layout/src/index.ts +2 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
- 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/expandable-panel/expandable-panel.component.html +24 -8
- package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +4 -7
- package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +20 -0
- package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
- package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
- package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +91 -0
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +2 -6
- package/src/libs/ui/map/src/index.ts +1 -0
- package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
- package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
- package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
- package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
- package/src/libs/{feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts → ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts} +8 -8
- package/src/libs/ui/search/src/index.ts +2 -0
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
- package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
- package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
- package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
- package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -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 +15 -11
- package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
- package/src/libs/ui/search/src/lib/results-table/results-table.component.html +31 -24
- package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +33 -14
- package/src/libs/ui/search/src/lib/ui-search.module.ts +8 -0
- package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
- package/src/libs/util/app-config/src/lib/app-config.ts +1 -0
- package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
- package/src/libs/util/i18n/src/lib/i18n.constants.ts +42 -0
- package/src/libs/util/i18n/src/lib/language-codes.ts +23 -1
- package/src/libs/util/shared/src/index.ts +1 -0
- package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +15 -3
- package/src/libs/util/shared/src/lib/links/link-utils.ts +33 -12
- package/tailwind.base.config.js +3 -0
- package/tailwind.base.css +5 -17
- package/translations/de.json +75 -8
- package/translations/en.json +77 -10
- package/translations/es.json +74 -7
- package/translations/fr.json +76 -9
- package/translations/it.json +81 -14
- package/translations/nl.json +74 -7
- package/translations/pt.json +74 -7
- package/translations/sk.json +74 -7
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
- package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
- package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +0 -1
- package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
- package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
- package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
- package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
- package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
- package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
- package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
- /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-map-container/form-field-map-container.component.css → multilingual-panel/multilingual-panel.component.css} +0 -0
|
@@ -28,18 +28,14 @@ import {
|
|
|
28
28
|
getFileFormat,
|
|
29
29
|
getFormatPriority,
|
|
30
30
|
} from '../../../../../../libs/util/shared/src'
|
|
31
|
-
import { TranslateModule } from '@ngx-translate/core'
|
|
31
|
+
import { TranslateModule, TranslateService } from '@ngx-translate/core'
|
|
32
32
|
import { ActionMenuComponent } from './action-menu/action-menu.component'
|
|
33
33
|
import { NgIconComponent, provideIcons } from '@ng-icons/core'
|
|
34
|
-
import { iconoirUser, iconoirLock } from '@ng-icons/iconoir'
|
|
35
|
-
import {
|
|
36
|
-
CdkConnectedOverlay,
|
|
37
|
-
CdkOverlayOrigin,
|
|
38
|
-
Overlay,
|
|
39
|
-
OverlayRef,
|
|
40
|
-
} from '@angular/cdk/overlay'
|
|
34
|
+
import { iconoirUser, iconoirLock, iconoirTranslate } from '@ng-icons/iconoir'
|
|
35
|
+
import { CdkOverlayOrigin, Overlay, OverlayRef } from '@angular/cdk/overlay'
|
|
41
36
|
import { TemplatePortal } from '@angular/cdk/portal'
|
|
42
37
|
import { matMoreVert } from '@ng-icons/material-icons/baseline'
|
|
38
|
+
import { Observable, of, take } from 'rxjs'
|
|
43
39
|
|
|
44
40
|
@Component({
|
|
45
41
|
selector: 'gn-ui-results-table',
|
|
@@ -57,7 +53,9 @@ import { matMoreVert } from '@ng-icons/material-icons/baseline'
|
|
|
57
53
|
NgIconComponent,
|
|
58
54
|
CdkOverlayOrigin,
|
|
59
55
|
],
|
|
60
|
-
providers: [
|
|
56
|
+
providers: [
|
|
57
|
+
provideIcons({ iconoirUser, iconoirLock, iconoirTranslate, matMoreVert }),
|
|
58
|
+
],
|
|
61
59
|
})
|
|
62
60
|
export class ResultsTableComponent {
|
|
63
61
|
@Input() records: CatalogRecord[] = []
|
|
@@ -65,7 +63,10 @@ export class ResultsTableComponent {
|
|
|
65
63
|
@Input() sortOrder: SortByField = null
|
|
66
64
|
@Input() hasDraft: (record: CatalogRecord) => boolean = () => false
|
|
67
65
|
@Input() canDuplicate: (record: CatalogRecord) => boolean = () => true
|
|
68
|
-
@Input() canDelete: (record: CatalogRecord) => boolean = () =>
|
|
66
|
+
@Input() canDelete: (record: CatalogRecord) => Observable<boolean> = () =>
|
|
67
|
+
of(true)
|
|
68
|
+
@Input() canEdit: (record: CatalogRecord) => Observable<boolean> = () =>
|
|
69
|
+
of(true)
|
|
69
70
|
@Input() isDraftPage = false
|
|
70
71
|
@Input() isDuplicating = false
|
|
71
72
|
|
|
@@ -89,7 +90,8 @@ export class ResultsTableComponent {
|
|
|
89
90
|
private overlay: Overlay,
|
|
90
91
|
private viewContainerRef: ViewContainerRef,
|
|
91
92
|
private cdr: ChangeDetectorRef,
|
|
92
|
-
private dateService: DateService
|
|
93
|
+
private dateService: DateService,
|
|
94
|
+
private translateService: TranslateService
|
|
93
95
|
) {}
|
|
94
96
|
|
|
95
97
|
openActionMenu(item, template) {
|
|
@@ -173,9 +175,14 @@ export class ResultsTableComponent {
|
|
|
173
175
|
return getBadgeColor(format)
|
|
174
176
|
}
|
|
175
177
|
|
|
176
|
-
handleRecordClick(item:
|
|
177
|
-
|
|
178
|
-
|
|
178
|
+
handleRecordClick(item: unknown) {
|
|
179
|
+
this.canEdit(item as CatalogRecord)
|
|
180
|
+
.pipe(take(1))
|
|
181
|
+
.subscribe((canEdit) => {
|
|
182
|
+
if (canEdit) {
|
|
183
|
+
this.recordClick.emit(item as CatalogRecord)
|
|
184
|
+
}
|
|
185
|
+
})
|
|
179
186
|
}
|
|
180
187
|
|
|
181
188
|
handleDuplicate(item: unknown) {
|
|
@@ -218,4 +225,16 @@ export class ResultsTableComponent {
|
|
|
218
225
|
handleRecordSelectedChange(selected: boolean, record: CatalogRecord) {
|
|
219
226
|
this.recordsSelectedChange.emit([[record], selected])
|
|
220
227
|
}
|
|
228
|
+
|
|
229
|
+
isMultilingual(record: CatalogRecord): boolean {
|
|
230
|
+
return record.otherLanguages.length > 0
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
getTxtHoverMultilingual(record: CatalogRecord) {
|
|
234
|
+
return this.translateService.instant('dashboard.records.isMultilingual', {
|
|
235
|
+
languages: [...[record.defaultLanguage], ...record.otherLanguages].join(
|
|
236
|
+
', '
|
|
237
|
+
),
|
|
238
|
+
})
|
|
239
|
+
}
|
|
221
240
|
}
|
|
@@ -11,6 +11,7 @@ import { RecordPreviewRowComponent } from './record-preview-row/record-preview-r
|
|
|
11
11
|
import { RecordPreviewTextComponent } from './record-preview-text/record-preview-text.component'
|
|
12
12
|
import { RecordPreviewTitleComponent } from './record-preview-title/record-preview-title.component'
|
|
13
13
|
import { ResultsHitsNumberComponent } from './results-hits-number/results-hits-number.component'
|
|
14
|
+
import { ResultsHitsSearchKindComponent } from './results-hits-search-kind/results-hits-search-kind.component'
|
|
14
15
|
import {
|
|
15
16
|
DEFAULT_RESULTS_LAYOUT_CONFIG,
|
|
16
17
|
RESULTS_LAYOUT_CONFIG,
|
|
@@ -24,6 +25,7 @@ import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
|
|
|
24
25
|
import {
|
|
25
26
|
MetadataQualityComponent,
|
|
26
27
|
UiElementsModule,
|
|
28
|
+
KindBadgeComponent,
|
|
27
29
|
} from '../../../../../libs/ui/elements/src'
|
|
28
30
|
import { RecordPreviewFeedComponent } from './record-preview-feed/record-preview-feed.component'
|
|
29
31
|
import { CommonModule } from '@angular/common'
|
|
@@ -37,6 +39,7 @@ import {
|
|
|
37
39
|
matMapOutline,
|
|
38
40
|
} from '@ng-icons/material-icons/outline'
|
|
39
41
|
import { matFace } from '@ng-icons/material-icons/baseline'
|
|
42
|
+
import { ActionMenuComponent } from './results-table/action-menu/action-menu.component'
|
|
40
43
|
|
|
41
44
|
@NgModule({
|
|
42
45
|
declarations: [
|
|
@@ -48,6 +51,7 @@ import { matFace } from '@ng-icons/material-icons/baseline'
|
|
|
48
51
|
RecordMetricComponent,
|
|
49
52
|
ResultsListComponent,
|
|
50
53
|
ResultsHitsNumberComponent,
|
|
54
|
+
ResultsHitsSearchKindComponent,
|
|
51
55
|
ResultsListItemComponent,
|
|
52
56
|
RecordPreviewFeedComponent,
|
|
53
57
|
RecordPreviewRowComponent,
|
|
@@ -74,7 +78,9 @@ import { matFace } from '@ng-icons/material-icons/baseline'
|
|
|
74
78
|
matFace,
|
|
75
79
|
matHomeWorkOutline,
|
|
76
80
|
}),
|
|
81
|
+
KindBadgeComponent,
|
|
77
82
|
MetadataQualityComponent,
|
|
83
|
+
ActionMenuComponent,
|
|
78
84
|
],
|
|
79
85
|
exports: [
|
|
80
86
|
RecordPreviewListComponent,
|
|
@@ -86,8 +92,10 @@ import { matFace } from '@ng-icons/material-icons/baseline'
|
|
|
86
92
|
FacetsModule,
|
|
87
93
|
RecordPreviewComponent,
|
|
88
94
|
ResultsHitsNumberComponent,
|
|
95
|
+
ResultsHitsSearchKindComponent,
|
|
89
96
|
RecordPreviewFeedComponent,
|
|
90
97
|
RecordPreviewRowComponent,
|
|
98
|
+
ActionMenuComponent,
|
|
91
99
|
],
|
|
92
100
|
providers: [
|
|
93
101
|
provideNgIconsConfig({
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
<ng-container *ngSwitchCase="'light'">
|
|
4
4
|
<div class="flex items-center relative">
|
|
5
5
|
<div
|
|
6
|
-
class="flex-shrink-0 {{ color.text }}
|
|
6
|
+
class="flex-shrink-0 {{ color.text }} font-medium mr-2
|
|
7
7
|
text-opacity-100 !text-slate-800"
|
|
8
|
+
data-cy="progressPercentage"
|
|
8
9
|
>
|
|
9
10
|
{{ progress }}%
|
|
10
11
|
</div>
|
|
@@ -19,12 +19,54 @@ marker('language.pt')
|
|
|
19
19
|
marker('language.ru')
|
|
20
20
|
marker('language.zh')
|
|
21
21
|
marker('language.sk')
|
|
22
|
+
marker('language.rm')
|
|
23
|
+
marker('language.ar')
|
|
24
|
+
marker('language.da')
|
|
25
|
+
marker('language.no')
|
|
26
|
+
marker('language.pl')
|
|
27
|
+
marker('language.sv')
|
|
28
|
+
marker('language.tr')
|
|
29
|
+
marker('language.hy')
|
|
30
|
+
marker('language.az')
|
|
31
|
+
marker('language.ka')
|
|
32
|
+
marker('language.uk')
|
|
33
|
+
marker('language.cy')
|
|
22
34
|
|
|
23
35
|
export const DEFAULT_LANG = 'en'
|
|
24
36
|
|
|
25
37
|
// Caution: changing this can break language selection from third parties!
|
|
26
38
|
export const LANGUAGE_STORAGE_KEY = 'geonetwork-ui-language'
|
|
27
39
|
|
|
40
|
+
export const SUPPORTED_LANGUAGES = [
|
|
41
|
+
'en',
|
|
42
|
+
'nl',
|
|
43
|
+
'fr',
|
|
44
|
+
'de',
|
|
45
|
+
'ko',
|
|
46
|
+
'es',
|
|
47
|
+
'cs',
|
|
48
|
+
'ca',
|
|
49
|
+
'fi',
|
|
50
|
+
'is',
|
|
51
|
+
'it',
|
|
52
|
+
'pt',
|
|
53
|
+
'ru',
|
|
54
|
+
'zh',
|
|
55
|
+
'sk',
|
|
56
|
+
'rm',
|
|
57
|
+
'ar',
|
|
58
|
+
'da',
|
|
59
|
+
'no',
|
|
60
|
+
'pl',
|
|
61
|
+
'sv',
|
|
62
|
+
'tr',
|
|
63
|
+
'hy',
|
|
64
|
+
'az',
|
|
65
|
+
'ka',
|
|
66
|
+
'uk',
|
|
67
|
+
'cy',
|
|
68
|
+
]
|
|
69
|
+
|
|
28
70
|
export function HttpLoaderFactory(http: HttpClient) {
|
|
29
71
|
return new FileTranslateLoader(http, './assets/i18n/')
|
|
30
72
|
}
|
|
@@ -15,6 +15,17 @@ export const LANG_3_TO_2_MAPPER = {
|
|
|
15
15
|
chi: 'zh',
|
|
16
16
|
slo: 'sk',
|
|
17
17
|
roh: 'rm',
|
|
18
|
+
ara: 'ar',
|
|
19
|
+
dan: 'da',
|
|
20
|
+
nor: 'no',
|
|
21
|
+
pol: 'pl',
|
|
22
|
+
swe: 'sv',
|
|
23
|
+
tur: 'tr',
|
|
24
|
+
arm: 'hy',
|
|
25
|
+
aze: 'az',
|
|
26
|
+
geo: 'ka',
|
|
27
|
+
ukr: 'uk',
|
|
28
|
+
wel: 'cy',
|
|
18
29
|
}
|
|
19
30
|
|
|
20
31
|
export const LANGUAGE_NAMES = {
|
|
@@ -33,7 +44,18 @@ export const LANGUAGE_NAMES = {
|
|
|
33
44
|
ru: 'Русский',
|
|
34
45
|
zh: '中文',
|
|
35
46
|
sk: 'Slovenčina',
|
|
36
|
-
|
|
47
|
+
rm: 'Rumantsch',
|
|
48
|
+
ar: 'العربية',
|
|
49
|
+
da: 'Dansk',
|
|
50
|
+
no: 'Norsk',
|
|
51
|
+
pl: 'Polski',
|
|
52
|
+
sv: 'Swedish',
|
|
53
|
+
tr: 'Türkçe',
|
|
54
|
+
hy: 'հայերեն',
|
|
55
|
+
az: 'Azərbaycan dili',
|
|
56
|
+
ka: 'ქართული',
|
|
57
|
+
uk: 'українська',
|
|
58
|
+
wel: 'Cymraeg',
|
|
37
59
|
}
|
|
38
60
|
|
|
39
61
|
export const LANG_2_TO_3_MAPPER = Object.entries(LANG_3_TO_2_MAPPER).reduce(
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core'
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DatasetOnlineResource,
|
|
4
|
+
ServiceOnlineResource,
|
|
5
|
+
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
3
6
|
import { getFileFormat } from './link-utils'
|
|
4
7
|
|
|
5
8
|
export enum LinkUsage {
|
|
@@ -16,8 +19,11 @@ export enum LinkUsage {
|
|
|
16
19
|
providedIn: 'root',
|
|
17
20
|
})
|
|
18
21
|
export class LinkClassifierService {
|
|
19
|
-
getUsagesForLink(
|
|
22
|
+
getUsagesForLink(
|
|
23
|
+
link: DatasetOnlineResource | ServiceOnlineResource
|
|
24
|
+
): LinkUsage[] {
|
|
20
25
|
switch (link.type) {
|
|
26
|
+
case 'endpoint':
|
|
21
27
|
case 'service': {
|
|
22
28
|
switch (link.accessServiceProtocol) {
|
|
23
29
|
case 'esriRest':
|
|
@@ -25,7 +31,10 @@ export class LinkClassifierService {
|
|
|
25
31
|
return [LinkUsage.API, LinkUsage.DOWNLOAD, LinkUsage.GEODATA]
|
|
26
32
|
case 'wms':
|
|
27
33
|
case 'wmts':
|
|
34
|
+
case 'tms':
|
|
28
35
|
return [LinkUsage.API, LinkUsage.MAP_API]
|
|
36
|
+
case 'maplibre-style':
|
|
37
|
+
return [LinkUsage.GEODATA]
|
|
29
38
|
case 'ogcFeatures':
|
|
30
39
|
return [LinkUsage.API, LinkUsage.DOWNLOAD, LinkUsage.GEODATA]
|
|
31
40
|
case 'GPFDL':
|
|
@@ -54,7 +63,10 @@ export class LinkClassifierService {
|
|
|
54
63
|
}
|
|
55
64
|
}
|
|
56
65
|
|
|
57
|
-
hasUsage(
|
|
66
|
+
hasUsage(
|
|
67
|
+
link: DatasetOnlineResource | ServiceOnlineResource,
|
|
68
|
+
usage: LinkUsage
|
|
69
|
+
) {
|
|
58
70
|
return this.getUsagesForLink(link).indexOf(usage) > -1
|
|
59
71
|
}
|
|
60
72
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
2
2
|
import {
|
|
3
3
|
DatasetOnlineResource,
|
|
4
|
+
ServiceOnlineResource,
|
|
4
5
|
ServiceProtocol,
|
|
5
6
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
6
7
|
import {
|
|
@@ -140,7 +141,9 @@ export function getFormatPriority(linkFormat: FileFormat): number {
|
|
|
140
141
|
return 0
|
|
141
142
|
}
|
|
142
143
|
|
|
143
|
-
export function getLinkPriority(
|
|
144
|
+
export function getLinkPriority(
|
|
145
|
+
link: DatasetOnlineResource | ServiceOnlineResource
|
|
146
|
+
): number {
|
|
144
147
|
return getFormatPriority(getFileFormat(link))
|
|
145
148
|
}
|
|
146
149
|
|
|
@@ -164,7 +167,9 @@ export function getFileFormatFromServiceOutput(
|
|
|
164
167
|
return null
|
|
165
168
|
}
|
|
166
169
|
|
|
167
|
-
export function getFileFormat(
|
|
170
|
+
export function getFileFormat(
|
|
171
|
+
link: DatasetOnlineResource | ServiceOnlineResource
|
|
172
|
+
): FileFormat {
|
|
168
173
|
if ('mimeType' in link) {
|
|
169
174
|
const mimeTypeFormat = mimeTypeToFormat(link.mimeType)
|
|
170
175
|
if (mimeTypeFormat !== null) {
|
|
@@ -181,7 +186,7 @@ export function getFileFormat(link: DatasetOnlineResource): FileFormat {
|
|
|
181
186
|
}
|
|
182
187
|
|
|
183
188
|
export function isFormatInQueryParam(
|
|
184
|
-
link: DatasetOnlineResource,
|
|
189
|
+
link: DatasetOnlineResource | ServiceOnlineResource,
|
|
185
190
|
alias: string
|
|
186
191
|
): boolean {
|
|
187
192
|
const queryParams = link.url.searchParams
|
|
@@ -203,7 +208,7 @@ export function mimeTypeToFormat(mimeType: string): FileFormat {
|
|
|
203
208
|
}
|
|
204
209
|
|
|
205
210
|
export function checkFileFormat(
|
|
206
|
-
link: DatasetOnlineResource,
|
|
211
|
+
link: DatasetOnlineResource | ServiceOnlineResource,
|
|
207
212
|
format: FileFormat
|
|
208
213
|
): boolean {
|
|
209
214
|
return (
|
|
@@ -225,7 +230,9 @@ export function getBadgeColor(linkFormat: FileFormat): string {
|
|
|
225
230
|
return 'var(--color-gray-700)' // Default color ?
|
|
226
231
|
}
|
|
227
232
|
|
|
228
|
-
export function getLinkLabel(
|
|
233
|
+
export function getLinkLabel(
|
|
234
|
+
link: DatasetOnlineResource | ServiceOnlineResource
|
|
235
|
+
): string {
|
|
229
236
|
let format = ''
|
|
230
237
|
switch (link.type) {
|
|
231
238
|
case 'service':
|
|
@@ -240,6 +247,9 @@ export function getLinkLabel(link: DatasetOnlineResource): string {
|
|
|
240
247
|
case 'wmts':
|
|
241
248
|
format = 'WMTS'
|
|
242
249
|
break
|
|
250
|
+
case 'tms':
|
|
251
|
+
format = 'TMS'
|
|
252
|
+
break
|
|
243
253
|
case 'esriRest':
|
|
244
254
|
format = 'REST'
|
|
245
255
|
break
|
|
@@ -249,7 +259,7 @@ export function getLinkLabel(link: DatasetOnlineResource): string {
|
|
|
249
259
|
default:
|
|
250
260
|
format = getFileFormat(link)
|
|
251
261
|
}
|
|
252
|
-
const label = link.description || link.name
|
|
262
|
+
const label = link.description || ('name' in link ? link.name : '')
|
|
253
263
|
return format ? `${label} (${format})` : label
|
|
254
264
|
}
|
|
255
265
|
|
|
@@ -261,14 +271,25 @@ export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
|
|
|
261
271
|
}
|
|
262
272
|
case 'wfs': {
|
|
263
273
|
const endpointWfs = await new WfsEndpoint(url).isReady()
|
|
264
|
-
|
|
274
|
+
const featureTypes = await endpointWfs.getFeatureTypes()
|
|
275
|
+
const layers = await Promise.all(
|
|
276
|
+
featureTypes.map(async (collection) => {
|
|
277
|
+
return await endpointWfs.getFeatureTypeFull(collection.name)
|
|
278
|
+
})
|
|
279
|
+
)
|
|
280
|
+
return layers
|
|
265
281
|
}
|
|
266
282
|
case 'wms': {
|
|
267
283
|
const endpointWms = await new WmsEndpoint(url).isReady()
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
284
|
+
const layers = (
|
|
285
|
+
await endpointWms
|
|
286
|
+
.getLayers()
|
|
287
|
+
.flatMap(wmsLayerFlatten)
|
|
288
|
+
.filter((l) => l.name)
|
|
289
|
+
).map((collection) => {
|
|
290
|
+
return endpointWms.getLayerByName(collection.name)
|
|
291
|
+
})
|
|
292
|
+
return layers
|
|
272
293
|
}
|
|
273
294
|
case 'wmts': {
|
|
274
295
|
const endpointWmts = await new WmtsEndpoint(url).isReady()
|
|
@@ -279,7 +300,7 @@ export async function getLayers(url: string, serviceProtocol: ServiceProtocol) {
|
|
|
279
300
|
}
|
|
280
301
|
}
|
|
281
302
|
|
|
282
|
-
function wmsLayerFlatten(layerFull) {
|
|
303
|
+
export function wmsLayerFlatten(layerFull) {
|
|
283
304
|
const layer = {
|
|
284
305
|
title: layerFull.title,
|
|
285
306
|
name: layerFull.name,
|
package/tailwind.base.config.js
CHANGED
package/tailwind.base.css
CHANGED
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
|
|
95
95
|
.gn-ui-btn-default {
|
|
96
96
|
@apply gn-ui-btn text-white
|
|
97
|
-
bg-gray-700 hover:bg-gray-800 active:bg-gray-900
|
|
98
|
-
border-gray-700 focus:ring-4 focus:ring-gray-200;
|
|
97
|
+
bg-gray-700 hover:bg-gray-800 hover:!text-white active:bg-gray-900
|
|
98
|
+
border-gray-700 focus:ring-4 focus:ring-gray-200 focus:text-gray-900;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.gn-ui-btn-primary {
|
|
@@ -131,23 +131,11 @@
|
|
|
131
131
|
.gn-ui-btn-light {
|
|
132
132
|
@apply gn-ui-btn
|
|
133
133
|
hover:bg-gray-50 focus:bg-gray-50 active:bg-gray-100
|
|
134
|
-
border-white focus:ring-4 focus:ring-gray-300;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.gn-ui-card-xs {
|
|
138
|
-
@apply min-h-[68px] md:w-[487px];
|
|
134
|
+
bg-white border-white focus:ring-4 focus:ring-gray-300;
|
|
139
135
|
}
|
|
140
136
|
|
|
141
137
|
.gn-ui-card-s {
|
|
142
|
-
@apply min-h-[
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.gn-ui-card-m {
|
|
146
|
-
@apply min-h-[68px] md:w-[487px];
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.gn-ui-card-l {
|
|
150
|
-
@apply min-h-[68px] md:w-[992px];
|
|
138
|
+
@apply min-h-[64px] w-full xs:min-w-[260px] xs:max-w-[280px] sm:min-w-[300px] sm:max-w-[500px] md:min-w-[230px];
|
|
151
139
|
}
|
|
152
140
|
|
|
153
141
|
.gn-ui-card-title {
|
|
@@ -230,7 +218,7 @@
|
|
|
230
218
|
|
|
231
219
|
/* Section title */
|
|
232
220
|
.gn-ui-section-title {
|
|
233
|
-
@apply text-title font-medium pt-9 text-[28px]
|
|
221
|
+
@apply text-title font-medium pt-9 text-[28px];
|
|
234
222
|
}
|
|
235
223
|
}
|
|
236
224
|
|