geonetwork-ui 2.4.0-dev.344a92f2 → 2.4.0-dev.3b6b95eb

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 (429) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +4 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/common/license.mjs +64 -0
  3. package/esm2022/libs/api/metadata-converter/src/lib/common/url.mjs +14 -0
  4. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +254 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/index.mjs +2 -0
  6. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.mjs +17 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +196 -0
  8. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +46 -0
  9. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +74 -0
  10. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.mjs +2 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +27 -0
  12. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +11 -1
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +3 -3
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +8 -23
  15. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +3 -3
  16. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +27 -37
  17. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +35 -3
  18. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +78 -39
  19. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +34 -26
  20. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +1 -1
  21. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  22. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  23. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -4
  24. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
  25. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +10 -7
  26. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +40 -50
  27. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  28. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +5 -5
  29. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +3 -3
  30. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +95 -0
  31. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +72 -0
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +109 -0
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -8
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +38 -60
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +10 -7
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +191 -0
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +5 -4
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +2 -2
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +10 -6
  40. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +3 -3
  41. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +17 -3
  42. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +5 -5
  43. package/esm2022/libs/feature/map/src/index.mjs +2 -9
  44. package/esm2022/libs/feature/map/src/lib/+state/map.actions.mjs +4 -7
  45. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +9 -15
  46. package/esm2022/libs/feature/map/src/lib/+state/map.reducer.mjs +13 -44
  47. package/esm2022/libs/feature/map/src/lib/+state/map.selectors.mjs +3 -2
  48. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +15 -15
  49. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +16 -10
  50. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +10 -8
  51. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -7
  52. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -6
  53. package/esm2022/libs/feature/map/src/lib/constant/index.mjs +1 -2
  54. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +4 -44
  55. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +43 -29
  56. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +17 -8
  57. package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +27 -0
  58. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +4 -168
  59. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +21 -17
  60. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +14 -8
  61. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +40 -52
  62. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +1 -1
  63. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +11 -6
  64. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +7 -7
  65. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +1 -6
  66. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  67. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +3 -3
  68. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +3 -3
  69. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +3 -3
  70. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +3 -3
  71. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +2 -2
  72. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +6 -4
  73. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +5 -3
  74. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +2 -7
  75. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +20 -4
  76. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  77. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +3 -3
  78. package/esm2022/libs/ui/map/src/index.mjs +4 -3
  79. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +8 -6
  80. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +137 -0
  81. package/esm2022/libs/ui/map/src/lib/components/map-container/map-settings.token.mjs +13 -0
  82. package/esm2022/libs/ui/map/src/lib/map-utils.mjs +37 -0
  83. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +3 -3
  84. package/esm2022/libs/util/app-config/src/index.mjs +2 -1
  85. package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +27 -0
  86. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
  87. package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +19 -0
  88. package/esm2022/translations/de.json +19 -0
  89. package/esm2022/translations/en.json +51 -32
  90. package/esm2022/translations/es.json +19 -0
  91. package/esm2022/translations/fr.json +82 -63
  92. package/esm2022/translations/it.json +19 -0
  93. package/esm2022/translations/nl.json +19 -0
  94. package/esm2022/translations/pt.json +19 -0
  95. package/fesm2022/geonetwork-ui.mjs +6871 -6029
  96. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  97. package/libs/api/metadata-converter/src/index.d.ts +3 -0
  98. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  99. package/libs/api/metadata-converter/src/lib/common/license.d.ts +3 -0
  100. package/libs/api/metadata-converter/src/lib/common/license.d.ts.map +1 -0
  101. package/libs/api/metadata-converter/src/lib/common/url.d.ts +7 -0
  102. package/libs/api/metadata-converter/src/lib/common/url.d.ts.map +1 -0
  103. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts +13 -0
  104. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -0
  105. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts +2 -0
  106. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts.map +1 -0
  107. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts +16 -0
  108. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts.map +1 -0
  109. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts +20 -0
  110. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts.map +1 -0
  111. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts +9 -0
  112. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts.map +1 -0
  113. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts +8 -0
  114. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts.map +1 -0
  115. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts +2 -0
  116. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts.map +1 -0
  117. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts +6 -0
  118. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts.map +1 -0
  119. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -1
  120. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  121. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +0 -1
  122. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  123. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  124. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +4 -6
  125. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  126. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +58 -0
  127. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  128. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +12 -7
  129. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  130. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -15
  131. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  132. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -1
  133. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  134. package/libs/common/domain/src/lib/platform.service.interface.d.ts +2 -3
  135. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  136. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -0
  137. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  138. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +2 -1
  139. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  140. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +10 -9
  141. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
  142. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +13 -20
  143. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
  144. package/libs/feature/editor/src/index.d.ts +1 -0
  145. package/libs/feature/editor/src/index.d.ts.map +1 -1
  146. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  147. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +34 -0
  148. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
  149. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +16 -0
  150. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -0
  151. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts +38 -0
  152. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -0
  153. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +1 -1
  154. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
  155. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +6 -13
  156. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +1 -1
  157. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +1 -1
  158. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
  159. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +44 -0
  160. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -0
  161. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +1 -1
  162. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  163. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  164. package/libs/feature/editor/src/lib/fields.config.d.ts +2 -0
  165. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  166. package/libs/feature/editor/src/lib/services/editor.service.d.ts +2 -2
  167. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  168. package/libs/feature/map/src/index.d.ts +1 -8
  169. package/libs/feature/map/src/index.d.ts.map +1 -1
  170. package/libs/feature/map/src/lib/+state/map.actions.d.ts +13 -39
  171. package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
  172. package/libs/feature/map/src/lib/+state/map.facade.d.ts +9 -10
  173. package/libs/feature/map/src/lib/+state/map.facade.d.ts.map +1 -1
  174. package/libs/feature/map/src/lib/+state/map.reducer.d.ts +4 -2
  175. package/libs/feature/map/src/lib/+state/map.reducer.d.ts.map +1 -1
  176. package/libs/feature/map/src/lib/+state/map.selectors.d.ts +6 -1
  177. package/libs/feature/map/src/lib/+state/map.selectors.d.ts.map +1 -1
  178. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +3 -5
  179. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  180. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  181. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +2 -2
  182. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  183. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
  184. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  185. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
  186. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  187. package/libs/feature/map/src/lib/constant/index.d.ts +0 -1
  188. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  189. package/libs/feature/map/src/lib/feature-map.module.d.ts +12 -18
  190. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  191. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +7 -7
  192. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  193. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +4 -3
  194. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  195. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts +14 -0
  196. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts.map +1 -0
  197. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +0 -30
  198. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  199. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +8 -5
  200. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  201. package/libs/feature/record/src/lib/feature-record.module.d.ts +13 -11
  202. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  203. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -19
  204. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  205. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +4 -3
  206. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  207. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts +1 -1
  208. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts.map +1 -1
  209. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +9 -10
  210. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
  211. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  212. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  213. package/libs/ui/inputs/src/index.d.ts +1 -0
  214. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  215. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts +1 -1
  216. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
  217. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +1 -0
  218. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -1
  219. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -26
  220. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  221. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +6 -3
  222. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -1
  223. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +1 -1
  224. package/libs/ui/map/src/index.d.ts +3 -2
  225. package/libs/ui/map/src/index.d.ts.map +1 -1
  226. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +3 -4
  227. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  228. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts +37 -0
  229. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts.map +1 -0
  230. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts +18 -0
  231. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -0
  232. package/libs/ui/map/src/lib/map-utils.d.ts +7 -0
  233. package/libs/ui/map/src/lib/map-utils.d.ts.map +1 -0
  234. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +1 -1
  235. package/libs/util/app-config/src/index.d.ts +1 -0
  236. package/libs/util/app-config/src/index.d.ts.map +1 -1
  237. package/libs/util/app-config/src/lib/map-layers.d.ts +4 -0
  238. package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -0
  239. package/libs/util/shared/src/lib/utils/index.d.ts +1 -0
  240. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  241. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts +2 -0
  242. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts.map +1 -0
  243. package/package.json +5 -3
  244. package/src/libs/api/metadata-converter/src/index.ts +3 -0
  245. package/src/libs/api/metadata-converter/src/lib/common/license.ts +66 -0
  246. package/src/libs/api/metadata-converter/src/lib/common/url.ts +15 -0
  247. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +378 -0
  248. package/src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts +1 -0
  249. package/src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts +17 -0
  250. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +370 -0
  251. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +95 -0
  252. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/individual-name.ts +20 -0
  253. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/keyword.mapper.ts +16 -0
  254. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/role.mapper.ts +48 -0
  255. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +97 -0
  256. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +19 -0
  257. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/update-frequency.mapper.ts +67 -0
  258. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts +1 -0
  259. package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +68 -0
  260. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +13 -0
  261. package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +272 -0
  262. package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +110 -0
  263. package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +85 -0
  264. package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +73 -0
  265. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +1 -2
  266. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +7 -35
  267. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +1 -2
  268. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +85 -120
  269. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +37 -2
  270. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +132 -68
  271. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +57 -30
  272. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +1 -1
  273. package/src/libs/common/domain/src/lib/platform.service.interface.ts +2 -2
  274. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
  275. package/src/libs/common/fixtures/src/index.ts +3 -0
  276. package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
  277. package/src/libs/common/fixtures/src/lib/map/index.ts +1 -0
  278. package/src/libs/common/fixtures/src/lib/map/map-context.fixtures.ts +53 -0
  279. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +13 -0
  280. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +5 -1
  281. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +6 -2
  282. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +5 -2
  283. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +38 -78
  284. package/src/libs/feature/editor/src/index.ts +1 -0
  285. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +11 -4
  286. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +1 -1
  287. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +47 -0
  288. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +132 -0
  289. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +31 -0
  290. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +82 -0
  291. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +40 -0
  292. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +170 -0
  293. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +1 -1
  294. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +6 -8
  295. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +1 -4
  296. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +41 -83
  297. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +20 -11
  298. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +9 -5
  299. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.css +0 -0
  300. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +71 -0
  301. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +241 -0
  302. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +4 -3
  303. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +1 -1
  304. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +15 -0
  305. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +7 -3
  306. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
  307. package/src/libs/feature/editor/src/lib/fields.config.ts +18 -2
  308. package/src/libs/feature/editor/src/lib/services/editor.service.ts +7 -3
  309. package/src/libs/feature/map/src/index.ts +1 -8
  310. package/src/libs/feature/map/src/lib/+state/map.actions.ts +10 -25
  311. package/src/libs/feature/map/src/lib/+state/map.facade.ts +11 -15
  312. package/src/libs/feature/map/src/lib/+state/map.reducer.ts +16 -53
  313. package/src/libs/feature/map/src/lib/+state/map.selectors.ts +7 -2
  314. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +12 -15
  315. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +17 -11
  316. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +11 -12
  317. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +12 -10
  318. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +11 -9
  319. package/src/libs/feature/map/src/lib/constant/index.ts +0 -1
  320. package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -26
  321. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +38 -20
  322. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +2 -2
  323. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +15 -5
  324. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.css +0 -0
  325. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.html +4 -0
  326. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.ts +29 -0
  327. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +1 -229
  328. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +27 -18
  329. package/src/libs/feature/record/src/lib/feature-record.module.ts +11 -3
  330. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +4 -4
  331. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +44 -71
  332. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +1 -1
  333. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +4 -1
  334. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +4 -2
  335. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +8 -1
  336. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +0 -3
  337. package/src/libs/ui/inputs/src/index.ts +1 -0
  338. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +1 -2
  339. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +2 -1
  340. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +2 -1
  341. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +8 -8
  342. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +5 -1
  343. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +1 -1
  344. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +3 -1
  345. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  346. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +5 -1
  347. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +25 -2
  348. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +1 -1
  349. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +2 -2
  350. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +1 -1
  351. package/src/libs/ui/map/src/index.ts +3 -2
  352. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +1 -1
  353. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +8 -5
  354. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.css +0 -0
  355. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +203 -0
  356. package/src/libs/ui/map/src/lib/components/map-container/map-settings.token.ts +23 -0
  357. package/src/libs/ui/map/src/lib/map-utils.ts +54 -0
  358. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +18 -14
  359. package/src/libs/util/app-config/src/index.ts +1 -0
  360. package/src/libs/util/app-config/src/lib/map-layers.ts +31 -0
  361. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  362. package/src/libs/util/shared/src/lib/utils/no-duplicate-file-name.ts +23 -0
  363. package/tailwind.base.css +3 -2
  364. package/translations/de.json +19 -0
  365. package/translations/en.json +51 -32
  366. package/translations/es.json +19 -0
  367. package/translations/fr.json +82 -63
  368. package/translations/it.json +19 -0
  369. package/translations/nl.json +19 -0
  370. package/translations/pt.json +19 -0
  371. package/translations/sk.json +19 -0
  372. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +0 -15
  373. package/esm2022/libs/feature/map/src/lib/+state/map.models.mjs +0 -2
  374. package/esm2022/libs/feature/map/src/lib/constant/map-options.mjs +0 -8
  375. package/esm2022/libs/feature/map/src/lib/constant/style.constant.mjs +0 -17
  376. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +0 -38
  377. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +0 -19
  378. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +0 -19
  379. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +0 -27
  380. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +0 -46
  381. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +0 -10
  382. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +0 -289
  383. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +0 -40
  384. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +0 -33
  385. package/libs/feature/map/src/lib/+state/map.effects.d.ts +0 -9
  386. package/libs/feature/map/src/lib/+state/map.effects.d.ts.map +0 -1
  387. package/libs/feature/map/src/lib/+state/map.models.d.ts +0 -9
  388. package/libs/feature/map/src/lib/+state/map.models.d.ts.map +0 -1
  389. package/libs/feature/map/src/lib/constant/map-options.d.ts +0 -9
  390. package/libs/feature/map/src/lib/constant/map-options.d.ts.map +0 -1
  391. package/libs/feature/map/src/lib/constant/style.constant.d.ts +0 -4
  392. package/libs/feature/map/src/lib/constant/style.constant.d.ts.map +0 -1
  393. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts +0 -16
  394. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts.map +0 -1
  395. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts +0 -9
  396. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts.map +0 -1
  397. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts +0 -11
  398. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts.map +0 -1
  399. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts +0 -12
  400. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts.map +0 -1
  401. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts +0 -26
  402. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts.map +0 -1
  403. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +0 -77
  404. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +0 -1
  405. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +0 -26
  406. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +0 -1
  407. package/libs/ui/map/src/lib/components/map/map.component.d.ts +0 -19
  408. package/libs/ui/map/src/lib/components/map/map.component.d.ts.map +0 -1
  409. package/libs/ui/map/src/lib/ui-map.module.d.ts +0 -13
  410. package/libs/ui/map/src/lib/ui-map.module.d.ts.map +0 -1
  411. package/src/libs/feature/map/src/lib/+state/map.effects.ts +0 -7
  412. package/src/libs/feature/map/src/lib/+state/map.models.ts +0 -9
  413. package/src/libs/feature/map/src/lib/constant/map-options.ts +0 -17
  414. package/src/libs/feature/map/src/lib/feature-info/feature-info.service.ts +0 -42
  415. package/src/libs/feature/map/src/lib/manager/map-instance.directive.ts +0 -10
  416. package/src/libs/feature/map/src/lib/manager/map-manager.service.ts +0 -13
  417. package/src/libs/feature/map/src/lib/map-container/map-container.component.html +0 -1
  418. package/src/libs/feature/map/src/lib/map-container/map-container.component.ts +0 -26
  419. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.html +0 -1
  420. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.ts +0 -57
  421. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +0 -55
  422. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +0 -95
  423. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +0 -318
  424. package/src/libs/ui/map/src/lib/components/map/map.component.ts +0 -57
  425. package/src/libs/ui/map/src/lib/ui-map.module.ts +0 -19
  426. /package/src/libs/feature/{map/src/lib/map-container/map-container.component.css → editor/src/lib/components/import-record/import-record.component.css} +0 -0
  427. /package/src/libs/feature/{map/src/lib/map-context/component/map-context.component.css → editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.css} +0 -0
  428. /package/src/libs/{ui/map/src/lib/components/map/map.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.css} +0 -0
  429. /package/src/libs/ui/map/src/lib/components/{map/map.component.html → map-container/map-container.component.html} +0 -0
@@ -0,0 +1,67 @@
1
+ import { UpdateFrequency } from '../../../../../../../libs/common/domain/src/lib/model/record'
2
+
3
+ export function getUpdateFrequencyFromFrequencyCode(
4
+ frequencyCode: string
5
+ ): UpdateFrequency {
6
+ switch (frequencyCode) {
7
+ case 'asNeeded':
8
+ return 'asNeeded'
9
+ case 'unknown':
10
+ return 'unknown'
11
+ case 'irregular':
12
+ return 'irregular'
13
+ case 'notPlanned':
14
+ return 'notPlanned'
15
+ case 'continual':
16
+ return 'continual'
17
+ case 'periodic':
18
+ return 'periodic'
19
+ case 'daily':
20
+ return {
21
+ updatedTimes: 1,
22
+ per: 'day',
23
+ }
24
+ case 'weekly':
25
+ return {
26
+ updatedTimes: 1,
27
+ per: 'week',
28
+ }
29
+ case 'fortnightly':
30
+ return {
31
+ updatedTimes: 0.5,
32
+ per: 'week',
33
+ }
34
+ case 'semimonthly':
35
+ return {
36
+ updatedTimes: 2,
37
+ per: 'month',
38
+ }
39
+ case 'monthly':
40
+ return {
41
+ updatedTimes: 1,
42
+ per: 'month',
43
+ }
44
+ case 'quarterly':
45
+ return {
46
+ updatedTimes: 4,
47
+ per: 'year',
48
+ }
49
+ case 'biannually':
50
+ return {
51
+ updatedTimes: 2,
52
+ per: 'year',
53
+ }
54
+ case 'annually':
55
+ return {
56
+ updatedTimes: 1,
57
+ per: 'year',
58
+ }
59
+ case 'biennially':
60
+ return {
61
+ updatedTimes: 0.5,
62
+ per: 'year',
63
+ }
64
+ default:
65
+ return null
66
+ }
67
+ }
@@ -0,0 +1 @@
1
+ export const BASE_URI = 'http://geonetwork-ui/'
@@ -0,0 +1,68 @@
1
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+ import { NamedNode, Store, sym } from 'rdflib'
3
+ import { DCAT, DCTERMS, FOAF, RDF } from './namespaces'
4
+ import {
5
+ getOrAddLiteral,
6
+ getOrAddLocalizedLiteral,
7
+ getOrAddStatement,
8
+ } from './utils/graph-utils'
9
+ import { BASE_URI } from './utils/uri'
10
+
11
+ function getOrAddDatasetNode(
12
+ record: CatalogRecord,
13
+ dataStore: Store,
14
+ recordNode: NamedNode
15
+ ): NamedNode {
16
+ if (dataStore.holds(null, RDF('type'), DCAT('Dataset'))) {
17
+ return dataStore.the(null, RDF('type'), DCAT('Dataset')) as NamedNode
18
+ }
19
+ const datasetNode = sym(`${BASE_URI}dataset/${record.uniqueIdentifier}`)
20
+ dataStore.add(datasetNode, RDF('type'), DCAT('Dataset'))
21
+ dataStore.add(recordNode, FOAF('primaryTopic'), datasetNode)
22
+ return datasetNode
23
+ }
24
+
25
+ export function writeUniqueIdentifier(
26
+ record: CatalogRecord,
27
+ dataStore: Store,
28
+ recordNode: NamedNode
29
+ ) {
30
+ getOrAddStatement(
31
+ dataStore,
32
+ recordNode,
33
+ DCTERMS('identifier'),
34
+ record.uniqueIdentifier
35
+ )
36
+ }
37
+
38
+ export function writeTitle(
39
+ record: CatalogRecord,
40
+ dataStore: Store,
41
+ recordNode: NamedNode
42
+ ) {
43
+ const dataset = getOrAddDatasetNode(record, dataStore, recordNode)
44
+ getOrAddLocalizedLiteral(
45
+ dataStore,
46
+ dataset,
47
+ DCTERMS('title'),
48
+ record.title,
49
+ 'en'
50
+ )
51
+ getOrAddLiteral(dataStore, dataset, DCTERMS('title'), record.title)
52
+ }
53
+
54
+ export function writeAbstract(
55
+ record: CatalogRecord,
56
+ dataStore: Store,
57
+ recordNode: NamedNode
58
+ ) {
59
+ const dataset = getOrAddDatasetNode(record, dataStore, recordNode)
60
+ getOrAddLocalizedLiteral(
61
+ dataStore,
62
+ dataset,
63
+ DCTERMS('description'),
64
+ record.abstract,
65
+ 'en'
66
+ )
67
+ getOrAddLiteral(dataStore, dataset, DCTERMS('description'), record.abstract)
68
+ }
@@ -1,6 +1,7 @@
1
1
  import { Iso19139Converter } from './iso19139'
2
2
  import { BaseConverter } from './base.converter'
3
3
  import { Iso191153Converter } from './iso19115-3'
4
+ import { DcatApConverter } from './dcat-ap'
4
5
 
5
6
  export function findConverterForDocument(
6
7
  document: string
@@ -9,6 +10,18 @@ export function findConverterForDocument(
9
10
  return new Iso191153Converter()
10
11
  } else if (document.indexOf('gmd:MD_Metadata') > 0) {
11
12
  return new Iso19139Converter()
13
+ } else if (
14
+ /@prefix\s*[a-z]+\s*:\s*<http:\/\/www\.w3\.org\/ns\/dcat#>\s*\./.test(
15
+ document
16
+ )
17
+ ) {
18
+ return new DcatApConverter('text/turtle')
19
+ } else if (/xmlns:[a-z]+="http:\/\/www\.w3\.org\/ns\/dcat#"/.test(document)) {
20
+ return new DcatApConverter('application/rdf+xml')
21
+ } else if (
22
+ /"[a-zA-Z]+"\s*:\s*"http:\/\/www\.w3\.org\/ns\/dcat#/.test(document)
23
+ ) {
24
+ return new DcatApConverter('application/ld+json')
12
25
  } else {
13
26
  throw new Error(`No suitable converter found for the following document:
14
27
  ${document.substring(0, 400)}...`)
@@ -0,0 +1,272 @@
1
+ import { DatasetRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+
3
+ export const EU_SURVEY_DATASET_RECORD: DatasetRecord = {
4
+ uniqueIdentifier:
5
+ 'second-european-union-minorities-and-discrimination-survey',
6
+ title: 'Second European Union Minorities and Discrimination Survey',
7
+ abstract:
8
+ 'The second European Union Minorities and Discrimination Survey collected information from over 25,500 respondents with different ethnic minority and immigrant backgrounds across all 28 EU Member States.',
9
+ contacts: [],
10
+ contactsForResource: [
11
+ {
12
+ firstName: 'Rossalina',
13
+ lastName: 'Latcheva (PhD)',
14
+ email: 'missing@missing.com',
15
+ role: 'point_of_contact',
16
+ },
17
+ ],
18
+ landingPage: new URL(
19
+ 'https://fra.europa.eu/en/publications-and-resources/data-and-maps/survey-data-explorer-second-eu-minorities-discrimination-survey'
20
+ ),
21
+ onlineResources: [
22
+ {
23
+ description:
24
+ 'Despite efforts by the European Union (EU) and its Member States to reduce gender inequalities among citizens of Roma origin, important gender differences persist. Drawing on FRA’s own survey research in nine EU Member States this report highlights the position of Roma women in education, employment and health, as well as the extent to which they experience hate-motivated discrimination, harassment and physical violence.',
25
+ name: 'Roma women in nine EU Member States',
26
+ type: 'download',
27
+ url: new URL(
28
+ 'https://fra.europa.eu/sites/default/files/fra_uploads/fra-2019-eu-minorities-survey-roma-women_en.pdf'
29
+ ),
30
+ },
31
+ {
32
+ description:
33
+ 'The report is based on a survey that collected information on almost 34,000 persons living in Roma households in nine European Union (EU) Member States, derived from nearly 8,000 face-to-face interviews with Roma. It presents a selection of results from FRA’s Second European Union Minorities and Discrimination Survey (EU-MIDIS II), which surveyed around 26,000 people with immigrant or ethnic minority background living in the EU. The European Union Minorities and Discrimination Survey is a major part of the agency’s commitment to collecting and publishing data on groups not covered in general population surveys. It is the third survey of the agency to focus on Roma.',
34
+ name: 'Second European Union Minorities and Discrimination Survey (EU-MIDIS II) Roma – Selected findings',
35
+ type: 'download',
36
+ url: new URL(
37
+ 'http://fra.europa.eu/en/publication/2016/eumidis-ii-roma-selected-findings'
38
+ ),
39
+ },
40
+ {
41
+ description:
42
+ "The report examines how characteristics – such as an individual's first and last name, skin colour and the wearing of visible religious symbols like a headscarf, for example – may trigger discriminatory treatment and harassment.",
43
+ name: 'Second European Union Minorities and Discrimination Survey (EU-MIDIS II) Muslims – Selected findings',
44
+ type: 'download',
45
+ url: new URL(
46
+ 'http://fra.europa.eu/en/publication/2017/eumidis-ii-muslims-selected-findings'
47
+ ),
48
+ },
49
+ {
50
+ description:
51
+ 'FRA’s second EU Minorities and Discrimination survey (EU-MIDIS II) collected information from over 25,000 respondents with different ethnic minority and immigrant backgrounds across all 28 EU Member States. The main findings from the survey, published in 2017, pointed to a number of differences in the way women and men with immigrant backgrounds across the European Union (EU) experience how their rights are respected. This report summarises some of the most relevant survey findings in this regard, which show the need for targeted, gender-sensitive measures that promote the integration of – specifically – women who are immigrants or descendants of immigrants.',
52
+ name: 'Second European Union Minorities and Discrimination Survey - Migrant women - selected findings',
53
+ type: 'link',
54
+ url: new URL(
55
+ 'https://fra.europa.eu/sites/default/files/fra_uploads/fra-2019-eu-midis-ii-migrant-women_en.pdf'
56
+ ),
57
+ },
58
+ {
59
+ description:
60
+ 'Across the EU, people of African descent face widespread and entrenched prejudice and exclusion. Racial discrimination and harassment are commonplace. Experiences with racist violence vary, but reach as high as 14 %. Discriminatory profiling by the police is a common reality. Hurdles to inclusion are multi-faceted, particularly when it comes to looking for jobs and housing.',
61
+ name: 'Being Black in the EU - Summary',
62
+ type: 'link',
63
+ url: new URL(
64
+ 'https://fra.europa.eu/en/publication/2018/eumidis-ii-being-black'
65
+ ),
66
+ },
67
+ {
68
+ description:
69
+ 'The report follows up and expands on FRA’s first major EU-wide survey on minorities’ and migrants’ experiences, conducted in 2008. The survey focuses on discrimination in different settings, police stops, criminal victimisation, rights awareness and societal participation.',
70
+ name: 'Second European Union Minorities and Discrimination Survey - Main results',
71
+ type: 'link',
72
+ url: new URL(
73
+ 'http://fra.europa.eu/en/publication/2017/eumidis-ii-main-results'
74
+ ),
75
+ },
76
+ {
77
+ description:
78
+ "Almost twenty years after adoption of EU laws forbidding discrimination, people of African descent in the EU face widespread and entrenched prejudice and exclusion. This report outlines selected results from FRA's second large-scale EU-wide survey on migrants and minorities (EU-MIDIS II). It examines the experiences of almost 6,000 people of African descent in 12 EU Member States.",
79
+ name: 'Being Black in the EU',
80
+ type: 'download',
81
+ url: new URL(
82
+ 'https://fra.europa.eu/sites/default/files/fra_uploads/fra-2018-being-black-in-the-eu_en.pdf'
83
+ ),
84
+ },
85
+ {
86
+ description:
87
+ 'This interactive tool offers different ways to explore the data behind the survey results.',
88
+ name: 'Second European Union Minorities and Discrimination Survey',
89
+ type: 'download',
90
+ url: new URL(
91
+ 'https://fra.europa.eu/en/publications-and-resources/data-and-maps/survey-data-explorer-second-eu-minorities-discrimination-survey?mdq1=dataset'
92
+ ),
93
+ },
94
+ ],
95
+ keywords: [],
96
+ kind: 'dataset',
97
+ languages: [],
98
+ legalConstraints: [],
99
+ licenses: [
100
+ {
101
+ text: 'http://publications.europa.eu/resource/authority/licence/COM_REUSE',
102
+ url: new URL(
103
+ 'http://publications.europa.eu/resource/authority/licence/COM_REUSE'
104
+ ),
105
+ },
106
+ ],
107
+ otherConstraints: [],
108
+ overviews: [],
109
+ securityConstraints: [],
110
+ spatialExtents: [
111
+ {
112
+ description:
113
+ 'http://publications.europa.eu/resource/authority/country/MLT',
114
+ },
115
+ {
116
+ description:
117
+ 'http://publications.europa.eu/resource/authority/country/FIN',
118
+ },
119
+ {
120
+ description:
121
+ 'http://publications.europa.eu/resource/authority/country/ITA',
122
+ },
123
+ {
124
+ description:
125
+ 'http://publications.europa.eu/resource/authority/country/POL',
126
+ },
127
+ {
128
+ description:
129
+ 'http://publications.europa.eu/resource/authority/country/HRV',
130
+ },
131
+ {
132
+ description:
133
+ 'http://publications.europa.eu/resource/authority/country/LUX',
134
+ },
135
+ {
136
+ description:
137
+ 'http://publications.europa.eu/resource/authority/country/GBR',
138
+ },
139
+ {
140
+ description:
141
+ 'http://publications.europa.eu/resource/authority/country/CZE',
142
+ },
143
+ {
144
+ description:
145
+ 'http://publications.europa.eu/resource/authority/country/ESP',
146
+ },
147
+ {
148
+ description:
149
+ 'http://publications.europa.eu/resource/authority/country/DEU',
150
+ },
151
+ {
152
+ description:
153
+ 'http://publications.europa.eu/resource/authority/country/AUT',
154
+ },
155
+ {
156
+ description:
157
+ 'http://publications.europa.eu/resource/authority/country/BEL',
158
+ },
159
+ {
160
+ description:
161
+ 'http://publications.europa.eu/resource/authority/country/EST',
162
+ },
163
+ {
164
+ description:
165
+ 'http://publications.europa.eu/resource/authority/country/SWE',
166
+ },
167
+ {
168
+ description:
169
+ 'http://publications.europa.eu/resource/authority/country/GRC',
170
+ },
171
+ {
172
+ description:
173
+ 'http://publications.europa.eu/resource/authority/country/BGR',
174
+ },
175
+ {
176
+ description:
177
+ 'http://publications.europa.eu/resource/authority/country/SVK',
178
+ },
179
+ {
180
+ description:
181
+ 'http://publications.europa.eu/resource/authority/country/NLD',
182
+ },
183
+ {
184
+ description:
185
+ 'http://publications.europa.eu/resource/authority/country/PRT',
186
+ },
187
+ {
188
+ description:
189
+ 'http://publications.europa.eu/resource/authority/country/DNK',
190
+ },
191
+ {
192
+ description:
193
+ 'http://publications.europa.eu/resource/authority/country/LVA',
194
+ },
195
+ {
196
+ description:
197
+ 'http://publications.europa.eu/resource/authority/country/HUN',
198
+ },
199
+ {
200
+ description:
201
+ 'http://publications.europa.eu/resource/authority/country/IRL',
202
+ },
203
+ {
204
+ description:
205
+ 'http://publications.europa.eu/resource/authority/country/LTU',
206
+ },
207
+ {
208
+ description:
209
+ 'http://publications.europa.eu/resource/authority/country/ROU',
210
+ },
211
+ {
212
+ description:
213
+ 'http://publications.europa.eu/resource/authority/country/CYP',
214
+ },
215
+ {
216
+ description:
217
+ 'http://publications.europa.eu/resource/authority/country/FRA',
218
+ },
219
+ {
220
+ description:
221
+ 'http://publications.europa.eu/resource/authority/country/SVN',
222
+ },
223
+ ],
224
+ temporalExtents: [],
225
+ topics: [
226
+ 'http://publications.europa.eu/resource/authority/data-theme/JUST',
227
+ 'http://publications.europa.eu/resource/authority/data-theme/HEAL',
228
+ 'http://publications.europa.eu/resource/authority/data-theme/SOCI',
229
+ 'http://publications.europa.eu/resource/authority/data-theme/EDUC',
230
+ ],
231
+ lineage: '',
232
+ ownerOrganization: {
233
+ name: 'http://publications.europa.eu/resource/authority/corporate-body/FRA',
234
+ },
235
+ recordCreated: new Date('2021-12-03T11:44:46.000Z'),
236
+ recordUpdated: new Date('2022-04-22T12:08:18.000Z'),
237
+ resourceCreated: new Date('2017-12-19T00:00:00.000Z'),
238
+ resourceUpdated: new Date('2018-12-14T00:00:00.000Z'),
239
+ status: 'completed',
240
+ updateFrequency: 'unknown',
241
+ }
242
+
243
+ export const EU_WHOISWHO_DATASET_RECORD: DatasetRecord = {
244
+ uniqueIdentifier: 'eu-whoiswho-the-official-directory-of-the-european-union',
245
+ title: 'EU Whoiswho: the official directory of the European Union',
246
+ contacts: [],
247
+ contactsForResource: [],
248
+ onlineResources: [],
249
+ keywords: [],
250
+ kind: 'dataset',
251
+ languages: [],
252
+ legalConstraints: [],
253
+ licenses: [],
254
+ otherConstraints: [],
255
+ overviews: [],
256
+ securityConstraints: [],
257
+ spatialExtents: [],
258
+ temporalExtents: [],
259
+ topics: [],
260
+ abstract: `EU Whoiswho is an electronic directory which presents the organisational charts of the EU institutions, bodies and agencies in all official EU languages. The personal data in this directory are provided by the institutions, bodies and agencies of EU. The SPARQL endpoint allows to query the full current content visible in EU whoiswho website. For historical content, PDF are available from 1981.\r
261
+ \r
262
+ It is strictly forbidden to use these data for direct marketing purposes. \r
263
+ \r
264
+ If you detect any errors, please report them to: whoiswho@publications.europa.eu\r
265
+ \r
266
+ [Privacy statement of EU Whoiswho](https://op.europa.eu/en/web/about-us/legal-notices/op_whoiswho).`,
267
+ lineage: '',
268
+ ownerOrganization: undefined,
269
+ recordUpdated: undefined,
270
+ status: 'completed',
271
+ updateFrequency: 'unknown',
272
+ }
@@ -0,0 +1,110 @@
1
+ import { DatasetRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+
3
+ export const OPENDATASWISS_DATASET_RECORD: DatasetRecord = {
4
+ uniqueIdentifier:
5
+ '393940cd-6a67-4190-8b91-378669cdea1d@bundesamt-fur-energie-bfe',
6
+ title: 'Energy cities',
7
+ contacts: [],
8
+ contactsForResource: [
9
+ {
10
+ email: 'geoinformation@bfe.admin.ch',
11
+ role: 'point_of_contact',
12
+ firstName: 'geoinformation@bfe.admin.ch',
13
+ },
14
+ ],
15
+ landingPage: new URL('https://www.bfe.admin.ch/energiestaedte'),
16
+ onlineResources: [
17
+ {
18
+ description: 'GeoPackage',
19
+ name: 'GeoPackage',
20
+ type: 'download',
21
+ url: new URL(
22
+ 'https://data.geo.admin.ch/ch.bfe.energiestaedte/gpkg/2056/ch.bfe.energiestaedte.zip'
23
+ ),
24
+ },
25
+ {
26
+ description: 'swisstopo REST API',
27
+ name: 'swisstopo REST API',
28
+ type: 'link',
29
+ url: new URL(
30
+ 'https://api3.geo.admin.ch/rest/services/api/MapServer/ch.bfe.energiestaedte'
31
+ ),
32
+ },
33
+ {
34
+ description: 'Thematic geoportal - map.geo.admin.ch',
35
+ name: 'Map (Preview) Thematic geoportal - map.geo.admin.ch',
36
+ type: 'link',
37
+ url: new URL(
38
+ 'https://map.geo.admin.ch/?topic=energie&lang=de&layers=ch.bfe.energiestaedte'
39
+ ),
40
+ },
41
+ {
42
+ description: 'INTERLIS',
43
+ name: 'INTERLIS',
44
+ type: 'download',
45
+ url: new URL(
46
+ 'https://data.geo.admin.ch/ch.bfe.energiestaedte/xtf/2056/ch.bfe.energiestaedte.zip'
47
+ ),
48
+ },
49
+ {
50
+ description: 'Web Map Services WMS',
51
+ name: 'ch.bfe.energiestaedte',
52
+ type: 'link',
53
+ url: new URL(
54
+ 'http://wms.geo.admin.ch/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&lang=de'
55
+ ),
56
+ },
57
+ ],
58
+ keywords: [
59
+ {
60
+ label: 'ifdg-linfrastructure-federale-de-donnees-geographiques',
61
+ type: 'theme',
62
+ },
63
+ {
64
+ label: 'ifdg-infrastruttura-federale-dei-dati-geografici',
65
+ type: 'theme',
66
+ },
67
+ {
68
+ label: 'bgdi-bundesgeodaten-infrastruktur',
69
+ type: 'theme',
70
+ },
71
+ {
72
+ label: 'fsdi-federal-spatial-data-infrastructure',
73
+ type: 'theme',
74
+ },
75
+ ],
76
+ kind: 'dataset',
77
+ languages: [],
78
+ legalConstraints: [],
79
+ licenses: [],
80
+ otherConstraints: [],
81
+ overviews: [],
82
+ securityConstraints: [],
83
+ spatialExtents: [
84
+ {
85
+ description: 'Schweiz',
86
+ },
87
+ ],
88
+ temporalExtents: [],
89
+ topics: [
90
+ 'http://publications.europa.eu/resource/authority/data-theme/ENVI',
91
+ 'http://dcat-ap.ch/vocabulary/themes/energy',
92
+ 'http://publications.europa.eu/resource/authority/data-theme/ENER',
93
+ 'http://dcat-ap.ch/vocabulary/themes/territory',
94
+ 'http://publications.europa.eu/resource/authority/data-theme/REGI',
95
+ 'http://dcat-ap.ch/vocabulary/themes/culture',
96
+ 'http://publications.europa.eu/resource/authority/data-theme/EDUC',
97
+ 'http://dcat-ap.ch/vocabulary/themes/geography',
98
+ ],
99
+ abstract: `The Energy City label is used for certifying municipalities that develop and implement a sustainable energy policy. Municipalities that have been awarded this label promote renewable energy and ecological mobility, and focus on the efficient use of resources. In order to qualify for the label, a municipality must have realised or adopted at least 50 percent of its scope for action in the area of energy policy. Here the calculation is based on the Energy Cities catalogue. The European Energy Award®GOLD is the highest level of certification. This label is awarded to municipalities that have implemented at least 75 percent of the measures listed in the catalogue at the time of certification. Municipalities that qualify for this award demonstrate the highest level of commitment towards a sustainable energy future. The label is based on an assessment of municipal energy policy in the areas of development and spatial planning, municipal buildings and installations, supply and disposal, mobility, internal organisation, communication and cooperation.`,
100
+ lineage: '',
101
+ ownerOrganization: {
102
+ name: 'Bundesamt für Energie',
103
+ },
104
+ recordCreated: new Date('2022-06-03T08:24:30.000Z'),
105
+ recordUpdated: new Date('2022-06-16T20:06:22.000Z'),
106
+ resourceCreated: new Date('2014-06-30T00:00:00.000'),
107
+ resourceUpdated: new Date('2022-06-15T00:00:00.000'),
108
+ status: 'completed',
109
+ updateFrequency: 'unknown',
110
+ }
@@ -0,0 +1,85 @@
1
+ import { DatasetRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+
3
+ export const SEXTANT_BATHYMETRY_DATASET_RECORD: DatasetRecord = {
4
+ uniqueIdentifier: '370ab490-e8b4-11df-b733-005056987263',
5
+ title:
6
+ 'MNT de Bathymétrie de la zone du Golo - Campagne Sigolo (réalisé en 2008, résolution 25m)',
7
+ contacts: [],
8
+ contactsForResource: [
9
+ {
10
+ role: 'custodian',
11
+ email: 'gmcarto@ifremer.fr',
12
+ firstName: 'Ifremer',
13
+ lastName: '- Géosciences Marines',
14
+ },
15
+ {
16
+ email: 'gmcarto@ifremer.fr',
17
+ firstName: 'Ifremer',
18
+ lastName: '- Géosciences Marines',
19
+ role: 'processor',
20
+ },
21
+ {
22
+ email: 'gmcarto@ifremer.fr',
23
+ firstName: 'Ifremer',
24
+ lastName: '- Géosciences Marines',
25
+ role: 'processor',
26
+ },
27
+ ],
28
+ landingPage: new URL(
29
+ 'https://sextant.ifremer.fr/geonetwork/api/collections/main/items/370ab490-e8b4-11df-b733-005056987263'
30
+ ),
31
+ onlineResources: [
32
+ {
33
+ description: 'Cartographie - Géosciences Marines Ifremer',
34
+ name: '',
35
+ type: 'link',
36
+ url: new URL('http://wwz.ifremer.fr/drogm/Cartographie'),
37
+ },
38
+ ],
39
+ keywords: [],
40
+ kind: 'dataset',
41
+ languages: [],
42
+ legalConstraints: [],
43
+ licenses: [],
44
+ otherConstraints: [],
45
+ overviews: [],
46
+ securityConstraints: [],
47
+ spatialExtents: [
48
+ {
49
+ geometry: {
50
+ coordinates: [
51
+ [
52
+ [9.449999, 42.283333],
53
+ [10.033471, 42.283333],
54
+ [10.033471, 42.86684],
55
+ [9.449999, 42.86684],
56
+ [9.449999, 42.283333],
57
+ ],
58
+ ],
59
+ type: 'Polygon',
60
+ },
61
+ },
62
+ ],
63
+ temporalExtents: [],
64
+ topics: [
65
+ '/Milieu physique/Bathymétrie/MNT',
66
+ 'Altitude',
67
+ 'fond marin',
68
+ 'morphologie sous-marine',
69
+ 'Bathymétrie',
70
+ 'Modèle Numérique de Terrain',
71
+ 'Corse',
72
+ 'Méditerranée',
73
+ 'France',
74
+ 'Géophysique',
75
+ ],
76
+ abstract: `Modèle bathymétrique (MNT) d'une partie de l'édifice sédimentaire sous-marin du Golo, à l'Est du Cap Corse. Les données ont été acquises lors de la campagne océanographique Sigolo en 2008, avec les sondeurs multifaisceaux EM300 et EM1000.
77
+ Le pas de la grille est de 25m.
78
+ Produit interne Ifremer.`,
79
+ lineage: '',
80
+ ownerOrganization: null,
81
+ recordUpdated: new Date('2020-06-03T22:34:05.000Z'),
82
+ resourceUpdated: new Date('2020-06-03T22:34:05.000Z'),
83
+ status: 'completed',
84
+ updateFrequency: 'unknown',
85
+ }