geonetwork-ui 2.6.0-dev.6681b0ab3 → 2.6.0-dev.6de4ab642

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 (621) hide show
  1. package/README.md +2 -3
  2. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +52 -13
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
  6. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +5 -5
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +4 -4
  11. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  12. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +5 -2
  13. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +20 -18
  14. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +77 -17
  15. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
  16. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
  17. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +23 -13
  18. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  19. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  20. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  21. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
  22. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
  23. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
  24. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
  25. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +35 -3
  26. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
  27. package/esm2022/libs/feature/editor/src/index.mjs +1 -4
  28. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
  29. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
  30. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
  31. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +267 -11
  32. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +4 -13
  33. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
  37. 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
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
  39. 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
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
  41. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
  42. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
  43. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
  44. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
  45. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
  46. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
  47. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
  48. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
  49. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
  50. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
  51. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
  52. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
  53. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
  54. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
  55. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
  56. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
  57. package/esm2022/libs/feature/record/src/index.mjs +2 -3
  58. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +20 -19
  59. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -7
  60. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +4 -5
  61. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -7
  62. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +4 -4
  63. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
  64. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
  65. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
  66. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +96 -21
  67. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  68. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +7 -1
  69. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +7 -13
  70. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  71. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  72. package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
  73. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
  74. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +24 -27
  75. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
  76. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
  77. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +12 -8
  78. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  79. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
  80. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
  81. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +5 -4
  82. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
  83. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
  84. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
  85. package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
  86. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +4 -4
  87. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
  88. package/esm2022/libs/ui/elements/src/index.mjs +2 -3
  89. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +6 -6
  90. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
  91. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +4 -5
  92. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
  93. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
  94. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +54 -0
  95. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
  96. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +42 -85
  97. package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +58 -0
  98. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +26 -12
  99. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +4 -5
  100. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
  101. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
  102. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -5
  103. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -7
  104. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +40 -17
  105. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
  106. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -5
  107. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +52 -32
  108. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +15 -6
  109. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
  110. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
  111. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  112. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +6 -7
  113. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
  114. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
  115. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
  116. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -5
  117. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
  118. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +4 -3
  119. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +12 -7
  120. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +3 -3
  121. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
  122. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
  123. package/esm2022/libs/ui/layout/src/index.mjs +2 -2
  124. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
  125. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  126. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
  127. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +21 -12
  128. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
  129. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
  130. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
  131. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +17 -53
  132. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
  133. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  134. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
  135. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -8
  136. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +5 -5
  137. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  138. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  139. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
  140. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +41 -21
  141. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +32 -27
  142. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  143. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  144. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +1 -3
  145. package/esm2022/libs/util/i18n/src/index.mjs +2 -3
  146. package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
  147. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
  148. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
  149. package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
  150. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
  151. package/esm2022/libs/util/shared/src/index.mjs +1 -2
  152. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
  153. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -1
  154. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +4 -1
  155. package/esm2022/translations/de.json +44 -28
  156. package/esm2022/translations/en.json +41 -27
  157. package/esm2022/translations/es.json +43 -27
  158. package/esm2022/translations/fr.json +41 -27
  159. package/esm2022/translations/it.json +76 -60
  160. package/esm2022/translations/nl.json +43 -27
  161. package/esm2022/translations/pt.json +43 -27
  162. package/esm2022/translations/sk.json +602 -0
  163. package/fesm2022/geonetwork-ui.mjs +11388 -10701
  164. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  165. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  166. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
  167. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  168. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  169. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  170. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  171. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  172. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  173. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  174. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  175. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +9 -7
  176. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  177. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +13 -2
  178. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  179. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
  180. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  181. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
  182. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  183. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +6 -3
  184. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  185. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  186. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  187. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +21 -18
  188. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  189. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +6 -0
  190. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  191. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
  192. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  193. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
  194. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +1 -1
  195. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  196. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  197. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  198. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  199. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  200. package/libs/feature/editor/src/index.d.ts +0 -3
  201. package/libs/feature/editor/src/index.d.ts.map +1 -1
  202. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +1 -1
  203. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  204. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -1
  205. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  206. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
  207. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +48 -3
  208. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -1
  209. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  210. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  211. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
  212. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
  213. 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
  214. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  215. 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
  216. 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
  217. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  218. 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
  219. 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
  220. 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
  221. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  222. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +10 -17
  223. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  224. package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
  225. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  226. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  227. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  228. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  229. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  230. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  231. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
  232. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  233. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  234. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  235. package/libs/feature/record/src/index.d.ts +1 -2
  236. package/libs/feature/record/src/index.d.ts.map +1 -1
  237. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +7 -4
  238. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  239. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  240. package/libs/feature/record/src/lib/feature-record.module.d.ts +8 -12
  241. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  242. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -1
  243. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
  244. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -6
  245. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  246. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
  247. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  248. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +6 -0
  249. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  250. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +24 -21
  251. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  252. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
  253. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  254. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  255. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  256. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  257. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  258. package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -24
  259. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  260. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  261. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  262. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -1
  263. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  264. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  265. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  266. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +1 -2
  267. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
  268. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
  269. package/libs/feature/search/src/lib/utils/service/fields.d.ts +1 -2
  270. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  271. package/libs/ui/dataviz/src/index.d.ts +0 -1
  272. package/libs/ui/dataviz/src/index.d.ts.map +1 -1
  273. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  274. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
  275. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  276. package/libs/ui/elements/src/index.d.ts +1 -2
  277. package/libs/ui/elements/src/index.d.ts.map +1 -1
  278. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  279. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
  280. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
  281. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  282. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  283. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  284. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +7 -14
  285. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
  286. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
  287. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
  288. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +3 -1
  289. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -1
  290. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  291. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  292. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
  293. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  294. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  295. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  296. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +20 -9
  297. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -1
  298. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +1 -0
  299. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -1
  300. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
  301. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
  302. package/libs/ui/inputs/src/index.d.ts +0 -1
  303. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  304. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
  305. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
  306. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
  307. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
  308. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
  309. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
  310. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
  311. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +1 -1
  312. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -1
  313. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -1
  314. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
  315. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
  316. package/libs/ui/layout/src/index.d.ts +1 -1
  317. package/libs/ui/layout/src/index.d.ts.map +1 -1
  318. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +1 -1
  319. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  320. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  321. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  322. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +4 -2
  323. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  324. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
  325. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
  326. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +6 -11
  327. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -1
  328. package/libs/ui/search/src/index.d.ts +1 -0
  329. package/libs/ui/search/src/index.d.ts.map +1 -1
  330. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  331. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  332. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  333. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  334. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  335. package/libs/ui/search/src/lib/ui-search.module.d.ts +12 -11
  336. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  337. package/libs/ui/widgets/src/index.d.ts +0 -1
  338. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  339. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
  340. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
  341. package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
  342. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  343. package/libs/util/i18n/src/index.d.ts +1 -2
  344. package/libs/util/i18n/src/index.d.ts.map +1 -1
  345. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
  346. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
  347. package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
  348. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  349. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
  350. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
  351. package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
  352. package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
  353. package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
  354. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  355. package/libs/util/shared/src/index.d.ts +0 -1
  356. package/libs/util/shared/src/index.d.ts.map +1 -1
  357. package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
  358. package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
  359. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  360. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  361. package/package.json +3 -3
  362. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  363. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
  364. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
  365. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +73 -9
  366. package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
  367. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  368. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
  369. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
  370. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +10 -6
  371. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -3
  372. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
  373. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +4 -1
  374. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +16 -8
  375. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +116 -17
  376. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
  377. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
  378. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -20
  379. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  380. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +22 -14
  381. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +6 -0
  382. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +10 -0
  383. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +14 -0
  384. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +62 -1
  385. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
  386. package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
  387. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +2 -2
  388. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
  389. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +40 -1
  390. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +2 -2
  391. package/src/libs/feature/editor/src/index.ts +0 -3
  392. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
  393. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
  394. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
  395. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +117 -11
  396. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +321 -6
  397. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -10
  398. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +3 -2
  399. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
  400. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
  401. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
  402. 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
  403. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
  404. 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
  405. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
  406. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
  407. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
  408. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  409. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
  410. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
  411. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
  412. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
  413. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
  414. package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
  415. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
  416. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
  417. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
  418. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
  419. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
  420. package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
  421. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
  422. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
  423. package/src/libs/feature/record/src/index.ts +1 -2
  424. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +1 -1
  425. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +22 -19
  426. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -2
  427. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
  428. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +2 -2
  429. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
  430. package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
  431. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
  432. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
  433. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +27 -9
  434. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +135 -21
  435. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
  436. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +22 -0
  437. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +15 -15
  438. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
  439. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  440. package/src/libs/feature/search/src/lib/constants.ts +3 -1
  441. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -2
  442. package/src/libs/feature/search/src/lib/feature-search.module.ts +13 -18
  443. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  444. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
  445. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +2 -0
  446. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  447. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  448. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
  449. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
  450. package/src/libs/feature/search/src/lib/utils/service/fields.ts +4 -3
  451. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  452. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
  453. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
  454. package/src/libs/ui/dataviz/src/index.ts +0 -1
  455. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +2 -2
  456. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
  457. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
  458. package/src/libs/ui/elements/src/index.ts +1 -2
  459. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
  460. package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
  461. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  462. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +2 -5
  463. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
  464. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  465. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  466. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  467. package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
  468. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +68 -141
  469. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +40 -101
  470. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
  471. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
  472. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +7 -5
  473. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +24 -6
  474. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +2 -2
  475. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
  476. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
  477. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
  478. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +4 -7
  479. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +1 -1
  480. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +51 -13
  481. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
  482. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
  483. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +96 -37
  484. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +62 -31
  485. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +15 -1
  486. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +16 -3
  487. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
  488. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
  489. package/src/libs/ui/inputs/src/index.ts +0 -1
  490. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  491. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +2 -2
  492. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
  493. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
  494. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
  495. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
  496. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
  497. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
  498. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +3 -0
  499. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +9 -3
  500. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +1 -2
  501. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
  502. package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
  503. package/src/libs/ui/layout/src/index.ts +1 -1
  504. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
  505. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  506. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  507. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
  508. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +3 -2
  509. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +15 -8
  510. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
  511. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
  512. package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
  513. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +25 -42
  514. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +12 -58
  515. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
  516. package/src/libs/ui/search/src/index.ts +1 -0
  517. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
  518. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  519. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +1 -0
  520. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  521. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -1
  522. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  523. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  524. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
  525. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  526. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +31 -27
  527. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +46 -18
  528. package/src/libs/ui/search/src/lib/ui-search.module.ts +15 -11
  529. package/src/libs/ui/widgets/src/index.ts +0 -1
  530. package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
  531. package/src/libs/util/app-config/src/lib/app-config.ts +0 -2
  532. package/src/libs/util/i18n/src/index.ts +1 -2
  533. package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
  534. package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
  535. package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
  536. package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
  537. package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
  538. package/src/libs/util/shared/src/index.ts +0 -1
  539. package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
  540. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +3 -0
  541. package/src/libs/util/shared/src/lib/links/link-utils.ts +3 -0
  542. package/tailwind.base.css +1 -1
  543. package/translations/de.json +44 -28
  544. package/translations/en.json +41 -27
  545. package/translations/es.json +43 -27
  546. package/translations/fr.json +41 -27
  547. package/translations/it.json +76 -60
  548. package/translations/nl.json +43 -27
  549. package/translations/pt.json +43 -27
  550. package/translations/sk.json +43 -27
  551. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
  552. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
  553. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
  554. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
  555. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
  556. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
  557. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
  558. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
  559. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -46
  560. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -124
  561. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -160
  562. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -23
  563. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
  564. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
  565. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
  566. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
  567. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
  568. 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
  569. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
  570. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
  571. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
  572. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
  573. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
  574. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
  575. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
  576. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
  577. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
  578. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
  579. package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
  580. package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
  581. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
  582. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
  583. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -12
  584. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
  585. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -30
  586. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
  587. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -35
  588. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
  589. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
  590. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
  591. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
  592. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
  593. package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
  594. package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
  595. package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
  596. package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
  597. package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
  598. package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
  599. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
  600. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
  601. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
  602. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
  603. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
  604. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
  605. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
  606. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
  607. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
  608. package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
  609. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
  610. package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
  611. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
  612. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.css +0 -0
  613. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -30
  614. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -48
  615. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -69
  616. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
  617. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -14
  618. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
  619. package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
  620. package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
  621. package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
@@ -1,156 +1,83 @@
1
- <div
2
- class="rounded-lg group card-shadow cursor-pointer overflow-hidden hover:bg-gray-50"
3
- [ngClass]="cardClass"
4
- >
5
- <div class="flex flex-row justify-between w-full">
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
6
  <div
7
- *ngIf="shouldShowThumbnail"
8
- [ngClass]="thumbnailContainerClass"
9
- class="mr-4 flex flex-col"
7
+ class="flex flex-row md:gap-0 justify-between w-full"
8
+ [ngClass]="{ 'flex-wrap md:flex-nowrap gap-3': size === 'L' }"
10
9
  >
11
- <gn-ui-thumbnail
12
- class="w-full h-full object-cover"
13
- [thumbnailUrl]="record.overviews?.[0]?.url?.toString() || ''"
14
- [fit]="'cover'"
15
- ></gn-ui-thumbnail>
16
- </div>
17
- <div
18
- class="flex flex-col flex-1 relative"
19
- [ngClass]="{
20
- 'justify-between': record.ownerOrganization?.name && size !== 'XS',
21
- }"
22
- >
23
- <div class="flex items-center space-x-2">
24
- <span
25
- *ngIf="getKindInfo().text"
26
- class="badge-btn text-white text-xs px-2 py-0.5 font-bold shrink-0 bg-primary leading-tight flex items-center justify-evenly h-6 min-h-6"
27
- >
28
- <ng-icon
29
- class="text-[0.9em] text-white mr-1"
30
- [name]="getKindInfo().icon"
31
- ></ng-icon>
32
- <span class="font-medium text-white text-xs" translate>
33
- {{ getKindInfo().text }}
34
- </span>
35
- </span>
36
- <span
37
- *ngIf="isGeodata"
38
- class="badge-btn text-black text-xs px-2 py-0.5 font-bold shrink-0 bg-primary-white leading-tight flex items-center justify-evenly h-6 min-h-6"
39
- [ngClass]="size === 'L' ? 'w-[164px]' : 'w-8'"
40
- >
41
- <ng-icon
42
- class="text-[0.9em] text-primary-darkest"
43
- name="matLocationSearchingOutline"
44
- ></ng-icon>
45
- <ng-container *ngIf="size === 'L'">
46
- <span
47
- class="font-medium text-primary-darkest text-xs ml-1"
48
- translate
49
- >
50
- record.metadata.type
51
- </span>
52
- </ng-container>
53
- </span>
54
- <div class="flex items-center">
55
- <gn-ui-metadata-quality
56
- [smaller]="true"
57
- [metadata]="record"
58
- [metadataQualityDisplay]="metadataQualityDisplay"
59
- ></gn-ui-metadata-quality>
60
- </div>
61
- <div class="absolute top-0 right-0 items-center">
62
- <ng-container
63
- *ngIf="size !== 'XS'"
64
- [ngTemplateOutlet]="favoriteTemplate"
65
- [ngTemplateOutletContext]="{ $implicit: record }"
66
- ></ng-container>
67
- </div>
68
- </div>
69
- <div
70
- class="font-medium text-title group-hover:text-primary overflow-hidden break-words"
71
- [ngClass]="getTitleClass()"
72
- >
73
- {{ record.title }}
74
- </div>
75
10
  <div
76
- *ngIf="size === 'L'"
77
- class="mt-1 mb-2 font-normal text-xs text-gray-900 line-clamp-2 overflow-hidden"
11
+ *ngIf="shouldShowThumbnail"
12
+ [ngClass]="thumbnailContainerClass"
13
+ class="border mr-4 flex flex-col"
78
14
  >
79
- <gn-ui-markdown-parser
80
- [textContent]="abstract"
81
- [whitoutStyles]="true"
82
- ></gn-ui-markdown-parser>
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>
83
20
  </div>
84
- <div
85
- *ngIf="size !== 'XS' && record.ownerOrganization?.name"
86
- class="flex items-center justify-evenly bg-gray-50 rounded-lg h-[53px] px-2"
87
- >
88
- <div class="flex items-center flex-1 min-w-0">
89
- <div
90
- class="w-[45px] h-[45px] rounded-lg overflow-hidden shrink-0 mr-3"
91
- >
92
- <gn-ui-thumbnail
93
- [thumbnailUrl]="
94
- record.ownerOrganization?.logoUrl?.toString() || ''
95
- "
96
- [fit]="'contain'"
97
- class="w-full h-full rounded-lg"
98
- ></gn-ui-thumbnail>
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>
99
39
  </div>
100
- <div *ngIf="organization?.name" class="flex-1 w-0 overflow-hidden">
101
- <div
102
- class="text-xs text-black font-normal leading-tight truncate"
103
- translate
104
- >
105
- record.card.metadata.contact
106
- </div>
107
- <div class="text-xl text-primary-black font-medium truncate">
108
- {{ organization.name }}
109
- </div>
40
+ <div *ngIf="size !== 'XS'" data-cy="recordFav">
41
+ <ng-container
42
+ [ngTemplateOutlet]="favoriteTemplate"
43
+ [ngTemplateOutletContext]="{ $implicit: record }"
44
+ ></ng-container>
110
45
  </div>
111
46
  </div>
112
- <div *ngIf="size === 'L'" class="ml-2 flex space-x-2">
113
- <div *ngIf="organization?.website" class="flex">
114
- <button
115
- [title]="organization.website"
116
- class="w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest"
117
- (click)="openExternalUrl($event, organization.website)"
118
- >
119
- <ng-icon name="iconoirInternet"></ng-icon>
120
- </button>
121
- </div>
122
- <div *ngIf="contacts[0]?.email" class="flex">
123
- <button
124
- [title]="contacts[0].email"
125
- class="w-[40px] h-[32px] flex items-center justify-center rounded-lg border border-[#D4D3D7] px-[8px] py-[4px] hover:bg-primary-lightest"
126
- data-cy="contact-email"
127
- (click)="openMailto($event, contacts[0].email)"
128
- >
129
- <ng-icon name="matEmailOutline"></ng-icon>
130
- </button>
131
- </div>
132
- <div *ngIf="contacts[0]?.phone" class="flex">
133
- <button
134
- [title]="'Copy to clipboard'"
135
- 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"
136
- data-cy="contact-phone"
137
- (click)="copyToClipboard($event, contacts[0].phone)"
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"
138
58
  >
139
- <ng-icon name="matPhoneOutline"></ng-icon>
140
- </button>
59
+ {{ record.title }}
60
+ </h4>
141
61
  </div>
142
- <div *ngIf="contacts[0]?.address" class="flex">
143
- <button
144
- [title]="'Copy to clipboard'"
145
- 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"
146
- data-cy="contact-phone"
147
- (click)="copyToClipboard($event, contacts[0].address)"
148
- >
149
- <ng-icon name="matLocationOnOutline"></ng-icon>
150
- </button>
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>
151
72
  </div>
152
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>
153
80
  </div>
154
81
  </div>
155
82
  </div>
156
- </div>
83
+ </a>
@@ -1,46 +1,26 @@
1
1
  import {
2
2
  Component,
3
+ ElementRef,
4
+ EventEmitter,
3
5
  Input,
4
- TemplateRef,
5
6
  OnInit,
6
7
  Output,
7
- EventEmitter,
8
- ElementRef,
8
+ TemplateRef,
9
9
  } from '@angular/core'
10
- import {
11
- CatalogRecord,
12
- Organization,
13
- } from '../../../../../../libs/common/domain/src/lib/model/record'
10
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
14
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'
15
14
  import { MarkdownParserComponent } from '../markdown-parser/markdown-parser.component'
16
15
  import { MetadataQualityComponent } from '../metadata-quality/metadata-quality.component'
17
16
  import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
18
- import {
19
- propagateToDocumentOnly,
20
- removeWhitespace,
21
- stripHtml,
22
- } from '../../../../../../libs/util/shared/src'
23
- import {
24
- NgIconComponent,
25
- provideIcons,
26
- provideNgIconsConfig,
27
- } from '@ng-icons/core'
28
- import {
29
- matLocationSearchingOutline,
30
- matEmailOutline,
31
- matPhoneOutline,
32
- matLocationOnOutline,
33
- } from '@ng-icons/material-icons/outline'
34
- import { matCode } from '@ng-icons/material-icons/baseline'
35
- import { iconoirDatabase, iconoirMap, iconoirInternet } from '@ng-icons/iconoir'
36
- import { TranslateModule } from '@ngx-translate/core'
37
- import { marker } from '@biesbjerg/ngx-translate-extract-marker'
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'
38
22
  import { fromEvent, Subscription } from 'rxjs'
39
23
 
40
- marker('record.kind.data')
41
- marker('record.kind.reuse')
42
- marker('record.kind.service')
43
-
44
24
  type CardSize = 'L' | 'M' | 'S' | 'XS'
45
25
 
46
26
  @Component({
@@ -49,23 +29,18 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
49
29
  imports: [
50
30
  NgClass,
51
31
  NgIf,
52
- ThumbnailComponent,
53
32
  MetadataQualityComponent,
54
33
  NgTemplateOutlet,
55
- NgIconComponent,
56
- TranslateModule,
34
+ GeoDataBadgeComponent,
35
+ KindBadgeComponent,
57
36
  MarkdownParserComponent,
37
+ InternalLinkCardContactComponent,
38
+ ThumbnailComponent,
58
39
  ],
59
40
  providers: [
60
41
  provideIcons({
61
- matLocationSearchingOutline,
62
- matCode,
63
- iconoirDatabase,
64
- iconoirMap,
65
42
  iconoirInternet,
66
- matEmailOutline,
67
- matPhoneOutline,
68
- matLocationOnOutline,
43
+ matLocationSearchingOutline,
69
44
  }),
70
45
  provideNgIconsConfig({
71
46
  size: '1.2em',
@@ -76,10 +51,10 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
76
51
  })
77
52
  export class InternalLinkCardComponent implements OnInit {
78
53
  @Input() record: CatalogRecord
54
+ @Input() linkTarget = '_blank'
55
+ @Input() linkHref: string = null
79
56
  @Input() metadataQualityDisplay: boolean
80
57
  @Input() favoriteTemplate: TemplateRef<{ $implicit: CatalogRecord }>
81
- @Input() linkHref: string = null
82
- @Input() isGeodata: boolean
83
58
  @Input() set size(value: CardSize) {
84
59
  this._size = value
85
60
  this.cardClass = this.sizeClassMap[value] || ''
@@ -99,24 +74,24 @@ export class InternalLinkCardComponent implements OnInit {
99
74
  private _size: CardSize = 'M'
100
75
 
101
76
  private readonly sizeClassMap: Record<CardSize, string> = {
102
- L: 'min-h-[190px] md:w-[992px] py-3 px-3 flex items-start gap-5',
103
- M: 'min-h-[140px] md:w-[570px] py-3 px-3 flex items-start gap-4',
104
- S: 'min-h-[220px] md:w-[370px] py-3 px-3 flex gap-4',
105
- XS: 'min-h-[108px] md:w-[570px] py-3 px-3 flex gap-4',
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',
106
81
  }
107
82
 
108
83
  private readonly thumbnailSizeClassMap: Record<CardSize, string> = {
109
- L: 'w-[190px] h-[180px] rounded-lg overflow-hidden shrink-0',
84
+ L: 'w-full md:w-[190px] h-[180px] rounded-lg overflow-hidden shrink-0',
110
85
  M: 'w-[110px] h-[140px] rounded-lg overflow-hidden shrink-0',
111
86
  S: 'hidden',
112
87
  XS: 'hidden',
113
88
  }
114
89
 
115
90
  private readonly titleClassMap: Record<CardSize, string> = {
116
- L: 'text-xl line-clamp-2',
91
+ L: 'text-xl line-clamp-1',
117
92
  M: 'text-base line-clamp-2',
118
- S: 'text-base line-clamp-3',
119
- XS: 'text-base mt-3 line-clamp-2',
93
+ S: 'text-base line-clamp-3 ml-2',
94
+ XS: 'text-base line-clamp-1 ml-2',
120
95
  }
121
96
 
122
97
  constructor(protected elementRef: ElementRef) {}
@@ -124,67 +99,31 @@ export class InternalLinkCardComponent implements OnInit {
124
99
  ngOnInit(): void {
125
100
  this.abstract = removeWhitespace(stripHtml(this.record?.abstract))
126
101
  this.subscription.add(
127
- fromEvent(this.elementRef.nativeElement, 'click').subscribe(
128
- (event: Event) => {
129
- event.preventDefault()
130
- propagateToDocumentOnly(event)
131
- this.mdSelect.emit(this.record)
132
- }
102
+ fromEvent(this.elementRef.nativeElement, 'click').subscribe(() =>
103
+ this.mdSelect.emit(this.record)
133
104
  )
134
105
  )
135
106
  }
136
107
 
137
- get organization(): Organization {
138
- return this.record.ownerOrganization
108
+ getTitleClass() {
109
+ return this.titleClassMap[this._size]
139
110
  }
140
-
141
- get contacts() {
142
- return (
143
- (this.record.kind === 'dataset'
144
- ? this.record.contactsForResource
145
- : this.record.contacts) || []
146
- )
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()
147
118
  }
148
-
149
- getTitleClass() {
119
+ displayAbstract(): boolean {
150
120
  return (
151
- this.titleClassMap[this._size] +
152
- ' ' +
153
- (this.record.ownerOrganization?.name ? '' : 'mt-3') || ''
121
+ this.size === 'L' ||
122
+ (['M', 'S'].includes(this.size) && !this.record.ownerOrganization?.name)
154
123
  )
155
124
  }
156
125
 
157
- openExternalUrl(event: Event, url: URL): void {
158
- event.stopPropagation()
159
- window.open(url, '_blank')
160
- }
161
-
162
- openMailto(event: Event, email: string): void {
163
- event.stopPropagation()
164
- window.open(`mailto:${email}`, '_blank')
165
- }
166
-
167
- copyToClipboard(event: Event, text: string): void {
168
- event.stopPropagation()
169
- navigator.clipboard.writeText(text)
170
- }
171
-
172
126
  get shouldShowThumbnail(): boolean {
173
127
  return this.size === 'L' || this.size === 'M'
174
128
  }
175
-
176
- getKindInfo(): { text: string; icon: string } {
177
- if (!this.record?.kind) return { text: '', icon: '' }
178
-
179
- switch (this.record.kind.toLowerCase()) {
180
- case 'dataset':
181
- return { text: 'record.kind.data', icon: 'iconoirDatabase' }
182
- case 'reuse':
183
- return { text: 'record.kind.reuse', icon: 'iconoirMap' }
184
- case 'service':
185
- return { text: 'record.kind.service', icon: 'matCode' }
186
- default:
187
- return { text: '', icon: '' }
188
- }
189
- }
190
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
+ }
@@ -1,9 +1,11 @@
1
- <ng-icon [name]="iconKind" class="mr-1"></ng-icon>
1
+ <div [class]="badgeClasses" *ngIf="kind">
2
+ <ng-icon [name]="iconKind" class="mr-1 text-[0.85em]"></ng-icon>
2
3
 
3
- <ng-container *ngIf="contentTemplate; else defaultContent">
4
- <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
5
- </ng-container>
4
+ <ng-container *ngIf="contentTemplate; else defaultContent">
5
+ <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
6
+ </ng-container>
7
+ </div>
6
8
 
7
9
  <ng-template #defaultContent>
8
- {{ kind | translate }}
10
+ {{ 'record.kind.' + kind | translate }}
9
11
  </ng-template>
@@ -5,16 +5,19 @@ import {
5
5
  Input,
6
6
  TemplateRef,
7
7
  } from '@angular/core'
8
- import { provideIcons } from '@ng-icons/core'
8
+ import { NgIconComponent, provideIcons } from '@ng-icons/core'
9
9
  import {
10
- iconoirAppleWallet,
11
10
  iconoirAppleShortcuts,
11
+ iconoirAppleWallet,
12
12
  iconoirCode,
13
13
  iconoirCreditCard,
14
14
  } from '@ng-icons/iconoir'
15
- import { NgIconsModule } from '@ng-icons/core'
16
- import { BadgeComponent } from '../../../../../../libs/ui/inputs/src'
17
- import { TranslateModule } from '@ngx-translate/core'
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')
18
21
 
19
22
  enum KindConfig {
20
23
  all = 'iconoirAppleWallet', // (this one is for filter)
@@ -37,9 +40,10 @@ enum KindConfig {
37
40
  ],
38
41
  changeDetection: ChangeDetectionStrategy.OnPush,
39
42
  standalone: true,
40
- imports: [NgIconsModule, CommonModule, BadgeComponent, TranslateModule],
43
+ imports: [NgIconComponent, CommonModule, TranslatePipe],
41
44
  })
42
45
  export class KindBadgeComponent {
46
+ @Input() styling = 'default'
43
47
  @Input() contentTemplate: TemplateRef<unknown>
44
48
  @Input() kind: string
45
49
 
@@ -48,4 +52,18 @@ export class KindBadgeComponent {
48
52
  get iconKind() {
49
53
  return KindConfig[this.kind] || KindConfig.dataset
50
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
+ }
51
69
  }
@@ -8,7 +8,7 @@ import {
8
8
  } from '@ng-icons/core'
9
9
  import { matOpenInNew } from '@ng-icons/material-icons/baseline'
10
10
  import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
11
- import { TranslateModule } from '@ngx-translate/core'
11
+ import { TranslatePipe } from '@ngx-translate/core'
12
12
 
13
13
  type CardSize = 'L' | 'M' | 'S' | 'XS'
14
14
  @Component({
@@ -17,7 +17,7 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
17
17
  styleUrls: ['./link-card.component.css'],
18
18
  changeDetection: ChangeDetectionStrategy.OnPush,
19
19
  standalone: true,
20
- imports: [CommonModule, NgIconComponent, TranslateModule],
20
+ imports: [CommonModule, NgIconComponent, TranslatePipe],
21
21
  providers: [
22
22
  provideIcons({
23
23
  matOpenInNew,