geonetwork-ui 2.3.0-dev.ff2a9db7 → 2.4.0-dev.573bccd7

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 (424) 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/iso19115-3/iso19115-3.converter.mjs +2 -2
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +9 -7
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +22 -7
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +14 -3
  8. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  9. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +4 -4
  10. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -4
  11. package/esm2022/libs/api/repository/src/lib/gn4/favorites/favorites.service.mjs +4 -4
  12. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +59 -11
  13. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +4 -4
  14. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +4 -4
  15. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +4 -4
  16. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +4 -4
  17. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +4 -4
  18. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +4 -4
  19. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  20. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  21. package/esm2022/libs/data-access/gn4/src/openapi/api/atom.api.service.mjs +4 -4
  22. package/esm2022/libs/data-access/gn4/src/openapi/api/customstyle.api.service.mjs +4 -4
  23. package/esm2022/libs/data-access/gn4/src/openapi/api/formatters.api.service.mjs +4 -4
  24. package/esm2022/libs/data-access/gn4/src/openapi/api/groups.api.service.mjs +4 -4
  25. package/esm2022/libs/data-access/gn4/src/openapi/api/harvesters.api.service.mjs +4 -4
  26. package/esm2022/libs/data-access/gn4/src/openapi/api/identifiers.api.service.mjs +4 -4
  27. package/esm2022/libs/data-access/gn4/src/openapi/api/languages.api.service.mjs +4 -4
  28. package/esm2022/libs/data-access/gn4/src/openapi/api/links.api.service.mjs +4 -4
  29. package/esm2022/libs/data-access/gn4/src/openapi/api/logos.api.service.mjs +4 -4
  30. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservers.api.service.mjs +4 -4
  31. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservices.api.service.mjs +4 -4
  32. package/esm2022/libs/data-access/gn4/src/openapi/api/me.api.service.mjs +4 -4
  33. package/esm2022/libs/data-access/gn4/src/openapi/api/operations.api.service.mjs +4 -4
  34. package/esm2022/libs/data-access/gn4/src/openapi/api/pages.api.service.mjs +4 -4
  35. package/esm2022/libs/data-access/gn4/src/openapi/api/processes.api.service.mjs +4 -4
  36. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +5 -5
  37. package/esm2022/libs/data-access/gn4/src/openapi/api/regions.api.service.mjs +4 -4
  38. package/esm2022/libs/data-access/gn4/src/openapi/api/registries.api.service.mjs +4 -4
  39. package/esm2022/libs/data-access/gn4/src/openapi/api/related.api.service.mjs +4 -4
  40. package/esm2022/libs/data-access/gn4/src/openapi/api/search.api.service.mjs +4 -4
  41. package/esm2022/libs/data-access/gn4/src/openapi/api/selections.api.service.mjs +4 -4
  42. package/esm2022/libs/data-access/gn4/src/openapi/api/site.api.service.mjs +4 -4
  43. package/esm2022/libs/data-access/gn4/src/openapi/api/sources.api.service.mjs +4 -4
  44. package/esm2022/libs/data-access/gn4/src/openapi/api/standards.api.service.mjs +4 -4
  45. package/esm2022/libs/data-access/gn4/src/openapi/api/status.api.service.mjs +4 -4
  46. package/esm2022/libs/data-access/gn4/src/openapi/api/tags.api.service.mjs +4 -4
  47. package/esm2022/libs/data-access/gn4/src/openapi/api/tools.api.service.mjs +4 -4
  48. package/esm2022/libs/data-access/gn4/src/openapi/api/ui.api.service.mjs +4 -4
  49. package/esm2022/libs/data-access/gn4/src/openapi/api/userfeedback.api.service.mjs +4 -4
  50. package/esm2022/libs/data-access/gn4/src/openapi/api/users.api.service.mjs +4 -4
  51. package/esm2022/libs/data-access/gn4/src/openapi/api/usersearches.api.service.mjs +4 -4
  52. package/esm2022/libs/data-access/gn4/src/openapi/api/userselections.api.service.mjs +4 -4
  53. package/esm2022/libs/data-access/gn4/src/openapi/api.module.mjs +5 -5
  54. package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +5 -5
  55. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +5 -5
  56. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -4
  57. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +4 -4
  58. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -4
  59. package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +4 -4
  60. package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +4 -4
  61. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +4 -4
  62. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
  63. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +5 -5
  64. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -4
  65. package/esm2022/libs/feature/dataviz/src/lib/figure/figure.service.mjs +4 -4
  66. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +4 -4
  67. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +17 -5
  68. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
  69. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +1 -1
  70. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +14 -6
  71. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +8 -6
  72. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +6 -2
  73. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +3 -1
  74. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +4 -4
  75. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +4 -4
  76. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +4 -4
  77. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +4 -4
  78. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +4 -4
  79. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +4 -4
  80. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +4 -4
  81. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
  82. 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
  83. 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
  84. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +105 -0
  85. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
  86. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +10 -12
  87. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +4 -2
  88. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -4
  89. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +4 -4
  90. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +4 -4
  91. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +4 -4
  92. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +5 -5
  93. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +8 -1
  94. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +22 -42
  95. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +4 -4
  96. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +4 -4
  97. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +4 -4
  98. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +4 -4
  99. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +4 -4
  100. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +4 -4
  101. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +4 -4
  102. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +4 -4
  103. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +4 -4
  104. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +4 -4
  105. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +5 -5
  106. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +4 -4
  107. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +4 -4
  108. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +4 -4
  109. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +4 -4
  110. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +4 -4
  111. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +4 -4
  112. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +4 -4
  113. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +1 -1
  114. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +33 -13
  115. package/esm2022/libs/feature/map/src/lib/style/map-style.service.mjs +4 -4
  116. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -6
  117. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +5 -5
  118. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +4 -4
  119. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +4 -4
  120. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +4 -4
  121. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +4 -4
  122. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +4 -4
  123. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +4 -4
  124. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +4 -4
  125. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +5 -5
  126. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +17 -10
  127. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +5 -5
  128. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +36 -7
  129. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +1 -3
  130. package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +4 -4
  131. package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +5 -5
  132. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +4 -4
  133. package/esm2022/libs/feature/router/src/lib/default/services/router-search.service.mjs +4 -4
  134. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +4 -4
  135. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +4 -4
  136. package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +4 -4
  137. package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +5 -5
  138. package/esm2022/libs/feature/search/src/lib/facets/facets.service.mjs +4 -4
  139. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
  140. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +5 -5
  141. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +4 -4
  142. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +4 -4
  143. package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +4 -4
  144. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +4 -4
  145. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +4 -4
  146. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +6 -6
  147. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +19 -11
  148. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +4 -4
  149. package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +4 -4
  150. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +4 -4
  151. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +4 -4
  152. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -4
  153. package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
  154. package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +4 -4
  155. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +4 -4
  156. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -4
  157. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -4
  158. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -4
  159. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +5 -5
  160. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +4 -4
  161. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +4 -4
  162. package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +4 -4
  163. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +5 -5
  164. package/esm2022/libs/ui/elements/src/index.mjs +4 -3
  165. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +4 -4
  166. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -4
  167. package/esm2022/libs/ui/elements/src/lib/content-ghost/content-ghost.component.mjs +4 -4
  168. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +4 -4
  169. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
  170. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +30 -0
  171. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +4 -4
  172. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +4 -4
  173. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -4
  174. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +4 -4
  175. package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +4 -4
  176. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -4
  177. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -4
  178. package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +4 -4
  179. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +10 -10
  180. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +4 -4
  181. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +4 -4
  182. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +4 -4
  183. package/esm2022/libs/ui/elements/src/lib/pagination/pagination.component.mjs +4 -4
  184. package/esm2022/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.mjs +4 -4
  185. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +9 -10
  186. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +4 -4
  187. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  188. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -4
  189. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +16 -13
  190. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +4 -4
  191. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -4
  192. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +4 -4
  193. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +4 -4
  194. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +4 -4
  195. package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +4 -4
  196. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -4
  197. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +4 -4
  198. package/esm2022/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.mjs +4 -4
  199. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +6 -6
  200. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +19 -13
  201. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +4 -4
  202. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +4 -4
  203. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -4
  204. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +4 -4
  205. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +4 -4
  206. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +4 -4
  207. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +4 -4
  208. package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +4 -4
  209. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +4 -4
  210. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +4 -4
  211. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +4 -4
  212. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +4 -4
  213. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +5 -5
  214. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +4 -4
  215. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +4 -4
  216. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +4 -4
  217. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +4 -4
  218. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +4 -4
  219. package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +4 -4
  220. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -4
  221. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +4 -4
  222. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +4 -4
  223. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -4
  224. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +5 -5
  225. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +4 -4
  226. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +4 -4
  227. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +5 -5
  228. package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +7 -7
  229. package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +7 -7
  230. package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +4 -4
  231. package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +5 -5
  232. package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +4 -4
  233. package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +4 -4
  234. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +4 -4
  235. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +4 -4
  236. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +4 -4
  237. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -4
  238. package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +4 -4
  239. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +4 -4
  240. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +4 -4
  241. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +4 -4
  242. package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +4 -4
  243. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +5 -5
  244. package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +6 -5
  245. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +4 -4
  246. package/esm2022/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.mjs +4 -4
  247. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +4 -4
  248. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +4 -4
  249. package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +4 -4
  250. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +4 -4
  251. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -10
  252. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
  253. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  254. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  255. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
  256. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +4 -4
  257. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +5 -5
  258. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +4 -4
  259. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -4
  260. package/esm2022/libs/util/shared/src/lib/services/log.service.mjs +4 -4
  261. package/esm2022/libs/util/shared/src/lib/services/proxy.service.mjs +4 -4
  262. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +4 -4
  263. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +5 -5
  264. package/esm2022/translations/de.json +10 -0
  265. package/esm2022/translations/en.json +10 -0
  266. package/esm2022/translations/es.json +10 -0
  267. package/esm2022/translations/fr.json +10 -0
  268. package/esm2022/translations/it.json +10 -0
  269. package/esm2022/translations/nl.json +10 -0
  270. package/esm2022/translations/pt.json +10 -0
  271. package/fesm2022/geonetwork-ui.mjs +1588 -1212
  272. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  273. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +2 -2
  274. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  275. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +1 -1
  276. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  277. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -1
  278. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  279. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +2 -1
  280. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  281. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +15 -3
  282. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  283. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -3
  284. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  285. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +24 -1
  286. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  287. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +6 -6
  288. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  289. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +2 -1
  290. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  291. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +4 -0
  292. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  293. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  294. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  295. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +9 -8
  296. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  297. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +10 -0
  298. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  299. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +2 -0
  300. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  301. 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
  302. 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
  303. 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
  304. 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
  305. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +31 -0
  306. 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
  307. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +1 -1
  308. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  309. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +3 -1
  310. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  311. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  312. package/libs/feature/editor/src/lib/services/editor.service.d.ts +6 -9
  313. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  314. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +6 -0
  315. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
  316. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -1
  317. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  318. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  319. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
  320. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  321. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  322. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +5 -2
  323. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  324. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  325. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +4 -1
  326. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  327. package/libs/ui/elements/src/index.d.ts +3 -2
  328. package/libs/ui/elements/src/index.d.ts.map +1 -1
  329. package/libs/ui/elements/src/lib/error/error.component.d.ts +16 -0
  330. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -0
  331. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  332. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +22 -0
  333. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  334. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +3 -2
  335. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  336. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  337. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +4 -4
  338. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  339. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +2 -2
  340. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts.map +1 -1
  341. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -11
  342. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  343. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  344. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  345. package/libs/util/app-config/src/lib/model.d.ts +1 -0
  346. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  347. package/package.json +2 -2
  348. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +9 -1
  349. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +3 -3
  350. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +35 -31
  351. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +67 -15
  352. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +71 -13
  353. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +145 -7
  354. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -3
  355. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +36 -3
  356. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +211 -0
  357. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +9 -9
  358. package/src/libs/data-access/gn4/src/spec.yaml +4 -5
  359. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +15 -1
  360. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +5 -1
  361. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +31 -3
  362. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -3
  363. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +22 -5
  364. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +10 -0
  365. 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
  366. 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
  367. 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.css +0 -0
  368. 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
  369. 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
  370. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +0 -0
  371. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +6 -0
  372. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +130 -0
  373. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +5 -3
  374. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +9 -7
  375. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +4 -1
  376. package/src/libs/feature/editor/src/lib/fields.config.ts +7 -0
  377. package/src/libs/feature/editor/src/lib/services/editor.service.ts +17 -52
  378. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +6 -0
  379. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +31 -9
  380. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +6 -2
  381. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +15 -8
  382. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +1 -3
  383. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +40 -3
  384. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +0 -2
  385. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +4 -4
  386. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +12 -1
  387. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +9 -1
  388. package/src/libs/ui/elements/src/index.ts +3 -2
  389. package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.html → error/error.component.html} +18 -3
  390. package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.ts → error/error.component.ts} +5 -4
  391. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +7 -8
  392. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.css +18 -0
  393. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +36 -0
  394. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +56 -0
  395. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +5 -5
  396. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +2 -1
  397. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +8 -1
  398. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +7 -7
  399. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +13 -15
  400. package/src/libs/ui/widgets/src/lib/badge/badge.component.html +1 -1
  401. package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +4 -1
  402. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -3
  403. package/src/libs/util/app-config/src/lib/app-config.ts +2 -0
  404. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  405. package/src/libs/util/app-config/src/lib/model.ts +1 -0
  406. package/tailwind.base.css +26 -1
  407. package/translations/de.json +10 -0
  408. package/translations/en.json +10 -0
  409. package/translations/es.json +10 -0
  410. package/translations/fr.json +10 -0
  411. package/translations/it.json +10 -0
  412. package/translations/nl.json +10 -0
  413. package/translations/pt.json +10 -0
  414. package/translations/sk.json +10 -0
  415. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  416. package/esm2022/libs/ui/elements/src/lib/search-results-error/search-results-error.component.mjs +0 -29
  417. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +0 -6
  418. 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
  419. package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts +0 -15
  420. package/libs/ui/elements/src/lib/search-results-error/search-results-error.component.d.ts.map +0 -1
  421. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -1
  422. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +0 -10
  423. /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-temporal-extent/form-field-temporal-extent.component.css → form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css} +0 -0
  424. /package/src/libs/ui/elements/src/lib/{search-results-error/search-results-error.component.css → error/error.component.css} +0 -0
@@ -117,6 +117,14 @@ Cette section contient des *caractères internationaux* (ainsi que des "caractè
117
117
  description: 'This WFS service offers direct download capability',
118
118
  identifierInService: 'my:featuretype',
119
119
  },
120
+ {
121
+ type: 'service',
122
+ url: new URL('https://my-org.net/ogc'),
123
+ accessServiceProtocol: 'ogcFeatures',
124
+ name: 'my:featuretype',
125
+ description: 'This OGC service offers direct download capability',
126
+ identifierInService: 'my:featuretype',
127
+ },
120
128
  ],
121
129
  lineage: `This record was edited manually to test the conversion processes
122
130
 
@@ -244,3 +252,206 @@ Ce lot de données produit en 2019, a été numérisé à partir du PCI Vecteur
244
252
  languages: ['fr', 'de'],
245
253
  },
246
254
  ])
255
+
256
+ export const DATASET_RECORD_SIMPLE: DatasetRecord = {
257
+ uniqueIdentifier: 'my-dataset-001',
258
+ kind: 'dataset',
259
+ languages: [],
260
+ recordUpdated: new Date('2022-02-01T14:12:00.000Z'),
261
+ resourceCreated: new Date('2022-09-01T12:18:19.000Z'),
262
+ resourceUpdated: new Date('2022-12-04T14:12:00.000Z'),
263
+ status: 'ongoing',
264
+ title: 'A very interesting dataset (un jeu de données très intéressant)',
265
+ abstract: `This dataset has been established for testing purposes.`,
266
+ ownerOrganization: { name: 'MyOrganization' },
267
+ contacts: [
268
+ {
269
+ email: 'bob@org.net',
270
+ position: 'developer',
271
+ organization: { name: 'MyOrganization' },
272
+ role: 'point_of_contact',
273
+ firstName: 'Bob',
274
+ lastName: 'TheGreat',
275
+ },
276
+ ],
277
+ contactsForResource: [],
278
+ keywords: [],
279
+ topics: ['testData'],
280
+ licenses: [],
281
+ legalConstraints: [],
282
+ securityConstraints: [],
283
+ otherConstraints: [],
284
+ lineage: 'This record was edited manually to test the conversion processes',
285
+ spatialRepresentation: 'grid',
286
+ overviews: [],
287
+ spatialExtents: [],
288
+ temporalExtents: [],
289
+ distributions: [
290
+ {
291
+ type: 'download',
292
+ url: new URL('http://my-org.net/download/1.zip'),
293
+ name: 'Direct download',
294
+ description: 'Dataset downloaded as a shapefile',
295
+ mimeType: 'x-gis/x-shapefile',
296
+ },
297
+ ],
298
+ updateFrequency: { per: 'month', updatedTimes: 3 },
299
+ }
300
+
301
+ export const DATASET_RECORD_SIMPLE_AS_XML = `<?xml version="1.0" encoding="UTF-8"?>
302
+ <mdb:MD_Metadata xmlns:mdb="http://standards.iso.org/iso/19115/-3/mdb/2.0" xmlns:mcc="http://standards.iso.org/iso/19115/-3/mcc/1.0" xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:cit="http://standards.iso.org/iso/19115/-3/cit/2.0" xmlns:mri="http://standards.iso.org/iso/19115/-3/mri/1.0" xmlns:mco="http://standards.iso.org/iso/19115/-3/mco/1.0" xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mmi="http://standards.iso.org/iso/19115/-3/mmi/1.0" xmlns:mrd="http://standards.iso.org/iso/19115/-3/mrd/1.0" xmlns:mrl="http://standards.iso.org/iso/19115/-3/mrl/2.0">
303
+ <mdb:metadataIdentifier>
304
+ <mcc:MD_Identifier>
305
+ <mcc:code>
306
+ <gco:CharacterString>my-dataset-001</gco:CharacterString>
307
+ </mcc:code>
308
+ </mcc:MD_Identifier>
309
+ </mdb:metadataIdentifier>
310
+ <mdb:metadataScope>
311
+ <mdb:MD_MetadataScope>
312
+ <mdb:resourceScope>
313
+ <mcc:MD_ScopeCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</mcc:MD_ScopeCode>
314
+ </mdb:resourceScope>
315
+ </mdb:MD_MetadataScope>
316
+ </mdb:metadataScope>
317
+ <mdb:contact>
318
+ <cit:CI_Responsibility>
319
+ <cit:role>
320
+ <cit:CI_RoleCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</cit:CI_RoleCode>
321
+ </cit:role>
322
+ <cit:party>
323
+ <cit:CI_Organisation>
324
+ <cit:name>
325
+ <gco:CharacterString>MyOrganization</gco:CharacterString>
326
+ </cit:name>
327
+ <cit:contactInfo>
328
+ <cit:CI_Contact>
329
+ <cit:address>
330
+ <cit:CI_Address>
331
+ <cit:electronicMailAddress>
332
+ <gco:CharacterString>bob@org.net</gco:CharacterString>
333
+ </cit:electronicMailAddress>
334
+ </cit:CI_Address>
335
+ </cit:address>
336
+ </cit:CI_Contact>
337
+ </cit:contactInfo>
338
+ <cit:individual>
339
+ <cit:CI_Individual>
340
+ <cit:name>
341
+ <gco:CharacterString>Bob TheGreat</gco:CharacterString>
342
+ </cit:name>
343
+ <cit:positionName>
344
+ <gco:CharacterString>developer</gco:CharacterString>
345
+ </cit:positionName>
346
+ </cit:CI_Individual>
347
+ </cit:individual>
348
+ </cit:CI_Organisation>
349
+ </cit:party>
350
+ </cit:CI_Responsibility>
351
+ </mdb:contact>
352
+ <mdb:dateInfo>
353
+ <cit:CI_Date>
354
+ <cit:date>
355
+ <gco:DateTime>2022-02-01T15:12:00</gco:DateTime>
356
+ </cit:date>
357
+ <cit:dateType>
358
+ <cit:CI_DateTypeCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#CI_DateTypeCode" codeListValue="revision">revision</cit:CI_DateTypeCode>
359
+ </cit:dateType>
360
+ </cit:CI_Date>
361
+ </mdb:dateInfo>
362
+ <mdb:identificationInfo>
363
+ <mri:MD_DataIdentification>
364
+ <mri:citation>
365
+ <cit:CI_Citation>
366
+ <cit:title>
367
+ <gco:CharacterString>A very interesting dataset (un jeu de données très intéressant)</gco:CharacterString>
368
+ </cit:title>
369
+ <cit:date>
370
+ <cit:CI_Date>
371
+ <cit:date>
372
+ <gco:DateTime>2022-09-01T14:18:19</gco:DateTime>
373
+ </cit:date>
374
+ <cit:dateType>
375
+ <cit:CI_DateTypeCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#CI_DateTypeCode" codeListValue="creation">creation</cit:CI_DateTypeCode>
376
+ </cit:dateType>
377
+ </cit:CI_Date>
378
+ </cit:date>
379
+ <cit:date>
380
+ <cit:CI_Date>
381
+ <cit:date>
382
+ <gco:DateTime>2022-12-04T15:12:00</gco:DateTime>
383
+ </cit:date>
384
+ <cit:dateType>
385
+ <cit:CI_DateTypeCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#CI_DateTypeCode" codeListValue="revision">revision</cit:CI_DateTypeCode>
386
+ </cit:dateType>
387
+ </cit:CI_Date>
388
+ </cit:date>
389
+ </cit:CI_Citation>
390
+ </mri:citation>
391
+ <mri:abstract>
392
+ <gco:CharacterString>This dataset has been established for testing purposes.</gco:CharacterString>
393
+ </mri:abstract>
394
+ <mri:topicCategory>
395
+ <mri:MD_TopicCategoryCode>testData</mri:MD_TopicCategoryCode>
396
+ </mri:topicCategory>
397
+ <mri:status>
398
+ <mcc:MD_ProgressCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_ProgressCode" codeListValue="onGoing">onGoing</mcc:MD_ProgressCode>
399
+ </mri:status>
400
+ <mri:resourceMaintenance>
401
+ <mmi:MD_MaintenanceInformation>
402
+ <mmi:userDefinedMaintenanceFrequency>
403
+ <gco:TM_PeriodDuration>P0Y0M10D</gco:TM_PeriodDuration>
404
+ </mmi:userDefinedMaintenanceFrequency>
405
+ </mmi:MD_MaintenanceInformation>
406
+ </mri:resourceMaintenance>
407
+ <mri:spatialRepresentationType>
408
+ <mcc:MD_SpatialRepresentationTypeCode codeList="https://standards.iso.org/iso/19115/resources/Codelists/cat/codelists.xml#MD_SpatialRepresentationTypeCode" codeListValue="grid">grid</mcc:MD_SpatialRepresentationTypeCode>
409
+ </mri:spatialRepresentationType>
410
+ </mri:MD_DataIdentification>
411
+ </mdb:identificationInfo>
412
+ <mdb:distributionInfo>
413
+ <mrd:MD_Distribution>
414
+ <mrd:distributionFormat>
415
+ <mrd:MD_Format>
416
+ <mrd:formatSpecificationCitation>
417
+ <cit:CI_Citation>
418
+ <cit:title>
419
+ <gco:CharacterString>x-gis/x-shapefile</gco:CharacterString>
420
+ </cit:title>
421
+ </cit:CI_Citation>
422
+ </mrd:formatSpecificationCitation>
423
+ </mrd:MD_Format>
424
+ </mrd:distributionFormat>
425
+ <mrd:transferOptions>
426
+ <mrd:MD_DigitalTransferOptions>
427
+ <mrd:onLine>
428
+ <cit:CI_OnlineResource>
429
+ <cit:linkage>
430
+ <gco:CharacterString>http://my-org.net/download/1.zip</gco:CharacterString>
431
+ </cit:linkage>
432
+ <cit:description>
433
+ <gco:CharacterString>Dataset downloaded as a shapefile</gco:CharacterString>
434
+ </cit:description>
435
+ <cit:name>
436
+ <gco:CharacterString>Direct download</gco:CharacterString>
437
+ </cit:name>
438
+ <cit:protocol>
439
+ <gco:CharacterString>WWW:DOWNLOAD</gco:CharacterString>
440
+ </cit:protocol>
441
+ <cit:function>
442
+ <cit:CI_OnLineFunctionCode codeList="http://standards.iso.org/iso/19139/resources/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="download"/>
443
+ </cit:function>
444
+ </cit:CI_OnlineResource>
445
+ </mrd:onLine>
446
+ </mrd:MD_DigitalTransferOptions>
447
+ </mrd:transferOptions>
448
+ </mrd:MD_Distribution>
449
+ </mdb:distributionInfo>
450
+ <mdb:resourceLineage>
451
+ <mrl:LI_Lineage>
452
+ <mrl:statement>
453
+ <gco:CharacterString>This record was edited manually to test the conversion processes</gco:CharacterString>
454
+ </mrl:statement>
455
+ </mrl:LI_Lineage>
456
+ </mdb:resourceLineage>
457
+ </mdb:MD_Metadata>`
@@ -4586,8 +4586,8 @@ export class RecordsApiService {
4586
4586
  accept?: string,
4587
4587
  observe?: 'body',
4588
4588
  reportProgress?: boolean,
4589
- options?: { httpHeaderAccept?: 'application/json' | 'application/xml' }
4590
- ): Observable<object>
4589
+ options?: { httpHeaderAccept?: 'application/xml' | 'application/json' }
4590
+ ): Observable<string>
4591
4591
  public getRecordAs(
4592
4592
  metadataUuid: string,
4593
4593
  addSchemaLocation?: boolean,
@@ -4598,8 +4598,8 @@ export class RecordsApiService {
4598
4598
  accept?: string,
4599
4599
  observe?: 'response',
4600
4600
  reportProgress?: boolean,
4601
- options?: { httpHeaderAccept?: 'application/json' | 'application/xml' }
4602
- ): Observable<HttpResponse<object>>
4601
+ options?: { httpHeaderAccept?: 'application/xml' | 'application/json' }
4602
+ ): Observable<HttpResponse<string>>
4603
4603
  public getRecordAs(
4604
4604
  metadataUuid: string,
4605
4605
  addSchemaLocation?: boolean,
@@ -4610,8 +4610,8 @@ export class RecordsApiService {
4610
4610
  accept?: string,
4611
4611
  observe?: 'events',
4612
4612
  reportProgress?: boolean,
4613
- options?: { httpHeaderAccept?: 'application/json' | 'application/xml' }
4614
- ): Observable<HttpEvent<object>>
4613
+ options?: { httpHeaderAccept?: 'application/xml' | 'application/json' }
4614
+ ): Observable<HttpEvent<string>>
4615
4615
  public getRecordAs(
4616
4616
  metadataUuid: string,
4617
4617
  addSchemaLocation?: boolean,
@@ -4622,7 +4622,7 @@ export class RecordsApiService {
4622
4622
  accept?: string,
4623
4623
  observe: any = 'body',
4624
4624
  reportProgress: boolean = false,
4625
- options?: { httpHeaderAccept?: 'application/json' | 'application/xml' }
4625
+ options?: { httpHeaderAccept?: 'application/xml' | 'application/json' }
4626
4626
  ): Observable<any> {
4627
4627
  if (metadataUuid === null || metadataUuid === undefined) {
4628
4628
  throw new Error(
@@ -4677,8 +4677,8 @@ export class RecordsApiService {
4677
4677
  if (httpHeaderAcceptSelected === undefined) {
4678
4678
  // to determine the Accept header
4679
4679
  const httpHeaderAccepts: string[] = [
4680
- 'application/json',
4681
4680
  'application/xml',
4681
+ 'application/json',
4682
4682
  ]
4683
4683
  httpHeaderAcceptSelected =
4684
4684
  this.configuration.selectHeaderAccept(httpHeaderAccepts)
@@ -4695,7 +4695,7 @@ export class RecordsApiService {
4695
4695
  responseType_ = 'text'
4696
4696
  }
4697
4697
 
4698
- return this.httpClient.get<object>(
4698
+ return this.httpClient.get<string>(
4699
4699
  `${this.configuration.basePath}/records/${encodeURIComponent(
4700
4700
  String(metadataUuid)
4701
4701
  )}/formatters/xml`,
@@ -11114,16 +11114,15 @@ paths:
11114
11114
  default:
11115
11115
  description: default response
11116
11116
  content:
11117
- application/json: {}
11117
+ application/xml:
11118
+ schema:
11119
+ type: string
11118
11120
  "200":
11119
11121
  description: Return the record.
11120
11122
  content:
11121
11123
  application/xml:
11122
11124
  schema:
11123
- type: object
11124
- application/json:
11125
- schema:
11126
- type: object
11125
+ type: string
11127
11126
  "403":
11128
11127
  description: Operation not allowed. User needs to be able to view the resource.
11129
11128
  content:
@@ -3,6 +3,7 @@ import { marker } from '@biesbjerg/ngx-translate-extract-marker'
3
3
  import {
4
4
  OgcApiCollectionInfo,
5
5
  OgcApiEndpoint,
6
+ OgcApiRecord,
6
7
  WfsEndpoint,
7
8
  WfsVersion,
8
9
  } from '@camptocamp/ogc-client'
@@ -173,10 +174,23 @@ export class DataService {
173
174
  }
174
175
 
175
176
  async getDownloadUrlsFromOgcApi(url: string): Promise<OgcApiCollectionInfo> {
177
+ const endpoint = new OgcApiEndpoint(this.proxy.getProxiedUrl(url))
178
+ return await endpoint.allCollections
179
+ .then((collections) => {
180
+ return endpoint.getCollectionInfo(collections[0].name)
181
+ })
182
+ .catch((error) => {
183
+ throw new Error(`ogc.unreachable.unknown`)
184
+ })
185
+ }
186
+
187
+ async getItemsFromOgcApi(url: string): Promise<OgcApiRecord> {
176
188
  const endpoint = new OgcApiEndpoint(this.proxy.getProxiedUrl(url))
177
189
  return await endpoint.featureCollections
178
190
  .then((collections) => {
179
- return endpoint.getCollectionInfo(collections[0])
191
+ return collections.length
192
+ ? endpoint.getCollectionItem(collections[0], '1')
193
+ : null
180
194
  })
181
195
  .catch((error) => {
182
196
  throw new Error(`ogc.unreachable.unknown`)
@@ -4,7 +4,11 @@ import { SaveRecordError } from './editor.models'
4
4
 
5
5
  export const openRecord = createAction(
6
6
  '[Editor] Open record',
7
- props<{ record: CatalogRecord }>()
7
+ props<{
8
+ record: CatalogRecord
9
+ alreadySavedOnce: boolean
10
+ recordSource?: string | null
11
+ }>()
8
12
  )
9
13
 
10
14
  export const updateRecordField = createAction(
@@ -1,16 +1,18 @@
1
1
  import { inject, Injectable } from '@angular/core'
2
2
  import { Actions, createEffect, ofType } from '@ngrx/effects'
3
- import { of, withLatestFrom } from 'rxjs'
3
+ import { debounceTime, filter, of, withLatestFrom } from 'rxjs'
4
4
  import { catchError, map, switchMap } from 'rxjs/operators'
5
5
  import * as EditorActions from './editor.actions'
6
6
  import { EditorService } from '../services/editor.service'
7
7
  import { Store } from '@ngrx/store'
8
8
  import { selectRecord, selectRecordFieldsConfig } from './editor.selectors'
9
+ import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
9
10
 
10
11
  @Injectable()
11
12
  export class EditorEffects {
12
13
  private actions$ = inject(Actions)
13
14
  private editorService = inject(EditorService)
15
+ private recordsRepository = inject(RecordsRepositoryInterface)
14
16
  private store = inject(Store)
15
17
 
16
18
  saveRecord$ = createEffect(() =>
@@ -22,10 +24,14 @@ export class EditorEffects {
22
24
  ),
23
25
  switchMap(([, record, fieldsConfig]) =>
24
26
  this.editorService.saveRecord(record, fieldsConfig).pipe(
25
- switchMap((newRecord) =>
27
+ switchMap(([record, recordSource]) =>
26
28
  of(
27
29
  EditorActions.saveRecordSuccess(),
28
- EditorActions.openRecord({ record: newRecord })
30
+ EditorActions.openRecord({
31
+ record,
32
+ alreadySavedOnce: true,
33
+ recordSource,
34
+ })
29
35
  )
30
36
  ),
31
37
  catchError((error) =>
@@ -46,4 +52,26 @@ export class EditorEffects {
46
52
  map(() => EditorActions.markRecordAsChanged())
47
53
  )
48
54
  )
55
+
56
+ saveRecordDraft$ = createEffect(
57
+ () =>
58
+ this.actions$.pipe(
59
+ ofType(EditorActions.updateRecordField),
60
+ debounceTime(1000),
61
+ withLatestFrom(this.store.select(selectRecord)),
62
+ switchMap(([, record]) => this.editorService.saveRecordAsDraft(record))
63
+ ),
64
+ { dispatch: false }
65
+ )
66
+
67
+ checkHasChangesOnOpen$ = createEffect(() =>
68
+ this.actions$.pipe(
69
+ ofType(EditorActions.openRecord),
70
+ map(({ record }) =>
71
+ this.recordsRepository.recordHasDraft(record.uniqueIdentifier)
72
+ ),
73
+ filter((hasDraft) => hasDraft),
74
+ map(() => EditorActions.markRecordAsChanged())
75
+ )
76
+ )
49
77
  }
@@ -3,7 +3,7 @@ import { select, Store } from '@ngrx/store'
3
3
  import * as EditorActions from './editor.actions'
4
4
  import * as EditorSelectors from './editor.selectors'
5
5
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
6
- import { filter, Observable } from 'rxjs'
6
+ import { filter } from 'rxjs'
7
7
  import { Actions, ofType } from '@ngrx/effects'
8
8
 
9
9
  @Injectable()
@@ -12,6 +12,10 @@ export class EditorFacade {
12
12
  private actions$ = inject(Actions)
13
13
 
14
14
  record$ = this.store.pipe(select(EditorSelectors.selectRecord))
15
+ recordSource$ = this.store.pipe(select(EditorSelectors.selectRecordSource))
16
+ alreadySavedOnce$ = this.store.pipe(
17
+ select(EditorSelectors.selectRecordAlreadySavedOnce)
18
+ )
15
19
  saving$ = this.store.pipe(select(EditorSelectors.selectRecordSaving))
16
20
  saveError$ = this.store.pipe(
17
21
  select(EditorSelectors.selectRecordSaveError),
@@ -23,8 +27,14 @@ export class EditorFacade {
23
27
  )
24
28
  recordFields$ = this.store.pipe(select(EditorSelectors.selectRecordFields))
25
29
 
26
- openRecord(record: CatalogRecord) {
27
- this.store.dispatch(EditorActions.openRecord({ record }))
30
+ openRecord(
31
+ record: CatalogRecord,
32
+ recordSource: string,
33
+ alreadySavedOnce: boolean
34
+ ) {
35
+ this.store.dispatch(
36
+ EditorActions.openRecord({ record, recordSource, alreadySavedOnce })
37
+ )
28
38
  }
29
39
 
30
40
  saveRecord() {
@@ -7,8 +7,18 @@ import { DEFAULT_FIELDS } from '../fields.config'
7
7
 
8
8
  export const EDITOR_FEATURE_KEY = 'editor'
9
9
 
10
+ /**
11
+ * @property record The record being edited
12
+ * @property recordSource Original representation of the record as text, used as a reference; null means the record hasn't be serialized yet
13
+ * @property saving
14
+ * @property saveError
15
+ * @property changedSinceSave
16
+ * @property fieldsConfig Configuration for the fields in the editor
17
+ */
10
18
  export interface EditorState {
11
19
  record: CatalogRecord | null
20
+ recordSource: string | null
21
+ alreadySavedOnce: boolean
12
22
  saving: boolean
13
23
  saveError: SaveRecordError | null
14
24
  changedSinceSave: boolean
@@ -21,6 +31,8 @@ export interface EditorPartialState {
21
31
 
22
32
  export const initialEditorState: EditorState = {
23
33
  record: null,
34
+ recordSource: null,
35
+ alreadySavedOnce: false,
24
36
  saving: false,
25
37
  saveError: null,
26
38
  changedSinceSave: false,
@@ -29,11 +41,16 @@ export const initialEditorState: EditorState = {
29
41
 
30
42
  const reducer = createReducer(
31
43
  initialEditorState,
32
- on(EditorActions.openRecord, (state, { record }) => ({
33
- ...state,
34
- changedSinceSave: false,
35
- record,
36
- })),
44
+ on(
45
+ EditorActions.openRecord,
46
+ (state, { record, recordSource, alreadySavedOnce }) => ({
47
+ ...state,
48
+ changedSinceSave: false,
49
+ recordSource: recordSource ?? null,
50
+ alreadySavedOnce,
51
+ record,
52
+ })
53
+ ),
37
54
  on(EditorActions.saveRecord, (state) => ({
38
55
  ...state,
39
56
  saving: true,
@@ -9,6 +9,11 @@ export const selectRecord = createSelector(
9
9
  (state: EditorState) => state.record
10
10
  )
11
11
 
12
+ export const selectRecordSource = createSelector(
13
+ selectEditorState,
14
+ (state: EditorState) => state.recordSource
15
+ )
16
+
12
17
  export const selectRecordSaving = createSelector(
13
18
  selectEditorState,
14
19
  (state: EditorState) => state.saving
@@ -24,6 +29,11 @@ export const selectRecordChangedSinceSave = createSelector(
24
29
  (state: EditorState) => state.changedSinceSave
25
30
  )
26
31
 
32
+ export const selectRecordAlreadySavedOnce = createSelector(
33
+ selectEditorState,
34
+ (state: EditorState) => state.alreadySavedOnce
35
+ )
36
+
27
37
  export const selectRecordFieldsConfig = createSelector(
28
38
  selectEditorState,
29
39
  (state: EditorState) => state.fieldsConfig
@@ -0,0 +1,7 @@
1
+ <div class="border rounded-lg px-4 pb-4">
2
+ <p class="my-2" translate>editor.record.form.temporalExtents.date</p>
3
+ <gn-ui-date-picker
4
+ [date]="control.value?.start"
5
+ (dateChange)="control.setValue({ start: $event })"
6
+ ></gn-ui-date-picker>
7
+ </div>
@@ -0,0 +1,16 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
+ import { FormControl } from '@angular/forms'
3
+ import { DatePickerComponent } from '../../../../../../../../../../libs/ui/inputs/src'
4
+ import { TranslateModule } from '@ngx-translate/core'
5
+
6
+ @Component({
7
+ selector: 'gn-ui-form-field-temporal-extents-date',
8
+ templateUrl: './form-field-temporal-extents-date.component.html',
9
+ styleUrls: ['./form-field-temporal-extents-date.component.css'],
10
+ changeDetection: ChangeDetectionStrategy.OnPush,
11
+ standalone: true,
12
+ imports: [DatePickerComponent, TranslateModule],
13
+ })
14
+ export class FormFieldTemporalExtentsDateComponent {
15
+ @Input() control!: FormControl
16
+ }
@@ -0,0 +1,13 @@
1
+ <div class="border rounded-lg px-4 pb-4">
2
+ <p class="my-2" translate>editor.record.form.temporalExtents.range</p>
3
+ <gn-ui-date-range-picker
4
+ [startDate]="control.value?.start"
5
+ [endDate]="control.value?.end"
6
+ (startDateChange)="
7
+ control.setValue({ start: $event, end: control.value?.end })
8
+ "
9
+ (endDateChange)="
10
+ control.setValue({ start: control.value?.start, end: $event })
11
+ "
12
+ ></gn-ui-date-range-picker>
13
+ </div>
@@ -0,0 +1,16 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
+ import { FormControl } from '@angular/forms'
3
+ import { DateRangePickerComponent } from '../../../../../../../../../../libs/ui/inputs/src'
4
+ import { TranslateModule } from '@ngx-translate/core'
5
+
6
+ @Component({
7
+ selector: 'gn-ui-form-field-temporal-extents-range',
8
+ templateUrl: './form-field-temporal-extents-range.component.html',
9
+ styleUrls: ['./form-field-temporal-extents-range.component.css'],
10
+ changeDetection: ChangeDetectionStrategy.OnPush,
11
+ standalone: true,
12
+ imports: [DateRangePickerComponent, TranslateModule],
13
+ })
14
+ export class FormFieldTemporalExtentsRangeComponent {
15
+ @Input() control!: FormControl
16
+ }
@@ -0,0 +1,6 @@
1
+ <gn-ui-sortable-list
2
+ [elements]="elements"
3
+ (elementsChange)="onElementsChange($event)"
4
+ [addOptions]="addOptions$ | async"
5
+ (add)="onAdd($event)"
6
+ ></gn-ui-sortable-list>