geonetwork-ui 2.4.0-dev.d5b28b1e → 2.4.0-dev.dcc96ff9

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 (451) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -5
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +10 -7
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +10 -15
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +28 -18
  9. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +5 -3
  10. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +11 -1
  11. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +51 -7
  12. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  13. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  14. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  15. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  16. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  17. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  18. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
  19. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
  20. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
  21. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  22. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +6 -1
  23. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
  24. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
  25. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +78 -0
  26. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
  27. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +143 -0
  28. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +32 -40
  29. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +10 -8
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +101 -0
  31. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +148 -0
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +93 -11
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +10 -6
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +11 -11
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +9 -8
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +140 -5
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +38 -69
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +16 -14
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +44 -53
  41. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +5 -3
  42. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
  43. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
  44. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +53 -4
  45. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
  46. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +5 -1
  47. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
  48. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +7 -6
  49. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
  50. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
  51. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
  52. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
  53. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
  54. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
  55. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  56. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
  57. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +1 -1
  58. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +1 -1
  59. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
  60. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  61. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +5 -4
  62. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  63. package/esm2022/libs/ui/elements/src/index.mjs +2 -2
  64. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
  65. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
  66. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
  67. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  68. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
  69. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +7 -4
  70. package/esm2022/libs/ui/inputs/src/index.mjs +5 -1
  71. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
  72. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +26 -24
  73. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
  74. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +19 -15
  75. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
  76. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +7 -21
  77. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
  78. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
  79. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
  80. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  81. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  82. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  83. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
  84. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  85. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +8 -8
  86. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  87. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
  88. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  89. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  90. package/esm2022/translations/de.json +55 -2
  91. package/esm2022/translations/en.json +55 -2
  92. package/esm2022/translations/es.json +53 -0
  93. package/esm2022/translations/fr.json +58 -5
  94. package/esm2022/translations/it.json +55 -2
  95. package/esm2022/translations/nl.json +53 -0
  96. package/esm2022/translations/pt.json +53 -0
  97. package/fesm2022/geonetwork-ui.mjs +2759 -1479
  98. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  99. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  100. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  101. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  102. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  103. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
  104. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  105. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -1
  106. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  107. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  108. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -5
  109. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  110. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +7 -6
  111. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  112. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  113. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +22 -2
  114. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  115. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
  116. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  117. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +7 -6
  118. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  119. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  120. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  121. package/libs/common/domain/src/lib/platform.service.interface.d.ts +16 -0
  122. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  123. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  124. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  125. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  126. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  127. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
  128. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  129. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
  130. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  131. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
  132. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  133. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +1 -0
  134. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  135. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  136. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  137. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +1 -0
  138. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  139. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
  140. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  141. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +32 -0
  142. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  143. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  144. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  145. 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
  146. 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
  147. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +12 -19
  148. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  149. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
  150. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  151. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +22 -0
  152. 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
  153. 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
  154. 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
  155. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +15 -0
  156. 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
  157. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +24 -4
  158. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  159. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +4 -3
  160. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +1 -1
  161. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -4
  162. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  163. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +4 -3
  164. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  165. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +28 -0
  166. 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
  167. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +10 -18
  168. 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
  169. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +5 -5
  170. 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
  171. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +18 -24
  172. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  173. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +5 -3
  174. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  175. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  176. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  177. package/libs/feature/editor/src/lib/fields.config.d.ts +15 -0
  178. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  179. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +5 -0
  180. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -1
  181. package/libs/feature/editor/src/lib/services/editor.service.d.ts +1 -0
  182. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  183. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  184. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  185. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +6 -6
  186. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  187. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  188. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  189. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +1 -1
  190. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  191. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
  192. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  193. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
  194. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  195. package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -21
  196. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  197. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
  198. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  199. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  200. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  201. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
  202. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  203. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -2
  204. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  205. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
  206. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  207. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  208. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  209. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +1 -0
  210. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  211. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  212. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  213. package/libs/ui/elements/src/index.d.ts +1 -1
  214. package/libs/ui/elements/src/index.d.ts.map +1 -1
  215. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  216. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  217. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
  218. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  219. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  220. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  221. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
  222. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  223. package/libs/ui/inputs/src/index.d.ts +4 -0
  224. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  225. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  226. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  227. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  228. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  229. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
  230. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  231. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +4 -5
  232. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  233. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +16 -0
  234. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  235. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  236. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  237. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  238. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  239. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
  240. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  241. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +18 -0
  242. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  243. package/libs/ui/layout/src/index.d.ts +2 -0
  244. package/libs/ui/layout/src/index.d.ts.map +1 -1
  245. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  246. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  247. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  248. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  249. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  250. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  251. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +2 -2
  252. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  253. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  254. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  255. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  256. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  257. package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
  258. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  259. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  260. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  261. package/package.json +1 -1
  262. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +7 -2
  263. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +1 -1
  264. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
  265. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +1 -1
  266. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
  267. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  268. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -4
  269. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
  270. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +14 -8
  271. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +7 -13
  272. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +13 -15
  273. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +48 -36
  274. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +5 -5
  275. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
  276. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +90 -15
  277. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
  278. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +8 -7
  279. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  280. package/src/libs/common/domain/src/lib/platform.service.interface.ts +30 -0
  281. package/src/libs/common/fixtures/src/index.ts +1 -1
  282. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +37 -37
  283. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  284. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  285. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  286. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  287. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  288. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  289. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  290. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  291. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  292. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  293. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
  294. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  295. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  296. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  297. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +9 -9
  298. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  299. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  300. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  301. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +32 -15
  302. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  303. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  304. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  305. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
  306. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  307. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
  308. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
  309. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +2 -0
  310. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +15 -0
  311. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +4 -0
  312. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +25 -0
  313. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
  314. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  315. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +89 -0
  316. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  317. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
  318. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +0 -0
  319. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +86 -0
  320. 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
  321. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -17
  322. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +45 -45
  323. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
  324. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
  325. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
  326. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
  327. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css +0 -0
  328. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +33 -0
  329. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +182 -0
  330. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  331. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  332. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +48 -0
  333. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -5
  334. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +107 -7
  335. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +2 -2
  336. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +9 -3
  337. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +2 -2
  338. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +13 -7
  339. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
  340. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
  341. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +20 -1
  342. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +212 -1
  343. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +30 -4
  344. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +41 -87
  345. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +17 -15
  346. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +111 -74
  347. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +48 -53
  348. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +3 -1
  349. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +9 -3
  350. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  351. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  352. package/src/libs/feature/editor/src/lib/fields.config.ts +59 -3
  353. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +9 -0
  354. package/src/libs/feature/editor/src/lib/services/editor.service.ts +7 -0
  355. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  356. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +12 -8
  357. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
  358. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  359. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
  360. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  361. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
  362. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  363. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
  364. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
  365. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
  366. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
  367. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  368. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
  369. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
  370. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -2
  371. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -1
  372. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  373. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  374. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +10 -1
  375. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  376. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  377. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  378. package/src/libs/ui/elements/src/index.ts +1 -1
  379. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  380. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
  381. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
  382. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +5 -0
  383. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  384. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -1
  385. package/src/libs/ui/inputs/src/index.ts +4 -0
  386. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
  387. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +40 -26
  388. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +0 -0
  389. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +85 -0
  390. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +92 -0
  391. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +50 -50
  392. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +17 -14
  393. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +0 -1
  394. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +1 -2
  395. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
  396. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
  397. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  398. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  399. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  400. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  401. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
  402. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
  403. package/src/libs/ui/layout/src/index.ts +2 -0
  404. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  405. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  406. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  407. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  408. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +11 -18
  409. package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
  410. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  411. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +9 -2
  412. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +5 -6
  413. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  414. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
  415. package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
  416. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  417. package/tailwind.base.css +21 -4
  418. package/translations/de.json +55 -2
  419. package/translations/en.json +55 -2
  420. package/translations/es.json +53 -0
  421. package/translations/fr.json +58 -5
  422. package/translations/it.json +55 -2
  423. package/translations/nl.json +53 -0
  424. package/translations/pt.json +53 -0
  425. package/translations/sk.json +53 -0
  426. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -131
  427. 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
  428. 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
  429. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -46
  430. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +0 -27
  431. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +0 -1
  432. 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
  433. 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
  434. 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
  435. 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
  436. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -23
  437. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  438. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  439. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  440. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  441. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -9
  442. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -161
  443. 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
  444. 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
  445. 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
  446. 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
  447. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -38
  448. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
  449. /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 → generic-keywords/generic-keywords.component.css} +0 -0
  450. /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
  451. /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
@@ -25,6 +25,7 @@ export declare const saveRecordFailure: import("@ngrx/store").ActionCreator<"[Ed
25
25
  error: SaveRecordError;
26
26
  } & import("@ngrx/store/src/models").TypedAction<"[Editor] Save record failure">>;
27
27
  export declare const draftSaveSuccess: import("@ngrx/store").ActionCreator<"[Editor] Draft save success", () => import("@ngrx/store/src/models").TypedAction<"[Editor] Draft save success">>;
28
+ export declare const undoRecordDraft: import("@ngrx/store").ActionCreator<"[Editor] Undo record draft", () => import("@ngrx/store/src/models").TypedAction<"[Editor] Undo record draft">>;
28
29
  export declare const setCurrentPage: import("@ngrx/store").ActionCreator<"[Editor] Set current page", (props: {
29
30
  page: number;
30
31
  }) => {
@@ -1 +1 @@
1
- {"version":3,"file":"editor.actions.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,UAAU;YAGX,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;;YAFpB,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;yEAE/B,CAAA;AAED,eAAO,MAAM,iBAAiB;WAEb,MAAM;WAAS,OAAO;;WAAtB,MAAM;WAAS,OAAO;iFACtC,CAAA;AAED,eAAO,MAAM,mBAAmB,+JAE/B,CAAA;AAED,eAAO,MAAM,UAAU,yIAAuC,CAAA;AAC9D,eAAO,MAAM,iBAAiB,yJAA+C,CAAA;AAC7E,eAAO,MAAM,iBAAiB;WAEb,eAAe;;WAAf,eAAe;iFAC/B,CAAA;AAED,eAAO,MAAM,gBAAgB,uJAA8C,CAAA;AAE3E,eAAO,MAAM,cAAc;UAEX,MAAM;;UAAN,MAAM;8EACrB,CAAA"}
1
+ {"version":3,"file":"editor.actions.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.actions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,UAAU;YAGX,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;;YAFpB,aAAa;sBACH,OAAO;mBACV,MAAM,GAAG,IAAI;yEAE/B,CAAA;AAED,eAAO,MAAM,iBAAiB;WAEb,MAAM;WAAS,OAAO;;WAAtB,MAAM;WAAS,OAAO;iFACtC,CAAA;AAED,eAAO,MAAM,mBAAmB,+JAE/B,CAAA;AAED,eAAO,MAAM,UAAU,yIAAuC,CAAA;AAC9D,eAAO,MAAM,iBAAiB,yJAA+C,CAAA;AAC7E,eAAO,MAAM,iBAAiB;WAEb,eAAe;;WAAf,eAAe;iFAC/B,CAAA;AAED,eAAO,MAAM,gBAAgB,uJAA8C,CAAA;AAE3E,eAAO,MAAM,eAAe,qJAA6C,CAAA;AAEzE,eAAO,MAAM,cAAc;UAEX,MAAM;;UAAN,MAAM;8EACrB,CAAA"}
@@ -13,6 +13,11 @@ export declare class EditorEffects {
13
13
  } & import("@ngrx/store/src/models").TypedAction<"[Editor] Save record failure">)> & import("@ngrx/effects").CreateEffectMetadata;
14
14
  markAsChanged$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Mark record as changed">> & import("@ngrx/effects").CreateEffectMetadata;
15
15
  saveRecordDraft$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Draft save success">> & import("@ngrx/effects").CreateEffectMetadata;
16
+ undoRecordDraft$: import("rxjs").Observable<{
17
+ record: import("../../../../../common/domain/src/lib/model/record").CatalogRecord;
18
+ alreadySavedOnce: boolean;
19
+ recordSource?: string;
20
+ } & import("@ngrx/store/src/models").TypedAction<"[Editor] Open record">> & import("@ngrx/effects").CreateEffectMetadata;
16
21
  checkHasChangesOnOpen$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Editor] Mark record as changed">> & import("@ngrx/effects").CreateEffectMetadata;
17
22
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorEffects, never>;
18
23
  static ɵprov: i0.ɵɵInjectableDeclaration<EditorEffects>;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.effects.ts"],"names":[],"mappings":";AAcA,qBACa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,aAAa,CAAwB;IAC7C,OAAO,CAAC,iBAAiB,CAAqC;IAC9D,OAAO,CAAC,KAAK,CAAgB;IAE7B,WAAW;;;;;;sIAgCV;IAED,cAAc,4JAKb;IAED,gBAAgB,wJAQf;IAED,sBAAsB,4JASrB;yCAlEU,aAAa;6CAAb,aAAa;CAmEzB"}
1
+ {"version":3,"file":"editor.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.effects.ts"],"names":[],"mappings":";AAcA,qBACa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,aAAa,CAAwB;IAC7C,OAAO,CAAC,iBAAiB,CAAqC;IAC9D,OAAO,CAAC,KAAK,CAAgB;IAE7B,WAAW;;;;;;sIAgCV;IAED,cAAc,4JAKb;IAED,gBAAgB,wJAQf;IAED,gBAAgB;;;;6HAaf;IAED,sBAAsB,4JASrB;yCAjFU,aAAa;6CAAb,aAAa;CAkFzB"}
@@ -16,6 +16,7 @@ export declare class EditorFacade {
16
16
  editorConfig$: import("rxjs").Observable<import("geonetwork-ui").EditorConfig>;
17
17
  openRecord(record: CatalogRecord, recordSource: string, alreadySavedOnce: boolean): void;
18
18
  saveRecord(): void;
19
+ undoRecordDraft(): void;
19
20
  updateRecordField(field: string, value: unknown): void;
20
21
  setCurrentPage(page: number): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorFacade, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAIzF,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,2CAAwD;IAC/D,aAAa,oCAA8D;IAC3E,iBAAiB,qCAEhB;IACD,OAAO,qCAA8D;IACrE,UAAU,oCAGT;IACD,YAAY,0GAA8D;IAC1E,iBAAiB,qCAEhB;IACD,gBAAgB,+EAEf;IACD,iBAAiB,yGAA6D;IAC9E,YAAY,oCAA6D;IACzE,aAAa,kEAA8D;IAE3E,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,OAAO;IAO3B,UAAU;IAIV,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAI/C,cAAc,CAAC,IAAI,EAAE,MAAM;yCA3ChB,YAAY;6CAAZ,YAAY;CA8CxB"}
1
+ {"version":3,"file":"editor.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.facade.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAIzF,qBACa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IACtC,OAAO,CAAC,QAAQ,CAAkB;IAElC,OAAO,2CAAwD;IAC/D,aAAa,oCAA8D;IAC3E,iBAAiB,qCAEhB;IACD,OAAO,qCAA8D;IACrE,UAAU,oCAGT;IACD,YAAY,0GAA8D;IAC1E,iBAAiB,qCAEhB;IACD,gBAAgB,+EAEf;IACD,iBAAiB,yGAA6D;IAC9E,YAAY,oCAA6D;IACzE,aAAa,kEAA8D;IAE3E,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,OAAO;IAO3B,UAAU;IAIV,eAAe;IAIf,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAI/C,cAAc,CAAC,IAAI,EAAE,MAAM;yCA/ChB,YAAY;6CAAZ,YAAY;CAkDxB"}
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Individual } from '../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ContactCardComponent {
5
+ contact: Individual;
6
+ removable: boolean;
7
+ contactRemoved: EventEmitter<Individual>;
8
+ removeContact(contact: Individual): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactCardComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ContactCardComponent, "gn-ui-contact-card", never, { "contact": { "alias": "contact"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; }, { "contactRemoved": "contactRemoved"; }, never, never, true, never>;
11
+ }
12
+ //# sourceMappingURL=contact-card.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAA;;AAMzF,qBAQa,oBAAoB;IACtB,OAAO,EAAE,UAAU,CAAA;IACnB,SAAS,UAAO;IACf,cAAc,2BAAiC;IAEzD,aAAa,CAAC,OAAO,EAAE,UAAU;yCALtB,oBAAoB;2CAApB,oBAAoB;CAQhC"}
@@ -0,0 +1,32 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { PlatformServiceInterface } from '../../../../../../../libs/common/domain/src/lib/platform.service.interface';
3
+ import { Keyword } from '../../../../../../../libs/common/domain/src/lib/model/record';
4
+ import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus';
5
+ import * as i0 from "@angular/core";
6
+ type AutocompleteItem = {
7
+ title: string;
8
+ value: Keyword;
9
+ };
10
+ export declare class GenericKeywordsComponent {
11
+ private platformService;
12
+ keywords: Keyword[];
13
+ keywordTypes: KeywordType[];
14
+ placeholder: string;
15
+ changedKeywords: EventEmitter<Keyword[]>;
16
+ addedKeyword: EventEmitter<Keyword>;
17
+ deletedKeyword: EventEmitter<Keyword>;
18
+ displayWithFn: (item: AutocompleteItem) => string;
19
+ autoCompleteAction: (query: string) => import("rxjs").Observable<{
20
+ title: string;
21
+ value: Keyword;
22
+ }[]>;
23
+ constructor(platformService: PlatformServiceInterface);
24
+ handleItemSelection(item: AutocompleteItem): void;
25
+ addKeyword(keyword: Keyword): void;
26
+ removeKeyword(keyword: Keyword): void;
27
+ isPlaceWithoutExtent(keyword: Keyword): boolean;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenericKeywordsComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<GenericKeywordsComponent, "gn-ui-generic-keywords", never, { "keywords": { "alias": "keywords"; "required": false; }; "keywordTypes": { "alias": "keywordTypes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "changedKeywords": "changedKeywords"; "addedKeyword": "addedKeyword"; "deletedKeyword": "deletedKeyword"; }, never, never, true, never>;
30
+ }
31
+ export {};
32
+ //# sourceMappingURL=generic-keywords.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generic-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,4EAA4E,CAAA;AAQrH,OAAO,EAAE,OAAO,EAAE,MAAM,8DAA8D,CAAA;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,iEAAiE,CAAA;;AAI7F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAgBa,wBAAwB;IAsBvB,OAAO,CAAC,eAAe;IArB1B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,YAAY,EAAE,WAAW,EAAE,CAAA;IAC3B,WAAW,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAqB;IAC7D,YAAY,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IACxD,cAAc,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAEpE,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAQlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAW3B,aAAa,CAAC,OAAO,EAAE,OAAO;IAM9B,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO;yCA7CpC,wBAAwB;2CAAxB,wBAAwB;CAiDpC"}
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { DatasetDownloadDistribution, OnlineLinkResource, OnlineResource } from '../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import * as i0 from "@angular/core";
4
+ export declare class OnlineResourceCardComponent {
5
+ onlineResource: OnlineResource;
6
+ modifyClick: EventEmitter<OnlineResource>;
7
+ get title(): string;
8
+ get subtitle(): string;
9
+ get fileSize(): string;
10
+ get identifierInService(): string;
11
+ getFormat(onlineResource: OnlineLinkResource | DatasetDownloadDistribution): string;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<OnlineResourceCardComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<OnlineResourceCardComponent, "gn-ui-online-resource-card", never, { "onlineResource": { "alias": "onlineResource"; "required": false; }; }, { "modifyClick": "modifyClick"; }, never, never, true, never>;
14
+ }
15
+ //# sourceMappingURL=online-resource-card.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"online-resource-card.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AAEtB,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,cAAc,EACf,MAAM,8DAA8D,CAAA;;AAOrE,qBAca,2BAA2B;IAC7B,cAAc,EAAE,cAAc,CAAA;IAC7B,WAAW,+BAAqC;IAE1D,IAAI,KAAK,IAAI,MAAM,CAalB;IAED,IAAI,QAAQ,IAAI,MAAM,CAUrB;IAED,IAAI,QAAQ,IAAI,MAAM,CAIrB;IAED,IAAI,mBAAmB,IAAI,MAAM,CAGhC;IAED,SAAS,CAAC,cAAc,EAAE,kBAAkB,GAAG,2BAA2B;yCA1C/D,2BAA2B;2CAA3B,2BAA2B;CA6CvC"}
@@ -0,0 +1,41 @@
1
+ import { EventEmitter, OnChanges, OnInit } from '@angular/core';
2
+ import { Individual, Organization, Role } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { UserModel } from '../../../../../../../../../libs/common/domain/src/lib/model/user';
4
+ import { OrganizationsServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/organizations.service.interface';
5
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FormFieldContactsForResourceComponent implements OnChanges, OnInit {
8
+ private platformServiceInterface;
9
+ private organizationsServiceInterface;
10
+ value: Individual[];
11
+ valueChange: EventEmitter<Individual[]>;
12
+ contactsForRessourceByRole: Map<Role, Individual[]>;
13
+ rolesToPick: Role[];
14
+ roleSectionsToDisplay: Role[];
15
+ allOrganizations: Map<string, Organization>;
16
+ constructor(platformServiceInterface: PlatformServiceInterface, organizationsServiceInterface: OrganizationsServiceInterface);
17
+ ngOnChanges(): void;
18
+ ngOnInit(): Promise<void>;
19
+ addRoleToDisplay(roleToAdd: string): void;
20
+ filterRolesToPick(): void;
21
+ updateContactsForRessource(): void;
22
+ manageRoleSectionsToDisplay(contactsForResource: Individual[]): void;
23
+ removeContact(index: number): void;
24
+ handleContactsChanged(items: unknown[]): void;
25
+ protected roleToLabel(role: string): string;
26
+ /**
27
+ * gn-ui-autocomplete
28
+ */
29
+ displayWithFn: (user: UserModel) => string;
30
+ /**
31
+ * gn-ui-autocomplete
32
+ */
33
+ autoCompleteAction: (query: string) => import("rxjs").Observable<UserModel[]>;
34
+ /**
35
+ * gn-ui-autocomplete
36
+ */
37
+ addContact(contact: unknown, role: string): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldContactsForResourceComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldContactsForResourceComponent, "gn-ui-form-field-contacts-for-resource", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
40
+ }
41
+ //# sourceMappingURL=form-field-contacts-for-resource.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-contacts-for-resource.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAEZ,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,UAAU,EACV,YAAY,EACZ,IAAI,EAEL,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,kEAAkE,CAAA;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,uFAAuF,CAAA;AACrI,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;;AAmB3H,qBAiBa,qCACX,YAAW,SAAS,EAAE,MAAM;IAoB1B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,6BAA6B;IAnB9B,KAAK,EAAE,UAAU,EAAE,CAAA;IAClB,WAAW,EAAE,YAAY,CAAC,UAAU,EAAE,CAAC,CAAqB;IAEtE,0BAA0B,EAAE,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,CAAC,CAAY;IAE/D,WAAW,EAAE,IAAI,EAAE,CAMlB;IAED,qBAAqB,EAAE,IAAI,EAAE,CAAK;IAElC,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAAY;gBAG7C,wBAAwB,EAAE,wBAAwB,EAClD,6BAA6B,EAAE,6BAA6B;IAGtE,WAAW;IAML,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAW/B,gBAAgB,CAAC,SAAS,EAAE,MAAM;IAKlC,iBAAiB;IAMjB,0BAA0B;IAuB1B,2BAA2B,CAAC,mBAAmB,EAAE,UAAU,EAAE;IAY7D,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE;IAatC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI3C;;OAEG;IACH,aAAa,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,MAAM,CAGtC;IAEJ;;OAEG;IACH,kBAAkB,UAAW,MAAM,4CAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM;yCAxI9B,qCAAqC;2CAArC,qCAAqC;CA2JjD"}
@@ -1,25 +1,18 @@
1
- import { FormControl } from '@angular/forms';
2
- import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
1
+ import { EventEmitter } from '@angular/core';
3
2
  import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { KeywordType } from '../../../../../../../../../libs/common/domain/src/lib/model/thesaurus';
4
+ import { EditorFacade } from '../../../../+state/editor.facade';
4
5
  import * as i0 from "@angular/core";
5
- type AutocompleteItem = {
6
- title: string;
7
- value: Keyword;
8
- };
9
6
  export declare class FormFieldKeywordsComponent {
10
- private platformService;
11
- control: FormControl<Keyword[]>;
12
- displayWithFn: (item: AutocompleteItem) => string;
13
- autoCompleteAction: (query: string) => import("rxjs").Observable<{
14
- title: string;
15
- value: Keyword;
16
- }[]>;
17
- constructor(platformService: PlatformServiceInterface);
18
- handleItemSelection(item: AutocompleteItem): void;
19
- addKeyword(keyword: Keyword): void;
20
- removeKeyword(index: number): void;
7
+ private editorFacade;
8
+ value: Keyword[];
9
+ valueChange: EventEmitter<Keyword[]>;
10
+ keywordTypes: KeywordType[];
11
+ placeholder: string;
12
+ get filteredKeywords(): Keyword[];
13
+ constructor(editorFacade: EditorFacade);
14
+ handleKeywordsChange(keywords: Keyword[]): Promise<void>;
21
15
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
23
17
  }
24
- export {};
25
18
  //# sourceMappingURL=form-field-keywords.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAQ3H,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;;AAE5F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAca,0BAA0B;IAmBzB,OAAO,CAAC,eAAe;IAlB1B,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;IAExC,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAUlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAmB3B,aAAa,CAAC,KAAK,EAAE,MAAM;yCA5ChB,0BAA0B;2CAA1B,0BAA0B;CAiDtC"}
1
+ {"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AAOtB,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;AAG5F,OAAO,EAAE,WAAW,EAAE,MAAM,uEAAuE,CAAA;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;;AAK/D,qBAgBa,0BAA0B;IAmBzB,OAAO,CAAC,YAAY;IAlBvB,KAAK,EAAE,OAAO,EAAE,CAAA;IACf,WAAW,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAqB;IAEnE,YAAY,gBAAkD;IAC9D,WAAW,SAAqC;IAEhD,IAAI,gBAAgB,IAAI,OAAO,EAAE,CAUhC;gBAEmB,YAAY,EAAE,YAAY;IAExC,oBAAoB,CAAC,QAAQ,EAAE,OAAO,EAAE;yCArBnC,0BAA0B;2CAA1B,0BAA0B;CAuCtC"}
@@ -1,9 +1,11 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { Constraint } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class FormFieldLicenseComponent {
4
- control: FormControl;
5
5
  label: string;
6
- get selected(): any;
6
+ value: Array<Constraint>;
7
+ valueChange: EventEmitter<Array<Constraint>>;
8
+ get selected(): string;
7
9
  onSelectValue(value: unknown): void;
8
10
  choices: ({
9
11
  value: string;
@@ -34,6 +36,6 @@ export declare class FormFieldLicenseComponent {
34
36
  label: "editor.record.form.license.unknown";
35
37
  })[];
36
38
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldLicenseComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldLicenseComponent, "gn-ui-form-field-license", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldLicenseComponent, "gn-ui-form-field-license", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
38
40
  }
39
41
  //# sourceMappingURL=form-field-license.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-license.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAI5C,qBAQa,yBAAyB;IAC3B,OAAO,EAAG,WAAW,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IAEtB,IAAI,QAAQ,QAEX;IAED,aAAa,CAAC,KAAK,EAAE,OAAO;IAI5B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;SAqCN;yCAjDU,yBAAyB;2CAAzB,yBAAyB;CAkDrC"}
1
+ {"version":3,"file":"form-field-license.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,UAAU,EAAE,MAAM,oEAAoE,CAAA;;AAG/F,qBAQa,yBAAyB;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAA;IAEvB,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAqB;IAE3E,IAAI,QAAQ,WAEX;IAED,aAAa,CAAC,KAAK,EAAE,OAAO;IAI5B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;SAqCN;yCAnDU,yBAAyB;2CAAzB,yBAAyB;CAoDrC"}
@@ -0,0 +1,22 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { MapContextModel, MapFacade, MapStyleService, MapUtilsService } from '../../../../../../../../../libs/feature/map/src';
4
+ import { MapConfig } from '../../../../../../../../../libs/util/app-config/src';
5
+ import { Geometry } from 'geojson';
6
+ import { DatasetSpatialExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
7
+ import * as i0 from "@angular/core";
8
+ export declare class FormFieldMapContainerComponent implements OnChanges {
9
+ private mapFacade;
10
+ private mapUtils;
11
+ private styleService;
12
+ spatialExtents: DatasetSpatialExtent[];
13
+ error: string;
14
+ mapContext$: Observable<MapContextModel>;
15
+ mapConfig: MapConfig;
16
+ constructor(mapFacade: MapFacade, mapUtils: MapUtilsService, styleService: MapStyleService);
17
+ ngOnChanges(): void;
18
+ bboxCoordsToGeometry(bbox: [number, number, number, number]): Geometry;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldMapContainerComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldMapContainerComponent, "gn-ui-form-field-map-container", never, { "spatialExtents": { "alias": "spatialExtents"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
22
+ //# sourceMappingURL=form-field-map-container.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-map-container.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAyB,UAAU,EAAiB,MAAM,MAAM,CAAA;AACvE,OAAO,EAIL,eAAe,EACf,SAAS,EACT,eAAe,EACf,eAAe,EAChB,MAAM,iDAAiD,CAAA;AAExD,OAAO,EAAwB,SAAS,EAAE,MAAM,qDAAqD,CAAA;AACrG,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oEAAoE,CAAA;;AAIzG,qBAQa,8BAA+B,YAAW,SAAS;IA0B5D,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,YAAY;IA3Bb,cAAc,EAAE,oBAAoB,EAAE,CAAA;IAE/C,KAAK,SAAK;IACV,WAAW,EAAE,UAAU,CAAC,eAAe,CAAC,CAiBvC;IAED,SAAS,EAAE,SAAS,CAAyB;gBAGnC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,eAAe,EACzB,YAAY,EAAE,eAAe;IAqBvC,WAAW,IAAI,IAAI;IA+BnB,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;yCAhF3D,8BAA8B;2CAA9B,8BAA8B;CA8F1C"}
@@ -0,0 +1,35 @@
1
+ import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
2
+ import { OnlineLinkResource, OnlineResource } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
4
+ import { TranslateService } from '@ngx-translate/core';
5
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
6
+ import { Subscription } from 'rxjs';
7
+ import { MatDialog } from '@angular/material/dialog';
8
+ import * as i0 from "@angular/core";
9
+ export declare class FormFieldOnlineLinkResourcesComponent {
10
+ private notificationsService;
11
+ private translateService;
12
+ private platformService;
13
+ private cd;
14
+ private dialog;
15
+ metadataUuid: string;
16
+ set value(onlineResources: Array<OnlineResource>);
17
+ valueChange: EventEmitter<Array<OnlineResource>>;
18
+ dialogTemplate: TemplateRef<OnlineResource>;
19
+ private allResources;
20
+ linkResources: OnlineLinkResource[];
21
+ uploadProgress: any;
22
+ uploadSubscription: Subscription;
23
+ protected MAX_UPLOAD_SIZE_MB: number;
24
+ constructor(notificationsService: NotificationsService, translateService: TranslateService, platformService: PlatformServiceInterface, cd: ChangeDetectorRef, dialog: MatDialog);
25
+ handleFileChange(file: File): void;
26
+ handleUploadCancel(): void;
27
+ handleUrlChange(url: string): void;
28
+ handleResourcesChange(items: unknown[]): void;
29
+ handleResourceModify(resource: OnlineLinkResource, index: number): void;
30
+ private handleError;
31
+ private openEditDialog;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOnlineLinkResourcesComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOnlineLinkResourcesComponent, "gn-ui-form-field-online-link-resources", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
34
+ }
35
+ //# sourceMappingURL=form-field-online-link-resources.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-online-link-resources.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGZ,WAAW,EAEZ,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,oEAAoE,CAAA;AAY3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2DAA2D,CAAA;AAChG,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AACnC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;;AAGpD,qBAgBa,qCAAqC;IAqB9C,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,MAAM;IAxBP,YAAY,EAAE,MAAM,CAAA;IAC7B,IAAa,KAAK,CAAC,eAAe,EAAE,KAAK,CAAC,cAAc,CAAC,EAKxD;IACS,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CACtC;IAES,cAAc,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IAExE,OAAO,CAAC,YAAY,CAAuB;IAC3C,aAAa,EAAE,kBAAkB,EAAE,CAAK;IACxC,cAAc,MAAY;IAC1B,kBAAkB,EAAE,YAAY,CAAO;IAEvC,SAAS,CAAC,kBAAkB,SAAqB;gBAGvC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EACzC,EAAE,EAAE,iBAAiB,EACrB,MAAM,EAAE,SAAS;IAG3B,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAwB3B,kBAAkB;IAOlB,eAAe,CAAC,GAAG,EAAE,MAAM;IAc3B,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE;IAStC,oBAAoB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM;IAIhE,OAAO,CAAC,WAAW;IAgBnB,OAAO,CAAC,cAAc;yCAtGX,qCAAqC;2CAArC,qCAAqC;CAqIjD"}
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
+ import { Constraint } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormFieldOpenDataComponent implements OnChanges {
5
+ value: Array<Constraint>;
6
+ valueChange: EventEmitter<Constraint[]>;
7
+ openDataChange: EventEmitter<boolean>;
8
+ openData: boolean;
9
+ get config(): string[];
10
+ ngOnChanges(): void;
11
+ onOpenDataToggled(openData: boolean): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOpenDataComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOpenDataComponent, "gn-ui-form-field-open-data", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "openDataChange": "openDataChange"; }, never, never, true, never>;
14
+ }
15
+ //# sourceMappingURL=form-field-open-data.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-open-data.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,SAAS,EAEV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,UAAU,EAAE,MAAM,oEAAoE,CAAA;;AAK/F,qBAQa,0BAA2B,YAAW,SAAS;IACjD,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAA;IACvB,WAAW,6BAAwC;IACnD,cAAc,wBAA8B;IAEtD,QAAQ,UAAQ;IAEhB,IAAI,MAAM,aAET;IAED,WAAW;IASX,iBAAiB,CAAC,QAAQ,EAAE,OAAO;yCApBxB,0BAA0B;2CAA1B,0BAA0B;CA0BtC"}
@@ -1,11 +1,31 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { GraphicOverview } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
4
+ import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { Subscription } from 'rxjs';
3
7
  import * as i0 from "@angular/core";
4
8
  export declare class FormFieldOverviewsComponent {
9
+ private platformService;
10
+ private notificationsService;
11
+ private translateService;
12
+ private cd;
5
13
  metadataUuid: string;
6
- control: FormControl;
7
- handleOverviewChange(overView: GraphicOverview | null): void;
14
+ value: Array<GraphicOverview>;
15
+ valueChange: EventEmitter<Array<GraphicOverview>>;
16
+ uploadProgress: any;
17
+ uploadSubscription: Subscription;
18
+ protected MAX_UPLOAD_SIZE_MB: number;
19
+ get firstOverview(): GraphicOverview;
20
+ constructor(platformService: PlatformServiceInterface, notificationsService: NotificationsService, translateService: TranslateService, cd: ChangeDetectorRef);
21
+ handleFileChange(file: File): void;
22
+ handleUploadCancel(): void;
23
+ handleUrlChange(url: string): void;
24
+ handleAltTextChange(newAltText: string): void;
25
+ handleDelete(): void;
26
+ emitOverview(overView: GraphicOverview | null): void;
27
+ private errorHandle;
8
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOverviewsComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOverviewsComponent, "gn-ui-form-field-overviews", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldOverviewsComponent, "gn-ui-form-field-overviews", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
10
30
  }
11
31
  //# sourceMappingURL=form-field-overviews.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-overviews.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;;AAEpG,qBAQa,2BAA2B;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,EAAG,WAAW,CAAA;IAE9B,oBAAoB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;yCAJ1C,2BAA2B;2CAA3B,2BAA2B;CAOvC"}
1
+ {"version":3,"file":"form-field-overviews.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;AAEpG,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAE,oBAAoB,EAAE,MAAM,2DAA2D,CAAA;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAGnC,qBAQa,2BAA2B;IAqBpC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,EAAE;IAvBH,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAA;IAC5B,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CACvC;IAEpB,cAAc,MAAY;IAC1B,kBAAkB,EAAE,YAAY,CAAO;IAEvC,SAAS,CAAC,kBAAkB,SAAqB;IAEjD,IAAI,aAAa,oBAOhB;gBAGS,eAAe,EAAE,wBAAwB,EACzC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,EAClC,EAAE,EAAE,iBAAiB;IAG/B,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAsB3B,kBAAkB;IAOlB,eAAe,CAAC,GAAG,EAAE,MAAM;IAY3B,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAOtC,YAAY;IAIZ,YAAY,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;IAI7C,OAAO,CAAC,WAAW,CAYlB;yCA/FU,2BAA2B;2CAA3B,2BAA2B;CAgGvC"}
@@ -1,8 +1,9 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FormFieldResourceUpdatedComponent {
4
- control: FormControl;
4
+ value: Date;
5
+ valueChange: EventEmitter<Date>;
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldResourceUpdatedComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldResourceUpdatedComponent, "gn-ui-form-field-resource-updated", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldResourceUpdatedComponent, "gn-ui-form-field-resource-updated", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
7
8
  }
8
9
  //# sourceMappingURL=form-field-resource-updated.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-resource-updated.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAG5C,qBAQa,iCAAiC;IACnC,OAAO,EAAG,WAAW,CAAA;yCADnB,iCAAiC;2CAAjC,iCAAiC;CAE7C"}
1
+ {"version":3,"file":"form-field-resource-updated.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAGtB,qBAQa,iCAAiC;IACnC,KAAK,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;yCAFnD,iCAAiC;2CAAjC,iCAAiC;CAG7C"}
@@ -1,16 +1,16 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FormFieldRichComponent {
4
- control: FormControl;
5
4
  label: string;
6
5
  hint: string;
7
6
  helperText: string;
8
7
  placeholder: string;
8
+ value: string;
9
+ valueChange: EventEmitter<string>;
9
10
  preview: boolean;
10
11
  getButtonExtraClass(): string;
11
12
  togglePreview(): void;
12
- handleTextContentChanged(textContent: string): void;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldRichComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldRichComponent, "gn-ui-form-field-rich", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldRichComponent, "gn-ui-form-field-rich", never, { "label": { "alias": "label"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
15
15
  }
16
16
  //# sourceMappingURL=form-field-rich.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-rich.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;;AAKjE,qBAca,sBAAsB;IACxB,OAAO,EAAG,WAAW,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,SAAoB;IAExC,OAAO,UAAQ;IAEf,mBAAmB;IAMnB,aAAa;IAIb,wBAAwB,CAAC,WAAW,EAAE,MAAM;yCAnBjC,sBAAsB;2CAAtB,sBAAsB;CAsBlC"}
1
+ {"version":3,"file":"form-field-rich.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,YAAY,EAIb,MAAM,eAAe,CAAA;;AAMtB,qBAca,sBAAsB;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,SAAoB;IAC/B,KAAK,EAAE,MAAM,CAAA;IAEZ,WAAW,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAEhE,OAAO,UAAQ;IAEf,mBAAmB;IAMnB,aAAa;yCAjBF,sBAAsB;2CAAtB,sBAAsB;CAoBlC"}
@@ -1,8 +1,7 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FormFieldSimpleComponent {
4
4
  type: 'date' | 'url' | 'text' | 'number' | 'list' | 'toggle';
5
- control: FormControl;
6
5
  readonly: boolean;
7
6
  invalid: boolean;
8
7
  placeholder: string;
@@ -10,9 +9,11 @@ export declare class FormFieldSimpleComponent {
10
9
  label: string;
11
10
  value: unknown;
12
11
  }[];
12
+ value: unknown;
13
+ valueChange: EventEmitter<unknown>;
13
14
  get inputType(): "" | "text" | "checkbox" | "number" | "datetime-local";
14
15
  get isSelect(): boolean;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSimpleComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSimpleComponent, "gn-ui-form-field-simple", never, { "type": { "alias": "type"; "required": false; }; "control": { "alias": "control"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSimpleComponent, "gn-ui-form-field-simple", never, { "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
17
18
  }
18
19
  //# sourceMappingURL=form-field-simple.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-simple.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;;AAEjE,qBAQa,wBAAwB;IAC1B,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC5D,OAAO,EAAG,WAAW,CAAA;IACrB,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;IAChB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAEtD,IAAI,SAAS,2DAcZ;IAED,IAAI,QAAQ,YAEX;yCA1BU,wBAAwB;2CAAxB,wBAAwB;CA2BpC"}
1
+ {"version":3,"file":"form-field-simple.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAEtB,qBAQa,wBAAwB;IAC1B,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC5D,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;IAChB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC7C,KAAK,EAAE,OAAO,CAAA;IAEb,WAAW,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAEjE,IAAI,SAAS,2DAcZ;IAED,IAAI,QAAQ,YAEX;yCA5BU,wBAAwB;2CAAxB,wBAAwB;CA6BpC"}
@@ -1,6 +1,34 @@
1
+ import { DatasetSpatialExtent, Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
2
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
3
+ import { Observable } from 'rxjs';
4
+ import { EditorFacade } from '../../../../+state/editor.facade';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { SwitchToggleOption } from '../../../../../../../../../libs/ui/inputs/src';
1
7
  import * as i0 from "@angular/core";
8
+ type KeywordWithExtent = Keyword & {
9
+ _linkedExtent: DatasetSpatialExtent;
10
+ _doNotSave: boolean;
11
+ };
12
+ /**
13
+ * This form field is not like the others, as it will read directly from the state to handle both spatial extents
14
+ * and place keywords.
15
+ * Other types of keywords will not be touched by this field.
16
+ */
2
17
  export declare class FormFieldSpatialExtentComponent {
18
+ private platformService;
19
+ private editorFacade;
20
+ private translateService;
21
+ spatialExtents$: Observable<DatasetSpatialExtent[]>;
22
+ allKeywords$: Observable<Keyword[]>;
23
+ switchToggleOptions$: Observable<SwitchToggleOption[]>;
24
+ shownKeywords$: Observable<Keyword[]>;
25
+ constructor(platformService: PlatformServiceInterface, editorFacade: EditorFacade, translateService: TranslateService);
26
+ handleKeywordDelete(keyword: Keyword): Promise<void>;
27
+ handleKeywordAdd(keyword: Keyword): Promise<void>;
28
+ emitChanges(placeKeywords: KeywordWithExtent[], spatialExtents: DatasetSpatialExtent[]): Promise<void>;
29
+ onSpatialScopeChange(selectedOption: SwitchToggleOption): Promise<void>;
3
30
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSpatialExtentComponent, never>;
4
31
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSpatialExtentComponent, "gn-ui-form-field-spatial-extent", never, {}, {}, never, never, true, never>;
5
32
  }
33
+ export {};
6
34
  //# sourceMappingURL=form-field-spatial-extent.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":";AAEA,qBAOa,+BAA+B;yCAA/B,+BAA+B;2CAA/B,+BAA+B;CAAG"}
1
+ {"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,OAAO,EACR,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAuB,UAAU,EAAe,MAAM,MAAM,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAEL,kBAAkB,EACnB,MAAM,+CAA+C,CAAA;;AAKtD,KAAK,iBAAiB,GAAG,OAAO,GAAG;IACjC,aAAa,EAAE,oBAAoB,CAAA;IACnC,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;;;GAIG;AAEH,qBAaa,+BAA+B;IAiFxC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IAlF1B,eAAe,qCAEd;IAED,YAAY,wBAEX;IAED,oBAAoB,EAAE,UAAU,CAAC,kBAAkB,EAAE,CAAC,CAanD;IAEH,cAAc,wBAsDb;gBAGS,eAAe,EAAE,wBAAwB,EACzC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB;IAGtC,mBAAmB,CAAC,OAAO,EAAE,OAAO;IAcpC,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAiBjC,WAAW,CACf,aAAa,EAAE,iBAAiB,EAAE,EAClC,cAAc,EAAE,oBAAoB,EAAE;IAqClC,oBAAoB,CAAC,cAAc,EAAE,kBAAkB;yCA5JlD,+BAA+B;2CAA/B,+BAA+B;CA+K3C"}
@@ -1,17 +1,12 @@
1
- import { OnDestroy, OnInit, Type } from '@angular/core';
2
- import { FormArray, FormControl } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { DatasetTemporalExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
4
3
  import { TranslateService } from '@ngx-translate/core';
5
4
  import * as i0 from "@angular/core";
6
- export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDestroy {
5
+ export declare class FormFieldTemporalExtentsComponent {
7
6
  private translateService;
8
- control: FormControl;
9
- subscription: Subscription;
10
- array: FormArray;
11
- elements: Array<{
12
- component: Type<any>;
13
- inputs: Record<string, any>;
14
- }>;
7
+ extents: DatasetTemporalExtent[];
8
+ set value(v: Array<DatasetTemporalExtent>);
9
+ valueChange: EventEmitter<DatasetTemporalExtent[]>;
15
10
  addOptions$: import("rxjs").Observable<[{
16
11
  buttonLabel: any;
17
12
  eventName: string;
@@ -20,14 +15,11 @@ export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDest
20
15
  eventName: string;
21
16
  }]>;
22
17
  constructor(translateService: TranslateService);
23
- ngOnInit(): void;
24
- onElementsChange(elements: {
25
- inputs: Record<string, unknown>;
26
- }[]): void;
18
+ onItemsOrderChange(extents: unknown[]): void;
27
19
  onAdd(eventName: string): void;
28
- ngOnDestroy(): void;
29
- private resetValueFromInput;
20
+ onExtentChange(extent: Partial<DatasetTemporalExtent>, index: number): void;
21
+ emitValue(): void;
30
22
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTemporalExtentsComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsComponent, "gn-ui-form-field-temporal-extents", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsComponent, "gn-ui-form-field-temporal-extents", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
32
24
  }
33
25
  //# sourceMappingURL=form-field-temporal-extents.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAA;AAGvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGtD,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAoB7D,OAAO,CAAC,gBAAgB;IAnB3B,OAAO,EAAG,WAAW,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,KAAK,CAAC;QACd,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAC,CAAA;IAEF,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAkBR,gBAAgB,CAAC,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,EAAE;IAShE,KAAK,CAAC,SAAS,EAAE,MAAM;IAkBvB,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,mBAAmB;yCAvEhB,iCAAiC;2CAAjC,iCAAiC;CA0G7C"}
1
+ {"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAA;AAO1G,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGvE,qBAea,iCAAiC;IAgBhC,OAAO,CAAC,gBAAgB;IAfpC,OAAO,EAAE,qBAAqB,EAAE,CAAK;IACrC,IAAa,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,EAEjD;IACS,WAAW,wCAAmD;IAExE,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE;IAKrC,KAAK,CAAC,SAAS,EAAE,MAAM;IAmBvB,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAE,MAAM;IAMpE,SAAS;yCAhDE,iCAAiC;2CAAjC,iCAAiC;CAmD7C"}