geonetwork-ui 2.4.0-dev.f6f2f023 → 2.4.0-dev.fdf8f64b

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 (962) 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/gn4/atomic-operations.mjs +2 -1
  14. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
  15. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
  16. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  17. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +6 -6
  18. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
  19. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +17 -29
  20. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +12 -17
  21. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +35 -7
  22. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  23. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +76 -54
  24. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +44 -5
  25. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +108 -32
  26. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +2 -1
  27. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +3 -1
  28. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +12 -2
  29. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +59 -11
  30. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  31. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  32. package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
  33. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  34. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  35. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  36. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  37. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  38. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  39. package/esm2022/libs/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
  40. package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
  41. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -4
  42. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +11 -11
  43. package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
  44. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
  45. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +5 -5
  46. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +14 -8
  47. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +40 -50
  48. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
  49. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +2 -2
  50. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  51. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +3 -1
  52. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +10 -5
  53. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +10 -2
  54. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  55. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
  56. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
  57. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +17 -0
  58. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +80 -0
  59. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +95 -0
  60. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
  61. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +72 -0
  62. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +109 -0
  63. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +147 -0
  64. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +19 -0
  65. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +31 -68
  66. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +11 -9
  67. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +79 -0
  68. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +150 -0
  69. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +191 -0
  70. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  71. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +103 -0
  72. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +12 -16
  73. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +9 -8
  74. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +140 -5
  75. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +41 -68
  76. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +17 -15
  77. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +49 -44
  78. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -3
  79. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +13 -7
  80. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +3 -3
  81. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
  82. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  83. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
  84. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +215 -57
  85. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  86. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  87. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +12 -7
  88. package/esm2022/libs/feature/map/src/index.mjs +2 -9
  89. package/esm2022/libs/feature/map/src/lib/+state/map.actions.mjs +4 -7
  90. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +9 -15
  91. package/esm2022/libs/feature/map/src/lib/+state/map.reducer.mjs +13 -44
  92. package/esm2022/libs/feature/map/src/lib/+state/map.selectors.mjs +3 -2
  93. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
  94. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +20 -19
  95. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +23 -14
  96. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +15 -14
  97. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +18 -13
  98. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +16 -11
  99. package/esm2022/libs/feature/map/src/lib/constant/index.mjs +1 -2
  100. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +9 -68
  101. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +43 -29
  102. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +43 -18
  103. package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +27 -0
  104. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  105. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +12 -171
  106. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
  107. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
  108. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
  109. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
  110. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +21 -17
  111. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +18 -9
  112. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +40 -52
  113. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +11 -13
  114. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
  115. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  116. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +9 -2
  117. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +8 -1
  118. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  119. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +7 -4
  120. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +4 -4
  121. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +94 -0
  122. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +8 -3
  123. package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
  124. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
  125. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +5 -5
  126. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +7 -7
  127. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +5 -7
  128. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -8
  129. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  130. package/esm2022/libs/ui/elements/src/index.mjs +3 -3
  131. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  132. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  133. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
  134. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
  135. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +5 -3
  136. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
  137. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +6 -5
  138. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  139. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -6
  140. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +5 -11
  141. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +3 -3
  142. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
  143. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +24 -5
  144. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +15 -11
  145. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  146. package/esm2022/libs/ui/inputs/src/index.mjs +6 -1
  147. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +79 -29
  148. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +5 -3
  149. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +8 -1
  150. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +11 -4
  151. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +9 -3
  152. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +26 -24
  153. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
  154. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +19 -15
  155. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +6 -4
  156. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +34 -0
  157. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +7 -21
  158. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
  159. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +4 -18
  160. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +59 -0
  161. package/esm2022/libs/ui/layout/src/index.mjs +4 -1
  162. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +5 -3
  163. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  164. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
  165. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  166. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  167. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +1 -1
  168. package/esm2022/libs/ui/map/src/index.mjs +4 -3
  169. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +8 -6
  170. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +137 -0
  171. package/esm2022/libs/ui/map/src/lib/components/map-container/map-settings.token.mjs +13 -0
  172. package/esm2022/libs/ui/map/src/lib/map-utils.mjs +37 -0
  173. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  174. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  175. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
  176. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +140 -0
  177. package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
  178. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  179. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +5 -3
  180. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +1 -6
  181. package/esm2022/libs/util/app-config/src/index.mjs +2 -1
  182. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  183. package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +27 -0
  184. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
  185. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  186. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +2 -1
  187. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  188. package/esm2022/translations/de.json +175 -38
  189. package/esm2022/translations/en.json +176 -39
  190. package/esm2022/translations/es.json +146 -9
  191. package/esm2022/translations/fr.json +207 -70
  192. package/esm2022/translations/it.json +149 -12
  193. package/esm2022/translations/nl.json +146 -9
  194. package/esm2022/translations/pt.json +146 -9
  195. package/fesm2022/geonetwork-ui.mjs +11807 -8523
  196. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  197. package/libs/api/metadata-converter/src/index.d.ts +3 -0
  198. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  199. package/libs/api/metadata-converter/src/lib/common/license.d.ts +3 -0
  200. package/libs/api/metadata-converter/src/lib/common/license.d.ts.map +1 -0
  201. package/libs/api/metadata-converter/src/lib/common/url.d.ts +7 -0
  202. package/libs/api/metadata-converter/src/lib/common/url.d.ts.map +1 -0
  203. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts +13 -0
  204. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -0
  205. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts +2 -0
  206. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts.map +1 -0
  207. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts +16 -0
  208. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts.map +1 -0
  209. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts +20 -0
  210. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts.map +1 -0
  211. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts +9 -0
  212. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts.map +1 -0
  213. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts +8 -0
  214. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts.map +1 -0
  215. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts +2 -0
  216. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts.map +1 -0
  217. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts +6 -0
  218. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts.map +1 -0
  219. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -1
  220. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  221. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  222. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  223. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  224. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  225. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  226. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  227. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  228. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
  229. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  230. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -2
  231. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  232. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  233. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +12 -6
  234. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  235. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  236. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  237. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +13 -12
  238. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  239. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +59 -0
  240. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  241. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +20 -8
  242. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  243. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  244. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  245. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  246. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +24 -3
  247. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  248. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +2 -1
  249. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  250. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +9 -7
  251. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  252. package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
  253. package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
  254. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  255. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  256. package/libs/common/domain/src/lib/platform.service.interface.d.ts +18 -1
  257. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  258. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +26 -0
  259. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  260. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  261. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  262. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  263. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  264. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  265. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
  266. package/libs/feature/catalog/src/index.d.ts +1 -0
  267. package/libs/feature/catalog/src/index.d.ts.map +1 -1
  268. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +2 -1
  269. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  270. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  271. package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
  272. package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
  273. package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
  274. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
  275. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  276. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +10 -8
  277. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
  278. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +13 -20
  279. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
  280. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
  281. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  282. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
  283. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  284. package/libs/feature/editor/src/index.d.ts +1 -0
  285. package/libs/feature/editor/src/index.d.ts.map +1 -1
  286. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +6 -0
  287. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  288. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  289. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  290. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -4
  291. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  292. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  293. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  294. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
  295. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  296. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
  297. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  298. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +8 -0
  299. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  300. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +33 -0
  301. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  302. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +34 -0
  303. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
  304. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  305. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  306. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +16 -0
  307. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -0
  308. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts +38 -0
  309. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -0
  310. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +41 -0
  311. 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 -0
  312. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +9 -0
  313. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts.map +1 -0
  314. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +13 -31
  315. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  316. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
  317. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  318. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +15 -0
  319. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +1 -0
  320. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +35 -0
  321. 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 -0
  322. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +44 -0
  323. 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
  324. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +15 -0
  325. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +1 -0
  326. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +31 -0
  327. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  328. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -6
  329. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  330. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +4 -3
  331. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  332. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +28 -0
  333. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
  334. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +10 -16
  335. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
  336. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +5 -5
  337. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
  338. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +18 -20
  339. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  340. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -2
  341. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  342. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +7 -7
  343. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  344. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  345. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  346. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  347. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  348. package/libs/feature/editor/src/lib/fields.config.d.ts +56 -2
  349. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  350. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +42 -0
  351. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  352. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  353. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  354. package/libs/feature/editor/src/lib/services/editor.service.d.ts +4 -3
  355. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  356. package/libs/feature/map/src/index.d.ts +1 -8
  357. package/libs/feature/map/src/index.d.ts.map +1 -1
  358. package/libs/feature/map/src/lib/+state/map.actions.d.ts +13 -39
  359. package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
  360. package/libs/feature/map/src/lib/+state/map.facade.d.ts +9 -10
  361. package/libs/feature/map/src/lib/+state/map.facade.d.ts.map +1 -1
  362. package/libs/feature/map/src/lib/+state/map.reducer.d.ts +4 -2
  363. package/libs/feature/map/src/lib/+state/map.reducer.d.ts.map +1 -1
  364. package/libs/feature/map/src/lib/+state/map.selectors.d.ts +6 -1
  365. package/libs/feature/map/src/lib/+state/map.selectors.d.ts.map +1 -1
  366. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  367. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  368. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +8 -10
  369. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  370. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  371. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  372. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +3 -3
  373. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  374. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +2 -2
  375. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  376. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +2 -2
  377. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  378. package/libs/feature/map/src/lib/constant/index.d.ts +0 -1
  379. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  380. package/libs/feature/map/src/lib/feature-map.module.d.ts +12 -23
  381. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  382. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +7 -7
  383. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  384. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +5 -4
  385. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  386. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts +14 -0
  387. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts.map +1 -0
  388. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  389. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  390. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +0 -30
  391. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  392. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
  393. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  394. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  395. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  396. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  397. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  398. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  399. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  400. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +10 -7
  401. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  402. package/libs/feature/record/src/lib/feature-record.module.d.ts +13 -10
  403. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  404. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +14 -20
  405. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  406. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  407. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  408. package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
  409. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  410. package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
  411. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  412. package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
  413. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  414. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
  415. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  416. package/libs/feature/search/src/index.d.ts +1 -1
  417. package/libs/feature/search/src/index.d.ts.map +1 -1
  418. package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
  419. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  420. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  421. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +37 -0
  422. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -0
  423. package/libs/feature/search/src/lib/state/search.facade.d.ts +2 -0
  424. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  425. package/libs/feature/search/src/lib/state/selectors.d.ts +1 -0
  426. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  427. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  428. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
  429. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts +1 -1
  430. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts.map +1 -1
  431. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +9 -9
  432. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
  433. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
  434. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  435. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  436. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  437. package/libs/ui/elements/src/index.d.ts +2 -2
  438. package/libs/ui/elements/src/index.d.ts.map +1 -1
  439. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  440. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  441. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  442. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  443. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
  444. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  445. package/libs/ui/elements/src/lib/error/error.component.d.ts +3 -1
  446. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
  447. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  448. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  449. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
  450. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  451. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
  452. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  453. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  454. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
  455. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  456. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +17 -15
  457. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  458. package/libs/ui/inputs/src/index.d.ts +5 -0
  459. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  460. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +15 -4
  461. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  462. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
  463. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  464. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  465. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  466. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  467. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  468. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  469. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
  470. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  471. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +4 -5
  472. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  473. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts +1 -1
  474. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
  475. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +17 -0
  476. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  477. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  478. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  479. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  480. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  481. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +33 -36
  482. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  483. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +21 -0
  484. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  485. package/libs/ui/layout/src/index.d.ts +3 -0
  486. package/libs/ui/layout/src/index.d.ts.map +1 -1
  487. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
  488. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
  489. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +1 -1
  490. package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
  491. package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
  492. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  493. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  494. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  495. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  496. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  497. package/libs/ui/map/src/index.d.ts +3 -2
  498. package/libs/ui/map/src/index.d.ts.map +1 -1
  499. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +3 -4
  500. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  501. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts +37 -0
  502. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts.map +1 -0
  503. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts +18 -0
  504. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -0
  505. package/libs/ui/map/src/lib/map-utils.d.ts +7 -0
  506. package/libs/ui/map/src/lib/map-utils.d.ts.map +1 -0
  507. package/libs/ui/search/src/index.d.ts +1 -0
  508. package/libs/ui/search/src/index.d.ts.map +1 -1
  509. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  510. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  511. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
  512. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  513. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +36 -0
  514. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
  515. package/libs/ui/widgets/src/index.d.ts +1 -0
  516. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  517. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  518. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  519. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
  520. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  521. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -11
  522. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  523. package/libs/util/app-config/src/index.d.ts +1 -0
  524. package/libs/util/app-config/src/index.d.ts.map +1 -1
  525. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  526. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  527. package/libs/util/app-config/src/lib/map-layers.d.ts +4 -0
  528. package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -0
  529. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  530. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  531. package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
  532. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  533. package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
  534. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  535. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  536. package/package.json +5 -3
  537. package/src/libs/api/metadata-converter/src/index.ts +3 -0
  538. package/src/libs/api/metadata-converter/src/lib/common/license.ts +66 -0
  539. package/src/libs/api/metadata-converter/src/lib/common/url.ts +15 -0
  540. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +378 -0
  541. package/src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts +1 -0
  542. package/src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts +17 -0
  543. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +370 -0
  544. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +95 -0
  545. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/individual-name.ts +20 -0
  546. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/keyword.mapper.ts +16 -0
  547. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/role.mapper.ts +48 -0
  548. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +97 -0
  549. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +19 -0
  550. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/update-frequency.mapper.ts +67 -0
  551. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts +1 -0
  552. package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +68 -0
  553. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +13 -0
  554. package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +272 -0
  555. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +7 -2
  556. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +6 -2
  557. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +38 -13
  558. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +6 -2
  559. package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +110 -0
  560. package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +85 -0
  561. package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +73 -0
  562. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  563. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
  564. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  565. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  566. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +5 -6
  567. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
  568. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +21 -43
  569. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +11 -16
  570. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +85 -17
  571. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  572. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +203 -157
  573. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +50 -7
  574. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +176 -58
  575. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
  576. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
  577. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +13 -2
  578. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +116 -30
  579. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +29 -1
  580. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +10 -8
  581. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
  582. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  583. package/src/libs/common/domain/src/lib/platform.service.interface.ts +35 -1
  584. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +35 -0
  585. package/src/libs/common/fixtures/src/index.ts +6 -1
  586. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  587. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  588. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  589. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  590. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  591. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  592. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  593. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  594. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  595. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  596. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  597. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  598. package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
  599. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
  600. package/src/libs/common/fixtures/src/lib/map/index.ts +1 -0
  601. package/src/libs/common/fixtures/src/lib/map/map-context.fixtures.ts +53 -0
  602. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  603. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +65 -3
  604. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  605. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +17 -9
  606. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  607. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  608. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  609. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +45 -15
  610. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
  611. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
  612. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  613. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  614. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  615. package/src/libs/data-access/gn4/src/openapi/model/user.api.model.ts +1 -1
  616. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  617. package/src/libs/feature/catalog/src/index.ts +1 -0
  618. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +5 -2
  619. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
  620. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
  621. package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
  622. package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
  623. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  624. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
  625. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +8 -3
  626. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  627. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +5 -2
  628. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +38 -78
  629. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
  630. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
  631. package/src/libs/feature/editor/src/index.ts +1 -0
  632. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -0
  633. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +28 -6
  634. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  635. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  636. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
  637. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
  638. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +15 -0
  639. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +18 -0
  640. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  641. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +90 -0
  642. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +47 -0
  643. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +132 -0
  644. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  645. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
  646. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +31 -0
  647. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +82 -0
  648. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +40 -0
  649. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +170 -0
  650. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +4 -0
  651. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +66 -0
  652. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +210 -0
  653. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.html +4 -0
  654. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.ts +21 -0
  655. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +8 -18
  656. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +40 -81
  657. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
  658. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
  659. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +1 -0
  660. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +86 -0
  661. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +43 -0
  662. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +185 -0
  663. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.css +0 -0
  664. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +71 -0
  665. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +241 -0
  666. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  667. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  668. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +48 -0
  669. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  670. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -0
  671. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +122 -0
  672. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +15 -8
  673. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +11 -14
  674. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
  675. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
  676. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +20 -1
  677. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +212 -1
  678. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
  679. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +31 -4
  680. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +43 -86
  681. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
  682. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +16 -14
  683. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +17 -15
  684. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +127 -70
  685. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +56 -44
  686. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -2
  687. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +52 -9
  688. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +20 -7
  689. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
  690. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  691. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  692. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  693. package/src/libs/feature/editor/src/lib/fields.config.ts +256 -57
  694. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +65 -0
  695. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  696. package/src/libs/feature/editor/src/lib/services/editor.service.ts +22 -7
  697. package/src/libs/feature/map/src/index.ts +1 -8
  698. package/src/libs/feature/map/src/lib/+state/map.actions.ts +10 -25
  699. package/src/libs/feature/map/src/lib/+state/map.facade.ts +11 -15
  700. package/src/libs/feature/map/src/lib/+state/map.reducer.ts +16 -53
  701. package/src/libs/feature/map/src/lib/+state/map.selectors.ts +7 -2
  702. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  703. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +23 -22
  704. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +22 -11
  705. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  706. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +21 -19
  707. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  708. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +17 -10
  709. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  710. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +17 -10
  711. package/src/libs/feature/map/src/lib/constant/index.ts +0 -1
  712. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -41
  713. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +38 -20
  714. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +2 -2
  715. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +39 -6
  716. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.css +0 -0
  717. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.html +4 -0
  718. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.ts +29 -0
  719. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  720. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -232
  721. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
  722. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  723. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  724. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  725. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  726. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +29 -20
  727. package/src/libs/feature/record/src/lib/feature-record.module.ts +14 -5
  728. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +4 -4
  729. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +45 -72
  730. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +47 -32
  731. package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
  732. package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
  733. package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
  734. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +8 -0
  735. package/src/libs/feature/search/src/index.ts +1 -1
  736. package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
  737. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -1
  738. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
  739. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.css +0 -0
  740. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +15 -0
  741. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +114 -0
  742. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  743. package/src/libs/feature/search/src/lib/state/search.facade.ts +11 -0
  744. package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
  745. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
  746. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
  747. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  748. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +8 -1
  749. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -3
  750. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  751. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
  752. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
  753. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  754. package/src/libs/ui/elements/src/index.ts +2 -2
  755. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  756. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  757. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  758. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  759. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  760. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
  761. package/src/libs/ui/elements/src/lib/error/error.component.html +30 -6
  762. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -0
  763. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
  764. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -17
  765. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -1
  766. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +7 -1
  767. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  768. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  769. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
  770. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  771. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  772. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
  773. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
  774. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +10 -6
  775. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  776. package/src/libs/ui/inputs/src/index.ts +5 -0
  777. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +25 -19
  778. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +33 -15
  779. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +97 -30
  780. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +11 -3
  781. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +2 -1
  782. package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
  783. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
  784. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +14 -6
  785. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +7 -1
  786. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
  787. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +28 -23
  788. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +7 -1
  789. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +40 -26
  790. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
  791. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +89 -0
  792. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +92 -0
  793. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +4 -0
  794. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +76 -68
  795. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +17 -14
  796. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +5 -1
  797. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +32 -0
  798. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +14 -0
  799. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +39 -0
  800. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
  801. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
  802. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  803. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  804. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -9
  805. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  806. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +41 -0
  807. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +56 -0
  808. package/src/libs/ui/layout/src/index.ts +3 -0
  809. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +8 -3
  810. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +4 -3
  811. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +1 -1
  812. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +3 -2
  813. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.css +0 -0
  814. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +1 -0
  815. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
  816. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  817. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  818. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  819. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  820. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +15 -18
  821. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
  822. package/src/libs/ui/map/src/index.ts +3 -2
  823. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +1 -1
  824. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +8 -5
  825. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.css +0 -0
  826. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +203 -0
  827. package/src/libs/ui/map/src/lib/components/map-container/map-settings.token.ts +23 -0
  828. package/src/libs/ui/map/src/lib/map-utils.ts +54 -0
  829. package/src/libs/ui/search/src/index.ts +1 -0
  830. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  831. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  832. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
  833. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
  834. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +0 -0
  835. package/src/libs/{feature → ui}/search/src/lib/results-table/results-table.component.html +41 -16
  836. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +151 -0
  837. package/src/libs/ui/widgets/src/index.ts +1 -0
  838. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  839. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  840. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  841. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
  842. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -3
  843. package/src/libs/util/app-config/src/index.ts +1 -0
  844. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  845. package/src/libs/util/app-config/src/lib/map-layers.ts +31 -0
  846. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
  847. package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
  848. package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
  849. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  850. package/tailwind.base.config.js +1 -0
  851. package/tailwind.base.css +53 -8
  852. package/translations/de.json +175 -38
  853. package/translations/en.json +176 -39
  854. package/translations/es.json +146 -9
  855. package/translations/fr.json +207 -70
  856. package/translations/it.json +149 -12
  857. package/translations/nl.json +146 -9
  858. package/translations/pt.json +146 -9
  859. package/translations/sk.json +148 -11
  860. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -15
  861. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +0 -17
  862. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +0 -17
  863. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  864. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  865. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +0 -15
  866. package/esm2022/libs/feature/map/src/lib/+state/map.models.mjs +0 -2
  867. package/esm2022/libs/feature/map/src/lib/constant/map-options.mjs +0 -8
  868. package/esm2022/libs/feature/map/src/lib/constant/style.constant.mjs +0 -17
  869. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +0 -38
  870. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +0 -19
  871. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +0 -19
  872. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +0 -27
  873. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +0 -46
  874. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +0 -10
  875. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +0 -289
  876. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +0 -136
  877. package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
  878. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -43
  879. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +0 -40
  880. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +0 -33
  881. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -8
  882. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +0 -1
  883. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +0 -8
  884. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +0 -1
  885. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +0 -8
  886. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +0 -1
  887. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  888. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  889. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  890. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  891. package/libs/feature/map/src/lib/+state/map.effects.d.ts +0 -9
  892. package/libs/feature/map/src/lib/+state/map.effects.d.ts.map +0 -1
  893. package/libs/feature/map/src/lib/+state/map.models.d.ts +0 -9
  894. package/libs/feature/map/src/lib/+state/map.models.d.ts.map +0 -1
  895. package/libs/feature/map/src/lib/constant/map-options.d.ts +0 -9
  896. package/libs/feature/map/src/lib/constant/map-options.d.ts.map +0 -1
  897. package/libs/feature/map/src/lib/constant/style.constant.d.ts +0 -4
  898. package/libs/feature/map/src/lib/constant/style.constant.d.ts.map +0 -1
  899. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts +0 -16
  900. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts.map +0 -1
  901. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts +0 -9
  902. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts.map +0 -1
  903. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts +0 -11
  904. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts.map +0 -1
  905. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts +0 -12
  906. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts.map +0 -1
  907. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts +0 -26
  908. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts.map +0 -1
  909. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +0 -77
  910. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +0 -1
  911. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +0 -26
  912. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +0 -1
  913. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +0 -36
  914. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +0 -1
  915. package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
  916. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -22
  917. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  918. package/libs/ui/map/src/lib/components/map/map.component.d.ts +0 -19
  919. package/libs/ui/map/src/lib/components/map/map.component.d.ts.map +0 -1
  920. package/libs/ui/map/src/lib/ui-map.module.d.ts +0 -13
  921. package/libs/ui/map/src/lib/ui-map.module.d.ts.map +0 -1
  922. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  923. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  924. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  925. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -8
  926. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -70
  927. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +0 -4
  928. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +0 -15
  929. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +0 -7
  930. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +0 -16
  931. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +0 -13
  932. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +0 -16
  933. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  934. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  935. package/src/libs/feature/map/src/lib/+state/map.effects.ts +0 -7
  936. package/src/libs/feature/map/src/lib/+state/map.models.ts +0 -9
  937. package/src/libs/feature/map/src/lib/constant/map-options.ts +0 -17
  938. package/src/libs/feature/map/src/lib/feature-info/feature-info.service.ts +0 -42
  939. package/src/libs/feature/map/src/lib/manager/map-instance.directive.ts +0 -10
  940. package/src/libs/feature/map/src/lib/manager/map-manager.service.ts +0 -13
  941. package/src/libs/feature/map/src/lib/map-container/map-container.component.html +0 -1
  942. package/src/libs/feature/map/src/lib/map-container/map-container.component.ts +0 -26
  943. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.html +0 -1
  944. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.ts +0 -57
  945. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +0 -51
  946. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +0 -95
  947. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +0 -318
  948. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +0 -171
  949. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -36
  950. package/src/libs/ui/map/src/lib/components/map/map.component.ts +0 -57
  951. package/src/libs/ui/map/src/lib/ui-map.module.ts +0 -19
  952. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
  953. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → generic-keywords/generic-keywords.component.css} +0 -0
  954. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css → import-record/import-record.component.css} +0 -0
  955. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css → online-resource-card/online-resource-card.component.css} +0 -0
  956. /package/src/libs/feature/{map/src/lib/map-container/map-container.component.css → editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.css} +0 -0
  957. /package/src/libs/feature/{map/src/lib/map-context/component/map-context.component.css → editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.css} +0 -0
  958. /package/src/libs/feature/{search/src/lib/results-table/results-table.component.css → editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.css} +0 -0
  959. /package/src/libs/{ui/elements/src/lib/max-lines/max-lines.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css} +0 -0
  960. /package/src/libs/{ui/map/src/lib/components/map/map.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css} +0 -0
  961. /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
  962. /package/src/libs/ui/map/src/lib/components/{map/map.component.html → map-container/map-container.component.html} +0 -0
@@ -1,42 +1,8 @@
1
- import { HttpClient } from '@angular/common/http'
2
1
  import { Injectable } from '@angular/core'
3
- import type { FeatureCollection } from 'geojson'
4
- import { extend, Extent, isEmpty } from 'ol/extent'
5
- import Feature from 'ol/Feature'
2
+ import { extend, Extent } from 'ol/extent'
6
3
  import GeoJSON from 'ol/format/GeoJSON'
7
- import { Geometry } from 'ol/geom'
8
- import Layer from 'ol/layer/Layer'
9
- import Map from 'ol/Map'
10
4
  import { transformExtent } from 'ol/proj'
11
- import Source from 'ol/source/Source'
12
- import ImageWMS from 'ol/source/ImageWMS'
13
- import TileWMS from 'ol/source/TileWMS'
14
- import VectorSource from 'ol/source/Vector'
15
- import { defaults, DragPan, Interaction, MouseWheelZoom } from 'ol/interaction'
16
- import {
17
- mouseOnly,
18
- noModifierKeys,
19
- platformModifierKeyOnly,
20
- primaryAction,
21
- } from 'ol/events/condition'
22
- import { Observable } from 'rxjs'
23
- import { map } from 'rxjs/operators'
24
- import {
25
- MapContextLayerModel,
26
- MapContextLayerWmsModel,
27
- } from '../map-context/map-context.model'
28
- import Collection from 'ol/Collection'
29
- import MapBrowserEvent from 'ol/MapBrowserEvent'
30
5
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
31
- import { ProxyService } from '../../../../../../libs/util/shared/src'
32
- import { WmsEndpoint, WmtsEndpoint } from '@camptocamp/ogc-client'
33
- import { LONLAT_CRS_CODES } from '../constant/projections'
34
- import { fromEPSGCode, register } from 'ol/proj/proj4'
35
- import proj4 from 'proj4/dist/proj4'
36
- import { defaults as defaultControls } from 'ol/control/defaults'
37
-
38
- const FEATURE_PROJECTION = 'EPSG:3857'
39
- const DATA_PROJECTION = 'EPSG:4326'
40
6
 
41
7
  const GEOJSON = new GeoJSON()
42
8
 
@@ -44,212 +10,22 @@ const GEOJSON = new GeoJSON()
44
10
  providedIn: 'root',
45
11
  })
46
12
  export class MapUtilsService {
47
- constructor(private http: HttpClient, private proxy: ProxyService) {}
48
-
49
- createEmptyMap(): Map {
50
- return new Map({
51
- controls: defaultControls({
52
- attribution: true,
53
- attributionOptions: { collapsible: false },
54
- }),
55
- pixelRatio: 1,
56
- })
57
- }
58
-
59
- readFeatureCollection = (
60
- featureCollection: FeatureCollection,
61
- featureProjection = FEATURE_PROJECTION,
62
- dataProjection = DATA_PROJECTION
63
- ): Feature<Geometry>[] => {
64
- return GEOJSON.readFeatures(featureCollection, {
65
- featureProjection,
66
- dataProjection,
67
- }) as Feature<Geometry>[]
68
- }
69
-
70
- isWMSLayer(layer: Layer<Source>): boolean {
71
- return (
72
- layer.getSource() instanceof TileWMS ||
73
- layer.getSource() instanceof ImageWMS
74
- )
75
- }
76
-
77
- getGFIUrl(layer, map, coordinate): string {
78
- const view = map.getView()
79
- const projection = view.getProjection()
80
- const resolution = view.getResolution()
81
- const source = layer.getSource()
82
- const params = {
83
- ...source.getParams(),
84
- INFO_FORMAT: 'application/json',
85
- }
86
- return source.getFeatureInfoUrl(coordinate, resolution, projection, params)
87
- }
88
-
89
- getVectorFeaturesFromClick(olMap, event): Feature<Geometry>[] {
90
- const features = []
91
- const hit = olMap.forEachFeatureAtPixel(
92
- event.pixel,
93
- (feature: Feature<Geometry>) => {
94
- return feature
95
- },
96
- { layerFilter: (layer) => layer.getSource() instanceof VectorSource }
97
- )
98
- if (hit) {
99
- features.push(hit)
100
- }
101
- return features
102
- }
103
-
104
- getGFIFeaturesObservablesFromClick(
105
- olMap: Map,
106
- event: MapBrowserEvent<PointerEvent>
107
- ): Observable<Feature<Geometry>[]>[] {
108
- const wmsLayers = olMap.getLayers().getArray().filter(this.isWMSLayer)
109
-
110
- if (wmsLayers.length > 0) {
111
- const { coordinate } = event
112
- const gfiUrls = wmsLayers.reduce(
113
- (urls, layer) => [...urls, this.getGFIUrl(layer, olMap, coordinate)],
114
-
115
- []
116
- )
117
- return gfiUrls.map((url) =>
118
- this.http
119
- .get<FeatureCollection>(url)
120
- .pipe(map((collection) => this.readFeatureCollection(collection)))
121
- )
122
- } else {
123
- return []
124
- }
125
- }
126
-
127
- /**
128
- * Will emit `null` if no extent could be computed
129
- */
130
- async getLayerExtent(layer: MapContextLayerModel): Promise<Extent | null> {
131
- let latLonExtent: Extent
132
- if (
133
- layer &&
134
- layer.type === 'geojson' &&
135
- 'data' in layer &&
136
- typeof layer.data === 'object' &&
137
- layer.data.features[0] &&
138
- layer.data.features[0].geometry
139
- ) {
140
- latLonExtent = new GeoJSON()
141
- .readFeatures(layer.data)
142
- .map((feature) => feature.getGeometry())
143
- .filter((geom) => !!geom)
144
- .reduce(
145
- (prev, curr) =>
146
- prev ? extend(prev, curr.getExtent()) : curr.getExtent(),
147
- null as Extent
148
- )
149
- } else if (layer && layer.type === 'wms') {
150
- latLonExtent = await this.getWmsLayerExtent(layer)
151
- } else if (layer && layer.type === 'wmts') {
152
- // TODO: isolate this in utils service
153
- latLonExtent = await new WmtsEndpoint(layer.url)
154
- .isReady()
155
- .then((endpoint) => {
156
- const layerName = endpoint.getSingleLayerName() ?? layer.name
157
- const wmtsLayer = endpoint.getLayerByName(layerName)
158
- return wmtsLayer.latLonBoundingBox
159
- })
160
- } else {
161
- return null
162
- }
163
- if (!latLonExtent || isEmpty(latLonExtent)) {
164
- return null
165
- }
166
- return transformExtent(latLonExtent, 'EPSG:4326', 'EPSG:3857')
167
- }
168
-
169
- async getWmsLayerExtent(
170
- layer: MapContextLayerWmsModel
171
- ): Promise<Extent | null> {
172
- const endpoint = await new WmsEndpoint(
173
- this.proxy.getProxiedUrl(layer.url)
174
- ).isReady()
175
- const { boundingBoxes } = endpoint.getLayerByName(layer.name)
176
- if (!Object.keys(boundingBoxes).length) {
177
- return null
178
- }
179
- const lonLatCRS = Object.keys(boundingBoxes)?.find((crs) =>
180
- LONLAT_CRS_CODES.includes(crs)
181
- )
182
- if (lonLatCRS) {
183
- return boundingBoxes[lonLatCRS]
184
- } else {
185
- const availableEPSGCode = Object.keys(boundingBoxes)[0]
186
- register(proj4)
187
- const proj = await fromEPSGCode(availableEPSGCode)
188
- return transformExtent(
189
- boundingBoxes[availableEPSGCode],
190
- proj,
191
- 'EPSG:4326'
192
- )
193
- }
194
- }
195
-
196
- prioritizePageScroll(interactions: Collection<Interaction>) {
197
- interactions.clear()
198
- interactions.extend(
199
- defaults({
200
- // remove rotate interactions
201
- altShiftDragRotate: false,
202
- pinchRotate: false,
203
- // replace drag and zoom interactions
204
- dragPan: false,
205
- mouseWheelZoom: false,
206
- })
207
- .extend([
208
- new DragPan({
209
- condition: dragPanCondition,
210
- }),
211
- new MouseWheelZoom({
212
- condition: mouseWheelZoomCondition,
213
- }),
214
- ])
215
- .getArray()
216
- )
217
- }
218
-
219
13
  getRecordExtent(record: Partial<CatalogRecord>): Extent {
220
14
  if (!('spatialExtents' in record) || record.spatialExtents.length === 0) {
221
15
  return null
222
16
  }
223
- // transform an array of geojson geometries into a bbox
17
+ // extend all the spatial extents into an including bbox
224
18
  const totalExtent = record.spatialExtents.reduce(
225
19
  (prev, curr) => {
226
- const geom = GEOJSON.readGeometry(curr.geometry)
227
- return extend(prev, geom.getExtent())
20
+ if ('bbox' in curr) return extend(prev, curr.bbox)
21
+ else if ('geometry' in curr) {
22
+ const geom = GEOJSON.readGeometry(curr.geometry)
23
+ return extend(prev, geom.getExtent())
24
+ }
25
+ return prev
228
26
  },
229
27
  [Infinity, Infinity, -Infinity, -Infinity]
230
28
  )
231
29
  return transformExtent(totalExtent, 'EPSG:4326', 'EPSG:3857')
232
30
  }
233
31
  }
234
-
235
- export function dragPanCondition(
236
- this: DragPan,
237
- event: MapBrowserEvent<PointerEvent>
238
- ) {
239
- const dragPanCondition = this.getPointerCount() === 2 || mouseOnly(event)
240
- if (!dragPanCondition) {
241
- this.getMap().dispatchEvent('mapmuted')
242
- }
243
- // combine the condition with the default DragPan conditions
244
- return dragPanCondition && noModifierKeys(event) && primaryAction(event)
245
- }
246
-
247
- export function mouseWheelZoomCondition(
248
- this: MouseWheelZoom,
249
- event: MapBrowserEvent<UIEvent>
250
- ) {
251
- if (!platformModifierKeyOnly(event) && event.type === 'wheel') {
252
- this.getMap().dispatchEvent('mapmuted')
253
- }
254
- return platformModifierKeyOnly(event)
255
- }
@@ -9,7 +9,7 @@ import { BehaviorSubject, combineLatest } from 'rxjs'
9
9
  import { map, tap } from 'rxjs/operators'
10
10
  import { MdViewFacade } from '../state'
11
11
  import { DatavizConfigurationModel } from '../../../../../../libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model'
12
- import { DatasetDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
12
+ import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
13
13
 
14
14
  @Component({
15
15
  selector: 'gn-ui-data-view',
@@ -43,7 +43,7 @@ export class DataViewComponent {
43
43
  }))
44
44
  )
45
45
  )
46
- selectedLink$ = new BehaviorSubject<DatasetDistribution>(null)
46
+ selectedLink$ = new BehaviorSubject<DatasetOnlineResource>(null)
47
47
 
48
48
  constructor(private mdViewFacade: MdViewFacade) {}
49
49
 
@@ -52,7 +52,7 @@ export class DataViewComponent {
52
52
  }
53
53
 
54
54
  selectLink(linkAsString: string) {
55
- const link: DatasetDistribution = JSON.parse(linkAsString)
55
+ const link: DatasetOnlineResource = JSON.parse(linkAsString)
56
56
  link.url = new URL(link.url)
57
57
  this.selectedLink$.next(link)
58
58
  }
@@ -3,10 +3,11 @@ import {
3
3
  Component,
4
4
  Inject,
5
5
  InjectionToken,
6
+ Input,
6
7
  Optional,
7
8
  } from '@angular/core'
8
9
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
9
- import { combineLatest, map } from 'rxjs'
10
+ import { BehaviorSubject, combineLatest, map } from 'rxjs'
10
11
  import { MdViewFacade } from '../state'
11
12
  import { GN_UI_VERSION } from '../gn-ui-version.token'
12
13
 
@@ -21,29 +22,45 @@ export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
21
22
  changeDetection: ChangeDetectionStrategy.OnPush,
22
23
  })
23
24
  export class DataViewPermalinkComponent {
25
+ viewType$ = new BehaviorSubject<string>('map')
26
+ @Input()
27
+ set viewType(value: string) {
28
+ this.viewType$.next(value)
29
+ }
30
+
24
31
  permalinkUrl$ = combineLatest([
32
+ this.viewType$,
25
33
  this.facade.chartConfig$,
26
34
  this.facade.metadata$,
27
35
  ]).pipe(
28
- map(([config, metadata]) => {
29
- if (config) {
30
- const { aggregation, xProperty, yProperty, chartType } = config
31
- const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin)
32
- url.searchParams.set('v', `${this.version}`)
33
- url.searchParams.append('e', `gn-dataset-view-chart`)
34
- url.searchParams.append('a', `api-url=${this.config.basePath}`)
35
- url.searchParams.append('a', `dataset-id=${metadata.uniqueIdentifier}`)
36
- url.searchParams.append('a', `primary-color=#0f4395`)
37
- url.searchParams.append('a', `secondary-color=#8bc832`)
38
- url.searchParams.append('a', `main-color=#555`)
39
- url.searchParams.append('a', `background-color=#fdfbff`)
40
- url.searchParams.append('a', `aggregation=${aggregation}`)
41
- url.searchParams.append('a', `x-property=${xProperty}`)
42
- url.searchParams.append('a', `y-property=${yProperty}`)
43
- url.searchParams.append('a', `chart-type=${chartType}`)
44
- return url.toString()
36
+ map(([viewType, config, metadata]) => {
37
+ const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin)
38
+ url.searchParams.set('v', `${this.version}`)
39
+ if (viewType === 'chart') {
40
+ if (config) {
41
+ const { aggregation, xProperty, yProperty, chartType } = config
42
+ url.searchParams.append('e', `gn-dataset-view-chart`)
43
+ url.searchParams.append('a', `aggregation=${aggregation}`)
44
+ url.searchParams.append('a', `x-property=${xProperty}`)
45
+ url.searchParams.append('a', `y-property=${yProperty}`)
46
+ url.searchParams.append('a', `chart-type=${chartType}`)
47
+ } else {
48
+ return ''
49
+ }
50
+ } else if (viewType === 'table') {
51
+ // table
52
+ url.searchParams.append('e', `gn-dataset-view-table`)
53
+ } else {
54
+ // map
55
+ url.searchParams.append('e', `gn-dataset-view-map`)
45
56
  }
46
- return ''
57
+ url.searchParams.append('a', `api-url=${this.config.basePath}`)
58
+ url.searchParams.append('a', `dataset-id=${metadata.uniqueIdentifier}`)
59
+ url.searchParams.append('a', `primary-color=#0f4395`)
60
+ url.searchParams.append('a', `secondary-color=#8bc832`)
61
+ url.searchParams.append('a', `main-color=#555`)
62
+ url.searchParams.append('a', `background-color=#fdfbff`)
63
+ return url.toString()
47
64
  })
48
65
  )
49
66
 
@@ -10,7 +10,9 @@
10
10
  <ng-template mat-tab-label>
11
11
  <span class="tab-header-label-gray" translate>share.tab.permalink</span>
12
12
  </ng-template>
13
- <gn-ui-data-view-permalink></gn-ui-data-view-permalink>
13
+ <gn-ui-data-view-permalink
14
+ [viewType]="viewType"
15
+ ></gn-ui-data-view-permalink>
14
16
  </mat-tab>
15
17
  <mat-tab>
16
18
  <ng-template mat-tab-label>
@@ -24,7 +26,9 @@
24
26
  >share.tab.webComponent</span
25
27
  >
26
28
  </ng-template>
27
- <gn-ui-data-view-web-component></gn-ui-data-view-web-component>
29
+ <gn-ui-data-view-web-component
30
+ [viewType]="viewType"
31
+ ></gn-ui-data-view-web-component>
28
32
  </mat-tab>
29
33
  </mat-tab-group>
30
34
  </div>
@@ -2,6 +2,7 @@ import {
2
2
  ChangeDetectionStrategy,
3
3
  Component,
4
4
  Inject,
5
+ Input,
5
6
  Optional,
6
7
  } from '@angular/core'
7
8
  import { WEB_COMPONENT_EMBEDDER_URL } from '../data-view-permalink/data-view-permalink.component'
@@ -13,6 +14,16 @@ import { WEB_COMPONENT_EMBEDDER_URL } from '../data-view-permalink/data-view-per
13
14
  changeDetection: ChangeDetectionStrategy.OnPush,
14
15
  })
15
16
  export class DataViewShareComponent {
17
+ private _viewType: string
18
+
19
+ @Input()
20
+ set viewType(value: string) {
21
+ this._viewType = value
22
+ }
23
+
24
+ get viewType(): string {
25
+ return this._viewType
26
+ }
16
27
  constructor(
17
28
  @Optional()
18
29
  @Inject(WEB_COMPONENT_EMBEDDER_URL)
@@ -1,7 +1,12 @@
1
- import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'
1
+ import {
2
+ ChangeDetectionStrategy,
3
+ Component,
4
+ Inject,
5
+ Input,
6
+ } from '@angular/core'
2
7
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
3
8
  import { MdViewFacade } from '../state'
4
- import { combineLatest, map } from 'rxjs'
9
+ import { BehaviorSubject, combineLatest, map } from 'rxjs'
5
10
  import { GN_UI_VERSION } from '../gn-ui-version.token'
6
11
 
7
12
  @Component({
@@ -11,35 +16,77 @@ import { GN_UI_VERSION } from '../gn-ui-version.token'
11
16
  changeDetection: ChangeDetectionStrategy.OnPush,
12
17
  })
13
18
  export class DataViewWebComponentComponent {
19
+ viewType$ = new BehaviorSubject<string>('map')
20
+ @Input()
21
+ set viewType(value: string) {
22
+ this.viewType$.next(value)
23
+ }
14
24
  webComponentHtml$ = combineLatest(
25
+ this.viewType$,
15
26
  this.facade.chartConfig$,
16
27
  this.facade.metadata$
17
28
  ).pipe(
18
- map(([config, metadata]) => {
19
- if (config) {
20
- const { aggregation, xProperty, yProperty, chartType } = config
29
+ map(([viewType, config, metadata]) => {
30
+ if (viewType === 'chart') {
31
+ if (config) {
32
+ const { aggregation, xProperty, yProperty, chartType } = config
33
+ return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
34
+ this.version
35
+ }/gn-wc.js"></script>
36
+ <gn-dataset-view-chart
37
+ api-url="${new URL(
38
+ this.config.basePath,
39
+ window.location.origin
40
+ ).toString()}"
41
+ dataset-id="${metadata.uniqueIdentifier}"
42
+ aggregation="${aggregation}"
43
+ x-property="${xProperty}"
44
+ y-property="${yProperty}"
45
+ chart-type="${chartType}"
46
+ primary-color="#0f4395"
47
+ secondary-color="#8bc832"
48
+ main-color="#555"
49
+ background-color="#fdfbff"
50
+ main-font="'Inter', sans-serif"
51
+ title-font="'DM Serif Display', serif"
52
+ ></gn-dataset-view-chart>`
53
+ }
54
+ return ''
55
+ } else if (viewType === 'table') {
21
56
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
22
57
  this.version
23
58
  }/gn-wc.js"></script>
24
- <gn-dataset-view-chart
59
+ <gn-dataset-view-table
60
+ api-url="${new URL(
61
+ this.config.basePath,
62
+ window.location.origin
63
+ ).toString()}"
64
+ dataset-id="${metadata.uniqueIdentifier}"
65
+ primary-color="#0f4395"
66
+ secondary-color="#8bc832"
67
+ main-color="#555"
68
+ background-color="#fdfbff"
69
+ main-font="'Inter', sans-serif"
70
+ title-font="'DM Serif Display', serif"
71
+ ></gn-dataset-view-table>`
72
+ } else {
73
+ return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
74
+ this.version
75
+ }/gn-wc.js"></script>
76
+ <gn-dataset-view-map
25
77
  api-url="${new URL(
26
78
  this.config.basePath,
27
79
  window.location.origin
28
80
  ).toString()}"
29
81
  dataset-id="${metadata.uniqueIdentifier}"
30
- aggregation="${aggregation}"
31
- x-property="${xProperty}"
32
- y-property="${yProperty}"
33
- chart-type="${chartType}"
34
82
  primary-color="#0f4395"
35
83
  secondary-color="#8bc832"
36
84
  main-color="#555"
37
85
  background-color="#fdfbff"
38
86
  main-font="'Inter', sans-serif"
39
87
  title-font="'DM Serif Display', serif"
40
- ></gn-dataset-view-chart>`
88
+ ></gn-dataset-view-map>`
41
89
  }
42
- return ''
43
90
  })
44
91
  )
45
92
 
@@ -1,12 +1,26 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
- import { MapConfig } from '../../../../../../libs/util/app-config/src'
3
- import { DatasetDistribution } from '../../../../../../libs/common/domain/src/lib/model/record'
1
+ import {
2
+ ChangeDetectionStrategy,
3
+ Component,
4
+ Inject,
5
+ InjectionToken,
6
+ Input,
7
+ Optional,
8
+ } from '@angular/core'
9
+ import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
4
10
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
5
11
  import { TranslateService } from '@ngx-translate/core'
6
12
  import { getFileFormat } from '../../../../../../libs/util/shared/src'
7
13
 
8
14
  marker('externalviewer.dataset.unnamed')
9
15
 
16
+ export const EXTERNAL_VIEWER_URL_TEMPLATE = new InjectionToken<string>(
17
+ 'externalViewerUrlTemplate'
18
+ )
19
+ export const EXTERNAL_VIEWER_OPEN_NEW_TAB = new InjectionToken<boolean>(
20
+ 'externalViewerOpenNewTab',
21
+ { factory: () => false }
22
+ )
23
+
10
24
  @Component({
11
25
  selector: 'gn-ui-external-viewer-button',
12
26
  templateUrl: './external-viewer-button.component.html',
@@ -14,17 +28,10 @@ marker('externalviewer.dataset.unnamed')
14
28
  changeDetection: ChangeDetectionStrategy.OnPush,
15
29
  })
16
30
  export class ExternalViewerButtonComponent {
17
- @Input() link: DatasetDistribution
18
- @Input() mapConfig: MapConfig
31
+ @Input() link: DatasetOnlineResource
19
32
 
20
33
  get externalViewer() {
21
- if (this.link && this.mapConfig) {
22
- return (
23
- !!this.mapConfig.EXTERNAL_VIEWER_URL_TEMPLATE &&
24
- !!this.supportedLinkLayerType
25
- )
26
- }
27
- return false
34
+ return !!this.urlTemplate && !!this.supportedLinkLayerType
28
35
  }
29
36
 
30
37
  get supportedLinkLayerType() {
@@ -45,10 +52,17 @@ export class ExternalViewerButtonComponent {
45
52
  return null
46
53
  }
47
54
 
48
- constructor(private translateService: TranslateService) {}
55
+ constructor(
56
+ private translateService: TranslateService,
57
+ @Inject(EXTERNAL_VIEWER_URL_TEMPLATE)
58
+ @Optional()
59
+ private urlTemplate: string,
60
+ @Inject(EXTERNAL_VIEWER_OPEN_NEW_TAB)
61
+ private openinNewTab: boolean
62
+ ) {}
49
63
 
50
64
  openInExternalViewer() {
51
- const templateUrl = this.mapConfig.EXTERNAL_VIEWER_URL_TEMPLATE
65
+ const templateUrl = this.urlTemplate
52
66
  const layerName = this.link.name
53
67
  ? this.link.name
54
68
  : this.translateService.instant('externalviewer.dataset.unnamed')
@@ -59,11 +73,6 @@ export class ExternalViewerButtonComponent {
59
73
  `${encodeURIComponent(this.link.url.toString())}`
60
74
  )
61
75
  .replace('${service_type}', `${this.supportedLinkLayerType}`)
62
- window
63
- .open(
64
- url,
65
- this.mapConfig.EXTERNAL_VIEWER_OPEN_NEW_TAB ? '_blank' : '_self'
66
- )
67
- .focus()
76
+ window.open(url, this.openinNewTab ? '_blank' : '_self').focus()
68
77
  }
69
78
  }
@@ -1,10 +1,16 @@
1
- import { InjectionToken, NgModule } from '@angular/core'
1
+ import { NgModule } from '@angular/core'
2
2
  import { CommonModule } from '@angular/common'
3
- import { UiMapModule } from '../../../../../libs/ui/map/src'
3
+ import {
4
+ FeatureDetailComponent,
5
+ MapContainerComponent,
6
+ } from '../../../../../libs/ui/map/src'
4
7
  import { StoreModule } from '@ngrx/store'
5
8
  import { EffectsModule } from '@ngrx/effects'
6
9
  import { UiLayoutModule } from '../../../../../libs/ui/layout/src'
7
- import { FeatureMapModule } from '../../../../../libs/feature/map/src'
10
+ import {
11
+ FeatureMapModule,
12
+ MapStateContainerComponent,
13
+ } from '../../../../../libs/feature/map/src'
8
14
  import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
9
15
  import { UiElementsModule } from '../../../../../libs/ui/elements/src'
10
16
  import { MdViewFacade } from './state'
@@ -17,7 +23,7 @@ import {
17
23
  } from './state/mdview.reducer'
18
24
  import { MatTabsModule } from '@angular/material/tabs'
19
25
  import { MatIconModule } from '@angular/material/icon'
20
- import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
26
+ import { PopupAlertComponent, UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
21
27
  import { TranslateModule } from '@ngx-translate/core'
22
28
  import { ExternalViewerButtonComponent } from './external-viewer-button/external-viewer-button.component'
23
29
  import { FeatureCatalogModule } from '../../../../../libs/feature/catalog/src'
@@ -43,7 +49,6 @@ import { DataViewShareComponent } from './data-view-share/data-view-share.compon
43
49
  UiLayoutModule,
44
50
  FeatureMapModule,
45
51
  FeatureCatalogModule,
46
- UiMapModule,
47
52
  UiInputsModule,
48
53
  UiElementsModule,
49
54
  MatTabsModule,
@@ -52,6 +57,10 @@ import { DataViewShareComponent } from './data-view-share/data-view-share.compon
52
57
  TranslateModule,
53
58
  TableComponent,
54
59
  FeatureDatavizModule,
60
+ PopupAlertComponent,
61
+ FeatureDetailComponent,
62
+ MapStateContainerComponent,
63
+ MapContainerComponent,
55
64
  ],
56
65
  providers: [MdViewFacade],
57
66
  exports: [
@@ -10,17 +10,17 @@
10
10
  <gn-ui-external-viewer-button
11
11
  class="shrink-0 py-1 place-self-end"
12
12
  [link]="selectedLink$ | async"
13
- [mapConfig]="mapConfig"
14
13
  >
15
14
  </gn-ui-external-viewer-button>
16
15
  </div>
17
16
  <div
18
17
  class="relative w-full h-full bg-white border border-gray-300 rounded-lg overflow-hidden"
19
18
  >
20
- <gn-ui-map-context
19
+ <gn-ui-map-container
20
+ #mapContainer
21
21
  [context]="mapContext$ | async"
22
- [mapConfig]="mapConfig"
23
- ></gn-ui-map-context>
22
+ (featuresClick)="onMapFeatureSelect($event)"
23
+ ></gn-ui-map-container>
24
24
  <div
25
25
  class="top-[1em] right-[1em] p-3 bg-white absolute overflow-y-auto overflow-x-hidden max-h-72 w-56"
26
26
  [class.hidden]="!selection"