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

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 (519) 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 +47 -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/iso19115-3/read-parts.mjs +8 -4
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +5 -2
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
  11. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +3 -1
  12. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -12
  13. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
  14. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
  15. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +7 -1
  16. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  17. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  18. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  19. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +49 -9
  20. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  21. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +32 -2
  22. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +29 -6
  23. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  24. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +273 -0
  25. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +2 -3
  26. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +1 -1
  27. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
  28. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
  29. package/esm2022/libs/feature/record/src/index.mjs +2 -4
  30. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
  31. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +5 -9
  32. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
  33. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +7 -11
  34. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
  35. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +73 -16
  36. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
  37. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  38. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +14 -5
  39. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -15
  40. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  41. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  42. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
  43. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  44. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
  45. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
  46. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  47. package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
  48. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +8 -7
  49. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +13 -19
  50. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +5 -3
  51. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
  52. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  53. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +30 -10
  54. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  55. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
  56. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  57. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
  58. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  59. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +11 -6
  60. package/esm2022/libs/ui/elements/src/index.mjs +5 -1
  61. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  62. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
  63. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
  64. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +55 -0
  65. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  66. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +42 -83
  67. package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +59 -0
  68. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +68 -0
  69. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
  70. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  71. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  72. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +8 -5
  73. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +37 -12
  74. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +5 -1
  75. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +72 -0
  76. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +17 -7
  77. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +169 -0
  78. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +26 -4
  79. package/esm2022/libs/ui/inputs/src/index.mjs +3 -2
  80. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
  81. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  82. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  83. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
  84. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
  85. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  86. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +68 -0
  87. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +4 -3
  88. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -9
  89. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  90. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +43 -3
  91. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  92. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  93. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  94. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  95. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +25 -3
  96. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  97. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  98. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +73 -0
  99. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
  100. package/esm2022/libs/ui/map/src/index.mjs +2 -1
  101. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  102. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +80 -0
  103. package/esm2022/libs/ui/search/src/index.mjs +3 -1
  104. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -8
  105. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  106. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  107. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  108. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  109. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +21 -12
  110. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +39 -17
  111. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +19 -5
  112. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  113. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +2 -1
  114. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  115. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +42 -1
  116. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +24 -2
  117. package/esm2022/libs/util/shared/src/index.mjs +2 -1
  118. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
  119. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +5 -1
  120. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +16 -6
  121. package/esm2022/translations/de.json +79 -9
  122. package/esm2022/translations/en.json +80 -10
  123. package/esm2022/translations/es.json +78 -8
  124. package/esm2022/translations/fr.json +80 -10
  125. package/esm2022/translations/it.json +82 -12
  126. package/esm2022/translations/nl.json +78 -8
  127. package/esm2022/translations/pt.json +78 -8
  128. package/fesm2022/geonetwork-ui.mjs +3701 -1510
  129. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  130. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  131. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  132. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
  133. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  134. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  135. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  136. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  137. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  138. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  139. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  140. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  141. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  142. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  143. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  144. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  145. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +1 -1
  146. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  147. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +13 -2
  148. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  149. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  150. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -0
  151. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  152. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  153. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  154. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +26 -17
  155. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  156. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +6 -0
  157. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  158. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  159. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  160. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  161. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  162. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +6 -3
  163. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  164. package/libs/feature/editor/src/index.d.ts +1 -0
  165. package/libs/feature/editor/src/index.d.ts.map +1 -1
  166. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
  167. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  168. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  169. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +6 -6
  170. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  171. 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
  172. package/libs/feature/record/src/index.d.ts +1 -3
  173. package/libs/feature/record/src/index.d.ts.map +1 -1
  174. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +9 -1
  175. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  176. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
  177. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  178. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
  179. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  180. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  181. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  182. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -5
  183. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  184. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
  185. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
  186. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  187. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -1
  188. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  189. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
  190. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  191. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
  192. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  193. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  194. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  195. package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
  196. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  197. package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
  198. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  199. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  200. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
  201. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  202. package/libs/feature/search/src/index.d.ts +1 -1
  203. package/libs/feature/search/src/index.d.ts.map +1 -1
  204. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  205. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  206. package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
  207. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  208. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  209. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  210. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -1
  211. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
  212. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  213. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  214. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
  215. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  216. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  217. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  218. package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
  219. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  220. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  221. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  222. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  223. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  224. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  225. package/libs/ui/elements/src/index.d.ts +4 -0
  226. package/libs/ui/elements/src/index.d.ts.map +1 -1
  227. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  228. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  229. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  230. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  231. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  232. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  233. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +6 -13
  234. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
  235. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
  236. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
  237. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +13 -0
  238. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  239. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
  240. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  241. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
  242. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  243. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
  244. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  245. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  246. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
  247. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  248. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +8 -1
  249. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  250. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +31 -0
  251. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
  252. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +5 -1
  253. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  254. package/libs/ui/inputs/src/index.d.ts +2 -1
  255. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  256. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  257. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  258. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  259. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  260. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  261. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  262. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  263. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  264. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  265. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
  266. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  267. package/libs/ui/layout/src/index.d.ts +2 -0
  268. package/libs/ui/layout/src/index.d.ts.map +1 -1
  269. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +10 -3
  270. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  271. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  272. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  273. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  274. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  275. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  276. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  277. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +5 -1
  278. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  279. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
  280. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  281. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  282. package/libs/ui/map/src/index.d.ts +1 -0
  283. package/libs/ui/map/src/index.d.ts.map +1 -1
  284. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  285. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  286. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
  287. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
  288. package/libs/ui/search/src/index.d.ts +2 -0
  289. package/libs/ui/search/src/index.d.ts.map +1 -1
  290. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  291. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  292. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  293. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  294. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  295. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  296. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  297. package/libs/ui/search/src/lib/ui-search.module.d.ts +22 -19
  298. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  299. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  300. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  301. package/libs/util/i18n/src/lib/i18n.constants.d.ts +1 -0
  302. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  303. package/libs/util/i18n/src/lib/language-codes.d.ts +23 -1
  304. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  305. package/libs/util/shared/src/index.d.ts +1 -0
  306. package/libs/util/shared/src/index.d.ts.map +1 -1
  307. package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
  308. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
  309. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  310. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  311. package/libs/util/shared/src/lib/links/link-utils.d.ts +14 -7
  312. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  313. package/package.json +2 -2
  314. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  315. package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
  316. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  317. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  318. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
  319. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +3 -3
  320. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
  321. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
  322. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +70 -6
  323. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  324. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +13 -3
  325. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +5 -1
  326. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +10 -6
  327. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +7 -4
  328. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +2 -0
  329. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +3 -11
  330. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +118 -16
  331. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
  332. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
  333. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  334. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +27 -11
  335. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +6 -0
  336. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +36 -26
  337. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +16 -2
  338. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
  339. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +64 -1
  340. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  341. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +58 -10
  342. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +37 -0
  343. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  344. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +31 -1
  345. package/src/libs/feature/editor/src/index.ts +1 -0
  346. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +120 -0
  347. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +325 -0
  348. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +1 -2
  349. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -2
  350. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +2 -2
  351. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  352. package/src/libs/feature/record/src/index.ts +1 -3
  353. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +16 -10
  354. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -3
  355. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  356. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +4 -5
  357. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  358. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
  359. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +38 -11
  360. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +111 -18
  361. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
  362. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
  363. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +27 -3
  364. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +21 -17
  365. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
  366. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  367. package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
  368. package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
  369. package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
  370. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
  371. package/src/libs/feature/search/src/index.ts +1 -1
  372. package/src/libs/feature/search/src/lib/constants.ts +3 -1
  373. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +0 -6
  374. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +16 -8
  375. package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -10
  376. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  377. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +1 -0
  378. package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
  379. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
  380. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  381. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  382. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.css +6 -0
  383. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
  384. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +26 -5
  385. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  386. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  387. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  388. package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
  389. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  390. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  391. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  392. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +5 -4
  393. package/src/libs/ui/elements/src/index.ts +4 -0
  394. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  395. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  396. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  397. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
  398. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
  399. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  400. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  401. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  402. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  403. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +68 -141
  404. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +38 -97
  405. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
  406. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
  407. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  408. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -0
  409. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +70 -0
  410. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
  411. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
  412. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  413. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  414. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
  415. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +24 -7
  416. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -4
  417. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
  418. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +48 -9
  419. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +4 -0
  420. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
  421. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +83 -0
  422. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +8 -29
  423. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +14 -1
  424. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
  425. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +110 -0
  426. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +191 -0
  427. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +11 -1
  428. package/src/libs/ui/inputs/src/index.ts +2 -1
  429. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  430. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  431. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  432. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  433. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  434. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
  435. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  436. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  437. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  438. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +77 -0
  439. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +7 -8
  440. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +2 -1
  441. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
  442. package/src/libs/ui/layout/src/index.ts +2 -0
  443. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +46 -2
  444. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  445. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  446. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  447. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  448. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  449. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  450. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  451. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  452. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  453. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +4 -7
  454. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +20 -0
  455. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  456. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  457. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  458. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
  459. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +91 -0
  460. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +2 -6
  461. package/src/libs/ui/map/src/index.ts +1 -0
  462. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  463. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  464. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
  465. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
  466. 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
  467. package/src/libs/ui/search/src/index.ts +2 -0
  468. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  469. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  470. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
  471. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  472. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  473. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  474. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  475. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  476. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +15 -11
  477. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  478. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +31 -24
  479. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +33 -14
  480. package/src/libs/ui/search/src/lib/ui-search.module.ts +8 -0
  481. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
  482. package/src/libs/util/app-config/src/lib/app-config.ts +1 -0
  483. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  484. package/src/libs/util/i18n/src/lib/i18n.constants.ts +42 -0
  485. package/src/libs/util/i18n/src/lib/language-codes.ts +23 -1
  486. package/src/libs/util/shared/src/index.ts +1 -0
  487. package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
  488. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +15 -3
  489. package/src/libs/util/shared/src/lib/links/link-utils.ts +33 -12
  490. package/tailwind.base.config.js +3 -0
  491. package/tailwind.base.css +19 -26
  492. package/translations/de.json +79 -9
  493. package/translations/en.json +80 -10
  494. package/translations/es.json +78 -8
  495. package/translations/fr.json +80 -10
  496. package/translations/it.json +82 -12
  497. package/translations/nl.json +78 -8
  498. package/translations/pt.json +78 -8
  499. package/translations/sk.json +78 -8
  500. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
  501. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
  502. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  503. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +0 -16
  504. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
  505. 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
  506. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
  507. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
  508. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  509. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  510. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +0 -8
  511. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +0 -1
  512. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
  513. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
  514. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  515. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  516. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +0 -3
  517. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +0 -9
  518. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +0 -15
  519. /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
@@ -0,0 +1,141 @@
1
+ import {
2
+ AfterViewInit,
3
+ Component,
4
+ Input,
5
+ OnDestroy,
6
+ ElementRef,
7
+ TemplateRef,
8
+ ViewChild,
9
+ Injector,
10
+ ChangeDetectorRef,
11
+ } from '@angular/core'
12
+ import { CommonModule } from '@angular/common'
13
+ import { provideIcons, NgIconComponent } from '@ng-icons/core'
14
+ import { iconoirReduce } from '@ng-icons/iconoir'
15
+ import { MatButtonModule } from '@angular/material/button'
16
+ import {
17
+ OverlayModule,
18
+ ConnectedPosition,
19
+ ScrollDispatcher,
20
+ CdkScrollable,
21
+ CdkConnectedOverlay,
22
+ OverlayContainer,
23
+ } from '@angular/cdk/overlay'
24
+ import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
25
+ @Component({
26
+ selector: 'gn-ui-cell-popin',
27
+ standalone: true,
28
+ imports: [
29
+ CommonModule,
30
+ MatButtonModule,
31
+ OverlayModule,
32
+ ButtonComponent,
33
+ NgIconComponent,
34
+ ],
35
+ providers: [provideIcons({ iconoirReduce })],
36
+ templateUrl: './cell-popin.component.html',
37
+ styleUrls: [],
38
+ })
39
+ export class CellPopinComponent implements AfterViewInit, OnDestroy {
40
+ @Input() extraClass = ''
41
+ @Input() cdkScrollContainer!: CdkScrollable
42
+ @Input() scrollContainer!: ElementRef
43
+
44
+ @ViewChild('anchorRef') anchorRef!: ElementRef
45
+
46
+ protected isOpen = false
47
+ protected isVisible = true
48
+ protected overlayPositions: ConnectedPosition[] = [
49
+ {
50
+ originX: 'end',
51
+ originY: 'top',
52
+ overlayX: 'end',
53
+ overlayY: 'top',
54
+ },
55
+ {
56
+ originX: 'start',
57
+ originY: 'top',
58
+ overlayX: 'start',
59
+ overlayY: 'top',
60
+ },
61
+ ]
62
+
63
+ private firstCheck = true
64
+ private intersectionObserver: IntersectionObserver
65
+
66
+ private _activePopin = true
67
+
68
+ @Input()
69
+ set activePopin(active: boolean | undefined) {
70
+ this._activePopin = !!active
71
+ this.updateIntersectionObserver()
72
+ }
73
+ get activePopin(): boolean {
74
+ return this._activePopin
75
+ }
76
+
77
+ constructor(
78
+ private scrollDispatcher: ScrollDispatcher,
79
+ private cdr: ChangeDetectorRef
80
+ ) {}
81
+
82
+ ngAfterViewInit() {
83
+ if (!this.activePopin) {
84
+ return
85
+ }
86
+
87
+ if (this.cdkScrollContainer) {
88
+ this.scrollDispatcher.register(this.cdkScrollContainer)
89
+ }
90
+
91
+ this.updateIntersectionObserver()
92
+ }
93
+
94
+ ngOnDestroy() {
95
+ this.intersectionObserver?.disconnect()
96
+ this.scrollDispatcher.deregister(this.cdkScrollContainer)
97
+ }
98
+
99
+ updateIntersectionObserver() {
100
+ if (!this.scrollContainer || !this.anchorRef) {
101
+ return
102
+ }
103
+
104
+ if (this.intersectionObserver) {
105
+ this.intersectionObserver?.disconnect()
106
+ }
107
+
108
+ this.intersectionObserver = new IntersectionObserver(
109
+ ([entry]) => {
110
+ const visible = entry.intersectionRatio >= 1
111
+
112
+ // Ignore first visibility if first time opening it
113
+ if (this.firstCheck && !visible) {
114
+ this.firstCheck = false
115
+ return
116
+ }
117
+
118
+ this.firstCheck = false
119
+
120
+ if (this.isVisible !== visible) {
121
+ this.isVisible = visible
122
+ this.cdr.detectChanges()
123
+ }
124
+ },
125
+ {
126
+ root: this.scrollContainer.nativeElement,
127
+ threshold: 1.0,
128
+ }
129
+ )
130
+
131
+ this.intersectionObserver.observe(this.anchorRef.nativeElement)
132
+ }
133
+
134
+ openOverlay() {
135
+ this.isOpen = true
136
+ }
137
+
138
+ closeOverlay() {
139
+ this.isOpen = false
140
+ }
141
+ }
@@ -1,22 +1,38 @@
1
1
  <div
2
- class="group flex align-middle title border-b border-gray-100 cursor-pointer pt-2.5"
2
+ class="group flex items-center justify-between title border-b border-gray-100 cursor-pointer"
3
3
  (click)="toggle()"
4
+ data-cy="expandable-panel-header"
4
5
  >
5
- <div class="grow font-medium text-black text-sm">
6
- {{ title }}
6
+ <div class="grow py-2.5">
7
+ <ng-container *ngIf="titleTemplate; else simpleTitle">
8
+ <div data-cy="expandable-panel-custom-title">
9
+ <ng-container *ngTemplateOutlet="titleTemplate"></ng-container>
10
+ </div>
11
+ </ng-container>
12
+ <ng-template #simpleTitle>
13
+ <div
14
+ class="font-medium text-black text-sm"
15
+ data-cy="expandable-panel-title"
16
+ >
17
+ {{ title }}
18
+ </div>
19
+ </ng-template>
7
20
  </div>
8
21
  <div
9
- class="w-8 opacity-25 text-primary group-hover:opacity-100 transition-opacity"
22
+ class="w-8 opacity-25 text-primary group-hover:opacity-100 transition-opacity flex items-center shrink-0"
10
23
  >
11
- <ng-icon name="matAdd" *ngIf="collapsed"></ng-icon>
12
- <ng-icon name="matRemove" *ngIf="!collapsed"></ng-icon>
24
+ <ng-icon
25
+ [name]="collapsed ? 'matAdd' : 'matRemove'"
26
+ [style.color]="iconColor"
27
+ ></ng-icon>
13
28
  </div>
14
29
  </div>
15
30
  <div
16
- class="content overflow-hidden transition-[max-height] duration-300"
31
+ class="content overflow-hidden transition-all duration-300"
17
32
  [ngClass]="collapsed ? 'ease-out' : 'ease-in'"
18
- [style.maxHeight]="maxHeight"
19
33
  #contentDiv
34
+ *ngIf="!collapsed"
35
+ data-cy="expandable-panel-content"
20
36
  >
21
37
  <ng-content></ng-content>
22
38
  </div>
@@ -1,9 +1,14 @@
1
1
  import {
2
2
  ChangeDetectionStrategy,
3
3
  Component,
4
+ ContentChild,
4
5
  ElementRef,
5
6
  Input,
7
+ TemplateRef,
6
8
  ViewChild,
9
+ OnDestroy,
10
+ ChangeDetectorRef,
11
+ AfterViewInit,
7
12
  } from '@angular/core'
8
13
  import { NgIcon, provideIcons } from '@ng-icons/core'
9
14
  import { CommonModule } from '@angular/common'
@@ -18,20 +23,41 @@ import { matAdd, matRemove } from '@ng-icons/material-icons/baseline'
18
23
  imports: [CommonModule, NgIcon],
19
24
  viewProviders: [provideIcons({ matAdd, matRemove })],
20
25
  })
21
- export class ExpandablePanelComponent {
22
- @Input() title: string
23
- @Input() collapsed = true
24
- @ViewChild('contentDiv') contentDiv: ElementRef
25
- maxHeight = this.setMaxHeight()
26
+ export class ExpandablePanelComponent implements AfterViewInit, OnDestroy {
27
+ @Input() title?: string
28
+ @Input() iconColor? = ''
29
+ @ContentChild('titleTemplate') titleTemplate?: TemplateRef<HTMLElement>
30
+ @ViewChild('contentDiv') contentDiv?: ElementRef
31
+
32
+ private _collapsed = true
33
+ private contentObserver?: ResizeObserver
34
+
35
+ constructor(private readonly changeDetector: ChangeDetectorRef) {}
36
+
37
+ ngAfterViewInit() {
38
+ if (this.contentDiv) {
39
+ this.contentObserver = new ResizeObserver(() => {
40
+ this.changeDetector.detectChanges()
41
+ })
42
+ this.contentObserver.observe(this.contentDiv.nativeElement)
43
+ }
44
+ }
45
+
46
+ @Input() set collapsed(value: boolean) {
47
+ this._collapsed = value
48
+ }
49
+
50
+ get collapsed(): boolean {
51
+ return this._collapsed
52
+ }
26
53
 
27
54
  toggle(): void {
28
55
  this.collapsed = !this.collapsed
29
- this.maxHeight = this.setMaxHeight()
30
56
  }
31
57
 
32
- setMaxHeight() {
33
- return `${
34
- this.collapsed ? '0' : this.contentDiv.nativeElement.scrollHeight
35
- }px`
58
+ ngOnDestroy() {
59
+ if (this.contentObserver) {
60
+ this.contentObserver.disconnect()
61
+ }
36
62
  }
37
63
  }
@@ -31,11 +31,8 @@
31
31
  *ngFor="let item of items"
32
32
  (click)="handleRowClick(item)"
33
33
  data-cy="table-row"
34
- [title]="
35
- !item.extras?.edit && !isDraftPage
36
- ? ('editor.record.lock.reason' | translate)
37
- : ''
38
- "
34
+ [attr.data-cy-title]="item.title"
35
+ [title]="getItemTitle(item) | translate"
39
36
  >
40
37
  <div
41
38
  class="relative h-0"
@@ -52,9 +49,9 @@
52
49
  class="table-row-cell px-3 py-1.5 flex items-center bg-white transition-colors duration-75 truncate border-b border-gray-200"
53
50
  [ngClass]="{
54
51
  'text-purple-light cursor-default':
55
- !item.extras?.edit && !isDraftPage,
52
+ (canEditItem(item) | async) === false,
56
53
  'group-hover:text-main group-hover:bg-gray-50':
57
- item.extras?.edit || isDraftPage,
54
+ canEditItem(item) | async,
58
55
  }"
59
56
  >
60
57
  <ng-container
@@ -12,7 +12,13 @@ import { CommonModule } from '@angular/common'
12
12
  import { NgIconComponent, provideIcons } from '@ng-icons/core'
13
13
  import { iconoirNavArrowDown, iconoirNavArrowUp } from '@ng-icons/iconoir'
14
14
  import { TranslateModule } from '@ngx-translate/core'
15
+ import { marker } from '@biesbjerg/ngx-translate-extract-marker'
16
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
17
+ import { Observable, of } from 'rxjs'
15
18
 
19
+ marker('editor.record.lock.resourceType')
20
+ marker('editor.record.lock.harvested')
21
+ marker('editor.record.lock.owner')
16
22
  @Component({
17
23
  selector: 'gn-ui-interactive-table',
18
24
  templateUrl: './interactive-table.component.html',
@@ -27,6 +33,7 @@ export class InteractiveTableComponent {
27
33
  columns: QueryList<InteractiveTableColumnComponent>
28
34
 
29
35
  @Input() items: unknown[] = []
36
+ @Input() canEditItem: (item: unknown) => Observable<boolean> = () => of(true)
30
37
  @Input() isDraftPage = false
31
38
  @Output() itemClick = new EventEmitter<unknown>()
32
39
 
@@ -44,6 +51,19 @@ export class InteractiveTableComponent {
44
51
  }
45
52
  }
46
53
 
54
+ getItemTitle(item: CatalogRecord) {
55
+ if (!this.isDraftPage) {
56
+ if (item.kind !== 'dataset') {
57
+ return 'editor.record.lock.resourceType'
58
+ } else if (item.extras?.isHarvested) {
59
+ return 'editor.record.lock.harvested'
60
+ } else if (!item.extras?.edit) {
61
+ return 'editor.record.lock.owner'
62
+ }
63
+ }
64
+ return ''
65
+ }
66
+
47
67
  handleRowClick(item: unknown) {
48
68
  this.itemClick.emit(item)
49
69
  }
@@ -13,7 +13,7 @@
13
13
  <div
14
14
  *ngIf="showToggleButton"
15
15
  (click)="toggleDisplay()"
16
- class="text-secondary cursor-pointer pt-2.5"
16
+ class="text-primary cursor-pointer pt-2.5"
17
17
  data-cy="readMoreButton"
18
18
  >
19
19
  {{ (isExpanded ? 'ui.readLess' : 'ui.readMore') | translate }}
@@ -1,18 +1,30 @@
1
- <div class="flex flex-row gap-x-4 items-center">
1
+ <div class="flex flex-row gap-x-1 items-center">
2
2
  <gn-ui-button
3
3
  data-test="previousButton"
4
- type="outline"
4
+ type="light"
5
+ [extraClass]="
6
+ 'w-10 h-8 px-2 py-1 rounded-lg ' +
7
+ (!listComponent.isFirstPage
8
+ ? 'border border-gray-300'
9
+ : 'border border-gray-100')
10
+ "
5
11
  [disabled]="listComponent.isFirstPage"
6
12
  (buttonClick)="listComponent.goToPrevPage()"
7
13
  >
8
- <ng-icon name="matArrowBack"></ng-icon>
14
+ <ng-icon name="matArrowBackIos"></ng-icon>
9
15
  </gn-ui-button>
10
16
  <gn-ui-button
11
17
  data-test="nextButton"
12
- type="outline"
18
+ type="light"
19
+ [extraClass]="
20
+ 'w-10 h-8 px-2 py-1 rounded-lg ' +
21
+ (!listComponent.isLastPage
22
+ ? 'border border-gray-300'
23
+ : 'border border-gray-100')
24
+ "
13
25
  [disabled]="listComponent.isLastPage"
14
26
  (buttonClick)="listComponent.goToNextPage()"
15
27
  >
16
- <ng-icon name="matArrowForward"></ng-icon>
28
+ <ng-icon name="matArrowForwardIos"></ng-icon>
17
29
  </gn-ui-button>
18
30
  </div>
@@ -5,8 +5,8 @@ import {
5
5
  provideNgIconsConfig,
6
6
  } from '@ng-icons/core'
7
7
  import {
8
- matArrowBack,
9
- matArrowForward,
8
+ matArrowBackIos,
9
+ matArrowForwardIos,
10
10
  } from '@ng-icons/material-icons/baseline'
11
11
  import { Paginable } from '../paginable.interface'
12
12
  import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
@@ -18,7 +18,7 @@ import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
18
18
  standalone: true,
19
19
  imports: [ButtonComponent, NgIconComponent],
20
20
  providers: [
21
- provideIcons({ matArrowForward, matArrowBack }),
21
+ provideIcons({ matArrowBackIos, matArrowForwardIos }),
22
22
  provideNgIconsConfig({
23
23
  size: '0.875em',
24
24
  }),
@@ -0,0 +1,27 @@
1
+ <gn-ui-cell-popin
2
+ #popinRef
3
+ [activePopin]="isTextTruncated"
4
+ [scrollContainer]="scrollContainer"
5
+ [cdkScrollContainer]="cdkScrollContainer"
6
+ >
7
+ <div
8
+ cellContent
9
+ class="flex items-center justify-between w-full gap-2"
10
+ [class]="extraClass"
11
+ >
12
+ <span #textElement class="truncate py-3 px-2">
13
+ {{ text }}
14
+ </span>
15
+ <gn-ui-button
16
+ *ngIf="isTextTruncated"
17
+ type="outline"
18
+ extraClass="w-10 h-8 border rounded-lg mr-2"
19
+ (buttonClick)="popinRef.openOverlay()"
20
+ >
21
+ <ng-icon name="iconoirExpand" size="24"> </ng-icon>
22
+ </gn-ui-button>
23
+ </div>
24
+ <div popinContent class="sm:w-64 xs:w-32 py-4 pl-6 pr-9">
25
+ <p>{{ text }}</p>
26
+ </div>
27
+ </gn-ui-cell-popin>
@@ -0,0 +1,91 @@
1
+ import {
2
+ AfterViewInit,
3
+ ChangeDetectorRef,
4
+ Component,
5
+ ElementRef,
6
+ Input,
7
+ OnDestroy,
8
+ ViewChild,
9
+ NgZone,
10
+ } from '@angular/core'
11
+ import { CommonModule } from '@angular/common'
12
+ import { provideIcons, NgIconComponent } from '@ng-icons/core'
13
+ import { iconoirExpand } from '@ng-icons/iconoir'
14
+ import { TranslateModule } from '@ngx-translate/core'
15
+ import { MatButtonModule } from '@angular/material/button'
16
+ import {
17
+ CdkScrollable,
18
+ OverlayModule,
19
+ ViewportRuler,
20
+ ConnectedPosition,
21
+ } from '@angular/cdk/overlay'
22
+ import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
23
+ import { CellPopinComponent } from '../cell-popin/cell-popin.component'
24
+
25
+ @Component({
26
+ selector: 'gn-ui-truncated-text',
27
+ standalone: true,
28
+ imports: [
29
+ CommonModule,
30
+ TranslateModule,
31
+ MatButtonModule,
32
+ OverlayModule,
33
+ ButtonComponent,
34
+ CellPopinComponent,
35
+ NgIconComponent,
36
+ ],
37
+ providers: [provideIcons({ iconoirExpand })],
38
+ templateUrl: './truncated-text.component.html',
39
+ styles: [],
40
+ })
41
+ export class TruncatedTextComponent implements AfterViewInit, OnDestroy {
42
+ @Input() text = ''
43
+ @Input() extraClass = ''
44
+ @Input() scrollContainer!: ElementRef
45
+ @Input() cdkScrollContainer!: CdkScrollable
46
+
47
+ @ViewChild('textElement') textElement: ElementRef<HTMLElement>
48
+
49
+ isTextTruncated = false
50
+
51
+ private readonly resizeObserver: ResizeObserver
52
+ private readonly mutationObserver: MutationObserver
53
+
54
+ constructor(
55
+ private readonly cd: ChangeDetectorRef,
56
+ private readonly ngZone: NgZone
57
+ ) {
58
+ this.resizeObserver = new ResizeObserver(() => {
59
+ this.ngZone.run(() => this.checkTextTruncation())
60
+ })
61
+
62
+ this.mutationObserver = new MutationObserver(() => {
63
+ this.ngZone.run(() => {
64
+ this.checkTextTruncation()
65
+ })
66
+ })
67
+ }
68
+
69
+ ngAfterViewInit() {
70
+ const element = this.textElement.nativeElement
71
+ this.resizeObserver?.observe(element)
72
+ this.mutationObserver?.observe(element.parentElement, {
73
+ attributes: true,
74
+ childList: true,
75
+ subtree: true,
76
+ })
77
+ this.checkTextTruncation()
78
+ }
79
+
80
+ ngOnDestroy() {
81
+ this.resizeObserver?.disconnect()
82
+ this.mutationObserver?.disconnect()
83
+ }
84
+
85
+ private checkTextTruncation() {
86
+ const element = this.textElement.nativeElement
87
+
88
+ this.isTextTruncated = element.scrollWidth > element.clientWidth
89
+ this.cd.detectChanges()
90
+ }
91
+ }
@@ -1,17 +1,13 @@
1
1
  import { NgModule } from '@angular/core'
2
2
  import { CommonModule } from '@angular/common'
3
3
  import { TranslateModule } from '@ngx-translate/core'
4
+ import { NgIconComponent } from '@ng-icons/core'
4
5
  import { StickyHeaderComponent } from './sticky-header/sticky-header.component'
5
6
  import { AnchorLinkDirective } from './anchor-link/anchor-link.directive'
6
- import { NgIconComponent, provideNgIconsConfig } from '@ng-icons/core'
7
7
 
8
8
  @NgModule({
9
9
  imports: [CommonModule, TranslateModule.forChild(), NgIconComponent],
10
- providers: [
11
- provideNgIconsConfig({
12
- size: '0.9em',
13
- }),
14
- ],
10
+ providers: [],
15
11
  declarations: [StickyHeaderComponent, AnchorLinkDirective],
16
12
  exports: [StickyHeaderComponent, AnchorLinkDirective],
17
13
  })
@@ -3,3 +3,4 @@ export * from './lib/components/map-container/map-settings.token'
3
3
  export * from './lib/components/feature-detail/feature-detail.component'
4
4
  export * from './lib/components/map-legend/map-legend.component'
5
5
  export * from './lib/map-utils'
6
+ export * from './lib/components/spatial-extent/spatial-extent.component'
@@ -1,6 +1,6 @@
1
1
  <div *ngIf="feature" class="root">
2
- <div class="property" *ngFor="let propName of properties">
3
- <div>{{ propName }}</div>
4
- <div class="font-bold">{{ feature.properties[propName] }}</div>
2
+ <div class="property" *ngFor="let prop of properties | keyvalue">
3
+ <div>{{ prop.key }}</div>
4
+ <div class="font-bold">{{ prop.value }}</div>
5
5
  </div>
6
6
  </div>
@@ -1,6 +1,7 @@
1
1
  import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
2
  import { CommonModule } from '@angular/common'
3
3
  import type { Feature } from 'geojson'
4
+ import { DatasetFeatureCatalog } from '../../../../../../../libs/common/domain/src/lib/model/record'
4
5
 
5
6
  const geometryKeys = ['geometry', 'the_geom']
6
7
 
@@ -14,11 +15,34 @@ const geometryKeys = ['geometry', 'the_geom']
14
15
  })
15
16
  export class FeatureDetailComponent {
16
17
  @Input() feature: Feature
18
+ _featureAttributes = []
19
+ @Input() set featureCatalog(value: DatasetFeatureCatalog) {
20
+ if (value) this._featureAttributes = value.featureTypes[0].attributes
21
+ }
17
22
 
18
23
  get properties() {
19
24
  if (!this.feature) return []
20
- return Object.keys(this.feature.properties).filter(
21
- (prop) => !geometryKeys.includes(prop)
22
- )
25
+ return this.setProperties()
26
+ }
27
+
28
+ setProperties() {
29
+ const properties = Object.keys(this.feature.properties)
30
+ .filter((p) => !geometryKeys.includes(p))
31
+ .reduce((acc, p) => {
32
+ let key = p
33
+ if (this._featureAttributes.length) {
34
+ const matchingAttribute = this._featureAttributes.find(
35
+ (attr) => attr.name === p
36
+ )
37
+
38
+ if (matchingAttribute && matchingAttribute.code) {
39
+ key = matchingAttribute.code
40
+ }
41
+ }
42
+ acc[key] = this.feature.properties[p]
43
+ return acc
44
+ }, {})
45
+
46
+ return properties
23
47
  }
24
48
  }
@@ -0,0 +1,4 @@
1
+ <gn-ui-map-container
2
+ class="h-full w-full"
3
+ [context]="mapContext$ | async"
4
+ ></gn-ui-map-container>
@@ -1,27 +1,26 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
1
+ import { Component, Input } from '@angular/core'
2
2
  import { CommonModule } from '@angular/common'
3
3
  import { Geometry } from 'geojson'
4
4
  import GeoJSON, { GeoJSONFeatureCollection } from 'ol/format/GeoJSON'
5
- import { DatasetSpatialExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
6
5
  import { Polygon } from 'ol/geom'
7
6
  import {
8
7
  createViewFromLayer,
9
8
  MapContext,
10
9
  MapContextLayer,
11
10
  } from '@geospatial-sdk/core'
12
- import { MapContainerComponent } from '../../../../../../../../../libs/ui/map/src'
11
+ import { MapContainerComponent } from '../map-container/map-container.component'
13
12
  import { BehaviorSubject, Observable } from 'rxjs'
14
13
  import { switchMap } from 'rxjs/operators'
14
+ import { DatasetSpatialExtent } from '../../../../../../../libs/common/domain/src/lib/model/record'
15
15
 
16
16
  @Component({
17
- selector: 'gn-ui-form-field-map-container',
17
+ selector: 'gn-ui-spatial-extent',
18
18
  standalone: true,
19
19
  imports: [CommonModule, MapContainerComponent],
20
- templateUrl: './form-field-map-container.component.html',
21
- styleUrls: ['./form-field-map-container.component.css'],
22
- changeDetection: ChangeDetectionStrategy.OnPush,
20
+ templateUrl: './spatial-extent.component.html',
21
+ styleUrl: './spatial-extent.component.css',
23
22
  })
24
- export class FormFieldMapContainerComponent {
23
+ export class SpatialExtentComponent {
25
24
  @Input() set spatialExtents(value: DatasetSpatialExtent[]) {
26
25
  this.spatialExtents$.next(value)
27
26
  }
@@ -58,6 +57,7 @@ export class FormFieldMapContainerComponent {
58
57
  style: {
59
58
  'stroke-color': 'black',
60
59
  'stroke-width': 2,
60
+ 'fill-color': 'rgba(153, 153, 153, 0.3)',
61
61
  },
62
62
  }
63
63
  const view = await createViewFromLayer(layer)
@@ -16,5 +16,7 @@ export * from './lib/record-preview-text/record-preview-text.component'
16
16
  export * from './lib/record-preview-title/record-preview-title.component'
17
17
  export * from './lib/record-metric/record-metric.component'
18
18
  export * from './lib/results-list-item/results-list-item.component'
19
+ export * from './lib/results-hits-search-kind/results-hits-search-kind.component'
19
20
  export * from './lib/results-hits-number/results-hits-number.component'
20
21
  export * from './lib/results-table/results-table.component'
22
+ export * from './lib/results-table/action-menu/action-menu.component'