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
@@ -3,10 +3,9 @@ import { HttpClientModule, HttpClientXsrfModule } from '@angular/common/http'
3
3
  import { UiSearchModule } from '../../../../../libs/ui/search/src'
4
4
  import { EffectsModule } from '@ngrx/effects'
5
5
  import { StoreModule } from '@ngrx/store'
6
- import { TranslateModule } from '@ngx-translate/core'
6
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
7
7
  import { NgIconsModule } from '@ng-icons/core'
8
8
  import { FacetsModule } from './facets/facets.module'
9
- import { FuzzySearchComponent } from './fuzzy-search/fuzzy-search.component'
10
9
  import { RecordsMetricsComponent } from './records-metrics/records-metrics.component'
11
10
  import { ResultsLayoutComponent } from './results-layout/results-layout.component'
12
11
  import { ResultsListContainerComponent } from './results-list/results-list.container.component'
@@ -17,27 +16,22 @@ import { ResultsHitsContainerComponent } from './results-hits/results-hits.conta
17
16
  import { SearchStateContainerDirective } from './state/container/search-state.container.directive'
18
17
  import {
19
18
  AutocompleteComponent,
19
+ ButtonComponent,
20
20
  DateRangeDropdownComponent,
21
- UiInputsModule,
21
+ DropdownMultiselectComponent,
22
+ DropdownSelectorComponent,
23
+ ViewportIntersectorComponent,
22
24
  } from '../../../../../libs/ui/inputs/src'
23
25
  import { NgModule } from '@angular/core'
24
- import {
25
- ErrorComponent,
26
- KindBadgeComponent,
27
- UiElementsModule,
28
- } from '../../../../../libs/ui/elements/src'
26
+ import { ErrorComponent, KindBadgeComponent } from '../../../../../libs/ui/elements/src'
29
27
  import { FilterDropdownComponent } from './filter-dropdown/filter-dropdown.component'
30
- import {
31
- SpinningLoaderComponent,
32
- UiWidgetsModule,
33
- } from '../../../../../libs/ui/widgets/src'
28
+ import { SpinningLoaderComponent } from '../../../../../libs/ui/widgets/src'
34
29
  import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.component'
35
30
 
36
31
  @NgModule({
37
32
  declarations: [
38
33
  SortByComponent,
39
34
  ResultsLayoutComponent,
40
- FuzzySearchComponent,
41
35
  RecordsMetricsComponent,
42
36
  ResultsListContainerComponent,
43
37
  ResultsHitsContainerComponent,
@@ -46,7 +40,8 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
46
40
  ],
47
41
  imports: [
48
42
  CommonModule,
49
- TranslateModule.forChild(),
43
+ TranslateDirective,
44
+ TranslatePipe,
50
45
  StoreModule.forFeature(SEARCH_FEATURE_KEY, reducer, {
51
46
  initialState,
52
47
  }),
@@ -54,10 +49,7 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
54
49
  HttpClientModule,
55
50
  HttpClientXsrfModule,
56
51
  UiSearchModule,
57
- UiInputsModule,
58
- UiElementsModule,
59
52
  FacetsModule,
60
- UiWidgetsModule,
61
53
  AutocompleteComponent,
62
54
  SpinningLoaderComponent,
63
55
  ErrorComponent,
@@ -65,11 +57,14 @@ import { FavoriteStarComponent } from './favorites/favorite-star/favorite-star.c
65
57
  DateRangeDropdownComponent,
66
58
  NgIconsModule,
67
59
  KindBadgeComponent,
60
+ DropdownSelectorComponent,
61
+ DropdownMultiselectComponent,
62
+ ViewportIntersectorComponent,
63
+ ButtonComponent,
68
64
  ],
69
65
  exports: [
70
66
  SortByComponent,
71
67
  ResultsLayoutComponent,
72
- FuzzySearchComponent,
73
68
  RecordsMetricsComponent,
74
69
  ResultsListContainerComponent,
75
70
  ResultsHitsContainerComponent,
@@ -1,5 +1,5 @@
1
1
  <gn-ui-autocomplete
2
- [placeholder]="'search.field.any.placeholder' | translate"
2
+ [placeholder]="placeholder ?? ('search.field.any.placeholder' | translate)"
3
3
  [displayWithFn]="displayWithFn"
4
4
  [action]="autoCompleteAction"
5
5
  (itemSelected)="handleItemSelection($event)"
@@ -18,18 +18,23 @@ import { SearchService } from '../utils/service/search.service'
18
18
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
19
19
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
20
20
  import { SearchFilters } from '../../../../../../libs/api/metadata-converter/src'
21
+ import { TranslatePipe } from '@ngx-translate/core'
22
+ import { CommonModule } from '@angular/common'
21
23
 
22
24
  @Component({
23
25
  selector: 'gn-ui-fuzzy-search',
24
26
  templateUrl: './fuzzy-search.component.html',
25
27
  styleUrls: ['./fuzzy-search.component.css'],
26
28
  changeDetection: ChangeDetectionStrategy.OnPush,
29
+ standalone: true,
30
+ imports: [CommonModule, AutocompleteComponent, TranslatePipe],
27
31
  })
28
32
  export class FuzzySearchComponent implements OnInit {
29
33
  @ViewChild(AutocompleteComponent) autocomplete: AutocompleteComponent
30
34
  @Input() autoFocus = false
31
35
  @Input() forceTrackPosition = false
32
36
  @Input() enterButton = false
37
+ @Input() placeholder?: string
33
38
  @Output() itemSelected = new EventEmitter<CatalogRecord>()
34
39
  @Output() inputSubmitted = new EventEmitter<string>()
35
40
  @Output() isSearchActive = new EventEmitter<boolean>()
@@ -55,8 +55,10 @@ export class ResultsListContainerComponent implements OnInit {
55
55
  @Optional()
56
56
  @Inject(RECORD_DATASET_URL_TOKEN)
57
57
  private recordDatasetUrlTemplate: string,
58
+ @Optional()
58
59
  @Inject(RECORD_SERVICE_URL_TOKEN)
59
60
  private recordServiceUrlTemplate: string,
61
+ @Optional()
60
62
  @Inject(RECORD_REUSE_URL_TOKEN)
61
63
  private recordReuseUrlTemplate: string
62
64
  ) {}
@@ -7,6 +7,7 @@
7
7
  [canDelete]="canDelete"
8
8
  [canDuplicate]="canDuplicate"
9
9
  [isDuplicating]="isDuplicating"
10
+ [canEdit]="canEdit"
10
11
  (recordClick)="handleRecordClick($event)"
11
12
  (duplicateRecord)="handleDuplicateRecord($event)"
12
13
  (deleteRecord)="handleDeleteRecord($event)"
@@ -12,7 +12,7 @@ import { SearchService } from '../utils/service/search.service'
12
12
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
13
13
  import { ResultsTableComponent } from '../../../../../../libs/ui/search/src'
14
14
  import { CommonModule } from '@angular/common'
15
- import { Subscription } from 'rxjs'
15
+ import { Observable, Subscription } from 'rxjs'
16
16
  import { NotificationsService } from '../../../../../../libs/feature/notifications/src'
17
17
  import { TranslateService } from '@ngx-translate/core'
18
18
 
@@ -24,8 +24,6 @@ import { TranslateService } from '@ngx-translate/core'
24
24
  imports: [CommonModule, ResultsTableComponent],
25
25
  })
26
26
  export class ResultsTableContainerComponent implements OnDestroy {
27
- @Input() canDuplicate: (record: CatalogRecord) => boolean = () => true
28
- @Input() canDelete: (record: CatalogRecord) => boolean = () => true
29
27
  @Input() isDuplicating: false
30
28
 
31
29
  @Output() recordClick = new EventEmitter<CatalogRecord>()
@@ -39,6 +37,18 @@ export class ResultsTableContainerComponent implements OnDestroy {
39
37
  hasDraft = (record: CatalogRecord): boolean =>
40
38
  this.recordsRepository.recordHasDraft(record.uniqueIdentifier)
41
39
 
40
+ canDuplicate = (record: CatalogRecord): boolean => {
41
+ return this.recordsRepository.canDuplicate(record)
42
+ }
43
+
44
+ canDelete = (record: CatalogRecord): Observable<boolean> => {
45
+ return this.recordsRepository.canDelete(record)
46
+ }
47
+
48
+ canEdit = (record: CatalogRecord): Observable<boolean> => {
49
+ return this.recordsRepository.canEditIndexedRecord(record)
50
+ }
51
+
42
52
  constructor(
43
53
  protected searchFacade: SearchFacade,
44
54
  private searchService: SearchService,
@@ -1,19 +1,25 @@
1
- import { Component, Inject, Input, OnInit, Optional } from '@angular/core'
1
+ import {
2
+ Component,
3
+ Inject,
4
+ InjectionToken,
5
+ Input,
6
+ OnInit,
7
+ Optional,
8
+ } from '@angular/core'
2
9
  import { CommonModule } from '@angular/common'
3
10
  import { first, map, Observable } from 'rxjs'
4
11
  import { SearchFiltersSummaryItemComponent } from '../search-filters-summary-item/search-filters-summary-item.component'
5
- import { TranslateModule } from '@ngx-translate/core'
12
+ import { TranslatePipe } from '@ngx-translate/core'
6
13
  import { SearchFacade } from '../state/search.facade'
7
14
  import { SearchService } from '../utils/service/search.service'
8
15
  import { FieldFilters } from '../../../../../../libs/common/domain/src/lib/model/search'
9
- import { InjectionToken } from '@angular/core'
10
16
 
11
17
  export const FILTER_SUMMARY_IGNORE_LIST = new InjectionToken<string[]>(
12
18
  'FILTER_SUMMARY_IGNORE_LIST'
13
19
  )
14
20
  @Component({
15
21
  selector: 'gn-ui-search-filters-summary',
16
- imports: [CommonModule, SearchFiltersSummaryItemComponent, TranslateModule],
22
+ imports: [CommonModule, SearchFiltersSummaryItemComponent, TranslatePipe],
17
23
  templateUrl: './search-filters-summary.component.html',
18
24
  styleUrls: ['./search-filters-summary.component.css'],
19
25
  standalone: true,
@@ -9,7 +9,7 @@ import {
9
9
  switchMap,
10
10
  } from 'rxjs'
11
11
  import { BadgeComponent } from '../../../../../../libs/ui/inputs/src'
12
- import { TranslateModule, TranslateService } from '@ngx-translate/core'
12
+ import { TranslateService } from '@ngx-translate/core'
13
13
  import { DateRange } from '../../../../../../libs/api/repository/src'
14
14
  import { FieldType, FieldValue } from '../utils/service/fields'
15
15
  import { SearchFacade } from '../state/search.facade'
@@ -29,7 +29,7 @@ interface DisplayedValue {
29
29
  @Component({
30
30
  selector: 'gn-ui-search-filters-summary-item',
31
31
  standalone: true,
32
- imports: [CommonModule, TranslateModule, BadgeComponent],
32
+ imports: [CommonModule, BadgeComponent],
33
33
  templateUrl: './search-filters-summary-item.component.html',
34
34
  styleUrls: ['./search-filters-summary-item.component.css'],
35
35
  providers: [DatePipe],
@@ -20,7 +20,6 @@ import {
20
20
  isDateRange,
21
21
  METADATA_LANGUAGE,
22
22
  } from '../../../../../../../libs/api/repository/src'
23
- import { LangService } from '../../../../../../../libs/util/i18n/src'
24
23
  import { formatUserInfo } from '../../../../../../../libs/util/shared/src'
25
24
  import { PossibleResourceTypes } from '../../../../../../../libs/api/metadata-converter/src'
26
25
 
@@ -170,8 +169,10 @@ export class TranslatedSearchField extends SimpleSearchField {
170
169
  * The provided ES field name should not include any prefix such as `.langeng`
171
170
  */
172
171
  export class MultilingualSearchField extends SimpleSearchField {
173
- private langService = this.injector.get(LangService)
174
- private searchLanguage = this.injector.get(METADATA_LANGUAGE, null)
172
+ // we're using a getter in case the token value changes over time
173
+ private get searchLanguage() {
174
+ return this.injector.get(METADATA_LANGUAGE, null)
175
+ }
175
176
 
176
177
  constructor(
177
178
  protected esFieldName: string,
@@ -9,14 +9,14 @@ import { Organization } from '../../../../../../libs/common/domain/src/lib/model
9
9
  import { ThumbnailComponent } from '../../../../../../libs/ui/elements/src'
10
10
  import { NgIcon, provideIcons } from '@ng-icons/core'
11
11
  import { tablerFolderOpen } from '@ng-icons/tabler-icons'
12
- import { TranslateModule } from '@ngx-translate/core'
12
+ import { TranslateDirective } from '@ngx-translate/core'
13
13
 
14
14
  @Component({
15
15
  selector: 'gn-ui-organisation-preview',
16
16
  templateUrl: './organisation-preview.component.html',
17
17
  styleUrls: ['./organisation-preview.component.css'],
18
18
  changeDetection: ChangeDetectionStrategy.OnPush,
19
- imports: [ThumbnailComponent, NgIcon, TranslateModule],
19
+ imports: [ThumbnailComponent, NgIcon, TranslateDirective],
20
20
  viewProviders: [
21
21
  provideIcons({
22
22
  tablerFolderOpen,
@@ -11,14 +11,14 @@ import {
11
11
  DropdownSelectorComponent,
12
12
  SearchInputComponent,
13
13
  } from '../../../../../../libs/ui/inputs/src'
14
- import { TranslateModule } from '@ngx-translate/core'
14
+ import { TranslatePipe } from '@ngx-translate/core'
15
15
 
16
16
  @Component({
17
17
  selector: 'gn-ui-organisations-filter',
18
18
  templateUrl: './organisations-filter.component.html',
19
19
  changeDetection: ChangeDetectionStrategy.OnPush,
20
20
  standalone: true,
21
- imports: [SearchInputComponent, DropdownSelectorComponent, TranslateModule],
21
+ imports: [SearchInputComponent, DropdownSelectorComponent, TranslatePipe],
22
22
  })
23
23
  export class OrganisationsFilterComponent {
24
24
  choices: { value: string; label: string }[] = [
@@ -1,11 +1,11 @@
1
1
  import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
- import { TranslateModule } from '@ngx-translate/core'
2
+ import { TranslateDirective } from '@ngx-translate/core'
3
3
 
4
4
  @Component({
5
5
  selector: 'gn-ui-organisations-result',
6
6
  templateUrl: './organisations-result.component.html',
7
7
  changeDetection: ChangeDetectionStrategy.OnPush,
8
- imports: [TranslateModule],
8
+ imports: [TranslateDirective],
9
9
  standalone: true,
10
10
  })
11
11
  export class OrganisationsResultComponent {
@@ -1,4 +1,3 @@
1
- export * from './lib/ui-dataviz.module'
2
1
  export * from './lib/chart/chart.component'
3
2
  export * from './lib/data-table/data-table.component'
4
3
  export * from './lib/data-table/data-table.fixtures'
@@ -14,7 +14,7 @@ import {
14
14
  } from '@angular/core'
15
15
  import { MatSort, MatSortModule } from '@angular/material/sort'
16
16
  import { MatTableModule } from '@angular/material/table'
17
- import { TranslateModule, TranslateService } from '@ngx-translate/core'
17
+ import { TranslatePipe, TranslateService } from '@ngx-translate/core'
18
18
  import { DataTableDataSource } from './data-table.data.source'
19
19
  import { BaseReader, FetchError } from '../../../../../../libs/util/data-fetcher/src'
20
20
  import {
@@ -48,11 +48,11 @@ export interface TableItemModel {
48
48
  MatSortModule,
49
49
  MatPaginatorModule,
50
50
  ScrollingModule,
51
- TranslateModule,
52
51
  CommonModule,
53
52
  LoadingMaskComponent,
54
53
  PopupAlertComponent,
55
54
  LetDirective,
55
+ TranslatePipe,
56
56
  ],
57
57
  providers: [{ provide: MatPaginatorIntl, useClass: CustomMatPaginatorIntl }],
58
58
  selector: 'gn-ui-data-table',
@@ -15,7 +15,6 @@
15
15
  textClass
16
16
  }} text-[1.875em] rounded-full mr-[0.55em] flex justify-center items-center w-[2.2em] h-[2.2em] shrink-0"
17
17
  style="width: 2.2em; height: 2.2em"
18
- data-test="icon-container"
19
18
  >
20
19
  <ng-icon class="text-[0.66em]" [name]="icon"> </ng-icon>
21
20
  </div>
@@ -1,10 +1,14 @@
1
1
  import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
+ import { NgIcon } from '@ng-icons/core'
3
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
2
4
 
3
5
  @Component({
4
6
  selector: 'gn-ui-figure',
5
7
  templateUrl: './figure.component.html',
6
8
  styleUrls: ['./figure.component.css'],
7
9
  changeDetection: ChangeDetectionStrategy.OnPush,
10
+ standalone: true,
11
+ imports: [TranslatePipe, TranslateDirective, NgIcon],
8
12
  })
9
13
  export class FigureComponent {
10
14
  @Input() icon!: string
@@ -5,6 +5,7 @@ export * from './lib/content-ghost/content-ghost.component'
5
5
  export * from './lib/download-item/download-item.component'
6
6
  export * from './lib/downloads-list/downloads-list.component'
7
7
  export * from './lib/error/error.component'
8
+ export * from './lib/geo-data-badge/geo-data-badge.component'
8
9
  export * from './lib/image-input/image-input.component'
9
10
  export * from './lib/image-overlay-preview/image-overlay-preview.component'
10
11
  export * from './lib/kind-badge/kind-badge.component'
@@ -18,9 +19,7 @@ export * from './lib/metadata-quality-item/metadata-quality-item.component'
18
19
  export * from './lib/metadata-quality/metadata-quality.component'
19
20
  export * from './lib/notification/notification.component'
20
21
  export * from './lib/record-api-form/record-api-form.component'
21
- export * from './lib/related-record-card/related-record-card.component'
22
22
  export * from './lib/thumbnail/thumbnail.component'
23
- export * from './lib/ui-elements.module'
24
23
  export * from './lib/user-feedback-item/user-feedback-item.component'
25
24
  export * from './lib/user-preview/user-preview.component'
26
25
  export * from './lib/application-banner/application-banner.component'
@@ -11,7 +11,7 @@ import {
11
11
  } from '@angular/core'
12
12
  import { CommonModule } from '@angular/common'
13
13
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
14
- import { TranslateModule } from '@ngx-translate/core'
14
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
15
15
  import { MatTooltipModule } from '@angular/material/tooltip'
16
16
  import { NgIcon, provideIcons } from '@ng-icons/core'
17
17
  import { iconoirSettings } from '@ng-icons/iconoir'
@@ -27,7 +27,8 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
27
27
  imports: [
28
28
  CommonModule,
29
29
  CopyTextButtonComponent,
30
- TranslateModule,
30
+ TranslateDirective,
31
+ TranslatePipe,
31
32
  MatTooltipModule,
32
33
  NgIcon,
33
34
  ],
@@ -1,9 +1,12 @@
1
1
  import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
+ import { CommonModule } from '@angular/common'
2
3
 
3
4
  @Component({
4
5
  selector: 'gn-ui-avatar',
5
6
  templateUrl: './avatar.component.html',
6
7
  changeDetection: ChangeDetectionStrategy.OnPush,
8
+ standalone: true,
9
+ imports: [CommonModule],
7
10
  })
8
11
  export class AvatarComponent {
9
12
  @Input() avatarUrl?: string
@@ -6,7 +6,7 @@ import {
6
6
  Output,
7
7
  } from '@angular/core'
8
8
  import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
9
- import { TranslateModule } from '@ngx-translate/core'
9
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
10
10
  import { CommonModule } from '@angular/common'
11
11
  import { NgIcon, provideIcons } from '@ng-icons/core'
12
12
  import { iconoirDownload } from '@ng-icons/iconoir'
@@ -18,7 +18,7 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
18
18
  templateUrl: './download-item.component.html',
19
19
  styleUrls: ['./download-item.component.css'],
20
20
  changeDetection: ChangeDetectionStrategy.OnPush,
21
- imports: [CommonModule, TranslateModule, NgIcon],
21
+ imports: [CommonModule, TranslateDirective, TranslatePipe, NgIcon],
22
22
  standalone: true,
23
23
  viewProviders: [
24
24
  provideIcons({
@@ -1,12 +1,10 @@
1
1
  import {
2
- AfterViewInit,
3
2
  ChangeDetectionStrategy,
4
3
  ChangeDetectorRef,
5
4
  Component,
6
5
  Input,
7
- ViewChild,
8
6
  } from '@angular/core'
9
- import { TranslateModule, TranslateService } from '@ngx-translate/core'
7
+ import { TranslateDirective, TranslateService } from '@ngx-translate/core'
10
8
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
11
9
  import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
12
10
  import { DatasetDownloadDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
@@ -15,7 +13,6 @@ import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
15
13
  import { DownloadItemComponent } from '../download-item/download-item.component'
16
14
  import {
17
15
  BlockListComponent,
18
- Paginable,
19
16
  PreviousNextButtonsComponent,
20
17
  } from '../../../../../../libs/ui/layout/src'
21
18
 
@@ -36,7 +33,7 @@ type FilterFormat = (typeof FILTER_FORMATS)[number]
36
33
  ButtonComponent,
37
34
  BlockListComponent,
38
35
  DownloadItemComponent,
39
- TranslateModule,
36
+ TranslateDirective,
40
37
  PreviousNextButtonsComponent,
41
38
  ],
42
39
  })
@@ -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,