geonetwork-ui 2.2.0 → 2.3.0-dev.139106e0

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 (387) hide show
  1. package/esm2022/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/index.mjs +5 -5
  3. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +14 -0
  4. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +15 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +3 -3
  6. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +52 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +8 -4
  8. package/esm2022/libs/api/metadata-converter/src/lib/gn4/index.mjs +4 -0
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/index.mjs +2 -0
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +123 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +116 -0
  12. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +138 -0
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/index.mjs +2 -0
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +242 -0
  15. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +58 -62
  16. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.mjs +18 -0
  17. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +14 -0
  18. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.mjs +48 -0
  19. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +18 -0
  20. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.mjs +64 -0
  21. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +75 -58
  22. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +76 -14
  23. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +4 -4
  24. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  25. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +35 -7
  26. package/esm2022/libs/data-access/gn4/src/openapi/model/models.mjs +1 -2
  27. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +2 -2
  28. package/esm2022/libs/feature/editor/src/index.mjs +2 -2
  29. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
  31. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +107 -0
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
  41. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
  42. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
  43. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +8 -8
  44. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -2
  45. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
  46. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +72 -0
  47. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -3
  48. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +12 -7
  49. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +2 -1
  50. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +52 -25
  51. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +12 -49
  52. package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
  53. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
  54. package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
  55. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
  56. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
  57. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -2
  58. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
  59. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
  60. package/esm2022/libs/ui/elements/src/index.mjs +15 -15
  61. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +5 -5
  62. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
  63. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  64. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
  65. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -3
  66. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -3
  67. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +6 -5
  68. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  69. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -1
  70. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +59 -0
  71. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +183 -0
  72. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +10 -23
  73. package/esm2022/libs/ui/layout/src/index.mjs +6 -5
  74. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
  75. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -0
  76. package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +60 -0
  77. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +8 -6
  78. package/esm2022/translations/de.json +20 -0
  79. package/esm2022/translations/en.json +20 -0
  80. package/esm2022/translations/es.json +20 -0
  81. package/esm2022/translations/fr.json +20 -0
  82. package/esm2022/translations/it.json +20 -0
  83. package/esm2022/translations/nl.json +20 -0
  84. package/esm2022/translations/pt.json +20 -0
  85. package/fesm2022/geonetwork-ui.mjs +4464 -3180
  86. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  87. package/index.d.ts +1 -0
  88. package/index.d.ts.map +1 -1
  89. package/index.ts +1 -0
  90. package/libs/api/metadata-converter/src/index.d.ts +4 -4
  91. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  92. package/libs/api/metadata-converter/src/lib/{metadata-base.mapper.d.ts → base.converter.d.ts} +3 -3
  93. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -0
  94. package/libs/api/metadata-converter/src/lib/find-converter.d.ts +3 -0
  95. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -0
  96. package/libs/api/metadata-converter/src/lib/gn4/{gn4.metadata.mapper.d.ts → gn4.converter.d.ts} +5 -5
  97. package/libs/api/metadata-converter/src/lib/gn4/gn4.converter.d.ts.map +1 -0
  98. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  99. package/libs/api/metadata-converter/src/lib/gn4/index.d.ts +4 -0
  100. package/libs/api/metadata-converter/src/lib/gn4/index.d.ts.map +1 -0
  101. package/libs/api/metadata-converter/src/lib/iso19115-3/index.d.ts +2 -0
  102. package/libs/api/metadata-converter/src/lib/iso19115-3/index.d.ts.map +1 -0
  103. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts +9 -0
  104. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -0
  105. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +20 -0
  106. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -0
  107. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +21 -0
  108. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -0
  109. package/libs/api/metadata-converter/src/lib/iso19139/index.d.ts +2 -0
  110. package/libs/api/metadata-converter/src/lib/iso19139/index.d.ts.map +1 -0
  111. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +11 -0
  112. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -0
  113. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +34 -6
  114. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  115. package/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.d.ts +8 -0
  116. package/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.d.ts.map +1 -0
  117. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -0
  118. package/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.d.ts.map +1 -0
  119. package/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.d.ts.map +1 -0
  120. package/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.d.ts.map +1 -0
  121. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +39 -3
  122. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  123. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +14 -1
  124. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  125. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -2
  126. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  127. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -4
  128. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  129. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +9 -5
  130. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  131. package/libs/data-access/gn4/src/openapi/model/models.d.ts +0 -1
  132. package/libs/data-access/gn4/src/openapi/model/models.d.ts.map +1 -1
  133. package/libs/feature/editor/src/index.d.ts +1 -1
  134. package/libs/feature/editor/src/index.d.ts.map +1 -1
  135. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
  136. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  137. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.d.ts +1 -1
  138. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
  139. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.d.ts +1 -1
  140. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
  141. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.d.ts +1 -1
  142. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.d.ts.map +1 -0
  143. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
  144. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
  145. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.d.ts +2 -2
  146. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
  147. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +1 -1
  148. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -0
  149. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +1 -1
  150. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +1 -0
  151. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +8 -3
  152. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
  153. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
  154. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
  155. package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
  156. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
  157. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -1
  158. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  159. package/libs/feature/editor/src/lib/models/fields.model.d.ts +1 -1
  160. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  161. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  162. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +23 -0
  163. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -0
  164. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -1
  165. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  166. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +2 -0
  167. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  168. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +10 -5
  169. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
  170. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  171. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +2 -3
  172. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  173. package/libs/feature/notifications/src/index.d.ts +4 -0
  174. package/libs/feature/notifications/src/index.d.ts.map +1 -0
  175. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
  176. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
  177. package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
  178. package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
  179. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
  180. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
  181. package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
  182. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
  183. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  184. package/libs/ui/elements/src/index.d.ts +14 -14
  185. package/libs/ui/elements/src/index.d.ts.map +1 -1
  186. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
  187. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
  188. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
  189. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
  190. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +1 -1
  191. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
  192. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +20 -20
  193. package/libs/ui/inputs/src/index.d.ts +0 -1
  194. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  195. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  196. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts +14 -0
  197. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts.map +1 -0
  198. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +44 -0
  199. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -0
  200. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +26 -33
  201. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  202. package/libs/ui/layout/src/index.d.ts +5 -4
  203. package/libs/ui/layout/src/index.d.ts.map +1 -1
  204. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
  205. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
  206. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -0
  207. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -0
  208. package/libs/util/shared/src/lib/utils/image-resize.d.ts +3 -0
  209. package/libs/util/shared/src/lib/utils/image-resize.d.ts.map +1 -0
  210. package/libs/util/shared/src/lib/utils/index.d.ts +7 -5
  211. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  212. package/package.json +2 -2
  213. package/src/libs/api/metadata-converter/src/index.ts +4 -4
  214. package/src/libs/api/metadata-converter/src/lib/{metadata-base.mapper.ts → base.converter.ts} +2 -2
  215. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +16 -0
  216. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +32 -5
  217. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +11 -4
  218. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +33 -7
  219. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +580 -0
  220. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +2 -2
  221. package/src/libs/api/metadata-converter/src/lib/gn4/{gn4.metadata.mapper.ts → gn4.converter.ts} +2 -2
  222. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +9 -3
  223. package/src/libs/api/metadata-converter/src/lib/gn4/index.ts +3 -0
  224. package/src/libs/api/metadata-converter/src/lib/iso19115-3/index.ts +1 -0
  225. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +176 -0
  226. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +329 -0
  227. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +513 -0
  228. package/src/libs/api/metadata-converter/src/lib/iso19139/index.ts +1 -0
  229. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +327 -0
  230. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +121 -82
  231. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/individual-name.ts +20 -0
  232. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +175 -95
  233. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +84 -16
  234. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +2 -2
  235. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +9 -4
  236. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +43 -12
  237. package/src/libs/data-access/gn4/src/openapi/model/models.ts +0 -1
  238. package/src/libs/data-access/gn4/src/spec.yaml +1 -1
  239. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +1 -1
  240. package/src/libs/feature/editor/src/index.ts +1 -1
  241. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
  242. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +8 -0
  243. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +70 -0
  244. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.ts +1 -0
  245. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.ts +4 -1
  246. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.ts +1 -0
  247. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
  248. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
  249. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.ts +4 -1
  250. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -0
  251. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +1 -0
  252. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.html +28 -4
  253. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +121 -0
  254. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
  255. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
  256. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
  257. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
  258. package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
  259. package/src/libs/feature/editor/src/lib/services/editor.service.ts +27 -16
  260. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
  261. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
  262. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +0 -0
  263. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +36 -0
  264. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +80 -0
  265. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -0
  266. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +8 -0
  267. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +5 -0
  268. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +10 -3
  269. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +60 -32
  270. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +17 -61
  271. package/src/libs/feature/notifications/src/index.ts +3 -0
  272. package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
  273. package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
  274. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
  275. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
  276. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
  277. package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
  278. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +5 -1
  279. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
  280. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
  281. package/src/libs/ui/elements/src/index.ts +14 -14
  282. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  283. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
  284. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
  285. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
  286. package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
  287. package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
  288. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
  289. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +1 -1
  290. package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +5 -3
  291. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -1
  292. package/src/libs/ui/inputs/src/index.ts +0 -1
  293. package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -1
  294. package/src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts +45 -0
  295. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +0 -0
  296. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +146 -0
  297. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +193 -0
  298. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -19
  299. package/src/libs/ui/layout/src/index.ts +5 -4
  300. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
  301. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
  302. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
  303. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +3 -0
  304. package/src/libs/util/shared/src/lib/utils/image-resize.ts +72 -0
  305. package/src/libs/util/shared/src/lib/utils/index.ts +7 -5
  306. package/tailwind.base.css +36 -0
  307. package/translations/de.json +20 -0
  308. package/translations/en.json +20 -0
  309. package/translations/es.json +20 -0
  310. package/translations/fr.json +20 -0
  311. package/translations/it.json +20 -0
  312. package/translations/nl.json +20 -0
  313. package/translations/pt.json +20 -0
  314. package/translations/sk.json +20 -0
  315. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.mjs +0 -52
  316. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.mjs +0 -14
  317. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/role.mapper.mjs +0 -48
  318. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/status.mapper.mjs +0 -18
  319. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/codelists/update-frequency.mapper.mjs +0 -64
  320. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/converter.mjs +0 -130
  321. package/esm2022/libs/api/metadata-converter/src/lib/metadata-base.mapper.mjs +0 -14
  322. package/esm2022/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.mjs +0 -13
  323. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
  324. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
  325. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
  326. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
  327. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
  328. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
  329. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
  330. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  331. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
  332. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
  333. package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
  334. package/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.d.ts.map +0 -1
  335. package/libs/api/metadata-converter/src/lib/iso19139/codelists/keyword.mapper.d.ts.map +0 -1
  336. package/libs/api/metadata-converter/src/lib/iso19139/codelists/role.mapper.d.ts.map +0 -1
  337. package/libs/api/metadata-converter/src/lib/iso19139/codelists/status.mapper.d.ts.map +0 -1
  338. package/libs/api/metadata-converter/src/lib/iso19139/codelists/update-frequency.mapper.d.ts.map +0 -1
  339. package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts +0 -4
  340. package/libs/api/metadata-converter/src/lib/iso19139/converter.d.ts.map +0 -1
  341. package/libs/api/metadata-converter/src/lib/metadata-base.mapper.d.ts.map +0 -1
  342. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts +0 -18
  343. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts.map +0 -1
  344. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
  345. package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
  346. package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
  347. package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
  348. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
  349. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
  350. package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
  351. package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
  352. package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  353. package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
  354. package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
  355. package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
  356. package/src/libs/api/metadata-converter/src/lib/iso19139/converter.ts +0 -196
  357. package/src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts +0 -18
  358. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
  359. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
  360. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
  361. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/keyword.mapper.d.ts +0 -0
  362. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/role.mapper.d.ts +0 -0
  363. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/status.mapper.d.ts +0 -0
  364. /package/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/update-frequency.mapper.d.ts +0 -0
  365. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
  366. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
  367. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/keyword.mapper.ts +0 -0
  368. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/role.mapper.ts +0 -0
  369. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/status.mapper.ts +0 -0
  370. /package/src/libs/api/metadata-converter/src/lib/iso19139/{codelists → utils}/update-frequency.mapper.ts +0 -0
  371. /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/overview-upload/overview-upload.component.css} +0 -0
  372. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.css +0 -0
  373. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.html +0 -0
  374. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.css +0 -0
  375. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.html +0 -0
  376. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.css +0 -0
  377. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.html +0 -0
  378. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-rich/form-field-rich.component.css +0 -0
  379. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.css +0 -0
  380. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.html +0 -0
  381. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css +0 -0
  382. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -0
  383. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css +0 -0
  384. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -0
  385. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.css +0 -0
  386. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
  387. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FilesDropDirective {
4
+ dragFilesOver: EventEmitter<boolean>;
5
+ dropFiles: EventEmitter<File[]>;
6
+ dragEnterCounter: number;
7
+ _onDragEnter(event: DragEvent): void;
8
+ _onDragOver(event: DragEvent): void;
9
+ _onDragLeave(event: DragEvent): void;
10
+ _onDrop(event: DragEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilesDropDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilesDropDirective, "[gnUiFilesDrop]", never, {}, { "dragFilesOver": "dragFilesOver"; "dropFiles": "dropFiles"; }, never, never, true, never>;
13
+ }
14
+ //# sourceMappingURL=files-drop.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"files-drop.directive.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,YAAY,EAAE,MAAM,eAAe,CAAA;;AAE7E,qBAIa,kBAAkB;IACnB,aAAa,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IACzD,SAAS,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC,CAAqB;IAE9D,gBAAgB,SAAI;IAGpB,YAAY,CAAC,KAAK,EAAE,SAAS;IAO7B,WAAW,CAAC,KAAK,EAAE,SAAS;IAK5B,YAAY,CAAC,KAAK,EAAE,SAAS;IAS7B,OAAO,CAAC,KAAK,EAAE,SAAS;yCA5Bb,kBAAkB;2CAAlB,kBAAkB;CAsC9B"}
@@ -0,0 +1,44 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ImageInputComponent {
5
+ private http;
6
+ private cd;
7
+ maxSizeMB: number;
8
+ previewUrl?: string;
9
+ altText?: string;
10
+ uploadProgress?: number;
11
+ uploadError?: boolean;
12
+ fileChange: EventEmitter<File>;
13
+ urlChange: EventEmitter<string>;
14
+ uploadCancel: EventEmitter<void>;
15
+ delete: EventEmitter<void>;
16
+ altTextChange: EventEmitter<string>;
17
+ dragFilesOver: boolean;
18
+ showUrlInput: boolean;
19
+ downloadError: boolean;
20
+ showAltTextInput: boolean;
21
+ urlInputValue?: string;
22
+ lastUploadType?: 'file' | 'url';
23
+ lastUploadContent?: string | File;
24
+ constructor(http: HttpClient, cd: ChangeDetectorRef);
25
+ getPrimaryText(): "input.image.uploadErrorLabel" | "input.image.uploadProgressLabel" | "input.image.selectFileLabel";
26
+ getSecondaryText(): "input.image.uploadErrorRetry" | "input.image.uploadProgressCancel" | "input.image.dropFileLabel";
27
+ handleDragFilesOver(dragFilesOver: boolean): void;
28
+ handleDropFiles(files: File[]): void;
29
+ handleFileInput(event: Event): void;
30
+ displayUrlInput(): void;
31
+ handleUrlChange(event: Event): void;
32
+ downloadUrl(): Promise<void>;
33
+ handleSecondaryTextClick(): void;
34
+ handleCancel(): void;
35
+ handleRetry(): void;
36
+ handleDelete(): void;
37
+ toggleAltTextInput(): void;
38
+ handleAltTextChange(event: Event): void;
39
+ private filterTypeImage;
40
+ private resizeAndEmit;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageInputComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ImageInputComponent, "gn-ui-image-input", never, { "maxSizeMB": { "alias": "maxSizeMB"; "required": false; }; "previewUrl": { "alias": "previewUrl"; "required": false; }; "altText": { "alias": "altText"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "uploadError": { "alias": "uploadError"; "required": false; }; }, { "fileChange": "fileChange"; "urlChange": "urlChange"; "uploadCancel": "uploadCancel"; "delete": "delete"; "altTextChange": "altTextChange"; }, never, never, true, never>;
43
+ }
44
+ //# sourceMappingURL=image-input.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;;AAUtB,qBAea,mBAAmB;IAqBlB,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,EAAE;IApBvC,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACnD,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IACpD,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACrD,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IAC/C,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAElE,aAAa,UAAQ;IACrB,YAAY,UAAQ;IACpB,aAAa,UAAQ;IACrB,gBAAgB,UAAQ;IAExB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEb,IAAI,EAAE,UAAU,EAAU,EAAE,EAAE,iBAAiB;IAEnE,cAAc;IAUd,gBAAgB;IAUhB,mBAAmB,CAAC,aAAa,EAAE,OAAO;IAO1C,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE;IAS7B,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B,eAAe;IAKf,eAAe,CAAC,KAAK,EAAE,KAAK;IAKtB,WAAW;IAgCjB,wBAAwB;IAQxB,YAAY;IAIZ,WAAW;IAWX,YAAY;IAIZ,kBAAkB;IAIlB,mBAAmB,CAAC,KAAK,EAAE,KAAK;IAKhC,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,aAAa;yCAvJV,mBAAmB;2CAAnB,mBAAmB;CA8J/B"}
@@ -8,41 +8,34 @@ import * as i6 from "./navigation-button/navigation-button.component";
8
8
  import * as i7 from "./star-toggle/star-toggle.component";
9
9
  import * as i8 from "./dropdown-multiselect/dropdown-multiselect.component";
10
10
  import * as i9 from "./viewport-intersector/viewport-intersector.component";
11
- import * as i10 from "./form-field/form-field.component";
12
- import * as i11 from "./form-field/form-field-simple/form-field-simple.component";
13
- import * as i12 from "./form-field/form-field-array/form-field-array.component";
14
- import * as i13 from "./form-field/form-field-object/form-field-object.component";
15
- import * as i14 from "./form-field/form-field-rich/form-field-rich.component";
16
- import * as i15 from "./form-field/form-field-file/form-field-file.component";
17
- import * as i16 from "./form-field/form-field-spatial-extent/form-field-spatial-extent.component";
18
- import * as i17 from "./form-field/form-field-temporal-extent/form-field-temporal-extent.component";
19
- import * as i18 from "./check-toggle/check-toggle.component";
20
- import * as i19 from "./copy-text-button/copy-text-button.component";
21
- import * as i20 from "./checkbox/checkbox.component";
22
- import * as i21 from "./search-input/search-input.component";
23
- import * as i22 from "./date-range-picker/date-range-picker.component";
24
- import * as i23 from "@angular/common";
25
- import * as i24 from "@ngx-translate/core";
26
- import * as i25 from "ngx-dropzone";
27
- import * as i26 from "@angular/forms";
28
- import * as i27 from "ngx-chips";
29
- import * as i28 from "../../../../util/shared/src/lib/util-shared.module";
30
- import * as i29 from "@angular/material/autocomplete";
31
- import * as i30 from "@angular/material/icon";
32
- import * as i31 from "../../../widgets/src/lib/ui-widgets.module";
33
- import * as i32 from "@angular/cdk/overlay";
34
- import * as i33 from "@angular/material/checkbox";
35
- import * as i34 from "@angular/material/tooltip";
36
- import * as i35 from "@angular/material/form-field";
37
- import * as i36 from "@angular/material/input";
38
- import * as i37 from "@angular/material/datepicker";
39
- import * as i38 from "@angular/material/core";
40
- import * as i39 from "./editable-label/editable-label.directive";
41
- import * as i40 from "./text-area/text-area.component";
42
- import * as i41 from "./button/button.component";
11
+ import * as i10 from "./check-toggle/check-toggle.component";
12
+ import * as i11 from "./copy-text-button/copy-text-button.component";
13
+ import * as i12 from "./checkbox/checkbox.component";
14
+ import * as i13 from "./search-input/search-input.component";
15
+ import * as i14 from "./date-range-picker/date-range-picker.component";
16
+ import * as i15 from "@angular/common";
17
+ import * as i16 from "@ngx-translate/core";
18
+ import * as i17 from "ngx-dropzone";
19
+ import * as i18 from "@angular/forms";
20
+ import * as i19 from "ngx-chips";
21
+ import * as i20 from "../../../../util/shared/src/lib/util-shared.module";
22
+ import * as i21 from "@angular/material/autocomplete";
23
+ import * as i22 from "@angular/material/icon";
24
+ import * as i23 from "../../../widgets/src/lib/ui-widgets.module";
25
+ import * as i24 from "@angular/cdk/overlay";
26
+ import * as i25 from "@angular/material/checkbox";
27
+ import * as i26 from "@angular/material/tooltip";
28
+ import * as i27 from "@angular/material/form-field";
29
+ import * as i28 from "@angular/material/input";
30
+ import * as i29 from "@angular/material/datepicker";
31
+ import * as i30 from "@angular/material/core";
32
+ import * as i31 from "./editable-label/editable-label.directive";
33
+ import * as i32 from "./text-area/text-area.component";
34
+ import * as i33 from "./button/button.component";
35
+ import * as i34 from "./image-input/image-input.component";
43
36
  export declare class UiInputsModule {
44
37
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
45
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.FormFieldComponent, typeof i11.FormFieldSimpleComponent, typeof i12.FormFieldArrayComponent, typeof i13.FormFieldObjectComponent, typeof i14.FormFieldRichComponent, typeof i15.FormFieldFileComponent, typeof i16.FormFieldSpatialExtentComponent, typeof i17.FormFieldTemporalExtentComponent, typeof i18.CheckToggleComponent, typeof i19.CopyTextButtonComponent, typeof i20.CheckboxComponent, typeof i21.SearchInputComponent, typeof i22.DateRangePickerComponent], [typeof i23.CommonModule, typeof i24.TranslateModule, typeof i25.NgxDropzoneModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.TagInputModule, typeof i28.UtilSharedModule, typeof i29.MatAutocompleteModule, typeof i30.MatIconModule, typeof i31.UiWidgetsModule, typeof i32.OverlayModule, typeof i33.MatCheckboxModule, typeof i34.MatTooltipModule, typeof i35.MatFormFieldModule, typeof i36.MatInputModule, typeof i37.MatDatepickerModule, typeof i38.MatNativeDateModule, typeof i39.EditableLabelDirective, typeof i40.TextAreaComponent, typeof i41.ButtonComponent], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i41.ButtonComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i40.TextAreaComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.FormFieldComponent, typeof i18.CheckToggleComponent, typeof i19.CopyTextButtonComponent, typeof i20.CheckboxComponent, typeof i21.SearchInputComponent, typeof i22.DateRangePickerComponent, typeof i39.EditableLabelDirective]>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.CheckToggleComponent, typeof i11.CopyTextButtonComponent, typeof i12.CheckboxComponent, typeof i13.SearchInputComponent, typeof i14.DateRangePickerComponent], [typeof i15.CommonModule, typeof i16.TranslateModule, typeof i17.NgxDropzoneModule, typeof i18.FormsModule, typeof i18.ReactiveFormsModule, typeof i19.TagInputModule, typeof i20.UtilSharedModule, typeof i21.MatAutocompleteModule, typeof i22.MatIconModule, typeof i23.UiWidgetsModule, typeof i24.OverlayModule, typeof i25.MatCheckboxModule, typeof i26.MatTooltipModule, typeof i27.MatFormFieldModule, typeof i28.MatInputModule, typeof i29.MatDatepickerModule, typeof i30.MatNativeDateModule, typeof i31.EditableLabelDirective, typeof i32.TextAreaComponent, typeof i33.ButtonComponent, typeof i34.ImageInputComponent], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i33.ButtonComponent, typeof i3.TextInputComponent, typeof i4.DragAndDropFileInputComponent, typeof i32.TextAreaComponent, typeof i5.ChipsInputComponent, typeof i6.NavigationButtonComponent, typeof i7.StarToggleComponent, typeof i8.DropdownMultiselectComponent, typeof i9.ViewportIntersectorComponent, typeof i10.CheckToggleComponent, typeof i11.CopyTextButtonComponent, typeof i12.CheckboxComponent, typeof i13.SearchInputComponent, typeof i14.DateRangePickerComponent, typeof i31.EditableLabelDirective, typeof i34.ImageInputComponent]>;
46
39
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
47
40
  }
48
41
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,qBAoEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,qBA6Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -1,9 +1,10 @@
1
- export * from './lib/ui-layout.module';
2
1
  export * from './lib/anchor-link/anchor-link.directive';
3
2
  export * from './lib/carousel/carousel.component';
4
- export * from './lib/expandable-panel/expandable-panel.component';
5
- export * from './lib/sticky-header/sticky-header.component';
6
3
  export * from './lib/expandable-panel-button/expandable-panel-button.component';
7
- export * from './lib/interactive-table/interactive-table.component';
4
+ export * from './lib/expandable-panel/expandable-panel.component';
5
+ export * from './lib/form-field-wrapper/form-field-wrapper.component';
8
6
  export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component';
7
+ export * from './lib/interactive-table/interactive-table.component';
8
+ export * from './lib/sticky-header/sticky-header.component';
9
+ export * from './lib/ui-layout.module';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,qDAAqD,CAAA;AACnE,cAAc,qFAAqF,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,wBAAwB,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FormFieldWrapperComponent {
3
+ label: string;
4
+ hint: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldWrapperComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldWrapperComponent, "gn-ui-form-field-wrapper", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; }, {}, never, ["[form-field-interaction]", "*"], true, never>;
7
+ }
8
+ //# sourceMappingURL=form-field-wrapper.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts"],"names":[],"mappings":";AAIA,qBAQa,yBAAyB;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;yCAFV,yBAAyB;2CAAzB,yBAAyB;CAGrC"}
@@ -0,0 +1,2 @@
1
+ export declare function megabytesToBytes(megabytes: any): number;
2
+ //# sourceMappingURL=bytes-convert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bytes-convert.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/bytes-convert.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,SAAS,KAAA,UAEzC"}
@@ -0,0 +1,3 @@
1
+ export declare function downsizeImage(blob: Blob, maxWidth: number, maxHeight: number): Promise<Blob>;
2
+ export declare function downgradeImage(blob: Blob, maxSizeBytes: number): Promise<Blob>;
3
+ //# sourceMappingURL=image-resize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-resize.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/image-resize.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAC3B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CA6Bf;AAED,wBAAgB,cAAc,CAC5B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAiCf"}
@@ -1,10 +1,12 @@
1
+ export * from './bytes-convert';
2
+ export * from './event';
3
+ export * from './fuzzy-filter';
4
+ export * from './geojson';
5
+ export * from './image-resize';
1
6
  export * from './parse';
2
- export * from './strip-html';
3
7
  export * from './remove-whitespace';
4
- export * from './geojson';
5
8
  export * from './sort-by';
6
- export * from './url';
7
- export * from './event';
8
- export * from './fuzzy-filter';
9
+ export * from './strip-html';
9
10
  export * from './temporal-extent-union';
11
+ export * from './url';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,yBAAyB,CAAA;AACvC,cAAc,OAAO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.2.0",
3
+ "version": "2.3.0-dev.139106e0",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
50
- "@camptocamp/ogc-client": "^0.4.0",
50
+ "@camptocamp/ogc-client": "^1.1.0-RC.3",
51
51
  "@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
52
52
  "@ltd/j-toml": "~1.35.2",
53
53
  "@messageformat/core": "^3.0.1",
@@ -1,4 +1,4 @@
1
- export * from './lib/iso19139/converter'
2
- export * from './lib/gn4/gn4.metadata.mapper'
3
- export * from './lib/gn4/atomic-operations'
4
- export * from './lib/gn4/types'
1
+ export * from './lib/iso19139'
2
+ export * from './lib/iso19115-3'
3
+ export * from './lib/find-converter'
4
+ export * from './lib/gn4'
@@ -7,13 +7,13 @@ export class MetadataMapperContext {
7
7
  readonly location?
8
8
  }
9
9
 
10
- export abstract class MetadataBaseMapper<F> {
10
+ export abstract class BaseConverter<F> {
11
11
  constructor(
12
12
  protected ctx: MetadataMapperContext = new MetadataMapperContext()
13
13
  ) {}
14
14
 
15
15
  abstract readRecord(document: F): Promise<CatalogRecord>
16
- abstract writeRecord(record: CatalogRecord): Promise<F>
16
+ abstract writeRecord(record: CatalogRecord, reference?: F): Promise<F>
17
17
  readRecords(documents: F[]): Promise<CatalogRecord[]> {
18
18
  return Promise.all(documents.map((doc) => this.readRecord(doc)))
19
19
  }
@@ -0,0 +1,16 @@
1
+ import { Iso19139Converter } from './iso19139'
2
+ import { BaseConverter } from './base.converter'
3
+ import { Iso191153Converter } from './iso19115-3'
4
+
5
+ export function findConverterForDocument(
6
+ document: string
7
+ ): BaseConverter<string> {
8
+ if (document.indexOf('mdb:MD_Metadata') > 0) {
9
+ return new Iso191153Converter()
10
+ } else if (document.indexOf('gmd:MD_Metadata') > 0) {
11
+ return new Iso19139Converter()
12
+ } else {
13
+ throw new Error(`No suitable converter found for the following document:
14
+ ${document.substring(0, 400)}...`)
15
+ }
16
+ }
@@ -10,6 +10,21 @@ export const GENERIC_DATASET_RECORD: DatasetRecord = {
10
10
  description: 'A generic organization',
11
11
  },
12
12
  contacts: [
13
+ {
14
+ email: 'bob@org.net',
15
+ role: 'point_of_contact',
16
+ organization: {
17
+ name: 'MyOrganization',
18
+ website: new URL('https://www.my.org/info'),
19
+ logoUrl: new URL('https://www.my.org/logo.png'),
20
+ description: 'A generic organization',
21
+ },
22
+ firstName: 'Bob',
23
+ lastName: 'TheGreat',
24
+ position: 'developer',
25
+ },
26
+ ],
27
+ contactsForResource: [
13
28
  {
14
29
  email: 'bob@org.net',
15
30
  role: 'author',
@@ -32,14 +47,26 @@ export const GENERIC_DATASET_RECORD: DatasetRecord = {
32
47
  },
33
48
  position: 'manager',
34
49
  },
50
+ {
51
+ email: 'bill@org2.com',
52
+ role: 'distributor',
53
+ organization: {
54
+ name: 'Another Organization',
55
+ website: new URL('https://www.another.org/docs'),
56
+ },
57
+ position: 'randomWorker',
58
+ address: '123 rue des moulins, 10808 Montargis, FR',
59
+ phone: '+11234567890',
60
+ lastName: 'TheDistributor',
61
+ firstName: 'Bill',
62
+ },
35
63
  ],
36
- contactsForResource: [],
37
64
  status: 'ongoing',
38
- recordCreated: new Date('2022-02-01T15:12:00'),
39
- recordPublished: new Date('2022-02-01T15:12:00'),
65
+ recordCreated: new Date('2021-11-15T09:00:00'),
66
+ recordPublished: new Date('2022-01-01T10:00:00'),
40
67
  recordUpdated: new Date('2022-02-01T15:12:00'),
41
- datasetCreated: new Date('2022-09-01T14:18:19'),
42
- datasetUpdated: new Date('2022-12-04T15:12:00'),
68
+ resourceCreated: new Date('2022-09-01T14:18:19'),
69
+ resourceUpdated: new Date('2022-12-04T15:12:00'),
43
70
  title: 'A very interesting dataset (un jeu de données très intéressant)',
44
71
  abstract: `# Introduction
45
72
  This dataset has been established for testing purposes.
@@ -16,11 +16,18 @@ export const GEO2FRANCE_PLU_DATASET_RECORD: DatasetRecord = {
16
16
  },
17
17
  },
18
18
  ],
19
- contactsForResource: [],
20
- recordCreated: new Date('2022-04-15T14:18:19'),
21
- recordPublished: new Date('2022-04-15T14:18:19'),
19
+ contactsForResource: [
20
+ {
21
+ email: 'sig@agglo-compiegne.fr',
22
+ role: 'point_of_contact',
23
+ organization: {
24
+ name: 'GeoCompiegnois',
25
+ },
26
+ },
27
+ ],
22
28
  recordUpdated: new Date('2022-04-15T14:18:19'),
23
- datasetUpdated: new Date('2022-03-29'),
29
+ resourcePublished: new Date('2022-05-01'),
30
+ resourceUpdated: new Date('2022-03-29'),
24
31
  title:
25
32
  "Plan local d'urbanisme (PLU) dématérialisé - commune d'Avrigny - approbation du 29/03/2022",
26
33
  // data revision: 2022-03-29 ???
@@ -13,6 +13,17 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
13
13
  {
14
14
  email: 'rolf.giezendanner@are.admin.ch',
15
15
  role: 'point_of_contact',
16
+ address: 'Ittigen, 3063, CH',
17
+ organization: {
18
+ name: 'Bundesamt für Raumentwicklung',
19
+ },
20
+ },
21
+ ],
22
+ contactsForResource: [
23
+ {
24
+ email: 'rolf.giezendanner@are.admin.ch',
25
+ role: 'point_of_contact',
26
+ address: 'Ittigen, 3063, CH',
16
27
  organization: {
17
28
  name: 'Bundesamt für Raumentwicklung',
18
29
  },
@@ -25,12 +36,9 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
25
36
  },
26
37
  },
27
38
  ],
28
- contactsForResource: [],
29
- recordCreated: new Date('2022-02-22T19:40:06'),
30
- recordPublished: new Date('2022-02-22T19:40:06'),
31
39
  recordUpdated: new Date('2022-02-22T19:40:06'),
32
- datasetCreated: new Date('1999-01-01T00:00:00'),
33
- datasetUpdated: new Date('2009-01-01'),
40
+ resourceCreated: new Date('1999-01-01T00:00:00'),
41
+ resourceUpdated: new Date('2009-01-01'),
34
42
  title: 'Alpenkonvention',
35
43
  abstract: `Perimeter der Alpenkonvention in der Schweiz. Die Alpenkonvention ist ein völkerrechtlicher Vertrag zwischen den acht Alpenländern Deutschland, Frankreich, Italien, Liechtenstein, Monaco, Österreich, Schweiz, Slowenien sowie der Europäischen Union. Das Ziel des Übereinkommens ist der Schutz der Alpen durch eine sektorübergreifende, ganzheitliche und nachhaltige Politik.`,
36
44
  overviews: [],
@@ -339,9 +347,25 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
339
347
  website: new URL('https://www.sg.ch/bauen/geoinformation/datenbezug.html'),
340
348
  },
341
349
  contacts: [
350
+ {
351
+ email: 'geodaten@sg.ch',
352
+ role: 'resource_provider',
353
+ phone: '+41(0)58 229 31 47',
354
+ address: 'St. Gallen, 9001, CH',
355
+ organization: {
356
+ name: 'Amt für Raumentwicklung und Geoinformation (SG)',
357
+ website: new URL(
358
+ 'https://www.sg.ch/bauen/geoinformation/datenbezug.html'
359
+ ),
360
+ },
361
+ },
362
+ ],
363
+ contactsForResource: [
342
364
  {
343
365
  email: 'geodaten@sg.ch',
344
366
  role: 'other',
367
+ phone: '+41(0)58 229 31 47',
368
+ address: 'St. Gallen, 9001, CH',
345
369
  organization: {
346
370
  name: 'Amt für Raumentwicklung und Geoinformation (SG)',
347
371
  website: new URL(
@@ -352,6 +376,8 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
352
376
  {
353
377
  email: 'geodaten@sg.ch',
354
378
  role: 'publisher',
379
+ phone: '+41(0)58 229 31 47',
380
+ address: 'St. Gallen, 9001, CH',
355
381
  organization: {
356
382
  name: 'Amt für Raumentwicklung und Geoinformation (SG)',
357
383
  website: new URL(
@@ -360,9 +386,9 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
360
386
  },
361
387
  },
362
388
  ],
363
- recordCreated: new Date('2022-03-07T01:15:51+01:00'),
364
- recordPublished: new Date('2022-03-07T01:15:51+01:00'),
365
389
  recordUpdated: new Date('2022-03-07T01:15:51+01:00'),
390
+ resourceCreated: new Date('2021-09-15'),
391
+ resourceUpdated: new Date('2021-09-17'),
366
392
  title: 'Verkehrsregelungsanlagen (WMS)',
367
393
  abstract: `Diese Karte beinhaltet die Verkehrsregelungsanlagen des Kantons St.Gallen.`,
368
394
  overviews: [