geonetwork-ui 2.3.0-dev.ff2a9db7 → 2.4.0-dev.27089d81

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 (589) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +4 -4
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +4 -4
  3. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +4 -4
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/index.mjs +2 -1
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +2 -0
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +2 -2
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +9 -7
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +22 -7
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +14 -3
  11. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  12. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +4 -4
  13. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -4
  14. package/esm2022/libs/api/repository/src/lib/gn4/favorites/favorites.service.mjs +4 -4
  15. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +68 -11
  16. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +5 -4
  17. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +6 -4
  18. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +15 -7
  19. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +36 -16
  20. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +4 -4
  21. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +4 -4
  22. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  23. package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
  24. package/esm2022/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.mjs +1 -1
  25. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  26. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  27. package/esm2022/libs/data-access/gn4/src/openapi/api/atom.api.service.mjs +4 -4
  28. package/esm2022/libs/data-access/gn4/src/openapi/api/customstyle.api.service.mjs +4 -4
  29. package/esm2022/libs/data-access/gn4/src/openapi/api/formatters.api.service.mjs +4 -4
  30. package/esm2022/libs/data-access/gn4/src/openapi/api/groups.api.service.mjs +4 -4
  31. package/esm2022/libs/data-access/gn4/src/openapi/api/harvesters.api.service.mjs +4 -4
  32. package/esm2022/libs/data-access/gn4/src/openapi/api/identifiers.api.service.mjs +4 -4
  33. package/esm2022/libs/data-access/gn4/src/openapi/api/languages.api.service.mjs +4 -4
  34. package/esm2022/libs/data-access/gn4/src/openapi/api/links.api.service.mjs +4 -4
  35. package/esm2022/libs/data-access/gn4/src/openapi/api/logos.api.service.mjs +4 -4
  36. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservers.api.service.mjs +4 -4
  37. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservices.api.service.mjs +4 -4
  38. package/esm2022/libs/data-access/gn4/src/openapi/api/me.api.service.mjs +4 -4
  39. package/esm2022/libs/data-access/gn4/src/openapi/api/operations.api.service.mjs +4 -4
  40. package/esm2022/libs/data-access/gn4/src/openapi/api/pages.api.service.mjs +4 -4
  41. package/esm2022/libs/data-access/gn4/src/openapi/api/processes.api.service.mjs +4 -4
  42. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +5 -5
  43. package/esm2022/libs/data-access/gn4/src/openapi/api/regions.api.service.mjs +4 -4
  44. package/esm2022/libs/data-access/gn4/src/openapi/api/registries.api.service.mjs +4 -4
  45. package/esm2022/libs/data-access/gn4/src/openapi/api/related.api.service.mjs +4 -4
  46. package/esm2022/libs/data-access/gn4/src/openapi/api/search.api.service.mjs +4 -4
  47. package/esm2022/libs/data-access/gn4/src/openapi/api/selections.api.service.mjs +4 -4
  48. package/esm2022/libs/data-access/gn4/src/openapi/api/site.api.service.mjs +4 -4
  49. package/esm2022/libs/data-access/gn4/src/openapi/api/sources.api.service.mjs +4 -4
  50. package/esm2022/libs/data-access/gn4/src/openapi/api/standards.api.service.mjs +4 -4
  51. package/esm2022/libs/data-access/gn4/src/openapi/api/status.api.service.mjs +4 -4
  52. package/esm2022/libs/data-access/gn4/src/openapi/api/tags.api.service.mjs +4 -4
  53. package/esm2022/libs/data-access/gn4/src/openapi/api/tools.api.service.mjs +4 -4
  54. package/esm2022/libs/data-access/gn4/src/openapi/api/ui.api.service.mjs +4 -4
  55. package/esm2022/libs/data-access/gn4/src/openapi/api/userfeedback.api.service.mjs +4 -4
  56. package/esm2022/libs/data-access/gn4/src/openapi/api/users.api.service.mjs +4 -4
  57. package/esm2022/libs/data-access/gn4/src/openapi/api/usersearches.api.service.mjs +4 -4
  58. package/esm2022/libs/data-access/gn4/src/openapi/api/userselections.api.service.mjs +4 -4
  59. package/esm2022/libs/data-access/gn4/src/openapi/api.module.mjs +5 -5
  60. package/esm2022/libs/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
  61. package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +5 -5
  62. package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
  63. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +5 -5
  64. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -4
  65. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +7 -7
  66. package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
  67. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -4
  68. package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +4 -4
  69. package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +4 -4
  70. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +4 -4
  71. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +7 -7
  72. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +11 -8
  73. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -4
  74. package/esm2022/libs/feature/dataviz/src/lib/figure/figure.service.mjs +4 -4
  75. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +4 -4
  76. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +17 -5
  77. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
  78. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  79. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +17 -7
  80. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +9 -6
  81. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +6 -2
  82. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +4 -2
  83. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +4 -4
  84. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +4 -4
  85. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +57 -0
  86. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +4 -4
  87. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +4 -4
  88. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +4 -4
  89. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +4 -4
  90. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +4 -4
  91. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
  92. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +17 -0
  93. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +17 -0
  94. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +105 -0
  95. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +67 -53
  96. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +24 -44
  97. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +5 -2
  98. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -4
  99. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +4 -4
  100. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +4 -4
  101. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +4 -4
  102. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +7 -6
  103. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +15 -1
  104. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +29 -43
  105. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +4 -4
  106. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +4 -4
  107. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +4 -4
  108. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +4 -4
  109. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +4 -4
  110. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +4 -4
  111. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +4 -4
  112. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +4 -4
  113. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +4 -4
  114. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +4 -4
  115. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +5 -5
  116. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +4 -4
  117. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +4 -4
  118. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +4 -4
  119. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +4 -4
  120. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +4 -4
  121. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +4 -4
  122. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +4 -4
  123. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +1 -1
  124. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +33 -13
  125. package/esm2022/libs/feature/map/src/lib/style/map-style.service.mjs +4 -4
  126. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -6
  127. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +5 -5
  128. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +4 -4
  129. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +4 -4
  130. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +4 -4
  131. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +4 -4
  132. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +4 -4
  133. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +4 -4
  134. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +4 -4
  135. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +11 -8
  136. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +19 -12
  137. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +5 -5
  138. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +29 -7
  139. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +1 -3
  140. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
  141. package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +4 -4
  142. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  143. package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +5 -5
  144. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +12 -5
  145. package/esm2022/libs/feature/router/src/lib/default/services/router-search.service.mjs +4 -4
  146. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +4 -4
  147. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +11 -4
  148. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  149. package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +4 -4
  150. package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +5 -5
  151. package/esm2022/libs/feature/search/src/lib/facets/facets.service.mjs +4 -4
  152. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
  153. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +11 -8
  154. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +4 -4
  155. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +5 -5
  156. package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +4 -4
  157. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +4 -4
  158. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +4 -4
  159. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +6 -6
  160. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +49 -0
  161. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +4 -4
  162. package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +4 -4
  163. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +4 -4
  164. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -5
  165. package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
  166. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -4
  167. package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
  168. package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +4 -4
  169. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +4 -4
  170. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +7 -7
  171. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -4
  172. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -4
  173. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +9 -6
  174. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +4 -4
  175. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +7 -10
  176. package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +4 -4
  177. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +5 -5
  178. package/esm2022/libs/ui/elements/src/index.mjs +4 -4
  179. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +4 -4
  180. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -4
  181. package/esm2022/libs/ui/elements/src/lib/content-ghost/content-ghost.component.mjs +4 -4
  182. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +4 -4
  183. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
  184. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +32 -0
  185. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +4 -4
  186. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +4 -4
  187. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -4
  188. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +4 -4
  189. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -4
  190. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -4
  191. package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +4 -4
  192. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +8 -9
  193. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +4 -4
  194. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +4 -4
  195. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +4 -4
  196. package/esm2022/libs/ui/elements/src/lib/pagination/pagination.component.mjs +4 -4
  197. package/esm2022/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.mjs +4 -4
  198. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +9 -10
  199. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +26 -7
  200. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  201. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -4
  202. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +16 -18
  203. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +4 -4
  204. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -4
  205. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +4 -4
  206. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  207. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +61 -28
  208. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +28 -0
  209. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +4 -4
  210. package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +4 -4
  211. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -4
  212. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +4 -4
  213. package/esm2022/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.mjs +4 -4
  214. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +6 -6
  215. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +19 -13
  216. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +4 -4
  217. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +4 -4
  218. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -4
  219. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +4 -4
  220. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +4 -4
  221. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +4 -4
  222. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +4 -4
  223. package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +4 -4
  224. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +4 -4
  225. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +4 -4
  226. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +4 -4
  227. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +4 -4
  228. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +14 -13
  229. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +4 -4
  230. package/esm2022/libs/ui/layout/src/index.mjs +2 -1
  231. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +4 -4
  232. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +4 -4
  233. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +4 -4
  234. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +4 -4
  235. package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +4 -4
  236. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -4
  237. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +4 -4
  238. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +4 -4
  239. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
  240. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -4
  241. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +5 -5
  242. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +4 -4
  243. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +4 -4
  244. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +5 -5
  245. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  246. package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +7 -7
  247. package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +7 -7
  248. package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +4 -4
  249. package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +5 -5
  250. package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +4 -4
  251. package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +4 -4
  252. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +4 -4
  253. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +4 -4
  254. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +4 -4
  255. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -4
  256. package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +4 -4
  257. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +4 -4
  258. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +4 -4
  259. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +4 -4
  260. package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +4 -4
  261. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +120 -0
  262. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +5 -5
  263. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  264. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +4 -4
  265. package/esm2022/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.mjs +4 -4
  266. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +7 -5
  267. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +4 -4
  268. package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +4 -4
  269. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +4 -4
  270. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -15
  271. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
  272. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  273. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  274. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
  275. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +4 -4
  276. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +5 -5
  277. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +4 -4
  278. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -4
  279. package/esm2022/libs/util/shared/src/lib/services/log.service.mjs +4 -4
  280. package/esm2022/libs/util/shared/src/lib/services/proxy.service.mjs +4 -4
  281. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +4 -4
  282. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +5 -5
  283. package/esm2022/translations/de.json +28 -3
  284. package/esm2022/translations/en.json +28 -3
  285. package/esm2022/translations/es.json +28 -3
  286. package/esm2022/translations/fr.json +28 -3
  287. package/esm2022/translations/it.json +28 -3
  288. package/esm2022/translations/nl.json +28 -3
  289. package/esm2022/translations/pt.json +28 -3
  290. package/fesm2022/geonetwork-ui.mjs +2382 -1701
  291. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  292. package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts +1 -0
  293. package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts.map +1 -1
  294. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +31 -0
  295. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -0
  296. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +2 -2
  297. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  298. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +1 -1
  299. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  300. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +7 -3
  301. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  302. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts +1 -1
  303. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -1
  304. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +5 -3
  305. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  306. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +16 -3
  307. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  308. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  309. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  310. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +3 -3
  311. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  312. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +8 -5
  313. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  314. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +7 -10
  315. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  316. package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
  317. package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
  318. package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts +12 -5
  319. package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts.map +1 -1
  320. package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -3
  321. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  322. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +26 -1
  323. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  324. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +6 -6
  325. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  326. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
  327. package/libs/feature/catalog/src/index.d.ts +1 -0
  328. package/libs/feature/catalog/src/index.d.ts.map +1 -1
  329. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  330. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  331. package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
  332. package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
  333. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +2 -1
  334. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
  335. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +2 -1
  336. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  337. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +5 -0
  338. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  339. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  340. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  341. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +10 -8
  342. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  343. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +10 -0
  344. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  345. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +2 -0
  346. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  347. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +25 -0
  348. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -0
  349. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +8 -0
  350. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +1 -0
  351. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +8 -0
  352. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +1 -0
  353. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +31 -0
  354. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -0
  355. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +6 -6
  356. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
  357. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +7 -11
  358. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  359. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +4 -1
  360. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  361. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  362. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  363. package/libs/feature/editor/src/lib/services/editor.service.d.ts +6 -9
  364. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  365. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +6 -0
  366. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
  367. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -1
  368. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  369. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  370. package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -1
  371. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  372. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
  373. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  374. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  375. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +5 -2
  376. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  377. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  378. package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
  379. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  380. package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
  381. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  382. package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
  383. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  384. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
  385. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  386. package/libs/feature/search/src/index.d.ts +1 -1
  387. package/libs/feature/search/src/index.d.ts.map +1 -1
  388. package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
  389. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  390. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  391. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +25 -0
  392. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -0
  393. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  394. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  395. package/libs/feature/search/src/lib/state/selectors.d.ts +1 -0
  396. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  397. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
  398. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +2 -1
  399. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
  400. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
  401. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  402. package/libs/ui/elements/src/index.d.ts +3 -3
  403. package/libs/ui/elements/src/index.d.ts.map +1 -1
  404. package/libs/ui/elements/src/lib/error/error.component.d.ts +18 -0
  405. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -0
  406. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  407. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
  408. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  409. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +22 -0
  410. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  411. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +19 -19
  412. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  413. package/libs/ui/inputs/src/index.d.ts +1 -0
  414. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  415. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +7 -4
  416. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  417. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts +11 -0
  418. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -0
  419. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  420. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +4 -4
  421. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  422. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -35
  423. package/libs/ui/layout/src/index.d.ts +1 -0
  424. package/libs/ui/layout/src/index.d.ts.map +1 -1
  425. package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
  426. package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
  427. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  428. package/libs/ui/search/src/index.d.ts +1 -0
  429. package/libs/ui/search/src/index.d.ts.map +1 -1
  430. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +30 -0
  431. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
  432. package/libs/ui/widgets/src/index.d.ts +0 -1
  433. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  434. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
  435. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  436. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -12
  437. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  438. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  439. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  440. package/libs/util/app-config/src/lib/model.d.ts +1 -0
  441. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  442. package/package.json +2 -2
  443. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +9 -1
  444. package/src/libs/api/metadata-converter/src/lib/gn4/types/index.ts +1 -0
  445. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +31 -0
  446. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +3 -3
  447. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +35 -31
  448. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +69 -17
  449. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts +1 -1
  450. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +73 -15
  451. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +158 -7
  452. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
  453. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
  454. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +25 -4
  455. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +70 -21
  456. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +7 -12
  457. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
  458. package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +13 -6
  459. package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -3
  460. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +39 -3
  461. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +28 -0
  462. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +219 -0
  463. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +9 -9
  464. package/src/libs/data-access/gn4/src/openapi/model/user.api.model.ts +1 -1
  465. package/src/libs/data-access/gn4/src/spec.yaml +4 -5
  466. package/src/libs/feature/catalog/src/index.ts +1 -0
  467. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -1
  468. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
  469. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
  470. package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
  471. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +2 -1
  472. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +15 -1
  473. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -1
  474. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +51 -17
  475. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +14 -3
  476. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +22 -5
  477. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +11 -1
  478. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +19 -0
  479. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +77 -0
  480. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +7 -0
  481. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +16 -0
  482. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +13 -0
  483. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +16 -0
  484. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +6 -0
  485. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +130 -0
  486. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +95 -86
  487. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +11 -24
  488. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +25 -51
  489. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +4 -1
  490. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  491. package/src/libs/feature/editor/src/lib/fields.config.ts +14 -0
  492. package/src/libs/feature/editor/src/lib/services/editor.service.ts +30 -51
  493. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +6 -0
  494. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +31 -9
  495. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +6 -2
  496. package/src/libs/feature/record/src/lib/feature-record.module.ts +3 -2
  497. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +15 -8
  498. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +1 -3
  499. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +47 -3
  500. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +0 -2
  501. package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
  502. package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
  503. package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
  504. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +9 -1
  505. package/src/libs/feature/search/src/index.ts +1 -1
  506. package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
  507. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
  508. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +4 -4
  509. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.css +0 -0
  510. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +9 -0
  511. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +49 -0
  512. package/src/libs/feature/search/src/lib/state/search.facade.ts +5 -0
  513. package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
  514. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
  515. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  516. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -0
  517. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
  518. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
  519. package/src/libs/ui/elements/src/index.ts +3 -3
  520. package/src/libs/ui/elements/src/lib/error/error.component.html +74 -0
  521. package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.ts → error/error.component.ts} +7 -4
  522. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +7 -8
  523. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
  524. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
  525. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.css +18 -0
  526. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +36 -0
  527. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +56 -0
  528. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +5 -8
  529. package/src/libs/ui/inputs/src/index.ts +1 -0
  530. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -1
  531. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +23 -19
  532. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +79 -27
  533. package/src/libs/ui/inputs/src/lib/badge/badge.component.css +0 -0
  534. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +18 -0
  535. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +27 -0
  536. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +2 -1
  537. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +8 -1
  538. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +7 -7
  539. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +13 -15
  540. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
  541. package/src/libs/ui/layout/src/index.ts +1 -0
  542. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.css +0 -0
  543. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
  544. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
  545. package/src/libs/ui/search/src/index.ts +1 -0
  546. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +0 -0
  547. package/src/libs/{feature → ui}/search/src/lib/results-table/results-table.component.html +19 -8
  548. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +138 -0
  549. package/src/libs/ui/widgets/src/index.ts +0 -1
  550. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
  551. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -6
  552. package/src/libs/util/app-config/src/lib/app-config.ts +2 -0
  553. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  554. package/src/libs/util/app-config/src/lib/model.ts +1 -0
  555. package/tailwind.base.css +26 -1
  556. package/translations/de.json +28 -3
  557. package/translations/en.json +28 -3
  558. package/translations/es.json +28 -3
  559. package/translations/fr.json +28 -3
  560. package/translations/it.json +28 -3
  561. package/translations/nl.json +28 -3
  562. package/translations/pt.json +28 -3
  563. package/translations/sk.json +29 -4
  564. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  565. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +0 -128
  566. package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
  567. package/esm2022/libs/ui/elements/src/lib/search-results-error/search-results-error.component.mjs +0 -29
  568. package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +0 -17
  569. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +0 -6
  570. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  571. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +0 -33
  572. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +0 -1
  573. package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
  574. package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts +0 -15
  575. package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts.map +0 -1
  576. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +0 -7
  577. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts.map +0 -1
  578. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -1
  579. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +0 -10
  580. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +0 -164
  581. package/src/libs/ui/elements/src/lib/search-results-error/search-results-error.component.html +0 -35
  582. package/src/libs/ui/widgets/src/lib/badge/badge.component.html +0 -10
  583. package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +0 -11
  584. /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-temporal-extent/form-field-temporal-extent.component.css → form-field-keywords/form-field-keywords.component.css} +0 -0
  585. /package/src/libs/feature/{search/src/lib/results-table/results-table.component.css → editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css} +0 -0
  586. /package/src/libs/{ui/elements/src/lib/max-lines/max-lines.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css} +0 -0
  587. /package/src/libs/{ui/widgets/src/lib/badge/badge.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css} +0 -0
  588. /package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.css → error/error.component.css} +0 -0
  589. /package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +0 -0
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { FileFormat } from '../../../../../../libs/util/shared/src';
4
+ import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ResultsTableComponent {
7
+ records: CatalogRecord[];
8
+ selectedRecordsIdentifiers: string[];
9
+ sortOrder: SortByField;
10
+ recordHasDraft: (record: CatalogRecord) => boolean;
11
+ sortByChange: EventEmitter<[string, "asc" | "desc"]>;
12
+ recordClick: EventEmitter<CatalogRecord>;
13
+ recordsSelectedChange: EventEmitter<[CatalogRecord[], boolean]>;
14
+ dateToString(date: Date): string;
15
+ getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
16
+ getRecordFormats(record: CatalogRecord): FileFormat[];
17
+ formatUserInfo(userInfo: string | unknown): string;
18
+ getBadgeColor(format: FileFormat): string;
19
+ handleRecordClick(item: unknown): void;
20
+ setSortBy(col: string, order: 'asc' | 'desc'): void;
21
+ isSortedBy(col: string): 'desc' | 'asc' | null;
22
+ isChecked(record: CatalogRecord): boolean;
23
+ handleRecordSelectedChange(selected: boolean, record: CatalogRecord): void;
24
+ toggleSelectAll(): Promise<void>;
25
+ isAllSelected(): boolean;
26
+ isSomeSelected(): boolean;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "recordHasDraft": { "alias": "recordHasDraft"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
29
+ }
30
+ //# sourceMappingURL=results-table.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;AAS/C,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;;AAElE,qBAea,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAG/D,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAI7D,eAAe;IAIrB,aAAa,IAAI,OAAO;IAMxB,cAAc,IAAI,OAAO;yCA5Fd,qBAAqB;2CAArB,qBAAqB;CAqGjC"}
@@ -1,7 +1,6 @@
1
1
  export * from './lib/ui-widgets.module';
2
2
  export * from './lib/progress-bar/progress-bar.component';
3
3
  export * from './lib/loading-mask/loading-mask.component';
4
- export * from './lib/badge/badge.component';
5
4
  export * from './lib/color-scale/color-scale.component';
6
5
  export * from './lib/popup-alert/popup-alert.component';
7
6
  export * from './lib/spinning-loader/spinning-loader.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/widgets/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2CAA2C,CAAA;AACzD,cAAc,2CAA2C,CAAA;AACzD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yCAAyC,CAAA;AACvD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mCAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/widgets/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,2CAA2C,CAAA;AACzD,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,yCAAyC,CAAA;AACvD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mCAAmC,CAAA"}
@@ -14,6 +14,6 @@ export declare class PopupAlertComponent implements OnInit {
14
14
  expand(): void;
15
15
  expandAndClose(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<PopupAlertComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<PopupAlertComponent, "gn-ui-popup-alert", never, { "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupAlertComponent, "gn-ui-popup-alert", never, { "icon": { "alias": "icon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, never>;
18
18
  }
19
19
  //# sourceMappingURL=popup-alert.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popup-alert.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,MAAM,EAEP,MAAM,eAAe,CAAA;;AAEtB,qBAMa,mBAAoB,YAAW,MAAM;IAQpC,OAAO,CAAC,cAAc;IAPzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAS;IAC5C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAQ;IACrB,OAAO,EAAE,UAAU,CAAA;IACzC,QAAQ,UAAQ;IAChB,OAAO,MAAO;gBAEM,cAAc,EAAE,iBAAiB;IAErD,IAAI,YAAY,WAGf;IAED,QAAQ;IAIR,MAAM;IAMN,cAAc;yCAzBH,mBAAmB;2CAAnB,mBAAmB;CAkC/B"}
1
+ {"version":3,"file":"popup-alert.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,UAAU,EAEV,MAAM,EAEP,MAAM,eAAe,CAAA;;AAItB,qBAQa,mBAAoB,YAAW,MAAM;IAQpC,OAAO,CAAC,cAAc;IAPzB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAS;IAC5C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAQ;IACrB,OAAO,EAAE,UAAU,CAAA;IACzC,QAAQ,UAAQ;IAChB,OAAO,MAAO;gBAEM,cAAc,EAAE,iBAAiB;IAErD,IAAI,YAAY,WAGf;IAED,QAAQ;IAIR,MAAM;IAMN,cAAc;yCAzBH,mBAAmB;2CAAnB,mBAAmB;CAkC/B"}
@@ -3,20 +3,18 @@ import * as i1 from "./color-scale/color-scale.component";
3
3
  import * as i2 from "./progress-bar/progress-bar.component";
4
4
  import * as i3 from "./step-bar/step-bar.component";
5
5
  import * as i4 from "./loading-mask/loading-mask.component";
6
- import * as i5 from "./popup-alert/popup-alert.component";
7
- import * as i6 from "./badge/badge.component";
8
- import * as i7 from "./spinning-loader/spinning-loader.component";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "@ngx-translate/core";
11
- import * as i10 from "ngx-dropzone";
12
- import * as i11 from "@angular/forms";
13
- import * as i12 from "ngx-chips";
14
- import * as i13 from "../../../../util/shared/src/lib/util-shared.module";
15
- import * as i14 from "@angular/material/progress-spinner";
16
- import * as i15 from "@angular/material/icon";
6
+ import * as i5 from "./spinning-loader/spinning-loader.component";
7
+ import * as i6 from "@angular/common";
8
+ import * as i7 from "@ngx-translate/core";
9
+ import * as i8 from "ngx-dropzone";
10
+ import * as i9 from "@angular/forms";
11
+ import * as i10 from "ngx-chips";
12
+ import * as i11 from "../../../../util/shared/src/lib/util-shared.module";
13
+ import * as i12 from "@angular/material/progress-spinner";
14
+ import * as i13 from "@angular/material/icon";
17
15
  export declare class UiWidgetsModule {
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<UiWidgetsModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiWidgetsModule, [typeof i1.ColorScaleComponent, typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.PopupAlertComponent, typeof i6.BadgeComponent, typeof i7.SpinningLoaderComponent], [typeof i8.CommonModule, typeof i9.TranslateModule, typeof i10.NgxDropzoneModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.TagInputModule, typeof i13.UtilSharedModule, typeof i14.MatProgressSpinnerModule, typeof i15.MatIconModule], [typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.PopupAlertComponent, typeof i6.BadgeComponent, typeof i7.SpinningLoaderComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiWidgetsModule, [typeof i1.ColorScaleComponent, typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.SpinningLoaderComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.NgxDropzoneModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.TagInputModule, typeof i11.UtilSharedModule, typeof i12.MatProgressSpinnerModule, typeof i13.MatIconModule], [typeof i2.ProgressBarComponent, typeof i3.StepBarComponent, typeof i4.LoadingMaskComponent, typeof i5.SpinningLoaderComponent]>;
20
18
  static ɵinj: i0.ɵɵInjectorDeclaration<UiWidgetsModule>;
21
19
  }
22
20
  //# sourceMappingURL=ui-widgets.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-widgets.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/widgets/src/lib/ui-widgets.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAiBA,qBA8Ba,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
1
+ {"version":3,"file":"ui-widgets.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/widgets/src/lib/ui-widgets.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAeA,qBA0Ba,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/app-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAElB,YAAY,EAEZ,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAA;AAS9F,wBAAgB,eAAe,IAAI,YAAY,CAG9C;AAID,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAID,wBAAgB,oBAAoB,IAAI,SAAS,GAAG,IAAI,CAEvD;AAID,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAE7D;AAGD,wBAAgB,wBAAwB,IAAI,qBAAqB,CAOhE;AAID,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAG1E;AAID,wBAAgB,aAAa,kBA6M5B;AAED,wBAAgB,cAAc,YAE7B;AAED,wBAAgB,MAAM,SAIrB;AAED,eAAO,MAAM,+BAA+B;;;;;;;2BAOK,UAAU;;;;CAM1D,CAAA"}
1
+ {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/app-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAElB,YAAY,EAEZ,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAA;AAS9F,wBAAgB,eAAe,IAAI,YAAY,CAG9C;AAID,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAID,wBAAgB,oBAAoB,IAAI,SAAS,GAAG,IAAI,CAEvD;AAID,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAE7D;AAGD,wBAAgB,wBAAwB,IAAI,qBAAqB,CAOhE;AAID,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAG1E;AAID,wBAAgB,aAAa,kBA+M5B;AAED,wBAAgB,cAAc,YAE7B;AAED,wBAAgB,MAAM,SAIrB;AAED,eAAO,MAAM,+BAA+B;;;;;;;2BAOK,UAAU;;;;CAM1D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,SAAS,2zDA6DrB,CAAA;AAED,eAAO,MAAM,wBAAwB,2zDAAY,CAAA;AAEjD,eAAO,MAAM,cAAc,yPAU1B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,SAuBhC,CAAA;AAED,eAAO,MAAM,gBAAgB,4DAI5B,CAAA;AAED,eAAO,MAAM,wBAAwB,sIAMpC,CAAA;AAED,eAAO,MAAM,0BAA0B,+RAatC,CAAA;AAED,eAAO,MAAM,wBAAwB,kiCAmCpC,CAAA"}
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,SAAS,2zDA6DrB,CAAA;AAED,eAAO,MAAM,wBAAwB,2zDAAY,CAAA;AAEjD,eAAO,MAAM,cAAc,yPAU1B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,SAwBhC,CAAA;AAED,eAAO,MAAM,gBAAgB,4DAI5B,CAAA;AAED,eAAO,MAAM,wBAAwB,sIAMpC,CAAA;AAED,eAAO,MAAM,0BAA0B,+RAatC,CAAA;AAED,eAAO,MAAM,wBAAwB,kiCAmCpC,CAAA"}
@@ -17,6 +17,7 @@ export interface LayerConfig {
17
17
  }
18
18
  export interface MapConfig {
19
19
  MAX_ZOOM?: number;
20
+ DO_NOT_TILE_WMS: boolean;
20
21
  MAX_EXTENT?: [number, number, number, number];
21
22
  EXTERNAL_VIEWER_URL_TEMPLATE?: string;
22
23
  EXTERNAL_VIEWER_OPEN_NEW_TAB?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAA;IACvC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,4BAA4B,CAAC,EAAE,MAAM,CAAA;IACrC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,0BAA0B,EAAE,OAAO,CAAA;IACnC,UAAU,EAAE,WAAW,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,gBAAgB,CAAC,EAAE,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AACrE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,EAAE,QAAQ,CAAA;CAC3B"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0BAA0B,CAAC,EAAE,MAAM,CAAA;IACnC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAA;IACvC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,eAAe,EAAE,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7C,4BAA4B,CAAC,EAAE,MAAM,CAAA;IACrC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,0BAA0B,EAAE,OAAO,CAAA;IACnC,UAAU,EAAE,WAAW,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAA;IACrB,eAAe,EAAE,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,gBAAgB,EAAE,MAAM,CAAA;IACxB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA;CAC3C;AAED,MAAM,WAAW,YAAY;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,aAAa,CAAC,EAAE,YAAY,EAAE,CAAA;IAC9B,gBAAgB,CAAC,EAAE,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AACrE,MAAM,MAAM,8BAA8B,GAAG;IAC3C,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAAA;CACnC,CAAA;AAED,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,EAAE,QAAQ,CAAA;CAC3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.3.0-dev.ff2a9db7",
3
+ "version": "2.4.0-dev.27089d81",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
50
- "@camptocamp/ogc-client": "1.1.1-dev.ddbb5b0",
50
+ "@camptocamp/ogc-client": "1.1.1-dev.ad6d9ab",
51
51
  "@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
52
52
  "@ltd/j-toml": "~1.35.2",
53
53
  "@messageformat/core": "^3.0.1",
@@ -195,7 +195,15 @@ As such, **it is not very interesting at all.**`,
195
195
  },
196
196
  ],
197
197
  spatialExtents: [],
198
- temporalExtents: [],
198
+ temporalExtents: [
199
+ {
200
+ start: new Date('2024-05-24'),
201
+ end: null,
202
+ },
203
+ {
204
+ start: new Date('2024-05-30'),
205
+ },
206
+ ],
199
207
  updateFrequency: {
200
208
  updatedTimes: 3,
201
209
  per: 'month',
@@ -1,3 +1,4 @@
1
1
  export * from './elasticsearch.model'
2
2
  export * from './search.model'
3
3
  export * from './metadata.model'
4
+ export * from './keywords.model'
@@ -0,0 +1,31 @@
1
+ export interface KeywordApiResponse {
2
+ values?: {
3
+ eng: string
4
+ }
5
+ definitions?: {
6
+ eng: string
7
+ }
8
+ coordEast?: string
9
+ coordWest?: string
10
+ coordSouth?: string
11
+ coordNorth?: string
12
+ thesaurusKey?: string
13
+ definition?: string
14
+ value?: string
15
+ uri?: string
16
+ }
17
+
18
+ export interface ThesaurusApiResponse {
19
+ key?: string
20
+ dname?: string
21
+ description?: string[] | string
22
+ filename?: string
23
+ title?: string
24
+ multilingualTitles?: string[]
25
+ dublinCoreMultilinguals?: string[]
26
+ date?: string
27
+ url?: string
28
+ defaultNamespace?: string
29
+ type?: string
30
+ activated?: string
31
+ }
@@ -1,4 +1,7 @@
1
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+ import { XmlElement } from '@rgrove/parse-xml'
1
3
  import { Iso19139Converter } from '../iso19139'
4
+ import { renameElements } from '../xml-utils'
2
5
  import {
3
6
  readContacts,
4
7
  readDistributions,
@@ -30,9 +33,6 @@ import {
30
33
  writeStatus,
31
34
  writeUniqueIdentifier,
32
35
  } from './write-parts'
33
- import { XmlElement } from '@rgrove/parse-xml'
34
- import { renameElements } from '../xml-utils'
35
- import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
36
36
 
37
37
  export class Iso191153Converter extends Iso19139Converter {
38
38
  constructor() {
@@ -4,6 +4,9 @@ import {
4
4
  DatasetRecord,
5
5
  ServiceRecord,
6
6
  } from '../../../../../../libs/common/domain/src/lib/model/record'
7
+ import { XmlElement } from '@rgrove/parse-xml'
8
+ import { BaseConverter } from '../base.converter'
9
+ import { isEqual } from '../convert-utils'
7
10
  import {
8
11
  createDocument,
9
12
  createElement,
@@ -11,32 +14,6 @@ import {
11
14
  parseXmlString,
12
15
  xmlToString,
13
16
  } from '../xml-utils'
14
- import {
15
- writeAbstract,
16
- writeContacts,
17
- writeContactsForResource,
18
- writeDistributions,
19
- writeGraphicOverviews,
20
- writeKeywords,
21
- writeKind,
22
- writeLegalConstraints,
23
- writeLicenses,
24
- writeLineage,
25
- writeOnlineResources,
26
- writeOtherConstraints,
27
- writeOwnerOrganization,
28
- writeRecordUpdated,
29
- writeResourceCreated,
30
- writeResourcePublished,
31
- writeResourceUpdated,
32
- writeSecurityConstraints,
33
- writeSpatialRepresentation,
34
- writeStatus,
35
- writeTitle,
36
- writeTopics,
37
- writeUniqueIdentifier,
38
- writeUpdateFrequency,
39
- } from './write-parts'
40
17
  import {
41
18
  readAbstract,
42
19
  readContacts,
@@ -59,13 +36,38 @@ import {
59
36
  readSecurityConstraints,
60
37
  readSpatialRepresentation,
61
38
  readStatus,
39
+ readTemporalExtents,
62
40
  readTitle,
63
41
  readUniqueIdentifier,
64
42
  readUpdateFrequency,
65
43
  } from './read-parts'
66
- import { isEqual } from '../convert-utils'
67
- import { BaseConverter } from '../base.converter'
68
- import { XmlElement } from '@rgrove/parse-xml'
44
+ import {
45
+ writeAbstract,
46
+ writeContacts,
47
+ writeContactsForResource,
48
+ writeDistributions,
49
+ writeGraphicOverviews,
50
+ writeKeywords,
51
+ writeKind,
52
+ writeLegalConstraints,
53
+ writeLicenses,
54
+ writeLineage,
55
+ writeOnlineResources,
56
+ writeOtherConstraints,
57
+ writeOwnerOrganization,
58
+ writeRecordUpdated,
59
+ writeResourceCreated,
60
+ writeResourcePublished,
61
+ writeResourceUpdated,
62
+ writeSecurityConstraints,
63
+ writeSpatialRepresentation,
64
+ writeStatus,
65
+ writeTemporalExtents,
66
+ writeTitle,
67
+ writeTopics,
68
+ writeUniqueIdentifier,
69
+ writeUpdateFrequency,
70
+ } from './write-parts'
69
71
 
70
72
  export class Iso19139Converter extends BaseConverter<string> {
71
73
  protected readers: Record<
@@ -98,9 +100,9 @@ export class Iso19139Converter extends BaseConverter<string> {
98
100
  lineage: readLineage,
99
101
  distributions: readDistributions,
100
102
  onlineResources: readOnlineResources,
103
+ temporalExtents: readTemporalExtents,
101
104
  // TODO
102
105
  spatialExtents: () => [],
103
- temporalExtents: () => [],
104
106
  extras: () => undefined,
105
107
  landingPage: () => undefined,
106
108
  languages: () => [],
@@ -136,9 +138,9 @@ export class Iso19139Converter extends BaseConverter<string> {
136
138
  lineage: writeLineage,
137
139
  distributions: writeDistributions,
138
140
  onlineResources: writeOnlineResources,
141
+ temporalExtents: writeTemporalExtents,
139
142
  // TODO
140
143
  spatialExtents: () => undefined,
141
- temporalExtents: () => undefined,
142
144
  extras: () => undefined,
143
145
  landingPage: () => undefined,
144
146
  languages: () => undefined,
@@ -311,6 +313,8 @@ export class Iso19139Converter extends BaseConverter<string> {
311
313
  fieldChanged('spatialRepresentation') &&
312
314
  this.writers['spatialRepresentation'](record, rootEl)
313
315
  fieldChanged('overviews') && this.writers['overviews'](record, rootEl)
316
+ fieldChanged('temporalExtents') &&
317
+ this.writers['temporalExtents'](record, rootEl)
314
318
  fieldChanged('distributions') &&
315
319
  this.writers['distributions'](record, rootEl)
316
320
  fieldChanged('lineage') && this.writers['lineage'](record, rootEl)
@@ -4,7 +4,6 @@ import {
4
4
  GraphicOverview,
5
5
  Individual,
6
6
  Keyword,
7
- KeywordThesaurus,
8
7
  Organization,
9
8
  RecordKind,
10
9
  RecordStatus,
@@ -14,18 +13,7 @@ import {
14
13
  UpdateFrequency,
15
14
  UpdateFrequencyCustom,
16
15
  } from '../../../../../../libs/common/domain/src/lib/model/record'
17
- import { getStatusFromStatusCode } from './utils/status.mapper'
18
- import { getUpdateFrequencyFromFrequencyCode } from './utils/update-frequency.mapper'
19
- import {
20
- findChildElement,
21
- findChildrenElement,
22
- findNestedElement,
23
- findNestedElements,
24
- findParent,
25
- readAttribute,
26
- readText,
27
- XmlElement,
28
- } from '../xml-utils'
16
+ import { matchMimeType, matchProtocol } from '../common/distribution.mapper'
29
17
  import {
30
18
  ChainableFunction,
31
19
  combine,
@@ -37,10 +25,22 @@ import {
37
25
  mapArray,
38
26
  pipe,
39
27
  } from '../function-utils'
40
- import { getRoleFromRoleCode } from './utils/role.mapper'
41
- import { matchMimeType, matchProtocol } from '../common/distribution.mapper'
42
- import { getKeywordTypeFromKeywordTypeCode } from './utils/keyword.mapper'
28
+ import {
29
+ XmlElement,
30
+ findChildElement,
31
+ findChildrenElement,
32
+ findNestedElement,
33
+ findNestedElements,
34
+ findParent,
35
+ readAttribute,
36
+ readText,
37
+ } from '../xml-utils'
43
38
  import { fullNameToParts } from './utils/individual-name'
39
+ import { getKeywordTypeFromKeywordTypeCode } from './utils/keyword.mapper'
40
+ import { getRoleFromRoleCode } from './utils/role.mapper'
41
+ import { getStatusFromStatusCode } from './utils/status.mapper'
42
+ import { getUpdateFrequencyFromFrequencyCode } from './utils/update-frequency.mapper'
43
+ import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus'
44
44
 
45
45
  export function extractCharacterString(): ChainableFunction<
46
46
  XmlElement,
@@ -609,7 +609,7 @@ export function readContactsForResource(rootEl: XmlElement): Individual[] {
609
609
  }
610
610
 
611
611
  // from gmd:thesaurusName
612
- export function readThesaurus(rootEl: XmlElement): KeywordThesaurus {
612
+ export function readThesaurus(rootEl: XmlElement): ThesaurusModel {
613
613
  if (!rootEl) return null
614
614
 
615
615
  const findIdentifier = findNestedElement(
@@ -843,3 +843,55 @@ export function readOnlineResources(
843
843
  flattenArray()
844
844
  )(rootEl)
845
845
  }
846
+
847
+ export function readTemporalExtents(rootEl: XmlElement) {
848
+ return pipe(
849
+ findIdentification(),
850
+ findNestedElements('gmd:extent', 'gmd:EX_Extent', 'gmd:temporalElement'),
851
+ mapArray(
852
+ combine(
853
+ findNestedElement(
854
+ 'gmd:EX_TemporalExtent',
855
+ 'gmd:extent',
856
+ 'gml:TimePeriod'
857
+ ),
858
+ findNestedElement(
859
+ 'gmd:EX_TemporalExtent',
860
+ 'gmd:extent',
861
+ 'gml:TimeInstant'
862
+ )
863
+ )
864
+ ),
865
+ mapArray(([periodEl, instantEl]) => {
866
+ if (periodEl) {
867
+ return pipe(
868
+ combine(
869
+ pipe(
870
+ findChildElement('gml:beginPosition', false),
871
+ readText(),
872
+ map((dateStr) => (dateStr ? new Date(dateStr) : null))
873
+ ),
874
+ pipe(
875
+ findChildElement('gml:endPosition', false),
876
+ readText(),
877
+ map((dateStr) => (dateStr ? new Date(dateStr) : null))
878
+ )
879
+ ),
880
+ map(([start, end]) => ({
881
+ start,
882
+ end,
883
+ }))
884
+ )(periodEl)
885
+ } else {
886
+ return pipe(
887
+ findChildElement('gml:timePosition', false),
888
+ readText(),
889
+ map((dateStr) => (dateStr ? new Date(dateStr) : null)),
890
+ map((date) => ({
891
+ start: date,
892
+ }))
893
+ )(instantEl)
894
+ }
895
+ })
896
+ )(rootEl)
897
+ }
@@ -1,4 +1,4 @@
1
- import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/record'
1
+ import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus'
2
2
 
3
3
  export function getKeywordTypeFromKeywordTypeCode(
4
4
  typeCode: string
@@ -6,7 +6,6 @@ import {
6
6
  DatasetServiceDistribution,
7
7
  Individual,
8
8
  Keyword,
9
- KeywordThesaurus,
10
9
  RecordStatus,
11
10
  Role,
12
11
  ServiceEndpoint,
@@ -15,7 +14,20 @@ import {
15
14
  UpdateFrequencyCode,
16
15
  UpdateFrequencyCustom,
17
16
  } from '../../../../../../libs/common/domain/src/lib/model/record'
17
+ import format from 'date-fns/format'
18
+ import {
19
+ ChainableFunction,
20
+ fallback,
21
+ filterArray,
22
+ getAtIndex,
23
+ map,
24
+ mapArray,
25
+ noop,
26
+ pipe,
27
+ tap,
28
+ } from '../function-utils'
18
29
  import {
30
+ XmlElement,
19
31
  addAttribute,
20
32
  appendChildren,
21
33
  createChild,
@@ -30,22 +42,10 @@ import {
30
42
  removeChildren,
31
43
  removeChildrenByName,
32
44
  setTextContent,
33
- XmlElement,
34
45
  } from '../xml-utils'
35
- import {
36
- ChainableFunction,
37
- fallback,
38
- filterArray,
39
- getAtIndex,
40
- map,
41
- mapArray,
42
- noop,
43
- pipe,
44
- tap,
45
- } from '../function-utils'
46
- import format from 'date-fns/format'
47
46
  import { readKind } from './read-parts'
48
47
  import { namePartsToFull } from './utils/individual-name'
48
+ import { ThesaurusModel } from '../../../../../../libs/common/domain/src/lib/model/thesaurus'
49
49
 
50
50
  export function writeCharacterString(
51
51
  text: string
@@ -367,7 +367,7 @@ export function removeKeywords() {
367
367
  }
368
368
 
369
369
  // returns a <gmd:thesaurusName> element
370
- export function createThesaurus(thesaurus: KeywordThesaurus) {
370
+ export function createThesaurus(thesaurus: ThesaurusModel) {
371
371
  return pipe(
372
372
  createElement('gmd:thesaurusName'),
373
373
  createChild('gmd:CI_Citation'),
@@ -1126,3 +1126,61 @@ export function writeOnlineResources(
1126
1126
  appendChildren(...record.onlineResources.map(createOnlineResource))
1127
1127
  )(rootEl)
1128
1128
  }
1129
+
1130
+ export function writeTemporalExtents(
1131
+ record: DatasetRecord,
1132
+ rootEl: XmlElement
1133
+ ) {
1134
+ pipe(
1135
+ findOrCreateIdentification(),
1136
+ findNestedChildOrCreate('gmd:extent', 'gmd:EX_Extent'),
1137
+ removeChildrenByName('gmd:temporalElement'),
1138
+ appendChildren(
1139
+ ...record.temporalExtents.map((extent) =>
1140
+ pipe(
1141
+ createElement('gmd:temporalElement'),
1142
+ createChild('gmd:EX_TemporalExtent'),
1143
+ appendChildren(
1144
+ 'start' in extent && 'end' in extent
1145
+ ? pipe(
1146
+ createElement('gmd:extent'),
1147
+ createChild('gml:TimePeriod'),
1148
+ appendChildren(
1149
+ pipe(
1150
+ createElement('gml:beginPosition'),
1151
+ pipe(
1152
+ extent.start
1153
+ ? setTextContent(format(extent.start, 'yyyy-MM-dd'))
1154
+ : addAttribute('indeterminatePosition', 'unknown')
1155
+ )
1156
+ ),
1157
+ pipe(
1158
+ createElement('gml:endPosition'),
1159
+ pipe(
1160
+ extent.end
1161
+ ? setTextContent(format(extent.end, 'yyyy-MM-dd'))
1162
+ : addAttribute('indeterminatePosition', 'unknown')
1163
+ )
1164
+ )
1165
+ )
1166
+ )
1167
+ : pipe(
1168
+ createElement('gmd:extent'),
1169
+ createChild('gml:TimeInstant'),
1170
+ appendChildren(
1171
+ pipe(
1172
+ createElement('gml:timePosition'),
1173
+ pipe(
1174
+ extent.start
1175
+ ? setTextContent(format(extent.start, 'yyyy-MM-dd'))
1176
+ : addAttribute('indeterminatePosition', 'unknown')
1177
+ )
1178
+ )
1179
+ )
1180
+ )
1181
+ )
1182
+ )
1183
+ )
1184
+ )
1185
+ )(rootEl)
1186
+ }