geonetwork-ui 2.7.0-dev.4fe76116d → 2.7.0-dev.652a07b0d

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 (320) hide show
  1. package/esm2022/index.mjs +1 -2
  2. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +2 -2
  3. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +26 -3
  4. package/esm2022/libs/api/repository/src/lib/gn4/organizations/index.mjs +3 -5
  5. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.mjs +5 -0
  6. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.mjs +6 -0
  7. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +35 -21
  8. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +3 -1
  9. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  10. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  11. package/esm2022/libs/feature/catalog/src/index.mjs +1 -2
  12. package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +3 -1
  13. package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +5 -4
  14. package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +4 -3
  15. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +4 -4
  16. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +4 -4
  17. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -2
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.mjs +14 -38
  19. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -36
  20. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +2 -2
  21. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +10 -5
  22. package/esm2022/libs/feature/notifications/src/index.mjs +1 -2
  23. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +4 -2
  24. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +14 -4
  25. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +5 -43
  26. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +10 -5
  27. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +15 -5
  28. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +4 -2
  29. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
  30. package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +3 -2
  31. package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +2 -5
  32. package/esm2022/libs/feature/search/src/index.mjs +1 -2
  33. package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +12 -5
  34. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +24 -17
  35. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +4 -100
  36. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +9 -5
  37. package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +6 -5
  38. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +9 -5
  39. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +7 -6
  40. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +19 -12
  41. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +2 -1
  42. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +7 -6
  43. package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +3 -2
  44. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +8 -2
  45. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +8 -2
  46. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +8 -2
  47. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +8 -2
  48. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +14 -4
  49. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +8 -2
  50. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +8 -2
  51. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +14 -4
  52. package/esm2022/libs/ui/search/src/index.mjs +1 -3
  53. package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +14 -30
  54. package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +6 -27
  55. package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +7 -4
  56. package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +5 -4
  57. package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +5 -2
  58. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +5 -4
  59. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +36 -7
  60. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +11 -5
  61. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +5 -4
  62. package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +5 -4
  63. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +5 -4
  64. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +5 -4
  65. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +17 -7
  66. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +4 -2
  67. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +5 -4
  68. package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +5 -3
  69. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +14 -4
  70. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +33 -8
  71. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
  72. package/esm2022/libs/util/shared/src/lib/utils/scroll.mjs +40 -0
  73. package/esm2022/translations/de.json +1 -0
  74. package/esm2022/translations/en.json +1 -0
  75. package/esm2022/translations/es.json +1 -0
  76. package/esm2022/translations/fr.json +2 -1
  77. package/esm2022/translations/it.json +1 -0
  78. package/esm2022/translations/nl.json +1 -0
  79. package/esm2022/translations/pt.json +1 -0
  80. package/esm2022/translations/sk.json +1 -0
  81. package/fesm2022/geonetwork-ui.mjs +5320 -5470
  82. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  83. package/index.d.ts +0 -1
  84. package/index.d.ts.map +1 -1
  85. package/index.ts +0 -1
  86. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +2 -2
  87. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  88. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts +5 -1
  89. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  90. package/libs/api/repository/src/lib/gn4/organizations/index.d.ts +2 -3
  91. package/libs/api/repository/src/lib/gn4/organizations/index.d.ts.map +1 -1
  92. package/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.d.ts +4 -0
  93. package/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.d.ts.map +1 -0
  94. package/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.d.ts +9 -0
  95. package/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.d.ts.map +1 -0
  96. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +11 -8
  97. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  98. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +2 -0
  99. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  100. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +1 -1
  101. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  102. package/libs/common/domain/src/lib/platform.service.interface.d.ts +2 -0
  103. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  104. package/libs/feature/catalog/src/index.d.ts +0 -1
  105. package/libs/feature/catalog/src/index.d.ts.map +1 -1
  106. package/libs/feature/catalog/src/lib/organization-url.token.d.ts +1 -0
  107. package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -1
  108. package/libs/feature/catalog/src/lib/site-title/site-title.component.d.ts +1 -1
  109. package/libs/feature/catalog/src/lib/site-title/site-title.component.d.ts.map +1 -1
  110. package/libs/feature/catalog/src/lib/source-label/source-label.component.d.ts +1 -1
  111. package/libs/feature/catalog/src/lib/source-label/source-label.component.d.ts.map +1 -1
  112. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -1
  113. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  114. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +1 -1
  115. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  116. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  117. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.d.ts +4 -12
  118. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.d.ts.map +1 -1
  119. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +3 -10
  120. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  121. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  122. package/libs/feature/notifications/src/index.d.ts +0 -1
  123. package/libs/feature/notifications/src/index.d.ts.map +1 -1
  124. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  125. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  126. package/libs/feature/record/src/lib/feature-record.module.d.ts +4 -11
  127. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  128. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
  129. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  130. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts.map +1 -1
  131. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  132. package/libs/feature/router/src/lib/default/container/search-router.container.directive.d.ts +1 -1
  133. package/libs/feature/router/src/lib/default/container/search-router.container.directive.d.ts.map +1 -1
  134. package/libs/feature/router/src/lib/default/router.module.d.ts +4 -5
  135. package/libs/feature/router/src/lib/default/router.module.d.ts.map +1 -1
  136. package/libs/feature/search/src/index.d.ts +0 -1
  137. package/libs/feature/search/src/index.d.ts.map +1 -1
  138. package/libs/feature/search/src/lib/facets/facets-container/facets-container.component.d.ts +1 -1
  139. package/libs/feature/search/src/lib/facets/facets-container/facets-container.component.d.ts.map +1 -1
  140. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +1 -0
  141. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  142. package/libs/feature/search/src/lib/feature-search.module.d.ts +3 -26
  143. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  144. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +1 -1
  145. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
  146. package/libs/feature/search/src/lib/records-metrics/records-metrics.component.d.ts +1 -1
  147. package/libs/feature/search/src/lib/records-metrics/records-metrics.component.d.ts.map +1 -1
  148. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +1 -1
  149. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -1
  150. package/libs/feature/search/src/lib/results-layout/results-layout.component.d.ts +1 -1
  151. package/libs/feature/search/src/lib/results-layout/results-layout.component.d.ts.map +1 -1
  152. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -1
  153. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  154. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +1 -1
  155. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  156. package/libs/feature/search/src/lib/sort-by/sort-by.component.d.ts +1 -1
  157. package/libs/feature/search/src/lib/sort-by/sort-by.component.d.ts.map +1 -1
  158. package/libs/feature/search/src/lib/state/container/search-state.container.directive.d.ts +1 -1
  159. package/libs/feature/search/src/lib/state/container/search-state.container.directive.d.ts.map +1 -1
  160. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts.map +1 -1
  161. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  162. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  163. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  164. package/libs/ui/elements/src/lib/external-link-card/external-link-card.component.d.ts +1 -1
  165. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -1
  166. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -1
  167. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -1
  168. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -1
  169. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  170. package/libs/ui/search/src/index.d.ts +0 -2
  171. package/libs/ui/search/src/index.d.ts.map +1 -1
  172. package/libs/ui/search/src/lib/facets/facet-block/facet-block.component.d.ts +1 -11
  173. package/libs/ui/search/src/lib/facets/facet-block/facet-block.component.d.ts.map +1 -1
  174. package/libs/ui/search/src/lib/facets/facet-item/facet-item.component.d.ts +1 -11
  175. package/libs/ui/search/src/lib/facets/facet-item/facet-item.component.d.ts.map +1 -1
  176. package/libs/ui/search/src/lib/facets/facet-list/facet-list.component.d.ts +1 -1
  177. package/libs/ui/search/src/lib/facets/facet-list/facet-list.component.d.ts.map +1 -1
  178. package/libs/ui/search/src/lib/record-metric/record-metric.component.d.ts +1 -1
  179. package/libs/ui/search/src/lib/record-metric/record-metric.component.d.ts.map +1 -1
  180. package/libs/ui/search/src/lib/record-preview/record-preview.component.d.ts +1 -1
  181. package/libs/ui/search/src/lib/record-preview/record-preview.component.d.ts.map +1 -1
  182. package/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.d.ts +1 -1
  183. package/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.d.ts.map +1 -1
  184. package/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.d.ts +1 -1
  185. package/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.d.ts.map +1 -1
  186. package/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.d.ts +1 -1
  187. package/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.d.ts.map +1 -1
  188. package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts +1 -1
  189. package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts.map +1 -1
  190. package/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.d.ts +1 -1
  191. package/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.d.ts.map +1 -1
  192. package/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.d.ts +1 -1
  193. package/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.d.ts.map +1 -1
  194. package/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.d.ts +1 -1
  195. package/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.d.ts.map +1 -1
  196. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +1 -1
  197. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -1
  198. package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts +1 -1
  199. package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts.map +1 -1
  200. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts +1 -1
  201. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  202. package/libs/ui/search/src/lib/results-list-item/results-list-item.component.d.ts +1 -1
  203. package/libs/ui/search/src/lib/results-list-item/results-list-item.component.d.ts.map +1 -1
  204. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  205. package/libs/util/shared/src/lib/links/link-utils.d.ts +26 -7
  206. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  207. package/libs/util/shared/src/lib/utils/index.d.ts +1 -0
  208. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  209. package/libs/util/shared/src/lib/utils/scroll.d.ts +12 -0
  210. package/libs/util/shared/src/lib/utils/scroll.d.ts.map +1 -0
  211. package/package.json +3 -3
  212. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -3
  213. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +38 -2
  214. package/src/libs/api/repository/src/lib/gn4/organizations/index.ts +2 -11
  215. package/src/libs/api/repository/src/lib/gn4/organizations/organization-strategy.token.ts +10 -0
  216. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-service.factory.ts +33 -0
  217. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +36 -38
  218. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +8 -0
  219. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +1 -1
  220. package/src/libs/common/domain/src/lib/platform.service.interface.ts +2 -0
  221. package/src/libs/feature/catalog/src/index.ts +0 -1
  222. package/src/libs/feature/catalog/src/lib/organization-url.token.ts +5 -0
  223. package/src/libs/feature/catalog/src/lib/site-title/site-title.component.ts +4 -0
  224. package/src/libs/feature/catalog/src/lib/source-label/source-label.component.ts +3 -0
  225. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +4 -4
  226. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +3 -3
  227. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +8 -1
  228. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.html +10 -8
  229. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-inspire-field/form-field-inspire-theme.component.ts +15 -43
  230. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -18
  231. package/src/libs/feature/editor/src/lib/fields.config.ts +1 -1
  232. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +8 -1
  233. package/src/libs/feature/notifications/src/index.ts +0 -1
  234. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -1
  235. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +7 -2
  236. package/src/libs/feature/record/src/lib/feature-record.module.ts +1 -21
  237. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +5 -2
  238. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +12 -3
  239. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -0
  240. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +4 -2
  241. package/src/libs/feature/router/src/lib/default/container/search-router.container.directive.ts +1 -0
  242. package/src/libs/feature/router/src/lib/default/router.module.ts +0 -3
  243. package/src/libs/feature/search/src/index.ts +0 -1
  244. package/src/libs/feature/search/src/lib/facets/facets-container/facets-container.component.ts +14 -1
  245. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +23 -16
  246. package/src/libs/feature/search/src/lib/feature-search.module.ts +0 -61
  247. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +12 -1
  248. package/src/libs/feature/search/src/lib/records-metrics/records-metrics.component.ts +5 -0
  249. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +11 -0
  250. package/src/libs/feature/search/src/lib/results-layout/results-layout.component.ts +5 -0
  251. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +21 -1
  252. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +1 -1
  253. package/src/libs/feature/search/src/lib/sort-by/sort-by.component.ts +5 -0
  254. package/src/libs/feature/search/src/lib/state/container/search-state.container.directive.ts +1 -0
  255. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +4 -1
  256. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +4 -1
  257. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -1
  258. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +4 -1
  259. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +7 -2
  260. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +8 -1
  261. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +8 -1
  262. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +7 -2
  263. package/src/libs/ui/search/src/index.ts +0 -2
  264. package/src/libs/ui/search/src/lib/facets/facet-block/facet-block.component.ts +12 -11
  265. package/src/libs/ui/search/src/lib/facets/facet-item/facet-item.component.ts +5 -11
  266. package/src/libs/ui/search/src/lib/facets/facet-list/facet-list.component.ts +6 -0
  267. package/src/libs/ui/search/src/lib/record-metric/record-metric.component.ts +4 -0
  268. package/src/libs/ui/search/src/lib/record-preview/record-preview.component.ts +3 -0
  269. package/src/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.ts +4 -0
  270. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.ts +33 -1
  271. package/src/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.ts +10 -0
  272. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.ts +4 -0
  273. package/src/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.ts +4 -0
  274. package/src/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.ts +4 -0
  275. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.ts +4 -0
  276. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +1 -4
  277. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +16 -2
  278. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +5 -3
  279. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +4 -0
  280. package/src/libs/ui/search/src/lib/results-list-item/results-list-item.component.ts +3 -0
  281. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +6 -1
  282. package/src/libs/util/shared/src/lib/links/link-utils.ts +32 -7
  283. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  284. package/src/libs/util/shared/src/lib/utils/scroll.ts +48 -0
  285. package/translations/de.json +1 -0
  286. package/translations/en.json +1 -0
  287. package/translations/es.json +1 -0
  288. package/translations/fr.json +2 -1
  289. package/translations/it.json +1 -0
  290. package/translations/nl.json +1 -0
  291. package/translations/pt.json +1 -0
  292. package/translations/sk.json +1 -0
  293. package/esm2022/libs/feature/auth/src/index.mjs +0 -2
  294. package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +0 -17
  295. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +0 -57
  296. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +0 -18
  297. package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +0 -21
  298. package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +0 -23
  299. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +0 -168
  300. package/libs/feature/auth/src/index.d.ts +0 -2
  301. package/libs/feature/auth/src/index.d.ts.map +0 -1
  302. package/libs/feature/auth/src/lib/feature-auth.module.d.ts +0 -8
  303. package/libs/feature/auth/src/lib/feature-auth.module.d.ts.map +0 -1
  304. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +0 -14
  305. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +0 -1
  306. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +0 -7
  307. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +0 -1
  308. package/libs/feature/search/src/lib/facets/facets.module.d.ts +0 -11
  309. package/libs/feature/search/src/lib/facets/facets.module.d.ts.map +0 -1
  310. package/libs/ui/search/src/lib/facets/facets.module.d.ts +0 -13
  311. package/libs/ui/search/src/lib/facets/facets.module.d.ts.map +0 -1
  312. package/libs/ui/search/src/lib/ui-search.module.d.ts +0 -36
  313. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +0 -1
  314. package/src/libs/feature/auth/src/index.ts +0 -1
  315. package/src/libs/feature/auth/src/lib/feature-auth.module.ts +0 -12
  316. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -71
  317. package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +0 -10
  318. package/src/libs/feature/search/src/lib/facets/facets.module.ts +0 -12
  319. package/src/libs/ui/search/src/lib/facets/facets.module.ts +0 -14
  320. package/src/libs/ui/search/src/lib/ui-search.module.ts +0 -108
@@ -1,12 +1,15 @@
1
1
  import { Component, ChangeDetectionStrategy, Input } from '@angular/core'
2
2
  import { Observable } from 'rxjs'
3
3
  import { SourcesService } from '../sources/sources.service'
4
+ import { CommonModule } from '@angular/common'
4
5
 
5
6
  @Component({
6
7
  selector: 'gn-ui-source-label',
7
8
  templateUrl: './source-label.component.html',
8
9
  styleUrls: ['./source-label.component.css'],
9
10
  changeDetection: ChangeDetectionStrategy.OnPush,
11
+ standalone: true,
12
+ imports: [CommonModule],
10
13
  })
11
14
  export class SourceLabelComponent {
12
15
  sourceLabel$: Observable<string>
@@ -211,21 +211,21 @@ export class DataService {
211
211
 
212
212
  async getDownloadUrlsFromOgcApi(url: string): Promise<OgcApiCollectionInfo> {
213
213
  const endpoint = new OgcApiEndpoint(url)
214
- return await endpoint.allCollections
214
+ return await endpoint.featureCollections
215
215
  .then((collections) => {
216
- return endpoint.getCollectionInfo(collections[0].name)
216
+ return endpoint.getCollectionInfo(collections[0])
217
217
  })
218
218
  .catch((error) => {
219
219
  throw new Error(`ogc.unreachable.unknown`)
220
220
  })
221
221
  }
222
222
 
223
- async getItemsFromOgcApi(url: string): Promise<OgcApiRecord> {
223
+ async getItemsFromOgcApi(url: string): Promise<OgcApiRecord[]> {
224
224
  const endpoint = new OgcApiEndpoint(url)
225
225
  return await endpoint.featureCollections
226
226
  .then((collections) => {
227
227
  return collections.length
228
- ? endpoint.getCollectionItem(collections[0], '1')
228
+ ? endpoint.getCollectionItems(collections[0])
229
229
  : null
230
230
  })
231
231
  .catch(() => {
@@ -11,14 +11,14 @@ import {
11
11
  selectRecordSource,
12
12
  } from './editor.selectors'
13
13
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
14
- import { Gn4PlatformService } from '../../../../../../libs/api/repository/src'
14
+ import { PlatformServiceInterface } from '../../../../../../libs/common/domain/src/lib/platform.service.interface'
15
15
 
16
16
  @Injectable()
17
17
  export class EditorEffects {
18
18
  private actions$ = inject(Actions)
19
19
  private editorService = inject(EditorService)
20
20
  private recordsRepository = inject(RecordsRepositoryInterface)
21
- private gn4PlateformService = inject(Gn4PlatformService)
21
+ private plateformService = inject(PlatformServiceInterface)
22
22
  private store = inject(Store)
23
23
 
24
24
  saveRecord$ = createEffect(() =>
@@ -64,7 +64,7 @@ export class EditorEffects {
64
64
  withLatestFrom(this.store.select(selectRecord)),
65
65
  switchMap(([_, record]) => {
66
66
  if (record.uniqueIdentifier !== null) {
67
- this.gn4PlateformService.cleanRecordAttachments(record).subscribe({
67
+ this.plateformService.cleanRecordAttachments(record).subscribe({
68
68
  next: (_) => undefined,
69
69
  error: (err) => {
70
70
  console.error(err)
@@ -12,7 +12,11 @@ import { map } from 'rxjs'
12
12
  import { Keyword } from '../../../../../../../libs/common/domain/src/lib/model/record'
13
13
  import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus'
14
14
  import { TranslatePipe } from '@ngx-translate/core'
15
- import { NgIconComponent, provideIcons } from '@ng-icons/core'
15
+ import {
16
+ NgIconComponent,
17
+ provideIcons,
18
+ provideNgIconsConfig,
19
+ } from '@ng-icons/core'
16
20
  import { matWarningAmberOutline } from '@ng-icons/material-icons/outline'
17
21
 
18
22
  type AutocompleteItem = { title: string; value: Keyword }
@@ -34,6 +38,9 @@ type AutocompleteItem = { title: string; value: Keyword }
34
38
  provideIcons({
35
39
  matWarningAmberOutline,
36
40
  }),
41
+ provideNgIconsConfig({
42
+ size: '1.5em',
43
+ }),
37
44
  ],
38
45
  })
39
46
  export class GenericKeywordsComponent {
@@ -1,13 +1,15 @@
1
1
  <div class="flex flex-col gap-3">
2
2
  <div class="flex flex-col gap-4">
3
- <gn-ui-autocomplete
4
- [placeholder]="'editor.record.form.inspire.placeholder' | translate"
5
- [displayWithFn]="displayWithFn"
6
- [action]="autoCompleteAction"
7
- (itemSelected)="handleItemSelection($event)"
8
- [minCharacterCount]="1"
9
- [clearOnSelection]="true"
10
- ></gn-ui-autocomplete>
3
+ <gn-ui-dropdown-multiselect
4
+ class="w-full"
5
+ [title]="'editor.record.form.inspire.placeholder' | translate"
6
+ [maxRows]="6"
7
+ [selected]="themes"
8
+ [choices]="availableThemes || []"
9
+ [allowSearch]="true"
10
+ (selectValues)="handleItemSelection($event)"
11
+ >
12
+ </gn-ui-dropdown-multiselect>
11
13
  <div class="flex gap-2 flex-wrap">
12
14
  <gn-ui-badge
13
15
  *ngFor="let theme of themes"
@@ -1,12 +1,13 @@
1
1
  import { Component, EventEmitter, Input, Output } from '@angular/core'
2
2
  import { CommonModule } from '@angular/common'
3
- import { AutocompleteComponent, BadgeComponent } from '../../../../../../../../../libs/ui/inputs/src'
3
+ import {
4
+ AutocompleteComponent,
5
+ BadgeComponent,
6
+ DropdownMultiselectComponent,
7
+ } from '../../../../../../../../../libs/ui/inputs/src'
4
8
  import { NgIconComponent } from '@ng-icons/core'
5
9
  import { INSPIRE_THEMES } from '../../../../fields.config'
6
10
  import { TranslatePipe, TranslateService } from '@ngx-translate/core'
7
- import { of } from 'rxjs'
8
-
9
- type AutocompleteItem = { title: string; value: string }
10
11
 
11
12
  @Component({
12
13
  selector: 'gn-ui-form-field-inspire-theme',
@@ -17,6 +18,7 @@ type AutocompleteItem = { title: string; value: string }
17
18
  NgIconComponent,
18
19
  BadgeComponent,
19
20
  TranslatePipe,
21
+ DropdownMultiselectComponent,
20
22
  ],
21
23
  templateUrl: './form-field-inspire-theme.component.html',
22
24
  styleUrl: './form-field-inspire-theme.component.css',
@@ -27,51 +29,21 @@ export class FormFieldInspireThemeComponent {
27
29
  this.themes = themes
28
30
  }
29
31
  @Output() valueChange: EventEmitter<string[]> = new EventEmitter()
30
- availableThemes = INSPIRE_THEMES
31
-
32
- displayWithFn = (item: AutocompleteItem) => {
33
- return item?.title ? `${item.title}` : ''
34
- }
35
-
36
- autoCompleteAction = (query: string) => {
37
- return of(
38
- this.availableThemes
39
- .filter((theme) =>
40
- theme.value.toLowerCase().includes(query.toLowerCase())
41
- )
42
- .sort((a, b) => {
43
- const aStarts = a.value.startsWith(query)
44
- const bStarts = b.value.startsWith(query)
45
-
46
- if (aStarts && !bStarts) return -1
47
- if (!aStarts && bStarts) return 1
48
- return 0
49
- })
50
- .map((theme) => {
51
- return {
52
- title: this.translateService.instant(theme.label),
53
- value: theme.value,
54
- }
55
- })
56
- )
57
- }
32
+ availableThemes = INSPIRE_THEMES.map((theme) => {
33
+ return {
34
+ label: this.translateService.instant(theme.label),
35
+ value: theme.value,
36
+ }
37
+ })
58
38
 
59
39
  constructor(private translateService: TranslateService) {}
60
40
 
61
- handleItemSelection(item: AutocompleteItem) {
62
- this.addTheme(item.value)
63
- }
64
-
65
- addTheme(theme: string) {
66
- const duplicatedTheme = this.themes.find((t) => t === theme)
67
- if (!duplicatedTheme) {
68
- this.themes = [...this.themes, theme]
69
- this.valueChange.emit(this.themes)
70
- }
41
+ handleItemSelection(selectedItems: string[]) {
42
+ this.themes = selectedItems
43
+ this.valueChange.emit(this.themes)
71
44
  }
72
45
 
73
46
  removeTheme(theme: string) {
74
- console.log(this.themes)
75
47
  this.themes = this.themes.filter((t) => t !== theme)
76
48
  this.valueChange.emit(this.themes)
77
49
  }
@@ -1,35 +1,19 @@
1
- import { CommonModule } from '@angular/common'
2
- import { HttpClientModule, HttpClientXsrfModule } from '@angular/common/http'
1
+ import { provideHttpClient } from '@angular/common/http'
3
2
  import { NgModule } from '@angular/core'
4
- import { MatNativeDateModule } from '@angular/material/core'
5
- import { MatDatepickerModule } from '@angular/material/datepicker'
6
- import { MatFormFieldModule } from '@angular/material/form-field'
7
- import { TextInputComponent } from '../../../../../libs/ui/inputs/src'
8
3
  import { EffectsModule } from '@ngrx/effects'
9
4
  import { StoreModule } from '@ngrx/store'
10
- import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
11
5
  import { EditorEffects } from './+state/editor.effects'
12
6
  import { EditorFacade } from './+state/editor.facade'
13
7
  import * as fromEditor from './+state/editor.reducer'
14
- import { Gn4PlatformService } from '../../../../../libs/api/repository/src'
15
8
 
16
9
  @NgModule({
17
10
  imports: [
18
- CommonModule,
19
- TranslateDirective,
20
- TranslatePipe,
21
- MatDatepickerModule,
22
- MatNativeDateModule,
23
- MatFormFieldModule,
24
- HttpClientModule,
25
- HttpClientXsrfModule,
26
11
  StoreModule.forFeature(
27
12
  fromEditor.EDITOR_FEATURE_KEY,
28
13
  fromEditor.editorReducer
29
14
  ),
30
15
  EffectsModule.forFeature([EditorEffects]),
31
- TextInputComponent,
32
16
  ],
33
- providers: [EditorFacade, Gn4PlatformService],
17
+ providers: [EditorFacade, provideHttpClient()],
34
18
  })
35
19
  export class FeatureEditorModule {}
@@ -383,6 +383,7 @@ export const INSPIRE_THEMES: INSPIRE_theme[] = [
383
383
  value: 'imageryBaseMapsEarthCover',
384
384
  label: 'editor.record.form.inspire.imagery',
385
385
  },
386
+ { value: 'inlandWaters', label: 'editor.record.form.inspire.waters' },
386
387
  {
387
388
  value: 'intelligenceMilitary',
388
389
  label: 'editor.record.form.inspire.intelligence',
@@ -403,7 +404,6 @@ export const INSPIRE_THEMES: INSPIRE_theme[] = [
403
404
  value: 'utilitiesCommunication',
404
405
  label: 'editor.record.form.inspire.utilities',
405
406
  },
406
- { value: 'inlandWaters', label: 'editor.record.form.inspire.waters' },
407
407
  ]
408
408
 
409
409
  marker('editor.record.form.inspire.biota')
@@ -3,6 +3,7 @@ import {
3
3
  FeatureSearchModule,
4
4
  FIELDS_BRIEF,
5
5
  FuzzySearchComponent,
6
+ ResultsListContainerComponent,
6
7
  SearchFacade,
7
8
  SearchService,
8
9
  } from '../../../../../../libs/feature/search/src'
@@ -11,6 +12,7 @@ import {
11
12
  ResultsLayoutConfigItem,
12
13
  } from '../../../../../../libs/ui/search/src'
13
14
  import { AddLayerRecordPreviewComponent } from './add-layer-record-preview/add-layer-record-preview.component'
15
+ import { CommonModule } from '@angular/common'
14
16
 
15
17
  @Component({
16
18
  selector: 'gn-ui-add-layer-from-catalog',
@@ -33,7 +35,12 @@ import { AddLayerRecordPreviewComponent } from './add-layer-record-preview/add-l
33
35
  },
34
36
  },
35
37
  ],
36
- imports: [FeatureSearchModule, FuzzySearchComponent],
38
+ imports: [
39
+ CommonModule,
40
+ FeatureSearchModule,
41
+ FuzzySearchComponent,
42
+ ResultsListContainerComponent,
43
+ ],
37
44
  })
38
45
  export class AddLayerFromCatalogComponent implements OnInit {
39
46
  constructor(private searchFacade: SearchFacade) {}
@@ -1,3 +1,2 @@
1
- export * from './lib/feature-notifications.module'
2
1
  export * from './lib/notifications.service'
3
2
  export * from './lib/notifications-container/notifications-container.component'
@@ -57,7 +57,9 @@ export class DataViewComponent {
57
57
  }
58
58
  }
59
59
  @Input() set datavizConfig(value: any) {
60
- this._selectedView = value.view
60
+ if ((value && value.view === 'table') || value.view === 'chart') {
61
+ this._selectedView = value.view
62
+ }
61
63
  if (this.mode === value.view) {
62
64
  if (!value.source) {
63
65
  this.linkSelected.emit(this.selectedLink$.value)
@@ -11,7 +11,7 @@ import { marker } from '@biesbjerg/ngx-translate-extract-marker'
11
11
  import { TranslatePipe, TranslateService } from '@ngx-translate/core'
12
12
  import { getFileFormat } from '../../../../../../libs/util/shared/src'
13
13
  import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
14
- import { NgIcon, provideIcons } from '@ng-icons/core'
14
+ import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
15
15
  import { CommonModule } from '@angular/common'
16
16
  import { matOpenInNew } from '@ng-icons/material-icons/baseline'
17
17
 
@@ -32,7 +32,12 @@ export const EXTERNAL_VIEWER_OPEN_NEW_TAB = new InjectionToken<boolean>(
32
32
  changeDetection: ChangeDetectionStrategy.OnPush,
33
33
  standalone: true,
34
34
  imports: [CommonModule, ButtonComponent, NgIcon, TranslatePipe],
35
- viewProviders: [provideIcons({ matOpenInNew })],
35
+ viewProviders: [
36
+ provideIcons({ matOpenInNew }),
37
+ provideNgIconsConfig({
38
+ size: '1.5em',
39
+ }),
40
+ ],
36
41
  })
37
42
  export class ExternalViewerButtonComponent {
38
43
  @Input() link: DatasetOnlineResource
@@ -1,40 +1,20 @@
1
1
  import { NgModule } from '@angular/core'
2
- import { CommonModule } from '@angular/common'
3
2
  import { StoreModule } from '@ngrx/store'
4
3
  import { EffectsModule } from '@ngrx/effects'
5
4
  import { FeatureMapModule } from '../../../../../libs/feature/map/src'
6
- import { DropdownSelectorComponent } from '../../../../../libs/ui/inputs/src'
7
5
  import { MdViewFacade } from './state'
8
6
  import { MdViewEffects } from './state/mdview.effects'
9
7
  import {
10
8
  METADATA_VIEW_FEATURE_STATE_KEY,
11
9
  reducer,
12
10
  } from './state/mdview.reducer'
13
- import { MatTabsModule } from '@angular/material/tabs'
14
- import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
15
- import { FeatureCatalogModule } from '../../../../../libs/feature/catalog/src'
16
- import { DataTableComponent } from '../../../../../libs/ui/dataviz/src'
17
- import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
18
11
 
19
12
  @NgModule({
20
13
  imports: [
21
- CommonModule,
22
14
  StoreModule.forFeature(METADATA_VIEW_FEATURE_STATE_KEY, reducer),
23
15
  EffectsModule.forFeature([MdViewEffects]),
24
16
  FeatureMapModule,
25
- FeatureCatalogModule,
26
- MatTabsModule,
27
- TranslateDirective,
28
- TranslatePipe,
29
- DataTableComponent,
30
- NgIconsModule,
31
- DropdownSelectorComponent,
32
- ],
33
- providers: [
34
- MdViewFacade,
35
- provideNgIconsConfig({
36
- size: '1.5em',
37
- }),
38
17
  ],
18
+ providers: [MdViewFacade],
39
19
  })
40
20
  export class FeatureRecordModule {}
@@ -1,7 +1,7 @@
1
1
  import { CommonModule } from '@angular/common'
2
2
  import { HttpClient } from '@angular/common/http'
3
3
  import { Component, Input, OnInit } from '@angular/core'
4
- import { NgIconsModule, provideIcons } from '@ng-icons/core'
4
+ import { NgIcon, provideIcons, provideNgIconsConfig } from '@ng-icons/core'
5
5
  import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
6
6
  import { map, mergeMap, Observable } from 'rxjs'
7
7
  import { matCloudDownloadOutline } from '@ng-icons/material-icons/outline'
@@ -11,11 +11,14 @@ import { matCloudDownloadOutline } from '@ng-icons/material-icons/outline'
11
11
  templateUrl: './gpf-api-dl-list-item.component.html',
12
12
  styleUrls: ['./gpf-api-dl-list-item.component.css'],
13
13
  standalone: true,
14
- imports: [CommonModule, TranslateDirective, TranslatePipe, NgIconsModule],
14
+ imports: [CommonModule, TranslateDirective, TranslatePipe, NgIcon],
15
15
  providers: [
16
16
  provideIcons({
17
17
  matCloudDownloadOutline,
18
18
  }),
19
+ provideNgIconsConfig({
20
+ size: '1.5em',
21
+ }),
19
22
  ],
20
23
  })
21
24
  export class GpfApiDlListItemComponent implements OnInit {
@@ -49,7 +49,11 @@ import {
49
49
  prioritizePageScroll,
50
50
  } from '../../../../../../libs/ui/map/src'
51
51
  import { Feature } from 'geojson'
52
- import { NgIconComponent, provideIcons } from '@ng-icons/core'
52
+ import {
53
+ NgIconComponent,
54
+ provideIcons,
55
+ provideNgIconsConfig,
56
+ } from '@ng-icons/core'
53
57
  import { matClose } from '@ng-icons/material-icons/baseline'
54
58
  import { CommonModule } from '@angular/common'
55
59
  import {
@@ -94,7 +98,12 @@ marker('map.select.style')
94
98
  ButtonComponent,
95
99
  MapLegendComponent,
96
100
  ],
97
- viewProviders: [provideIcons({ matClose })],
101
+ viewProviders: [
102
+ provideIcons({ matClose }),
103
+ provideNgIconsConfig({
104
+ size: '1.5em',
105
+ }),
106
+ ],
98
107
  })
99
108
  export class MapViewComponent implements AfterViewInit {
100
109
  @Input() set exceedsLimit(value: boolean) {
@@ -109,7 +118,7 @@ export class MapViewComponent implements AfterViewInit {
109
118
  this.selectedView$.next(value)
110
119
  }
111
120
  @Input() set datavizConfig(value: any) {
112
- if (value.view === 'map') {
121
+ if (value && value.view === 'map') {
113
122
  this.selectedView$.next(value.view)
114
123
  if (value.styleTMSIndex) {
115
124
  this._styleFromConfig = value.styleTMSIndex
@@ -1,3 +1,4 @@
1
+ import { CommonModule } from '@angular/common'
1
2
  import {
2
3
  ChangeDetectionStrategy,
3
4
  Component,
@@ -13,6 +14,7 @@ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/mode
13
14
  template: '',
14
15
  changeDetection: ChangeDetectionStrategy.OnPush,
15
16
  standalone: true,
17
+ imports: [CommonModule],
16
18
  })
17
19
  export class RecordMetaComponent implements OnDestroy, OnChanges {
18
20
  @Input() metadata: CatalogRecord
@@ -139,8 +139,10 @@ export class MdViewFacade {
139
139
  return from(
140
140
  this.dataService.getItemsFromOgcApi(link.url.href)
141
141
  ).pipe(
142
- map((collectionRecords: OgcApiRecord) => {
143
- return collectionRecords && collectionRecords.geometry
142
+ map((collectionRecords: OgcApiRecord[]) => {
143
+ return collectionRecords &&
144
+ collectionRecords[0] &&
145
+ collectionRecords[0].geometry
144
146
  ? link
145
147
  : null
146
148
  }),
@@ -11,6 +11,7 @@ import { RouterSearchService } from '../services/router-search.service'
11
11
  useClass: RouterSearchService,
12
12
  },
13
13
  ],
14
+ standalone: true,
14
15
  })
15
16
  export class SearchRouterContainerDirective implements OnInit {
16
17
  @Input('gnUiSearchRouterContainer') searchId: string
@@ -8,7 +8,6 @@ import {
8
8
  } from '@ngrx/router-store'
9
9
  import { StoreModule } from '@ngrx/store'
10
10
  import { ROUTER_STATE_KEY } from './constants'
11
- import { SearchRouterContainerDirective } from './container/search-router.container.directive'
12
11
  import { RouterService } from './router.service'
13
12
  import { SearchRouteReuseStrategy } from './SearchRouteReuseStrategy'
14
13
  import { RouterFacade } from './state/router.facade'
@@ -16,8 +15,6 @@ import { RouterEffects } from './state/router.effects'
16
15
  import { ROUTER_CONFIG, RouterConfigModel } from './router.config'
17
16
 
18
17
  @NgModule({
19
- declarations: [SearchRouterContainerDirective],
20
- exports: [SearchRouterContainerDirective],
21
18
  imports: [
22
19
  StoreModule.forFeature(ROUTER_STATE_KEY, routerReducer),
23
20
  StoreRouterConnectingModule.forRoot({
@@ -13,7 +13,6 @@ export * from './lib/results-list/results-list.container.component'
13
13
  export * from './lib/filter-dropdown/filter-dropdown.component'
14
14
  export * from './lib/constants'
15
15
  export * from './lib/fuzzy-search/fuzzy-search.component'
16
- export * from './lib/facets/facets.module'
17
16
  export * from './lib/facets/facets-container/facets-container.component'
18
17
  export * from './lib/records-metrics/records-metrics.component'
19
18
  export * from './lib/favorites/favorite-star/favorite-star.component'
@@ -1,5 +1,9 @@
1
1
  import { Component, OnInit } from '@angular/core'
2
- import { FacetSelectEvent, ModelBlock } from '../../../../../../../libs/ui/search/src'
2
+ import {
3
+ FacetListComponent,
4
+ FacetSelectEvent,
5
+ ModelBlock,
6
+ } from '../../../../../../../libs/ui/search/src'
3
7
  import { combineLatest, Observable } from 'rxjs'
4
8
  import { map, take } from 'rxjs/operators'
5
9
  import { SearchFacade } from '../../state/search.facade'
@@ -7,6 +11,8 @@ import { FacetsService } from '../facets.service'
7
11
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
8
12
  import { FieldFilters } from '../../../../../../../libs/common/domain/src/lib/model/search'
9
13
  import { EsRequestAggTerm } from '../../../../../../../libs/api/metadata-converter/src'
14
+ import { CommonModule } from '@angular/common'
15
+ import { TranslateModule } from '@ngx-translate/core'
10
16
 
11
17
  marker('facets.block.title.OrgForResource')
12
18
  marker('facets.block.title.availableInServices')
@@ -24,6 +30,13 @@ marker('facets.block.title.th_regions_tree.default')
24
30
  selector: 'gn-ui-facets-container',
25
31
  templateUrl: './facets-container.component.html',
26
32
  styleUrls: ['./facets-container.component.css'],
33
+ standalone: true,
34
+ imports: [
35
+ FacetListComponent,
36
+ CommonModule,
37
+ TranslateModule,
38
+ FacetListComponent,
39
+ ],
27
40
  })
28
41
  export class FacetsContainerComponent implements OnInit {
29
42
  selectedPaths$: Observable<string[][]>
@@ -48,6 +48,7 @@ export class FavoriteStarComponent implements AfterViewInit, OnDestroy {
48
48
  isFavorite$ = this.favoritesService.myFavoritesUuid$.pipe(
49
49
  map((favorites) => favorites.indexOf(this.record.uniqueIdentifier) > -1)
50
50
  )
51
+ supportsAuthentication = this.platformService.supportsAuthentication()
51
52
  isAnonymous$ = this.platformService.isAnonymous()
52
53
  record_: Partial<CatalogRecord>
53
54
  favoriteCount: number | null
@@ -79,20 +80,22 @@ export class FavoriteStarComponent implements AfterViewInit, OnDestroy {
79
80
  ) {}
80
81
 
81
82
  ngAfterViewInit(): void {
82
- this.subscription = this.isAnonymous$
83
- .pipe(withLatestFrom(this.loginMessage$))
84
- .subscribe(([anonymous, loginMessage]) => {
85
- if (anonymous) {
86
- tippy(this.starToggleRef.nativeElement, {
87
- appendTo: () => document.body,
88
- content: loginMessage,
89
- allowHTML: true,
90
- interactive: true,
91
- zIndex: 60,
92
- maxWidth: 250,
93
- })
94
- }
95
- })
83
+ if (this.supportsAuthentication) {
84
+ this.subscription = this.isAnonymous$
85
+ .pipe(withLatestFrom(this.loginMessage$))
86
+ .subscribe(([anonymous, loginMessage]) => {
87
+ if (anonymous) {
88
+ tippy(this.starToggleRef.nativeElement, {
89
+ appendTo: () => document.body,
90
+ content: loginMessage,
91
+ allowHTML: true,
92
+ interactive: true,
93
+ zIndex: 60,
94
+ maxWidth: 250,
95
+ })
96
+ }
97
+ })
98
+ }
96
99
  this.countSubscription = this.favoritesService.myFavoritesUuid$
97
100
  .pipe(pairwise())
98
101
  .subscribe(([oldFavs, newFavs]) => {
@@ -115,8 +118,12 @@ export class FavoriteStarComponent implements AfterViewInit, OnDestroy {
115
118
  }
116
119
 
117
120
  ngOnDestroy(): void {
118
- this.subscription.unsubscribe()
119
- this.countSubscription.unsubscribe()
121
+ if (this.subscription) {
122
+ this.subscription.unsubscribe()
123
+ }
124
+ if (this.countSubscription) {
125
+ this.countSubscription.unsubscribe()
126
+ }
120
127
  }
121
128
 
122
129
  toggleFavorite(isFavorite) {