geonetwork-ui 2.4.0-dev.cec60ff1 → 2.4.0-dev.d000fb89

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 (468) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +7 -5
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +30 -2
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +23 -1
  8. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +10 -3
  9. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +31 -3
  10. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +11 -1
  11. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +11 -1
  12. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  13. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  14. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  15. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  16. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  17. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  18. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  19. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  20. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +3 -1
  21. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +8 -3
  22. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +10 -2
  23. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  24. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
  25. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
  26. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
  27. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +78 -0
  28. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +96 -0
  29. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +164 -0
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +19 -41
  31. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +10 -8
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +101 -0
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +28 -0
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +10 -6
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +11 -11
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +9 -8
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +111 -5
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +49 -52
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +16 -14
  41. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +37 -43
  42. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +1 -2
  43. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +13 -7
  44. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
  45. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  46. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
  47. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +175 -59
  48. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  49. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  50. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +8 -3
  51. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
  52. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -5
  53. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
  54. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
  55. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
  56. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
  57. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
  58. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
  59. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  60. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -5
  61. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
  62. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
  63. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
  64. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  65. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +48 -8
  66. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
  67. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  68. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  69. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  70. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  71. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
  72. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  73. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  74. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +5 -11
  75. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +3 -3
  76. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
  77. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +6 -10
  78. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +11 -5
  79. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  80. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  81. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
  82. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +26 -24
  83. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +17 -14
  84. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
  85. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +6 -21
  86. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
  87. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
  88. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
  89. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
  90. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  91. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
  92. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  93. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
  94. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +31 -11
  95. package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
  96. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  97. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  98. package/esm2022/translations/de.json +112 -34
  99. package/esm2022/translations/en.json +88 -10
  100. package/esm2022/translations/es.json +83 -5
  101. package/esm2022/translations/fr.json +99 -21
  102. package/esm2022/translations/it.json +86 -8
  103. package/esm2022/translations/nl.json +83 -5
  104. package/esm2022/translations/pt.json +83 -5
  105. package/fesm2022/geonetwork-ui.mjs +5175 -3416
  106. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  107. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  108. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  109. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  110. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  111. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  112. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  113. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +8 -1
  114. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  115. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  116. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  117. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -1
  118. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  119. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +1 -0
  120. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  121. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +7 -1
  122. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  123. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  124. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +1 -0
  125. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  126. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
  127. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  128. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -1
  129. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  130. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  131. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  132. package/libs/common/domain/src/lib/platform.service.interface.d.ts +1 -0
  133. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  134. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +17 -0
  135. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  136. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  137. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  138. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  139. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  140. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  141. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +6 -0
  142. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  143. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +5 -0
  144. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  145. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -4
  146. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  147. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  148. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  149. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
  150. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  151. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
  152. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  153. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
  154. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  155. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +32 -0
  156. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  157. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +27 -0
  158. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +1 -0
  159. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +44 -0
  160. 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
  161. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +8 -19
  162. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  163. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
  164. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  165. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +22 -0
  166. 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
  167. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +15 -0
  168. 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
  169. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +13 -0
  170. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  171. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +4 -3
  172. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +1 -1
  173. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -4
  174. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  175. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +4 -3
  176. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  177. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +23 -0
  178. 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
  179. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +15 -15
  180. 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
  181. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +5 -5
  182. 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
  183. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +16 -20
  184. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  185. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +0 -1
  186. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  187. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +6 -7
  188. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  189. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  190. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  191. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  192. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  193. package/libs/feature/editor/src/lib/fields.config.d.ts +46 -2
  194. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  195. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +36 -0
  196. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  197. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  198. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  199. package/libs/feature/editor/src/lib/services/editor.service.d.ts +3 -2
  200. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  201. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  202. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  203. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +1 -1
  204. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  205. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  206. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  207. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +1 -1
  208. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  209. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
  210. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  211. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
  212. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  213. package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -21
  214. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  215. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
  216. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  217. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  218. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  219. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  220. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  221. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  222. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  223. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  224. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  225. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  226. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +15 -4
  227. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  228. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  229. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  230. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  231. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  232. package/libs/ui/elements/src/index.d.ts +1 -0
  233. package/libs/ui/elements/src/index.d.ts.map +1 -1
  234. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  235. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  236. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  237. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
  238. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  239. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  240. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +5 -10
  241. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
  242. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +8 -6
  243. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  244. package/libs/ui/inputs/src/index.d.ts +1 -0
  245. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  246. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  247. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  248. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  249. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  250. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +3 -4
  251. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  252. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +17 -0
  253. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  254. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  255. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  256. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  257. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  258. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
  259. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  260. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +18 -0
  261. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  262. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  263. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  264. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
  265. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  266. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  267. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  268. package/libs/ui/widgets/src/index.d.ts +1 -0
  269. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  270. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  271. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  272. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  273. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  274. package/package.json +1 -1
  275. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +6 -1
  276. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +5 -1
  277. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +37 -12
  278. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +5 -1
  279. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  280. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  281. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  282. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +6 -2
  283. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +72 -2
  284. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  285. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +70 -1
  286. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -5
  287. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +42 -2
  288. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
  289. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +43 -12
  290. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
  291. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
  292. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  293. package/src/libs/common/domain/src/lib/platform.service.interface.ts +4 -0
  294. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +22 -0
  295. package/src/libs/common/fixtures/src/index.ts +3 -1
  296. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  297. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  298. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  299. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  300. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  301. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  302. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  303. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  304. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  305. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  306. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  307. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  308. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +84 -56
  309. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  310. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  311. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  312. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +6 -6
  313. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  314. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  315. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  316. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +32 -15
  317. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  318. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  319. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  320. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  321. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  322. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  323. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -0
  324. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +17 -2
  325. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  326. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  327. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
  328. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
  329. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
  330. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +27 -0
  331. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
  332. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +0 -0
  333. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  334. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +89 -0
  335. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +2 -1
  336. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +74 -31
  337. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +0 -0
  338. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +76 -0
  339. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +249 -0
  340. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -17
  341. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +18 -51
  342. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
  343. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
  344. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
  345. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
  346. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  347. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  348. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +48 -0
  349. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  350. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
  351. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +33 -0
  352. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +2 -2
  353. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +9 -3
  354. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +2 -2
  355. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +13 -7
  356. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
  357. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
  358. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +15 -1
  359. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +156 -1
  360. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +9 -2
  361. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +59 -70
  362. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +17 -15
  363. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +105 -70
  364. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +44 -43
  365. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +0 -1
  366. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +52 -11
  367. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +19 -7
  368. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  369. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  370. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  371. package/src/libs/feature/editor/src/lib/fields.config.ts +211 -60
  372. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +53 -0
  373. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  374. package/src/libs/feature/editor/src/lib/services/editor.service.ts +15 -4
  375. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  376. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
  377. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
  378. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  379. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
  380. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  381. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
  382. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  383. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
  384. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
  385. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
  386. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
  387. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  388. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -4
  389. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  390. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  391. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  392. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  393. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  394. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +4 -1
  395. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +66 -3
  396. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  397. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
  398. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  399. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  400. package/src/libs/ui/elements/src/index.ts +1 -0
  401. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  402. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  403. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  404. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  405. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
  406. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
  407. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  408. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  409. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
  410. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  411. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  412. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -10
  413. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +7 -7
  414. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +8 -2
  415. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  416. package/src/libs/ui/inputs/src/index.ts +1 -0
  417. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
  418. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +40 -26
  419. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +0 -0
  420. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +85 -0
  421. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +91 -0
  422. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +49 -49
  423. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +15 -13
  424. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +31 -0
  425. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
  426. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +38 -0
  427. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
  428. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +2 -27
  429. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  430. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  431. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  432. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  433. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
  434. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
  435. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
  436. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
  437. package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
  438. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  439. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  440. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
  441. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
  442. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +24 -3
  443. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +27 -16
  444. package/src/libs/ui/widgets/src/index.ts +1 -0
  445. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  446. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  447. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  448. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  449. package/tailwind.base.css +18 -5
  450. package/translations/de.json +112 -34
  451. package/translations/en.json +88 -10
  452. package/translations/es.json +83 -5
  453. package/translations/fr.json +99 -21
  454. package/translations/it.json +86 -8
  455. package/translations/nl.json +83 -5
  456. package/translations/pt.json +83 -5
  457. package/translations/sk.json +84 -6
  458. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  459. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  460. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  461. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  462. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  463. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  464. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  465. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  466. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  467. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  468. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
@@ -1,4 +1,4 @@
1
- import { FEATURE_COLLECTION_POLYGON_FIXTURE_4326 } from '../../../../../../libs/common/fixtures/src'
1
+ import { polygonFeatureCollectionFixture } from '../../../../../../libs/common/fixtures/src'
2
2
  import { Extent } from 'ol/extent'
3
3
  import {
4
4
  MapContextLayerGeojsonModel,
@@ -8,44 +8,48 @@ import {
8
8
  MapContextViewModel,
9
9
  } from '../map-context/map-context.model'
10
10
 
11
- export const MAP_CTX_LAYER_XYZ_FIXTURE: MapContextLayerModel = {
11
+ export const mapCtxLayerXyzFixture = (): MapContextLayerModel => ({
12
12
  type: MapContextLayerTypeEnum.XYZ,
13
13
  url: 'https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png',
14
- }
15
- export const MAP_CTX_LAYER_WMS_FIXTURE: MapContextLayerModel = {
14
+ })
15
+
16
+ export const mapCtxLayerWmsFixture = (): MapContextLayerModel => ({
16
17
  type: MapContextLayerTypeEnum.WMS,
17
18
  url: 'https://www.geograndest.fr/geoserver/region-grand-est/ows?REQUEST=GetCapabilities&SERVICE=WMS',
18
19
  name: 'commune_actuelle_3857',
19
- }
20
- export const MAP_CTX_LAYER_WFS_FIXTURE: MapContextLayerModel = {
20
+ })
21
+
22
+ export const mapCtxLayerWfsFixture = (): MapContextLayerModel => ({
21
23
  type: MapContextLayerTypeEnum.WFS,
22
24
  url: 'https://www.geograndest.fr/geoserver/region-grand-est/ows?REQUEST=GetCapabilities&SERVICE=WFS&VERSION=1.1.0',
23
25
  name: 'ms:commune_actuelle_3857',
24
- }
25
- export const MAP_CTX_LAYER_GEOJSON_FIXTURE: MapContextLayerGeojsonModel = {
26
+ })
27
+
28
+ export const mapCtxLayerGeojsonFixture = (): MapContextLayerGeojsonModel => ({
26
29
  type: MapContextLayerTypeEnum.GEOJSON,
27
- data: FEATURE_COLLECTION_POLYGON_FIXTURE_4326,
28
- }
29
- export const MAP_CTX_LAYER_GEOJSON_REMOTE_FIXTURE: MapContextLayerGeojsonModel =
30
- {
30
+ data: polygonFeatureCollectionFixture(),
31
+ })
32
+
33
+ export const mapCtxLayerGeojsonRemoteFixture =
34
+ (): MapContextLayerGeojsonModel => ({
31
35
  type: MapContextLayerTypeEnum.GEOJSON,
32
36
  url: 'https://my.host.com/data/regions.json',
33
- }
37
+ })
34
38
 
35
- export const MAP_CTX_VIEW_FIXTURE: MapContextViewModel = {
39
+ export const mapCtxViewFixture = (): MapContextViewModel => ({
36
40
  center: [7.75, 48.6],
37
41
  zoom: 9,
38
- }
42
+ })
39
43
 
40
- export const MAP_CTX_FIXTURE: MapContextModel = {
44
+ export const mapCtxFixture = (): MapContextModel => ({
41
45
  layers: [
42
- MAP_CTX_LAYER_XYZ_FIXTURE,
43
- MAP_CTX_LAYER_WMS_FIXTURE,
44
- MAP_CTX_LAYER_GEOJSON_FIXTURE,
46
+ mapCtxLayerXyzFixture(),
47
+ mapCtxLayerWmsFixture(),
48
+ mapCtxLayerGeojsonFixture(),
45
49
  ],
46
- view: MAP_CTX_VIEW_FIXTURE,
47
- }
50
+ view: mapCtxViewFixture(),
51
+ })
48
52
 
49
- export const MAP_CTX_EXTENT_FIXTURE: Extent = [
53
+ export const mapCtxExtentFixture = (): Extent => [
50
54
  171083.69713494915, 6246047.945419401, 476970.39956295764, 6631079.362882684,
51
55
  ]
@@ -4,42 +4,44 @@ const colorPrimary = 'blue'
4
4
  const colorSecondary = 'red'
5
5
  const colorStroke = 'white'
6
6
 
7
- export const DEFAULT_STYLE_FIXTURE = new Style({
8
- image: new Circle({
7
+ export const defaultMapStyleFixture = (): Style =>
8
+ new Style({
9
+ image: new Circle({
10
+ fill: new Fill({
11
+ color: colorPrimary,
12
+ }),
13
+ stroke: new Stroke({
14
+ color: colorStroke,
15
+ width: 2,
16
+ }),
17
+ radius: 5,
18
+ }),
9
19
  fill: new Fill({
10
- color: colorPrimary,
20
+ color: 'rgba(0,0,255,0.25)',
11
21
  }),
12
22
  stroke: new Stroke({
13
23
  color: colorStroke,
14
24
  width: 2,
15
25
  }),
16
- radius: 5,
17
- }),
18
- fill: new Fill({
19
- color: 'rgba(0,0,255,0.25)',
20
- }),
21
- stroke: new Stroke({
22
- color: colorStroke,
23
- width: 2,
24
- }),
25
- })
26
+ })
26
27
 
27
- export const DEFAULT_STYLE_HL_FIXTURE = new Style({
28
- image: new Circle({
28
+ export const defaultMapStyleHlFixture = (): Style =>
29
+ new Style({
30
+ image: new Circle({
31
+ fill: new Fill({
32
+ color: colorSecondary,
33
+ }),
34
+ stroke: new Stroke({
35
+ color: colorStroke,
36
+ width: 3,
37
+ }),
38
+ radius: 6,
39
+ }),
29
40
  fill: new Fill({
30
- color: colorSecondary,
41
+ color: 'rgba(255,0,0,0.25)',
31
42
  }),
32
43
  stroke: new Stroke({
33
- color: colorStroke,
44
+ color: colorSecondary,
34
45
  width: 3,
35
46
  }),
36
- radius: 6,
37
- }),
38
- fill: new Fill({
39
- color: 'rgba(255,0,0,0.25)',
40
- }),
41
- stroke: new Stroke({
42
- color: colorSecondary,
43
- width: 3,
44
- }),
45
- })
47
+ })
@@ -32,7 +32,7 @@ import { ProxyService } from '../../../../../../libs/util/shared/src'
32
32
  import { WmsEndpoint, WmtsEndpoint } from '@camptocamp/ogc-client'
33
33
  import { LONLAT_CRS_CODES } from '../constant/projections'
34
34
  import { fromEPSGCode, register } from 'ol/proj/proj4'
35
- import proj4 from 'proj4/dist/proj4'
35
+ import proj4 from 'proj4'
36
36
  import { defaults as defaultControls } from 'ol/control/defaults'
37
37
 
38
38
  const FEATURE_PROJECTION = 'EPSG:3857'
@@ -220,11 +220,15 @@ export class MapUtilsService {
220
220
  if (!('spatialExtents' in record) || record.spatialExtents.length === 0) {
221
221
  return null
222
222
  }
223
- // transform an array of geojson geometries into a bbox
223
+ // extend all the spatial extents into an including bbox
224
224
  const totalExtent = record.spatialExtents.reduce(
225
225
  (prev, curr) => {
226
- const geom = GEOJSON.readGeometry(curr.geometry)
227
- return extend(prev, geom.getExtent())
226
+ if ('bbox' in curr) return extend(prev, curr.bbox)
227
+ else if ('geometry' in curr) {
228
+ const geom = GEOJSON.readGeometry(curr.geometry)
229
+ return extend(prev, geom.getExtent())
230
+ }
231
+ return prev
228
232
  },
229
233
  [Infinity, Infinity, -Infinity, -Infinity]
230
234
  )
@@ -3,10 +3,11 @@ import {
3
3
  Component,
4
4
  Inject,
5
5
  InjectionToken,
6
+ Input,
6
7
  Optional,
7
8
  } from '@angular/core'
8
9
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
9
- import { combineLatest, map } from 'rxjs'
10
+ import { BehaviorSubject, combineLatest, map } from 'rxjs'
10
11
  import { MdViewFacade } from '../state'
11
12
  import { GN_UI_VERSION } from '../gn-ui-version.token'
12
13
 
@@ -21,29 +22,45 @@ export const WEB_COMPONENT_EMBEDDER_URL = new InjectionToken<string>(
21
22
  changeDetection: ChangeDetectionStrategy.OnPush,
22
23
  })
23
24
  export class DataViewPermalinkComponent {
25
+ viewType$ = new BehaviorSubject<string>('map')
26
+ @Input()
27
+ set viewType(value: string) {
28
+ this.viewType$.next(value)
29
+ }
30
+
24
31
  permalinkUrl$ = combineLatest([
32
+ this.viewType$,
25
33
  this.facade.chartConfig$,
26
34
  this.facade.metadata$,
27
35
  ]).pipe(
28
- map(([config, metadata]) => {
29
- if (config) {
30
- const { aggregation, xProperty, yProperty, chartType } = config
31
- const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin)
32
- url.searchParams.set('v', `${this.version}`)
33
- url.searchParams.append('e', `gn-dataset-view-chart`)
34
- url.searchParams.append('a', `api-url=${this.config.basePath}`)
35
- url.searchParams.append('a', `dataset-id=${metadata.uniqueIdentifier}`)
36
- url.searchParams.append('a', `primary-color=#0f4395`)
37
- url.searchParams.append('a', `secondary-color=#8bc832`)
38
- url.searchParams.append('a', `main-color=#555`)
39
- url.searchParams.append('a', `background-color=#fdfbff`)
40
- url.searchParams.append('a', `aggregation=${aggregation}`)
41
- url.searchParams.append('a', `x-property=${xProperty}`)
42
- url.searchParams.append('a', `y-property=${yProperty}`)
43
- url.searchParams.append('a', `chart-type=${chartType}`)
44
- return url.toString()
36
+ map(([viewType, config, metadata]) => {
37
+ const url = new URL(`${this.wcEmbedderBaseUrl}`, window.location.origin)
38
+ url.searchParams.set('v', `${this.version}`)
39
+ if (viewType === 'chart') {
40
+ if (config) {
41
+ const { aggregation, xProperty, yProperty, chartType } = config
42
+ url.searchParams.append('e', `gn-dataset-view-chart`)
43
+ url.searchParams.append('a', `aggregation=${aggregation}`)
44
+ url.searchParams.append('a', `x-property=${xProperty}`)
45
+ url.searchParams.append('a', `y-property=${yProperty}`)
46
+ url.searchParams.append('a', `chart-type=${chartType}`)
47
+ } else {
48
+ return ''
49
+ }
50
+ } else if (viewType === 'table') {
51
+ // table
52
+ url.searchParams.append('e', `gn-dataset-view-table`)
53
+ } else {
54
+ // map
55
+ url.searchParams.append('e', `gn-dataset-view-map`)
45
56
  }
46
- return ''
57
+ url.searchParams.append('a', `api-url=${this.config.basePath}`)
58
+ url.searchParams.append('a', `dataset-id=${metadata.uniqueIdentifier}`)
59
+ url.searchParams.append('a', `primary-color=#0f4395`)
60
+ url.searchParams.append('a', `secondary-color=#8bc832`)
61
+ url.searchParams.append('a', `main-color=#555`)
62
+ url.searchParams.append('a', `background-color=#fdfbff`)
63
+ return url.toString()
47
64
  })
48
65
  )
49
66
 
@@ -10,7 +10,9 @@
10
10
  <ng-template mat-tab-label>
11
11
  <span class="tab-header-label-gray" translate>share.tab.permalink</span>
12
12
  </ng-template>
13
- <gn-ui-data-view-permalink></gn-ui-data-view-permalink>
13
+ <gn-ui-data-view-permalink
14
+ [viewType]="viewType"
15
+ ></gn-ui-data-view-permalink>
14
16
  </mat-tab>
15
17
  <mat-tab>
16
18
  <ng-template mat-tab-label>
@@ -24,7 +26,9 @@
24
26
  >share.tab.webComponent</span
25
27
  >
26
28
  </ng-template>
27
- <gn-ui-data-view-web-component></gn-ui-data-view-web-component>
29
+ <gn-ui-data-view-web-component
30
+ [viewType]="viewType"
31
+ ></gn-ui-data-view-web-component>
28
32
  </mat-tab>
29
33
  </mat-tab-group>
30
34
  </div>
@@ -2,6 +2,7 @@ import {
2
2
  ChangeDetectionStrategy,
3
3
  Component,
4
4
  Inject,
5
+ Input,
5
6
  Optional,
6
7
  } from '@angular/core'
7
8
  import { WEB_COMPONENT_EMBEDDER_URL } from '../data-view-permalink/data-view-permalink.component'
@@ -13,6 +14,16 @@ import { WEB_COMPONENT_EMBEDDER_URL } from '../data-view-permalink/data-view-per
13
14
  changeDetection: ChangeDetectionStrategy.OnPush,
14
15
  })
15
16
  export class DataViewShareComponent {
17
+ private _viewType: string
18
+
19
+ @Input()
20
+ set viewType(value: string) {
21
+ this._viewType = value
22
+ }
23
+
24
+ get viewType(): string {
25
+ return this._viewType
26
+ }
16
27
  constructor(
17
28
  @Optional()
18
29
  @Inject(WEB_COMPONENT_EMBEDDER_URL)
@@ -1,7 +1,12 @@
1
- import { ChangeDetectionStrategy, Component, Inject } from '@angular/core'
1
+ import {
2
+ ChangeDetectionStrategy,
3
+ Component,
4
+ Inject,
5
+ Input,
6
+ } from '@angular/core'
2
7
  import { Configuration } from '../../../../../../libs/data-access/gn4/src'
3
8
  import { MdViewFacade } from '../state'
4
- import { combineLatest, map } from 'rxjs'
9
+ import { BehaviorSubject, combineLatest, map } from 'rxjs'
5
10
  import { GN_UI_VERSION } from '../gn-ui-version.token'
6
11
 
7
12
  @Component({
@@ -11,35 +16,77 @@ import { GN_UI_VERSION } from '../gn-ui-version.token'
11
16
  changeDetection: ChangeDetectionStrategy.OnPush,
12
17
  })
13
18
  export class DataViewWebComponentComponent {
19
+ viewType$ = new BehaviorSubject<string>('map')
20
+ @Input()
21
+ set viewType(value: string) {
22
+ this.viewType$.next(value)
23
+ }
14
24
  webComponentHtml$ = combineLatest(
25
+ this.viewType$,
15
26
  this.facade.chartConfig$,
16
27
  this.facade.metadata$
17
28
  ).pipe(
18
- map(([config, metadata]) => {
19
- if (config) {
20
- const { aggregation, xProperty, yProperty, chartType } = config
29
+ map(([viewType, config, metadata]) => {
30
+ if (viewType === 'chart') {
31
+ if (config) {
32
+ const { aggregation, xProperty, yProperty, chartType } = config
33
+ return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
34
+ this.version
35
+ }/gn-wc.js"></script>
36
+ <gn-dataset-view-chart
37
+ api-url="${new URL(
38
+ this.config.basePath,
39
+ window.location.origin
40
+ ).toString()}"
41
+ dataset-id="${metadata.uniqueIdentifier}"
42
+ aggregation="${aggregation}"
43
+ x-property="${xProperty}"
44
+ y-property="${yProperty}"
45
+ chart-type="${chartType}"
46
+ primary-color="#0f4395"
47
+ secondary-color="#8bc832"
48
+ main-color="#555"
49
+ background-color="#fdfbff"
50
+ main-font="'Inter', sans-serif"
51
+ title-font="'DM Serif Display', serif"
52
+ ></gn-dataset-view-chart>`
53
+ }
54
+ return ''
55
+ } else if (viewType === 'table') {
21
56
  return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
22
57
  this.version
23
58
  }/gn-wc.js"></script>
24
- <gn-dataset-view-chart
59
+ <gn-dataset-view-table
60
+ api-url="${new URL(
61
+ this.config.basePath,
62
+ window.location.origin
63
+ ).toString()}"
64
+ dataset-id="${metadata.uniqueIdentifier}"
65
+ primary-color="#0f4395"
66
+ secondary-color="#8bc832"
67
+ main-color="#555"
68
+ background-color="#fdfbff"
69
+ main-font="'Inter', sans-serif"
70
+ title-font="'DM Serif Display', serif"
71
+ ></gn-dataset-view-table>`
72
+ } else {
73
+ return `<script src="https://cdn.jsdelivr.net/gh/geonetwork/geonetwork-ui@wc-dist-${
74
+ this.version
75
+ }/gn-wc.js"></script>
76
+ <gn-dataset-view-map
25
77
  api-url="${new URL(
26
78
  this.config.basePath,
27
79
  window.location.origin
28
80
  ).toString()}"
29
81
  dataset-id="${metadata.uniqueIdentifier}"
30
- aggregation="${aggregation}"
31
- x-property="${xProperty}"
32
- y-property="${yProperty}"
33
- chart-type="${chartType}"
34
82
  primary-color="#0f4395"
35
83
  secondary-color="#8bc832"
36
84
  main-color="#555"
37
85
  background-color="#fdfbff"
38
86
  main-font="'Inter', sans-serif"
39
87
  title-font="'DM Serif Display', serif"
40
- ></gn-dataset-view-chart>`
88
+ ></gn-dataset-view-map>`
41
89
  }
42
- return ''
43
90
  })
44
91
  )
45
92
 
@@ -6,6 +6,6 @@
6
6
  (inputSubmitted)="handleInputSubmission($event)"
7
7
  (inputCleared)="handleInputCleared()"
8
8
  [value]="searchInputValue$ | async"
9
- [clearOnSelection]="true"
9
+ [preventCompleteOnSelection]="true"
10
10
  [autoFocus]="autoFocus"
11
11
  ></gn-ui-autocomplete>
@@ -1,9 +1,12 @@
1
1
  <gn-ui-results-table
2
2
  [records]="records$ | async"
3
- [recordHasDraft]="hasDraft"
3
+ [hasDraft]="hasDraft"
4
4
  [selectedRecordsIdentifiers]="selectedRecords$ | async"
5
5
  [sortOrder]="sortBy$ | async"
6
+ [isUnsavedDraft]="isUnsavedDraft"
6
7
  (recordClick)="handleRecordClick($event)"
8
+ (duplicateRecord)="handleDuplicateRecord($event)"
9
+ (deleteRecord)="handleDeleteRecord($event)"
7
10
  (recordsSelectedChange)="handleRecordsSelectedChange($event[0], $event[1])"
8
11
  (sortByChange)="handleSortByChange($event[0], $event[1])"
9
12
  ></gn-ui-results-table>
@@ -1,4 +1,10 @@
1
- import { Component, EventEmitter, Output } from '@angular/core'
1
+ import {
2
+ Component,
3
+ EventEmitter,
4
+ Input,
5
+ OnDestroy,
6
+ Output,
7
+ } from '@angular/core'
2
8
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
3
9
  import { SearchFacade } from '../state/search.facade'
4
10
  import { SelectionService } from '../../../../../../libs/api/repository/src'
@@ -6,6 +12,9 @@ import { SearchService } from '../utils/service/search.service'
6
12
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
7
13
  import { ResultsTableComponent } from '../../../../../../libs/ui/search/src'
8
14
  import { CommonModule } from '@angular/common'
15
+ import { Subscription } from 'rxjs'
16
+ import { NotificationsService } from '../../../../../../libs/feature/notifications/src'
17
+ import { TranslateService } from '@ngx-translate/core'
9
18
 
10
19
  @Component({
11
20
  selector: 'gn-ui-results-table-container',
@@ -14,8 +23,11 @@ import { CommonModule } from '@angular/common'
14
23
  standalone: true,
15
24
  imports: [CommonModule, ResultsTableComponent],
16
25
  })
17
- export class ResultsTableContainerComponent {
26
+ export class ResultsTableContainerComponent implements OnDestroy {
18
27
  @Output() recordClick = new EventEmitter<CatalogRecord>()
28
+ @Output() duplicateRecord = new EventEmitter<CatalogRecord>()
29
+
30
+ subscription = new Subscription()
19
31
 
20
32
  records$ = this.searchFacade.results$
21
33
  selectedRecords$ = this.selectionService.selectedRecordsIdentifiers$
@@ -24,17 +36,64 @@ export class ResultsTableContainerComponent {
24
36
  hasDraft = (record: CatalogRecord): boolean =>
25
37
  this.recordsRepository.recordHasDraft(record.uniqueIdentifier)
26
38
 
39
+ isUnsavedDraft = (record: CatalogRecord): boolean =>
40
+ this.recordsRepository.isRecordNotYetSaved(record.uniqueIdentifier)
41
+
27
42
  constructor(
28
43
  private searchFacade: SearchFacade,
29
44
  private searchService: SearchService,
30
45
  private selectionService: SelectionService,
31
- private recordsRepository: RecordsRepositoryInterface
46
+ private recordsRepository: RecordsRepositoryInterface,
47
+ private notificationsService: NotificationsService,
48
+ private translateService: TranslateService
32
49
  ) {}
33
50
 
34
51
  handleRecordClick(item: unknown) {
35
52
  this.recordClick.emit(item as CatalogRecord)
36
53
  }
37
54
 
55
+ handleDuplicateRecord(item: unknown) {
56
+ this.duplicateRecord.emit(item as CatalogRecord)
57
+ }
58
+
59
+ async handleDeleteRecord(item: unknown) {
60
+ const uniqueIdentifier = (item as CatalogRecord).uniqueIdentifier
61
+ this.subscription.add(
62
+ this.recordsRepository.deleteRecord(uniqueIdentifier).subscribe({
63
+ next: () => {
64
+ this.recordsRepository.clearRecordDraft(uniqueIdentifier)
65
+ this.searchFacade.requestNewResults()
66
+ this.notificationsService.showNotification(
67
+ {
68
+ type: 'success',
69
+ title: this.translateService.instant(
70
+ 'editor.record.deleteSuccess.title'
71
+ ),
72
+ text: `${this.translateService.instant(
73
+ 'editor.record.deleteSuccess.body'
74
+ )}`,
75
+ },
76
+ 2500
77
+ )
78
+ },
79
+ error: (error) => {
80
+ this.notificationsService.showNotification({
81
+ type: 'error',
82
+ title: this.translateService.instant(
83
+ 'editor.record.deleteError.title'
84
+ ),
85
+ text: `${this.translateService.instant(
86
+ 'editor.record.deleteError.body'
87
+ )} ${error}`,
88
+ closeMessage: this.translateService.instant(
89
+ 'editor.record.deleteError.closeMessage'
90
+ ),
91
+ })
92
+ },
93
+ })
94
+ )
95
+ }
96
+
38
97
  handleSortByChange(col: string, order: 'asc' | 'desc') {
39
98
  this.searchService.setSortBy([order, col])
40
99
  }
@@ -46,4 +105,8 @@ export class ResultsTableContainerComponent {
46
105
  this.selectionService.selectRecords(records)
47
106
  }
48
107
  }
108
+
109
+ ngOnDestroy() {
110
+ this.subscription.unsubscribe()
111
+ }
49
112
  }
@@ -1,4 +1,4 @@
1
- export const SEARCH_STATE_FILTERS_FIXTURE = {
1
+ export const searchStateFiltersFixture = () => ({
2
2
  recursiveTerms: {
3
3
  resourceType: {
4
4
  service: {
@@ -26,4 +26,4 @@ export const SEARCH_STATE_FILTERS_FIXTURE = {
26
26
  availableInViewService: '+linkProtocol:/OGC:WMS.*/',
27
27
  },
28
28
  },
29
- }
29
+ })
@@ -8,6 +8,7 @@ import {
8
8
  Paginate,
9
9
  RequestMoreOnAggregation,
10
10
  RequestMoreResults,
11
+ RequestNewResults,
11
12
  SetConfigAggregations,
12
13
  SetConfigFilters,
13
14
  SetConfigRequestFields,
@@ -151,6 +152,11 @@ export class SearchFacade {
151
152
  return this
152
153
  }
153
154
 
155
+ requestNewResults(): SearchFacade {
156
+ this.store.dispatch(new RequestNewResults(this.searchId))
157
+ return this
158
+ }
159
+
154
160
  requestMoreOnAggregation(key: string, increment: number): SearchFacade {
155
161
  this.store.dispatch(
156
162
  new RequestMoreOnAggregation(key, increment, this.searchId)
@@ -1,4 +1,4 @@
1
- export const CHART_ITEM_FIXTURE = [
1
+ export const charItemFixture = () => [
2
2
  {
3
3
  name: 'name 1',
4
4
  id: 'id 1',
@@ -19,7 +19,7 @@ export const CHART_ITEM_FIXTURE = [
19
19
  },
20
20
  ]
21
21
 
22
- export const CHART_ITEM_FIXTURE_HAB = [
22
+ export const chartItemHabFixture = () => [
23
23
  {
24
24
  name: 'France',
25
25
  id: '1',
@@ -1,4 +1,4 @@
1
- export const TABLE_ITEM_FIXTURE = [
1
+ export const tableItemFixture = () => [
2
2
  {
3
3
  name: 'name 1',
4
4
  id: 'id 1',
@@ -16,7 +16,7 @@ export const TABLE_ITEM_FIXTURE = [
16
16
  },
17
17
  ]
18
18
 
19
- export const TABLE_ITEM_FIXTURE_HAB = [
19
+ export const someHabTableItemFixture = () => [
20
20
  {
21
21
  name: 'France',
22
22
  id: '1',
@@ -1,5 +1,6 @@
1
1
  export * from './lib/api-card/api-card.component'
2
2
  export * from './lib/avatar/avatar.component'
3
+ export * from './lib/confirmation-dialog/confirmation-dialog.component'
3
4
  export * from './lib/content-ghost/content-ghost.component'
4
5
  export * from './lib/download-item/download-item.component'
5
6
  export * from './lib/downloads-list/downloads-list.component'