geonetwork-ui 2.4.0-alpha.2.dbfa93cf3 → 2.4.0-alpha.2.ddc8a5a9f

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 (566) hide show
  1. package/README.md +1 -7
  2. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/common/license.mjs +1 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +38 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/common/url.mjs +1 -1
  6. package/esm2022/libs/api/metadata-converter/src/lib/convert-utils.mjs +1 -1
  7. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +4 -2
  8. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +1 -1
  9. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +1 -1
  10. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +1 -1
  11. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +1 -1
  12. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +1 -1
  13. package/esm2022/libs/api/metadata-converter/src/lib/function-utils.mjs +1 -1
  14. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +1 -1
  15. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +4 -4
  16. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +20 -11
  17. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +5 -5
  18. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.mjs +1 -1
  19. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  20. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -3
  21. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +16 -5
  22. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +7 -2
  23. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +62 -63
  24. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +33 -4
  25. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
  26. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.mjs +1 -1
  27. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +1 -1
  28. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.mjs +1 -1
  29. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +7 -3
  30. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +1 -1
  31. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +12 -9
  32. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +5 -5
  33. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +7 -7
  34. package/esm2022/libs/api/repository/src/lib/gn4/favorites/favorites.service.mjs +4 -4
  35. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +5 -5
  36. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +4 -4
  37. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +5 -5
  38. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +5 -5
  39. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +5 -5
  40. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +4 -4
  41. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +4 -4
  42. package/esm2022/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.mjs +1 -1
  43. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +19 -19
  44. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  45. package/esm2022/libs/data-access/gn4/src/openapi/api/atom.api.service.mjs +6 -6
  46. package/esm2022/libs/data-access/gn4/src/openapi/api/customstyle.api.service.mjs +6 -6
  47. package/esm2022/libs/data-access/gn4/src/openapi/api/formatters.api.service.mjs +6 -6
  48. package/esm2022/libs/data-access/gn4/src/openapi/api/groups.api.service.mjs +6 -6
  49. package/esm2022/libs/data-access/gn4/src/openapi/api/harvesters.api.service.mjs +6 -6
  50. package/esm2022/libs/data-access/gn4/src/openapi/api/identifiers.api.service.mjs +6 -6
  51. package/esm2022/libs/data-access/gn4/src/openapi/api/languages.api.service.mjs +6 -6
  52. package/esm2022/libs/data-access/gn4/src/openapi/api/links.api.service.mjs +6 -6
  53. package/esm2022/libs/data-access/gn4/src/openapi/api/logos.api.service.mjs +6 -6
  54. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservers.api.service.mjs +6 -6
  55. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservices.api.service.mjs +6 -6
  56. package/esm2022/libs/data-access/gn4/src/openapi/api/me.api.service.mjs +6 -6
  57. package/esm2022/libs/data-access/gn4/src/openapi/api/operations.api.service.mjs +6 -6
  58. package/esm2022/libs/data-access/gn4/src/openapi/api/pages.api.service.mjs +6 -6
  59. package/esm2022/libs/data-access/gn4/src/openapi/api/processes.api.service.mjs +6 -6
  60. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +6 -6
  61. package/esm2022/libs/data-access/gn4/src/openapi/api/regions.api.service.mjs +6 -6
  62. package/esm2022/libs/data-access/gn4/src/openapi/api/registries.api.service.mjs +6 -6
  63. package/esm2022/libs/data-access/gn4/src/openapi/api/related.api.service.mjs +6 -6
  64. package/esm2022/libs/data-access/gn4/src/openapi/api/search.api.service.mjs +6 -6
  65. package/esm2022/libs/data-access/gn4/src/openapi/api/selections.api.service.mjs +6 -6
  66. package/esm2022/libs/data-access/gn4/src/openapi/api/site.api.service.mjs +6 -6
  67. package/esm2022/libs/data-access/gn4/src/openapi/api/sources.api.service.mjs +6 -6
  68. package/esm2022/libs/data-access/gn4/src/openapi/api/standards.api.service.mjs +6 -6
  69. package/esm2022/libs/data-access/gn4/src/openapi/api/status.api.service.mjs +6 -6
  70. package/esm2022/libs/data-access/gn4/src/openapi/api/tags.api.service.mjs +6 -6
  71. package/esm2022/libs/data-access/gn4/src/openapi/api/tools.api.service.mjs +6 -6
  72. package/esm2022/libs/data-access/gn4/src/openapi/api/ui.api.service.mjs +6 -6
  73. package/esm2022/libs/data-access/gn4/src/openapi/api/userfeedback.api.service.mjs +6 -6
  74. package/esm2022/libs/data-access/gn4/src/openapi/api/users.api.service.mjs +6 -6
  75. package/esm2022/libs/data-access/gn4/src/openapi/api/usersearches.api.service.mjs +6 -6
  76. package/esm2022/libs/data-access/gn4/src/openapi/api/userselections.api.service.mjs +6 -6
  77. package/esm2022/libs/data-access/gn4/src/openapi/api.module.mjs +7 -7
  78. package/esm2022/libs/data-access/gn4/src/openapi/configuration.mjs +1 -1
  79. package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +4 -4
  80. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +4 -4
  81. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -4
  82. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
  83. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -4
  84. package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +4 -4
  85. package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +5 -5
  86. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +4 -4
  87. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +5 -5
  88. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +5 -5
  89. package/esm2022/libs/feature/dataviz/src/lib/figure/figure.service.mjs +4 -4
  90. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +5 -5
  91. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +18 -7
  92. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +5 -5
  93. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +3 -3
  94. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +3 -3
  95. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +1 -1
  96. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +1 -1
  97. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +4 -4
  98. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +3 -3
  99. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +6 -6
  100. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +6 -6
  101. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +5 -5
  102. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +4 -4
  103. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +3 -3
  104. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +4 -4
  105. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.mjs +1 -1
  106. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +6 -6
  107. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +5 -5
  108. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +6 -6
  109. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.mjs +3 -3
  110. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +5 -5
  111. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +5 -5
  112. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +4 -4
  113. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +4 -4
  114. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +3 -3
  115. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +5 -5
  116. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +5 -5
  117. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +4 -4
  118. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +5 -5
  119. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +5 -5
  120. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +3 -3
  121. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
  122. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.mjs +4 -4
  123. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +6 -6
  124. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +5 -5
  125. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +4 -4
  126. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +5 -5
  127. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +5 -5
  128. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +7 -7
  129. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +5 -5
  130. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  131. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +4 -4
  132. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +5 -5
  133. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +5 -5
  134. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +5 -5
  135. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +4 -4
  136. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +4 -4
  137. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +5 -5
  138. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +5 -5
  139. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +5 -5
  140. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +5 -5
  141. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +6 -6
  142. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +4 -4
  143. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -5
  144. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +6 -6
  145. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
  146. package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +5 -5
  147. package/esm2022/libs/feature/map/src/lib/style/map-style.service.mjs +4 -4
  148. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +4 -4
  149. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +4 -4
  150. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +4 -4
  151. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +3 -3
  152. package/esm2022/libs/feature/record/src/index.mjs +3 -1
  153. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +5 -5
  154. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -6
  155. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +6 -6
  156. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -6
  157. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -6
  158. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +11 -7
  159. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +169 -0
  160. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +45 -0
  161. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +21 -8
  162. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +5 -5
  163. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +5 -5
  164. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +14 -6
  165. package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +6 -6
  166. package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +5 -5
  167. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +5 -5
  168. package/esm2022/libs/feature/router/src/lib/default/services/router-search.service.mjs +4 -4
  169. package/esm2022/libs/feature/router/src/lib/default/state/query-params.utils.mjs +1 -1
  170. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +6 -6
  171. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +4 -4
  172. package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +4 -4
  173. package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +4 -4
  174. package/esm2022/libs/feature/search/src/lib/facets/facets.service.mjs +5 -5
  175. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +5 -5
  176. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +4 -4
  177. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +5 -5
  178. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +5 -5
  179. package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +5 -5
  180. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +4 -4
  181. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +5 -5
  182. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +6 -6
  183. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +5 -5
  184. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +6 -6
  185. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +5 -5
  186. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +5 -5
  187. package/esm2022/libs/feature/search/src/lib/state/actions.mjs +1 -1
  188. package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +6 -6
  189. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +6 -6
  190. package/esm2022/libs/feature/search/src/lib/state/reducer.mjs +1 -1
  191. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +5 -5
  192. package/esm2022/libs/feature/search/src/lib/utils/operators/search.operator.mjs +1 -1
  193. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +1 -1
  194. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -4
  195. package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
  196. package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +3 -3
  197. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +6 -6
  198. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -4
  199. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +3 -3
  200. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +3 -3
  201. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +6 -6
  202. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
  203. package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +6 -6
  204. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +4 -4
  205. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +7 -6
  206. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +3 -3
  207. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -5
  208. package/esm2022/libs/ui/elements/src/lib/content-ghost/content-ghost.component.mjs +5 -5
  209. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +6 -6
  210. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +31 -9
  211. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -4
  212. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +4 -4
  213. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +5 -5
  214. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -4
  215. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +7 -5
  216. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  217. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -4
  218. package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +5 -5
  219. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +5 -5
  220. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +4 -4
  221. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +4 -4
  222. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +6 -6
  223. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +4 -4
  224. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +5 -5
  225. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +6 -6
  226. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +4 -4
  227. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +6 -6
  228. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -4
  229. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  230. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +7 -7
  231. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +4 -4
  232. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +4 -4
  233. package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +3 -3
  234. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +3 -3
  235. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +5 -5
  236. package/esm2022/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.mjs +5 -5
  237. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +4 -4
  238. package/esm2022/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.mjs +6 -6
  239. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +5 -5
  240. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +3 -3
  241. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +5 -5
  242. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +5 -5
  243. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +5 -5
  244. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +7 -7
  245. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +4 -4
  246. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +7 -7
  247. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +3 -3
  248. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +4 -4
  249. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +5 -5
  250. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -4
  251. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +3 -3
  252. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +3 -3
  253. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +4 -4
  254. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +7 -7
  255. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +5 -5
  256. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +5 -5
  257. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +5 -5
  258. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +5 -5
  259. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +4 -4
  260. package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +4 -4
  261. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -4
  262. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +3 -3
  263. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +4 -4
  264. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +5 -5
  265. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +5 -5
  266. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -4
  267. package/esm2022/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.mjs +4 -4
  268. package/esm2022/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.mjs +3 -3
  269. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +4 -4
  270. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +4 -4
  271. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +6 -6
  272. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -4
  273. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +3 -3
  274. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +7 -7
  275. package/esm2022/libs/ui/map/src/lib/components/map-legend/map-legend.component.mjs +4 -4
  276. package/esm2022/libs/ui/map/src/lib/map-utils.mjs +1 -1
  277. package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +7 -7
  278. package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +6 -6
  279. package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +3 -3
  280. package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +4 -4
  281. package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +3 -3
  282. package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +5 -5
  283. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +3 -3
  284. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +4 -4
  285. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +3 -3
  286. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +9 -8
  287. package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +3 -3
  288. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +3 -3
  289. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  290. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +1 -1
  291. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  292. package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +5 -5
  293. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +5 -5
  294. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +6 -6
  295. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +4 -4
  296. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  297. package/esm2022/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.mjs +5 -5
  298. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +5 -5
  299. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +6 -6
  300. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +4 -4
  301. package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +3 -3
  302. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +5 -5
  303. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +4 -4
  304. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
  305. package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +1 -1
  306. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  307. package/esm2022/libs/util/app-config/src/lib/parse-utils.mjs +1 -1
  308. package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +1 -1
  309. package/esm2022/libs/util/data-fetcher/src/lib/headers.mjs +1 -1
  310. package/esm2022/libs/util/data-fetcher/src/lib/model.mjs +3 -3
  311. package/esm2022/libs/util/data-fetcher/src/lib/readers/base-file.mjs +1 -1
  312. package/esm2022/libs/util/data-fetcher/src/lib/readers/csv.mjs +1 -1
  313. package/esm2022/libs/util/data-fetcher/src/lib/readers/excel.mjs +1 -1
  314. package/esm2022/libs/util/data-fetcher/src/lib/readers/geojson.mjs +1 -1
  315. package/esm2022/libs/util/data-fetcher/src/lib/readers/gml.mjs +1 -1
  316. package/esm2022/libs/util/data-fetcher/src/lib/readers/json.mjs +1 -1
  317. package/esm2022/libs/util/data-fetcher/src/lib/sql-utils.mjs +1 -1
  318. package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +13 -11
  319. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
  320. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +4 -4
  321. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +6 -6
  322. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +5 -5
  323. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +6 -4
  324. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  325. package/esm2022/libs/util/shared/src/lib/services/log.service.mjs +3 -3
  326. package/esm2022/libs/util/shared/src/lib/services/proxy.service.mjs +12 -9
  327. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +4 -4
  328. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +4 -4
  329. package/esm2022/libs/util/shared/src/lib/utils/format-fields.mjs +1 -1
  330. package/esm2022/libs/util/shared/src/lib/utils/geojson.mjs +1 -1
  331. package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +1 -1
  332. package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +1 -1
  333. package/esm2022/libs/util/shared/src/lib/utils/parse.mjs +1 -1
  334. package/esm2022/libs/util/shared/src/lib/utils/temporal-extent-union.mjs +1 -1
  335. package/esm2022/libs/util/shared/src/lib/utils/url.mjs +1 -1
  336. package/esm2022/translations/de.json +6 -4
  337. package/esm2022/translations/en.json +87 -66
  338. package/esm2022/translations/es.json +6 -4
  339. package/esm2022/translations/fr.json +82 -61
  340. package/esm2022/translations/it.json +6 -4
  341. package/esm2022/translations/nl.json +6 -4
  342. package/esm2022/translations/pt.json +6 -4
  343. package/fesm2022/geonetwork-ui.mjs +1791 -1384
  344. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  345. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  346. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +5 -0
  347. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -0
  348. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
  349. package/libs/api/metadata-converter/src/lib/function-utils.d.ts.map +1 -1
  350. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +4 -4
  351. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  352. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  353. package/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.d.ts +1 -1
  354. package/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.d.ts.map +1 -1
  355. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +11 -10
  356. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  357. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  358. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -1
  359. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  360. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -0
  361. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  362. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +1 -0
  363. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  364. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +3 -1
  365. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  366. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -2
  367. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  368. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +2 -2
  369. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  370. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts +4 -2
  371. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  372. package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts +1 -1
  373. package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts.map +1 -1
  374. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -1
  375. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  376. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +15 -5
  377. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  378. package/libs/data-access/gn4/src/openapi/model/groupPrivilege.api.model.d.ts.map +1 -1
  379. package/libs/data-access/gn4/src/openapi/model/jsonNode.api.model.d.ts.map +1 -1
  380. package/libs/data-access/gn4/src/openapi/model/link.api.model.d.ts.map +1 -1
  381. package/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.d.ts.map +1 -1
  382. package/libs/data-access/gn4/src/openapi/model/metadataResourceExternalManagementProperties.api.model.d.ts.map +1 -1
  383. package/libs/data-access/gn4/src/openapi/model/metadataStatusParameter.api.model.d.ts.map +1 -1
  384. package/libs/data-access/gn4/src/openapi/model/operation.api.model.d.ts.map +1 -1
  385. package/libs/data-access/gn4/src/openapi/model/pageProperties.api.model.d.ts.map +1 -1
  386. package/libs/data-access/gn4/src/openapi/model/publicationOption.api.model.d.ts.map +1 -1
  387. package/libs/data-access/gn4/src/openapi/model/setting.api.model.d.ts.map +1 -1
  388. package/libs/data-access/gn4/src/openapi/model/status.api.model.d.ts.map +1 -1
  389. package/libs/data-access/gn4/src/openapi/model/statusValue.api.model.d.ts.map +1 -1
  390. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts.map +1 -1
  391. package/libs/data-access/gn4/src/openapi/model/userGroup.api.model.d.ts.map +1 -1
  392. package/libs/data-access/gn4/src/openapi/model/userGroupId.api.model.d.ts.map +1 -1
  393. package/libs/data-access/gn4/src/openapi/model/userSecurity.api.model.d.ts.map +1 -1
  394. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +3 -1
  395. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  396. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +12 -12
  397. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  398. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +11 -11
  399. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  400. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -2
  401. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  402. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  403. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
  404. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +6 -6
  405. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  406. package/libs/feature/editor/src/lib/fields.config.d.ts +1 -1
  407. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  408. package/libs/feature/map/src/lib/+state/map.actions.d.ts +3 -3
  409. package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
  410. package/libs/feature/record/src/index.d.ts +2 -0
  411. package/libs/feature/record/src/index.d.ts.map +1 -1
  412. package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -1
  413. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  414. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts +74 -0
  415. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -0
  416. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts +19 -0
  417. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -0
  418. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +3 -1
  419. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  420. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +13 -13
  421. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  422. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -9
  423. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  424. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  425. package/libs/feature/router/src/lib/default/constants.d.ts +1 -1
  426. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  427. package/libs/feature/router/src/lib/default/state/router.actions.d.ts +3 -3
  428. package/libs/feature/router/src/lib/default/state/router.actions.d.ts.map +1 -1
  429. package/libs/feature/router/src/lib/default/state/router.effects.d.ts +5 -5
  430. package/libs/feature/router/src/lib/default/state/router.effects.d.ts.map +1 -1
  431. package/libs/feature/router/src/lib/default/state/router.selectors.d.ts +1 -1
  432. package/libs/feature/router/src/lib/default/state/router.selectors.d.ts.map +1 -1
  433. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
  434. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
  435. package/libs/feature/search/src/lib/state/actions.d.ts.map +1 -1
  436. package/libs/feature/search/src/lib/utils/operators/search.operator.d.ts.map +1 -1
  437. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  438. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  439. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  440. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +9 -8
  441. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  442. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +2 -1
  443. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -1
  444. package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts.map +1 -1
  445. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +1 -1
  446. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  447. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  448. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -1
  449. package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts.map +1 -1
  450. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  451. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  452. package/libs/util/app-config/src/lib/model.d.ts +1 -0
  453. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  454. package/libs/util/data-fetcher/src/lib/model.d.ts +2 -2
  455. package/libs/util/data-fetcher/src/lib/model.d.ts.map +1 -1
  456. package/libs/util/data-fetcher/src/lib/readers/csv.d.ts.map +1 -1
  457. package/libs/util/data-fetcher/src/lib/readers/excel.d.ts.map +1 -1
  458. package/libs/util/data-fetcher/src/lib/readers/geojson.d.ts.map +1 -1
  459. package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
  460. package/libs/util/data-fetcher/src/lib/readers/json.d.ts.map +1 -1
  461. package/libs/util/data-fetcher/src/lib/utils.d.ts +1 -1
  462. package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
  463. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  464. package/libs/util/shared/src/lib/services/proxy.service.d.ts +4 -2
  465. package/libs/util/shared/src/lib/services/proxy.service.d.ts.map +1 -1
  466. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts +4 -1
  467. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts.map +1 -1
  468. package/package.json +50 -43
  469. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  470. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +50 -0
  471. package/src/libs/api/metadata-converter/src/lib/convert-utils.ts +1 -1
  472. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +2 -0
  473. package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +3 -3
  474. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+ongules.ts +246 -0
  475. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+roilaye.ts +101 -0
  476. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +187 -0
  477. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +9 -1
  478. package/src/libs/api/metadata-converter/src/lib/fixtures/georhena.records.ts +216 -0
  479. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +6 -0
  480. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.reuse.ts +451 -0
  481. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +289 -0
  482. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +16 -11
  483. package/src/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.ts +1 -1
  484. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +11 -10
  485. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -0
  486. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +24 -10
  487. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +8 -2
  488. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +61 -56
  489. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +65 -10
  490. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +9 -3
  491. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -1
  492. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +11 -3
  493. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +1 -1
  494. package/src/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.ts +1 -1
  495. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +1 -1
  496. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +20 -4
  497. package/src/libs/common/fixtures/src/lib/elasticsearch/full-response.fixtures.ts +1 -0
  498. package/src/libs/common/fixtures/src/lib/elasticsearch/search-responses.fixtures.ts +12931 -0
  499. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +37 -28
  500. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +28 -5
  501. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.html +1 -1
  502. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +2 -2
  503. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -1
  504. package/src/libs/feature/editor/src/lib/fields.config.ts +4 -4
  505. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +2 -2
  506. package/src/libs/feature/record/src/index.ts +2 -0
  507. package/src/libs/feature/record/src/lib/feature-record.module.ts +2 -0
  508. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.css +22 -0
  509. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.html +132 -0
  510. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +253 -0
  511. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.css +0 -0
  512. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.html +37 -0
  513. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +43 -0
  514. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +16 -3
  515. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +10 -1
  516. package/src/libs/feature/search/src/lib/facets/facets.service.ts +4 -4
  517. package/src/libs/feature/search/src/lib/state/actions.ts +69 -17
  518. package/src/libs/feature/search/src/lib/state/effects.ts +1 -1
  519. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +1 -1
  520. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +5 -4
  521. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +14 -3
  522. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +2 -1
  523. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +2 -2
  524. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +1 -1
  525. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +1 -1
  526. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +46 -10
  527. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.html +4 -1
  528. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +1 -0
  529. package/src/libs/ui/elements/src/lib/metadata-info/linkify.directive.ts +4 -1
  530. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +6 -6
  531. package/src/libs/ui/elements/src/lib/notification/notification.component.html +1 -1
  532. package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +2 -2
  533. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  534. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +4 -1
  535. package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.html +1 -1
  536. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +4 -1
  537. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +1 -1
  538. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +1 -1
  539. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +4 -1
  540. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +1 -1
  541. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +4 -4
  542. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +2 -2
  543. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.css +4 -2
  544. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +8 -2
  545. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +1 -1
  546. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +4 -1
  547. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +2 -2
  548. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.html +1 -1
  549. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +2 -2
  550. package/src/libs/util/app-config/src/lib/app-config.ts +3 -1
  551. package/src/libs/util/app-config/src/lib/model.ts +1 -0
  552. package/src/libs/util/data-fetcher/src/lib/model.ts +6 -6
  553. package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +1 -1
  554. package/src/libs/util/data-fetcher/src/lib/utils.ts +13 -11
  555. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +2 -0
  556. package/src/libs/util/shared/src/lib/links/link-utils.ts +1 -1
  557. package/src/libs/util/shared/src/lib/services/proxy.service.ts +7 -3
  558. package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -1
  559. package/translations/de.json +6 -4
  560. package/translations/en.json +87 -66
  561. package/translations/es.json +6 -4
  562. package/translations/fr.json +82 -61
  563. package/translations/it.json +6 -4
  564. package/translations/nl.json +6 -4
  565. package/translations/pt.json +6 -4
  566. package/translations/sk.json +6 -4
@@ -9,12 +9,23 @@
9
9
  <div class="">
10
10
  <div class="flex flex-row justify-between">
11
11
  <span
12
+ *ngIf="link.accessServiceProtocol !== 'GPFDL'"
12
13
  class="bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors"
13
14
  [ngClass]="{
14
- '!bg-primary': currentlyActive
15
+ '!bg-primary': currentlyActive,
15
16
  }"
16
17
  >{{ link.accessServiceProtocol }}</span
17
18
  >
19
+ <span
20
+ *ngIf="link.accessServiceProtocol === 'GPFDL'"
21
+ class="bg-primary-opacity-50 uppercase inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded text-primary-lightest group-hover:bg-primary transition-colors"
22
+ [ngClass]="{
23
+ '!bg-primary': currentlyActive,
24
+ }"
25
+ translate
26
+ >
27
+ record.metadata.api.gpfdl</span
28
+ >
18
29
  <div class="flex flex-row gap-2 items-center">
19
30
  <gn-ui-copy-text-button
20
31
  [text]="link.url"
@@ -26,7 +37,7 @@
26
37
  type="button"
27
38
  [ngClass]="{
28
39
  'py-2 px-4 rounded-r-md bg-gray-400 hover:bg-gray-600 focus:bg-gray-800 text-white':
29
- displayText
40
+ displayText,
30
41
  }"
31
42
  [matTooltip]="
32
43
  !currentlyActive
@@ -40,7 +51,7 @@
40
51
  class="pointer-events-none align-middle card-icon"
41
52
  name="matMoreHoriz"
42
53
  [ngClass]="{
43
- 'text-secondary opacity-100': currentlyActive
54
+ 'text-secondary opacity-100': currentlyActive,
44
55
  }"
45
56
  ></ng-icon>
46
57
  </button>
@@ -46,7 +46,8 @@ export class ApiCardComponent implements OnInit, OnChanges {
46
46
  ngOnInit() {
47
47
  this.displayApiFormButton =
48
48
  this.link.accessServiceProtocol === 'ogcFeatures' ||
49
- this.link.accessServiceProtocol === 'wfs'
49
+ this.link.accessServiceProtocol === 'wfs' ||
50
+ this.link.accessServiceProtocol === 'GPFDL'
50
51
  }
51
52
 
52
53
  ngOnChanges(changes: SimpleChanges) {
@@ -20,9 +20,9 @@
20
20
  >
21
21
  <span
22
22
  class="pl-2 inline-flex items-center text-gray-800 text-sm"
23
- *ngIf="isFromWfs"
23
+ *ngIf="isFromApi"
24
24
  translate=""
25
- >datahub.search.filter.generatedByWfs</span
25
+ >datahub.search.filter.generatedByAPI</span
26
26
  >
27
27
  </div>
28
28
  </div>
@@ -28,7 +28,7 @@ export class DownloadItemComponent {
28
28
  @Input() link: DatasetOnlineResource
29
29
  @Input() color: string
30
30
  @Input() format: string
31
- @Input() isFromWfs: boolean
31
+ @Input() isFromApi: boolean
32
32
  @Output() exportUrl = new EventEmitter<string>()
33
33
 
34
34
  openUrl() {
@@ -31,6 +31,6 @@
31
31
  [link]="link"
32
32
  [color]="getLinkColor(link)"
33
33
  [format]="getLinkFormat(link)"
34
- [isFromWfs]="isFromWfs(link)"
34
+ [isFromApi]="isFromApi(link)"
35
35
  ></gn-ui-download-item>
36
36
  </div>
@@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
2
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
3
3
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
4
4
  import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
5
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
5
+ import { DatasetDownloadDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
6
6
  import { CommonModule } from '@angular/common'
7
7
  import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
8
8
  import { DownloadItemComponent } from '../download-item/download-item.component'
@@ -11,7 +11,7 @@ marker('datahub.search.filter.all')
11
11
  marker('datahub.search.filter.others')
12
12
 
13
13
  const FILTER_FORMATS = ['all', 'csv', 'excel', 'json', 'shp', 'others'] as const
14
- type FilterFormat = typeof FILTER_FORMATS[number]
14
+ type FilterFormat = (typeof FILTER_FORMATS)[number]
15
15
 
16
16
  @Component({
17
17
  selector: 'gn-ui-downloads-list',
@@ -29,16 +29,45 @@ type FilterFormat = typeof FILTER_FORMATS[number]
29
29
  export class DownloadsListComponent {
30
30
  constructor(private translateService: TranslateService) {}
31
31
 
32
- @Input() links: DatasetOnlineResource[]
32
+ @Input() links: DatasetDownloadDistribution[]
33
33
 
34
34
  activeFilterFormats: FilterFormat[] = ['all']
35
35
 
36
- get filteredLinks(): DatasetOnlineResource[] {
37
- return this.links.filter((link) =>
36
+ private removeDuplicateFormats(
37
+ links: DatasetDownloadDistribution[]
38
+ ): DatasetDownloadDistribution[] {
39
+ const preferredLinks = new Map<string, DatasetDownloadDistribution>()
40
+
41
+ links.forEach((link) => {
42
+ const format = getFileFormat(link)
43
+ const withoutNameSpace = (link.name || link.description || '').replace(
44
+ /^.*?:/,
45
+ ''
46
+ )
47
+ const uniqueKey = `${format}-${withoutNameSpace}`
48
+ if (!preferredLinks.has(uniqueKey)) {
49
+ preferredLinks.set(uniqueKey, link)
50
+ } else {
51
+ const existingLink = preferredLinks.get(uniqueKey)
52
+ if (
53
+ link.accessServiceProtocol === 'ogcFeatures' &&
54
+ existingLink?.accessServiceProtocol !== 'ogcFeatures'
55
+ ) {
56
+ preferredLinks.set(uniqueKey, link)
57
+ }
58
+ }
59
+ })
60
+
61
+ return Array.from(preferredLinks.values())
62
+ }
63
+
64
+ get filteredLinks(): DatasetDownloadDistribution[] {
65
+ const filteredByFormat = this.links.filter((link) =>
38
66
  this.activeFilterFormats.some((format) =>
39
67
  this.isLinkOfFormat(link, format)
40
68
  )
41
69
  )
70
+ return this.removeDuplicateFormats(filteredByFormat)
42
71
  }
43
72
 
44
73
  get visibleFormats(): FilterFormat[] {
@@ -78,7 +107,10 @@ export class DownloadsListComponent {
78
107
  return format
79
108
  }
80
109
 
81
- isLinkOfFormat(link: DatasetOnlineResource, format: FilterFormat): boolean {
110
+ isLinkOfFormat(
111
+ link: DatasetDownloadDistribution,
112
+ format: FilterFormat
113
+ ): boolean {
82
114
  if (format === 'all') {
83
115
  return true
84
116
  }
@@ -96,15 +128,19 @@ export class DownloadsListComponent {
96
128
  return getFileFormat(link).includes(format)
97
129
  }
98
130
 
99
- getLinkFormat(link: DatasetOnlineResource) {
131
+ getLinkFormat(link: DatasetDownloadDistribution) {
100
132
  return getFileFormat(link)
101
133
  }
102
134
 
103
- getLinkColor(link: DatasetOnlineResource) {
135
+ getLinkColor(link: DatasetDownloadDistribution) {
104
136
  return getBadgeColor(getFileFormat(link))
105
137
  }
106
138
 
107
- isFromWfs(link: DatasetOnlineResource) {
108
- return link.type === 'download' && link.accessServiceProtocol === 'wfs'
139
+ isFromApi(link: DatasetDownloadDistribution) {
140
+ return (
141
+ link.type === 'download' &&
142
+ (link.accessServiceProtocol === 'wfs' ||
143
+ link.accessServiceProtocol === 'ogcFeatures')
144
+ )
109
145
  }
110
146
  }
@@ -1 +1,4 @@
1
- <div class="markdown-body" [innerHTML]="parsedMarkdown"></div>
1
+ <div
2
+ [class]="whitoutStyles ? '' : 'markdown-body'"
3
+ [innerHTML]="parsedMarkdown"
4
+ ></div>
@@ -10,6 +10,7 @@ import { marked } from 'marked'
10
10
  })
11
11
  export class MarkdownParserComponent {
12
12
  @Input() textContent: string
13
+ @Input() whitoutStyles?: boolean
13
14
 
14
15
  get parsedMarkdown() {
15
16
  return marked.parse(this.textContent)
@@ -6,7 +6,10 @@ import { Directive, ElementRef, OnInit, Renderer2 } from '@angular/core'
6
6
  standalone: true,
7
7
  })
8
8
  export class GnUiLinkifyDirective implements OnInit {
9
- constructor(private el: ElementRef, private renderer: Renderer2) {}
9
+ constructor(
10
+ private el: ElementRef,
11
+ private renderer: Renderer2
12
+ ) {}
10
13
 
11
14
  ngOnInit() {
12
15
  setTimeout(() => {
@@ -97,7 +97,7 @@
97
97
  <gn-ui-expandable-panel
98
98
  *ngIf="
99
99
  metadata.lineage ||
100
- metadata.recordUpdated ||
100
+ metadata.resourceUpdated ||
101
101
  metadata.updateFrequency ||
102
102
  metadata.status
103
103
  "
@@ -160,16 +160,16 @@
160
160
  <div
161
161
  class="py-6 px-6 rounded bg-gray-100 grid grid-cols-2 gap-y-6 gap-x-[20px] text-gray-700"
162
162
  >
163
- <div *ngIf="metadata.recordCreated">
163
+ <div *ngIf="metadata.resourceCreated">
164
164
  <p class="text-sm" translate>record.metadata.creation</p>
165
165
  <p class="text-primary font-medium mt-1">
166
- {{ metadata.recordCreated.toLocaleDateString() }}
166
+ {{ metadata.resourceCreated.toLocaleDateString() }}
167
167
  </p>
168
168
  </div>
169
- <div *ngIf="metadata.recordPublished">
169
+ <div *ngIf="metadata.resourcePublished">
170
170
  <p class="text-sm" translate>record.metadata.publication</p>
171
171
  <p class="text-primary font-medium mt-1">
172
- {{ metadata.recordPublished.toLocaleDateString() }}
172
+ {{ metadata.resourcePublished.toLocaleDateString() }}
173
173
  </p>
174
174
  </div>
175
175
  <div *ngIf="updateFrequency">
@@ -202,7 +202,7 @@
202
202
  translate
203
203
  [translateParams]="{
204
204
  start: temporalExtent.start,
205
- end: temporalExtent.end
205
+ end: temporalExtent.end,
206
206
  }"
207
207
  >
208
208
  record.metadata.temporalExtent.fromDateToDate
@@ -8,7 +8,7 @@
8
8
  'bg-red-500': type === 'error',
9
9
  'bg-yellow-500': type === 'warning',
10
10
  'bg-green-500': type === 'success',
11
- 'bg-blue-500': type === 'info'
11
+ 'bg-blue-500': type === 'info',
12
12
  }"
13
13
  >
14
14
  <ng-icon
@@ -1,7 +1,7 @@
1
1
  import { Pipe, PipeTransform } from '@angular/core'
2
2
  import { TranslateService } from '@ngx-translate/core'
3
- import { formatDistance } from 'date-fns'
4
- import { de, enUS, es, fr, it, nl, pt, sk } from 'date-fns/locale'
3
+ import { formatDistance } from 'date-fns/formatDistance'
4
+ import { de, enUS, es, fr, it, Locale, nl, pt, sk } from 'date-fns/locale'
5
5
 
6
6
  @Pipe({
7
7
  name: 'timeSince',
@@ -10,7 +10,7 @@
10
10
  type="text"
11
11
  class="gn-ui-text-input"
12
12
  [ngClass]="{
13
- 'px-[--icon-width]': !allowSubmit
13
+ 'px-[--icon-width]': !allowSubmit,
14
14
  }"
15
15
  [placeholder]="placeholder"
16
16
  [formControl]="control"
@@ -54,7 +54,10 @@ export class ChipsInputComponent implements OnInit, OnDestroy {
54
54
  }
55
55
  }
56
56
 
57
- constructor(private http: HttpClient, private translate: TranslateService) {
57
+ constructor(
58
+ private http: HttpClient,
59
+ private translate: TranslateService
60
+ ) {
58
61
  this.rawChange = new Subject<Items[]>()
59
62
  this.itemsChange = this.rawChange.pipe(distinctUntilChanged())
60
63
  this.subscription = new Subscription()
@@ -18,7 +18,7 @@
18
18
  (click)="copyText($event)"
19
19
  [ngClass]="{
20
20
  'py-2 px-4 rounded-r-md bg-gray-400 hover:bg-gray-600 focus:bg-gray-800 text-white':
21
- displayText
21
+ displayText,
22
22
  }"
23
23
  [matTooltip]="tooltipText"
24
24
  matTooltipPosition="above"
@@ -19,7 +19,10 @@ export class EditableLabelDirective implements OnChanges, AfterViewInit {
19
19
 
20
20
  appendedInput: HTMLInputElement
21
21
 
22
- constructor(private el: ElementRef, private renderer: Renderer2) {}
22
+ constructor(
23
+ private el: ElementRef,
24
+ private renderer: Renderer2
25
+ ) {}
23
26
 
24
27
  ngOnChanges() {
25
28
  if (this.appendedInput) {
@@ -6,7 +6,7 @@
6
6
  'border-primary-lighter bg-primary-white': dragFilesOver,
7
7
  'border-gray-300': !dragFilesOver,
8
8
  'cursor-pointer hover:border-gray-500': !isUploadInProgress && !disabled,
9
- 'cursor-not-allowed': disabled
9
+ 'cursor-not-allowed': disabled,
10
10
  }"
11
11
  [attr.tabindex]="isUploadInProgress || disabled ? null : 0"
12
12
  (dragFilesOver)="handleDragFilesOver($event)"
@@ -55,7 +55,7 @@
55
55
  'border-gray-300': !dragFilesOver,
56
56
  'cursor-pointer hover:border-gray-500':
57
57
  !isUploadInProgress && !uploadError && !showUrlInput && !disabled,
58
- 'cursor-not-allowed': disabled
58
+ 'cursor-not-allowed': disabled,
59
59
  }"
60
60
  [attr.tabindex]="
61
61
  isUploadInProgress || uploadError || showUrlInput || disabled ? null : 0
@@ -86,7 +86,10 @@ export class ImageInputComponent {
86
86
  return this.uploadProgress !== undefined
87
87
  }
88
88
 
89
- constructor(private http: HttpClient, private cd: ChangeDetectorRef) {}
89
+ constructor(
90
+ private http: HttpClient,
91
+ private cd: ChangeDetectorRef
92
+ ) {}
90
93
 
91
94
  getPrimaryText() {
92
95
  if (this.uploadError) {
@@ -7,7 +7,7 @@
7
7
  enabled: toggled,
8
8
  'disabled opacity-45': !toggled,
9
9
  'transition hover:scale-125 will-change-transform': !disabled,
10
- 'cursor-default': disabled
10
+ 'cursor-default': disabled,
11
11
  }"
12
12
  >
13
13
  <ng-icon [name]="toggled ? 'matStar' : 'matStarBorder'"></ng-icon>
@@ -13,10 +13,10 @@
13
13
  />
14
14
  <div
15
15
  class="absolute inset-y-[var(--side-padding)] left-[var(--2x-side-padding)] grid justify-center items-center pointer-events-none"
16
- [ngClass]='{
17
- "text-primary": !disabled,
18
- "text-primary-lightest": disabled,
19
- }'
16
+ [ngClass]="{
17
+ 'text-primary': !disabled,
18
+ 'text-primary-lightest': disabled,
19
+ }"
20
20
  >
21
21
  <ng-icon name="iconoirLink"></ng-icon>
22
22
  </div>
@@ -39,8 +39,8 @@ export class InteractiveTableComponent {
39
39
  column.width
40
40
  ? column.width
41
41
  : column.grow
42
- ? `minmax(0px,1fr)`
43
- : `minmax(0px,max-content)`
42
+ ? `minmax(0px,1fr)`
43
+ : `minmax(0px,max-content)`
44
44
  )
45
45
  .join(' '),
46
46
  }
@@ -1,8 +1,10 @@
1
1
  .cdk-drag-preview {
2
2
  box-sizing: border-box;
3
3
  border-radius: 4px;
4
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
5
- 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
4
+ box-shadow:
5
+ 0 5px 5px -3px rgba(0, 0, 0, 0.2),
6
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
7
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12);
6
8
  }
7
9
 
8
10
  .cdk-drag-placeholder {
@@ -9,7 +9,10 @@
9
9
  >
10
10
  <gn-ui-thumbnail
11
11
  class="relative h-full w-full object-cover object-left-top"
12
- [thumbnailUrl]="[record.overviews?.[0]?.url?.toString(), organization?.logoUrl?.toString()]"
12
+ [thumbnailUrl]="[
13
+ record.overviews?.[0]?.url?.toString(),
14
+ organization?.logoUrl?.toString(),
15
+ ]"
13
16
  [fit]="['cover', 'contain']"
14
17
  ></gn-ui-thumbnail>
15
18
  </div>
@@ -30,7 +33,10 @@
30
33
  class="abstract mt-4 mb-5 h-36 line-clamp-6 col-start-1 col-span-2 row-start-3 sm:mb-2 sm:h-[4.5rem] sm:line-clamp-3 sm:row-start-2 sm:mt-0"
31
34
  data-cy="recordAbstract"
32
35
  >
33
- {{ abstract }}
36
+ <gn-ui-markdown-parser
37
+ [textContent]="abstract"
38
+ whitoutStyles="true"
39
+ ></gn-ui-markdown-parser>
34
40
  </div>
35
41
  <div
36
42
  class="text-primary opacity-45 uppercase col-start-1 col-span-2 row-start-2 sm:truncate sm:row-start-3 sm:col-span-1"
@@ -14,7 +14,7 @@ export class ResultsLayoutConfigItem {
14
14
  constructor(
15
15
  public component: Type<RecordPreviewComponent>,
16
16
  public itemClass: string = DEFAULT_ITEM_CLS,
17
- public itemStyle: string = '',
17
+ public itemStyle = '',
18
18
  public containerClass: string = DEFAULT_CONTAINER_CLS
19
19
  ) {}
20
20
  }
@@ -40,7 +40,10 @@ export class ActionMenuComponent {
40
40
 
41
41
  sectionDisplayed: ActionMenuPage = 'mainMenu'
42
42
 
43
- constructor(public dialog: MatDialog, private cdr: ChangeDetectorRef) {}
43
+ constructor(
44
+ public dialog: MatDialog,
45
+ private cdr: ChangeDetectorRef
46
+ ) {}
44
47
 
45
48
  openMenu() {
46
49
  this.trigger.openMenu()
@@ -84,7 +84,7 @@
84
84
  (sortChange)="setSortBy('recordOwner', $event)"
85
85
  >
86
86
  <ng-template #header>
87
- <span translate>record.metadata.author</span>
87
+ <span translate>search.filters.user</span>
88
88
  </ng-template>
89
89
  <ng-template #cell let-item>
90
90
  <ng-icon name="iconoirUser" size="16px"></ng-icon>
@@ -119,7 +119,7 @@
119
119
  (sortChange)="setSortBy('changeDate', $event)"
120
120
  >
121
121
  <ng-template #header>
122
- <span translate>record.metadata.updatedOn</span>
122
+ <span translate>search.filters.changeDate</span>
123
123
  </ng-template>
124
124
  <ng-template #cell let-item>
125
125
  <div class="flex text-left w-full text-xs">
@@ -8,7 +8,7 @@
8
8
  expanded: this.expanded,
9
9
  'bg-red-500': type === 'danger',
10
10
  'bg-yellow-500': type === 'warning',
11
- 'bg-blue-500': type === 'info'
11
+ 'bg-blue-500': type === 'info',
12
12
  }"
13
13
  (mouseenter)="expand()"
14
14
  (mouseleave)="expandAndClose()"
@@ -45,8 +45,8 @@ export class StepBarComponent {
45
45
  return index === this.currentStep
46
46
  ? 'bg-black'
47
47
  : index < this.currentStep
48
- ? 'bg-white'
49
- : this.color.innerBar
48
+ ? 'bg-white'
49
+ : this.color.innerBar
50
50
  }
51
51
 
52
52
  getChecked(index: number): boolean {
@@ -149,6 +149,7 @@ export function loadAppConfig() {
149
149
  'max_zoom',
150
150
  'do_not_tile_wms',
151
151
  'max_extent',
152
+ 'max_feature_count',
152
153
  'baselayer',
153
154
  'do_not_use_default_basemap',
154
155
  'external_viewer_url_template',
@@ -164,6 +165,7 @@ export function loadAppConfig() {
164
165
  MAX_ZOOM: parsedMapSection.max_zoom,
165
166
  DO_NOT_TILE_WMS: parsedMapSection.do_not_tile_wms,
166
167
  MAX_EXTENT: parsedMapSection.max_extent,
168
+ MAX_FEATURE_COUNT: parsedMapSection.max_feature_count,
167
169
  EXTERNAL_VIEWER_URL_TEMPLATE:
168
170
  parsedMapSection.external_viewer_url_template,
169
171
  EXTERNAL_VIEWER_OPEN_NEW_TAB:
@@ -179,7 +181,7 @@ export function loadAppConfig() {
179
181
  DATA: map_layer.data,
180
182
  STYLE_URL: map_layer.styleUrl,
181
183
  ACCESS_TOKEN: map_layer.accessToken,
182
- } as LayerConfig)
184
+ }) as LayerConfig
183
185
  ),
184
186
  } as MapConfig)
185
187
 
@@ -26,6 +26,7 @@ export interface MapConfig {
26
26
  MAX_ZOOM?: number
27
27
  DO_NOT_TILE_WMS: boolean
28
28
  MAX_EXTENT?: [number, number, number, number] // Expressed as [minx, miny, maxx, maxy]
29
+ MAX_FEATURE_COUNT?: number
29
30
  EXTERNAL_VIEWER_URL_TEMPLATE?: string
30
31
  EXTERNAL_VIEWER_OPEN_NEW_TAB?: boolean
31
32
  DO_NOT_USE_DEFAULT_BASEMAP: boolean
@@ -48,11 +48,11 @@ export const ExcelMimeTypes = [
48
48
  export const GmlMimeTypes = ['application/gml+xml'] as const
49
49
 
50
50
  export type SupportedMimeType =
51
- | typeof CsvMimeTypes[number]
52
- | typeof JsonMimeTypes[number]
53
- | typeof GeoJsonMimeTypes[number]
54
- | typeof ExcelMimeTypes[number]
55
- | typeof GmlMimeTypes[number]
51
+ | (typeof CsvMimeTypes)[number]
52
+ | (typeof JsonMimeTypes)[number]
53
+ | (typeof GeoJsonMimeTypes)[number]
54
+ | (typeof ExcelMimeTypes)[number]
55
+ | (typeof GmlMimeTypes)[number]
56
56
 
57
57
  export const SupportedTypes = [
58
58
  'csv',
@@ -61,7 +61,7 @@ export const SupportedTypes = [
61
61
  'excel',
62
62
  'gml',
63
63
  ] as const
64
- export type SupportedType = typeof SupportedTypes[number]
64
+ export type SupportedType = (typeof SupportedTypes)[number]
65
65
 
66
66
  export const AllMimeTypes = {
67
67
  csv: CsvMimeTypes,
@@ -28,7 +28,7 @@ export class BaseFileReader extends BaseReader {
28
28
  (result) =>
29
29
  ({
30
30
  itemsCount: result.items.length,
31
- } as DatasetInfo)
31
+ }) as DatasetInfo
32
32
  )
33
33
  }
34
34
 
@@ -8,8 +8,8 @@ import {
8
8
  } from './model'
9
9
  import { sharedFetch, useCache } from '@camptocamp/ogc-client'
10
10
  import { parseHeaders } from './headers'
11
- import parseDate from 'date-fns/parse'
12
- import parseIsoDate from 'date-fns/parseISO'
11
+ import { parse as parseDate } from 'date-fns/parse'
12
+ import { parseISO as parseIsoDate } from 'date-fns/parseISO'
13
13
 
14
14
  export async function inferDatasetType(
15
15
  url: string,
@@ -89,20 +89,22 @@ export function fetchDataAsArrayBuffer(url: string): Promise<ArrayBuffer> {
89
89
  })
90
90
  }
91
91
 
92
- export function tryParseDate(input: string): Date | null {
93
- function tryIso() {
94
- const parsed = parseIsoDate(input)
92
+ export function tryParseDate(input: unknown): Date | null {
93
+ if (typeof input !== 'string') return null
94
+
95
+ function tryIso(value: string) {
96
+ const parsed = parseIsoDate(value)
95
97
  return isNaN(parsed.getDate()) ? null : parsed
96
98
  }
97
- function tryFormat(format: string) {
98
- const parsed = parseDate(input, format, new Date())
99
+ function tryFormat(value: string, format: string) {
100
+ const parsed = parseDate(value, format, new Date())
99
101
  return isNaN(parsed.getDate()) ? null : parsed
100
102
  }
101
103
  return (
102
- tryIso() ||
103
- tryFormat('dd/MM/yyyy') ||
104
- tryFormat('dd.MM.yyyy') ||
105
- tryFormat('MM/dd/yyyy') ||
104
+ tryIso(input) ||
105
+ tryFormat(input, 'dd/MM/yyyy') ||
106
+ tryFormat(input, 'dd.MM.yyyy') ||
107
+ tryFormat(input, 'MM/dd/yyyy') ||
106
108
  null
107
109
  )
108
110
  }
@@ -28,6 +28,8 @@ export class LinkClassifierService {
28
28
  return [LinkUsage.API, LinkUsage.MAP_API]
29
29
  case 'ogcFeatures':
30
30
  return [LinkUsage.API, LinkUsage.DOWNLOAD, LinkUsage.GEODATA]
31
+ case 'GPFDL':
32
+ return [LinkUsage.API]
31
33
  default:
32
34
  return [LinkUsage.UNKNOWN]
33
35
  }
@@ -138,7 +138,7 @@ export function getLinkPriority(link: DatasetOnlineResource): number {
138
138
  export function getFileFormatFromServiceOutput(
139
139
  serviceOutput: string
140
140
  ): FileFormat | null {
141
- function formatMatcher(format: typeof FORMATS[FileFormat]): boolean {
141
+ function formatMatcher(format: (typeof FORMATS)[FileFormat]): boolean {
142
142
  const output = serviceOutput.toLowerCase()
143
143
  return (
144
144
  format.extensions.some((extension: string) =>