geonetwork-ui 2.4.0-dev.4e89bcad → 2.4.0-dev.503109c9

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 (479) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  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/gn4/types/metadata.model.mjs +1 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +7 -5
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +30 -2
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +23 -1
  8. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +10 -3
  9. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +31 -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 +19 -5
  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/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  17. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  18. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  19. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  20. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
  21. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +3 -1
  22. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +8 -3
  23. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +10 -2
  24. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  25. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
  26. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
  27. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
  28. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +78 -0
  29. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +96 -0
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +164 -0
  31. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +19 -39
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +10 -8
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +101 -0
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +28 -0
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +10 -6
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +11 -11
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +9 -8
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +111 -5
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +49 -52
  41. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +16 -14
  42. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +37 -43
  43. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +1 -2
  44. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +13 -7
  45. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
  46. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  47. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
  48. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +175 -59
  49. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  50. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  51. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +8 -3
  52. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
  53. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -5
  54. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
  55. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
  56. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
  57. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
  58. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
  59. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
  60. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  61. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -5
  62. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
  63. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
  64. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
  65. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +6 -3
  66. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  67. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +48 -8
  68. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
  69. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
  70. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  71. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  72. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  73. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  74. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
  75. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  76. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -5
  77. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +5 -11
  78. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +3 -3
  79. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
  80. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +6 -10
  81. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +15 -6
  82. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  83. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  84. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
  85. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +26 -24
  86. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +17 -14
  87. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
  88. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +6 -21
  89. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
  90. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
  91. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
  92. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
  93. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  94. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  95. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
  96. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  97. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
  98. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +31 -11
  99. package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
  100. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  101. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  102. package/esm2022/translations/de.json +125 -43
  103. package/esm2022/translations/en.json +98 -19
  104. package/esm2022/translations/es.json +95 -13
  105. package/esm2022/translations/fr.json +108 -29
  106. package/esm2022/translations/it.json +98 -16
  107. package/esm2022/translations/nl.json +95 -13
  108. package/esm2022/translations/pt.json +95 -13
  109. package/fesm2022/geonetwork-ui.mjs +5265 -3470
  110. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  111. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  112. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  113. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  114. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  115. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  116. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  117. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +8 -1
  118. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  119. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  120. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  121. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -1
  122. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  123. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +1 -0
  124. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  125. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +7 -1
  126. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  127. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  128. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +3 -1
  129. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  130. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
  131. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  132. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -1
  133. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  134. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  135. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  136. package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -1
  137. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  138. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +17 -0
  139. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  140. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  141. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  142. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  143. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  144. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  145. package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
  146. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +6 -0
  147. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  148. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  149. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  150. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -4
  151. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  152. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  153. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  154. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
  155. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  156. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
  157. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  158. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
  159. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  160. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +32 -0
  161. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  162. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +27 -0
  163. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +1 -0
  164. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +44 -0
  165. 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
  166. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +8 -19
  167. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  168. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
  169. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  170. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +22 -0
  171. 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
  172. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +15 -0
  173. 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
  174. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +13 -0
  175. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  176. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +4 -3
  177. 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
  178. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -4
  179. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  180. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +4 -3
  181. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  182. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +23 -0
  183. 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
  184. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +15 -15
  185. 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
  186. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +5 -5
  187. 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
  188. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +16 -20
  189. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  190. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +0 -1
  191. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  192. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +6 -7
  193. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  194. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  195. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  196. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  197. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  198. package/libs/feature/editor/src/lib/fields.config.d.ts +46 -2
  199. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  200. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +36 -0
  201. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  202. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  203. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  204. package/libs/feature/editor/src/lib/services/editor.service.d.ts +3 -2
  205. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  206. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  207. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  208. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +1 -1
  209. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  210. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  211. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  212. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +1 -1
  213. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  214. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
  215. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  216. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
  217. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  218. package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -21
  219. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  220. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
  221. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  222. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  223. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  224. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  225. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  226. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  227. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  228. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  229. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  230. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  231. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  232. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +15 -4
  233. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  234. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  235. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  236. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  237. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  238. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  239. package/libs/ui/elements/src/index.d.ts +1 -0
  240. package/libs/ui/elements/src/index.d.ts.map +1 -1
  241. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  242. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  243. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  244. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
  245. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  246. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  247. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +5 -10
  248. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
  249. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +8 -5
  250. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  251. package/libs/ui/inputs/src/index.d.ts +1 -0
  252. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  253. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  254. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  255. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  256. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  257. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +3 -4
  258. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  259. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +17 -0
  260. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  261. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  262. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  263. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  264. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  265. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
  266. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  267. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +18 -0
  268. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  269. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  270. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  271. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
  272. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  273. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  274. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  275. package/libs/ui/widgets/src/index.d.ts +1 -0
  276. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  277. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  278. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  279. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  280. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  281. package/package.json +1 -1
  282. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +6 -1
  283. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +5 -1
  284. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +37 -12
  285. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +5 -1
  286. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  287. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  288. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  289. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +6 -2
  290. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +72 -2
  291. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  292. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +70 -1
  293. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -5
  294. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +42 -2
  295. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
  296. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +69 -27
  297. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
  298. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
  299. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  300. package/src/libs/common/domain/src/lib/platform.service.interface.ts +9 -1
  301. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -0
  302. package/src/libs/common/fixtures/src/index.ts +3 -1
  303. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  304. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  305. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  306. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  307. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  308. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  309. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  310. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  311. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  312. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  313. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  314. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  315. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +84 -56
  316. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  317. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  318. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  319. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +6 -6
  320. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  321. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  322. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  323. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +32 -15
  324. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  325. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  326. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  327. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  328. package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
  329. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  330. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  331. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -0
  332. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +17 -2
  333. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  334. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  335. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
  336. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
  337. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
  338. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +27 -0
  339. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
  340. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +0 -0
  341. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  342. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +89 -0
  343. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +2 -1
  344. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +74 -31
  345. 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
  346. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +76 -0
  347. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +249 -0
  348. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -17
  349. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +18 -49
  350. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
  351. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
  352. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
  353. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
  354. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  355. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  356. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +48 -0
  357. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  358. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
  359. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +33 -0
  360. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +2 -2
  361. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +9 -3
  362. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +2 -2
  363. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +13 -7
  364. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
  365. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
  366. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +15 -1
  367. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +156 -1
  368. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +9 -2
  369. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +59 -70
  370. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +17 -15
  371. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +105 -70
  372. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +44 -43
  373. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +0 -1
  374. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +52 -11
  375. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +19 -7
  376. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  377. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  378. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  379. package/src/libs/feature/editor/src/lib/fields.config.ts +211 -60
  380. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +53 -0
  381. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  382. package/src/libs/feature/editor/src/lib/services/editor.service.ts +15 -4
  383. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  384. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
  385. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
  386. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  387. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
  388. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  389. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
  390. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  391. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
  392. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
  393. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
  394. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
  395. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  396. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -4
  397. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  398. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  399. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  400. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  401. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +6 -2
  402. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  403. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +4 -1
  404. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +66 -3
  405. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  406. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
  407. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
  408. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  409. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  410. package/src/libs/ui/elements/src/index.ts +1 -0
  411. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  412. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  413. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  414. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  415. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
  416. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
  417. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  418. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  419. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
  420. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  421. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  422. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -10
  423. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +7 -7
  424. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +10 -3
  425. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  426. package/src/libs/ui/inputs/src/index.ts +1 -0
  427. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
  428. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +40 -26
  429. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +0 -0
  430. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +85 -0
  431. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +91 -0
  432. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +49 -49
  433. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +15 -13
  434. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +31 -0
  435. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
  436. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +38 -0
  437. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
  438. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +2 -27
  439. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  440. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  441. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  442. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  443. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
  444. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
  445. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
  446. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
  447. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -0
  448. package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
  449. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  450. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  451. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
  452. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
  453. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +24 -3
  454. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +27 -16
  455. package/src/libs/ui/widgets/src/index.ts +1 -0
  456. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  457. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  458. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  459. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  460. package/tailwind.base.css +18 -5
  461. package/translations/de.json +125 -43
  462. package/translations/en.json +98 -19
  463. package/translations/es.json +95 -13
  464. package/translations/fr.json +108 -29
  465. package/translations/it.json +98 -16
  466. package/translations/nl.json +95 -13
  467. package/translations/pt.json +95 -13
  468. package/translations/sk.json +96 -14
  469. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  470. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  471. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  472. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  473. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  474. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  475. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  476. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  477. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  478. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  479. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
@@ -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,27 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { GraphicOverview } from '../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { RecordsApiService } from '../../../../../../../libs/data-access/gn4/src';
4
+ import { NotificationsService } from '../../../../../../../libs/feature/notifications/src';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import * as i0 from "@angular/core";
7
+ export declare class OverviewUploadComponent {
8
+ private recordsApiService;
9
+ private notificationsService;
10
+ private translateService;
11
+ metadataUuid: string;
12
+ _overview: GraphicOverview | null;
13
+ set overview(value: GraphicOverview | null);
14
+ overviewChange: EventEmitter<GraphicOverview>;
15
+ resourceUrl: string;
16
+ resourceFileName: string;
17
+ altText: string;
18
+ constructor(recordsApiService: RecordsApiService, notificationsService: NotificationsService, translateService: TranslateService);
19
+ handleFileChange(file: File): void;
20
+ handleUrlChange(url: string): void;
21
+ handleAltTextChange(newAltText: string): void;
22
+ handleDelete(): void;
23
+ private errorHandle;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<OverviewUploadComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<OverviewUploadComponent, "gn-ui-overview-upload", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "overview": { "alias": "overview"; "required": false; }; }, { "overviewChange": "overviewChange"; }, never, never, true, never>;
26
+ }
27
+ //# sourceMappingURL=overview-upload.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overview-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAA;AAE1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAQa,uBAAuB;IAkChC,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IAnCjB,YAAY,EAAE,MAAM,CAAA;IAC7B,SAAS,EAAE,eAAe,GAAG,IAAI,CAAA;IACjC,IACI,QAAQ,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,EAqBzC;IAES,cAAc,gCAA6C;IAErE,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;gBAGL,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB;IAG5C,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAc3B,eAAe,CAAC,GAAG,EAAE,MAAM;IAc3B,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAOtC,YAAY;IAIZ,OAAO,CAAC,WAAW,CAWlB;yCAzFU,uBAAuB;2CAAvB,uBAAuB;CA0FnC"}
@@ -0,0 +1,44 @@
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 { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
7
+ import { Observable } from 'rxjs';
8
+ import * as i0 from "@angular/core";
9
+ export declare class FormFieldContactsForResourceComponent implements OnChanges, OnInit {
10
+ private platformServiceInterface;
11
+ private organizationsServiceInterface;
12
+ value: Individual[];
13
+ valueChange: EventEmitter<Individual[]>;
14
+ contactsForRessourceByRole: Map<Role, Individual[]>;
15
+ contactsAsDynElemByRole: Map<Role, DynamicElement[]>;
16
+ rolesToPick: Role[];
17
+ roleSectionsToDisplay: Role[];
18
+ allOrganizations: Map<string, Organization>;
19
+ constructor(platformServiceInterface: PlatformServiceInterface, organizationsServiceInterface: OrganizationsServiceInterface);
20
+ ngOnChanges(): void;
21
+ ngOnInit(): Promise<void>;
22
+ addRoleToDisplay(roleToAdd: string): void;
23
+ filterRolesToPick(): void;
24
+ updateContactsForRessource(): void;
25
+ manageRoleSectionsToDisplay(contactsForResource: Individual[]): void;
26
+ removeContact(index: number): void;
27
+ handleContactsChanged(event: DynamicElement[]): void;
28
+ protected roleToLabel(role: string): string;
29
+ /**
30
+ * gn-ui-autocomplete
31
+ */
32
+ displayWithFn: (user: UserModel) => string;
33
+ /**
34
+ * gn-ui-autocomplete
35
+ */
36
+ autoCompleteAction: (query: string) => Observable<UserModel[]>;
37
+ /**
38
+ * gn-ui-autocomplete
39
+ */
40
+ addContact(contact: unknown, role: string): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldContactsForResourceComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldContactsForResourceComponent, "gn-ui-form-field-contacts-for-resource", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
43
+ }
44
+ //# 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,EAIL,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;AAC3H,OAAO,EACL,cAAc,EAEf,MAAM,iDAAiD,CAAA;AASxD,OAAO,EAIL,UAAU,EAEX,MAAM,MAAM,CAAA;;AAIb,qBAiBa,qCACX,YAAW,SAAS,EAAE,MAAM;IAsB1B,OAAO,CAAC,wBAAwB;IAChC,OAAO,CAAC,6BAA6B;IArB9B,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,uBAAuB,EAAE,GAAG,CAAC,IAAI,EAAE,cAAc,EAAE,CAAC,CAAY;IAEhE,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;IAoD1B,2BAA2B,CAAC,mBAAmB,EAAE,UAAU,EAAE;IAY7D,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,qBAAqB,CAAC,KAAK,EAAE,cAAc,EAAE;IAgB7C,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,6BAUlC;IAED;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM;yCA1K9B,qCAAqC;2CAArC,qCAAqC;CA6LjD"}
@@ -1,25 +1,14 @@
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
4
  import * as i0 from "@angular/core";
5
- type AutocompleteItem = {
6
- title: string;
7
- value: Keyword;
8
- };
9
5
  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;
6
+ value: Keyword[];
7
+ valueChange: EventEmitter<Keyword[]>;
8
+ keywordTypes: KeywordType[];
9
+ placeholder: string;
10
+ handleKeywordsChange(keywords: Keyword[]): void;
21
11
  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>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
23
13
  }
24
- export {};
25
14
  //# 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;IAiBzB,OAAO,CAAC,eAAe;IAhB1B,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;IAExC,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;IAmB3B,aAAa,CAAC,KAAK,EAAE,MAAM;yCA1ChB,0BAA0B;2CAA1B,0BAA0B;CA+CtC"}
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;;AAEnG,qBAgBa,0BAA0B;IAC5B,KAAK,EAAE,OAAO,EAAE,CAAA;IACf,WAAW,EAAE,YAAY,CAAC,OAAO,EAAE,CAAC,CAAqB;IAEnE,YAAY,gBAAkD;IAC9D,WAAW,SAAqC;IAEhD,oBAAoB,CAAC,QAAQ,EAAE,OAAO,EAAE;yCAP7B,0BAA0B;2CAA1B,0BAA0B;CAUtC"}
@@ -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,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"}
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { GraphicOverview } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FormFieldOverviewsComponent {
5
+ metadataUuid: string;
6
+ value: Array<GraphicOverview>;
7
+ valueChange: EventEmitter<Array<GraphicOverview>>;
8
+ get firstOverview(): GraphicOverview;
9
+ handleOverviewChange(overView: GraphicOverview | null): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldOverviewsComponent, never>;
11
+ 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>;
12
+ }
13
+ //# sourceMappingURL=form-field-overviews.component.d.ts.map
@@ -0,0 +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":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAA;;AAGpG,qBAQa,2BAA2B;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAA;IAC5B,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CACvC;IAEpB,IAAI,aAAa,oBAEhB;IAED,oBAAoB,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI;yCAV1C,2BAA2B;2CAA3B,2BAA2B;CAavC"}
@@ -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,29 @@
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 { EditorFacade } from '../../../../+state/editor.facade';
4
+ import { TranslateService } from '@ngx-translate/core';
1
5
  import * as i0 from "@angular/core";
6
+ type KeywordWithExtent = Keyword & {
7
+ _linkedExtent: DatasetSpatialExtent;
8
+ _doNotSave: boolean;
9
+ };
10
+ /**
11
+ * This form field is not like the others, as it will read directly from the state to handle both spatial extents
12
+ * and place keywords.
13
+ * Other types of keywords will not be touched by this field.
14
+ */
2
15
  export declare class FormFieldSpatialExtentComponent {
16
+ private platformService;
17
+ private editorFacade;
18
+ private translateService;
19
+ spatialExtents$: import("rxjs").Observable<DatasetSpatialExtent[]>;
20
+ shownKeywords$: import("rxjs").Observable<Keyword[]>;
21
+ constructor(platformService: PlatformServiceInterface, editorFacade: EditorFacade, translateService: TranslateService);
22
+ handleKeywordDelete(keyword: Keyword): Promise<void>;
23
+ handleKeywordAdd(keyword: Keyword): Promise<void>;
24
+ emitChanges(placeKeywords: KeywordWithExtent[], spatialExtents: DatasetSpatialExtent[]): Promise<void>;
3
25
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSpatialExtentComponent, never>;
4
26
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSpatialExtentComponent, "gn-ui-form-field-spatial-extent", never, {}, {}, never, never, true, never>;
5
27
  }
28
+ export {};
6
29
  //# 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;AAE3H,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAItD,KAAK,iBAAiB,GAAG,OAAO,GAAG;IACjC,aAAa,EAAE,oBAAoB,CAAA;IACnC,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;;;GAIG;AAEH,qBAYa,+BAA+B;IA8DxC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IA/D1B,eAAe,oDAEd;IAED,cAAc,uCAsDb;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;yCApG7B,+BAA+B;2CAA/B,+BAA+B;CA6H3C"}
@@ -1,18 +1,17 @@
1
- import { OnDestroy, OnInit, Type } from '@angular/core';
2
- import { FormArray, FormControl } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
1
+ import { OnChanges } from '@angular/core';
2
+ import { FormArray } from '@angular/forms';
3
+ import { DatasetTemporalExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
4
+ import { DynamicElement } from '../../../../../../../../../libs/ui/elements/src';
4
5
  import { TranslateService } from '@ngx-translate/core';
6
+ import { Observable } from 'rxjs';
5
7
  import * as i0 from "@angular/core";
6
- export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDestroy {
8
+ export declare class FormFieldTemporalExtentsComponent implements OnChanges {
7
9
  private translateService;
8
- control: FormControl;
9
- subscription: Subscription;
10
+ value: Array<DatasetTemporalExtent>;
11
+ valueChange: Observable<Array<DatasetTemporalExtent>>;
10
12
  array: FormArray;
11
- elements: Array<{
12
- component: Type<any>;
13
- inputs: Record<string, any>;
14
- }>;
15
- addOptions$: import("rxjs").Observable<[{
13
+ elements: DynamicElement[];
14
+ addOptions$: Observable<[{
16
15
  buttonLabel: any;
17
16
  eventName: string;
18
17
  }, {
@@ -20,12 +19,13 @@ export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDest
20
19
  eventName: string;
21
20
  }]>;
22
21
  constructor(translateService: TranslateService);
23
- ngOnInit(): void;
24
- onElementsChange(elements: any): void;
22
+ ngOnChanges(): void;
23
+ onElementsChange(elements: DynamicElement[]): void;
25
24
  onAdd(eventName: string): void;
26
- ngOnDestroy(): void;
27
25
  private resetValueFromInput;
26
+ private pushDate;
27
+ private pushRange;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTemporalExtentsComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsComponent, "gn-ui-form-field-temporal-extents", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsComponent, "gn-ui-form-field-temporal-extents", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
30
30
  }
31
31
  //# 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,GAAG;IAS9B,KAAK,CAAC,SAAS,EAAE,MAAM;IAkBvB,WAAW,IAAI,IAAI;IAInB,OAAO,CAAC,mBAAmB;yCAvEhB,iCAAiC;2CAAjC,iCAAiC;CAyG7C"}
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,EAIL,SAAS,EAEV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAe,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAA;AAC1G,OAAO,EACL,cAAc,EAEf,MAAM,iDAAiD,CAAA;AAExD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAAE,UAAU,EAAsB,MAAM,MAAM,CAAA;;AAIrD,qBAQa,iCAAkC,YAAW,SAAS;IAgBrD,OAAO,CAAC,gBAAgB;IAf3B,KAAK,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAA;IAClC,WAAW,EAAE,UAAU,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAA;IAE/D,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,cAAc,EAAE,CAAK;IAE/B,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAItD,WAAW;IAIX,gBAAgB,CAAC,QAAQ,EAAE,cAAc,EAAE;IAW3C,KAAK,CAAC,SAAS,EAAE,MAAM;IAkBvB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,QAAQ;IAWhB,OAAO,CAAC,SAAS;yCAhFN,iCAAiC;2CAAjC,iCAAiC;CA0F7C"}
@@ -1,12 +1,12 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { UpdateFrequency } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
3
3
  import { DropdownChoice } from '../../../../../../../../../libs/ui/inputs/src';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
- import { UpdateFrequency } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class FormFieldUpdateFrequencyComponent implements OnInit {
8
7
  private translateService;
9
- control: FormControl<UpdateFrequency>;
8
+ value: UpdateFrequency;
9
+ valueChange: EventEmitter<UpdateFrequency>;
10
10
  protected choices: DropdownChoice[];
11
11
  get planned(): boolean;
12
12
  constructor(translateService: TranslateService);
@@ -16,6 +16,6 @@ export declare class FormFieldUpdateFrequencyComponent implements OnInit {
16
16
  onSelectFrequencyValue(value: unknown): void;
17
17
  private getInitialChoices;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldUpdateFrequencyComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldUpdateFrequencyComponent, "gn-ui-form-field-update-frequency", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldUpdateFrequencyComponent, "gn-ui-form-field-update-frequency", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
20
20
  }
21
21
  //# sourceMappingURL=form-field-update-frequency.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAEL,cAAc,EAEf,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EACL,eAAe,EAEhB,MAAM,oEAAoE,CAAA;;AAG3E,qBAQa,iCAAkC,YAAW,MAAM;IASlD,OAAO,CAAC,gBAAgB;IAR3B,OAAO,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IAE9C,SAAS,CAAC,OAAO,EAAE,cAAc,EAAE,CAAK;IAExC,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEhD,QAAQ;IAuBd,gBAAgB;IAQhB,IAAI,iBAAiB,IAAI,MAAM,CAI9B;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;YAQvB,iBAAiB;yCAxDpB,iCAAiC;2CAAjC,iCAAiC;CA4H7C"}
1
+ {"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,eAAe,EAEhB,MAAM,oEAAoE,CAAA;AAC3E,OAAO,EAEL,cAAc,EAEf,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGvE,qBAQa,iCAAkC,YAAW,MAAM;IAUlD,OAAO,CAAC,gBAAgB;IAT3B,KAAK,EAAE,eAAe,CAAA;IACrB,WAAW,EAAE,YAAY,CAAC,eAAe,CAAC,CAAqB;IAEzE,SAAS,CAAC,OAAO,EAAE,cAAc,EAAE,CAAK;IAExC,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEhD,QAAQ;IAuBd,gBAAgB;IAQhB,IAAI,iBAAiB,IAAI,MAAM,CAI9B;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;YAQvB,iBAAiB;yCAzDpB,iCAAiC;2CAAjC,iCAAiC;CA6H7C"}
@@ -1,30 +1,26 @@
1
- import { ElementRef } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { FormFieldConfig } from './form-field.model';
5
- import { CatalogRecordKeys } from '../../../../../../../../libs/common/domain/src/lib/model/record';
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { CatalogRecordKeys, Constraint, DatasetTemporalExtent, GraphicOverview, Individual, Keyword, UpdateFrequency } from '../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { FormFieldConfig } from '../../../models';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class FormFieldComponent {
6
+ uniqueIdentifier: string;
8
7
  model: CatalogRecordKeys;
9
8
  config: FormFieldConfig;
10
- set value(v: unknown);
11
- valueChange: Observable<unknown>;
9
+ value: unknown;
10
+ valueChange: EventEmitter<unknown>;
12
11
  titleInput: ElementRef;
13
- formControl: FormControl<any>;
14
- constructor();
12
+ isHidden: boolean;
15
13
  focusTitleInput(): void;
16
- get isTitle(): boolean;
17
- get isAbstract(): boolean;
18
- get isLicenses(): boolean;
19
- get isResourceUpdated(): boolean;
20
- get isUpdateFrequency(): boolean;
21
- get isTemporalExtents(): boolean;
22
- get isSpatialExtentField(): boolean;
23
- get isSimpleField(): boolean;
24
- get isReadOnly(): boolean;
25
- get isKeywords(): boolean;
26
14
  get withoutWrapper(): boolean;
15
+ get valueAsString(): string;
16
+ get valueAsDate(): Date;
17
+ get valueAsOverviews(): GraphicOverview[];
18
+ get valueAsUpdateFrequency(): UpdateFrequency;
19
+ get valueAsTemporalExtents(): DatasetTemporalExtent[];
20
+ get valueAsKeywords(): Keyword[];
21
+ get valueAsConstraints(): Constraint[];
22
+ get valueAsIndividuals(): Individual[];
27
23
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "uniqueIdentifier": { "alias": "uniqueIdentifier"; "required": false; }; "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
29
25
  }
30
26
  //# sourceMappingURL=form-field.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAYjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAA;;AAGnG,qBA2Ba,kBAAkB;IACpB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IAED,IAAI,cAAc,YAEjB;yCAvDU,kBAAkB;2CAAlB,kBAAkB;CAwD9B"}
1
+ {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAA;AAGtB,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,OAAO,EACP,eAAe,EAChB,MAAM,iEAAiE,CAAA;AASxE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AAajD,qBA6Ba,kBAAkB;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,OAAO,CAAA;IAEb,WAAW,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAExC,UAAU,EAAE,UAAU,CAAA;IAE/C,QAAQ,UAAQ;IAEhB,eAAe;IAIf,IAAI,cAAc,YAEjB;IAED,IAAI,aAAa,WAEhB;IACD,IAAI,WAAW,SAEd;IAED,IAAI,gBAAgB,sBAEnB;IACD,IAAI,sBAAsB,oBAEzB;IACD,IAAI,sBAAsB,4BAEzB;IACD,IAAI,eAAe,cAElB;IACD,IAAI,kBAAkB,iBAErB;IACD,IAAI,kBAAkB,iBAErB;yCA5CU,kBAAkB;2CAAlB,kBAAkB;CA6C9B"}
@@ -9,5 +9,4 @@ export * from './form-field-object/form-field-object.component';
9
9
  export * from './form-field-array/form-field-array.component';
10
10
  export * from './form-field-spatial-extent/form-field-spatial-extent.component';
11
11
  export * from './form-field.component';
12
- export * from './form-field.model';
13
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;AACnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;AACnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA"}
@@ -1,15 +1,14 @@
1
1
  import { EditorFacade } from '../../+state/editor.facade';
2
- import { EditorFieldState, EditorFieldValue } from '../../models/fields.model';
2
+ import { EditorFieldValue } from '../../models';
3
+ import { EditorFieldWithValue, EditorSectionWithValues } from '../../+state/editor.models';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class RecordFormComponent {
5
6
  facade: EditorFacade;
6
- fields$: import("rxjs").Observable<{
7
- config: import("../../models/fields.model").EditorFieldConfig;
8
- value: any;
9
- }[]>;
7
+ recordUniqueIdentifier$: import("rxjs").Observable<string>;
10
8
  constructor(facade: EditorFacade);
11
- handleFieldValueChange(field: EditorFieldState, newValue: EditorFieldValue): void;
12
- fieldTracker(index: number, field: EditorFieldState): string;
9
+ handleFieldValueChange(model: string, newValue: EditorFieldValue): void;
10
+ fieldTracker(index: number, field: EditorFieldWithValue): import("../../../../../../common/domain/src/lib/model/record").CatalogRecordKeys;
11
+ sectionTracker(index: number, section: EditorSectionWithValues): string;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
14
13
  static ɵcmp: i0.ɵɵComponentDeclaration<RecordFormComponent, "gn-ui-record-form", never, {}, {}, never, never, true, never>;
15
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;;AAG9E,qBAQa,mBAAmB;IAGX,MAAM,EAAE,YAAY;IAFvC,OAAO;;;SAA4B;gBAEhB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB;IAO1E,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB;yCAZxC,mBAAmB;2CAAnB,mBAAmB;CAe/B"}
1
+ {"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAG/C,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,4BAA4B,CAAA;;AAGnC,qBAQa,mBAAmB;IAKX,MAAM,EAAE,YAAY;IAJvC,uBAAuB,oCAEtB;gBAEkB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB;IAOhE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB;IAIvD,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB;yCAlBnD,mBAAmB;2CAAnB,mBAAmB;CAqB/B"}