geonetwork-ui 2.2.0-dev.c15a456d → 2.2.0-dev.cbcafed5

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 (333) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +36 -2
  3. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.mjs +2 -1
  4. package/esm2022/libs/api/repository/src/lib/gn4/index.mjs +3 -1
  5. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +13 -26
  6. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  7. package/esm2022/libs/common/domain/src/lib/model/search/aggregation.model.mjs +1 -1
  8. package/esm2022/libs/common/domain/src/lib/model/search/field.model.mjs +2 -0
  9. package/esm2022/libs/common/domain/src/lib/model/search/filter.model.mjs +1 -1
  10. package/esm2022/libs/common/domain/src/lib/model/search/index.mjs +2 -1
  11. package/esm2022/libs/common/domain/src/lib/model/search/search.model.mjs +1 -1
  12. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -10
  13. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +4 -15
  14. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +5 -4
  15. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +5 -3
  16. package/esm2022/libs/feature/map/src/index.mjs +2 -1
  17. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +1 -1
  18. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +106 -0
  19. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +64 -0
  20. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +63 -0
  21. package/esm2022/libs/feature/map/src/lib/constant/index.mjs +2 -1
  22. package/esm2022/libs/feature/map/src/lib/constant/projections.mjs +2 -0
  23. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +26 -3
  24. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +93 -0
  25. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +40 -0
  26. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -3
  27. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +3 -1
  28. package/esm2022/libs/feature/map/src/lib/utils/index.mjs +1 -3
  29. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +60 -29
  30. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +29 -20
  31. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +2 -2
  32. package/esm2022/libs/feature/search/src/index.mjs +4 -1
  33. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +7 -4
  34. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +2 -6
  35. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +1 -1
  36. package/esm2022/libs/feature/search/src/lib/filter-geometry.token.mjs +4 -0
  37. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +7 -3
  38. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -0
  39. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +3 -3
  40. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +128 -0
  41. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +6 -4
  42. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
  43. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +4 -4
  44. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +1 -1
  45. package/esm2022/libs/ui/elements/src/index.mjs +4 -1
  46. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +3 -3
  47. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +27 -0
  48. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +17 -0
  49. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +10 -3
  50. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +12 -6
  51. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +9 -6
  52. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +3 -3
  53. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +7 -3
  54. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +15 -3
  55. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  56. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
  57. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  58. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +3 -3
  59. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +8 -5
  60. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +46 -0
  61. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +3 -3
  62. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +2 -2
  63. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -3
  64. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  65. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +2 -2
  66. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +36 -0
  67. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +37 -0
  68. package/esm2022/libs/ui/search/src/index.mjs +1 -2
  69. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +1 -1
  70. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +1 -1
  71. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +1 -1
  72. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +1 -1
  73. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +1 -1
  74. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +9 -10
  75. package/esm2022/libs/util/i18n/src/index.mjs +2 -2
  76. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +29 -13
  77. package/esm2022/libs/util/shared/src/lib/utils/fuzzy-filter.mjs +27 -0
  78. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
  79. package/esm2022/translations/de.json +104 -88
  80. package/esm2022/translations/en.json +40 -24
  81. package/esm2022/translations/es.json +19 -3
  82. package/esm2022/translations/fr.json +24 -8
  83. package/esm2022/translations/it.json +31 -15
  84. package/esm2022/translations/nl.json +19 -3
  85. package/esm2022/translations/pt.json +19 -3
  86. package/fesm2022/geonetwork-ui.mjs +1171 -649
  87. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  88. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +1 -0
  89. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  90. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  91. package/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.d.ts.map +1 -1
  92. package/libs/api/repository/src/lib/gn4/index.d.ts +2 -0
  93. package/libs/api/repository/src/lib/gn4/index.d.ts.map +1 -1
  94. package/libs/api/repository/src/lib/gn4/selection/selection.service.d.ts +4 -5
  95. package/libs/api/repository/src/lib/gn4/selection/selection.service.d.ts.map +1 -1
  96. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +10 -5
  97. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  98. package/libs/common/domain/src/lib/model/search/aggregation.model.d.ts +1 -1
  99. package/libs/common/domain/src/lib/model/search/aggregation.model.d.ts.map +1 -1
  100. package/libs/common/domain/src/lib/model/search/field.model.d.ts +2 -0
  101. package/libs/common/domain/src/lib/model/search/field.model.d.ts.map +1 -0
  102. package/libs/common/domain/src/lib/model/search/filter.model.d.ts +1 -1
  103. package/libs/common/domain/src/lib/model/search/filter.model.d.ts.map +1 -1
  104. package/libs/common/domain/src/lib/model/search/index.d.ts +1 -0
  105. package/libs/common/domain/src/lib/model/search/index.d.ts.map +1 -1
  106. package/libs/common/domain/src/lib/model/search/search.model.d.ts +2 -3
  107. package/libs/common/domain/src/lib/model/search/search.model.d.ts.map +1 -1
  108. package/libs/feature/catalog/src/lib/my-org/my-org.service.d.ts +0 -1
  109. package/libs/feature/catalog/src/lib/my-org/my-org.service.d.ts.map +1 -1
  110. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts +0 -1
  111. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  112. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +15 -2
  113. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  114. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +1 -1
  115. package/libs/feature/map/src/index.d.ts +1 -0
  116. package/libs/feature/map/src/index.d.ts.map +1 -1
  117. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +22 -0
  118. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -0
  119. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +22 -0
  120. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -0
  121. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +22 -0
  122. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -0
  123. package/libs/feature/map/src/lib/constant/index.d.ts +1 -0
  124. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  125. package/libs/feature/map/src/lib/constant/projections.d.ts.map +1 -0
  126. package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -12
  127. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  128. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +25 -0
  129. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -0
  130. package/libs/feature/map/src/lib/geocoding.service.d.ts +18 -0
  131. package/libs/feature/map/src/lib/geocoding.service.d.ts.map +1 -0
  132. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -0
  133. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  134. package/libs/feature/map/src/lib/utils/index.d.ts +0 -2
  135. package/libs/feature/map/src/lib/utils/index.d.ts.map +1 -1
  136. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +13 -11
  137. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  138. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +1 -3
  139. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  140. package/libs/feature/search/src/index.d.ts +3 -0
  141. package/libs/feature/search/src/index.d.ts.map +1 -1
  142. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +5 -4
  143. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  144. package/libs/feature/search/src/lib/feature-search.module.d.ts +0 -4
  145. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  146. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +3 -2
  147. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
  148. package/libs/feature/search/src/lib/filter-geometry.token.d.ts +4 -0
  149. package/libs/feature/search/src/lib/filter-geometry.token.d.ts.map +1 -0
  150. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +1 -1
  151. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  152. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -0
  153. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -0
  154. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +33 -0
  155. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
  156. package/libs/feature/search/src/lib/state/effects.d.ts.map +1 -1
  157. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -1
  158. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  159. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +1 -1
  160. package/libs/ui/elements/src/index.d.ts +3 -0
  161. package/libs/ui/elements/src/index.d.ts.map +1 -1
  162. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  163. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts +10 -0
  164. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -0
  165. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +8 -0
  166. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -0
  167. package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts +1 -0
  168. package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts.map +1 -1
  169. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +1 -0
  170. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  171. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +3 -1
  172. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  173. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +3 -2
  174. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
  175. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +13 -11
  176. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  177. package/libs/ui/inputs/src/index.d.ts +1 -0
  178. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  179. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
  180. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +13 -0
  181. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -0
  182. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +2 -1
  183. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  184. package/libs/ui/layout/src/index.d.ts +2 -0
  185. package/libs/ui/layout/src/index.d.ts.map +1 -1
  186. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +14 -0
  187. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts.map +1 -0
  188. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +15 -0
  189. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -0
  190. package/libs/ui/search/src/index.d.ts +0 -1
  191. package/libs/ui/search/src/index.d.ts.map +1 -1
  192. package/libs/ui/search/src/lib/ui-search.module.d.ts +15 -15
  193. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  194. package/libs/util/i18n/src/index.d.ts +1 -1
  195. package/libs/util/i18n/src/index.d.ts.map +1 -1
  196. package/libs/util/shared/src/lib/links/link-utils.d.ts +19 -7
  197. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  198. package/libs/util/shared/src/lib/utils/fuzzy-filter.d.ts +9 -0
  199. package/libs/util/shared/src/lib/utils/fuzzy-filter.d.ts.map +1 -0
  200. package/libs/util/shared/src/lib/utils/index.d.ts +1 -0
  201. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  202. package/package.json +4 -1
  203. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +3 -0
  204. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +43 -0
  205. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts +1 -0
  206. package/src/libs/api/repository/src/lib/gn4/index.ts +2 -0
  207. package/src/libs/api/repository/src/lib/gn4/selection/selection.service.ts +14 -38
  208. package/src/libs/common/domain/src/lib/index.ts +2 -0
  209. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +12 -7
  210. package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +1 -1
  211. package/src/libs/common/domain/src/lib/model/search/field.model.ts +1 -0
  212. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +1 -1
  213. package/src/libs/common/domain/src/lib/model/search/index.ts +1 -0
  214. package/src/libs/common/domain/src/lib/model/search/search.model.ts +2 -2
  215. package/src/libs/common/domain/src/lib/model/user/index.ts +1 -0
  216. package/src/libs/feature/catalog/src/lib/my-org/my-org.service.ts +4 -16
  217. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +3 -17
  218. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +8 -5
  219. package/src/libs/feature/editor/src/lib/record-form/record-form.component.ts +2 -1
  220. package/src/libs/feature/map/src/index.ts +1 -0
  221. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.css +0 -0
  222. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +21 -0
  223. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +107 -0
  224. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.css +0 -0
  225. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +37 -0
  226. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +64 -0
  227. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.css +0 -0
  228. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +55 -0
  229. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +63 -0
  230. package/src/libs/feature/map/src/lib/constant/index.ts +1 -0
  231. package/src/libs/feature/map/src/lib/feature-map.module.ts +14 -0
  232. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.css +0 -0
  233. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +39 -0
  234. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +99 -0
  235. package/src/libs/feature/map/src/lib/geocoding.service.ts +59 -0
  236. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +9 -3
  237. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +6 -0
  238. package/src/libs/feature/map/src/lib/utils/index.ts +0 -2
  239. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +85 -50
  240. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +18 -3
  241. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +1 -1
  242. package/src/libs/feature/search/src/index.ts +3 -0
  243. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +12 -4
  244. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -1
  245. package/src/libs/feature/search/src/lib/feature-search.module.ts +1 -10
  246. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +4 -4
  247. package/src/libs/feature/search/src/lib/filter-geometry.token.ts +7 -0
  248. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +9 -3
  249. package/src/libs/feature/search/src/lib/record-url.token.ts +4 -0
  250. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +1 -1
  251. package/src/libs/feature/search/src/lib/results-table/results-table.component.css +0 -0
  252. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +112 -0
  253. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +164 -0
  254. package/src/libs/feature/search/src/lib/state/effects.ts +5 -4
  255. package/src/libs/feature/search/src/lib/state/search.facade.ts +2 -1
  256. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -0
  257. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.ts +1 -1
  258. package/src/libs/ui/elements/src/index.ts +3 -0
  259. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +4 -1
  260. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.css +0 -0
  261. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +30 -0
  262. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +15 -0
  263. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +264 -0
  264. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.html +1 -0
  265. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +16 -0
  266. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +93 -27
  267. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +7 -0
  268. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +4 -0
  269. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +59 -32
  270. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +5 -0
  271. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +5 -5
  272. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +12 -4
  273. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
  274. package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +4 -0
  275. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +7 -0
  276. package/src/libs/ui/inputs/src/index.ts +1 -0
  277. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  278. package/src/libs/ui/inputs/src/lib/button/button.component.css +1 -1
  279. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.html +0 -1
  280. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  281. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +7 -4
  282. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +48 -0
  283. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +8 -3
  284. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +1 -0
  285. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
  286. package/src/libs/ui/layout/src/index.ts +2 -0
  287. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +1 -1
  288. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.css +0 -0
  289. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.html +1 -0
  290. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts +33 -0
  291. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +15 -0
  292. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +54 -0
  293. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +42 -0
  294. package/src/libs/ui/search/src/index.ts +0 -1
  295. package/src/libs/ui/search/src/lib/ui-search.module.ts +2 -3
  296. package/src/libs/util/i18n/src/index.ts +1 -1
  297. package/src/libs/util/shared/src/lib/links/link-utils.ts +34 -11
  298. package/src/libs/util/shared/src/lib/utils/fuzzy-filter.ts +32 -0
  299. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  300. package/translations/de.json +104 -88
  301. package/translations/en.json +40 -24
  302. package/translations/es.json +19 -3
  303. package/translations/fr.json +24 -8
  304. package/translations/it.json +31 -15
  305. package/translations/nl.json +19 -3
  306. package/translations/pt.json +19 -3
  307. package/translations/sk.json +19 -3
  308. package/esm2022/libs/feature/map/src/lib/utils/map-utils-wms.service.mjs +0 -55
  309. package/esm2022/libs/feature/map/src/lib/utils/projections.mjs +0 -2
  310. package/esm2022/libs/ui/search/src/lib/record-table/record-table.component.mjs +0 -145
  311. package/esm2022/libs/util/i18n/src/lib/testing/test.translate.loader.mjs +0 -24
  312. package/esm2022/libs/util/i18n/src/lib/testing/test.translate.module.mjs +0 -109
  313. package/esm2022/libs/util/i18n/src/lib/testing/translations.model.mjs +0 -6
  314. package/libs/feature/map/src/lib/utils/map-utils-wms.service.d.ts +0 -17
  315. package/libs/feature/map/src/lib/utils/map-utils-wms.service.d.ts.map +0 -1
  316. package/libs/feature/map/src/lib/utils/projections.d.ts.map +0 -1
  317. package/libs/ui/search/src/lib/record-table/record-table.component.d.ts +0 -31
  318. package/libs/ui/search/src/lib/record-table/record-table.component.d.ts.map +0 -1
  319. package/libs/util/i18n/src/lib/testing/test.translate.loader.d.ts +0 -17
  320. package/libs/util/i18n/src/lib/testing/test.translate.loader.d.ts.map +0 -1
  321. package/libs/util/i18n/src/lib/testing/test.translate.module.d.ts +0 -131
  322. package/libs/util/i18n/src/lib/testing/test.translate.module.d.ts.map +0 -1
  323. package/libs/util/i18n/src/lib/testing/translations.model.d.ts +0 -21
  324. package/libs/util/i18n/src/lib/testing/translations.model.d.ts.map +0 -1
  325. package/src/libs/feature/map/src/lib/utils/map-utils-wms.service.ts +0 -58
  326. package/src/libs/ui/search/src/lib/record-table/record-table.component.css +0 -7
  327. package/src/libs/ui/search/src/lib/record-table/record-table.component.html +0 -215
  328. package/src/libs/ui/search/src/lib/record-table/record-table.component.ts +0 -149
  329. package/src/libs/util/i18n/src/lib/testing/test.translate.loader.ts +0 -26
  330. package/src/libs/util/i18n/src/lib/testing/test.translate.module.ts +0 -235
  331. package/src/libs/util/i18n/src/lib/testing/translations.model.ts +0 -28
  332. /package/libs/feature/map/src/lib/{utils → constant}/projections.d.ts +0 -0
  333. /package/src/libs/feature/map/src/lib/{utils → constant}/projections.ts +0 -0
@@ -39,9 +39,10 @@ import * as i37 from "@angular/material/form-field";
39
39
  import * as i38 from "@angular/material/input";
40
40
  import * as i39 from "@angular/material/datepicker";
41
41
  import * as i40 from "@angular/material/core";
42
+ import * as i41 from "./editable-label/editable-label.directive";
42
43
  export declare class UiInputsModule {
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i13.FormFieldSimpleComponent, typeof i14.FormFieldArrayComponent, typeof i15.FormFieldObjectComponent, typeof i16.FormFieldRichComponent, typeof i17.FormFieldFileComponent, typeof i18.FormFieldSpatialExtentComponent, typeof i19.FormFieldTemporalExtentComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent], [typeof i25.CommonModule, typeof i26.TranslateModule, typeof i27.NgxDropzoneModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.TagInputModule, typeof i30.UtilSharedModule, typeof i31.MatAutocompleteModule, typeof i32.MatIconModule, typeof i33.UiWidgetsModule, typeof i34.OverlayModule, typeof i35.MatCheckboxModule, typeof i36.MatTooltipModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatDatepickerModule, typeof i40.MatNativeDateModule], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i13.FormFieldSimpleComponent, typeof i14.FormFieldArrayComponent, typeof i15.FormFieldObjectComponent, typeof i16.FormFieldRichComponent, typeof i17.FormFieldFileComponent, typeof i18.FormFieldSpatialExtentComponent, typeof i19.FormFieldTemporalExtentComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent], [typeof i25.CommonModule, typeof i26.TranslateModule, typeof i27.NgxDropzoneModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.TagInputModule, typeof i30.UtilSharedModule, typeof i31.MatAutocompleteModule, typeof i32.MatIconModule, typeof i33.UiWidgetsModule, typeof i34.OverlayModule, typeof i35.MatCheckboxModule, typeof i36.MatTooltipModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatDatepickerModule, typeof i40.MatNativeDateModule, typeof i41.EditableLabelDirective], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent, typeof i41.EditableLabelDirective]>;
45
46
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
46
47
  }
47
48
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,qBAkEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,qBAoEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -4,4 +4,6 @@ export * from './lib/carousel/carousel.component';
4
4
  export * from './lib/expandable-panel/expandable-panel.component';
5
5
  export * from './lib/sticky-header/sticky-header.component';
6
6
  export * from './lib/expandable-panel-button/expandable-panel-button.component';
7
+ export * from './lib/interactive-table/interactive-table.component';
8
+ export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component';
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iEAAiE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,qDAAqD,CAAA;AACnE,cAAc,qFAAqF,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InteractiveTableColumnComponent {
4
+ header: TemplateRef<unknown>;
5
+ cell: TemplateRef<unknown>;
6
+ grow: boolean;
7
+ sortable: boolean;
8
+ activeSort: 'asc' | 'desc' | null;
9
+ sortChange: EventEmitter<"desc" | "asc">;
10
+ handleSortChange(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveTableColumnComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveTableColumnComponent, "gn-ui-interactive-table-column", never, { "grow": { "alias": "grow"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "activeSort": { "alias": "activeSort"; "required": false; }; }, { "sortChange": "sortChange"; }, ["header", "cell"], never, true, never>;
13
+ }
14
+ //# sourceMappingURL=interactive-table-column.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interactive-table-column.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAGZ,WAAW,EACZ,MAAM,eAAe,CAAA;;AAGtB,qBAQa,+BAA+B;IAClB,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC9B,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAEvC,IAAI,UAAQ;IACZ,QAAQ,UAAQ;IAChB,UAAU,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAO;IACvC,UAAU,+BAAqC;IAEzD,gBAAgB;yCATL,+BAA+B;2CAA/B,+BAA+B;CAa3C"}
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, QueryList } from '@angular/core';
2
+ import { InteractiveTableColumnComponent } from './interactive-table-column/interactive-table-column.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InteractiveTableComponent {
5
+ columns: QueryList<InteractiveTableColumnComponent>;
6
+ items: unknown[];
7
+ itemClick: EventEmitter<unknown>;
8
+ get gridStyle(): {
9
+ 'grid-template-columns': string;
10
+ };
11
+ handleRowClick(item: unknown): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveTableComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveTableComponent, "gn-ui-interactive-table", never, { "items": { "alias": "items"; "required": false; }; }, { "itemClick": "itemClick"; }, ["columns"], never, true, never>;
14
+ }
15
+ //# sourceMappingURL=interactive-table.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAGZ,SAAS,EACV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,+BAA+B,EAAE,MAAM,+DAA+D,CAAA;;AAI/G,qBAQa,yBAAyB;IAEpC,OAAO,EAAE,SAAS,CAAC,+BAA+B,CAAC,CAAA;IAE1C,KAAK,EAAE,OAAO,EAAE,CAAK;IACpB,SAAS,wBAA8B;IAEjD,IAAI,SAAS;;MAQZ;IAED,cAAc,CAAC,IAAI,EAAE,OAAO;yCAjBjB,yBAAyB;2CAAzB,yBAAyB;CAoBrC"}
@@ -14,7 +14,6 @@ export * from './lib/record-preview-card/record-preview-card.component';
14
14
  export * from './lib/record-preview-list/record-preview-list.component';
15
15
  export * from './lib/record-preview-text/record-preview-text.component';
16
16
  export * from './lib/record-preview-title/record-preview-title.component';
17
- export * from './lib/record-table/record-table.component';
18
17
  export * from './lib/record-metric/record-metric.component';
19
18
  export * from './lib/results-list-item/results-list-item.component';
20
19
  export * from './lib/results-hits-number/results-hits-number.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA"}
@@ -10,23 +10,23 @@ import * as i8 from "./results-hits-number/results-hits-number.component";
10
10
  import * as i9 from "./results-list-item/results-list-item.component";
11
11
  import * as i10 from "./record-preview-feed/record-preview-feed.component";
12
12
  import * as i11 from "./record-preview-row/record-preview-row.component";
13
- import * as i12 from "./record-table/record-table.component";
14
- import * as i13 from "@angular/common";
15
- import * as i14 from "@ngx-translate/core";
16
- import * as i15 from "ngx-dropzone";
17
- import * as i16 from "./facets/facets.module";
18
- import * as i17 from "@angular/forms";
19
- import * as i18 from "ngx-chips";
20
- import * as i19 from "../../../../util/shared/src/lib/util-shared.module";
21
- import * as i20 from "../../../widgets/src/lib/ui-widgets.module";
22
- import * as i21 from "../../../inputs/src/lib/ui-inputs.module";
23
- import * as i22 from "../../../elements/src/lib/ui-elements.module";
24
- import * as i23 from "@angular/material/icon";
25
- import * as i24 from "@angular/material/checkbox";
26
- import * as i25 from "@angular/router";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@ngx-translate/core";
15
+ import * as i14 from "ngx-dropzone";
16
+ import * as i15 from "./facets/facets.module";
17
+ import * as i16 from "@angular/forms";
18
+ import * as i17 from "ngx-chips";
19
+ import * as i18 from "../../../../util/shared/src/lib/util-shared.module";
20
+ import * as i19 from "../../../widgets/src/lib/ui-widgets.module";
21
+ import * as i20 from "../../../inputs/src/lib/ui-inputs.module";
22
+ import * as i21 from "../../../elements/src/lib/ui-elements.module";
23
+ import * as i22 from "@angular/material/icon";
24
+ import * as i23 from "@angular/material/checkbox";
25
+ import * as i24 from "@angular/router";
26
+ import * as i25 from "../../../layout/src/lib/interactive-table/interactive-table.component";
27
27
  export declare class UiSearchModule {
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<UiSearchModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent, typeof i12.RecordTableComponent], [typeof i13.CommonModule, typeof i14.TranslateModule, typeof i15.NgxDropzoneModule, typeof i16.FacetsModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.TagInputModule, typeof i19.UtilSharedModule, typeof i20.UiWidgetsModule, typeof i21.UiInputsModule, typeof i22.UiElementsModule, typeof i23.MatIconModule, typeof i24.MatCheckboxModule, typeof i25.RouterLink], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i16.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent, typeof i12.RecordTableComponent]>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FacetsModule, typeof i16.FormsModule, typeof i16.ReactiveFormsModule, typeof i17.TagInputModule, typeof i18.UtilSharedModule, typeof i19.UiWidgetsModule, typeof i20.UiInputsModule, typeof i21.UiElementsModule, typeof i22.MatIconModule, typeof i23.MatCheckboxModule, typeof i24.RouterLink, typeof i25.InteractiveTableComponent], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i15.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent]>;
30
30
  static ɵinj: i0.ɵɵInjectorDeclaration<UiSearchModule>;
31
31
  }
32
32
  //# sourceMappingURL=ui-search.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,qBAiDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,qBAgDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -3,6 +3,6 @@ export * from './lib/i18n.constants';
3
3
  export * from './lib/i18n.interceptor';
4
4
  export * from './lib/lang.service';
5
5
  export * from './lib/file.translate.loader';
6
- export * from './lib/testing/test.translate.module';
7
6
  export * from './lib/embedded.translate.loader';
7
+ export * from './lib/translate.loader.utils';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/i18n/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qCAAqC,CAAA;AACnD,cAAc,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/i18n/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA"}
@@ -30,47 +30,59 @@ export declare const FORMATS: {
30
30
  readonly color: "#328556";
31
31
  readonly mimeTypes: readonly ["x-gis/x-shapefile"];
32
32
  };
33
+ readonly gml: {
34
+ readonly extensions: readonly ["gml"];
35
+ readonly priority: 5;
36
+ readonly color: "#c92bce";
37
+ readonly mimeTypes: readonly ["application/gml+xml", "text/xml; subtype=gml"];
38
+ };
33
39
  readonly kml: {
34
40
  readonly extensions: readonly ["kml", "kmz"];
35
- readonly priority: 5;
41
+ readonly priority: 6;
36
42
  readonly color: "#348009";
37
43
  readonly mimeTypes: readonly ["application/vnd.google-earth.kml+xml", "application/vnd.google-earth.kmz"];
38
44
  };
39
45
  readonly gpkg: {
40
46
  readonly extensions: readonly ["gpkg", "geopackage"];
41
- readonly priority: 6;
47
+ readonly priority: 7;
42
48
  readonly color: "#ea79ba";
43
49
  readonly mimeTypes: readonly ["application/geopackage+sqlite3"];
44
50
  };
45
51
  readonly zip: {
46
52
  readonly extensions: readonly ["zip", "tar.gz"];
47
- readonly priority: 7;
53
+ readonly priority: 8;
48
54
  readonly color: "#f2bb3a";
49
55
  readonly mimeTypes: readonly ["application/zip", "application/x-zip"];
50
56
  };
51
57
  readonly pdf: {
52
58
  readonly extensions: readonly ["pdf"];
53
- readonly priority: 8;
59
+ readonly priority: 9;
54
60
  readonly color: "#db544a";
55
61
  readonly mimeTypes: readonly ["application/pdf"];
56
62
  };
57
63
  readonly jpg: {
58
64
  readonly extensions: readonly ["jpg", "jpeg", "jfif", "pjpeg", "pjp"];
59
- readonly priority: 8;
65
+ readonly priority: 9;
60
66
  readonly color: "#673ab7";
61
67
  readonly mimeTypes: readonly ["image/jpg"];
62
68
  };
63
69
  readonly svg: {
64
70
  readonly extensions: readonly ["svg"];
65
- readonly priority: 9;
71
+ readonly priority: 10;
66
72
  readonly color: "#d98294";
67
73
  readonly mimeTypes: readonly ["image/svg+xml"];
68
74
  };
75
+ readonly dxf: {
76
+ readonly extensions: readonly ["dxf"];
77
+ readonly priority: 11;
78
+ readonly color: "#de630b";
79
+ readonly mimeTypes: readonly ["application/x-dxf", "image/x-dxf"];
80
+ };
69
81
  };
70
82
  export type FileFormat = keyof typeof FORMATS;
71
83
  export declare function getFormatPriority(linkFormat: FileFormat): number;
72
84
  export declare function getLinkPriority(link: DatasetDistribution): number;
73
- export declare function extensionToFormat(extension: string): FileFormat;
85
+ export declare function getFileFormatFromServiceOutput(serviceOutput: string): FileFormat | null;
74
86
  export declare function getFileFormat(link: DatasetDistribution): FileFormat;
75
87
  export declare function isFormatInQueryParam(link: DatasetDistribution, alias: string): boolean;
76
88
  export declare function mimeTypeToFormat(mimeType: string): FileFormat;
@@ -1 +1 @@
1
- {"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;AAI/F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CAEjE;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,UAAU,CAO/D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,mBAAmB,GAAG,UAAU,CAcnE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,UAAU,GACjB,OAAO,CAMT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CA0B9D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
1
+ {"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;AAI/F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CAEjE;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,mBAAmB,GAAG,UAAU,CAcnE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,UAAU,GACjB,OAAO,CAMT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CA0B9D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
@@ -0,0 +1,9 @@
1
+ type FuzzyFilter = (input: string) => boolean;
2
+ /**
3
+ * This creates a filter function based on a pattern (typically a user-input
4
+ * search text).
5
+ * @param pattern
6
+ */
7
+ export declare function createFuzzyFilter(pattern: string): FuzzyFilter;
8
+ export {};
9
+ //# sourceMappingURL=fuzzy-filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fuzzy-filter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/fuzzy-filter.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;AAkB7C;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAQ9D"}
@@ -5,4 +5,5 @@ export * from './geojson';
5
5
  export * from './sort-by';
6
6
  export * from './url';
7
7
  export * from './event';
8
+ export * from './fuzzy-filter';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.2.0-dev.c15a456d",
3
+ "version": "2.2.0-dev.cbcafed5",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -48,12 +48,14 @@
48
48
  "dependencies": {
49
49
  "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
50
50
  "@camptocamp/ogc-client": "^0.4.0",
51
+ "@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
51
52
  "@ltd/j-toml": "~1.35.2",
52
53
  "@messageformat/core": "^3.0.1",
53
54
  "@nx/angular": "16.6.0",
54
55
  "@rgrove/parse-xml": "~4.0.1",
55
56
  "alasql": "^3.1.0",
56
57
  "axios": "^1.6.0",
58
+ "basiclightbox": "^5.0.4",
57
59
  "chart.js": "^4.2.0",
58
60
  "chroma-js": "^2.1.2",
59
61
  "date-fns": "^2.29.3",
@@ -62,6 +64,7 @@
62
64
  "embla-carousel": "^8.0.0-rc14",
63
65
  "express": "^4.17.1",
64
66
  "geojson-validation": "^1.0.2",
67
+ "marked": "^11.1.1",
65
68
  "moment": "^2.29.4",
66
69
  "ng-table-virtual-scroll": "^1.4.1",
67
70
  "ngx-chips": "3.0.0",
@@ -41,6 +41,9 @@ export const toDate = (field) => new Date(field)
41
41
  export const getFirstValue = (field) =>
42
42
  Array.isArray(field) ? field[0] : field
43
43
 
44
+ export const getArrayItem = (field, index) =>
45
+ Array.isArray(field) && field[index] !== undefined ? field[index] : null
46
+
44
47
  export const getAsArray = (field) =>
45
48
  Array.isArray(field) ? field : field !== null ? [field] : []
46
49
 
@@ -1,4 +1,5 @@
1
1
  import {
2
+ getArrayItem,
2
3
  getAsArray,
3
4
  getAsUrl,
4
5
  getFirstValue,
@@ -22,6 +23,7 @@ import {
22
23
  DatasetDistributionType,
23
24
  DatasetDownloadDistribution,
24
25
  DatasetServiceDistribution,
26
+ DatasetSpatialExtent,
25
27
  OnlineLinkResource,
26
28
  } from '../../../../../../libs/common/domain/src/lib/model/record'
27
29
  import { matchProtocol } from '../common/distribution.mapper'
@@ -258,6 +260,47 @@ export class Gn4FieldMapper {
258
260
  kind,
259
261
  }
260
262
  },
263
+ geom: (output, source) => {
264
+ const geoms = getAsArray(selectField(source, 'geom'))
265
+ const shapes = getAsArray(selectField(source, 'shape'))
266
+ const extentDescriptions = getAsArray(
267
+ selectField(source, 'extentDescriptionObject')
268
+ )
269
+ const spatialExtents = getAsArray(selectField(source, 'spatialExtents'))
270
+ return {
271
+ ...output,
272
+ spatialExtents: [
273
+ ...spatialExtents,
274
+ ...geoms.map((geom, index) => {
275
+ const description = selectTranslatedValue(
276
+ getArrayItem(extentDescriptions, index),
277
+ this.lang3
278
+ )
279
+ const geometry = shapes[index] ?? geom
280
+ return {
281
+ ...(description !== null ? { description } : null),
282
+ geometry,
283
+ } as DatasetSpatialExtent
284
+ }),
285
+ ],
286
+ }
287
+ },
288
+ resourceTemporalDateRange: (output, source) => {
289
+ const ranges = getAsArray(
290
+ selectField(source, 'resourceTemporalDateRange')
291
+ )
292
+ return {
293
+ ...output,
294
+ temporalExtents: ranges.map((range) => {
295
+ const start = selectField(range, 'gte')
296
+ const end = selectField(range, 'lte')
297
+ return {
298
+ ...(start !== null ? { start: toDate(start) } : null),
299
+ ...(end !== null ? { end: toDate(end) } : null),
300
+ }
301
+ }),
302
+ }
303
+ },
261
304
  }
262
305
 
263
306
  private genericField = (output) => output
@@ -34,6 +34,7 @@ export class Gn4MetadataMapper extends MetadataBaseMapper<Gn4Record> {
34
34
  useLimitations: [],
35
35
  spatialExtents: [],
36
36
  temporalExtents: [],
37
+ overviews: [],
37
38
  }
38
39
  const record: CatalogRecord = Object.keys(_source).reduce(
39
40
  (prev, fieldName) =>
@@ -6,3 +6,5 @@ export * from './auth'
6
6
  export * from './favorites/favorites.service'
7
7
  export * from './selection/selection.service'
8
8
  export * from './gn4.provider'
9
+ export * from './platform/gn4-platform.service'
10
+ export * from './platform/gn4-platform.mapper'
@@ -1,7 +1,7 @@
1
1
  import { Injectable } from '@angular/core'
2
2
  import { CatalogRecord } from '../../../../../../../libs/common/domain/src/lib/model/record'
3
3
  import { SelectionsApiService } from '../../../../../../../libs/data-access/gn4/src'
4
- import { BehaviorSubject, Observable, Subscription, map, tap } from 'rxjs'
4
+ import { BehaviorSubject, firstValueFrom } from 'rxjs'
5
5
 
6
6
  const BUCKET_ID = 'gnui'
7
7
 
@@ -12,7 +12,6 @@ export class SelectionService {
12
12
  selectedRecordsIdentifiers$: BehaviorSubject<string[]> = new BehaviorSubject(
13
13
  []
14
14
  )
15
- subscription: Subscription
16
15
 
17
16
  constructor(private selectionsApi: SelectionsApiService) {
18
17
  this.selectionsApi.get(BUCKET_ID).subscribe((selectedIds) => {
@@ -33,48 +32,25 @@ export class SelectionService {
33
32
  this.selectedRecordsIdentifiers$.next(filtered)
34
33
  }
35
34
 
36
- selectRecords(records: CatalogRecord[]): Observable<void> {
37
- const newIds = []
38
- records.map((record) => {
39
- newIds.push(record.uniqueIdentifier)
35
+ selectRecords(records: CatalogRecord[]) {
36
+ const newIds = records.map((record) => record.uniqueIdentifier)
37
+ this.selectionsApi.add(BUCKET_ID, newIds).subscribe(() => {
38
+ this.addIdsToSelected(newIds)
40
39
  })
41
- const apiResponse = this.selectionsApi.add(BUCKET_ID, newIds)
42
- return apiResponse.pipe(
43
- tap(() => {
44
- this.addIdsToSelected(newIds)
45
- }),
46
- map(() => undefined)
47
- )
48
40
  }
49
41
 
50
- deselectRecords(records: CatalogRecord[]): Observable<void> {
51
- const idsToBeRemoved = []
52
- records.map((record) => {
53
- idsToBeRemoved.push(record.uniqueIdentifier)
42
+ deselectRecords(records: CatalogRecord[]) {
43
+ const idsToBeRemoved = records.map((record) => record.uniqueIdentifier)
44
+ this.selectionsApi.clear(BUCKET_ID, idsToBeRemoved).subscribe(() => {
45
+ this.removeIdsFromSelected(idsToBeRemoved)
54
46
  })
55
- const apiResponse = this.selectionsApi.clear(BUCKET_ID, idsToBeRemoved)
56
- return apiResponse.pipe(
57
- tap(() => {
58
- this.removeIdsFromSelected(idsToBeRemoved)
59
- }),
60
- map(() => undefined)
61
- )
62
47
  }
63
48
 
64
- clearSelection(): Observable<void> {
65
- const currentSelectedResponse = this.selectionsApi.get(BUCKET_ID)
66
- let currentSelection
67
- this.subscription = currentSelectedResponse.subscribe((value) => {
68
- currentSelection = [...value]
49
+ async clearSelection() {
50
+ const response = await firstValueFrom(this.selectionsApi.get(BUCKET_ID))
51
+ const currentSelection = Array.from(response)
52
+ this.selectionsApi.clear(BUCKET_ID, currentSelection).subscribe(() => {
53
+ this.removeIdsFromSelected(currentSelection)
69
54
  })
70
- this.selectionsApi.clear(BUCKET_ID, currentSelection)
71
- const apiResponse = this.selectionsApi.clear(BUCKET_ID, currentSelection)
72
-
73
- return apiResponse.pipe(
74
- tap(() => {
75
- this.removeIdsFromSelected(currentSelection)
76
- }),
77
- map(() => undefined)
78
- )
79
55
  }
80
56
  }
@@ -0,0 +1,2 @@
1
+ export * from './organizations.service.interface'
2
+ export * from './platform.service.interface'
@@ -1,6 +1,7 @@
1
1
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
2
- import { Individual } from './contact.model'
3
- import { Organization } from './organization.model'
2
+ import type { Individual } from './contact.model'
3
+ import type { Organization } from './organization.model'
4
+ import type { Geometry } from 'geojson'
4
5
 
5
6
  type Uuid = string
6
7
 
@@ -122,6 +123,7 @@ export interface DatasetDownloadDistribution {
122
123
  // textEncoding?: string
123
124
  name?: string
124
125
  description?: string
126
+ accessServiceProtocol?: ServiceProtocol
125
127
  }
126
128
 
127
129
  export interface OnlineLinkResource {
@@ -145,13 +147,16 @@ export interface GraphicOverview {
145
147
  }
146
148
 
147
149
  export interface DatasetSpatialExtent {
148
- geometry: unknown // GeoJSON
150
+ geometry: Geometry
149
151
  description?: string
150
152
  }
151
153
 
154
+ /**
155
+ * At least a start or an end date should be provided
156
+ */
152
157
  export interface DatasetTemporalExtent {
153
- start: Date
154
- end: Date
158
+ start?: Date
159
+ end?: Date
155
160
  description?: string
156
161
  }
157
162
 
@@ -163,8 +168,8 @@ export interface DatasetRecord extends BaseRecord {
163
168
  datasetUpdated?: Date
164
169
  lineage: string // Explanation of the origin of this record (e.g: how, why)"
165
170
  distributions: Array<DatasetDistribution>
166
- spatialExtents: Array<DatasetSpatialExtent> // not handled yet
167
- temporalExtents: Array<DatasetTemporalExtent> // not handled yet
171
+ spatialExtents: Array<DatasetSpatialExtent>
172
+ temporalExtents: Array<DatasetTemporalExtent>
168
173
  spatialRepresentation?: SpatialRepresentationType
169
174
  }
170
175
 
@@ -1,4 +1,4 @@
1
- import { FieldName } from './search.model'
1
+ import { FieldName } from './field.model'
2
2
  import { FieldFilters } from './filter.model'
3
3
 
4
4
  export interface TermsAggregationParams {
@@ -0,0 +1 @@
1
+ export type FieldName = string
@@ -1,4 +1,4 @@
1
- import { FieldName } from './search.model'
1
+ import { FieldName } from './field.model'
2
2
 
3
3
  export type FieldFilterByValues = Record<string, boolean>
4
4
  export type FieldFilterByExpression = string | number
@@ -2,3 +2,4 @@ export * from './aggregation.model'
2
2
  export * from './filter.model'
3
3
  export * from './search.model'
4
4
  export * from './sort-by.model'
5
+ export * from './field.model'
@@ -1,10 +1,10 @@
1
1
  import { FieldFilters } from './filter.model'
2
2
  import { CatalogRecord } from '../record'
3
3
  import { Geometry } from 'geojson'
4
+ import { FieldName } from './field.model'
4
5
 
5
- type FieldSort = ['desc' | 'asc', FieldName]
6
+ export type FieldSort = ['desc' | 'asc', FieldName]
6
7
  export type SortByField = FieldSort | FieldSort[] // several sort criteria can be used!
7
- export type FieldName = string
8
8
 
9
9
  export interface SearchParams {
10
10
  filters?: FieldFilters
@@ -0,0 +1 @@
1
+ export * from './user.model'
@@ -1,8 +1,9 @@
1
1
  import { Injectable } from '@angular/core'
2
2
  import { OrganizationsServiceInterface } from '../../../../../../libs/common/domain/src/lib/organizations.service.interface'
3
- import { BehaviorSubject, combineLatest, map, Observable } from 'rxjs'
3
+ import { combineLatest, map, Observable } from 'rxjs'
4
4
  import { UserModel } from '../../../../../../libs/common/domain/src/lib/model/user/user.model'
5
5
  import { PlatformServiceInterface } from '../../../../../../libs/common/domain/src/lib/platform.service.interface'
6
+ import { shareReplay } from 'rxjs/operators'
6
7
 
7
8
  @Injectable({
8
9
  providedIn: 'root',
@@ -16,20 +17,6 @@ export class MyOrgService {
16
17
  userList: UserModel[]
17
18
  }>
18
19
 
19
- private myOrgDataSubject = new BehaviorSubject<{
20
- orgName: string
21
- logoUrl: string
22
- recordCount: number
23
- userCount: number
24
- userList: UserModel[]
25
- }>({
26
- orgName: '',
27
- logoUrl: '',
28
- recordCount: 0,
29
- userCount: 0,
30
- userList: [],
31
- })
32
-
33
20
  constructor(
34
21
  private platformService: PlatformServiceInterface,
35
22
  private orgService: OrganizationsServiceInterface
@@ -55,7 +42,8 @@ export class MyOrgService {
55
42
  userList,
56
43
  userCount,
57
44
  }
58
- })
45
+ }),
46
+ shareReplay(1)
59
47
  )
60
48
  }
61
49
  }