geonetwork-ui 2.6.0-dev.4fa0a0afc → 2.6.0-dev.5257edce4

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.
Files changed (847) hide show
  1. package/README.md +2 -3
  2. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +1 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  5. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
  6. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +11 -2
  7. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
  8. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +59 -15
  9. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
  10. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
  12. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +14 -6
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +7 -7
  15. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +8 -8
  16. package/esm2022/libs/api/metadata-converter/src/lib/translate-utils.mjs +17 -0
  17. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  18. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +5 -2
  19. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +21 -27
  20. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
  21. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
  22. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
  23. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
  24. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +23 -13
  25. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  26. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  27. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  28. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
  29. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
  30. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +51 -11
  31. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
  32. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  33. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +35 -3
  34. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +31 -8
  35. package/esm2022/libs/feature/editor/src/index.mjs +2 -4
  36. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  37. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +13 -7
  38. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
  39. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +5 -1
  40. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
  41. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
  42. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
  43. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +275 -0
  44. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +5 -15
  45. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
  46. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
  47. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
  48. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
  49. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +8 -14
  50. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
  51. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +4 -4
  52. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
  53. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
  54. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +7 -7
  55. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
  56. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
  57. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
  58. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
  59. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
  60. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
  61. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
  62. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
  63. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
  64. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
  65. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
  66. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
  67. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
  68. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
  69. package/esm2022/libs/feature/record/src/index.mjs +2 -4
  70. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +20 -19
  71. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +10 -15
  72. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +5 -6
  73. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +12 -17
  74. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +7 -4
  75. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
  76. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
  77. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
  78. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +101 -21
  79. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
  80. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  81. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +14 -5
  82. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -15
  83. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  84. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  85. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
  86. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  87. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
  88. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
  89. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  90. package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
  91. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +12 -8
  92. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +33 -42
  93. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
  94. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
  95. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
  96. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  97. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +35 -15
  98. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  99. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
  100. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
  101. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +74 -4
  102. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  103. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
  104. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
  105. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
  106. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
  107. package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
  108. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  109. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +13 -8
  110. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
  111. package/esm2022/libs/ui/elements/src/index.mjs +6 -3
  112. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +7 -7
  113. package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +5 -5
  114. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
  115. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -3
  116. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +5 -6
  117. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +20 -9
  118. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
  119. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +54 -0
  120. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
  121. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  122. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +120 -0
  123. package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +58 -0
  124. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +65 -0
  125. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +5 -6
  126. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
  127. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
  128. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +5 -6
  129. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +10 -8
  130. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +40 -17
  131. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
  132. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -5
  133. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +71 -0
  134. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +170 -0
  135. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
  136. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
  137. package/esm2022/libs/ui/inputs/src/index.mjs +3 -3
  138. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +10 -13
  139. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  140. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
  141. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
  142. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
  143. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +5 -6
  144. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
  145. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +43 -0
  146. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  147. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +73 -0
  148. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +8 -3
  149. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
  150. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
  151. package/esm2022/libs/ui/layout/src/index.mjs +3 -2
  152. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +44 -3
  153. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  154. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  155. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  156. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  157. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
  158. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +26 -5
  159. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
  160. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
  161. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  162. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
  163. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +71 -0
  164. package/esm2022/libs/ui/map/src/index.mjs +2 -1
  165. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  166. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
  167. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +80 -0
  168. package/esm2022/libs/ui/search/src/index.mjs +3 -1
  169. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
  170. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -8
  171. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  172. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  173. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  174. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  175. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
  176. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +45 -20
  177. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +39 -26
  178. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  179. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  180. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  181. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +2 -3
  182. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  183. package/esm2022/libs/util/i18n/src/index.mjs +2 -3
  184. package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
  185. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
  186. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
  187. package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
  188. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
  189. package/esm2022/libs/util/shared/src/index.mjs +3 -2
  190. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
  191. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
  192. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +5 -1
  193. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +16 -6
  194. package/esm2022/libs/util/shared/src/lib/record.util.mjs +56 -0
  195. package/esm2022/translations/de.json +86 -24
  196. package/esm2022/translations/en.json +86 -24
  197. package/esm2022/translations/es.json +85 -23
  198. package/esm2022/translations/fr.json +87 -25
  199. package/esm2022/translations/it.json +85 -24
  200. package/esm2022/translations/nl.json +85 -23
  201. package/esm2022/translations/pt.json +85 -23
  202. package/esm2022/translations/sk.json +603 -0
  203. package/fesm2022/geonetwork-ui.mjs +12040 -9835
  204. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  205. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  206. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  207. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
  208. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  209. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  210. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  211. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
  212. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
  213. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  214. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  215. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  216. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  217. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  218. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  219. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  220. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  221. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts +2 -0
  222. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts.map +1 -0
  223. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  224. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  225. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +9 -7
  226. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  227. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +14 -3
  228. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  229. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  230. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
  231. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  232. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
  233. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  234. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +6 -3
  235. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  236. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  237. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  238. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +26 -17
  239. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  240. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -1
  241. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  242. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
  243. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  244. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
  245. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +1 -1
  246. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  247. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  248. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  249. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  250. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  251. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +6 -3
  252. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  253. package/libs/feature/editor/src/index.d.ts +1 -3
  254. package/libs/feature/editor/src/index.d.ts.map +1 -1
  255. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +8 -1
  256. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  257. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +10 -12
  258. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  259. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -1
  260. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  261. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  262. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +1 -1
  263. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  264. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -1
  265. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  266. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
  267. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
  268. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  269. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  270. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +6 -6
  271. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  272. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
  273. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
  274. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
  275. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  276. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
  277. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
  278. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  279. 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
  280. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
  281. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
  282. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  283. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +10 -17
  284. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  285. package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
  286. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  287. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  288. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  289. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  290. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  291. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  292. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
  293. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  294. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  295. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  296. package/libs/feature/record/src/index.d.ts +1 -3
  297. package/libs/feature/record/src/index.d.ts.map +1 -1
  298. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +15 -4
  299. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  300. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
  301. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  302. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
  303. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  304. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  305. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  306. package/libs/feature/record/src/lib/feature-record.module.d.ts +8 -12
  307. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  308. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -1
  309. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
  310. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -6
  311. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  312. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
  313. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
  314. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  315. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -1
  316. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  317. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
  318. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  319. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
  320. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  321. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  322. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  323. package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
  324. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  325. package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
  326. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  327. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  328. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
  329. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  330. package/libs/feature/search/src/index.d.ts +1 -1
  331. package/libs/feature/search/src/index.d.ts.map +1 -1
  332. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  333. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +2 -1
  334. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  335. package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -22
  336. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  337. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  338. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  339. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -1
  340. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
  341. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  342. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  343. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
  344. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  345. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  346. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  347. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +1 -2
  348. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
  349. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
  350. package/libs/feature/search/src/lib/utils/service/fields.d.ts +22 -2
  351. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  352. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  353. package/libs/ui/dataviz/src/index.d.ts +0 -1
  354. package/libs/ui/dataviz/src/index.d.ts.map +1 -1
  355. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  356. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  357. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  358. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  359. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
  360. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  361. package/libs/ui/elements/src/index.d.ts +5 -2
  362. package/libs/ui/elements/src/index.d.ts.map +1 -1
  363. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  364. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
  365. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
  366. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
  367. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -1
  368. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  369. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  370. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  371. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  372. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  373. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  374. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +36 -0
  375. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -0
  376. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
  377. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
  378. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +13 -0
  379. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  380. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
  381. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  382. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  383. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
  384. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  385. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
  386. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  387. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  388. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  389. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
  390. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  391. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +31 -0
  392. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
  393. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
  394. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
  395. package/libs/ui/inputs/src/index.d.ts +2 -2
  396. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  397. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +1 -2
  398. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  399. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  400. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  401. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
  402. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
  403. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
  404. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
  405. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
  406. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
  407. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
  408. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  409. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  410. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  411. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  412. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  413. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  414. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +2 -1
  415. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  416. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
  417. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
  418. package/libs/ui/layout/src/index.d.ts +2 -1
  419. package/libs/ui/layout/src/index.d.ts.map +1 -1
  420. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +10 -3
  421. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  422. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  423. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  424. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  425. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  426. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  427. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  428. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +5 -1
  429. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  430. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
  431. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
  432. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
  433. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  434. package/libs/ui/map/src/index.d.ts +1 -0
  435. package/libs/ui/map/src/index.d.ts.map +1 -1
  436. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  437. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  438. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
  439. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
  440. package/libs/ui/search/src/index.d.ts +2 -0
  441. package/libs/ui/search/src/index.d.ts.map +1 -1
  442. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  443. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  444. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  445. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  446. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  447. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  448. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  449. package/libs/ui/search/src/lib/ui-search.module.d.ts +22 -19
  450. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  451. package/libs/ui/widgets/src/index.d.ts +0 -1
  452. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  453. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
  454. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
  455. package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
  456. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  457. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  458. package/libs/util/i18n/src/index.d.ts +1 -2
  459. package/libs/util/i18n/src/index.d.ts.map +1 -1
  460. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
  461. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
  462. package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
  463. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  464. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
  465. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
  466. package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
  467. package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
  468. package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
  469. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  470. package/libs/util/shared/src/index.d.ts +2 -1
  471. package/libs/util/shared/src/index.d.ts.map +1 -1
  472. package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
  473. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
  474. package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
  475. package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
  476. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  477. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  478. package/libs/util/shared/src/lib/links/link-utils.d.ts +14 -7
  479. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  480. package/libs/util/shared/src/lib/record.util.d.ts +3 -0
  481. package/libs/util/shared/src/lib/record.util.d.ts.map +1 -0
  482. package/package.json +4 -4
  483. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  484. package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
  485. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  486. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  487. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +10 -1
  488. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
  489. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
  490. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +3 -3
  491. package/src/libs/api/metadata-converter/src/lib/fixtures/metadata-for-i18n.records.ts +4196 -0
  492. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
  493. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
  494. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +81 -11
  495. package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
  496. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  497. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
  498. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
  499. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +14 -8
  500. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +12 -8
  501. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +8 -7
  502. package/src/libs/api/metadata-converter/src/lib/translate-utils.ts +17 -0
  503. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
  504. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +4 -1
  505. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +17 -17
  506. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +119 -16
  507. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
  508. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
  509. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
  510. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -20
  511. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  512. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +27 -11
  513. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +11 -1
  514. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +36 -26
  515. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +16 -2
  516. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
  517. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +114 -1
  518. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
  519. package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
  520. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  521. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +60 -12
  522. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
  523. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +40 -1
  524. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  525. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +33 -3
  526. package/src/libs/feature/editor/src/index.ts +1 -3
  527. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +9 -1
  528. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +23 -12
  529. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  530. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +9 -1
  531. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
  532. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
  533. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
  534. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +120 -0
  535. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +331 -0
  536. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +3 -12
  537. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +5 -4
  538. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
  539. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
  540. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
  541. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +5 -9
  542. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
  543. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +2 -2
  544. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
  545. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
  546. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
  547. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +2 -2
  548. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +4 -4
  549. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
  550. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
  551. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
  552. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
  553. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
  554. package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
  555. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
  556. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
  557. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
  558. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
  559. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
  560. package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
  561. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
  562. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
  563. package/src/libs/feature/record/src/index.ts +1 -3
  564. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +17 -11
  565. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +22 -19
  566. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +4 -5
  567. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  568. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
  569. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +6 -7
  570. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  571. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +3 -2
  572. package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
  573. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
  574. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
  575. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +38 -11
  576. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +140 -21
  577. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
  578. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
  579. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +27 -3
  580. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +21 -17
  581. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
  582. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  583. package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
  584. package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
  585. package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
  586. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
  587. package/src/libs/feature/search/src/index.ts +1 -1
  588. package/src/libs/feature/search/src/lib/constants.ts +3 -1
  589. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +2 -7
  590. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +16 -7
  591. package/src/libs/feature/search/src/lib/feature-search.module.ts +17 -23
  592. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  593. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
  594. package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
  595. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  596. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  597. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.css +6 -0
  598. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
  599. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +26 -5
  600. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  601. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  602. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
  603. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
  604. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  605. package/src/libs/feature/search/src/lib/utils/service/fields.ts +103 -3
  606. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  607. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  608. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
  609. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
  610. package/src/libs/ui/dataviz/src/index.ts +0 -1
  611. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  612. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  613. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +7 -6
  614. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
  615. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
  616. package/src/libs/ui/elements/src/index.ts +5 -2
  617. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  618. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
  619. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +6 -6
  620. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +2 -2
  621. package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
  622. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +6 -2
  623. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +5 -1
  624. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  625. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  626. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +42 -11
  627. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +28 -4
  628. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
  629. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  630. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  631. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  632. package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
  633. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  634. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.css +0 -0
  635. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +83 -0
  636. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +129 -0
  637. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
  638. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
  639. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  640. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -0
  641. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +69 -0
  642. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
  643. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +5 -9
  644. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
  645. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  646. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
  647. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  648. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
  649. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
  650. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +24 -7
  651. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +11 -6
  652. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +3 -2
  653. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +51 -13
  654. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
  655. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
  656. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
  657. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +83 -0
  658. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
  659. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +110 -0
  660. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +196 -0
  661. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
  662. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
  663. package/src/libs/ui/inputs/src/index.ts +2 -2
  664. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +3 -3
  665. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +6 -9
  666. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  667. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
  668. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
  669. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
  670. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  671. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
  672. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  673. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
  674. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
  675. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  676. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +47 -0
  677. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  678. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  679. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  680. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +83 -0
  681. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -1
  682. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +11 -8
  683. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +4 -1
  684. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
  685. package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
  686. package/src/libs/ui/layout/src/index.ts +2 -1
  687. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +47 -2
  688. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  689. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  690. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  691. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  692. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  693. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  694. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  695. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  696. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  697. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
  698. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +4 -7
  699. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +22 -2
  700. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  701. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
  702. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
  703. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  704. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  705. package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
  706. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
  707. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +84 -0
  708. package/src/libs/ui/map/src/index.ts +1 -0
  709. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  710. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  711. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
  712. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
  713. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
  714. 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
  715. package/src/libs/ui/search/src/index.ts +2 -0
  716. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
  717. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  718. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  719. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
  720. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  721. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  722. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  723. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  724. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  725. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
  726. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  727. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +29 -24
  728. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +49 -17
  729. package/src/libs/ui/search/src/lib/ui-search.module.ts +19 -10
  730. package/src/libs/ui/widgets/src/index.ts +0 -1
  731. package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
  732. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +4 -3
  733. package/src/libs/util/app-config/src/lib/app-config.ts +1 -2
  734. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  735. package/src/libs/util/i18n/src/index.ts +1 -2
  736. package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
  737. package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
  738. package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
  739. package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
  740. package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
  741. package/src/libs/util/shared/src/index.ts +2 -1
  742. package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
  743. package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
  744. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +15 -3
  745. package/src/libs/util/shared/src/lib/links/link-utils.ts +33 -12
  746. package/src/libs/util/shared/src/lib/record.util.ts +114 -0
  747. package/tailwind.base.config.js +3 -0
  748. package/tailwind.base.css +23 -25
  749. package/translations/de.json +86 -24
  750. package/translations/en.json +86 -24
  751. package/translations/es.json +85 -23
  752. package/translations/fr.json +87 -25
  753. package/translations/it.json +85 -24
  754. package/translations/nl.json +85 -23
  755. package/translations/pt.json +85 -23
  756. package/translations/sk.json +85 -23
  757. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
  758. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
  759. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
  760. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
  761. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
  762. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
  763. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
  764. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
  765. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
  766. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  767. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
  768. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -46
  769. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -106
  770. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +0 -16
  771. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -161
  772. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -31
  773. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
  774. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
  775. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
  776. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
  777. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
  778. 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
  779. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
  780. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +0 -1
  781. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
  782. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
  783. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
  784. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
  785. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
  786. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
  787. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
  788. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
  789. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
  790. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
  791. package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
  792. package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
  793. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
  794. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
  795. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  796. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  797. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
  798. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
  799. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -12
  800. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
  801. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -27
  802. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
  803. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +0 -8
  804. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +0 -1
  805. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -34
  806. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
  807. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
  808. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
  809. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
  810. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
  811. package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
  812. package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
  813. package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
  814. package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
  815. package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
  816. package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
  817. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
  818. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
  819. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
  820. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
  821. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
  822. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
  823. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
  824. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
  825. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
  826. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
  827. package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
  828. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
  829. package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
  830. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
  831. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  832. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  833. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
  834. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -30
  835. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -48
  836. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -61
  837. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +0 -3
  838. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +0 -9
  839. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +0 -15
  840. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
  841. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -18
  842. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
  843. package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
  844. package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
  845. package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
  846. /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
  847. /package/src/libs/{ui/elements/src/lib/related-record-card/related-record-card.component.css → feature/search/src/lib/results-hits/results-hits.container.component.css} +0 -0
@@ -1,11 +1,20 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
- import { TranslateModule, TranslateService } from '@ngx-translate/core'
1
+ import {
2
+ ChangeDetectionStrategy,
3
+ ChangeDetectorRef,
4
+ Component,
5
+ Input,
6
+ } from '@angular/core'
7
+ import { TranslateDirective, TranslateService } from '@ngx-translate/core'
3
8
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
4
9
  import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
5
10
  import { DatasetDownloadDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
6
11
  import { CommonModule } from '@angular/common'
7
12
  import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
8
13
  import { DownloadItemComponent } from '../download-item/download-item.component'
14
+ import {
15
+ BlockListComponent,
16
+ PreviousNextButtonsComponent,
17
+ } from '../../../../../../libs/ui/layout/src'
9
18
 
10
19
  marker('datahub.search.filter.all')
11
20
  marker('datahub.search.filter.others')
@@ -22,17 +31,32 @@ type FilterFormat = (typeof FILTER_FORMATS)[number]
22
31
  imports: [
23
32
  CommonModule,
24
33
  ButtonComponent,
34
+ BlockListComponent,
25
35
  DownloadItemComponent,
26
- TranslateModule,
36
+ TranslateDirective,
37
+ PreviousNextButtonsComponent,
27
38
  ],
28
39
  })
29
40
  export class DownloadsListComponent {
30
- constructor(private translateService: TranslateService) {}
41
+ constructor(
42
+ private translateService: TranslateService,
43
+ private changeDetector: ChangeDetectorRef
44
+ ) {}
31
45
 
46
+ _list: BlockListComponent
32
47
  @Input() links: DatasetDownloadDistribution[]
33
48
 
49
+ get linksCount(): number {
50
+ return this.filteredLinks?.length || 0
51
+ }
52
+
34
53
  activeFilterFormats: FilterFormat[] = ['all']
35
54
 
55
+ updateList($event: BlockListComponent) {
56
+ this._list = $event
57
+ this.changeDetector.detectChanges()
58
+ }
59
+
36
60
  private removeDuplicateFormats(
37
61
  links: DatasetDownloadDistribution[]
38
62
  ): DatasetDownloadDistribution[] {
@@ -7,7 +7,7 @@ import {
7
7
  matQuestionMark,
8
8
  } from '@ng-icons/material-icons/baseline'
9
9
  import { matComputerOutline } from '@ng-icons/material-icons/outline'
10
- import { TranslateModule } from '@ngx-translate/core'
10
+ import { TranslateDirective } from '@ngx-translate/core'
11
11
 
12
12
  export enum ErrorType {
13
13
  COULD_NOT_REACH_API,
@@ -24,7 +24,7 @@ export enum ErrorType {
24
24
  styleUrls: ['./error.component.css'],
25
25
  changeDetection: ChangeDetectionStrategy.OnPush,
26
26
  standalone: true,
27
- imports: [CommonModule, NgIcon, TranslateModule],
27
+ imports: [CommonModule, NgIcon, TranslateDirective],
28
28
  viewProviders: [
29
29
  provideIcons({
30
30
  matFace,
@@ -0,0 +1,4 @@
1
+ :host {
2
+ --gn-ui-geo-data-badge-background-color: var(--color-primary-white);
3
+ --gn-ui-geo-data-badge-text-color: var(--color-primary-darkest);
4
+ }
@@ -0,0 +1,13 @@
1
+ <div
2
+ [class]="badgeClasses"
3
+ [title]="'record.metadata.isGeographical' | translate"
4
+ *ngIf="isGeodata()"
5
+ >
6
+ <ng-icon
7
+ class="shrink-0 text-[0.75em]"
8
+ name="matLocationSearchingOutline"
9
+ ></ng-icon>
10
+ <span class="ml-1 hidden sm:inline-block shrink-0" *ngIf="showLabel" translate
11
+ >record.metadata.isGeographical</span
12
+ >
13
+ </div>
@@ -0,0 +1,54 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
+ import { matLocationSearchingOutline } from '@ng-icons/material-icons/outline'
3
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
4
+ import { CommonModule } from '@angular/common'
5
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
6
+ import { NgIcon, provideIcons } from '@ng-icons/core'
7
+ import { LinkClassifierService, LinkUsage } from '../../../../../../libs/util/shared/src'
8
+
9
+ @Component({
10
+ selector: 'gn-ui-geo-data-badge',
11
+ templateUrl: './geo-data-badge.component.html',
12
+ styleUrls: ['./geo-data-badge.component.css'],
13
+ changeDetection: ChangeDetectionStrategy.OnPush,
14
+ standalone: true,
15
+ imports: [CommonModule, NgIcon, TranslateDirective, TranslatePipe],
16
+ viewProviders: [
17
+ provideIcons({
18
+ matLocationSearchingOutline,
19
+ }),
20
+ ],
21
+ })
22
+ export class GeoDataBadgeComponent {
23
+ @Input() showLabel = true
24
+ @Input() styling = 'default'
25
+ @Input() record: CatalogRecord
26
+
27
+ isGeodata() {
28
+ const links =
29
+ 'onlineResources' in this.record ? this.record.onlineResources : []
30
+ const hasMapApi = links.some((link) =>
31
+ this.linkClassifier.hasUsage(link, LinkUsage.MAP_API)
32
+ )
33
+ const hasGeoData = links.some((link) =>
34
+ this.linkClassifier.hasUsage(link, LinkUsage.GEODATA)
35
+ )
36
+ return hasMapApi || hasGeoData
37
+ }
38
+
39
+ get badgeClasses(): string {
40
+ const baseClasses =
41
+ 'flex shrink-0 items-center badge-btn text-xs px-2 h-6 min-h-6'
42
+
43
+ switch (this.styling) {
44
+ case 'light':
45
+ return `${baseClasses} bg-primary-white text-primary-darkest`
46
+ case 'default':
47
+ return `${baseClasses} bg-primary-darker text-white`
48
+ default:
49
+ return 'flex shrink-0 items-center'
50
+ }
51
+ }
52
+
53
+ constructor(public linkClassifier: LinkClassifierService) {}
54
+ }
@@ -30,7 +30,7 @@ import {
30
30
  iconoirMediaImageXmark,
31
31
  iconoirPlus,
32
32
  } from '@ng-icons/iconoir'
33
- import { TranslateModule } from '@ngx-translate/core'
33
+ import { TranslatePipe } from '@ngx-translate/core'
34
34
  import { firstValueFrom } from 'rxjs'
35
35
  import { ImageOverlayPreviewComponent } from '../image-overlay-preview/image-overlay-preview.component'
36
36
 
@@ -45,7 +45,7 @@ import { ImageOverlayPreviewComponent } from '../image-overlay-preview/image-ove
45
45
  ButtonComponent,
46
46
  FilesDropDirective,
47
47
  MatProgressSpinnerModule,
48
- TranslateModule,
48
+ TranslatePipe,
49
49
  UrlInputComponent,
50
50
  TextInputComponent,
51
51
  NgIconComponent,
@@ -5,7 +5,7 @@
5
5
  <div
6
6
  *ngIf="imageUrl"
7
7
  data-cy="record-thumbnail"
8
- class="shrink-0 bg-gray-100 rounded-lg overflow-hidden border border-gray-300 group-hover:shadow-xl group-hover:border-0 h-full w-full"
8
+ class="shrink-0 rounded-lg overflow-hidden group-hover:shadow-xl group-hover:border-0 h-full w-full"
9
9
  >
10
10
  <gn-ui-thumbnail
11
11
  class="relative h-full w-full"
@@ -0,0 +1,83 @@
1
+ <a [attr.href]="linkHref" [target]="linkTarget">
2
+ <div
3
+ class="group rounded-md bg-white hover:cursor-pointer hover:bg-slate-50 overflow-hidden w-full"
4
+ [ngClass]="cardClass"
5
+ >
6
+ <div
7
+ class="flex flex-row md:gap-0 justify-between w-full"
8
+ [ngClass]="{ 'flex-wrap md:flex-nowrap gap-3': size === 'L' }"
9
+ >
10
+ <div
11
+ *ngIf="shouldShowThumbnail"
12
+ [ngClass]="thumbnailContainerClass"
13
+ class="border mr-4 flex flex-col"
14
+ >
15
+ <gn-ui-thumbnail
16
+ class="w-full h-full object-cover"
17
+ [thumbnailUrl]="record.overviews?.[0]?.url?.toString() || ''"
18
+ [fit]="'cover'"
19
+ ></gn-ui-thumbnail>
20
+ </div>
21
+ <div class="grow flex flex-col gap-3 w-0">
22
+ <div class="flex items-center gap-2">
23
+ <div class="grow flex flex-wrap items-center gap-2">
24
+ <gn-ui-kind-badge
25
+ [styling]="'default'"
26
+ [kind]="record?.kind"
27
+ ></gn-ui-kind-badge>
28
+ <gn-ui-geo-data-badge
29
+ [showLabel]="size === 'L'"
30
+ [styling]="'light'"
31
+ [record]="record"
32
+ ></gn-ui-geo-data-badge>
33
+ <gn-ui-metadata-quality
34
+ class="flex items-center"
35
+ [smaller]="true"
36
+ [metadata]="record"
37
+ [metadataQualityDisplay]="metadataQualityDisplay"
38
+ ></gn-ui-metadata-quality>
39
+ </div>
40
+ <div *ngIf="size !== 'XS'" data-cy="recordFav">
41
+ <ng-container
42
+ [ngTemplateOutlet]="favoriteTemplate"
43
+ [ngTemplateOutletContext]="{ $implicit: record }"
44
+ ></ng-container>
45
+ </div>
46
+ </div>
47
+
48
+ <div class="grow flex flex-col gap-2">
49
+ <div
50
+ class="font-medium text-title group-hover:text-primary"
51
+ [title]="record.title"
52
+ >
53
+ <h4
54
+ class="mr-6 overflow-hidden"
55
+ [ngClass]="getTitleClass()"
56
+ data-cy="recordTitle"
57
+ [title]="record.title"
58
+ >
59
+ {{ record.title }}
60
+ </h4>
61
+ </div>
62
+ <div
63
+ *ngIf="displayAbstract()"
64
+ class="mr-6 text-xs text-gray-900 overflow-hidden"
65
+ [ngClass]="getAbstractClass()"
66
+ data-cy="recordAbstract"
67
+ >
68
+ <gn-ui-markdown-parser
69
+ [textContent]="abstract"
70
+ [whitoutStyles]="true"
71
+ ></gn-ui-markdown-parser>
72
+ </div>
73
+ </div>
74
+
75
+ <gn-ui-internal-link-card-contact
76
+ *ngIf="size !== 'XS' && record.ownerOrganization?.name"
77
+ [record]="record"
78
+ [size]="size"
79
+ ></gn-ui-internal-link-card-contact>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ </a>
@@ -0,0 +1,129 @@
1
+ import {
2
+ Component,
3
+ ElementRef,
4
+ EventEmitter,
5
+ Input,
6
+ OnInit,
7
+ Output,
8
+ TemplateRef,
9
+ } from '@angular/core'
10
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
11
+ import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common'
12
+ import { GeoDataBadgeComponent } from '../geo-data-badge/geo-data-badge.component'
13
+ import { KindBadgeComponent } from '../kind-badge/kind-badge.component'
14
+ import { MarkdownParserComponent } from '../markdown-parser/markdown-parser.component'
15
+ import { MetadataQualityComponent } from '../metadata-quality/metadata-quality.component'
16
+ import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
17
+ import { removeWhitespace, stripHtml } from '../../../../../../libs/util/shared/src'
18
+ import { provideIcons, provideNgIconsConfig } from '@ng-icons/core'
19
+ import { matLocationSearchingOutline } from '@ng-icons/material-icons/outline'
20
+ import { InternalLinkCardContactComponent } from '../internal-link-card-contact/internal-link-card-contact.component'
21
+ import { iconoirInternet } from '@ng-icons/iconoir'
22
+ import { fromEvent, Subscription } from 'rxjs'
23
+
24
+ type CardSize = 'L' | 'M' | 'S' | 'XS'
25
+
26
+ @Component({
27
+ selector: 'gn-ui-internal-link-card',
28
+ standalone: true,
29
+ imports: [
30
+ NgClass,
31
+ NgIf,
32
+ MetadataQualityComponent,
33
+ NgTemplateOutlet,
34
+ GeoDataBadgeComponent,
35
+ KindBadgeComponent,
36
+ MarkdownParserComponent,
37
+ InternalLinkCardContactComponent,
38
+ ThumbnailComponent,
39
+ ],
40
+ providers: [
41
+ provideIcons({
42
+ iconoirInternet,
43
+ matLocationSearchingOutline,
44
+ }),
45
+ provideNgIconsConfig({
46
+ size: '1.2em',
47
+ }),
48
+ ],
49
+ templateUrl: './internal-link-card.component.html',
50
+ styleUrls: ['./internal-link-card.component.css'],
51
+ })
52
+ export class InternalLinkCardComponent implements OnInit {
53
+ @Input() record: CatalogRecord
54
+ @Input() linkTarget = '_blank'
55
+ @Input() linkHref: string = null
56
+ @Input() metadataQualityDisplay: boolean
57
+ @Input() favoriteTemplate: TemplateRef<{ $implicit: CatalogRecord }>
58
+ @Input() set size(value: CardSize) {
59
+ this._size = value
60
+ this.cardClass = this.sizeClassMap[value] || ''
61
+ this.thumbnailContainerClass = this.thumbnailSizeClassMap[value] || 'hidden'
62
+ }
63
+ get size(): CardSize {
64
+ return this._size
65
+ }
66
+ @Output() mdSelect = new EventEmitter<CatalogRecord>()
67
+ subscription = new Subscription()
68
+
69
+ abstract: string
70
+
71
+ cardClass = ''
72
+ thumbnailContainerClass = ''
73
+
74
+ private _size: CardSize = 'M'
75
+
76
+ private readonly sizeClassMap: Record<CardSize, string> = {
77
+ L: 'min-h-[190px] w-full py-3 px-3 flex items-start gap-5',
78
+ M: 'min-h-[140px] py-3 px-3 flex items-start gap-4',
79
+ S: 'min-h-[220px] py-3 px-3 flex gap-4',
80
+ XS: 'min-h-[108px] py-3 px-3 flex gap-4',
81
+ }
82
+
83
+ private readonly thumbnailSizeClassMap: Record<CardSize, string> = {
84
+ L: 'w-full md:w-[190px] h-[180px] rounded-lg overflow-hidden shrink-0',
85
+ M: 'w-[110px] h-[140px] rounded-lg overflow-hidden shrink-0',
86
+ S: 'hidden',
87
+ XS: 'hidden',
88
+ }
89
+
90
+ private readonly titleClassMap: Record<CardSize, string> = {
91
+ L: 'text-xl line-clamp-1',
92
+ M: 'text-base line-clamp-2',
93
+ S: 'text-base line-clamp-3 ml-2',
94
+ XS: 'text-base line-clamp-1 ml-2',
95
+ }
96
+
97
+ constructor(protected elementRef: ElementRef) {}
98
+
99
+ ngOnInit(): void {
100
+ this.abstract = removeWhitespace(stripHtml(this.record?.abstract))
101
+ this.subscription.add(
102
+ fromEvent(this.elementRef.nativeElement, 'click').subscribe(() =>
103
+ this.mdSelect.emit(this.record)
104
+ )
105
+ )
106
+ }
107
+
108
+ getTitleClass() {
109
+ return this.titleClassMap[this._size]
110
+ }
111
+ getAbstractClass(): string {
112
+ const marginClass = ['S', 'XS'].includes(this.size) ? 'ml-2' : ''
113
+ const clampClass =
114
+ this.size === 'L' && !this.record.ownerOrganization?.name
115
+ ? 'line-clamp-6'
116
+ : 'line-clamp-2'
117
+ return `${clampClass} ${marginClass}`.trim()
118
+ }
119
+ displayAbstract(): boolean {
120
+ return (
121
+ this.size === 'L' ||
122
+ (['M', 'S'].includes(this.size) && !this.record.ownerOrganization?.name)
123
+ )
124
+ }
125
+
126
+ get shouldShowThumbnail(): boolean {
127
+ return this.size === 'L' || this.size === 'M'
128
+ }
129
+ }
@@ -0,0 +1,69 @@
1
+ <div
2
+ data-cy="recordOrg"
3
+ class="flex items-center justify-evenly bg-gray-50 rounded-lg h-[53px] px-2"
4
+ >
5
+ <div class="flex items-center flex-1 min-w-0">
6
+ <div class="w-[45px] h-[45px] rounded-lg overflow-hidden shrink-0 mr-3">
7
+ <gn-ui-thumbnail
8
+ [thumbnailUrl]="record.ownerOrganization?.logoUrl?.toString() || ''"
9
+ [fit]="'contain'"
10
+ class="w-full h-full rounded-lg"
11
+ ></gn-ui-thumbnail>
12
+ </div>
13
+ <div *ngIf="organization?.name" class="flex-1 w-0 overflow-hidden">
14
+ <div
15
+ class="text-xs text-black font-normal leading-tight truncate"
16
+ translate
17
+ >
18
+ record.card.metadata.contact
19
+ </div>
20
+ <div
21
+ data-cy="recordOrgName"
22
+ class="text-xl text-primary-black font-medium truncate"
23
+ >
24
+ {{ organization.name }}
25
+ </div>
26
+ </div>
27
+ </div>
28
+ <div *ngIf="size === 'L'" class="ml-2 flex space-x-2">
29
+ <div *ngIf="organization?.website" class="flex">
30
+ <button
31
+ [title]="organization.website"
32
+ class="w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest"
33
+ (click)="openExternalUrl($event, organization.website)"
34
+ >
35
+ <ng-icon name="iconoirInternet"></ng-icon>
36
+ </button>
37
+ </div>
38
+ <div *ngIf="contacts[0]?.email" class="flex">
39
+ <button
40
+ [title]="contacts[0].email"
41
+ class="w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest"
42
+ data-cy="contact-email"
43
+ (click)="openMailto($event, contacts[0].email)"
44
+ >
45
+ <ng-icon name="matEmailOutline"></ng-icon>
46
+ </button>
47
+ </div>
48
+ <div *ngIf="contacts[0]?.phone" class="flex">
49
+ <button
50
+ [title]="'Copy to clipboard'"
51
+ class="w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest relative group"
52
+ data-cy="contact-phone"
53
+ (click)="copyToClipboard($event, contacts[0].phone)"
54
+ >
55
+ <ng-icon name="matPhoneOutline"></ng-icon>
56
+ </button>
57
+ </div>
58
+ <div *ngIf="contacts[0]?.address" class="flex">
59
+ <button
60
+ [title]="'Copy to clipboard'"
61
+ class="w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest relative group"
62
+ data-cy="contact-phone"
63
+ (click)="copyToClipboard($event, contacts[0].address)"
64
+ >
65
+ <ng-icon name="matLocationOnOutline"></ng-icon>
66
+ </button>
67
+ </div>
68
+ </div>
69
+ </div>
@@ -0,0 +1,61 @@
1
+ import { Component, Input } from '@angular/core'
2
+ import { NgIf } from '@angular/common'
3
+ import {
4
+ CatalogRecord,
5
+ Organization,
6
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
7
+ import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
8
+ import { NgIconComponent, provideIcons } from '@ng-icons/core'
9
+ import {
10
+ matEmailOutline,
11
+ matLocationOnOutline,
12
+ matPhoneOutline,
13
+ } from '@ng-icons/material-icons/outline'
14
+ import { iconoirInternet } from '@ng-icons/iconoir'
15
+ import { TranslateDirective } from '@ngx-translate/core'
16
+
17
+ @Component({
18
+ selector: 'gn-ui-internal-link-card-contact',
19
+ standalone: true,
20
+ imports: [NgIf, ThumbnailComponent, NgIconComponent, TranslateDirective],
21
+ providers: [
22
+ provideIcons({
23
+ iconoirInternet,
24
+ matEmailOutline,
25
+ matPhoneOutline,
26
+ matLocationOnOutline,
27
+ }),
28
+ ],
29
+ templateUrl: './internal-link-card-contact.component.html',
30
+ })
31
+ export class InternalLinkCardContactComponent {
32
+ @Input() record: CatalogRecord
33
+ @Input() size: 'L' | 'M' | 'S' | 'XS' = 'M'
34
+
35
+ get organization(): Organization {
36
+ return this.record.ownerOrganization
37
+ }
38
+
39
+ get contacts() {
40
+ return (
41
+ (this.record.kind === 'dataset'
42
+ ? this.record.contactsForResource
43
+ : this.record.contacts) || []
44
+ )
45
+ }
46
+
47
+ openExternalUrl(event: Event, url: URL): void {
48
+ event.stopPropagation()
49
+ window.open(url, '_blank')
50
+ }
51
+
52
+ openMailto(event: Event, email: string): void {
53
+ event.stopPropagation()
54
+ window.open(`mailto:${email}`, '_blank')
55
+ }
56
+
57
+ copyToClipboard(event: Event, text: string): void {
58
+ event.stopPropagation()
59
+ navigator.clipboard.writeText(text)
60
+ }
61
+ }
@@ -0,0 +1,6 @@
1
+ :host gn-ui-badge ng-icon {
2
+ font-size: 1.2rem;
3
+ width: 1.2rem;
4
+ height: 1.2rem;
5
+ transform: translateY(-2px);
6
+ }
@@ -0,0 +1,11 @@
1
+ <div [class]="badgeClasses" *ngIf="kind">
2
+ <ng-icon [name]="iconKind" class="mr-1 text-[0.85em]"></ng-icon>
3
+
4
+ <ng-container *ngIf="contentTemplate; else defaultContent">
5
+ <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
6
+ </ng-container>
7
+ </div>
8
+
9
+ <ng-template #defaultContent>
10
+ {{ 'record.kind.' + kind | translate }}
11
+ </ng-template>
@@ -0,0 +1,69 @@
1
+ import { CommonModule } from '@angular/common'
2
+ import {
3
+ ChangeDetectionStrategy,
4
+ Component,
5
+ Input,
6
+ TemplateRef,
7
+ } from '@angular/core'
8
+ import { NgIconComponent, provideIcons } from '@ng-icons/core'
9
+ import {
10
+ iconoirAppleShortcuts,
11
+ iconoirAppleWallet,
12
+ iconoirCode,
13
+ iconoirCreditCard,
14
+ } from '@ng-icons/iconoir'
15
+ import { TranslatePipe } from '@ngx-translate/core'
16
+ import { marker } from '@biesbjerg/ngx-translate-extract-marker'
17
+
18
+ marker('record.kind.dataset')
19
+ marker('record.kind.reuse')
20
+ marker('record.kind.service')
21
+
22
+ enum KindConfig {
23
+ all = 'iconoirAppleWallet', // (this one is for filter)
24
+ dataset = 'iconoirAppleShortcuts',
25
+ service = 'iconoirCode',
26
+ reuse = 'iconoirCreditCard',
27
+ }
28
+
29
+ @Component({
30
+ selector: 'gn-ui-kind-badge',
31
+ templateUrl: './kind-badge.component.html',
32
+ styleUrls: ['./kind-badge.component.css'],
33
+ viewProviders: [
34
+ provideIcons({
35
+ iconoirAppleWallet,
36
+ iconoirAppleShortcuts,
37
+ iconoirCode,
38
+ iconoirCreditCard,
39
+ }),
40
+ ],
41
+ changeDetection: ChangeDetectionStrategy.OnPush,
42
+ standalone: true,
43
+ imports: [NgIconComponent, CommonModule, TranslatePipe],
44
+ })
45
+ export class KindBadgeComponent {
46
+ @Input() styling = 'default'
47
+ @Input() contentTemplate: TemplateRef<unknown>
48
+ @Input() kind: string
49
+
50
+ hasProjectedContent = false
51
+
52
+ get iconKind() {
53
+ return KindConfig[this.kind] || KindConfig.dataset
54
+ }
55
+
56
+ get badgeClasses(): string {
57
+ const baseClasses =
58
+ 'badge-btn text-white text-xs px-2 font-bold shrink-0 flex items-center h-6 min-h-6'
59
+
60
+ switch (this.styling) {
61
+ case 'outline':
62
+ return `${baseClasses} bg-transparent border border-white py-1.5`
63
+ case 'default':
64
+ return `${baseClasses} bg-primary py-0.5`
65
+ default:
66
+ return 'flex items-center'
67
+ }
68
+ }
69
+ }
@@ -5,7 +5,7 @@
5
5
  [ngClass]="cardClass"
6
6
  [title]="title"
7
7
  >
8
- <div class="flex flex-col justify-between">
8
+ <div class="flex flex-col justify-between flex-1 min-w-0">
9
9
  <div class="gn-ui-card-title">
10
10
  {{ link.description || link.name }}
11
11
  </div>
@@ -26,7 +26,10 @@
26
26
  >
27
27
  </div>
28
28
  </div>
29
- <div class="flex" [ngClass]="size === 'S' ? 'items-end' : 'items-center'">
29
+ <div
30
+ class="flex min-w-[32px]"
31
+ [ngClass]="size === 'S' ? 'items-end' : 'items-center'"
32
+ >
30
33
  <div class="gn-ui-card-icon">
31
34
  <ng-icon
32
35
  class="inline-block card-icon align-middle"