geonetwork-ui 2.6.0-dev.b306f1194 → 2.6.0-dev.ceb4be4c1

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 (462) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +1 -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/gn4/gn4.field.mapper.mjs +44 -6
  6. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +4 -4
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +4 -4
  9. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +2 -1
  10. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -12
  11. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +29 -5
  12. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
  13. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  14. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  15. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +49 -9
  16. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  17. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +32 -2
  18. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +29 -6
  19. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  20. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +18 -0
  21. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +2 -3
  22. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +1 -1
  23. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
  24. package/esm2022/libs/feature/record/src/index.mjs +2 -4
  25. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
  26. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +5 -9
  27. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
  28. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +7 -11
  29. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
  30. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +38 -7
  31. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
  32. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  33. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +14 -5
  34. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -15
  35. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  36. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  37. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
  38. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  39. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
  40. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
  41. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  42. package/esm2022/libs/feature/search/src/lib/constants.mjs +2 -1
  43. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +8 -7
  44. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +13 -19
  45. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
  46. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  47. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +30 -10
  48. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
  49. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  50. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
  51. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  52. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +11 -6
  53. package/esm2022/libs/ui/elements/src/index.mjs +5 -1
  54. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  55. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
  56. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
  57. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +55 -0
  58. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  59. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +27 -53
  60. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +68 -0
  61. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
  62. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  63. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  64. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +8 -5
  65. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -3
  66. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +51 -0
  67. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +17 -7
  68. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +169 -0
  69. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +22 -4
  70. package/esm2022/libs/ui/inputs/src/index.mjs +3 -2
  71. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
  72. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  73. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  74. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
  75. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
  76. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  77. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +68 -0
  78. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +4 -3
  79. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -9
  80. package/esm2022/libs/ui/layout/src/index.mjs +2 -1
  81. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +43 -3
  82. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  83. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  84. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  85. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +15 -3
  86. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  87. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  88. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +107 -0
  89. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
  90. package/esm2022/libs/ui/map/src/index.mjs +2 -1
  91. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  92. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +80 -0
  93. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  94. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -8
  95. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  96. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  97. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  98. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  99. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +29 -15
  100. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +11 -3
  101. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  102. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +2 -1
  103. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  104. package/esm2022/libs/util/shared/src/index.mjs +2 -1
  105. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
  106. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +5 -1
  107. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +16 -6
  108. package/esm2022/translations/de.json +41 -6
  109. package/esm2022/translations/en.json +43 -8
  110. package/esm2022/translations/es.json +41 -6
  111. package/esm2022/translations/fr.json +42 -7
  112. package/esm2022/translations/it.json +44 -9
  113. package/esm2022/translations/nl.json +41 -6
  114. package/esm2022/translations/pt.json +41 -6
  115. package/fesm2022/geonetwork-ui.mjs +2418 -1039
  116. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  117. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  118. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  119. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
  120. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  121. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  122. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  123. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  124. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  125. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  126. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  127. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  128. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +1 -1
  129. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  130. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +3 -0
  131. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  132. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  133. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +9 -3
  134. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  135. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +2 -0
  136. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  137. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  138. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  139. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  140. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  141. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +6 -3
  142. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  143. package/libs/feature/editor/src/index.d.ts +1 -0
  144. package/libs/feature/editor/src/index.d.ts.map +1 -1
  145. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +7 -0
  146. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  147. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  148. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +6 -6
  149. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  150. 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
  151. package/libs/feature/record/src/index.d.ts +1 -3
  152. package/libs/feature/record/src/index.d.ts.map +1 -1
  153. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +9 -1
  154. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  155. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
  156. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  157. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
  158. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  159. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  160. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  161. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  162. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
  163. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
  164. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  165. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -1
  166. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  167. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
  168. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  169. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
  170. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  171. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  172. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  173. package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
  174. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  175. package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
  176. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  177. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  178. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
  179. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  180. package/libs/feature/search/src/index.d.ts +1 -1
  181. package/libs/feature/search/src/index.d.ts.map +1 -1
  182. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  183. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  184. package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
  185. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  186. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -1
  187. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
  188. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  189. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  190. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
  191. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  192. package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
  193. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  194. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  195. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  196. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  197. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  198. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  199. package/libs/ui/elements/src/index.d.ts +4 -0
  200. package/libs/ui/elements/src/index.d.ts.map +1 -1
  201. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  202. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  203. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  204. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  205. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  206. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  207. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +3 -7
  208. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
  209. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +13 -0
  210. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  211. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
  212. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  213. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
  214. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  215. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +16 -0
  216. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  217. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +8 -1
  218. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  219. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +31 -0
  220. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
  221. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +4 -1
  222. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  223. package/libs/ui/inputs/src/index.d.ts +2 -1
  224. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  225. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  226. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  227. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  228. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  229. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  230. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  231. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  232. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  233. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  234. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
  235. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  236. package/libs/ui/layout/src/index.d.ts +1 -0
  237. package/libs/ui/layout/src/index.d.ts.map +1 -1
  238. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +10 -3
  239. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  240. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  241. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  242. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  243. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  244. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +2 -0
  245. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  246. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +27 -0
  247. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  248. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  249. package/libs/ui/map/src/index.d.ts +1 -0
  250. package/libs/ui/map/src/index.d.ts.map +1 -1
  251. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  252. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  253. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
  254. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
  255. package/libs/ui/search/src/index.d.ts +1 -0
  256. package/libs/ui/search/src/index.d.ts.map +1 -1
  257. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  258. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  259. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  260. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +5 -1
  261. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  262. package/libs/ui/search/src/lib/ui-search.module.d.ts +21 -19
  263. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  264. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  265. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  266. package/libs/util/shared/src/index.d.ts +1 -0
  267. package/libs/util/shared/src/index.d.ts.map +1 -1
  268. package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
  269. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
  270. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  271. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  272. package/libs/util/shared/src/lib/links/link-utils.d.ts +14 -7
  273. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  274. package/package.json +2 -2
  275. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  276. package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
  277. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  278. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  279. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
  280. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +2 -2
  281. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
  282. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
  283. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +63 -6
  284. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  285. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +4 -3
  286. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -3
  287. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +1 -0
  288. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +3 -11
  289. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +50 -5
  290. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
  291. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +14 -4
  292. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +2 -0
  293. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +36 -26
  294. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +16 -2
  295. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
  296. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +1 -1
  297. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  298. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +58 -10
  299. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +37 -0
  300. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  301. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +31 -1
  302. package/src/libs/feature/editor/src/index.ts +1 -0
  303. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +14 -0
  304. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +15 -0
  305. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +1 -2
  306. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -2
  307. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +2 -2
  308. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  309. package/src/libs/feature/record/src/index.ts +1 -3
  310. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +16 -10
  311. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -3
  312. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  313. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +4 -5
  314. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  315. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
  316. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +25 -16
  317. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +40 -4
  318. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
  319. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
  320. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +27 -3
  321. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +21 -17
  322. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
  323. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  324. package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
  325. package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
  326. package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
  327. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
  328. package/src/libs/feature/search/src/index.ts +1 -1
  329. package/src/libs/feature/search/src/lib/constants.ts +1 -0
  330. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +0 -6
  331. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +16 -8
  332. package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -10
  333. package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
  334. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
  335. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  336. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  337. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.css +6 -0
  338. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
  339. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +26 -5
  340. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  341. package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
  342. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  343. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  344. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  345. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +5 -4
  346. package/src/libs/ui/elements/src/index.ts +4 -0
  347. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  348. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  349. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  350. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
  351. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
  352. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  353. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  354. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  355. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  356. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +133 -138
  357. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +19 -47
  358. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  359. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -0
  360. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +70 -0
  361. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
  362. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
  363. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  364. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  365. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
  366. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +24 -7
  367. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -4
  368. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
  369. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +48 -0
  370. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +52 -0
  371. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +8 -29
  372. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +14 -1
  373. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
  374. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +110 -0
  375. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +191 -0
  376. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +9 -1
  377. package/src/libs/ui/inputs/src/index.ts +2 -1
  378. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  379. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  380. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  381. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  382. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  383. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
  384. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  385. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  386. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  387. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +77 -0
  388. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +7 -8
  389. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +2 -1
  390. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
  391. package/src/libs/ui/layout/src/index.ts +1 -0
  392. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +46 -2
  393. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  394. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  395. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  396. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  397. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  398. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  399. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  400. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +4 -7
  401. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +13 -0
  402. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  403. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  404. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  405. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +44 -0
  406. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +130 -0
  407. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +1 -5
  408. package/src/libs/ui/map/src/index.ts +1 -0
  409. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  410. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  411. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
  412. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
  413. package/src/libs/{feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts → ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts} +8 -8
  414. package/src/libs/ui/search/src/index.ts +1 -0
  415. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  416. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  417. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
  418. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  419. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  420. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  421. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  422. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  423. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +28 -15
  424. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +22 -11
  425. package/src/libs/ui/search/src/lib/ui-search.module.ts +5 -0
  426. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
  427. package/src/libs/util/app-config/src/lib/app-config.ts +1 -0
  428. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  429. package/src/libs/util/shared/src/index.ts +1 -0
  430. package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
  431. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +15 -3
  432. package/src/libs/util/shared/src/lib/links/link-utils.ts +33 -12
  433. package/tailwind.base.config.js +3 -0
  434. package/tailwind.base.css +19 -26
  435. package/translations/de.json +41 -6
  436. package/translations/en.json +43 -8
  437. package/translations/es.json +41 -6
  438. package/translations/fr.json +42 -7
  439. package/translations/it.json +44 -9
  440. package/translations/nl.json +41 -6
  441. package/translations/pt.json +41 -6
  442. package/translations/sk.json +41 -6
  443. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
  444. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
  445. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  446. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +0 -16
  447. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
  448. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +0 -1
  449. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
  450. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
  451. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  452. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  453. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +0 -8
  454. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +0 -1
  455. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
  456. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
  457. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  458. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  459. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +0 -3
  460. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +0 -9
  461. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +0 -15
  462. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-map-container/form-field-map-container.component.css → multilingual-panel/multilingual-panel.component.css} +0 -0
@@ -1,26 +1,26 @@
1
1
  export const wmsRecordLinkFixture = () => ({
2
2
  description: 'Lieu de surveillance (point)',
3
3
  name: 'surval_parametre_point',
4
- protocol: 'OGC:WMS',
4
+ accessServiceProtocol: 'OGC:WMS',
5
5
  url: 'https://www.ifremer.fr/services/wms/surveillance_littorale',
6
6
  })
7
7
 
8
8
  export const wpsRecordLinkFixture = () => ({
9
9
  description: "Extraction des données d'observation",
10
10
  name: 'r:survalextraction',
11
- protocol: 'OGC:WPS',
11
+ accessServiceProtocol: 'OGC:WPS',
12
12
  url: 'https://www.ifremer.fr/services/wps/surval',
13
13
  })
14
14
 
15
15
  export const wwwRecordLinkFixture = () => ({
16
16
  description: '',
17
17
  name: 'La base de données Quadrige',
18
- protocol: 'WWW:LINK',
18
+ praccessServiceProtocolotocol: 'WWW:LINK',
19
19
  url: 'http://envlit.ifremer.fr/resultats/quadrige',
20
20
  })
21
21
 
22
22
  export const doiRecordLinkFixture = () => ({
23
- protocol: 'WWW:DOI',
23
+ accessServiceProtocol: 'WWW:DOI',
24
24
  description: 'DOI for the resource',
25
25
  url: 'http://doi.org/123-456-678',
26
26
  })
@@ -28,6 +28,6 @@ export const doiRecordLinkFixture = () => ({
28
28
  export const wfsRecordLinkFixture = () => ({
29
29
  description: 'Lieu de surveillance (point)',
30
30
  name: 'surval_parametre_point',
31
- protocol: 'OGC:WFS',
31
+ accessServiceProtocol: 'OGC:WFS',
32
32
  url: 'https://www.ifremer.fr/services/wfs/surveillance_littorale',
33
33
  })
@@ -231,7 +231,7 @@ As such, **it is not very interesting at all.**`,
231
231
  recordUpdated: new Date('2022-04-15T14:18:19'),
232
232
  resourceUpdated: new Date('2022-03-29'),
233
233
  title:
234
- "Plan local d'urbanisme (PLU) dématérialisé - commune d'Avrigny - approbation du 29/03/2022",
234
+ "Plan local d'urbanisme (PLU) dématérialisé - commune d'Avrigny - approbation du 29/03/2022 (Ce lot informe du droit à bâtir sur la commune d'Avrigny)",
235
235
  abstract: `Plan local d'urbanisme (PLU) dématérialisé - commune d'Avrigny - approbation du 29/03/2022.
236
236
 
237
237
  Ce lot informe du droit à bâtir sur la commune d'Avrigny.
@@ -18,15 +18,17 @@
18
18
  [selected]="xProperty$.value"
19
19
  [title]="'chart.dropdown.xProperty' | translate"
20
20
  ></gn-ui-dropdown-selector>
21
- <gn-ui-dropdown-selector
22
- class="basis-1/4"
23
- *ngIf="!isCountAggregation"
24
- [choices]="yChoices$ | async"
25
- (selectValue)="yProperty$.next($event)"
26
- [selected]="yProperty$.value"
27
- [title]="'chart.dropdown.yProperty' | translate"
28
- class="select-y-prop"
29
- ></gn-ui-dropdown-selector>
21
+ <ng-container *ngIf="yChoices$ | async as yChoices">
22
+ <gn-ui-dropdown-selector
23
+ class="basis-1/4"
24
+ *ngIf="!isCountAggregation"
25
+ [choices]="yChoices"
26
+ (selectValue)="yProperty$.next($event)"
27
+ [selected]="yProperty$.value"
28
+ [title]="'chart.dropdown.yProperty' | translate"
29
+ class="select-y-prop"
30
+ ></gn-ui-dropdown-selector>
31
+ </ng-container>
30
32
  <gn-ui-dropdown-selector
31
33
  class="basis-1/4"
32
34
  [choices]="aggregationChoices"
@@ -43,6 +45,7 @@
43
45
  *ngIf="!error"
44
46
  [data]="chartData$ | async"
45
47
  [type]="chartType$.value"
48
+ [prettyLabel]="prettyLabel$ | async"
46
49
  [labelProperty]="labelProperty"
47
50
  [valueProperty]="valueProperty"
48
51
  ></gn-ui-chart>
@@ -2,9 +2,7 @@ import {
2
2
  ChangeDetectionStrategy,
3
3
  ChangeDetectorRef,
4
4
  Component,
5
- Inject,
6
5
  Input,
7
- Optional,
8
6
  Output,
9
7
  } from '@angular/core'
10
8
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
@@ -13,6 +11,7 @@ import {
13
11
  FetchError,
14
12
  FieldAggregation,
15
13
  getJsonDataItemsProxy,
14
+ PropertyInfo,
16
15
  } from '../../../../../../libs/util/data-fetcher/src'
17
16
  import {
18
17
  DropdownChoice,
@@ -30,7 +29,10 @@ import {
30
29
  } from 'rxjs/operators'
31
30
  import { DataService } from '../service/data.service'
32
31
  import { InputChartType } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model'
33
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
32
+ import {
33
+ DatasetFeatureCatalog,
34
+ DatasetOnlineResource,
35
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
34
36
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
35
37
  import { CommonModule } from '@angular/common'
36
38
  import { ChartComponent } from '../../../../../../libs/ui/dataviz/src'
@@ -67,9 +69,18 @@ marker('chart.aggregation.count')
67
69
  standalone: true,
68
70
  })
69
71
  export class ChartViewComponent {
72
+ public featureCatalog$ = new BehaviorSubject<DatasetFeatureCatalog | null>(
73
+ null
74
+ )
75
+ @Input() set featureCatalog(value: DatasetFeatureCatalog) {
76
+ this.featureCatalog$.next(value)
77
+ }
70
78
  @Input() cacheActive = true
71
79
  @Input() set link(value: DatasetOnlineResource) {
72
80
  this.currentLink$.next(value)
81
+ if (value) {
82
+ this.aggregation$.next('sum')
83
+ }
73
84
  }
74
85
  private currentLink$ = new BehaviorSubject<DatasetOnlineResource>(null)
75
86
 
@@ -137,6 +148,10 @@ export class ChartViewComponent {
137
148
  switchMap((link) => {
138
149
  this.error = null
139
150
  this.loading = true
151
+ if (link.accessRestricted) {
152
+ this.handleError('dataset.error.restrictedAccess')
153
+ return EMPTY
154
+ }
140
155
  return this.dataService.getDataset(link, this.cacheActive).pipe(
141
156
  catchError((error) => {
142
157
  this.handleError(error)
@@ -146,13 +161,8 @@ export class ChartViewComponent {
146
161
  }),
147
162
  shareReplay(1)
148
163
  )
149
- properties$ = this.dataset$.pipe(
150
- switchMap((dataset) =>
151
- dataset.properties.catch((error) => {
152
- this.handleError(error)
153
- return []
154
- })
155
- ),
164
+ properties$ = combineLatest([this.dataset$, this.featureCatalog$]).pipe(
165
+ switchMap(([dataset, catalog]) => this.setProperties(dataset, catalog)),
156
166
  shareReplay(1)
157
167
  )
158
168
  yChoices$ = this.properties$.pipe(
@@ -193,6 +203,7 @@ export class ChartViewComponent {
193
203
  this.yProperty$.pipe(filter((value) => value !== undefined)),
194
204
  this.aggregation$,
195
205
  ]).pipe(
206
+ filter(([_, x, y]) => !!x || !!y),
196
207
  switchMap(([dataset, xProp, yProp, aggregation]) => {
197
208
  const fieldAgg: FieldAggregation =
198
209
  aggregation === 'count' ? ['count'] : [aggregation, yProp]
@@ -213,6 +224,18 @@ export class ChartViewComponent {
213
224
  shareReplay(1)
214
225
  )
215
226
 
227
+ prettyLabel$ = combineLatest([
228
+ this.aggregation$,
229
+ this.properties$,
230
+ this.yProperty$,
231
+ ]).pipe(
232
+ map(([aggregation, properties, yProperty]) => {
233
+ if (aggregation === 'count') return 'count()'
234
+ const prop = properties.find((p) => p.name === yProperty)
235
+ return prop ? `${aggregation}(${prop.label})` : ''
236
+ })
237
+ )
238
+
216
239
  get labelProperty() {
217
240
  if (!this.xProperty$.value) return ''
218
241
  return `distinct(${this.xProperty$.value})`
@@ -231,6 +254,31 @@ export class ChartViewComponent {
231
254
  private translateService: TranslateService
232
255
  ) {}
233
256
 
257
+ setProperties(
258
+ dataset: BaseReader,
259
+ catalog: DatasetFeatureCatalog
260
+ ): Promise<PropertyInfo[]> {
261
+ return dataset.properties
262
+ .then((properties) => {
263
+ return properties.map((p) => {
264
+ if (catalog) {
265
+ const featureAttributes = catalog?.featureTypes[0]?.attributes ?? []
266
+ const matchingAttribute = featureAttributes.find(
267
+ (attr) => attr.name === p.label
268
+ )
269
+ if (matchingAttribute?.code) {
270
+ return { ...p, label: matchingAttribute.code }
271
+ }
272
+ return p
273
+ }
274
+ return p
275
+ })
276
+ })
277
+ .catch((error) => {
278
+ this.handleError(error)
279
+ return []
280
+ })
281
+ }
234
282
  handleError(error: FetchError | Error | string) {
235
283
  if (error instanceof FetchError) {
236
284
  this.error = this.translateService.instant(
@@ -6,6 +6,7 @@ import {
6
6
  OgcApiRecord,
7
7
  WfsEndpoint,
8
8
  WfsVersion,
9
+ TmsEndpoint,
9
10
  } from '@camptocamp/ogc-client'
10
11
  import {
11
12
  BaseReader,
@@ -231,6 +232,42 @@ export class DataService {
231
232
  })
232
233
  }
233
234
 
235
+ async getGeodataLinksFromTms(
236
+ tmsLink: DatasetServiceDistribution,
237
+ keepOriginalLink = false
238
+ ): Promise<DatasetServiceDistribution[]> {
239
+ const endpoint = new TmsEndpoint(tmsLink.url.toString())
240
+ const tileMaps = await endpoint.allTileMaps
241
+ if (!tileMaps?.length) return null
242
+
243
+ // TODO: at some point use the identifierInService field if more that one layers in the TMS service
244
+ const tileMapInfo = await endpoint.getTileMapInfo(tileMaps[0].href)
245
+
246
+ // case 1: no styles; return a plain TMS link
247
+ if (!tileMapInfo?.metadata?.length) return [tmsLink]
248
+
249
+ // case 2: styles present; return each as a separate link
250
+ const styleLinks = tileMapInfo.metadata
251
+ .filter((meta) => meta.href)
252
+ .map((meta) => {
253
+ const fileName = meta.href.split('/').pop() || ''
254
+ const linkName =
255
+ tmsLink.description || ('name' in tmsLink ? tmsLink.name : '')
256
+ const styleName = fileName.split('.')[0]
257
+ const name = `${linkName} - ${styleName}`
258
+ return {
259
+ type: 'service',
260
+ url: new URL(meta.href),
261
+ name,
262
+ accessServiceProtocol: 'maplibre-style',
263
+ } as DatasetServiceDistribution
264
+ })
265
+ if (keepOriginalLink) {
266
+ styleLinks.unshift(tmsLink)
267
+ }
268
+ return styleLinks
269
+ }
270
+
234
271
  getDownloadLinksFromEsriRest(
235
272
  esriRestLink: DatasetServiceDistribution
236
273
  ): DatasetOnlineResource[] {
@@ -4,6 +4,7 @@
4
4
  *ngIf="tableData$ | async as dataset"
5
5
  class="overflow-auto grow"
6
6
  [dataset]="dataset"
7
+ [featureAttributes]="featureAttributes"
7
8
  (selected)="onTableSelect($event)"
8
9
  ></gn-ui-data-table>
9
10
  <gn-ui-loading-mask
@@ -6,11 +6,15 @@ import {
6
6
  shareReplay,
7
7
  startWith,
8
8
  switchMap,
9
+ tap,
9
10
  } from 'rxjs/operators'
10
11
  import { BaseReader, FetchError } from '../../../../../../libs/util/data-fetcher/src'
11
12
  import { DataService } from '../service/data.service'
12
13
  import { DataTableComponent } from '../../../../../../libs/ui/dataviz/src'
13
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
14
+ import {
15
+ DatasetFeatureCatalog,
16
+ DatasetOnlineResource,
17
+ } from '../../../../../../libs/common/domain/src/lib/model/record'
14
18
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
15
19
  import {
16
20
  LoadingMaskComponent,
@@ -33,6 +37,8 @@ import { CommonModule } from '@angular/common'
33
37
  standalone: true,
34
38
  })
35
39
  export class TableViewComponent {
40
+ featureAttributes = []
41
+ @Input() featureCatalog: DatasetFeatureCatalog
36
42
  @Input() cacheActive = true
37
43
  @Input() set link(value: DatasetOnlineResource) {
38
44
  this.currentLink$.next(value)
@@ -46,8 +52,13 @@ export class TableViewComponent {
46
52
  switchMap((link) => {
47
53
  this.error = null
48
54
  if (!link) return of(undefined)
55
+ if (link.accessRestricted) {
56
+ this.handleError('dataset.error.restrictedAccess')
57
+ return of([])
58
+ }
49
59
  this.loading = true
50
60
  return this.getDatasetReader(link).pipe(
61
+ tap((dataset: BaseReader) => this.setProperties(dataset)),
51
62
  catchError((error) => {
52
63
  this.handleError(error)
53
64
  return of(undefined)
@@ -92,4 +103,23 @@ export class TableViewComponent {
92
103
  }
93
104
  this.loading = false
94
105
  }
106
+
107
+ setProperties(dataset: BaseReader) {
108
+ dataset.properties.then((properties) => {
109
+ const updatedProperties = properties.map((p) => {
110
+ let label = p.name
111
+ if (this.featureCatalog) {
112
+ const attributes = this.featureCatalog.featureTypes[0].attributes
113
+ const matchingAttribute = attributes.find(
114
+ (attr) => attr.name === p.name
115
+ )
116
+ if (matchingAttribute && matchingAttribute.code) {
117
+ label = matchingAttribute.code
118
+ }
119
+ }
120
+ return { value: p.name, label }
121
+ })
122
+ this.featureAttributes = updatedProperties
123
+ })
124
+ }
95
125
  }
@@ -11,3 +11,4 @@ export * from './lib/components/wizard/wizard.component'
11
11
  export * from './lib/components/wizard-field/wizard-field.component'
12
12
  export * from './lib/components/wizard-summarize/wizard-summarize.component'
13
13
  export * from './lib/components/record-form/form-field'
14
+ export * from './lib/components/multilingual-panel/multilingual-panel.component'
@@ -0,0 +1,14 @@
1
+ <div
2
+ class="flex flex-col h-full w-[302px] bg-neutral-100 border-l border-gray-300 py-9 px-3 gap-8"
3
+ >
4
+ <span class="text-3xl font-title text-black/80 px-2" translate
5
+ >editor.record.form.multilingual.title</span
6
+ >
7
+ <gn-ui-check-toggle
8
+ class="p-2"
9
+ [label]="'editor.record.form.multilingual.enable' | translate"
10
+ [color]="'primary'"
11
+ [value]="translationsEnabled"
12
+ (toggled)="translationsEnabled = $event"
13
+ ></gn-ui-check-toggle>
14
+ </div>
@@ -0,0 +1,15 @@
1
+ import { Component } from '@angular/core'
2
+ import { CommonModule } from '@angular/common'
3
+ import { CheckToggleComponent } from '../../../../../../../libs/ui/inputs/src'
4
+ import { TranslateModule } from '@ngx-translate/core'
5
+
6
+ @Component({
7
+ selector: 'gn-ui-multilingual-panel',
8
+ standalone: true,
9
+ imports: [CommonModule, CheckToggleComponent, TranslateModule],
10
+ templateUrl: './multilingual-panel.component.html',
11
+ styleUrl: './multilingual-panel.component.css',
12
+ })
13
+ export class MultilingualPanelComponent {
14
+ translationsEnabled = false
15
+ }
@@ -66,9 +66,8 @@ export class OnlineResourceCardComponent {
66
66
  get subtitle(): string {
67
67
  switch (this.onlineResource.type) {
68
68
  case 'service':
69
- return `${this.onlineResource.accessServiceProtocol}`
70
69
  case 'endpoint':
71
- return `${this.onlineResource.protocol}`
70
+ return `${this.onlineResource.accessServiceProtocol}`
72
71
  case 'link':
73
72
  case 'download':
74
73
  return this.getFormat(this.onlineResource)
@@ -81,8 +81,8 @@ export class OnlineServiceResourceInputComponent {
81
81
  errorMessage = false
82
82
  resetUrlOnChange = Math.random()
83
83
 
84
- layersSubject = new BehaviorSubject<{ name: string; title: string }[]>([])
85
- layers$: Observable<{ name: string; title: string }[]> =
84
+ layersSubject = new BehaviorSubject<{ name?: string; title?: string }[]>([])
85
+ layers$: Observable<{ name?: string; title?: string }[]> =
86
86
  this.layersSubject.asObservable()
87
87
 
88
88
  protocolOptions: {
@@ -8,8 +8,8 @@
8
8
  >
9
9
  </gn-ui-generic-keywords>
10
10
  <div class="w-full h-96 mt-2">
11
- <gn-ui-form-field-map-container
11
+ <gn-ui-spatial-extent
12
12
  [spatialExtents]="spatialExtents$ | async"
13
- ></gn-ui-form-field-map-container>
13
+ ></gn-ui-spatial-extent>
14
14
  </div>
15
15
  </div>
@@ -9,9 +9,9 @@ import { PlatformServiceInterface } from '../../../../../../../../../libs/common
9
9
  import { firstValueFrom, map, shareReplay } from 'rxjs'
10
10
  import { EditorFacade } from '../../../../+state/editor.facade'
11
11
  import { switchMap } from 'rxjs/operators'
12
- import { FormFieldMapContainerComponent } from '../form-field-map-container/form-field-map-container.component'
13
12
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
14
13
  import { SPATIAL_SCOPES } from '../../../../fields.config'
14
+ import { SpatialExtentComponent } from '../../../../../../../../../libs/ui/map/src'
15
15
 
16
16
  // This intermediary type will let us keep track of which keyword is bound to
17
17
  // which extent; these properties will not be persisted
@@ -35,8 +35,8 @@ type KeywordWithExtent = Keyword & {
35
35
  imports: [
36
36
  CommonModule,
37
37
  GenericKeywordsComponent,
38
- FormFieldMapContainerComponent,
39
38
  TranslateModule,
39
+ SpatialExtentComponent,
40
40
  ],
41
41
  })
42
42
  export class FormFieldSpatialExtentComponent {
@@ -1,12 +1,10 @@
1
1
  export * from './lib/feature-record.module'
2
- export * from './lib/gn-ui-version.token'
3
2
  export * from './lib/state'
4
3
  export * from './lib/data-view-permalink/data-view-permalink.component'
5
4
  export * from './lib/data-view/data-view.component'
6
5
  export * from './lib/data-view-share/data-view-share.component'
7
6
  export * from './lib/data-view-web-component/data-view-web-component.component'
8
7
  export * from './lib/external-viewer-button/external-viewer-button.component'
9
- export * from './lib/map-view/map-view.component'
10
8
  export * from './lib/gpf-api-dl/gpf-api-dl.component'
9
+ export * from './lib/map-view/map-view.component'
11
10
  export * from './lib/record-meta/record-meta.component'
12
- export * from './lib/external-viewer-button/external-viewer-button.component'
@@ -1,13 +1,17 @@
1
- <div class="w-full h-full flex flex-col p-1">
2
- <gn-ui-dropdown-selector
3
- *ngIf="dropdownChoices$ | async as choices"
4
- [ngClass]="{ hidden: !displaySource }"
5
- [title]="'table.select.data' | translate"
6
- class="truncate p-1 -mx-1 self-end mb-1"
7
- extraBtnClass="!text-primary font-sans font-medium"
8
- [choices]="choices"
9
- (selectValue)="selectLink($event)"
10
- ></gn-ui-dropdown-selector>
1
+ <div class="w-full h-full flex flex-col gap-[13px]">
2
+ <div
3
+ class="w-full py-4 px-5 bg-white border border-color-border rounded-lg mt-6"
4
+ >
5
+ <gn-ui-dropdown-selector
6
+ *ngIf="dropdownChoices$ | async as choices"
7
+ [ngClass]="{ hidden: !displaySource }"
8
+ [title]="'table.select.data' | translate"
9
+ class="h-[44px] w-full"
10
+ extraBtnClass="font-sans font-bold"
11
+ [choices]="choices"
12
+ (selectValue)="selectLink($event)"
13
+ ></gn-ui-dropdown-selector>
14
+ </div>
11
15
  <ng-container *ngIf="hidePreview; else dataView">
12
16
  <gn-ui-popup-alert
13
17
  type="warning"
@@ -23,12 +27,14 @@
23
27
  *ngIf="mode === 'table'"
24
28
  [cacheActive]="cacheActive$ | async"
25
29
  [link]="selectedLink$ | async"
30
+ [featureCatalog]="mdViewFacade.featureCatalog$ | async"
26
31
  ></gn-ui-table-view>
27
32
  <gn-ui-chart-view
28
33
  *ngIf="mode === 'chart'"
29
34
  (chartConfig$)="setChartConfig($event)"
30
35
  [cacheActive]="cacheActive$ | async"
31
36
  [link]="selectedLink$ | async"
37
+ [featureCatalog]="mdViewFacade.featureCatalog$ | async"
32
38
  ></gn-ui-chart-view>
33
39
  </div>
34
40
  </ng-template>
@@ -9,10 +9,10 @@ import {
9
9
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
10
10
  import { BehaviorSubject, combineLatest, map } from 'rxjs'
11
11
  import { MdViewFacade } from '../state'
12
- import { GN_UI_VERSION } from '../gn-ui-version.token'
13
12
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
14
13
  import { CommonModule } from '@angular/common'
15
14
  import { TranslateModule } from '@ngx-translate/core'
15
+ import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
16
16
 
17
17
  export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
18
18
  'webComponentEmbedderUrl'
@@ -40,7 +40,7 @@ export class DataViewPermalinkComponent {
40
40
  ]).pipe(
41
41
  map(([viewType, config, metadata]) => {
42
42
  const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin)
43
- url.searchParams.set('v', `${this.version}`)
43
+ url.searchParams.set('v', `${GEONETWORK_UI_TAG_NAME}`)
44
44
  if (viewType === 'chart') {
45
45
  if (config) {
46
46
  const { aggregation, xProperty, yProperty, chartType } = config
@@ -74,7 +74,6 @@ export class DataViewPermalinkComponent {
74
74
  @Optional()
75
75
  @Inject(WEB_COMPONENT_EMBEDDER_URL)
76
76
  protected wcEmbedderBaseUrl: string,
77
- @Inject(GN_UI_VERSION) private version: string,
78
77
  private facade: MdViewFacade
79
78
  ) {}
80
79
  }
@@ -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"
@@ -7,10 +7,10 @@ import {
7
7
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
8
8
  import { MdViewFacade } from '../state'
9
9
  import { BehaviorSubject, combineLatest, map } from 'rxjs'
10
- import { GN_UI_VERSION } from '../gn-ui-version.token'
11
10
  import { CopyTextButtonComponent } from '../../../../../../libs/ui/inputs/src'
12
11
  import { CommonModule } from '@angular/common'
13
12
  import { TranslateModule } from '@ngx-translate/core'
13
+ import { GEONETWORK_UI_TAG_NAME } from '../../../../../../libs/util/shared/src'
14
14
 
15
15
  @Component({
16
16
  selector: 'gn-ui-data-view-web-component',
@@ -36,7 +36,7 @@ export class DataViewWebComponentComponent {
36
36
  if (config) {
37
37
  const { aggregation, xProperty, yProperty, chartType } = config
38
38
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
39
- this.version
39
+ GEONETWORK_UI_TAG_NAME
40
40
  }/gn-wc.js"></script>
41
41
  <gn-dataset-view-chart
42
42
  api-url="${new URL(
@@ -59,7 +59,7 @@ export class DataViewWebComponentComponent {
59
59
  return ''
60
60
  } else if (viewType === 'table') {
61
61
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
62
- this.version
62
+ GEONETWORK_UI_TAG_NAME
63
63
  }/gn-wc.js"></script>
64
64
  <gn-dataset-view-table
65
65
  api-url="${new URL(
@@ -76,7 +76,7 @@ export class DataViewWebComponentComponent {
76
76
  ></gn-dataset-view-table>`
77
77
  } else {
78
78
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
79
- this.version
79
+ GEONETWORK_UI_TAG_NAME
80
80
  }/gn-wc.js"></script>
81
81
  <gn-dataset-view-map
82
82
  api-url="${new URL(
@@ -97,7 +97,6 @@ export class DataViewWebComponentComponent {
97
97
 
98
98
  constructor(
99
99
  @Inject(Configuration) private config: Configuration,
100
- @Inject(GN_UI_VERSION) private version: string,
101
100
  private facade: MdViewFacade
102
101
  ) {}
103
102
  }
@@ -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>
@@ -36,6 +36,7 @@ export const EXTERNAL_VIEWER_OPEN_NEW_TAB = new InjectionToken<boolean>(
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
@@ -1,18 +1,24 @@
1
- <div class="w-full h-full flex flex-col p-1">
2
- <div class="w-full flex justify-end">
3
- <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"
7
- [title]="'map.select.layer' | translate"
8
- [choices]="dropdownChoices$ | async"
9
- (selectValue)="selectLinkToDisplay($event)"
10
- ></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>
1
+ <div class="w-full h-full flex flex-col gap-[13px]">
2
+ <div
3
+ class="flex py-4 px-5 bg-white border border-color-border rounded-lg mt-6"
4
+ >
5
+ <div class="grow min-w-0">
6
+ <gn-ui-dropdown-selector
7
+ [ngClass]="{ hidden: !displaySource }"
8
+ class="w-full"
9
+ extraBtnClass="font-sans font-bold"
10
+ [title]="'map.select.layer' | translate"
11
+ [choices]="dropdownChoices$ | async"
12
+ (selectValue)="selectLinkToDisplay($event)"
13
+ ></gn-ui-dropdown-selector>
14
+ </div>
15
+ <div class="self-end">
16
+ <gn-ui-external-viewer-button
17
+ extraClass="w-[44px] h-[44px]"
18
+ [link]="selectedLink$ | async"
19
+ >
20
+ </gn-ui-external-viewer-button>
21
+ </div>
16
22
  </div>
17
23
  <ng-container *ngIf="hidePreview; else mapView">
18
24
  <gn-ui-popup-alert
@@ -49,7 +55,10 @@
49
55
  >
50
56
  <ng-icon name="matClose" class="align-middle text-sm"></ng-icon>
51
57
  </gn-ui-button>
52
- <gn-ui-feature-detail [feature]="selection"></gn-ui-feature-detail>
58
+ <gn-ui-feature-detail
59
+ [featureCatalog]="mdViewFacade.featureCatalog$ | async"
60
+ [feature]="selection"
61
+ ></gn-ui-feature-detail>
53
62
  </div>
54
63
 
55
64
  <div