geonetwork-ui 2.7.0-dev.9895bd35c → 2.7.0-dev.9cba4b227
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/index.mjs +1 -2
- package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +2 -2
- package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +26 -3
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/index.mjs +3 -5
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.mjs +5 -0
- package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.mjs +6 -0
- package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +35 -21
- package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +3 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
- package/esm2022/libs/feature/catalog/src/index.mjs +1 -2
- package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +3 -1
- package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +5 -4
- package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +4 -3
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +4 -4
- package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -2
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-topics/form-field-topics.component.mjs +55 -0
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -6
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -2
- package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -36
- package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +51 -45
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +10 -5
- package/esm2022/libs/feature/notifications/src/index.mjs +1 -2
- package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +4 -2
- package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +14 -4
- package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +5 -43
- package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +10 -5
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +15 -5
- package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +4 -2
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
- package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +3 -2
- package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +2 -5
- package/esm2022/libs/feature/router/src/lib/default/state/query-params.utils.mjs +4 -3
- package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +2 -2
- package/esm2022/libs/feature/search/src/index.mjs +1 -2
- package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +12 -5
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +24 -17
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +4 -100
- package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +9 -5
- package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +6 -5
- package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +9 -5
- package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +7 -6
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +19 -12
- package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +2 -1
- package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +7 -6
- package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +3 -2
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +8 -2
- package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +8 -2
- package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +8 -2
- package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +8 -2
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +14 -4
- package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +8 -2
- package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +8 -2
- package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +1 -6
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +15 -5
- package/esm2022/libs/ui/search/src/index.mjs +1 -3
- package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +14 -30
- package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +6 -27
- package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +7 -4
- package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +5 -2
- package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +36 -7
- package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +11 -5
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +17 -7
- package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +4 -2
- package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +5 -4
- package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +5 -3
- package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +14 -4
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +33 -8
- package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/utils/scroll.mjs +40 -0
- package/esm2022/translations/de.json +38 -36
- package/esm2022/translations/en.json +41 -38
- package/esm2022/translations/es.json +26 -24
- package/esm2022/translations/fr.json +45 -43
- package/esm2022/translations/it.json +39 -37
- package/esm2022/translations/nl.json +26 -24
- package/esm2022/translations/pt.json +26 -24
- package/esm2022/translations/sk.json +30 -28
- package/fesm2022/geonetwork-ui.mjs +5650 -5789
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.ts +0 -1
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +2 -2
- package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts +5 -1
- package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/index.d.ts +2 -3
- package/libs/api/repository/src/lib/gn4/organizations/index.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.d.ts +4 -0
- package/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.d.ts.map +1 -0
- package/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.d.ts +9 -0
- package/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.d.ts.map +1 -0
- package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +11 -8
- 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 +2 -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 +2 -2
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/common/domain/src/lib/platform.service.interface.d.ts +2 -0
- package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
- package/libs/feature/catalog/src/index.d.ts +0 -1
- package/libs/feature/catalog/src/index.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organization-url.token.d.ts +1 -0
- package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/site-title/site-title.component.d.ts +1 -1
- package/libs/feature/catalog/src/lib/site-title/site-title.component.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/source-label/source-label.component.d.ts +1 -1
- package/libs/feature/catalog/src/lib/source-label/source-label.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +1 -1
- package/libs/feature/editor/src/lib/+state/editor.effects.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/record-form/form-field/form-field-topics/form-field-topics.component.d.ts +20 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-topics/form-field-topics.component.d.ts.map +1 -0
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +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/components/record-form/form-field/index.d.ts +1 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts +3 -10
- package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
- package/libs/feature/editor/src/lib/fields.config.d.ts +4 -4
- package/libs/feature/editor/src/lib/fields.config.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/notifications/src/index.d.ts +0 -1
- package/libs/feature/notifications/src/index.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 +4 -11
- package/libs/feature/record/src/lib/feature-record.module.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.map +1 -1
- package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/container/search-router.container.directive.d.ts +1 -1
- package/libs/feature/router/src/lib/default/container/search-router.container.directive.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/router.module.d.ts +4 -5
- package/libs/feature/router/src/lib/default/router.module.d.ts.map +1 -1
- package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts.map +1 -1
- package/libs/feature/search/src/index.d.ts +0 -1
- package/libs/feature/search/src/index.d.ts.map +1 -1
- package/libs/feature/search/src/lib/facets/facets-container/facets-container.component.d.ts +1 -1
- package/libs/feature/search/src/lib/facets/facets-container/facets-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +1 -0
- 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 +3 -26
- package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +1 -1
- package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/records-metrics/records-metrics.component.d.ts +1 -1
- package/libs/feature/search/src/lib/records-metrics/records-metrics.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +1 -1
- package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-layout/results-layout.component.d.ts +1 -1
- package/libs/feature/search/src/lib/results-layout/results-layout.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -1
- 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 +1 -1
- package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/sort-by/sort-by.component.d.ts +1 -1
- package/libs/feature/search/src/lib/sort-by/sort-by.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/container/search-state.container.directive.d.ts +1 -1
- package/libs/feature/search/src/lib/state/container/search-state.container.directive.d.ts.map +1 -1
- package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/external-link-card/external-link-card.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/notification/notification.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/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
- package/libs/ui/search/src/index.d.ts +0 -2
- package/libs/ui/search/src/index.d.ts.map +1 -1
- package/libs/ui/search/src/lib/facets/facet-block/facet-block.component.d.ts +1 -11
- package/libs/ui/search/src/lib/facets/facet-block/facet-block.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/facets/facet-item/facet-item.component.d.ts +1 -11
- package/libs/ui/search/src/lib/facets/facet-item/facet-item.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/facets/facet-list/facet-list.component.d.ts +1 -1
- package/libs/ui/search/src/lib/facets/facet-list/facet-list.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-metric/record-metric.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-metric/record-metric.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview/record-preview.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview/record-preview.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.d.ts +1 -1
- package/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.d.ts +1 -1
- package/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +1 -1
- package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts +1 -1
- package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-list/results-list.component.d.ts +1 -1
- package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
- package/libs/ui/search/src/lib/results-list-item/results-list-item.component.d.ts +1 -1
- package/libs/ui/search/src/lib/results-list-item/results-list-item.component.d.ts.map +1 -1
- package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +26 -7
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/index.d.ts +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/scroll.d.ts +12 -0
- package/libs/util/shared/src/lib/utils/scroll.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -3
- package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +38 -2
- package/src/libs/api/repository/src/lib/gn4/organizations/index.ts +2 -11
- package/src/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.ts +10 -0
- package/src/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.ts +33 -0
- package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +36 -38
- package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +8 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +2 -2
- package/src/libs/common/domain/src/lib/platform.service.interface.ts +2 -0
- package/src/libs/feature/catalog/src/index.ts +0 -1
- package/src/libs/feature/catalog/src/lib/organization-url.token.ts +5 -0
- package/src/libs/feature/catalog/src/lib/site-title/site-title.component.ts +4 -0
- package/src/libs/feature/catalog/src/lib/source-label/source-label.component.ts +3 -0
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +4 -4
- package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +3 -3
- package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +8 -1
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-topics/form-field-topics.component.html +22 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-topics/form-field-topics.component.ts +57 -0
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +3 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +3 -3
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -1
- package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -18
- package/src/libs/feature/editor/src/lib/fields.config.ts +51 -45
- package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +8 -1
- package/src/libs/feature/notifications/src/index.ts +0 -1
- package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -1
- package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +7 -2
- package/src/libs/feature/record/src/lib/feature-record.module.ts +1 -21
- package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +5 -2
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +12 -3
- package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -0
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +4 -2
- package/src/libs/feature/router/src/lib/default/container/search-router.container.directive.ts +1 -0
- package/src/libs/feature/router/src/lib/default/router.module.ts +0 -3
- package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +5 -2
- package/src/libs/feature/router/src/lib/default/state/router.facade.ts +1 -1
- package/src/libs/feature/search/src/index.ts +0 -1
- package/src/libs/feature/search/src/lib/facets/facets-container/facets-container.component.ts +14 -1
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +23 -16
- package/src/libs/feature/search/src/lib/feature-search.module.ts +0 -61
- package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +12 -1
- package/src/libs/feature/search/src/lib/records-metrics/records-metrics.component.ts +5 -0
- package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +11 -0
- package/src/libs/feature/search/src/lib/results-layout/results-layout.component.ts +5 -0
- package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +21 -1
- package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +1 -1
- package/src/libs/feature/search/src/lib/sort-by/sort-by.component.ts +5 -0
- package/src/libs/feature/search/src/lib/state/container/search-state.container.directive.ts +1 -0
- package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +4 -1
- package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +4 -1
- package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -1
- package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +4 -1
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +7 -2
- package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +8 -1
- package/src/libs/ui/elements/src/lib/notification/notification.component.ts +8 -1
- package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +0 -6
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +4 -3
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +9 -4
- package/src/libs/ui/search/src/index.ts +0 -2
- package/src/libs/ui/search/src/lib/facets/facet-block/facet-block.component.ts +12 -11
- package/src/libs/ui/search/src/lib/facets/facet-item/facet-item.component.ts +5 -11
- package/src/libs/ui/search/src/lib/facets/facet-list/facet-list.component.ts +6 -0
- package/src/libs/ui/search/src/lib/record-metric/record-metric.component.ts +4 -0
- package/src/libs/ui/search/src/lib/record-preview/record-preview.component.ts +3 -0
- package/src/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.ts +4 -0
- package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts +33 -1
- package/src/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.ts +10 -0
- package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.ts +4 -0
- package/src/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.ts +4 -0
- package/src/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.ts +4 -0
- package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.ts +4 -0
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +1 -4
- package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +16 -2
- package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +5 -3
- package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +4 -0
- package/src/libs/ui/search/src/lib/results-list-item/results-list-item.component.ts +3 -0
- package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +6 -1
- package/src/libs/util/shared/src/lib/links/link-utils.ts +32 -7
- package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
- package/src/libs/util/shared/src/lib/utils/scroll.ts +48 -0
- package/translations/de.json +38 -36
- package/translations/en.json +41 -38
- package/translations/es.json +26 -24
- package/translations/fr.json +45 -43
- package/translations/it.json +39 -37
- package/translations/nl.json +26 -24
- package/translations/pt.json +26 -24
- package/translations/sk.json +30 -28
- package/esm2022/libs/feature/auth/src/index.mjs +0 -2
- package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +0 -17
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +0 -57
- package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.mjs +0 -79
- package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +0 -18
- package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +0 -21
- package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +0 -23
- package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +0 -168
- package/libs/feature/auth/src/index.d.ts +0 -2
- package/libs/feature/auth/src/index.d.ts.map +0 -1
- package/libs/feature/auth/src/lib/feature-auth.module.d.ts +0 -8
- package/libs/feature/auth/src/lib/feature-auth.module.d.ts.map +0 -1
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +0 -14
- package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +0 -1
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.d.ts +0 -28
- package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.d.ts.map +0 -1
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +0 -7
- package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +0 -1
- package/libs/feature/search/src/lib/facets/facets.module.d.ts +0 -11
- package/libs/feature/search/src/lib/facets/facets.module.d.ts.map +0 -1
- package/libs/ui/search/src/lib/facets/facets.module.d.ts +0 -13
- package/libs/ui/search/src/lib/facets/facets.module.d.ts.map +0 -1
- package/libs/ui/search/src/lib/ui-search.module.d.ts +0 -36
- package/libs/ui/search/src/lib/ui-search.module.d.ts.map +0 -1
- package/src/libs/feature/auth/src/index.ts +0 -1
- package/src/libs/feature/auth/src/lib/feature-auth.module.ts +0 -12
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -71
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.html +0 -20
- package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.ts +0 -85
- package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +0 -10
- package/src/libs/feature/search/src/lib/facets/facets.module.ts +0 -12
- package/src/libs/ui/search/src/lib/facets/facets.module.ts +0 -14
- package/src/libs/ui/search/src/lib/ui-search.module.ts +0 -108
- /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-inspire-field/form-field-inspire-theme.component.css → form-field-topics/form-field-topics.component.css} +0 -0
|
@@ -3,7 +3,7 @@ import { matLocationSearchingOutline } from '@ng-icons/material-icons/outline'
|
|
|
3
3
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
4
4
|
import { CommonModule } from '@angular/common'
|
|
5
5
|
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
6
|
-
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
6
|
+
import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
|
|
7
7
|
import {
|
|
8
8
|
getIsMobile,
|
|
9
9
|
LinkClassifierService,
|
|
@@ -21,6 +21,9 @@ import {
|
|
|
21
21
|
provideIcons({
|
|
22
22
|
matLocationSearchingOutline,
|
|
23
23
|
}),
|
|
24
|
+
provideNgIconsConfig({
|
|
25
|
+
size: '1.5em',
|
|
26
|
+
}),
|
|
24
27
|
],
|
|
25
28
|
})
|
|
26
29
|
export class GeoDataBadgeComponent {
|
package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as basicLightbox from 'basiclightbox'
|
|
|
3
3
|
import { ContentGhostComponent } from '../content-ghost/content-ghost.component'
|
|
4
4
|
import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
|
|
5
5
|
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
6
|
-
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
6
|
+
import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
|
|
7
7
|
import { matZoomOutMap } from '@ng-icons/material-icons/baseline'
|
|
8
8
|
import { CommonModule } from '@angular/common'
|
|
9
9
|
|
|
@@ -19,7 +19,12 @@ import { CommonModule } from '@angular/common'
|
|
|
19
19
|
ButtonComponent,
|
|
20
20
|
NgIcon,
|
|
21
21
|
],
|
|
22
|
-
viewProviders: [
|
|
22
|
+
viewProviders: [
|
|
23
|
+
provideIcons({ matZoomOutMap }),
|
|
24
|
+
provideNgIconsConfig({
|
|
25
|
+
size: '1.5em',
|
|
26
|
+
}),
|
|
27
|
+
],
|
|
23
28
|
})
|
|
24
29
|
export class ImageOverlayPreviewComponent {
|
|
25
30
|
@Input() imageUrl: string
|
|
@@ -5,7 +5,11 @@ import {
|
|
|
5
5
|
Input,
|
|
6
6
|
TemplateRef,
|
|
7
7
|
} from '@angular/core'
|
|
8
|
-
import {
|
|
8
|
+
import {
|
|
9
|
+
NgIconComponent,
|
|
10
|
+
provideIcons,
|
|
11
|
+
provideNgIconsConfig,
|
|
12
|
+
} from '@ng-icons/core'
|
|
9
13
|
import {
|
|
10
14
|
iconoirDatabase,
|
|
11
15
|
iconoirAppleWallet,
|
|
@@ -37,6 +41,9 @@ enum KindConfig {
|
|
|
37
41
|
iconoirCode,
|
|
38
42
|
iconoirAppWindow,
|
|
39
43
|
}),
|
|
44
|
+
provideNgIconsConfig({
|
|
45
|
+
size: '1.5em',
|
|
46
|
+
}),
|
|
40
47
|
],
|
|
41
48
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
42
49
|
standalone: true,
|
|
@@ -7,7 +7,11 @@ import {
|
|
|
7
7
|
} from '@angular/core'
|
|
8
8
|
import { CommonModule } from '@angular/common'
|
|
9
9
|
import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
NgIconComponent,
|
|
12
|
+
provideIcons,
|
|
13
|
+
provideNgIconsConfig,
|
|
14
|
+
} from '@ng-icons/core'
|
|
11
15
|
import { matCheckCircleOutline } from '@ng-icons/material-icons/baseline'
|
|
12
16
|
import {
|
|
13
17
|
matErrorOutlineOutline,
|
|
@@ -28,6 +32,9 @@ import {
|
|
|
28
32
|
matInfoOutline,
|
|
29
33
|
matCloseOutline,
|
|
30
34
|
}),
|
|
35
|
+
provideNgIconsConfig({
|
|
36
|
+
size: '1.5em',
|
|
37
|
+
}),
|
|
31
38
|
],
|
|
32
39
|
templateUrl: './notification.component.html',
|
|
33
40
|
styleUrls: ['./notification.component.css'],
|
|
@@ -136,12 +136,6 @@ export class ServiceCapabilitiesComponent implements OnInit {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
selectLayer(layer: WfsFeatureTypeFull | WmsLayerFull | WmtsLayer) {
|
|
139
|
-
if (layer === this.selectedLayer) {
|
|
140
|
-
this.selectedLayer = null
|
|
141
|
-
this.layerInformation = []
|
|
142
|
-
return
|
|
143
|
-
}
|
|
144
|
-
|
|
145
139
|
this.selectedLayer = layer
|
|
146
140
|
const filteredInfo = []
|
|
147
141
|
Object.keys(layer).map((key) => {
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
}"
|
|
11
11
|
>
|
|
12
12
|
<ng-icon [name]="toggled ? 'matStar' : 'matStarBorder'"></ng-icon>
|
|
13
|
-
<span *ngIf="displayLabel" class="mx-2 text-[16px] content-center"
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
<span *ngIf="displayLabel" class="mx-2 text-[16px] content-center">{{
|
|
14
|
+
(toggled ? 'favorite.starToggle.remove' : 'favorite.starToggle.add')
|
|
15
|
+
| translate
|
|
16
|
+
}}</span>
|
|
16
17
|
</gn-ui-button>
|
|
17
18
|
<svg
|
|
18
19
|
#starOverlay
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
ViewChild,
|
|
9
9
|
} from '@angular/core'
|
|
10
10
|
import { propagateToDocumentOnly } from '../../../../../../libs/util/shared/src'
|
|
11
|
-
import { NgIcon, provideIcons } from '@ng-icons/core'
|
|
11
|
+
import { NgIcon, provideIcons, provideNgIconsConfig } 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 {
|
|
15
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
16
16
|
|
|
17
17
|
@Component({
|
|
18
18
|
selector: 'gn-ui-star-toggle',
|
|
@@ -20,8 +20,13 @@ import { TranslateDirective } from '@ngx-translate/core'
|
|
|
20
20
|
styleUrls: ['./star-toggle.component.css'],
|
|
21
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
22
22
|
standalone: true,
|
|
23
|
-
imports: [CommonModule, NgIcon, ButtonComponent,
|
|
24
|
-
viewProviders: [
|
|
23
|
+
imports: [CommonModule, NgIcon, ButtonComponent, TranslatePipe],
|
|
24
|
+
viewProviders: [
|
|
25
|
+
provideIcons({ matStar, matStarBorder }),
|
|
26
|
+
provideNgIconsConfig({
|
|
27
|
+
size: '1.5em',
|
|
28
|
+
}),
|
|
29
|
+
],
|
|
25
30
|
})
|
|
26
31
|
export class StarToggleComponent {
|
|
27
32
|
@Input() toggled!: boolean
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
export { FacetsModule as UiFacetsModule } from './lib/facets/facets.module'
|
|
2
1
|
export * from './lib/facets/facets.model'
|
|
3
2
|
export * from './lib/facets/fixtures'
|
|
4
3
|
export * from './lib/facets/facet-block/facet-block.component'
|
|
5
4
|
export * from './lib/facets/facet-list/facet-list.component'
|
|
6
5
|
export * from './lib/facets/facet-item/facet-item.component'
|
|
7
|
-
export * from './lib/ui-search.module'
|
|
8
6
|
export * from './lib/results-list/results-layout.config'
|
|
9
7
|
export * from './lib/results-list/results-list.component'
|
|
10
8
|
export * from './lib/record-preview/record-preview.component'
|
|
@@ -20,12 +20,24 @@ import {
|
|
|
20
20
|
ModelBlock,
|
|
21
21
|
ModelItem,
|
|
22
22
|
} from '../facets.model'
|
|
23
|
+
import { FacetItemComponent } from '../facet-item/facet-item.component'
|
|
24
|
+
import { CommonModule } from '@angular/common'
|
|
25
|
+
import { FormsModule } from '@angular/forms'
|
|
26
|
+
import { TranslateModule, TranslatePipe } from '@ngx-translate/core'
|
|
23
27
|
|
|
24
28
|
@Component({
|
|
25
29
|
selector: 'gn-ui-facet-block',
|
|
26
30
|
templateUrl: './facet-block.component.html',
|
|
27
31
|
styleUrls: ['./facet-block.component.css'],
|
|
28
32
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
33
|
+
standalone: true,
|
|
34
|
+
imports: [
|
|
35
|
+
FacetItemComponent,
|
|
36
|
+
CommonModule,
|
|
37
|
+
FormsModule,
|
|
38
|
+
TranslateModule,
|
|
39
|
+
TranslatePipe,
|
|
40
|
+
],
|
|
29
41
|
})
|
|
30
42
|
export class FacetBlockComponent
|
|
31
43
|
implements OnInit, AfterViewInit, OnDestroy, OnChanges
|
|
@@ -125,14 +137,3 @@ export class FacetBlockComponent
|
|
|
125
137
|
}
|
|
126
138
|
}
|
|
127
139
|
}
|
|
128
|
-
|
|
129
|
-
@Component({ selector: 'gn-ui-facet-block', template: '' })
|
|
130
|
-
export class FacetBlockStubComponent implements Partial<FacetBlockComponent> {
|
|
131
|
-
@Input() title: string
|
|
132
|
-
@Input() model: ModelBlock
|
|
133
|
-
@Input() selectedPaths: string[][]
|
|
134
|
-
|
|
135
|
-
@Output() filterChange = new EventEmitter<string>()
|
|
136
|
-
@Output() itemSelected = new EventEmitter<string[]>()
|
|
137
|
-
@Output() itemUnselected = new EventEmitter<string[]>()
|
|
138
|
-
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import { Component, EventEmitter, Input, Output } from '@angular/core'
|
|
3
|
+
import { FormsModule } from '@angular/forms'
|
|
4
|
+
import { TranslateModule, TranslatePipe } from '@ngx-translate/core'
|
|
2
5
|
|
|
3
6
|
@Component({
|
|
4
7
|
selector: 'gn-ui-facet-item',
|
|
5
8
|
templateUrl: './facet-item.component.html',
|
|
6
9
|
styleUrls: ['./facet-item.component.css'],
|
|
10
|
+
standalone: true,
|
|
11
|
+
imports: [CommonModule, FormsModule, TranslateModule, TranslatePipe],
|
|
7
12
|
})
|
|
8
13
|
export class FacetItemComponent {
|
|
9
14
|
@Input() label: string
|
|
@@ -27,14 +32,3 @@ export class FacetItemComponent {
|
|
|
27
32
|
this.onInvertedChange(this.inverted)
|
|
28
33
|
}
|
|
29
34
|
}
|
|
30
|
-
|
|
31
|
-
@Component({ selector: 'gn-ui-facet-item', template: '' })
|
|
32
|
-
export class FacetItemStubComponent implements Partial<FacetItemComponent> {
|
|
33
|
-
@Input() label: string
|
|
34
|
-
@Input() count: number
|
|
35
|
-
@Input() selected: boolean
|
|
36
|
-
@Input() inverted: boolean
|
|
37
|
-
|
|
38
|
-
@Output() selectedChange = new EventEmitter<boolean>()
|
|
39
|
-
@Output() invertedChange = new EventEmitter<boolean>()
|
|
40
|
-
}
|
|
@@ -3,11 +3,17 @@ import { FacetSelectEvent, ModelBlock } from '../facets.model'
|
|
|
3
3
|
// Revisit facets: these should not use the ES formats!
|
|
4
4
|
// eslint-disable-next-line @nx/enforce-module-boundaries
|
|
5
5
|
import { EsRequestAggTerm } from '../../../../../../../libs/api/metadata-converter/src'
|
|
6
|
+
import { FacetBlockComponent } from '../facet-block/facet-block.component'
|
|
7
|
+
import { CommonModule } from '@angular/common'
|
|
8
|
+
import { FormsModule } from '@angular/forms'
|
|
9
|
+
import { TranslateModule } from '@ngx-translate/core'
|
|
6
10
|
|
|
7
11
|
@Component({
|
|
8
12
|
selector: 'gn-ui-facet-list',
|
|
9
13
|
templateUrl: './facet-list.component.html',
|
|
10
14
|
styleUrls: ['./facet-list.component.css'],
|
|
15
|
+
standalone: true,
|
|
16
|
+
imports: [FacetBlockComponent, CommonModule, FormsModule, TranslateModule],
|
|
11
17
|
})
|
|
12
18
|
export class FacetListComponent {
|
|
13
19
|
@Input() models: ModelBlock[]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import {
|
|
2
3
|
ChangeDetectionStrategy,
|
|
3
4
|
Component,
|
|
@@ -5,12 +6,15 @@ import {
|
|
|
5
6
|
OnInit,
|
|
6
7
|
} from '@angular/core'
|
|
7
8
|
import { ThemeService } from '../../../../../../libs/util/shared/src'
|
|
9
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
8
10
|
|
|
9
11
|
@Component({
|
|
10
12
|
selector: 'gn-ui-record-metric',
|
|
11
13
|
templateUrl: './record-metric.component.html',
|
|
12
14
|
styleUrls: ['./record-metric.component.css'],
|
|
13
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
+
standalone: true,
|
|
17
|
+
imports: [CommonModule, TranslateDirective],
|
|
14
18
|
})
|
|
15
19
|
export class RecordMetricComponent implements OnInit {
|
|
16
20
|
@Input() count: number
|
|
@@ -20,10 +20,13 @@ import {
|
|
|
20
20
|
Individual,
|
|
21
21
|
Organization,
|
|
22
22
|
} from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
23
|
+
import { CommonModule } from '@angular/common'
|
|
23
24
|
|
|
24
25
|
@Component({
|
|
25
26
|
selector: 'gn-ui-record-preview',
|
|
26
27
|
template: '',
|
|
28
|
+
standalone: true,
|
|
29
|
+
imports: [CommonModule],
|
|
27
30
|
})
|
|
28
31
|
export class RecordPreviewComponent implements OnInit, OnDestroy {
|
|
29
32
|
@Input() record: CatalogRecord
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component } from '@angular/core'
|
|
2
2
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
3
|
+
import { ThumbnailComponent } from '../../../../../../libs/ui/elements/src'
|
|
4
|
+
import { CommonModule } from '@angular/common'
|
|
3
5
|
|
|
4
6
|
@Component({
|
|
5
7
|
selector: 'gn-ui-record-preview-card',
|
|
6
8
|
templateUrl: './record-preview-card.component.html',
|
|
7
9
|
styleUrls: ['./record-preview-card.component.scss'],
|
|
8
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, RecordPreviewComponent, ThumbnailComponent],
|
|
9
13
|
})
|
|
10
14
|
export class RecordPreviewCardComponent extends RecordPreviewComponent {}
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ElementRef } from '@angular/core'
|
|
2
2
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core'
|
|
3
|
+
import { TranslateDirective, TranslateService } from '@ngx-translate/core'
|
|
4
4
|
import Duration from 'duration-relativetimeformat'
|
|
5
5
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
6
|
+
import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
|
|
7
|
+
import {
|
|
8
|
+
matCloudDownloadOutline,
|
|
9
|
+
matHomeWorkOutline,
|
|
10
|
+
matMapOutline,
|
|
11
|
+
} from '@ng-icons/material-icons/outline'
|
|
12
|
+
import { matFace } from '@ng-icons/material-icons/baseline'
|
|
13
|
+
import {
|
|
14
|
+
MarkdownParserComponent,
|
|
15
|
+
ThumbnailComponent,
|
|
16
|
+
} from '../../../../../../libs/ui/elements/src'
|
|
17
|
+
import { CommonModule } from '@angular/common'
|
|
6
18
|
|
|
7
19
|
marker('record.was.created.time')
|
|
8
20
|
|
|
@@ -11,6 +23,26 @@ marker('record.was.created.time')
|
|
|
11
23
|
templateUrl: './record-preview-feed.component.html',
|
|
12
24
|
styleUrls: ['./record-preview-feed.component.css'],
|
|
13
25
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26
|
+
standalone: true,
|
|
27
|
+
imports: [
|
|
28
|
+
CommonModule,
|
|
29
|
+
RecordPreviewComponent,
|
|
30
|
+
NgIcon,
|
|
31
|
+
ThumbnailComponent,
|
|
32
|
+
MarkdownParserComponent,
|
|
33
|
+
TranslateDirective,
|
|
34
|
+
],
|
|
35
|
+
viewProviders: [
|
|
36
|
+
provideIcons({
|
|
37
|
+
matMapOutline,
|
|
38
|
+
matCloudDownloadOutline,
|
|
39
|
+
matFace,
|
|
40
|
+
matHomeWorkOutline,
|
|
41
|
+
}),
|
|
42
|
+
provideNgIconsConfig({
|
|
43
|
+
size: '1.5em',
|
|
44
|
+
}),
|
|
45
|
+
],
|
|
14
46
|
})
|
|
15
47
|
export class RecordPreviewFeedComponent extends RecordPreviewComponent {
|
|
16
48
|
timeFormat = new Duration(this.translate.currentLang, {})
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component } from '@angular/core'
|
|
2
2
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
3
|
+
import { ThumbnailComponent } from '../../../../../../libs/ui/elements/src'
|
|
4
|
+
import { CommonModule } from '@angular/common'
|
|
5
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
3
6
|
|
|
4
7
|
@Component({
|
|
5
8
|
selector: 'gn-ui-record-preview-list',
|
|
6
9
|
templateUrl: './record-preview-list.component.html',
|
|
7
10
|
styleUrls: ['./record-preview-list.component.scss'],
|
|
8
11
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12
|
+
standalone: true,
|
|
13
|
+
imports: [
|
|
14
|
+
CommonModule,
|
|
15
|
+
RecordPreviewComponent,
|
|
16
|
+
ThumbnailComponent,
|
|
17
|
+
TranslateDirective,
|
|
18
|
+
],
|
|
9
19
|
})
|
|
10
20
|
export class RecordPreviewListComponent extends RecordPreviewComponent {}
|
|
@@ -5,12 +5,16 @@ import {
|
|
|
5
5
|
HostListener,
|
|
6
6
|
} from '@angular/core'
|
|
7
7
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
8
|
+
import { InternalLinkCardComponent } from '../../../../../../libs/ui/elements/src'
|
|
9
|
+
import { CommonModule } from '@angular/common'
|
|
8
10
|
|
|
9
11
|
@Component({
|
|
10
12
|
selector: 'gn-ui-record-preview-row',
|
|
11
13
|
templateUrl: './record-preview-row.component.html',
|
|
12
14
|
styleUrls: ['./record-preview-row.component.css'],
|
|
13
15
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
+
standalone: true,
|
|
17
|
+
imports: [CommonModule, RecordPreviewComponent, InternalLinkCardComponent],
|
|
14
18
|
})
|
|
15
19
|
export class RecordPreviewRowComponent extends RecordPreviewComponent {
|
|
16
20
|
size = 'L'
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component } from '@angular/core'
|
|
2
2
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
3
|
+
import { CommonModule } from '@angular/common'
|
|
4
|
+
import { TranslateDirective } from '@ngx-translate/core'
|
|
3
5
|
|
|
4
6
|
@Component({
|
|
5
7
|
selector: 'gn-ui-record-preview-text',
|
|
6
8
|
templateUrl: './record-preview-text.component.html',
|
|
7
9
|
styleUrls: ['./record-preview-text.component.scss'],
|
|
8
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, RecordPreviewComponent, TranslateDirective],
|
|
9
13
|
})
|
|
10
14
|
export class RecordPreviewTextComponent extends RecordPreviewComponent {}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component } from '@angular/core'
|
|
2
2
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
3
|
+
import { ThumbnailComponent } from '../../../../../../libs/ui/elements/src'
|
|
4
|
+
import { CommonModule } from '@angular/common'
|
|
3
5
|
|
|
4
6
|
@Component({
|
|
5
7
|
selector: 'gn-ui-record-preview-title',
|
|
6
8
|
templateUrl: './record-preview-title.component.html',
|
|
7
9
|
styleUrls: ['./record-preview-title.component.scss'],
|
|
8
10
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11
|
+
standalone: true,
|
|
12
|
+
imports: [CommonModule, RecordPreviewComponent, ThumbnailComponent],
|
|
9
13
|
})
|
|
10
14
|
export class RecordPreviewTitleComponent extends RecordPreviewComponent {}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import { Component, Input } from '@angular/core'
|
|
3
|
+
import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
|
|
2
4
|
|
|
3
5
|
@Component({
|
|
4
6
|
selector: 'gn-ui-results-hits-number',
|
|
5
7
|
templateUrl: './results-hits-number.component.html',
|
|
8
|
+
standalone: true,
|
|
9
|
+
imports: [CommonModule, TranslatePipe, TranslateDirective],
|
|
6
10
|
})
|
|
7
11
|
export class ResultsHitsNumberComponent {
|
|
8
12
|
@Input() hits: number
|
package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html
CHANGED
|
@@ -15,10 +15,7 @@
|
|
|
15
15
|
}"
|
|
16
16
|
>
|
|
17
17
|
<ng-template #customTemplate>
|
|
18
|
-
{{ 'search.filters.recordKind.' + choice.value | translate
|
|
19
|
-
}}<span class="ml-1" *ngIf="isSelectedChoice(choice.value)"
|
|
20
|
-
>({{ choice.count }})</span
|
|
21
|
-
>
|
|
18
|
+
{{ 'search.filters.recordKind.' + choice.value | translate }}
|
|
22
19
|
</ng-template>
|
|
23
20
|
</gn-ui-kind-badge>
|
|
24
21
|
</ng-template>
|
package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common'
|
|
1
2
|
import {
|
|
2
3
|
Component,
|
|
3
4
|
EventEmitter,
|
|
@@ -6,11 +7,20 @@ import {
|
|
|
6
7
|
SimpleChanges,
|
|
7
8
|
Output,
|
|
8
9
|
} from '@angular/core'
|
|
9
|
-
import {
|
|
10
|
+
import { KindBadgeComponent } from '../../../../../../libs/ui/elements/src'
|
|
11
|
+
import { Choice, InlineFilterComponent } from '../../../../../../libs/ui/inputs/src'
|
|
12
|
+
import { TranslatePipe } from '@ngx-translate/core'
|
|
10
13
|
|
|
11
14
|
@Component({
|
|
12
15
|
selector: 'gn-ui-results-hits-search-kind',
|
|
13
16
|
templateUrl: './results-hits-search-kind.component.html',
|
|
17
|
+
standalone: true,
|
|
18
|
+
imports: [
|
|
19
|
+
CommonModule,
|
|
20
|
+
InlineFilterComponent,
|
|
21
|
+
KindBadgeComponent,
|
|
22
|
+
TranslatePipe,
|
|
23
|
+
],
|
|
14
24
|
})
|
|
15
25
|
export class ResultsHitsSearchKindComponent implements OnChanges {
|
|
16
26
|
@Input() selected: string[] = []
|
|
@@ -38,7 +48,11 @@ export class ResultsHitsSearchKindComponent implements OnChanges {
|
|
|
38
48
|
}
|
|
39
49
|
|
|
40
50
|
onSelectedValues(values: string[]) {
|
|
41
|
-
const selectedValues = values.includes('all')
|
|
51
|
+
const selectedValues = values.includes('all')
|
|
52
|
+
? []
|
|
53
|
+
: values.length > 1
|
|
54
|
+
? [values[values.length - 1]]
|
|
55
|
+
: values
|
|
42
56
|
|
|
43
57
|
this.selectionChanged.emit(selectedValues)
|
|
44
58
|
}
|
|
@@ -20,9 +20,6 @@ export class ResultsLayoutConfigItem {
|
|
|
20
20
|
}
|
|
21
21
|
export type ResultsLayoutConfigModel = Record<string, ResultsLayoutConfigItem>
|
|
22
22
|
|
|
23
|
-
export const RESULTS_LAYOUT_CONFIG =
|
|
24
|
-
new InjectionToken<ResultsLayoutConfigModel>('results-layout.config')
|
|
25
|
-
|
|
26
23
|
export const DEFAULT_RESULTS_LAYOUT_CONFIG: ResultsLayoutConfigModel = {
|
|
27
24
|
CARD: new ResultsLayoutConfigItem(
|
|
28
25
|
RecordPreviewCardComponent,
|
|
@@ -46,3 +43,8 @@ export const DEFAULT_RESULTS_LAYOUT_CONFIG: ResultsLayoutConfigModel = {
|
|
|
46
43
|
TEXT: new ResultsLayoutConfigItem(RecordPreviewTextComponent),
|
|
47
44
|
TITLE: new ResultsLayoutConfigItem(RecordPreviewTitleComponent),
|
|
48
45
|
}
|
|
46
|
+
|
|
47
|
+
export const RESULTS_LAYOUT_CONFIG =
|
|
48
|
+
new InjectionToken<ResultsLayoutConfigModel>('results-layout.config', {
|
|
49
|
+
factory: () => DEFAULT_RESULTS_LAYOUT_CONFIG,
|
|
50
|
+
})
|
|
@@ -11,12 +11,16 @@ import {
|
|
|
11
11
|
ResultsLayoutConfigItem,
|
|
12
12
|
} from './results-layout.config'
|
|
13
13
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
14
|
+
import { ResultsListItemComponent } from '../results-list-item/results-list-item.component'
|
|
15
|
+
import { CommonModule } from '@angular/common'
|
|
14
16
|
|
|
15
17
|
@Component({
|
|
16
18
|
selector: 'gn-ui-results-list',
|
|
17
19
|
templateUrl: './results-list.component.html',
|
|
18
20
|
styleUrls: ['./results-list.component.css'],
|
|
19
21
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
22
|
+
standalone: true,
|
|
23
|
+
imports: [CommonModule, ResultsListItemComponent],
|
|
20
24
|
})
|
|
21
25
|
export class ResultsListComponent {
|
|
22
26
|
@Input() records: CatalogRecord[]
|
|
@@ -14,12 +14,15 @@ import {
|
|
|
14
14
|
import { RecordPreviewComponent } from '../record-preview/record-preview.component'
|
|
15
15
|
import { ResultsLayoutConfigItem } from '../results-list/results-layout.config'
|
|
16
16
|
import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
|
|
17
|
+
import { CommonModule } from '@angular/common'
|
|
17
18
|
|
|
18
19
|
@Component({
|
|
19
20
|
selector: 'gn-ui-results-list-item',
|
|
20
21
|
templateUrl: './results-list-item.component.html',
|
|
21
22
|
styleUrls: ['./results-list-item.component.css'],
|
|
22
23
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24
|
+
standalone: true,
|
|
25
|
+
imports: [CommonModule, RecordPreviewComponent],
|
|
23
26
|
})
|
|
24
27
|
export class ResultsListItemComponent implements OnChanges, AfterViewInit {
|
|
25
28
|
@Input() layoutConfig: ResultsLayoutConfigItem
|
|
@@ -22,7 +22,12 @@ import { matErrorOutlineOutline } from '@ng-icons/material-icons/outline'
|
|
|
22
22
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23
23
|
standalone: true,
|
|
24
24
|
imports: [CommonModule, NgIconComponent],
|
|
25
|
-
providers: [
|
|
25
|
+
providers: [
|
|
26
|
+
provideIcons({ matErrorOutlineOutline }),
|
|
27
|
+
provideNgIconsConfig({
|
|
28
|
+
size: '1.5em',
|
|
29
|
+
}),
|
|
30
|
+
],
|
|
26
31
|
})
|
|
27
32
|
export class PopupAlertComponent implements OnInit {
|
|
28
33
|
@Input() icon: string
|
|
@@ -75,10 +75,17 @@ export const FORMATS = {
|
|
|
75
75
|
mimeTypes: ['application/geopackage+sqlite3'],
|
|
76
76
|
},
|
|
77
77
|
zip: {
|
|
78
|
-
extensions: ['zip', 'tar.gz'],
|
|
78
|
+
extensions: ['zip', 'tar.gz', 'gz', '7z', '7zip'],
|
|
79
79
|
priority: 8,
|
|
80
80
|
color: '#B0CB52',
|
|
81
|
-
mimeTypes: [
|
|
81
|
+
mimeTypes: [
|
|
82
|
+
'application/zip',
|
|
83
|
+
'application/x-zip',
|
|
84
|
+
'application/x-compressed',
|
|
85
|
+
'application/x-7z-compressed',
|
|
86
|
+
'application/gzip',
|
|
87
|
+
'application/x-gzip',
|
|
88
|
+
],
|
|
82
89
|
},
|
|
83
90
|
pdf: {
|
|
84
91
|
extensions: ['pdf'],
|
|
@@ -92,39 +99,57 @@ export const FORMATS = {
|
|
|
92
99
|
color: '#C4A98F',
|
|
93
100
|
mimeTypes: ['image/jpg'],
|
|
94
101
|
},
|
|
102
|
+
png: {
|
|
103
|
+
extensions: ['png'],
|
|
104
|
+
priority: 10,
|
|
105
|
+
color: '#8B5A3C',
|
|
106
|
+
mimeTypes: ['image/png'],
|
|
107
|
+
},
|
|
108
|
+
tiff: {
|
|
109
|
+
extensions: ['tiff', 'tif', 'geotiff', 'geotif'],
|
|
110
|
+
priority: 11,
|
|
111
|
+
color: '#6B4423',
|
|
112
|
+
mimeTypes: ['image/tiff'],
|
|
113
|
+
},
|
|
95
114
|
svg: {
|
|
96
115
|
extensions: ['svg'],
|
|
97
|
-
priority:
|
|
116
|
+
priority: 12,
|
|
98
117
|
color: '#EB6D82',
|
|
99
118
|
mimeTypes: ['image/svg+xml'],
|
|
100
119
|
},
|
|
101
120
|
dxf: {
|
|
102
121
|
extensions: ['dxf'],
|
|
103
|
-
priority:
|
|
122
|
+
priority: 13,
|
|
104
123
|
color: '#DCCD00',
|
|
105
124
|
mimeTypes: ['application/x-dxf', 'image/x-dxf'],
|
|
106
125
|
},
|
|
107
126
|
html: {
|
|
108
127
|
extensions: ['html', 'htm'],
|
|
109
|
-
priority:
|
|
128
|
+
priority: 14,
|
|
110
129
|
color: '#C0C9B6',
|
|
111
130
|
mimeTypes: ['text/html'],
|
|
112
131
|
},
|
|
113
132
|
fgb: {
|
|
114
133
|
extensions: ['fgb', 'flatgeobuf'],
|
|
115
|
-
priority:
|
|
134
|
+
priority: 15,
|
|
116
135
|
color: '#A8111C',
|
|
117
136
|
mimeTypes: ['application/flatgeobuf'],
|
|
118
137
|
},
|
|
119
138
|
jsonfg: {
|
|
120
139
|
extensions: ['jsonfg', 'jsonfgc'],
|
|
121
|
-
priority:
|
|
140
|
+
priority: 16,
|
|
122
141
|
color: '#009EE0',
|
|
123
142
|
mimeTypes: [
|
|
124
143
|
'application/vnd.ogc.fg+json',
|
|
125
144
|
'application/vnd.ogc.fg+json;compatibility=geojson',
|
|
126
145
|
],
|
|
127
146
|
},
|
|
147
|
+
webp: {
|
|
148
|
+
extensions: ['webp'],
|
|
149
|
+
priority: 17,
|
|
150
|
+
color: '#5A9E6F',
|
|
151
|
+
mimeTypes: ['image/webp'],
|
|
152
|
+
},
|
|
128
153
|
} as const
|
|
129
154
|
|
|
130
155
|
export type FileFormat = keyof typeof FORMATS
|
|
@@ -8,6 +8,7 @@ export * from './mobile-screen'
|
|
|
8
8
|
export * from './no-duplicate-file-name'
|
|
9
9
|
export * from './parse'
|
|
10
10
|
export * from './remove-whitespace'
|
|
11
|
+
export * from './scroll'
|
|
11
12
|
export * from './sort-by'
|
|
12
13
|
export * from './strip-html'
|
|
13
14
|
export * from './temporal-extent-union'
|