geonetwork-ui 2.4.0-dev.27089d81 → 2.4.0-dev.344a92f2

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 (621) 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/gn4.field.mapper.mjs +10 -3
  3. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -5
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +10 -7
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +11 -16
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +35 -7
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +50 -18
  12. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +10 -3
  13. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +31 -3
  14. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +11 -1
  15. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +59 -11
  16. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  17. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  18. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  19. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  20. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  21. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  22. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  23. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  24. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
  25. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
  26. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
  27. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
  28. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +3 -1
  29. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +8 -3
  30. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +10 -2
  31. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  32. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
  33. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
  34. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +17 -0
  35. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +80 -0
  36. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +146 -0
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +19 -0
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +31 -38
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +11 -9
  41. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +101 -0
  42. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +148 -0
  43. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  44. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +103 -0
  45. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +12 -16
  46. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +9 -8
  47. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +140 -5
  48. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +41 -68
  49. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +17 -15
  50. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +45 -44
  51. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -3
  52. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +13 -7
  53. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
  54. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  55. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
  56. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +201 -57
  57. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  58. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  59. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +8 -3
  60. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
  61. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +7 -6
  62. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
  63. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
  64. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
  65. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
  66. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
  67. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
  68. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  69. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -5
  70. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
  71. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
  72. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
  73. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
  74. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +1 -1
  75. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +1 -1
  76. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +9 -4
  77. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  78. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +48 -8
  79. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
  80. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
  81. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  82. package/esm2022/libs/ui/elements/src/index.mjs +3 -2
  83. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  84. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  85. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
  86. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
  87. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
  88. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +6 -5
  89. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  90. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -5
  91. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +5 -11
  92. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +3 -3
  93. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
  94. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +15 -6
  95. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  96. package/esm2022/libs/ui/inputs/src/index.mjs +5 -1
  97. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +24 -7
  98. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +5 -3
  99. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +8 -1
  100. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +11 -4
  101. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +9 -3
  102. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +26 -24
  103. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
  104. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +19 -15
  105. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
  106. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +7 -21
  107. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
  108. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
  109. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
  110. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  111. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +5 -3
  112. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  113. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  114. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  115. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  116. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
  117. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  118. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
  119. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +33 -13
  120. package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
  121. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  122. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  123. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
  124. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  125. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +2 -1
  126. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  127. package/esm2022/translations/de.json +145 -42
  128. package/esm2022/translations/en.json +120 -17
  129. package/esm2022/translations/es.json +116 -13
  130. package/esm2022/translations/fr.json +131 -28
  131. package/esm2022/translations/it.json +119 -16
  132. package/esm2022/translations/nl.json +116 -13
  133. package/esm2022/translations/pt.json +116 -13
  134. package/fesm2022/geonetwork-ui.mjs +4054 -1764
  135. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  136. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  137. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  138. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  139. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  140. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  141. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  142. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  143. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
  144. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  145. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -1
  146. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  147. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  148. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +12 -6
  149. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  150. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  151. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  152. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +10 -7
  153. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  154. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +1 -0
  155. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  156. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +7 -1
  157. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  158. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  159. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +24 -3
  160. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  161. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
  162. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  163. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +9 -7
  164. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  165. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  166. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  167. package/libs/common/domain/src/lib/platform.service.interface.d.ts +18 -1
  168. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  169. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +17 -0
  170. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  171. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  172. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  173. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  174. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  175. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  176. package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
  177. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
  178. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  179. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
  180. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  181. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
  182. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  183. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +6 -0
  184. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  185. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  186. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  187. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -4
  188. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  189. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  190. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  191. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
  192. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  193. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
  194. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  195. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +8 -0
  196. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  197. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +33 -0
  198. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  199. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  200. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  201. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +41 -0
  202. 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
  203. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +9 -0
  204. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts.map +1 -0
  205. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +11 -19
  206. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  207. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
  208. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  209. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +22 -0
  210. 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
  211. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +35 -0
  212. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -0
  213. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +15 -0
  214. 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
  215. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +31 -0
  216. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  217. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -6
  218. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  219. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +4 -3
  220. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  221. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +28 -0
  222. 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
  223. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +10 -16
  224. 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
  225. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +5 -5
  226. 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
  227. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +18 -20
  228. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  229. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -2
  230. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  231. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +7 -7
  232. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  233. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  234. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  235. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  236. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  237. package/libs/feature/editor/src/lib/fields.config.d.ts +54 -2
  238. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  239. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +42 -0
  240. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  241. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  242. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  243. package/libs/feature/editor/src/lib/services/editor.service.d.ts +3 -2
  244. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  245. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  246. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  247. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +6 -6
  248. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  249. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  250. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  251. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +1 -1
  252. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  253. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
  254. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  255. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
  256. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  257. package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -21
  258. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  259. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
  260. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  261. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  262. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  263. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  264. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
  265. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  266. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  267. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  268. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  269. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  270. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  271. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  272. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -2
  273. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  274. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
  275. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  276. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  277. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  278. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +15 -4
  279. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  280. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  281. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  282. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  283. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  284. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  285. package/libs/ui/elements/src/index.d.ts +2 -1
  286. package/libs/ui/elements/src/index.d.ts.map +1 -1
  287. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  288. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  289. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  290. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  291. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
  292. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  293. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  294. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  295. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
  296. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  297. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
  298. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  299. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  300. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +8 -5
  301. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  302. package/libs/ui/inputs/src/index.d.ts +4 -0
  303. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  304. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  305. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  306. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
  307. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  308. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  309. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  310. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  311. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  312. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  313. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
  314. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  315. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +4 -5
  316. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  317. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +16 -0
  318. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  319. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  320. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  321. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  322. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  323. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
  324. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  325. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +18 -0
  326. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  327. package/libs/ui/layout/src/index.d.ts +2 -0
  328. package/libs/ui/layout/src/index.d.ts.map +1 -1
  329. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
  330. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
  331. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  332. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  333. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  334. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  335. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  336. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  337. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
  338. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  339. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  340. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  341. package/libs/ui/widgets/src/index.d.ts +1 -0
  342. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  343. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  344. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  345. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  346. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  347. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  348. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  349. package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
  350. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  351. package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
  352. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  353. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  354. package/package.json +1 -1
  355. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +7 -2
  356. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +6 -2
  357. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +38 -13
  358. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +6 -2
  359. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  360. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
  361. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  362. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  363. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -4
  364. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
  365. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +14 -8
  366. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +10 -14
  367. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +85 -17
  368. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  369. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +118 -37
  370. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -5
  371. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +42 -2
  372. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
  373. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +116 -30
  374. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
  375. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +10 -8
  376. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  377. package/src/libs/common/domain/src/lib/platform.service.interface.ts +35 -1
  378. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -0
  379. package/src/libs/common/fixtures/src/index.ts +3 -1
  380. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  381. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  382. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  383. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  384. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  385. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  386. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  387. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  388. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  389. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  390. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  391. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  392. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
  393. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  394. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  395. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  396. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +9 -9
  397. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  398. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  399. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  400. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +32 -15
  401. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
  402. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
  403. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  404. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  405. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  406. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  407. package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
  408. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  409. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
  410. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  411. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
  412. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
  413. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -0
  414. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +17 -2
  415. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  416. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  417. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
  418. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
  419. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +15 -0
  420. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +18 -0
  421. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  422. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +90 -0
  423. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  424. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
  425. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +4 -0
  426. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +66 -0
  427. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +212 -0
  428. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.html +4 -0
  429. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.ts +21 -0
  430. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -16
  431. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +43 -42
  432. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
  433. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
  434. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
  435. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
  436. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
  437. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css +0 -0
  438. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +34 -0
  439. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +182 -0
  440. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  441. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  442. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +48 -0
  443. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  444. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -0
  445. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +122 -0
  446. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +15 -8
  447. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +11 -14
  448. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
  449. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
  450. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +20 -1
  451. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +212 -1
  452. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
  453. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +31 -4
  454. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +43 -86
  455. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
  456. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +16 -14
  457. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +17 -15
  458. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +112 -70
  459. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +52 -44
  460. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -2
  461. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +52 -9
  462. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +20 -7
  463. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  464. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  465. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  466. package/src/libs/feature/editor/src/lib/fields.config.ts +240 -57
  467. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +65 -0
  468. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  469. package/src/libs/feature/editor/src/lib/services/editor.service.ts +15 -4
  470. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  471. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +12 -8
  472. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
  473. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  474. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
  475. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  476. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
  477. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  478. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
  479. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
  480. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
  481. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
  482. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  483. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -4
  484. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
  485. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  486. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  487. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  488. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  489. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
  490. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -2
  491. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +11 -3
  492. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -1
  493. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +4 -1
  494. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +66 -3
  495. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  496. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
  497. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
  498. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  499. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  500. package/src/libs/ui/elements/src/index.ts +2 -1
  501. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  502. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  503. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  504. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  505. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  506. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
  507. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
  508. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -17
  509. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -1
  510. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +7 -1
  511. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  512. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  513. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
  514. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  515. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  516. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +10 -3
  517. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  518. package/src/libs/ui/inputs/src/index.ts +4 -0
  519. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +25 -18
  520. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +38 -24
  521. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +19 -4
  522. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +12 -3
  523. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +2 -1
  524. package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
  525. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
  526. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +13 -6
  527. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +7 -1
  528. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
  529. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +27 -23
  530. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +7 -1
  531. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +40 -26
  532. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
  533. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +89 -0
  534. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +92 -0
  535. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +4 -0
  536. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +76 -68
  537. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +17 -14
  538. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +32 -0
  539. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +14 -0
  540. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +37 -0
  541. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
  542. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
  543. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  544. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  545. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  546. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  547. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
  548. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
  549. package/src/libs/ui/layout/src/index.ts +2 -0
  550. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +8 -3
  551. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +4 -3
  552. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
  553. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -0
  554. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  555. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  556. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  557. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  558. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +15 -18
  559. package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
  560. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  561. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  562. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
  563. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
  564. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +24 -3
  565. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +31 -18
  566. package/src/libs/ui/widgets/src/index.ts +1 -0
  567. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  568. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  569. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  570. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  571. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
  572. package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
  573. package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
  574. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  575. package/tailwind.base.config.js +1 -0
  576. package/tailwind.base.css +51 -7
  577. package/translations/de.json +145 -42
  578. package/translations/en.json +120 -17
  579. package/translations/es.json +116 -13
  580. package/translations/fr.json +131 -28
  581. package/translations/it.json +119 -16
  582. package/translations/nl.json +116 -13
  583. package/translations/pt.json +116 -13
  584. package/translations/sk.json +117 -14
  585. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -15
  586. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +0 -17
  587. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +0 -17
  588. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  589. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  590. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -43
  591. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -8
  592. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +0 -1
  593. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +0 -8
  594. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +0 -1
  595. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +0 -8
  596. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +0 -1
  597. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  598. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  599. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  600. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  601. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -22
  602. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  603. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  604. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  605. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  606. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -8
  607. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -70
  608. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +0 -4
  609. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +0 -15
  610. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +0 -7
  611. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +0 -16
  612. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +0 -13
  613. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +0 -16
  614. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  615. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  616. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -36
  617. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
  618. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → generic-keywords/generic-keywords.component.css} +0 -0
  619. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css → online-resource-card/online-resource-card.component.css} +0 -0
  620. /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css → form-field-date-updated/form-field-date-updated.component.css} +0 -0
  621. /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
@@ -1,8 +1,7 @@
1
- import { FormControl } from '@angular/forms';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class FormFieldSimpleComponent {
4
4
  type: 'date' | 'url' | 'text' | 'number' | 'list' | 'toggle';
5
- control: FormControl;
6
5
  readonly: boolean;
7
6
  invalid: boolean;
8
7
  placeholder: string;
@@ -10,9 +9,11 @@ export declare class FormFieldSimpleComponent {
10
9
  label: string;
11
10
  value: unknown;
12
11
  }[];
12
+ value: unknown;
13
+ valueChange: EventEmitter<unknown>;
13
14
  get inputType(): "" | "text" | "checkbox" | "number" | "datetime-local";
14
15
  get isSelect(): boolean;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSimpleComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSimpleComponent, "gn-ui-form-field-simple", never, { "type": { "alias": "type"; "required": false; }; "control": { "alias": "control"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSimpleComponent, "gn-ui-form-field-simple", never, { "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
17
18
  }
18
19
  //# sourceMappingURL=form-field-simple.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-simple.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;;AAEjE,qBAQa,wBAAwB;IAC1B,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC5D,OAAO,EAAG,WAAW,CAAA;IACrB,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;IAChB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAEtD,IAAI,SAAS,2DAcZ;IAED,IAAI,QAAQ,YAEX;yCA1BU,wBAAwB;2CAAxB,wBAAwB;CA2BpC"}
1
+ {"version":3,"file":"form-field-simple.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAEtB,qBAQa,wBAAwB;IAC1B,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC5D,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;IAChB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAC7C,KAAK,EAAE,OAAO,CAAA;IAEb,WAAW,EAAE,YAAY,CAAC,OAAO,CAAC,CAAqB;IAEjE,IAAI,SAAS,2DAcZ;IAED,IAAI,QAAQ,YAEX;yCA5BU,wBAAwB;2CAAxB,wBAAwB;CA6BpC"}
@@ -1,6 +1,34 @@
1
+ import { DatasetSpatialExtent, Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
2
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
3
+ import { Observable } from 'rxjs';
4
+ import { EditorFacade } from '../../../../+state/editor.facade';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { SwitchToggleOption } from '../../../../../../../../../libs/ui/inputs/src';
1
7
  import * as i0 from "@angular/core";
8
+ type KeywordWithExtent = Keyword & {
9
+ _linkedExtent: DatasetSpatialExtent;
10
+ _doNotSave: boolean;
11
+ };
12
+ /**
13
+ * This form field is not like the others, as it will read directly from the state to handle both spatial extents
14
+ * and place keywords.
15
+ * Other types of keywords will not be touched by this field.
16
+ */
2
17
  export declare class FormFieldSpatialExtentComponent {
18
+ private platformService;
19
+ private editorFacade;
20
+ private translateService;
21
+ spatialExtents$: Observable<DatasetSpatialExtent[]>;
22
+ allKeywords$: Observable<Keyword[]>;
23
+ switchToggleOptions$: Observable<SwitchToggleOption[]>;
24
+ shownKeywords$: Observable<Keyword[]>;
25
+ constructor(platformService: PlatformServiceInterface, editorFacade: EditorFacade, translateService: TranslateService);
26
+ handleKeywordDelete(keyword: Keyword): Promise<void>;
27
+ handleKeywordAdd(keyword: Keyword): Promise<void>;
28
+ emitChanges(placeKeywords: KeywordWithExtent[], spatialExtents: DatasetSpatialExtent[]): Promise<void>;
29
+ onSpatialScopeChange(selectedOption: SwitchToggleOption): Promise<void>;
3
30
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSpatialExtentComponent, never>;
4
31
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSpatialExtentComponent, "gn-ui-form-field-spatial-extent", never, {}, {}, never, never, true, never>;
5
32
  }
33
+ export {};
6
34
  //# sourceMappingURL=form-field-spatial-extent.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":";AAEA,qBAOa,+BAA+B;yCAA/B,+BAA+B;2CAA/B,+BAA+B;CAAG"}
1
+ {"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,OAAO,EACR,MAAM,oEAAoE,CAAA;AAE3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAC3H,OAAO,EAAuB,UAAU,EAAe,MAAM,MAAM,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAG/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACtD,OAAO,EAEL,kBAAkB,EACnB,MAAM,+CAA+C,CAAA;;AAKtD,KAAK,iBAAiB,GAAG,OAAO,GAAG;IACjC,aAAa,EAAE,oBAAoB,CAAA;IACnC,UAAU,EAAE,OAAO,CAAA;CACpB,CAAA;AAED;;;;GAIG;AAEH,qBAaa,+BAA+B;IAiFxC,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,gBAAgB;IAlF1B,eAAe,qCAEd;IAED,YAAY,wBAEX;IAED,oBAAoB,EAAE,UAAU,CAAC,kBAAkB,EAAE,CAAC,CAanD;IAEH,cAAc,wBAsDb;gBAGS,eAAe,EAAE,wBAAwB,EACzC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB;IAGtC,mBAAmB,CAAC,OAAO,EAAE,OAAO;IAcpC,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAiBjC,WAAW,CACf,aAAa,EAAE,iBAAiB,EAAE,EAClC,cAAc,EAAE,oBAAoB,EAAE;IAqClC,oBAAoB,CAAC,cAAc,EAAE,kBAAkB;yCA5JlD,+BAA+B;2CAA/B,+BAA+B;CA+K3C"}
@@ -1,17 +1,12 @@
1
- import { OnDestroy, OnInit, Type } from '@angular/core';
2
- import { FormArray, FormControl } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
1
+ import { EventEmitter } from '@angular/core';
2
+ import { DatasetTemporalExtent } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
4
3
  import { TranslateService } from '@ngx-translate/core';
5
4
  import * as i0 from "@angular/core";
6
- export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDestroy {
5
+ export declare class FormFieldTemporalExtentsComponent {
7
6
  private translateService;
8
- control: FormControl;
9
- subscription: Subscription;
10
- array: FormArray;
11
- elements: Array<{
12
- component: Type<any>;
13
- inputs: Record<string, any>;
14
- }>;
7
+ extents: DatasetTemporalExtent[];
8
+ set value(v: Array<DatasetTemporalExtent>);
9
+ valueChange: EventEmitter<DatasetTemporalExtent[]>;
15
10
  addOptions$: import("rxjs").Observable<[{
16
11
  buttonLabel: any;
17
12
  eventName: string;
@@ -20,12 +15,11 @@ export declare class FormFieldTemporalExtentsComponent implements OnInit, OnDest
20
15
  eventName: string;
21
16
  }]>;
22
17
  constructor(translateService: TranslateService);
23
- ngOnInit(): void;
24
- onElementsChange(elements: any): void;
18
+ onItemsOrderChange(extents: unknown[]): void;
25
19
  onAdd(eventName: string): void;
26
- ngOnDestroy(): void;
27
- private resetValueFromInput;
20
+ onExtentChange(extent: Partial<DatasetTemporalExtent>, index: number): void;
21
+ emitValue(): void;
28
22
  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>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsComponent, "gn-ui-form-field-temporal-extents", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
30
24
  }
31
25
  //# sourceMappingURL=form-field-temporal-extents.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-temporal-extents.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACT,MAAM,EACN,IAAI,EACL,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,YAAY,EAAsB,MAAM,MAAM,CAAA;AAGvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAGtD,qBAQa,iCAAkC,YAAW,MAAM,EAAE,SAAS;IAoB7D,OAAO,CAAC,gBAAgB;IAnB3B,OAAO,EAAG,WAAW,CAAA;IAE9B,YAAY,EAAE,YAAY,CAAA;IAE1B,KAAK,EAAE,SAAS,CAAoB;IACpC,QAAQ,EAAE,KAAK,CAAC;QACd,SAAS,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;QACpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC5B,CAAC,CAAA;IAEF,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAkBR,gBAAgB,CAAC,QAAQ,EAAE,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,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,oEAAoE,CAAA;AAO1G,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAIvE,qBAgBa,iCAAiC;IAgBhC,OAAO,CAAC,gBAAgB;IAfpC,OAAO,EAAE,qBAAqB,EAAE,CAAK;IACrC,IAAa,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,EAEjD;IACS,WAAW,wCAAmD;IAExE,WAAW;;;;;;QAOT;gBAEkB,gBAAgB,EAAE,gBAAgB;IAEtD,kBAAkB,CAAC,OAAO,EAAE,OAAO,EAAE;IAKrC,KAAK,CAAC,SAAS,EAAE,MAAM;IAmBvB,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,qBAAqB,CAAC,EAAE,KAAK,EAAE,MAAM;IAMpE,SAAS;yCAhDE,iCAAiC;2CAAjC,iCAAiC;CAmD7C"}
@@ -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,28 @@
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, OnlineResource, UpdateFrequency } from '../../../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { FieldModelSpecifier, FormFieldConfig } from '../../../models';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class FormFieldComponent {
6
+ uniqueIdentifier: string;
8
7
  model: CatalogRecordKeys;
8
+ modelSpecifier: FieldModelSpecifier;
9
9
  config: FormFieldConfig;
10
- set value(v: unknown);
11
- valueChange: Observable<unknown>;
10
+ value: unknown;
11
+ valueChange: EventEmitter<unknown>;
12
12
  titleInput: ElementRef;
13
- formControl: FormControl<any>;
14
- constructor();
13
+ isHidden: boolean;
15
14
  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
15
  get withoutWrapper(): boolean;
16
+ get valueAsString(): string;
17
+ get valueAsDate(): Date;
18
+ get valueAsOverviews(): GraphicOverview[];
19
+ get valueAsUpdateFrequency(): UpdateFrequency;
20
+ get valueAsTemporalExtents(): DatasetTemporalExtent[];
21
+ get valueAsKeywords(): Keyword[];
22
+ get valueAsConstraints(): Constraint[];
23
+ get valueAsIndividuals(): Individual[];
24
+ get valueAsOnlineResources(): OnlineResource[];
27
25
  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>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "uniqueIdentifier": { "alias": "uniqueIdentifier"; "required": false; }; "model": { "alias": "model"; "required": false; }; "modelSpecifier": { "alias": "modelSpecifier"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
29
27
  }
30
28
  //# 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,cAAc,EACd,eAAe,EAChB,MAAM,iEAAiE,CAAA;AASxE,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AActE,qBA8Ba,kBAAkB;IACpB,gBAAgB,EAAE,MAAM,CAAA;IACxB,KAAK,EAAE,iBAAiB,CAAA;IACxB,cAAc,EAAE,mBAAmB,CAAA;IACnC,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;IACD,IAAI,sBAAsB,qBAEzB;yCAhDU,kBAAkB;2CAAlB,kBAAkB;CAiD9B"}
@@ -1,6 +1,6 @@
1
1
  export * from './form-field-keywords/form-field-keywords.component';
2
2
  export * from './form-field-license/form-field-license.component';
3
- export * from './form-field-resource-updated/form-field-resource-updated.component';
3
+ export * from './form-field-date-updated/form-field-date-updated.component';
4
4
  export * from './form-field-temporal-extents/form-field-temporal-extents.component';
5
5
  export * from './form-field-simple/form-field-simple.component';
6
6
  export * from './form-field-file/form-field-file.component';
@@ -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,6DAA6D,CAAA;AAC3E,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,15 @@
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';
4
+ import { CatalogRecordKeys } from '../../../../../../../libs/common/domain/src/lib/model/record';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class RecordFormComponent {
5
7
  facade: EditorFacade;
6
- fields$: import("rxjs").Observable<{
7
- config: import("../../models/fields.model").EditorFieldConfig;
8
- value: any;
9
- }[]>;
8
+ recordUniqueIdentifier$: import("rxjs").Observable<string>;
10
9
  constructor(facade: EditorFacade);
11
- handleFieldValueChange(field: EditorFieldState, newValue: EditorFieldValue): void;
12
- fieldTracker(index: number, field: EditorFieldState): string;
10
+ handleFieldValueChange(model: CatalogRecordKeys, newValue: EditorFieldValue): void;
11
+ fieldTracker(index: number, field: EditorFieldWithValue): CatalogRecordKeys;
12
+ sectionTracker(index: number, section: EditorSectionWithValues): string;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<RecordFormComponent, "gn-ui-record-form", never, {}, {}, never, never, true, never>;
15
15
  }
@@ -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;AAEnC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAA;;AAEhG,qBAQa,mBAAmB;IAKX,MAAM,EAAE,YAAY;IAJvC,uBAAuB,oCAEtB;gBAEkB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,gBAAgB;IAO3E,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"}
@@ -1,4 +1,4 @@
1
- import { EditorFieldState, EditorFieldValue } from './models/fields.model';
1
+ import { EditorFieldState, EditorFieldValue } from './models/';
2
2
  export type ExpressionEvaluator = (field: EditorFieldState) => EditorFieldValue;
3
3
  export declare function evaluate(expression: string): ExpressionEvaluator;
4
4
  //# sourceMappingURL=expressions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/expressions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,gBAAgB,CAAA;AAE/E,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAWhE"}
1
+ {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/expressions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAE9D,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,gBAAgB,CAAA;AAE/E,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAWhE"}
@@ -12,9 +12,10 @@ import * as i10 from "@angular/material/form-field";
12
12
  import * as i11 from "@angular/common/http";
13
13
  import * as i12 from "@ngrx/store";
14
14
  import * as i13 from "@ngrx/effects";
15
+ import * as i14 from "../../../../ui/inputs/src/lib/text-input/text-input.component";
15
16
  export declare class FeatureEditorModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureEditorModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureEditorModule, [typeof i1.WizardComponent, typeof i2.WizardFieldComponent, typeof i3.WizardSummarizeComponent], [typeof i4.CommonModule, typeof i5.UiInputsModule, typeof i6.UiWidgetsModule, typeof i7.TranslateModule, typeof i8.MatDatepickerModule, typeof i9.MatNativeDateModule, typeof i10.MatFormFieldModule, typeof i11.HttpClientModule, typeof i11.HttpClientXsrfModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule], [typeof i1.WizardComponent, typeof i3.WizardSummarizeComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureEditorModule, [typeof i1.WizardComponent, typeof i2.WizardFieldComponent, typeof i3.WizardSummarizeComponent], [typeof i4.CommonModule, typeof i5.UiInputsModule, typeof i6.UiWidgetsModule, typeof i7.TranslateModule, typeof i8.MatDatepickerModule, typeof i9.MatNativeDateModule, typeof i10.MatFormFieldModule, typeof i11.HttpClientModule, typeof i11.HttpClientXsrfModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.TextInputComponent], [typeof i1.WizardComponent, typeof i3.WizardSummarizeComponent]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureEditorModule>;
19
20
  }
20
21
  export * from './models/index';
@@ -1 +1 @@
1
- {"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAmBA,qBAyBa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
1
+ {"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAmBA,qBA0Ba,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
@@ -1,3 +1,55 @@
1
- import { EditorFieldsConfig } from './models/fields.model';
2
- export declare const DEFAULT_FIELDS: EditorFieldsConfig;
1
+ import { EditorConfig, EditorField, EditorSection } from './models/editor-config.model';
2
+ import { Keyword } from '../../../../../libs/common/domain/src/lib/model/record';
3
+ /**
4
+ * This file contains the configuration of the fields that will be displayed in the editor.
5
+ * To add a new field, you need to create a new EditorField object in the fields part of this file.
6
+ * Then add it to the corresponding section in the sections part of this file.
7
+ * Finally, add the section to the corresponding page in the pages part of this file.
8
+ */
9
+ /************************************************************
10
+ *************** FIELDS *****************
11
+ ************************************************************
12
+ */
13
+ export declare const RECORD_LICENSE_FIELD: EditorField;
14
+ export declare const RECORD_KEYWORDS_FIELD: EditorField;
15
+ export declare const RECORD_UNIQUE_IDENTIFIER_FIELD: EditorField;
16
+ export declare const RECORD_RESOURCE_UPDATED_FIELD: EditorField;
17
+ export declare const RECORD_UPDATED_FIELD: EditorField;
18
+ export declare const RECORD_UPDATE_FREQUENCY_FIELD: EditorField;
19
+ export declare const RECORD_TEMPORAL_EXTENTS_FIELD: EditorField;
20
+ export declare const RECORD_TITLE_FIELD: EditorField;
21
+ export declare const RECORD_ABSTRACT_FIELD: EditorField;
22
+ export declare const CONTACTS_FOR_RESOURCE_FIELD: EditorField;
23
+ export declare const RECORD_GRAPHICAL_OVERVIEW_FIELD: EditorField;
24
+ export declare const RECORD_SPATIAL_EXTENTS_FIELD: EditorField;
25
+ export declare const RECORD_ONLINE_LINK_RESOURCES: EditorField;
26
+ /************************************************************
27
+ *************** SECTIONS *****************
28
+ ************************************************************
29
+ */
30
+ export declare const TITLE_SECTION: EditorSection;
31
+ export declare const ABOUT_SECTION: EditorSection;
32
+ export declare const GEOGRAPHICAL_COVERAGE_SECTION: EditorSection;
33
+ export declare const ASSOCIATED_RESOURCES_SECTION: EditorSection;
34
+ export declare const ANNEXES_SECTION: EditorSection;
35
+ export declare const CLASSIFICATION_SECTION: EditorSection;
36
+ export declare const USE_AND_ACCESS_CONDITIONS_SECTION: EditorSection;
37
+ export declare const DATA_MANAGERS_SECTION: EditorSection;
38
+ export declare const DATA_POINT_OF_CONTACT_SECTION: EditorSection;
39
+ /************************************************************
40
+ *************** PAGES *****************
41
+ ************************************************************
42
+ */
43
+ export declare const DEFAULT_CONFIGURATION: EditorConfig;
44
+ /************************************************************
45
+ *************** LICENSES **************
46
+ ************************************************************
47
+ */
48
+ export declare const OPEN_DATA_LICENSES: string[];
49
+ export declare const MAX_UPLOAD_SIZE_MB = 10;
50
+ /************************************************************
51
+ *************** SPATIAL SCOPE ************
52
+ ************************************************************
53
+ */
54
+ export declare const SPATIAL_SCOPES: Keyword[];
3
55
  //# sourceMappingURL=fields.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,kBAmE5B,CAAA"}
1
+ {"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,wDAAwD,CAAA;AAEhF;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAM3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAQlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAG3C,CAAA;AAID,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,2BAA2B,EAAE,WAKzC,CAAA;AAED,eAAO,MAAM,+BAA+B,EAAE,WAK7C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,WAK1C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,WAM1C,CAAA;AAED;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,aAO3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,aAW3B,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAI3C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,aAO1C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,aAOpC,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,aAI/C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,aAKnC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAO3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAoBnC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,EAMtC,CAAA;AAED,eAAO,MAAM,kBAAkB,KAAK,CAAA;AACpC;;;GAGG;AAEH,eAAO,MAAM,cAAc,EAAE,OAAO,EAanC,CAAA"}
@@ -0,0 +1,42 @@
1
+ import { CatalogRecordKeys } from '../../../../../../libs/common/domain/src/lib/model/record';
2
+ export type EditorFieldExpression = `$\{${string}}`;
3
+ export type EditorFieldValue = string | number | boolean | unknown;
4
+ export interface FormFieldConfig {
5
+ labelKey?: string;
6
+ hintKey?: string;
7
+ tooltipKey?: string;
8
+ required?: boolean;
9
+ locked?: boolean;
10
+ invalid?: boolean;
11
+ invalidHintKey?: string;
12
+ }
13
+ type OnlineLinkResourceSpecifier = `onlineResourceType:link`;
14
+ type DatasetDistributionsSpecifier = `onlineResourceType:!link`;
15
+ export type FieldModelSpecifier = OnlineLinkResourceSpecifier | DatasetDistributionsSpecifier;
16
+ export interface EditorField {
17
+ formFieldConfig: FormFieldConfig;
18
+ model?: CatalogRecordKeys;
19
+ modelSpecifier?: FieldModelSpecifier;
20
+ gridColumnSpan?: number;
21
+ hidden?: boolean;
22
+ onSaveProcess?: EditorFieldExpression;
23
+ }
24
+ export interface EditorSection {
25
+ labelKey?: string;
26
+ descriptionKey?: string;
27
+ hidden: boolean;
28
+ fields: EditorField[];
29
+ }
30
+ export interface EditorFieldPage {
31
+ labelKey?: string;
32
+ sections: EditorSection[];
33
+ }
34
+ export interface EditorConfig {
35
+ pages: EditorFieldPage[];
36
+ }
37
+ export interface EditorFieldState {
38
+ model: string;
39
+ value: EditorFieldValue;
40
+ }
41
+ export {};
42
+ //# sourceMappingURL=editor-config.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-config.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/editor-config.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAA;AAI7F,MAAM,MAAM,qBAAqB,GAAG,MAAM,MAAM,GAAG,CAAA;AAEnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAElE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAID,KAAK,2BAA2B,GAAG,yBAAyB,CAAA;AAC5D,KAAK,6BAA6B,GAAG,0BAA0B,CAAA;AAC/D,MAAM,MAAM,mBAAmB,GAC3B,2BAA2B,GAC3B,6BAA6B,CAAA;AAEjC,MAAM,WAAW,WAAW;IAE1B,eAAe,EAAE,eAAe,CAAA;IAGhC,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,cAAc,CAAC,EAAE,mBAAmB,CAAA;IAGpC,cAAc,CAAC,EAAE,MAAM,CAAA;IAIvB,MAAM,CAAC,EAAE,OAAO,CAAA;IAGhB,aAAa,CAAC,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,WAAW,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,aAAa,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,gBAAgB,CAAA;CACxB"}
@@ -1,3 +1,4 @@
1
1
  export * from './wizard-field.model';
2
2
  export * from './wizard-field.type';
3
+ export * from './editor-config.model';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -1,13 +1,14 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
- import { EditorFieldsConfig } from '../models/fields.model';
3
+ import { EditorConfig } from '../models/';
4
4
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class EditorService {
7
7
  private recordsRepository;
8
8
  constructor(recordsRepository: RecordsRepositoryInterface);
9
- saveRecord(record: CatalogRecord, fieldsConfig: EditorFieldsConfig, generateNewUniqueIdentifier?: boolean): Observable<[CatalogRecord, string]>;
9
+ saveRecord(record: CatalogRecord, fieldsConfig: EditorConfig, generateNewUniqueIdentifier?: boolean): Observable<[CatalogRecord, string]>;
10
10
  saveRecordAsDraft(record: CatalogRecord): Observable<void>;
11
+ undoRecordDraft(record: CatalogRecord): Observable<[CatalogRecord, string, boolean]>;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAA;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,kBAAkB,EAChC,2BAA2B,UAAQ,GAClC,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAiCtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;yCAzC/C,aAAa;6CAAb,aAAa;CA8CzB"}
1
+ {"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAA;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,YAAY,EAC1B,2BAA2B,UAAQ,GAClC,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAqCtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;IAM1D,eAAe,CACb,MAAM,EAAE,aAAa,GACpB,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;yCArDpC,aAAa;6CAAb,aAAa;CAyDzB"}
@@ -6,6 +6,6 @@ export declare class AddLayerFromCatalogComponent implements OnInit {
6
6
  constructor(searchFacade: SearchFacade);
7
7
  ngOnInit(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AddLayerFromCatalogComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromCatalogComponent, "gn-ui-add-layer-from-catalog", never, {}, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromCatalogComponent, "gn-ui-add-layer-from-catalog", never, {}, {}, never, never, true, never>;
10
10
  }
11
11
  //# sourceMappingURL=add-layer-from-catalog.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer-from-catalog.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,MAAM,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAEL,YAAY,EAEb,MAAM,2CAA2C,CAAA;;AAOlD,qBAqBa,4BAA6B,YAAW,MAAM;IAC7C,OAAO,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IAE9C,QAAQ;yCAHG,4BAA4B;2CAA5B,4BAA4B;CAUxC"}
1
+ {"version":3,"file":"add-layer-from-catalog.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,MAAM,EAAE,MAAM,eAAe,CAAA;AAC1E,OAAO,EAGL,YAAY,EAEb,MAAM,2CAA2C,CAAA;;AAOlD,qBAuBa,4BAA6B,YAAW,MAAM;IAC7C,OAAO,CAAC,YAAY;gBAAZ,YAAY,EAAE,YAAY;IAE9C,QAAQ;yCAHG,4BAA4B;2CAA5B,4BAA4B;CAUxC"}
@@ -5,19 +5,19 @@ import { Observable } from 'rxjs';
5
5
  import { MapUtilsService } from '../../utils';
6
6
  import { MapFacade } from '../../+state/map.facade';
7
7
  import { MapContextLayerModel } from '../../map-context/map-context.model';
8
- import { DatasetDistribution } from '../../../../../../../libs/common/domain/src/lib/model/record';
8
+ import { DatasetOnlineResource } from '../../../../../../../libs/common/domain/src/lib/model/record';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class AddLayerRecordPreviewComponent extends RecordPreviewComponent {
11
11
  protected elementRef: ElementRef;
12
12
  private linkClassifier;
13
13
  private mapFacade;
14
14
  private mapUtils;
15
- get mapLinks(): DatasetDistribution[];
15
+ get mapLinks(): DatasetOnlineResource[];
16
16
  constructor(elementRef: ElementRef, linkClassifier: LinkClassifierService, mapFacade: MapFacade, mapUtils: MapUtilsService);
17
- handleLinkClick(link: DatasetDistribution): Promise<void>;
18
- getLayerFromLink(link: DatasetDistribution): Observable<MapContextLayerModel>;
19
- getLinkLabel(link: DatasetDistribution): string;
17
+ handleLinkClick(link: DatasetOnlineResource): Promise<void>;
18
+ getLayerFromLink(link: DatasetOnlineResource): Observable<MapContextLayerModel>;
19
+ getLinkLabel(link: DatasetOnlineResource): string;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<AddLayerRecordPreviewComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerRecordPreviewComponent, "gn-ui-add-layer-record-preview", never, {}, {}, never, never, true, never>;
22
22
  }
23
23
  //# sourceMappingURL=add-layer-record-preview.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer-record-preview.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AAChF,OAAO,EAEL,qBAAqB,EAEtB,MAAM,2CAA2C,CAAA;AAClD,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EACL,oBAAoB,EAErB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,mBAAmB,EAEpB,MAAM,8DAA8D,CAAA;;AAErE,qBAMa,8BAA+B,SAAQ,sBAAsB;IAQtE,SAAS,CAAC,UAAU,EAAE,UAAU;IAChC,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,QAAQ;IAVlB,IAAI,QAAQ,IAAI,mBAAmB,EAAE,CAIpC;gBAGW,UAAU,EAAE,UAAU,EACxB,cAAc,EAAE,qBAAqB,EACrC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,eAAe;IAK7B,eAAe,CAAC,IAAI,EAAE,mBAAmB;IAK/C,gBAAgB,CACd,IAAI,EAAE,mBAAmB,GACxB,UAAU,CAAC,oBAAoB,CAAC;IAqBnC,YAAY,CAAC,IAAI,EAAE,mBAAmB;yCA5C3B,8BAA8B;2CAA9B,8BAA8B;CA+C1C"}
1
+ {"version":3,"file":"add-layer-record-preview.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,UAAU,EAAE,MAAM,eAAe,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAA;AAChF,OAAO,EAEL,qBAAqB,EAEtB,MAAM,2CAA2C,CAAA;AAClD,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EACL,oBAAoB,EAErB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,qBAAqB,EAEtB,MAAM,8DAA8D,CAAA;;AAKrE,qBAQa,8BAA+B,SAAQ,sBAAsB;IAQtE,SAAS,CAAC,UAAU,EAAE,UAAU;IAChC,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,QAAQ;IAVlB,IAAI,QAAQ,IAAI,qBAAqB,EAAE,CAItC;gBAGW,UAAU,EAAE,UAAU,EACxB,cAAc,EAAE,qBAAqB,EACrC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,eAAe;IAK7B,eAAe,CAAC,IAAI,EAAE,qBAAqB;IAKjD,gBAAgB,CACd,IAAI,EAAE,qBAAqB,GAC1B,UAAU,CAAC,oBAAoB,CAAC;IAqBnC,YAAY,CAAC,IAAI,EAAE,qBAAqB;yCA5C7B,8BAA8B;2CAA9B,8BAA8B;CA+C1C"}
@@ -17,6 +17,6 @@ export declare class AddLayerFromFileComponent {
17
17
  private getFileExtension;
18
18
  private displayMessage;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AddLayerFromFileComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromFileComponent, "gn-ui-add-layer-from-file", never, {}, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromFileComponent, "gn-ui-add-layer-from-file", never, {}, {}, never, never, true, never>;
21
21
  }
22
22
  //# sourceMappingURL=add-layer-from-file.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer-from-file.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAA;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;;AAIhD,qBAKa,yBAAyB;IAQlC,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,iBAAiB;IAR3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAClC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAO;IACpC,OAAO,UAAQ;IACf,QAAQ,CAAC,gBAAgB,WAAe;IACxC,QAAQ,CAAC,WAAW,WAAU;gBAGpB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB;IAGxC,gBAAgB,CAAC,IAAI,EAAE,IAAI;YAYnB,QAAQ;IA0BtB,OAAO,CAAC,eAAe;IAuBvB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,cAAc;yCAlFX,yBAAyB;2CAAzB,yBAAyB;CA+FrC"}
1
+ {"version":3,"file":"add-layer-from-file.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAA;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;;AAOhD,qBAOa,yBAAyB;IAQlC,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,iBAAiB;IAR3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAClC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAO;IACpC,OAAO,UAAQ;IACf,QAAQ,CAAC,gBAAgB,WAAe;IACxC,QAAQ,CAAC,WAAW,WAAU;gBAGpB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB;IAGxC,gBAAgB,CAAC,IAAI,EAAE,IAAI;YAYnB,QAAQ;IA0BtB,OAAO,CAAC,eAAe;IAuBvB,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,cAAc;yCAlFX,yBAAyB;2CAAzB,yBAAyB;CA+FrC"}
@@ -1,4 +1,4 @@
1
- import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { DropdownChoice } from '../../../../../../libs/ui/inputs/src';
4
4
  import { MapLayer } from '../+state/map.models';
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer-from-ogc-api.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,YAAY,EAGZ,iBAAiB,EAClB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,OAAO,EAAgB,MAAM,MAAM,CAAA;AAM5C,OAAO,EAAE,cAAc,EAAkB,MAAM,sCAAsC,CAAA;AAErF,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;AAE/C,qBAOa,2BAA4B,YAAW,MAAM;IAU5C,OAAO,CAAC,iBAAiB;IAT5B,MAAM,EAAE,MAAM,CAAA;IACb,UAAU,yBAA+B;IAEnD,SAAS,kBAAwB;IACjC,OAAO,UAAQ;IACf,MAAM,EAAE,GAAG,EAAE,CAAK;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAClC,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;KAAE,CAAK;gBAE/C,iBAAiB,EAAE,iBAAiB;IAExD,QAAQ;IAMF,UAAU;IAqBhB,oBAAoB;IASpB,eAAe,CAAC,KAAK,EAAE,GAAG;IAiB1B,kBAAkB,CAAC,KAAK,EAAE,GAAG;IAS7B,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG;IAMhD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG;yCAhFjC,2BAA2B;2CAA3B,2BAA2B;CA2GvC"}
1
+ {"version":3,"file":"add-layer-from-ogc-api.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEZ,MAAM,EAEP,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAgB,OAAO,EAAE,MAAM,MAAM,CAAA;AAM5C,OAAO,EACL,cAAc,EAGf,MAAM,sCAAsC,CAAA;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;AAE/C,qBAOa,2BAA4B,YAAW,MAAM;IAU5C,OAAO,CAAC,iBAAiB;IAT5B,MAAM,EAAE,MAAM,CAAA;IACb,UAAU,yBAA+B;IAEnD,SAAS,kBAAwB;IACjC,OAAO,UAAQ;IACf,MAAM,EAAE,GAAG,EAAE,CAAK;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAClC,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;KAAE,CAAK;gBAE/C,iBAAiB,EAAE,iBAAiB;IAExD,QAAQ;IAMF,UAAU;IAqBhB,oBAAoB;IASpB,eAAe,CAAC,KAAK,EAAE,GAAG;IAiB1B,kBAAkB,CAAC,KAAK,EAAE,GAAG;IAS7B,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG;IAMhD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG;yCAhFjC,2BAA2B;2CAA3B,2BAA2B;CA2GvC"}
@@ -17,6 +17,6 @@ export declare class AddLayerFromWfsComponent implements OnInit {
17
17
  loadLayers(): Promise<void>;
18
18
  addLayer(layer: WfsFeatureTypeBrief): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AddLayerFromWfsComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromWfsComponent, "gn-ui-add-layer-from-wfs", never, {}, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromWfsComponent, "gn-ui-add-layer-from-wfs", never, {}, {}, never, never, true, never>;
21
21
  }
22
22
  //# sourceMappingURL=add-layer-from-wfs.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer-from-wfs.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAK9B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;;AAGhD,qBAKa,wBAAyB,YAAW,MAAM;IASnD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,iBAAiB;IAT3B,MAAM,SAAK;IACX,OAAO,UAAQ;IACf,MAAM,EAAE,mBAAmB,EAAE,CAAK;IAClC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAO;IACtC,SAAS,kBAAwB;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;gBAGxB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB;IAG9C,QAAQ;IAIF,UAAU;IAuBhB,QAAQ,CAAC,KAAK,EAAE,mBAAmB;yCAxCxB,wBAAwB;2CAAxB,wBAAwB;CAgDpC"}
1
+ {"version":3,"file":"add-layer-from-wfs.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAK9B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;;AAMhD,qBAOa,wBAAyB,YAAW,MAAM;IASnD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,iBAAiB;IAT3B,MAAM,SAAK;IACX,OAAO,UAAQ;IACf,MAAM,EAAE,mBAAmB,EAAE,CAAK;IAClC,WAAW,EAAE,WAAW,GAAG,IAAI,CAAO;IACtC,SAAS,kBAAwB;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;gBAGxB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB;IAG9C,QAAQ;IAIF,UAAU;IAuBhB,QAAQ,CAAC,KAAK,EAAE,mBAAmB;yCAxCxB,wBAAwB;2CAAxB,wBAAwB;CAgDpC"}
@@ -17,6 +17,6 @@ export declare class AddLayerFromWmsComponent implements OnInit {
17
17
  loadLayers(): Promise<void>;
18
18
  addLayer(layer: WmsLayerSummary): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<AddLayerFromWmsComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromWmsComponent, "gn-ui-add-layer-from-wms", never, {}, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromWmsComponent, "gn-ui-add-layer-from-wms", never, {}, {}, never, never, true, never>;
21
21
  }
22
22
  //# sourceMappingURL=add-layer-from-wms.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-layer-from-wms.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,iBAAiB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAKhD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAG9B,qBAKa,wBAAyB,YAAW,MAAM;IASnD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,iBAAiB;IAT3B,MAAM,SAAK;IACX,OAAO,UAAQ;IACf,MAAM,EAAE,eAAe,EAAE,CAAK;IAC9B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAO;IACtC,SAAS,kBAAwB;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;gBAGxB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB;IAG9C,QAAQ;IAIF,UAAU;IAsBhB,QAAQ,CAAC,KAAK,EAAE,eAAe;yCAvCpB,wBAAwB;2CAAxB,wBAAwB;CA+CpC"}
1
+ {"version":3,"file":"add-layer-from-wms.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAa,MAAM,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAKhD,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAM9B,qBAOa,wBAAyB,YAAW,MAAM;IASnD,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,iBAAiB;IAT3B,MAAM,SAAK;IACX,OAAO,UAAQ;IACf,MAAM,EAAE,eAAe,EAAE,CAAK;IAC9B,WAAW,EAAE,WAAW,GAAG,IAAI,CAAO;IACtC,SAAS,kBAAwB;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;gBAGxB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB;IAG9C,QAAQ;IAIF,UAAU;IAsBhB,QAAQ,CAAC,KAAK,EAAE,eAAe;yCAvCpB,wBAAwB;2CAAxB,wBAAwB;CA+CpC"}