geonetwork-ui 2.6.0-dev.025a2f85d → 2.6.0-dev.02631a41f

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 (781) hide show
  1. package/README.md +2 -3
  2. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
  5. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +11 -2
  6. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
  7. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +52 -13
  8. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
  9. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
  12. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +14 -6
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +5 -5
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
  15. package/esm2022/libs/api/metadata-converter/src/lib/translate-utils.mjs +17 -0
  16. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  17. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +5 -2
  18. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +20 -18
  19. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
  20. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
  21. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
  22. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +23 -13
  23. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  24. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  25. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  26. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
  27. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
  28. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +47 -11
  29. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
  30. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  31. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +35 -3
  32. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +27 -8
  33. package/esm2022/libs/feature/editor/src/index.mjs +2 -4
  34. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  35. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +13 -7
  36. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
  37. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +5 -1
  38. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
  39. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
  40. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
  41. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +275 -0
  42. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +4 -13
  43. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
  44. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
  45. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
  46. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
  47. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -14
  48. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
  49. 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
  50. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
  51. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
  52. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
  53. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
  54. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
  55. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
  56. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
  57. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
  58. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
  59. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
  60. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
  61. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
  62. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
  63. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
  64. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
  65. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
  66. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
  67. package/esm2022/libs/feature/record/src/index.mjs +2 -3
  68. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +20 -19
  69. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -7
  70. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +5 -6
  71. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -7
  72. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +7 -4
  73. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
  74. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
  75. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
  76. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +96 -21
  77. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  78. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +7 -1
  79. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -13
  80. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  81. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  82. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  83. package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
  84. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +9 -6
  85. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +32 -28
  86. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
  87. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
  88. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +44 -0
  89. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +12 -8
  90. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  91. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
  92. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
  93. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +74 -4
  94. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  95. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
  96. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
  97. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
  98. package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
  99. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  100. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +13 -8
  101. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
  102. package/esm2022/libs/ui/elements/src/index.mjs +5 -4
  103. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +7 -7
  104. package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +5 -5
  105. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
  106. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -3
  107. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +5 -6
  108. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +20 -9
  109. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
  110. package/esm2022/libs/ui/elements/src/lib/external-link-card/external-link-card.component.mjs +59 -0
  111. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +54 -0
  112. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
  113. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  114. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +30 -104
  115. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +70 -0
  116. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
  117. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
  118. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +5 -6
  119. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +7 -8
  120. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +40 -17
  121. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
  122. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -5
  123. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +71 -0
  124. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +15 -6
  125. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
  126. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
  127. package/esm2022/libs/ui/inputs/src/index.mjs +3 -2
  128. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +10 -13
  129. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  130. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
  131. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
  132. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
  133. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +5 -6
  134. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
  135. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +43 -0
  136. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  137. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +73 -0
  138. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +7 -3
  139. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
  140. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
  141. package/esm2022/libs/ui/layout/src/index.mjs +3 -2
  142. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
  143. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +61 -14
  144. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  145. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  146. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  147. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
  148. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +21 -12
  149. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
  150. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
  151. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  152. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
  153. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +71 -0
  154. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  155. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
  156. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +2 -1
  157. package/esm2022/libs/ui/search/src/index.mjs +3 -1
  158. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
  159. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +17 -10
  160. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  161. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  162. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  163. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  164. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
  165. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +45 -21
  166. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +39 -26
  167. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  168. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  169. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  170. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +4 -3
  171. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +3 -1
  172. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  173. package/esm2022/libs/util/i18n/src/index.mjs +2 -3
  174. package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
  175. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
  176. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
  177. package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
  178. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
  179. package/esm2022/libs/util/shared/src/index.mjs +2 -2
  180. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
  181. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -1
  182. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +4 -1
  183. package/esm2022/libs/util/shared/src/lib/record.util.mjs +56 -0
  184. package/esm2022/translations/de.json +56 -24
  185. package/esm2022/translations/en.json +56 -24
  186. package/esm2022/translations/es.json +55 -23
  187. package/esm2022/translations/fr.json +57 -25
  188. package/esm2022/translations/it.json +82 -50
  189. package/esm2022/translations/nl.json +55 -23
  190. package/esm2022/translations/pt.json +55 -23
  191. package/esm2022/translations/sk.json +603 -0
  192. package/fesm2022/geonetwork-ui.mjs +11569 -10100
  193. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  194. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  195. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  196. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  197. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  198. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  199. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
  200. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
  201. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  202. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  203. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  204. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  205. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  206. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  207. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  208. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  209. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts +2 -0
  210. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts.map +1 -0
  211. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  212. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  213. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +9 -7
  214. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  215. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +14 -3
  216. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  217. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
  218. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  219. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
  220. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  221. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +6 -3
  222. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  223. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  224. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  225. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +21 -15
  226. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  227. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -1
  228. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  229. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
  230. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  231. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
  232. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +1 -1
  233. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  234. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  235. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  236. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  237. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  238. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +5 -2
  239. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  240. package/libs/feature/editor/src/index.d.ts +1 -3
  241. package/libs/feature/editor/src/index.d.ts.map +1 -1
  242. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +8 -1
  243. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  244. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +10 -12
  245. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  246. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -1
  247. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  248. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  249. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +1 -1
  250. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  251. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -1
  252. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  253. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
  254. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
  255. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  256. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  257. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  258. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
  259. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
  260. 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
  261. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  262. 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
  263. 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
  264. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  265. 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
  266. 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
  267. 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
  268. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  269. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +10 -17
  270. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  271. package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
  272. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  273. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  274. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  275. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  276. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  277. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  278. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
  279. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  280. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  281. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  282. package/libs/feature/record/src/index.d.ts +1 -2
  283. package/libs/feature/record/src/index.d.ts.map +1 -1
  284. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +7 -4
  285. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  286. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  287. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  288. package/libs/feature/record/src/lib/feature-record.module.d.ts +8 -12
  289. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  290. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -1
  291. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
  292. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -6
  293. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  294. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
  295. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  296. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +6 -0
  297. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  298. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
  299. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  300. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
  301. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  302. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  303. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  304. package/libs/feature/search/src/index.d.ts +1 -1
  305. package/libs/feature/search/src/index.d.ts.map +1 -1
  306. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  307. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +2 -1
  308. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  309. package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -22
  310. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  311. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  312. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  313. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +22 -0
  314. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  315. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -1
  316. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  317. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  318. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  319. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +1 -2
  320. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
  321. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
  322. package/libs/feature/search/src/lib/utils/service/fields.d.ts +22 -2
  323. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  324. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  325. package/libs/ui/dataviz/src/index.d.ts +0 -1
  326. package/libs/ui/dataviz/src/index.d.ts.map +1 -1
  327. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  328. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  329. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  330. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  331. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
  332. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  333. package/libs/ui/elements/src/index.d.ts +4 -3
  334. package/libs/ui/elements/src/index.d.ts.map +1 -1
  335. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  336. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
  337. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
  338. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
  339. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -1
  340. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  341. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  342. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  343. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  344. package/libs/ui/elements/src/lib/{link-card/link-card.component.d.ts → external-link-card/external-link-card.component.d.ts} +5 -5
  345. package/libs/ui/elements/src/lib/external-link-card/external-link-card.component.d.ts.map +1 -0
  346. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  347. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  348. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +6 -19
  349. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
  350. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +14 -0
  351. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  352. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  353. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  354. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
  355. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  356. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  357. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  358. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
  359. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  360. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +1 -0
  361. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -1
  362. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
  363. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
  364. package/libs/ui/inputs/src/index.d.ts +2 -1
  365. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  366. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +1 -2
  367. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  368. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  369. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  370. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
  371. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
  372. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
  373. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
  374. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
  375. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
  376. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
  377. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  378. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  379. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  380. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  381. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  382. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  383. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +2 -1
  384. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  385. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
  386. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
  387. package/libs/ui/layout/src/index.d.ts +2 -1
  388. package/libs/ui/layout/src/index.d.ts.map +1 -1
  389. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +1 -1
  390. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  391. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +11 -3
  392. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  393. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  394. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  395. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  396. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  397. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +4 -2
  398. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  399. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
  400. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
  401. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
  402. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  403. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  404. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  405. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -1
  406. package/libs/ui/search/src/index.d.ts +2 -0
  407. package/libs/ui/search/src/index.d.ts.map +1 -1
  408. package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts +2 -0
  409. package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts.map +1 -1
  410. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  411. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  412. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  413. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  414. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  415. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  416. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  417. package/libs/ui/search/src/lib/ui-search.module.d.ts +22 -19
  418. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  419. package/libs/ui/widgets/src/index.d.ts +0 -1
  420. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  421. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
  422. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
  423. package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
  424. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  425. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  426. package/libs/util/app-config/src/lib/model.d.ts +1 -0
  427. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  428. package/libs/util/i18n/src/index.d.ts +1 -2
  429. package/libs/util/i18n/src/index.d.ts.map +1 -1
  430. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
  431. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
  432. package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
  433. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  434. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
  435. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
  436. package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
  437. package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
  438. package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
  439. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  440. package/libs/util/shared/src/index.d.ts +1 -1
  441. package/libs/util/shared/src/index.d.ts.map +1 -1
  442. package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
  443. package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
  444. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  445. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  446. package/libs/util/shared/src/lib/record.util.d.ts +3 -0
  447. package/libs/util/shared/src/lib/record.util.d.ts.map +1 -0
  448. package/package.json +4 -4
  449. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  450. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  451. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  452. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +10 -1
  453. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
  454. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
  455. package/src/libs/api/metadata-converter/src/lib/fixtures/metadata-for-i18n.records.ts +4240 -0
  456. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +73 -9
  457. package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
  458. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  459. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
  460. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
  461. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +14 -8
  462. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +10 -6
  463. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +5 -4
  464. package/src/libs/api/metadata-converter/src/lib/translate-utils.ts +17 -0
  465. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
  466. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +4 -1
  467. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +16 -8
  468. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +119 -16
  469. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
  470. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
  471. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -20
  472. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  473. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +22 -9
  474. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +11 -1
  475. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +10 -0
  476. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +14 -0
  477. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +114 -1
  478. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
  479. package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
  480. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  481. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +56 -12
  482. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
  483. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +40 -1
  484. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  485. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +29 -3
  486. package/src/libs/feature/editor/src/index.ts +1 -3
  487. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +9 -1
  488. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +23 -12
  489. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  490. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +9 -1
  491. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
  492. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
  493. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
  494. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +120 -0
  495. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +331 -0
  496. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -10
  497. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +3 -2
  498. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
  499. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
  500. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
  501. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +6 -9
  502. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
  503. 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
  504. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
  505. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
  506. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
  507. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  508. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
  509. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
  510. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
  511. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
  512. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
  513. package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
  514. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
  515. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
  516. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
  517. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
  518. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
  519. package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
  520. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
  521. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
  522. package/src/libs/feature/record/src/index.ts +1 -2
  523. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +17 -11
  524. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +22 -19
  525. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -2
  526. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  527. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
  528. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +2 -2
  529. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  530. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +3 -2
  531. package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
  532. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
  533. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
  534. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +38 -11
  535. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +135 -21
  536. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
  537. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +22 -0
  538. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +22 -15
  539. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
  540. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  541. package/src/libs/feature/search/src/index.ts +1 -1
  542. package/src/libs/feature/search/src/lib/constants.ts +3 -1
  543. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +1 -0
  544. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +4 -3
  545. package/src/libs/feature/search/src/lib/feature-search.module.ts +17 -15
  546. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  547. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
  548. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +17 -0
  549. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +60 -0
  550. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +2 -0
  551. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  552. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  553. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
  554. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
  555. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  556. package/src/libs/feature/search/src/lib/utils/service/fields.ts +103 -3
  557. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  558. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
  559. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
  560. package/src/libs/ui/dataviz/src/index.ts +0 -1
  561. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  562. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  563. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +7 -6
  564. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
  565. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
  566. package/src/libs/ui/elements/src/index.ts +4 -3
  567. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  568. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
  569. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +6 -6
  570. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +2 -2
  571. package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
  572. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +6 -2
  573. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +5 -1
  574. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  575. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  576. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
  577. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +28 -4
  578. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
  579. package/src/libs/ui/elements/src/lib/{link-card/link-card.component.html → external-link-card/external-link-card.component.html} +5 -2
  580. package/src/libs/ui/elements/src/lib/{link-card/link-card.component.ts → external-link-card/external-link-card.component.ts} +9 -13
  581. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  582. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  583. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  584. package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
  585. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  586. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +69 -138
  587. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.scss +115 -0
  588. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +33 -125
  589. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  590. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +15 -0
  591. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +72 -0
  592. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
  593. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  594. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
  595. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  596. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
  597. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
  598. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +11 -3
  599. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +4 -7
  600. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +20 -23
  601. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +51 -13
  602. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
  603. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
  604. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
  605. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +83 -0
  606. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +16 -2
  607. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +16 -3
  608. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
  609. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
  610. package/src/libs/ui/inputs/src/index.ts +2 -1
  611. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +3 -3
  612. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +6 -9
  613. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  614. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
  615. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
  616. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
  617. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  618. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
  619. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  620. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
  621. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
  622. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  623. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +47 -0
  624. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  625. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  626. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  627. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +83 -0
  628. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -1
  629. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +7 -4
  630. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +3 -1
  631. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
  632. package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
  633. package/src/libs/ui/layout/src/index.ts +2 -1
  634. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
  635. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  636. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -3
  637. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +57 -9
  638. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  639. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  640. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  641. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  642. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  643. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  644. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
  645. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +3 -2
  646. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +15 -8
  647. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  648. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
  649. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
  650. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  651. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  652. package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
  653. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
  654. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +84 -0
  655. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  656. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  657. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
  658. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts +1 -0
  659. package/src/libs/ui/search/src/index.ts +2 -0
  660. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
  661. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  662. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.ts +14 -1
  663. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  664. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
  665. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  666. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  667. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  668. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  669. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  670. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
  671. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  672. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +29 -27
  673. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +49 -18
  674. package/src/libs/ui/search/src/lib/ui-search.module.ts +19 -10
  675. package/src/libs/ui/widgets/src/index.ts +0 -1
  676. package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
  677. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
  678. package/src/libs/util/app-config/src/lib/app-config.ts +4 -2
  679. package/src/libs/util/app-config/src/lib/fixtures.ts +2 -0
  680. package/src/libs/util/app-config/src/lib/model.ts +1 -0
  681. package/src/libs/util/i18n/src/index.ts +1 -2
  682. package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
  683. package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
  684. package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
  685. package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
  686. package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
  687. package/src/libs/util/shared/src/index.ts +1 -1
  688. package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
  689. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +3 -0
  690. package/src/libs/util/shared/src/lib/links/link-utils.ts +3 -0
  691. package/src/libs/util/shared/src/lib/record.util.ts +114 -0
  692. package/tailwind.base.config.js +3 -0
  693. package/tailwind.base.css +3 -15
  694. package/translations/de.json +56 -24
  695. package/translations/en.json +56 -24
  696. package/translations/es.json +55 -23
  697. package/translations/fr.json +57 -25
  698. package/translations/it.json +82 -50
  699. package/translations/nl.json +55 -23
  700. package/translations/pt.json +55 -23
  701. package/translations/sk.json +55 -23
  702. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
  703. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
  704. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
  705. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
  706. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
  707. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
  708. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
  709. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  710. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
  711. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +0 -60
  712. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -46
  713. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -118
  714. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -161
  715. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -31
  716. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
  717. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
  718. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
  719. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
  720. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
  721. 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
  722. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
  723. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
  724. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
  725. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
  726. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
  727. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
  728. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
  729. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
  730. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
  731. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
  732. package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
  733. package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
  734. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  735. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  736. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
  737. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
  738. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +0 -1
  739. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -12
  740. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
  741. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -29
  742. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
  743. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -34
  744. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
  745. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
  746. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
  747. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
  748. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
  749. package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
  750. package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
  751. package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
  752. package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
  753. package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
  754. package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
  755. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
  756. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
  757. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
  758. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
  759. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
  760. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
  761. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
  762. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
  763. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
  764. package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
  765. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
  766. package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
  767. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  768. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  769. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
  770. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -30
  771. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -48
  772. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -67
  773. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
  774. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -18
  775. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
  776. package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
  777. package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
  778. package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
  779. /package/src/libs/{ui/elements/src/lib/internal-link-card/internal-link-card.component.css → feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css} +0 -0
  780. /package/src/libs/{ui/elements/src/lib/link-card/link-card.component.css → feature/search/src/lib/results-hits/results-hits.container.component.css} +0 -0
  781. /package/src/libs/ui/elements/src/lib/{related-record-card/related-record-card.component.css → external-link-card/external-link-card.component.css} +0 -0
@@ -1,22 +1,26 @@
1
1
  import {
2
2
  ChangeDetectionStrategy,
3
3
  Component,
4
+ EventEmitter,
4
5
  Input,
5
6
  Output,
6
7
  } from '@angular/core'
7
8
  import { getLinkLabel, getLinkPriority } from '../../../../../../libs/util/shared/src'
8
- import { BehaviorSubject, combineLatest, of } from 'rxjs'
9
- import { catchError, finalize, map, switchMap, tap } from 'rxjs/operators'
9
+ import { BehaviorSubject, combineLatest } from 'rxjs'
10
+ import { map, tap } from 'rxjs/operators'
10
11
  import { MdViewFacade } from '../state'
11
12
  import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model'
12
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
13
+ import {
14
+ DatasetOnlineResource,
15
+ DatasetServiceDistribution,
16
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
13
17
  import { DropdownSelectorComponent } from '../../../../../../libs/ui/inputs/src'
14
18
  import {
15
19
  ChartViewComponent,
16
20
  TableViewComponent,
17
21
  } from '../../../../../../libs/feature/dataviz/src'
18
22
  import { CommonModule } from '@angular/common'
19
- import { TranslateModule } from '@ngx-translate/core'
23
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
20
24
  import { PopupAlertComponent } from '../../../../../../libs/ui/widgets/src'
21
25
 
22
26
  @Component({
@@ -29,7 +33,8 @@ import { PopupAlertComponent } from '../../../../../../libs/ui/widgets/src'
29
33
  CommonModule,
30
34
  DropdownSelectorComponent,
31
35
  TableViewComponent,
32
- TranslateModule,
36
+ TranslateDirective,
37
+ TranslatePipe,
33
38
  ChartViewComponent,
34
39
  PopupAlertComponent,
35
40
  ],
@@ -40,11 +45,16 @@ export class DataViewComponent {
40
45
  @Input() set exceedsLimit(value: boolean) {
41
46
  this.excludeWfs$.next(value)
42
47
  }
48
+ @Input() set selectedView(value: string) {
49
+ if (value !== 'map') {
50
+ this.linkSelected.emit(this.selectedLink$.value)
51
+ }
52
+ }
43
53
  @Output() chartConfig$ = new BehaviorSubject<DatavizConfigurationModel>(null)
54
+ @Output() linkSelected = new EventEmitter<DatasetOnlineResource>()
44
55
  cacheActive$ = this.mdViewFacade.isHighUpdateFrequency$.pipe(
45
56
  map((highF) => !highF)
46
57
  )
47
- hidePreview = false
48
58
  excludeWfs$ = new BehaviorSubject(false)
49
59
  compatibleDataLinks$ = combineLatest([
50
60
  this.mdViewFacade.dataLinks$,
@@ -71,6 +81,10 @@ export class DataViewComponent {
71
81
  )
72
82
  selectedLink$ = new BehaviorSubject<DatasetOnlineResource>(null)
73
83
 
84
+ hidePreview$ = this.excludeWfs$.pipe(
85
+ map((excludeWfs) => this.mode === 'chart' && excludeWfs)
86
+ )
87
+
74
88
  constructor(private mdViewFacade: MdViewFacade) {}
75
89
 
76
90
  setChartConfig(event: DatavizConfigurationModel) {
@@ -79,19 +93,8 @@ export class DataViewComponent {
79
93
 
80
94
  selectLink(linkAsString: string) {
81
95
  const link: DatasetOnlineResource = JSON.parse(linkAsString)
96
+ this.linkSelected.emit(link)
82
97
  link.url = new URL(link.url)
83
- this.excludeWfs$
84
- .pipe(
85
- tap((excludeWfs) => {
86
- this.hidePreview =
87
- link['accessServiceProtocol'] === 'wfs' &&
88
- excludeWfs &&
89
- this.mode === 'chart'
90
- ? true
91
- : false
92
- this.selectedLink$.next(link)
93
- })
94
- )
95
- .subscribe()
98
+ this.selectedLink$.next(link)
96
99
  }
97
100
  }
@@ -11,7 +11,7 @@ import { BehaviorSubject, combineLatest, map } from 'rxjs'
11
11
  import { MdViewFacade } from '../state'
12
12
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
13
13
  import { CommonModule } from '@angular/common'
14
- import { TranslateModule } from '@ngx-translate/core'
14
+ import { TranslatePipe } from '@ngx-translate/core'
15
15
  import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
16
16
 
17
17
  export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
@@ -24,7 +24,7 @@ export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
24
24
  styleUrls: ['./data-view-permalink.component.css'],
25
25
  changeDetection: ChangeDetectionStrategy.OnPush,
26
26
  standalone: true,
27
- imports: [CommonModule, CopyTextButtonComponent, TranslateModule],
27
+ imports: [CommonModule, CopyTextButtonComponent, TranslatePipe],
28
28
  })
29
29
  export class DataViewPermalinkComponent {
30
30
  viewType$ = new BehaviorSubject<string>('map')
@@ -1,4 +1,4 @@
1
- <div class="px-5 my-1">
1
+ <div>
2
2
  <mat-tab-group
3
3
  [selectedIndex]="0"
4
4
  animationDuration="0ms"
@@ -12,7 +12,7 @@ import {
12
12
  import { MatTabsModule } from '@angular/material/tabs'
13
13
  import { CommonModule } from '@angular/common'
14
14
  import { DataViewWebComponentComponent } from '../data-view-web-component/data-view-web-component.component'
15
- import { TranslateModule } from '@ngx-translate/core'
15
+ import { TranslateDirective } from '@ngx-translate/core'
16
16
 
17
17
  @Component({
18
18
  selector: 'gn-ui-data-view-share',
@@ -24,7 +24,7 @@ import { TranslateModule } from '@ngx-translate/core'
24
24
  MatTabsModule,
25
25
  DataViewPermalinkComponent,
26
26
  DataViewWebComponentComponent,
27
- TranslateModule,
27
+ TranslateDirective,
28
28
  ],
29
29
  standalone: true,
30
30
  })
@@ -9,7 +9,7 @@ import { MdViewFacade } from '../state'
9
9
  import { BehaviorSubject, combineLatest, map } from 'rxjs'
10
10
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
11
11
  import { CommonModule } from '@angular/common'
12
- import { TranslateModule } from '@ngx-translate/core'
12
+ import { TranslatePipe } from '@ngx-translate/core'
13
13
  import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
14
14
 
15
15
  @Component({
@@ -18,7 +18,7 @@ import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
18
18
  styleUrls: ['./data-view-web-component.component.css'],
19
19
  changeDetection: ChangeDetectionStrategy.OnPush,
20
20
  standalone: true,
21
- imports: [CommonModule, CopyTextButtonComponent, TranslateModule],
21
+ imports: [CommonModule, CopyTextButtonComponent, TranslatePipe],
22
22
  })
23
23
  export class DataViewWebComponentComponent {
24
24
  viewType$ = new BehaviorSubject<string>('map')
@@ -1,9 +1,9 @@
1
1
  <gn-ui-button
2
2
  *ngIf="externalViewer"
3
3
  (buttonClick)="openInExternalViewer()"
4
- type="secondary"
4
+ type="primary"
5
5
  [title]="'record.externalViewer.open' | translate"
6
- extraClass="ms-2 !rounded-lg"
6
+ [extraClass]="extraClass + 'bg-primary ms-2 !rounded-lg'"
7
7
  >
8
8
  <ng-icon name="matOpenInNew"></ng-icon>
9
9
  </gn-ui-button>
@@ -8,7 +8,7 @@ import {
8
8
  } from '@angular/core'
9
9
  import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
10
10
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
11
- import { TranslateModule, TranslateService } from '@ngx-translate/core'
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
14
  import { NgIcon, provideIcons } from '@ng-icons/core'
@@ -31,11 +31,12 @@ export const EXTERNAL_VIEWER_OPEN_NEW_TAB = new InjectionToken<boolean>(
31
31
  styleUrls: ['./external-viewer-button.component.css'],
32
32
  changeDetection: ChangeDetectionStrategy.OnPush,
33
33
  standalone: true,
34
- imports: [CommonModule, ButtonComponent, NgIcon, TranslateModule],
34
+ imports: [CommonModule, ButtonComponent, NgIcon, TranslatePipe],
35
35
  viewProviders: [provideIcons({ matOpenInNew })],
36
36
  })
37
37
  export class ExternalViewerButtonComponent {
38
38
  @Input() link: DatasetOnlineResource
39
+ @Input() extraClass = ''
39
40
 
40
41
  get externalViewer() {
41
42
  return !!this.urlTemplate && !!this.supportedLinkLayerType
@@ -2,13 +2,8 @@ import { NgModule } from '@angular/core'
2
2
  import { CommonModule } from '@angular/common'
3
3
  import { StoreModule } from '@ngrx/store'
4
4
  import { EffectsModule } from '@ngrx/effects'
5
- import { UiLayoutModule } from '../../../../../libs/ui/layout/src'
6
5
  import { FeatureMapModule } from '../../../../../libs/feature/map/src'
7
- import {
8
- DropdownSelectorComponent,
9
- UiInputsModule,
10
- } from '../../../../../libs/ui/inputs/src'
11
- import { UiElementsModule } from '../../../../../libs/ui/elements/src'
6
+ import { DropdownSelectorComponent } from '../../../../../libs/ui/inputs/src'
12
7
  import { MdViewFacade } from './state'
13
8
  import { MdViewEffects } from './state/mdview.effects'
14
9
  import {
@@ -16,8 +11,7 @@ import {
16
11
  reducer,
17
12
  } from './state/mdview.reducer'
18
13
  import { MatTabsModule } from '@angular/material/tabs'
19
- import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
20
- import { TranslateModule } from '@ngx-translate/core'
14
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
21
15
  import { FeatureCatalogModule } from '../../../../../libs/feature/catalog/src'
22
16
  import { DataTableComponent } from '../../../../../libs/ui/dataviz/src'
23
17
  import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
@@ -27,14 +21,11 @@ import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
27
21
  CommonModule,
28
22
  StoreModule.forFeature(METADATA_VIEW_FEATURE_STATE_KEY, reducer),
29
23
  EffectsModule.forFeature([MdViewEffects]),
30
- UiLayoutModule,
31
24
  FeatureMapModule,
32
25
  FeatureCatalogModule,
33
- UiInputsModule,
34
- UiElementsModule,
35
26
  MatTabsModule,
36
- UiWidgetsModule,
37
- TranslateModule,
27
+ TranslateDirective,
28
+ TranslatePipe,
38
29
  DataTableComponent,
39
30
  NgIconsModule,
40
31
  DropdownSelectorComponent,
@@ -5,12 +5,12 @@ import {
5
5
  OnInit,
6
6
  } from '@angular/core'
7
7
  import { DatasetServiceDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
8
- import { BehaviorSubject, Observable, combineLatest, map, mergeMap } from 'rxjs'
8
+ import { BehaviorSubject, combineLatest, map, mergeMap, Observable } from 'rxjs'
9
9
  import { HttpClient } from '@angular/common/http'
10
10
  import { Choice, DropdownSelectorComponent } from '../../../../../../libs/ui/inputs/src'
11
11
  import axios from 'axios'
12
12
  import { CommonModule } from '@angular/common'
13
- import { TranslateModule } from '@ngx-translate/core'
13
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
14
14
  import { GpfApiDlListItemComponent } from '../gpf-api-dl-list-item/gpf-api-dl-list-item.component'
15
15
 
16
16
  export interface Label {
@@ -57,7 +57,8 @@ export interface Field {
57
57
  standalone: true,
58
58
  imports: [
59
59
  CommonModule,
60
- TranslateModule,
60
+ TranslateDirective,
61
+ TranslatePipe,
61
62
  DropdownSelectorComponent,
62
63
  GpfApiDlListItemComponent,
63
64
  ],
@@ -1,16 +1,22 @@
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 } from '@ng-icons/core'
5
- import { TranslateModule } from '@ngx-translate/core'
6
- import { Observable, map, mergeMap } from 'rxjs'
4
+ import { NgIconsModule, provideIcons } from '@ng-icons/core'
5
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
6
+ import { map, mergeMap, Observable } from 'rxjs'
7
+ import { matCloudDownloadOutline } from '@ng-icons/material-icons/outline'
7
8
 
8
9
  @Component({
9
10
  selector: 'gn-ui-gpf-api-dl-list-item',
10
11
  templateUrl: './gpf-api-dl-list-item.component.html',
11
12
  styleUrls: ['./gpf-api-dl-list-item.component.css'],
12
13
  standalone: true,
13
- imports: [CommonModule, TranslateModule, NgIconsModule],
14
+ imports: [CommonModule, TranslateDirective, TranslatePipe, NgIconsModule],
15
+ providers: [
16
+ provideIcons({
17
+ matCloudDownloadOutline,
18
+ }),
19
+ ],
14
20
  })
15
21
  export class GpfApiDlListItemComponent implements OnInit {
16
22
  @Input() link
@@ -1,18 +1,42 @@
1
- <div class="w-full h-full flex flex-col p-1">
2
- <div class="w-full flex justify-end">
1
+ <div class="w-full h-full flex flex-col gap-[13px]">
2
+ <div
3
+ class="flex flex-col md:flex-row gap-4 py-4 px-5 bg-white border border-color-border rounded-lg mt-6"
4
+ >
3
5
  <gn-ui-dropdown-selector
4
- [ngClass]="{ hidden: !displaySource }"
5
- class="truncate p-1 -mx-1 mb-1"
6
- extraBtnClass="!text-primary font-sans font-medium"
6
+ *ngIf="displaySource"
7
+ class="w-full md:flex-1 md:min-w-0"
8
+ extraBtnClass="font-sans font-bold"
7
9
  [title]="'map.select.layer' | translate"
8
10
  [choices]="dropdownChoices$ | async"
9
11
  (selectValue)="selectLinkToDisplay($event)"
10
12
  ></gn-ui-dropdown-selector>
11
- <gn-ui-external-viewer-button
12
- class="shrink-0 py-1 place-self-end"
13
- [link]="selectedLink$ | async"
14
- >
15
- </gn-ui-external-viewer-button>
13
+
14
+ <ng-container *ngIf="(styleLinks$ | async)?.length > 0; else styleDisabled">
15
+ <gn-ui-dropdown-selector
16
+ class="w-full md:flex-1 md:min-w-0"
17
+ extraBtnClass="font-sans font-bold"
18
+ [title]="'map.select.style' | translate"
19
+ [choices]="styleDropdownChoices$ | async"
20
+ (selectValue)="selectStyleToDisplay($event)"
21
+ ></gn-ui-dropdown-selector>
22
+ </ng-container>
23
+ <ng-template #styleDisabled>
24
+ <gn-ui-dropdown-selector
25
+ class="w-full md:flex-1 md:min-w-0 text-gray-400"
26
+ extraBtnClass="font-sans font-bold text-gray-400"
27
+ [title]="'map.select.style' | translate"
28
+ [choices]="styleDropdownChoices$ | async"
29
+ [disabled]="true"
30
+ ></gn-ui-dropdown-selector>
31
+ </ng-template>
32
+
33
+ <div class="self-end md:ml-2">
34
+ <gn-ui-external-viewer-button
35
+ extraClass="w-[44px] h-[44px]"
36
+ [link]="selectedLink$ | async"
37
+ >
38
+ </gn-ui-external-viewer-button>
39
+ </div>
16
40
  </div>
17
41
  <ng-container *ngIf="hidePreview; else mapView">
18
42
  <gn-ui-popup-alert
@@ -49,7 +73,10 @@
49
73
  >
50
74
  <ng-icon name="matClose" class="align-middle text-sm"></ng-icon>
51
75
  </gn-ui-button>
52
- <gn-ui-feature-detail [feature]="selection"></gn-ui-feature-detail>
76
+ <gn-ui-feature-detail
77
+ [featureCatalog]="mdViewFacade.featureCatalog$ | async"
78
+ [feature]="selection"
79
+ ></gn-ui-feature-detail>
53
80
  </div>
54
81
 
55
82
  <div
@@ -3,7 +3,9 @@ import {
3
3
  ChangeDetectionStrategy,
4
4
  ChangeDetectorRef,
5
5
  Component,
6
+ EventEmitter,
6
7
  Input,
8
+ Output,
7
9
  ViewChild,
8
10
  } from '@angular/core'
9
11
  import { MapUtilsService } from '../../../../../../libs/feature/map/src'
@@ -25,11 +27,15 @@ import {
25
27
  map,
26
28
  shareReplay,
27
29
  switchMap,
30
+ take,
28
31
  tap,
29
32
  } from 'rxjs/operators'
30
33
  import { MdViewFacade } from '../state/mdview.facade'
31
34
  import { DataService } from '../../../../../../libs/feature/dataviz/src'
32
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
35
+ import {
36
+ DatasetOnlineResource,
37
+ DatasetServiceDistribution,
38
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
33
39
  import {
34
40
  createViewFromLayer,
35
41
  MapContext,
@@ -39,8 +45,8 @@ import {
39
45
  import {
40
46
  FeatureDetailComponent,
41
47
  MapContainerComponent,
42
- prioritizePageScroll,
43
48
  MapLegendComponent,
49
+ prioritizePageScroll,
44
50
  } from '../../../../../../libs/ui/map/src'
45
51
  import { Feature } from 'geojson'
46
52
  import { NgIconComponent, provideIcons } from '@ng-icons/core'
@@ -50,7 +56,11 @@ import {
50
56
  ButtonComponent,
51
57
  DropdownSelectorComponent,
52
58
  } from '../../../../../../libs/ui/inputs/src'
53
- import { TranslateModule, TranslateService } from '@ngx-translate/core'
59
+ import {
60
+ TranslateDirective,
61
+ TranslatePipe,
62
+ TranslateService,
63
+ } from '@ngx-translate/core'
54
64
  import { ExternalViewerButtonComponent } from '../external-viewer-button/external-viewer-button.component'
55
65
  import {
56
66
  LoadingMaskComponent,
@@ -62,6 +72,7 @@ import { FetchError } from '../../../../../../libs/util/data-fetcher/src'
62
72
  marker('map.dropdown.placeholder')
63
73
  marker('wfs.feature.limit')
64
74
  marker('dataset.error.restrictedAccess')
75
+ marker('map.select.style')
65
76
 
66
77
  @Component({
67
78
  selector: 'gn-ui-map-view',
@@ -75,7 +86,8 @@ marker('dataset.error.restrictedAccess')
75
86
  MapContainerComponent,
76
87
  FeatureDetailComponent,
77
88
  PopupAlertComponent,
78
- TranslateModule,
89
+ TranslateDirective,
90
+ TranslatePipe,
79
91
  LoadingMaskComponent,
80
92
  NgIconComponent,
81
93
  ExternalViewerButtonComponent,
@@ -88,7 +100,15 @@ export class MapViewComponent implements AfterViewInit {
88
100
  @Input() set exceedsLimit(value: boolean) {
89
101
  this.excludeWfs$.next(value)
90
102
  }
103
+ @Input() set selectedView(value: string) {
104
+ if (value === 'map') {
105
+ this.selectedLink$.pipe(take(1)).subscribe((link) => {
106
+ this.linkSelected.emit(link)
107
+ })
108
+ }
109
+ }
91
110
  @Input() displaySource = true
111
+ @Output() linkSelected = new EventEmitter<DatasetOnlineResource>()
92
112
  @ViewChild('mapContainer') mapContainer: MapContainerComponent
93
113
 
94
114
  excludeWfs$ = new BehaviorSubject(false)
@@ -96,22 +116,33 @@ export class MapViewComponent implements AfterViewInit {
96
116
  selection: Feature
97
117
  showLegend = true
98
118
  legendExists = false
119
+ loading = false
120
+ error = null
121
+
122
+ selectLinkToDisplay(i: number) {
123
+ this.selectedLinkIndex$.next(i)
124
+ }
125
+
126
+ selectStyleToDisplay(i: number) {
127
+ this.selectedStyleIndex$.next(i)
128
+ }
99
129
 
100
130
  toggleLegend() {
101
131
  this.showLegend = !this.showLegend
102
132
  }
103
-
104
- onLegendStatusChange(status: boolean) {
105
- this.legendExists = status
133
+ onLegendStatusChange(v: boolean) {
134
+ this.legendExists = v
106
135
  }
107
136
 
108
137
  compatibleMapLinks$ = combineLatest([
109
138
  this.mdViewFacade.mapApiLinks$,
110
139
  this.mdViewFacade.geoDataLinksWithGeometry$,
111
140
  ]).pipe(
112
- map(([mapApiLinks, geoDataLinksWithGeometry]) => {
113
- return [...mapApiLinks, ...geoDataLinksWithGeometry]
114
- })
141
+ map(([mapApiLinks, geoDataLinksWithGeometry]) => [
142
+ ...mapApiLinks,
143
+ ...geoDataLinksWithGeometry,
144
+ ]),
145
+ shareReplay(1)
115
146
  )
116
147
 
117
148
  dropdownChoices$ = this.compatibleMapLinks$.pipe(
@@ -124,15 +155,84 @@ export class MapViewComponent implements AfterViewInit {
124
155
  : [{ label: 'map.dropdown.placeholder', value: 0 }]
125
156
  )
126
157
  )
127
- selectedLinkIndex$ = new BehaviorSubject(0)
128
158
 
129
- loading = false
130
- error = null
159
+ selectedLinkIndex$ = new BehaviorSubject(0)
160
+ private selectedStyleIndex$ = new BehaviorSubject(0)
131
161
 
132
- selectedLink$ = combineLatest([
162
+ selectedSourceLink$ = combineLatest([
133
163
  this.compatibleMapLinks$,
134
164
  this.selectedLinkIndex$.pipe(distinctUntilChanged()),
135
- ]).pipe(map(([links, index]) => links[index]))
165
+ ]).pipe(
166
+ tap(() => {
167
+ this.error = null
168
+ }),
169
+ map(([links, index]) => {
170
+ this.linkSelected.emit(links[index])
171
+ return links[index]
172
+ })
173
+ )
174
+
175
+ styleLinks$ = this.selectedSourceLink$.pipe(
176
+ switchMap((src) => {
177
+ if (
178
+ src &&
179
+ src.type === 'service' &&
180
+ src.accessServiceProtocol === 'tms'
181
+ ) {
182
+ return from(
183
+ // WARNING: when using "getGeodataLinksFromTms", make sure to add error handling to prevent the rest of the logic from failing
184
+ // this may happen when TMS endpoint is in error
185
+ this.dataService.getGeodataLinksFromTms(
186
+ src as DatasetServiceDistribution,
187
+ false
188
+ )
189
+ ).pipe(
190
+ // We need to check for maplibre-style links because when a TMS service has no styles,
191
+ // getGeodataLinksFromTms returns the original TMS link, which isn't a maplibre-style link
192
+ map(
193
+ (links) =>
194
+ links?.filter(
195
+ (link) =>
196
+ link.type === 'service' &&
197
+ link.accessServiceProtocol === 'maplibre-style'
198
+ ) || []
199
+ ),
200
+ catchError((error) => {
201
+ this.handleError(error)
202
+ return of(src)
203
+ })
204
+ )
205
+ }
206
+ return of([])
207
+ }),
208
+ tap(() => this.selectedStyleIndex$.next(0)),
209
+ shareReplay(1)
210
+ )
211
+
212
+ styleDropdownChoices$ = this.styleLinks$.pipe(
213
+ map((links) =>
214
+ links.length
215
+ ? links.map((link, index) => ({
216
+ label: getLinkLabel(link),
217
+ value: index,
218
+ }))
219
+ : [
220
+ {
221
+ label: '\u00A0\u00A0\u00A0\u00A0',
222
+ value: 0,
223
+ },
224
+ ]
225
+ )
226
+ )
227
+
228
+ selectedLink$ = combineLatest([
229
+ this.selectedSourceLink$,
230
+ this.styleLinks$,
231
+ this.selectedStyleIndex$.pipe(distinctUntilChanged()),
232
+ ]).pipe(
233
+ map(([src, styles, styleIdx]) => (styles.length ? styles[styleIdx] : src)),
234
+ shareReplay(1)
235
+ )
136
236
 
137
237
  currentLayers$ = combineLatest([this.selectedLink$, this.excludeWfs$]).pipe(
138
238
  switchMap(([link, excludeWfs]) => {
@@ -145,7 +245,6 @@ export class MapViewComponent implements AfterViewInit {
145
245
  }
146
246
  this.hidePreview = false
147
247
  this.loading = true
148
- this.error = null
149
248
  if (link.accessRestricted) {
150
249
  this.handleError('dataset.error.restrictedAccess')
151
250
  return of([])
@@ -239,6 +338,26 @@ export class MapViewComponent implements AfterViewInit {
239
338
  type: 'wms',
240
339
  name: link.name,
241
340
  })
341
+ } else if (
342
+ link.type === 'service' &&
343
+ link.accessServiceProtocol === 'tms'
344
+ ) {
345
+ // FIXME: here we're assuming that the TMS serves vector tiles only; should be checked with ogc-client first
346
+ return of({
347
+ url: link.url.toString().replace(/\/?$/, '/{z}/{x}/{y}.pbf'),
348
+ type: 'xyz',
349
+ tileFormat: 'application/vnd.mapbox-vector-tile',
350
+ name: link.name,
351
+ })
352
+ } else if (
353
+ link.type === 'service' &&
354
+ link.accessServiceProtocol === 'maplibre-style'
355
+ ) {
356
+ return of({
357
+ type: 'maplibre-style',
358
+ name: link.name,
359
+ styleUrl: link.url.toString(),
360
+ })
242
361
  } else if (
243
362
  link.type === 'service' &&
244
363
  link.accessServiceProtocol === 'wmts'
@@ -265,11 +384,6 @@ export class MapViewComponent implements AfterViewInit {
265
384
  }
266
385
  return throwError(() => 'protocol not supported')
267
386
  }
268
-
269
- selectLinkToDisplay(link: number) {
270
- this.selectedLinkIndex$.next(link)
271
- }
272
-
273
387
  handleError(error: FetchError | Error | string) {
274
388
  if (error instanceof FetchError) {
275
389
  this.error = this.translateService.instant(
@@ -54,6 +54,16 @@ export const setRelated = createAction(
54
54
  props<{ related: CatalogRecord[] }>()
55
55
  )
56
56
 
57
+ export const setSources = createAction(
58
+ '[Metadata view] Set sources',
59
+ props<{ sources: CatalogRecord[] }>()
60
+ )
61
+
62
+ export const setSourceOf = createAction(
63
+ '[Metadata view] Set has sources',
64
+ props<{ sourceOf: CatalogRecord[] }>()
65
+ )
66
+
57
67
  /*
58
68
  ChartConfig actions
59
69
  */
@@ -68,6 +68,28 @@ export class MdViewEffects {
68
68
  )
69
69
  )
70
70
 
71
+ loadSources$ = createEffect(() =>
72
+ this.actions$.pipe(
73
+ ofType(MdViewActions.loadFullMetadataSuccess),
74
+ switchMap(({ full }) => this.recordsRepository.getSources(full)),
75
+ map((sources) => {
76
+ return MdViewActions.setSources({ sources })
77
+ }),
78
+ catchError(() => of(MdViewActions.setSources({ sources: null })))
79
+ )
80
+ )
81
+
82
+ loadSourceOf$ = createEffect(() =>
83
+ this.actions$.pipe(
84
+ ofType(MdViewActions.loadFullMetadataSuccess),
85
+ switchMap(({ full }) => this.recordsRepository.getSourceOf(full)),
86
+ map((sourceOf) => {
87
+ return MdViewActions.setSourceOf({ sourceOf })
88
+ }),
89
+ catchError(() => of(MdViewActions.setSourceOf({ sourceOf: null })))
90
+ )
91
+ )
92
+
71
93
  /*
72
94
  UserFeedback effects
73
95
  */