geonetwork-ui 2.4.0-dev.a1bcfe22 → 2.4.0-dev.a6f221e3

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 (282) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +1 -2
  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/iso19139/iso19139.converter.mjs +7 -5
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +30 -2
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +23 -1
  7. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +10 -3
  8. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +21 -4
  9. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +11 -1
  10. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +11 -1
  11. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  12. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  13. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  14. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  15. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +29 -0
  16. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +78 -0
  17. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +131 -0
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +170 -0
  19. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +15 -39
  20. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +101 -0
  21. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +47 -0
  22. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +21 -0
  23. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +111 -5
  24. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +7 -6
  25. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +33 -9
  26. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
  27. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +8 -8
  28. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +6 -4
  29. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +37 -4
  30. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +6 -6
  31. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +6 -5
  32. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +8 -5
  33. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +6 -7
  34. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +8 -7
  35. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +7 -6
  36. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +7 -26
  37. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +29 -13
  38. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +10 -5
  39. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  40. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +40 -7
  41. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +6 -2
  42. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  43. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  44. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +4 -3
  45. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  46. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  47. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -5
  48. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +7 -3
  49. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +7 -4
  50. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  51. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +19 -5
  52. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +17 -14
  53. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +32 -0
  54. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +6 -21
  55. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +6 -17
  56. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +3 -7
  57. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +43 -0
  58. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +3 -3
  59. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +3 -3
  60. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +3 -3
  61. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +49 -11
  62. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +18 -6
  63. package/esm2022/translations/de.json +50 -17
  64. package/esm2022/translations/en.json +43 -10
  65. package/esm2022/translations/es.json +42 -9
  66. package/esm2022/translations/fr.json +54 -21
  67. package/esm2022/translations/it.json +43 -10
  68. package/esm2022/translations/nl.json +42 -9
  69. package/esm2022/translations/pt.json +42 -9
  70. package/fesm2022/geonetwork-ui.mjs +4607 -3394
  71. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  72. package/libs/api/metadata-converter/src/index.d.ts +0 -1
  73. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  74. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  75. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  76. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  77. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +8 -1
  78. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  79. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  80. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  81. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -1
  82. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  83. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +1 -0
  84. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  85. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +6 -1
  86. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  87. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  88. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +1 -0
  89. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  90. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +1 -0
  91. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  92. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +3 -1
  93. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  94. package/libs/common/domain/src/lib/platform.service.interface.d.ts +1 -0
  95. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  96. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +8 -0
  97. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  98. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +12 -0
  99. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  100. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +32 -0
  101. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  102. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +27 -0
  103. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +1 -0
  104. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +47 -0
  105. 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
  106. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +4 -16
  107. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  108. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +22 -0
  109. 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
  110. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +17 -0
  111. 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
  112. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +11 -0
  113. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  114. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +23 -0
  115. 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
  116. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +3 -1
  117. 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
  118. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +9 -1
  119. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  120. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  121. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  122. package/libs/feature/editor/src/lib/fields.config.d.ts +8 -0
  123. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  124. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  125. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  126. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +1 -1
  127. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  128. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  129. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  130. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +1 -1
  131. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  132. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +1 -1
  133. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  134. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +1 -1
  135. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  136. package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -21
  137. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  138. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +1 -1
  139. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  140. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  141. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +11 -3
  142. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  143. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  144. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  145. package/libs/ui/elements/src/index.d.ts +1 -0
  146. package/libs/ui/elements/src/index.d.ts.map +1 -1
  147. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  148. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  149. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  150. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  151. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +4 -4
  152. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -1
  153. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
  154. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  155. package/libs/ui/inputs/src/index.d.ts +1 -0
  156. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  157. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  158. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  159. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +3 -4
  160. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  161. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +17 -0
  162. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  163. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  164. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  165. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  166. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  167. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +34 -35
  168. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  169. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +18 -0
  170. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  171. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +10 -1
  172. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  173. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +6 -2
  174. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  175. package/package.json +1 -1
  176. package/src/libs/api/metadata-converter/src/index.ts +0 -1
  177. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +6 -1
  178. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +5 -1
  179. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +37 -12
  180. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +5 -1
  181. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  182. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +6 -2
  183. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +72 -2
  184. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  185. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +70 -1
  186. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +13 -5
  187. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +24 -4
  188. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +12 -1
  189. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +43 -12
  190. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +28 -0
  191. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +3 -1
  192. package/src/libs/common/domain/src/lib/platform.service.interface.ts +4 -0
  193. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
  194. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.css +0 -0
  195. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +25 -0
  196. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +30 -0
  197. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +0 -0
  198. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  199. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +89 -0
  200. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +2 -1
  201. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +110 -19
  202. 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
  203. 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
  204. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +271 -0
  205. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -17
  206. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +9 -48
  207. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css +0 -0
  208. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +4 -0
  209. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +128 -0
  210. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  211. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  212. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +59 -0
  213. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  214. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +5 -0
  215. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +22 -0
  216. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +15 -1
  217. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +156 -1
  218. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +8 -7
  219. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +20 -3
  220. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +30 -1
  221. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +1 -1
  222. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  223. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  224. package/src/libs/feature/editor/src/lib/fields.config.ts +40 -3
  225. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  226. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +5 -1
  227. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +5 -0
  228. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  229. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -7
  230. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  231. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +5 -0
  232. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  233. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +6 -1
  234. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -15
  235. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +24 -1
  236. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -4
  237. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  238. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +2 -1
  239. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +52 -3
  240. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -0
  241. package/src/libs/ui/elements/src/index.ts +1 -0
  242. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  243. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  244. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  245. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +4 -1
  246. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +2 -1
  247. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  248. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  249. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +3 -1
  250. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +8 -4
  251. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -1
  252. package/src/libs/ui/inputs/src/index.ts +1 -0
  253. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +15 -3
  254. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +0 -0
  255. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +85 -0
  256. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +91 -0
  257. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +49 -49
  258. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +15 -13
  259. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
  260. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +2 -27
  261. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  262. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  263. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -3
  264. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  265. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +37 -0
  266. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +33 -0
  267. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +1 -1
  268. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +1 -0
  269. package/src/libs/ui/map/src/lib/ui-map.module.ts +1 -1
  270. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +10 -1
  271. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +55 -3
  272. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +7 -2
  273. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +9 -9
  274. package/tailwind.base.css +16 -4
  275. package/translations/de.json +50 -17
  276. package/translations/en.json +43 -10
  277. package/translations/es.json +42 -9
  278. package/translations/fr.json +54 -21
  279. package/translations/it.json +43 -10
  280. package/translations/nl.json +42 -9
  281. package/translations/pt.json +42 -9
  282. package/translations/sk.json +43 -10
@@ -10,6 +10,7 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
10
10
  action: (value: string) => Observable<AutocompleteItem[]>;
11
11
  value?: AutocompleteItem;
12
12
  clearOnSelection: boolean;
13
+ preventCompleteOnSelection: boolean;
13
14
  autoFocus: boolean;
14
15
  minCharacterCount?: number;
15
16
  allowSubmit: boolean;
@@ -38,8 +39,15 @@ export declare class AutocompleteComponent implements OnInit, AfterViewInit, OnD
38
39
  clear(): void;
39
40
  handleEnter(any: string): void;
40
41
  handleClickSearch(): void;
42
+ /**
43
+ * This function is triggered when an item is selected in the list of displayed items.
44
+ * If preventCompleteOnSelection is true then the input will be left as entered by the user.
45
+ * If preventCompleteOnSelection is false (by default) then the input will be completed with the item selected by the user.
46
+ * If clearOnSelection is true then the input will be cleared upon selection.
47
+ * @param event
48
+ */
41
49
  handleSelection(event: MatAutocompleteSelectedEvent): void;
42
50
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "gn-ui-autocomplete", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "action": { "alias": "action"; "required": false; }; "value": { "alias": "value"; "required": false; }; "clearOnSelection": { "alias": "clearOnSelection"; "required": false; }; "preventCompleteOnSelection": { "alias": "preventCompleteOnSelection"; "required": false; }; "autoFocus": { "alias": "autoFocus"; "required": false; }; "minCharacterCount": { "alias": "minCharacterCount"; "required": false; }; "allowSubmit": { "alias": "allowSubmit"; "required": false; }; "displayWithFn": { "alias": "displayWithFn"; "required": false; }; }, { "itemSelected": "itemSelected"; "inputSubmitted": "inputSubmitted"; "inputCleared": "inputCleared"; }, never, never, true, never>;
44
52
  }
45
53
  //# sourceMappingURL=autocomplete.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAiBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAea,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAiC1C,OAAO,CAAC,KAAK;IA/BhB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IACtB,WAAW,UAAO;IACjB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACd,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IAExB,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,qBAAqB,UAAW,gBAAgB,YAG/C;gBAEmB,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;IAkEhB,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IASb,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,iBAAiB;IAIjB,eAAe,CAAC,KAAK,EAAE,4BAA4B;yCAxJxC,qBAAqB;2CAArB,qBAAqB;CAiKjC"}
1
+ {"version":3,"file":"autocomplete.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACxE,OAAO,EACL,eAAe,EAEf,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAgB,UAAU,EAAM,aAAa,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;;AAiBhF,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAA;AAEtC,qBAea,qBACX,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS;IAkC1C,OAAO,CAAC,KAAK;IAhChB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IACzD,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,gBAAgB,UAAQ;IACxB,0BAA0B,UAAQ;IAClC,SAAS,UAAQ;IACjB,iBAAiB,CAAC,SAAI;IACtB,WAAW,UAAO;IACjB,YAAY,wBAAuC;IACnD,cAAc,uBAA6B;IAC3C,YAAY,qBAA2B;IACd,UAAU,EAAE,sBAAsB,CAAA;IACzC,YAAY,EAAE,eAAe,CAAA;IAC/B,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAA;IAEhE,SAAS,EAAE,OAAO,CAAA;IAClB,OAAO,qBAA2B;IAClC,WAAW,UAAO;IAClB,gBAAgB,8CAAqD;IACrE,eAAe,wBAA+B;IAC9C,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAC3B,YAAY,EAAE,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAA;IAC5C,YAAY,eAAqB;IAExB,aAAa,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,MAAM,CACzC;IAEjB,qBAAqB,UAAW,gBAAgB,YAG/C;gBAEmB,KAAK,EAAE,iBAAiB;IAC5C,WAAW,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI;IAWzC,QAAQ,IAAI,IAAI;IAkEhB,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IAInB,gBAAgB,CAAC,KAAK,EAAE,gBAAgB;IASxC,KAAK,IAAI,IAAI;IASb,WAAW,CAAC,GAAG,EAAE,MAAM;IAMvB,iBAAiB;IAIjB;;;;;;OAMG;IACH,eAAe,CAAC,KAAK,EAAE,4BAA4B;yCAhKxC,qBAAqB;2CAArB,qBAAqB;CA6KjC"}
@@ -18,9 +18,9 @@ export declare class ImageInputComponent {
18
18
  showUrlInput: boolean;
19
19
  downloadError: boolean;
20
20
  showAltTextInput: boolean;
21
- urlInputValue?: string;
22
21
  lastUploadType?: 'file' | 'url';
23
22
  lastUploadContent?: string | File;
23
+ get isUploadInProgress(): boolean;
24
24
  constructor(http: HttpClient, cd: ChangeDetectorRef);
25
25
  getPrimaryText(): "input.image.uploadErrorLabel" | "input.image.uploadProgressLabel" | "input.image.selectFileLabel";
26
26
  getSecondaryText(): "input.image.uploadErrorRetry" | "input.image.uploadProgressCancel" | "input.image.dropFileLabel";
@@ -28,14 +28,13 @@ export declare class ImageInputComponent {
28
28
  handleDropFiles(files: File[]): void;
29
29
  handleFileInput(event: Event): void;
30
30
  displayUrlInput(): void;
31
- handleUrlChange(event: Event): void;
32
- downloadUrl(): Promise<void>;
31
+ downloadUrl(url: string): Promise<void>;
33
32
  handleSecondaryTextClick(): void;
34
33
  handleCancel(): void;
35
34
  handleRetry(): void;
36
35
  handleDelete(): void;
37
36
  toggleAltTextInput(): void;
38
- handleAltTextChange(event: Event): void;
37
+ handleAltTextChange(altText: string): void;
39
38
  private filterTypeImage;
40
39
  private resizeAndEmit;
41
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageInputComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;;AAUtB,qBAea,mBAAmB;IAqBlB,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,EAAE;IApBvC,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACnD,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IACpD,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACrD,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IAC/C,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAElE,aAAa,UAAQ;IACrB,YAAY,UAAQ;IACpB,aAAa,UAAQ;IACrB,gBAAgB,UAAQ;IAExB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;gBAEb,IAAI,EAAE,UAAU,EAAU,EAAE,EAAE,iBAAiB;IAEnE,cAAc;IAUd,gBAAgB;IAUhB,mBAAmB,CAAC,aAAa,EAAE,OAAO;IAO1C,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE;IAS7B,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B,eAAe;IAKf,eAAe,CAAC,KAAK,EAAE,KAAK;IAKtB,WAAW;IAgCjB,wBAAwB;IAQxB,YAAY;IAIZ,WAAW;IAWX,YAAY;IAIZ,kBAAkB;IAIlB,mBAAmB,CAAC,KAAK,EAAE,KAAK;IAKhC,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,aAAa;yCAvJV,mBAAmB;2CAAnB,mBAAmB;CA8J/B"}
1
+ {"version":3,"file":"image-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/image-input/image-input.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EAGb,MAAM,eAAe,CAAA;;AAYtB,qBAiBa,mBAAmB;IAwBlB,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,EAAE;IAvBvC,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACnD,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IACpD,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IACrD,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAAqB;IAC/C,aAAa,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAElE,aAAa,UAAQ;IACrB,YAAY,UAAQ;IACpB,aAAa,UAAQ;IACrB,gBAAgB,UAAQ;IAExB,cAAc,CAAC,EAAE,MAAM,GAAG,KAAK,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEjC,IAAI,kBAAkB,YAErB;gBAEmB,IAAI,EAAE,UAAU,EAAU,EAAE,EAAE,iBAAiB;IAEnE,cAAc;IAUd,gBAAgB;IAUhB,mBAAmB,CAAC,aAAa,EAAE,OAAO;IAO1C,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE;IAS7B,eAAe,CAAC,KAAK,EAAE,KAAK;IAQ5B,eAAe;IAKT,WAAW,CAAC,GAAG,EAAE,MAAM;IAiC7B,wBAAwB;IAQxB,YAAY;IAIZ,WAAW;IAWX,YAAY;IAIZ,kBAAkB;IAIlB,mBAAmB,CAAC,OAAO,EAAE,MAAM;IAInC,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,aAAa;yCArJV,mBAAmB;2CAAnB,mBAAmB;CA4J/B"}
@@ -0,0 +1,17 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export type SwitchToggleOption = {
4
+ label: string;
5
+ value: string;
6
+ checked: boolean;
7
+ };
8
+ export declare class SwitchToggleComponent {
9
+ options: SwitchToggleOption[];
10
+ ariaLabel?: string;
11
+ extraClasses?: string;
12
+ selectedValue: EventEmitter<SwitchToggleOption>;
13
+ onChange(selectedOption: SwitchToggleOption): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwitchToggleComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwitchToggleComponent, "gn-ui-switch-toggle", never, { "options": { "alias": "options"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "extraClasses": { "alias": "extraClasses"; "required": false; }; }, { "selectedValue": "selectedValue"; }, never, never, true, never>;
16
+ }
17
+ //# sourceMappingURL=switch-toggle.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-toggle.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAGtB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,qBAQa,qBAAqB;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAA;IAC7B,SAAS,CAAC,SAAK;IACf,YAAY,CAAC,SAAK;IACjB,aAAa,mCAAyC;IAEhE,QAAQ,CAAC,cAAc,EAAE,kBAAkB;yCANhC,qBAAqB;2CAArB,qBAAqB;CAajC"}
@@ -2,8 +2,6 @@ import { AfterViewInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TextAreaComponent implements AfterViewInit {
5
- private readonly baseClasses;
6
- private readonly disabledClasses;
7
5
  value: string;
8
6
  disabled: boolean;
9
7
  extraClass: string;
@@ -12,8 +10,6 @@ export declare class TextAreaComponent implements AfterViewInit {
12
10
  rawChange: Subject<string>;
13
11
  valueChange: import("rxjs").Observable<string>;
14
12
  input: any;
15
- constructor();
16
- get classList(): string;
17
13
  ngAfterViewInit(): void;
18
14
  checkRequired(value: any): void;
19
15
  handleChange($event: any): void;
@@ -1 +1 @@
1
- {"version":3,"file":"text-area.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-area/text-area.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAG9B,qBAMa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAQ;IACpC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAQ;IAE/B,KAAK,SAAK;IACV,QAAQ,UAAQ;IAChB,UAAU,SAAK;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,UAAQ;IAEzB,SAAS,kBAAwB;IACvB,WAAW,oCAA8C;IAE/C,KAAK,MAAA;;IAoBzB,IAAI,SAAS,WAIZ;IAED,eAAe;IAIf,aAAa,CAAC,KAAK,KAAA;IAOnB,YAAY,CAAC,MAAM,KAAA;yCAlDR,iBAAiB;2CAAjB,iBAAiB;CAuD7B"}
1
+ {"version":3,"file":"text-area.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-area/text-area.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAI9B,qBAOa,iBAAkB,YAAW,aAAa;IAC5C,KAAK,SAAK;IACV,QAAQ,UAAQ;IAChB,UAAU,SAAK;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,UAAQ;IAEzB,SAAS,kBAAwB;IACvB,WAAW,oCAA8C;IAE/C,KAAK,MAAA;IAEzB,eAAe;IAIf,aAAa,CAAC,KAAK,KAAA;IAOnB,YAAY,CAAC,MAAM,KAAA;yCAvBR,iBAAiB;2CAAjB,iBAAiB;CA4B7B"}
@@ -2,20 +2,18 @@ import { AfterViewInit } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TextInputComponent implements AfterViewInit {
5
- private readonly baseClass;
6
5
  value: string;
7
6
  extraClass: string;
8
- hint: string;
7
+ placeholder: string;
9
8
  required: boolean;
10
9
  disabled: boolean;
11
10
  rawChange: Subject<string>;
12
11
  valueChange: import("rxjs").Observable<string>;
13
12
  input: any;
14
- get classList(): string;
15
13
  ngAfterViewInit(): void;
16
14
  checkRequired(value: any): void;
17
15
  handleChange($event: any): void;
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TextInputComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "gn-ui-text-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextInputComponent, "gn-ui-text-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
20
18
  }
21
19
  //# sourceMappingURL=text-input.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"text-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-input/text-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAE9B,qBAKa,kBAAmB,YAAW,aAAa;IACtD,OAAO,CAAC,QAAQ,CAAC,SAAS,CASf;IAEF,KAAK,SAAK;IACV,UAAU,SAAK;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,UAAQ;IAChB,QAAQ,EAAE,OAAO,CAAA;IAC1B,SAAS,kBAAwB;IACvB,WAAW,oCAA8C;IAC/C,KAAK,MAAA;IAEzB,IAAI,SAAS,WAEZ;IAED,eAAe;IAIf,aAAa,CAAC,KAAK,KAAA;IAOnB,YAAY,CAAC,MAAM,KAAA;yCApCR,kBAAkB;2CAAlB,kBAAkB;CAyC9B"}
1
+ {"version":3,"file":"text-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/text-input/text-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAKd,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAG9B,qBAOa,kBAAmB,YAAW,aAAa;IAC7C,KAAK,SAAK;IACV,UAAU,SAAK;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,UAAQ;IAChB,QAAQ,EAAE,OAAO,CAAA;IAC1B,SAAS,kBAAwB;IACvB,WAAW,oCAA8C;IAC/C,KAAK,MAAA;IAEzB,eAAe;IAIf,aAAa,CAAC,KAAK,KAAA;IAOnB,YAAY,CAAC,MAAM,KAAA;yCArBR,kBAAkB;2CAAlB,kBAAkB;CA0B9B"}
@@ -1,41 +1,40 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./text-input/text-input.component";
3
- import * as i2 from "./drag-and-drop-file-input/drag-and-drop-file-input.component";
4
- import * as i3 from "./chips-input/chips-input.component";
5
- import * as i4 from "./navigation-button/navigation-button.component";
6
- import * as i5 from "./star-toggle/star-toggle.component";
7
- import * as i6 from "./dropdown-multiselect/dropdown-multiselect.component";
8
- import * as i7 from "./viewport-intersector/viewport-intersector.component";
9
- import * as i8 from "./copy-text-button/copy-text-button.component";
10
- import * as i9 from "./checkbox/checkbox.component";
11
- import * as i10 from "./search-input/search-input.component";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@ngx-translate/core";
14
- import * as i13 from "ngx-dropzone";
15
- import * as i14 from "@angular/forms";
16
- import * as i15 from "ngx-chips";
17
- import * as i16 from "../../../../util/shared/src/lib/util-shared.module";
18
- import * as i17 from "@angular/material/autocomplete";
19
- import * as i18 from "@angular/material/icon";
20
- import * as i19 from "../../../widgets/src/lib/ui-widgets.module";
21
- import * as i20 from "@angular/cdk/overlay";
22
- import * as i21 from "@angular/material/checkbox";
23
- import * as i22 from "@angular/material/tooltip";
24
- import * as i23 from "@angular/material/form-field";
25
- import * as i24 from "@angular/material/input";
26
- import * as i25 from "@angular/material/datepicker";
27
- import * as i26 from "@angular/material/core";
28
- import * as i27 from "./editable-label/editable-label.directive";
29
- import * as i28 from "./text-area/text-area.component";
30
- import * as i29 from "./button/button.component";
31
- import * as i30 from "./image-input/image-input.component";
32
- import * as i31 from "./dropdown-selector/dropdown-selector.component";
33
- import * as i32 from "./date-range-picker/date-range-picker.component";
34
- import * as i33 from "./check-toggle/check-toggle.component";
35
- import * as i34 from "./badge/badge.component";
2
+ import * as i1 from "./drag-and-drop-file-input/drag-and-drop-file-input.component";
3
+ import * as i2 from "./chips-input/chips-input.component";
4
+ import * as i3 from "./navigation-button/navigation-button.component";
5
+ import * as i4 from "./star-toggle/star-toggle.component";
6
+ import * as i5 from "./dropdown-multiselect/dropdown-multiselect.component";
7
+ import * as i6 from "./viewport-intersector/viewport-intersector.component";
8
+ import * as i7 from "./copy-text-button/copy-text-button.component";
9
+ import * as i8 from "./checkbox/checkbox.component";
10
+ import * as i9 from "./search-input/search-input.component";
11
+ import * as i10 from "@angular/common";
12
+ import * as i11 from "@ngx-translate/core";
13
+ import * as i12 from "ngx-dropzone";
14
+ import * as i13 from "@angular/forms";
15
+ import * as i14 from "ngx-chips";
16
+ import * as i15 from "../../../../util/shared/src/lib/util-shared.module";
17
+ import * as i16 from "@angular/material/autocomplete";
18
+ import * as i17 from "@angular/material/icon";
19
+ import * as i18 from "../../../widgets/src/lib/ui-widgets.module";
20
+ import * as i19 from "@angular/cdk/overlay";
21
+ import * as i20 from "@angular/material/checkbox";
22
+ import * as i21 from "@angular/material/tooltip";
23
+ import * as i22 from "@angular/material/form-field";
24
+ import * as i23 from "@angular/material/input";
25
+ import * as i24 from "@angular/material/datepicker";
26
+ import * as i25 from "@angular/material/core";
27
+ import * as i26 from "./editable-label/editable-label.directive";
28
+ import * as i27 from "./text-area/text-area.component";
29
+ import * as i28 from "./button/button.component";
30
+ import * as i29 from "./image-input/image-input.component";
31
+ import * as i30 from "./dropdown-selector/dropdown-selector.component";
32
+ import * as i31 from "./date-range-picker/date-range-picker.component";
33
+ import * as i32 from "./check-toggle/check-toggle.component";
34
+ import * as i33 from "./badge/badge.component";
36
35
  export declare class UiInputsModule {
37
36
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.TextInputComponent, typeof i2.DragAndDropFileInputComponent, typeof i3.ChipsInputComponent, typeof i4.NavigationButtonComponent, typeof i5.StarToggleComponent, typeof i6.DropdownMultiselectComponent, typeof i7.ViewportIntersectorComponent, typeof i8.CopyTextButtonComponent, typeof i9.CheckboxComponent, typeof i10.SearchInputComponent], [typeof i11.CommonModule, typeof i12.TranslateModule, typeof i13.NgxDropzoneModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i15.TagInputModule, typeof i16.UtilSharedModule, typeof i17.MatAutocompleteModule, typeof i18.MatIconModule, typeof i19.UiWidgetsModule, typeof i20.OverlayModule, typeof i21.MatCheckboxModule, typeof i22.MatTooltipModule, typeof i23.MatFormFieldModule, typeof i24.MatInputModule, typeof i25.MatDatepickerModule, typeof i26.MatNativeDateModule, typeof i27.EditableLabelDirective, typeof i28.TextAreaComponent, typeof i29.ButtonComponent, typeof i30.ImageInputComponent, typeof i31.DropdownSelectorComponent, typeof i32.DateRangePickerComponent, typeof i33.CheckToggleComponent, typeof i34.BadgeComponent], [typeof i31.DropdownSelectorComponent, typeof i29.ButtonComponent, typeof i1.TextInputComponent, typeof i2.DragAndDropFileInputComponent, typeof i28.TextAreaComponent, typeof i3.ChipsInputComponent, typeof i4.NavigationButtonComponent, typeof i5.StarToggleComponent, typeof i6.DropdownMultiselectComponent, typeof i7.ViewportIntersectorComponent, typeof i33.CheckToggleComponent, typeof i8.CopyTextButtonComponent, typeof i9.CheckboxComponent, typeof i10.SearchInputComponent, typeof i32.DateRangePickerComponent, typeof i27.EditableLabelDirective, typeof i30.ImageInputComponent, typeof i34.BadgeComponent]>;
37
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DragAndDropFileInputComponent, typeof i2.ChipsInputComponent, typeof i3.NavigationButtonComponent, typeof i4.StarToggleComponent, typeof i5.DropdownMultiselectComponent, typeof i6.ViewportIntersectorComponent, typeof i7.CopyTextButtonComponent, typeof i8.CheckboxComponent, typeof i9.SearchInputComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.NgxDropzoneModule, typeof i13.FormsModule, typeof i13.ReactiveFormsModule, typeof i14.TagInputModule, typeof i15.UtilSharedModule, typeof i16.MatAutocompleteModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.OverlayModule, typeof i20.MatCheckboxModule, typeof i21.MatTooltipModule, typeof i22.MatFormFieldModule, typeof i23.MatInputModule, typeof i24.MatDatepickerModule, typeof i25.MatNativeDateModule, typeof i26.EditableLabelDirective, typeof i27.TextAreaComponent, typeof i28.ButtonComponent, typeof i29.ImageInputComponent, typeof i30.DropdownSelectorComponent, typeof i31.DateRangePickerComponent, typeof i32.CheckToggleComponent, typeof i33.BadgeComponent], [typeof i30.DropdownSelectorComponent, typeof i28.ButtonComponent, typeof i1.DragAndDropFileInputComponent, typeof i27.TextAreaComponent, typeof i2.ChipsInputComponent, typeof i3.NavigationButtonComponent, typeof i4.StarToggleComponent, typeof i5.DropdownMultiselectComponent, typeof i6.ViewportIntersectorComponent, typeof i32.CheckToggleComponent, typeof i7.CopyTextButtonComponent, typeof i8.CheckboxComponent, typeof i9.SearchInputComponent, typeof i31.DateRangePickerComponent, typeof i26.EditableLabelDirective, typeof i29.ImageInputComponent, typeof i33.BadgeComponent]>;
39
38
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
40
39
  }
41
40
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,qBA6Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,qBA2Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -0,0 +1,18 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class UrlInputComponent {
5
+ private cd;
6
+ value: string;
7
+ extraClass: string;
8
+ placeholder: string;
9
+ disabled: boolean;
10
+ rawChange: Subject<string>;
11
+ valueChange: import("rxjs").Observable<string>;
12
+ constructor(cd: ChangeDetectorRef);
13
+ handleInput(): void;
14
+ handleChange(element: HTMLInputElement): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<UrlInputComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<UrlInputComponent, "gn-ui-url-input", never, { "value": { "alias": "value"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
17
+ }
18
+ //# sourceMappingURL=url-input.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-input.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/url-input/url-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAA4B,MAAM,eAAe,CAAA;AAK3E,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;;AAE9B,qBAOa,iBAAiB;IAQhB,OAAO,CAAC,EAAE;IAPb,KAAK,SAAK;IACV,UAAU,SAAK;IACf,WAAW,SAAa;IACxB,QAAQ,EAAE,OAAO,CAAA;IAC1B,SAAS,kBAAwB;IACvB,WAAW,oCAA0C;gBAE3C,EAAE,EAAE,iBAAiB;IAEzC,WAAW;IAIX,YAAY,CAAC,OAAO,EAAE,gBAAgB;yCAd3B,iBAAiB;2CAAjB,iBAAiB;CAkB7B"}
@@ -1,11 +1,20 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
2
3
  import { MatMenuTrigger } from '@angular/material/menu';
4
+ import { TranslateService } from '@ngx-translate/core';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class ActionMenuComponent {
7
+ dialog: MatDialog;
8
+ private translateService;
9
+ canDuplicate: boolean;
10
+ canDelete: boolean;
5
11
  duplicate: EventEmitter<void>;
12
+ delete: EventEmitter<void>;
6
13
  trigger: MatMenuTrigger;
14
+ constructor(dialog: MatDialog, translateService: TranslateService);
7
15
  openMenu(): void;
16
+ openDeleteConfirmationDialog(): void;
8
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionMenuComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, {}, { "duplicate": "duplicate"; }, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, { "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; }, { "duplicate": "duplicate"; "delete": "delete"; }, never, never, true, never>;
10
19
  }
11
20
  //# sourceMappingURL=action-menu.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAqB,MAAM,eAAe,CAAA;AAE1E,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;;AAItE,qBAOa,mBAAmB;IACpB,SAAS,qBAA2B;IAEnB,OAAO,EAAE,cAAc,CAAA;IAElD,QAAQ;yCALG,mBAAmB;2CAAnB,mBAAmB;CAQ/B"}
1
+ {"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAA;AAErE,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAGtE,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEvE,qBAca,mBAAmB;IASrB,MAAM,EAAE,SAAS;IACxB,OAAO,CAAC,gBAAgB;IATjB,YAAY,EAAE,OAAO,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IACjB,SAAS,qBAA2B;IACpC,MAAM,qBAA2B;IAEhB,OAAO,EAAE,cAAc,CAAA;gBAGzC,MAAM,EAAE,SAAS,EAChB,gBAAgB,EAAE,gBAAgB;IAG5C,QAAQ;IAIR,4BAA4B;yCAjBjB,mBAAmB;2CAAnB,mBAAmB;CA6C/B"}
@@ -7,10 +7,13 @@ export declare class ResultsTableComponent {
7
7
  records: CatalogRecord[];
8
8
  selectedRecordsIdentifiers: string[];
9
9
  sortOrder: SortByField;
10
- recordHasDraft: (record: CatalogRecord) => boolean;
10
+ hasDraft: (record: CatalogRecord) => boolean;
11
+ canDuplicate: (record: CatalogRecord) => boolean;
12
+ canDelete: (record: CatalogRecord) => boolean;
11
13
  sortByChange: EventEmitter<[string, "asc" | "desc"]>;
12
14
  recordClick: EventEmitter<CatalogRecord>;
13
15
  duplicateRecord: EventEmitter<CatalogRecord>;
16
+ deleteRecord: EventEmitter<CatalogRecord>;
14
17
  recordsSelectedChange: EventEmitter<[CatalogRecord[], boolean]>;
15
18
  dateToString(date: Date): string;
16
19
  getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
@@ -19,6 +22,7 @@ export declare class ResultsTableComponent {
19
22
  getBadgeColor(format: FileFormat): string;
20
23
  handleRecordClick(item: unknown): void;
21
24
  handleDuplicate(item: unknown): void;
25
+ handleDelete(item: unknown): void;
22
26
  setSortBy(col: string, order: 'asc' | 'desc'): void;
23
27
  isSortedBy(col: string): 'desc' | 'asc' | null;
24
28
  isChecked(record: CatalogRecord): boolean;
@@ -27,6 +31,6 @@ export declare class ResultsTableComponent {
27
31
  isAllSelected(): boolean;
28
32
  isSomeSelected(): boolean;
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "recordHasDraft": { "alias": "recordHasDraft"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "hasDraft": { "alias": "hasDraft"; "required": false; }; "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "deleteRecord": "deleteRecord"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
31
35
  }
32
36
  //# sourceMappingURL=results-table.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAIb,MAAM,eAAe,CAAA;AAGtB,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;;AAI/C,qBAgBa,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,cAAc,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAG/D,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAI7D,eAAe;IAIrB,aAAa,IAAI,OAAO;IAMxB,cAAc,IAAI,OAAO;yCAjGd,qBAAqB;2CAArB,qBAAqB;CA0GjC"}
1
+ {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;AAEtE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;;AAI/C,qBAgBa,qBAAqB;IACvB,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAC1D,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC7D,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAGzD,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,YAAY,8BAAoC;IAChD,qBAAqB,2CAE5B;IAEH,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,SAAS,CAAC,gBAAgB,EAAE,OAAO,GAAG,OAAO;IAI7C,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAarD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAQlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,OAAO;IAI/B,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,YAAY,CAAC,IAAI,EAAE,OAAO;IAI1B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;IAI7D,eAAe;IAIrB,aAAa,IAAI,OAAO;IAMxB,cAAc,IAAI,OAAO;yCAxGd,qBAAqB;2CAArB,qBAAqB;CAiHjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.4.0-dev.a1bcfe22",
3
+ "version": "2.4.0-dev.a6f221e3",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -1,4 +1,3 @@
1
- export * from './lib/base.converter'
2
1
  export * from './lib/iso19139'
3
2
  export * from './lib/iso19115-3'
4
3
  export * from './lib/find-converter'
@@ -194,7 +194,12 @@ As such, **it is not very interesting at all.**`,
194
194
  text: 'Contains sensitive information related to national defense',
195
195
  },
196
196
  ],
197
- spatialExtents: [],
197
+ spatialExtents: [
198
+ {
199
+ bbox: [-11.5, 35.3, 43.2, 81.4],
200
+ description: 'http://www.naturalearthdata.com/ne_admin#Continent/Europe',
201
+ },
202
+ ],
198
203
  temporalExtents: [
199
204
  {
200
205
  start: new Date('2024-05-24'),
@@ -122,7 +122,11 @@ Ce lot de données produit en 2019, a été numérisé à partir du PCI Vecteur
122
122
  securityConstraints: [],
123
123
  otherConstraints: [],
124
124
  // data quality?
125
- spatialExtents: [],
125
+ spatialExtents: [
126
+ {
127
+ bbox: [2.5587, 49.3677, 2.5934, 49.4051],
128
+ },
129
+ ],
126
130
  temporalExtents: [],
127
131
  status: 'completed',
128
132
  updateFrequency: 'unknown',
@@ -94,7 +94,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
94
94
  id: 'geonetwork.thesaurus.external.theme.gemet',
95
95
  name: 'GEMET',
96
96
  url: new URL(
97
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
97
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
98
98
  ),
99
99
  },
100
100
  type: 'theme',
@@ -105,7 +105,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
105
105
  id: 'geonetwork.thesaurus.external.theme.gemet',
106
106
  name: 'GEMET',
107
107
  url: new URL(
108
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
108
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
109
109
  ),
110
110
  },
111
111
  type: 'theme',
@@ -116,7 +116,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
116
116
  id: 'geonetwork.thesaurus.external.theme.gemet',
117
117
  name: 'GEMET',
118
118
  url: new URL(
119
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
119
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
120
120
  ),
121
121
  },
122
122
  type: 'theme',
@@ -127,7 +127,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
127
127
  id: 'geonetwork.thesaurus.external.theme.gemet',
128
128
  name: 'GEMET',
129
129
  url: new URL(
130
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
130
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
131
131
  ),
132
132
  },
133
133
  type: 'theme',
@@ -138,7 +138,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
138
138
  id: 'geonetwork.thesaurus.external.theme.gemet',
139
139
  name: 'GEMET',
140
140
  url: new URL(
141
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
141
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
142
142
  ),
143
143
  },
144
144
  type: 'theme',
@@ -149,7 +149,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
149
149
  id: 'geonetwork.thesaurus.external.theme.gemet',
150
150
  name: 'GEMET',
151
151
  url: new URL(
152
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
152
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
153
153
  ),
154
154
  },
155
155
  type: 'theme',
@@ -160,7 +160,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
160
160
  id: 'geonetwork.thesaurus.external.theme.gemet',
161
161
  name: 'GEMET',
162
162
  url: new URL(
163
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
163
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
164
164
  ),
165
165
  },
166
166
  type: 'theme',
@@ -171,7 +171,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
171
171
  id: 'geonetwork.thesaurus.external.theme.gemet',
172
172
  name: 'GEMET',
173
173
  url: new URL(
174
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
174
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
175
175
  ),
176
176
  },
177
177
  type: 'theme',
@@ -182,7 +182,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
182
182
  id: 'geonetwork.thesaurus.external.theme.gemet',
183
183
  name: 'GEMET',
184
184
  url: new URL(
185
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
185
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.gemet'
186
186
  ),
187
187
  },
188
188
  type: 'theme',
@@ -193,7 +193,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
193
193
  id: 'geonetwork.thesaurus.external.theme.inspire-theme',
194
194
  name: 'GEMET - INSPIRE themes, version 1.0',
195
195
  url: new URL(
196
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
196
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.inspire-theme'
197
197
  ),
198
198
  },
199
199
  type: 'theme',
@@ -204,7 +204,7 @@ export const GEOCAT_CH_DATASET_RECORD: DatasetRecord = {
204
204
  id: 'geonetwork.thesaurus.external.theme.inspire-theme',
205
205
  name: 'GEMET - INSPIRE themes, version 1.0',
206
206
  url: new URL(
207
- 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/local.theme.geocat.ch'
207
+ 'https://geocat-dev.dev.bgdi.ch/geonetwork/srv/api/registries/vocabularies/external.theme.inspire-theme'
208
208
  ),
209
209
  },
210
210
  type: 'theme',
@@ -332,7 +332,32 @@ Die Quelle ist zu bezeichnen: „Quelle: Stadt Zürich“.`,
332
332
  securityConstraints: [],
333
333
  otherConstraints: [],
334
334
  // data quality?
335
- spatialExtents: [],
335
+ spatialExtents: [
336
+ {
337
+ description: 'AK',
338
+ },
339
+ {
340
+ bbox: [
341
+ 6.75599105586694, 45.7887442565203, 10.5418236945627, 47.5175655551557,
342
+ ],
343
+ },
344
+ {
345
+ geometry: {
346
+ type: 'MultiPolygon',
347
+ coordinates: [
348
+ [
349
+ [
350
+ [6.777075, 45.827119, 0],
351
+ [6.755991, 47.517566, 0],
352
+ [10.541824, 47.477984, 0],
353
+ [10.446252, 45.788744, 0],
354
+ [6.777075, 45.827119, 0],
355
+ ],
356
+ ],
357
+ ],
358
+ },
359
+ },
360
+ ],
336
361
  temporalExtents: [],
337
362
  status: 'completed',
338
363
  updateFrequency: 'asNeeded',
@@ -388,7 +388,11 @@ Depuis, ce sont les Districts routiers qui assurent la tenue à jour de ces info
388
388
  name: 'Direction Asset Management (SPW - Mobilité et Infrastructures - Direction Asset Management)',
389
389
  },
390
390
  securityConstraints: [],
391
- spatialExtents: [],
391
+ spatialExtents: [
392
+ {
393
+ bbox: [2.75, 49.45, 6.5, 50.85],
394
+ },
395
+ ],
392
396
  spatialRepresentation: 'vector',
393
397
  status: 'ongoing',
394
398
  temporalExtents: [],
@@ -1,10 +1,6 @@
1
1
  export interface KeywordApiResponse {
2
- values?: {
3
- eng: string
4
- }
5
- definitions?: {
6
- eng: string
7
- }
2
+ values?: Record<string, string>
3
+ definitions?: Record<string, string>
8
4
  coordEast?: string
9
5
  coordWest?: string
10
6
  coordSouth?: string
@@ -34,6 +34,7 @@ import {
34
34
  readResourcePublished,
35
35
  readResourceUpdated,
36
36
  readSecurityConstraints,
37
+ readSpatialExtents,
37
38
  readSpatialRepresentation,
38
39
  readStatus,
39
40
  readTemporalExtents,
@@ -60,6 +61,7 @@ import {
60
61
  writeResourcePublished,
61
62
  writeResourceUpdated,
62
63
  writeSecurityConstraints,
64
+ writeSpatialExtents,
63
65
  writeSpatialRepresentation,
64
66
  writeStatus,
65
67
  writeTemporalExtents,
@@ -101,8 +103,8 @@ export class Iso19139Converter extends BaseConverter<string> {
101
103
  distributions: readDistributions,
102
104
  onlineResources: readOnlineResources,
103
105
  temporalExtents: readTemporalExtents,
106
+ spatialExtents: readSpatialExtents,
104
107
  // TODO
105
- spatialExtents: () => [],
106
108
  extras: () => undefined,
107
109
  landingPage: () => undefined,
108
110
  languages: () => [],
@@ -139,8 +141,8 @@ export class Iso19139Converter extends BaseConverter<string> {
139
141
  distributions: writeDistributions,
140
142
  onlineResources: writeOnlineResources,
141
143
  temporalExtents: writeTemporalExtents,
144
+ spatialExtents: writeSpatialExtents,
142
145
  // TODO
143
- spatialExtents: () => undefined,
144
146
  extras: () => undefined,
145
147
  landingPage: () => undefined,
146
148
  languages: () => undefined,
@@ -315,6 +317,8 @@ export class Iso19139Converter extends BaseConverter<string> {
315
317
  fieldChanged('overviews') && this.writers['overviews'](record, rootEl)
316
318
  fieldChanged('temporalExtents') &&
317
319
  this.writers['temporalExtents'](record, rootEl)
320
+ fieldChanged('spatialExtents') &&
321
+ this.writers['spatialExtents'](record, rootEl)
318
322
  fieldChanged('distributions') &&
319
323
  this.writers['distributions'](record, rootEl)
320
324
  fieldChanged('lineage') && this.writers['lineage'](record, rootEl)