geonetwork-ui 2.4.0-dev.e1bb65c4 → 2.4.0-dev.e6ae55aa

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 (268) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  4. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +12 -1
  5. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +2 -1
  6. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +3 -1
  7. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +2 -2
  8. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +9 -5
  9. package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
  10. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  11. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  12. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  13. package/esm2022/libs/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
  14. package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
  15. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +1 -1
  16. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
  17. package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
  18. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
  19. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  20. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +3 -3
  21. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +7 -2
  22. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  23. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
  24. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
  25. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -2
  26. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +3 -3
  27. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +1 -2
  28. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +11 -7
  29. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  30. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +143 -60
  31. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  32. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  33. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +4 -3
  34. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
  35. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
  36. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
  37. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +6 -3
  38. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
  39. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  40. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +9 -2
  41. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +8 -1
  42. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +9 -3
  43. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
  44. package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
  45. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
  46. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +5 -5
  47. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +5 -2
  48. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -8
  49. package/esm2022/libs/ui/elements/src/index.mjs +1 -2
  50. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  51. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +5 -3
  52. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +4 -4
  53. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +24 -5
  54. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +7 -9
  55. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  56. package/esm2022/libs/ui/layout/src/index.mjs +2 -1
  57. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
  58. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +1 -1
  59. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +29 -0
  60. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +15 -7
  61. package/esm2022/translations/de.json +88 -33
  62. package/esm2022/translations/en.json +59 -4
  63. package/esm2022/translations/es.json +59 -4
  64. package/esm2022/translations/fr.json +60 -5
  65. package/esm2022/translations/it.json +59 -4
  66. package/esm2022/translations/nl.json +59 -4
  67. package/esm2022/translations/pt.json +59 -4
  68. package/fesm2022/geonetwork-ui.mjs +942 -292
  69. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  70. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  71. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  72. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  73. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  74. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  75. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +1 -0
  76. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  77. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  78. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  79. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -1
  80. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  81. package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
  82. package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
  83. package/libs/common/domain/src/lib/platform.service.interface.d.ts +2 -1
  84. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  85. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +9 -0
  86. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  87. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  88. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
  89. package/libs/feature/catalog/src/index.d.ts +1 -0
  90. package/libs/feature/catalog/src/index.d.ts.map +1 -1
  91. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  92. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  93. package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
  94. package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
  95. package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
  96. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +5 -0
  97. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  98. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +4 -4
  99. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  100. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  101. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  102. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
  103. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  104. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
  105. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  106. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  107. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +1 -1
  108. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  109. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +0 -1
  110. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  111. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +5 -7
  112. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  113. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  114. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  115. package/libs/feature/editor/src/lib/fields.config.d.ts +38 -2
  116. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  117. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +36 -0
  118. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  119. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  120. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  121. package/libs/feature/editor/src/lib/services/editor.service.d.ts +2 -2
  122. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  123. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  124. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  125. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  126. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  127. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  128. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  129. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  130. package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
  131. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  132. package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
  133. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  134. package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
  135. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  136. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
  137. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  138. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +3 -1
  139. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  140. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  141. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  142. package/libs/feature/search/src/lib/state/selectors.d.ts +1 -0
  143. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  144. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  145. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
  146. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +2 -1
  147. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
  148. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
  149. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  150. package/libs/ui/elements/src/index.d.ts +0 -1
  151. package/libs/ui/elements/src/index.d.ts.map +1 -1
  152. package/libs/ui/elements/src/lib/error/error.component.d.ts +3 -1
  153. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
  154. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
  155. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  156. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +19 -19
  157. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  158. package/libs/ui/layout/src/index.d.ts +1 -0
  159. package/libs/ui/layout/src/index.d.ts.map +1 -1
  160. package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
  161. package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
  162. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  163. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +11 -0
  164. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  165. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +4 -2
  166. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  167. package/package.json +1 -1
  168. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  169. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  170. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  171. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +20 -0
  172. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
  173. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
  174. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +1 -1
  175. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +26 -15
  176. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
  177. package/src/libs/common/domain/src/lib/platform.service.interface.ts +5 -1
  178. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +12 -0
  179. package/src/libs/common/fixtures/src/index.ts +2 -0
  180. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  181. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  182. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +28 -0
  183. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
  184. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
  185. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  186. package/src/libs/data-access/gn4/src/openapi/model/user.api.model.ts +1 -1
  187. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  188. package/src/libs/feature/catalog/src/index.ts +1 -0
  189. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -1
  190. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
  191. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
  192. package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
  193. package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
  194. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +5 -0
  195. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +2 -2
  196. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +9 -1
  197. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  198. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
  199. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
  200. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +8 -6
  201. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +9 -9
  202. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -1
  203. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +0 -1
  204. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +51 -11
  205. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +15 -8
  206. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  207. package/src/libs/feature/editor/src/lib/fields.config.ts +175 -61
  208. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +53 -0
  209. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  210. package/src/libs/feature/editor/src/lib/services/editor.service.ts +8 -4
  211. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  212. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  213. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  214. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  215. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +6 -2
  216. package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
  217. package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
  218. package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
  219. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +9 -1
  220. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  221. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +5 -0
  222. package/src/libs/feature/search/src/lib/state/search.facade.ts +5 -0
  223. package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
  224. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
  225. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
  226. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  227. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -0
  228. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
  229. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
  230. package/src/libs/ui/elements/src/index.ts +0 -1
  231. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  232. package/src/libs/ui/elements/src/lib/error/error.component.html +30 -6
  233. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -0
  234. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
  235. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
  236. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +2 -4
  237. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  238. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +31 -0
  239. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
  240. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +38 -0
  241. package/src/libs/ui/layout/src/index.ts +1 -0
  242. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +1 -0
  243. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
  244. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
  245. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  246. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +17 -0
  247. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +22 -0
  248. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +9 -0
  249. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +26 -12
  250. package/translations/de.json +88 -33
  251. package/translations/en.json +59 -4
  252. package/translations/es.json +59 -4
  253. package/translations/fr.json +60 -5
  254. package/translations/it.json +59 -4
  255. package/translations/nl.json +59 -4
  256. package/translations/pt.json +59 -4
  257. package/translations/sk.json +60 -5
  258. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  259. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  260. package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
  261. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  262. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  263. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  264. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  265. package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
  266. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  267. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  268. /package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.css +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"search.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/search.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAQ,UAAU,EAAM,MAAM,MAAM,CAAA;AAsB3C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAmBvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,YAAY,EACZ,SAAS,EACT,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBACa,YAAY;IAyBrB,OAAO,CAAC,KAAK;IAGb,OAAO,CAAC,cAAc;IA3BxB,QAAQ,EAAE,UAAU,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,OAAO,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC3B,OAAO,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAChC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAC/B,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC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AG,YAAY;IAKlD,gBAAgB,CAAC,aAAa,EAAE,OAAO,GAAG,YAAY;IAKtD,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY;IAOnE,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY;IAKvC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY;IAK1C,MAAM,IAAI,YAAY;IAKtB,SAAS,CAAC,MAAM,EAAE,WAAW;IAK7B,uBAAuB,CAAC,OAAO,EAAE,OAAO;IAKxC,WAAW;yCAjKA,YAAY;6CAAZ,YAAY;CAwKxB"}
@@ -9,6 +9,7 @@ export declare const getSearchResults: import("@ngrx/store").MemoizedSelector<ob
9
9
  export declare const getSearchResultsLoading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SearchStateSearch) => boolean>;
10
10
  export declare const getSearchResultsAggregations: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/search").Aggregations, (s1: SearchStateSearch) => import("../../../../../common/domain/src/lib/model/search").Aggregations>;
11
11
  export declare const getSearchResultsHits: import("@ngrx/store").MemoizedSelector<object, number, (s1: SearchStateSearch) => number>;
12
+ export declare const isBeginningOfResults: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SearchStateSearch) => boolean>;
12
13
  export declare const isEndOfResults: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: SearchStateSearch) => boolean>;
13
14
  export declare const totalPages: import("@ngrx/store").MemoizedSelector<object, number, (s1: SearchStateSearch) => number>;
14
15
  export declare const currentPage: import("@ngrx/store").MemoizedSelector<object, number, (s1: SearchStateSearch) => number>;
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/selectors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE9E,eAAO,MAAM,cAAc,oHAC6B,CAAA;AAExD,eAAO,MAAM,oBAAoB,2GAGhC,CAAA;AAED,eAAO,MAAM,gBAAgB,+NAG5B,CAAA;AAED,eAAO,MAAM,eAAe,6NAG3B,CAAA;AAED,eAAO,MAAM,sBAAsB,2FAGlC,CAAA;AAED,eAAO,MAAM,2BAA2B,2OAGvC,CAAA;AAED,eAAO,MAAM,gBAAgB,qOAG5B,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA;AAED,eAAO,MAAM,4BAA4B,+NAGxC,CAAA;AAED,eAAO,MAAM,oBAAoB,2FAGhC,CAAA;AAED,eAAO,MAAM,cAAc,6FAS1B,CAAA;AAED,eAAO,MAAM,UAAU,2FAKtB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,gBAAgB,6FAG5B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;EAGpB,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/selectors.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsB,WAAW,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAE9E,eAAO,MAAM,cAAc,oHAC6B,CAAA;AAExD,eAAO,MAAM,oBAAoB,2GAGhC,CAAA;AAED,eAAO,MAAM,gBAAgB,+NAG5B,CAAA;AAED,eAAO,MAAM,eAAe,6NAG3B,CAAA;AAED,eAAO,MAAM,sBAAsB,2FAGlC,CAAA;AAED,eAAO,MAAM,2BAA2B,2OAGvC,CAAA;AAED,eAAO,MAAM,gBAAgB,qOAG5B,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA;AAED,eAAO,MAAM,4BAA4B,+NAGxC,CAAA;AAED,eAAO,MAAM,oBAAoB,2FAGhC,CAAA;AAED,eAAO,MAAM,oBAAoB,6FAKhC,CAAA;AAED,eAAO,MAAM,cAAc,6FAS1B,CAAA;AAED,eAAO,MAAM,UAAU,2FAKtB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,WAAW,2FAGvB,CAAA;AAED,eAAO,MAAM,gBAAgB,6FAG5B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;EAGpB,CAAA;AAED,eAAO,MAAM,uBAAuB,6FAGnC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fields.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/search/src/lib/utils/service/fields.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EACL,mBAAmB,EACnB,UAAU,EASX,MAAM,UAAU,CAAA;AACjB,OAAO,EAAY,UAAU,EAAM,MAAM,MAAM,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;;AAI3F,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,CAAA;AAenE,qBAGa,aAAa;IAyCZ,SAAS,CAAC,QAAQ,EAAE,QAAQ;IAxCxC,SAAS,CAAC,MAAM,sCAkCwB;IAExC,IAAI,eAAe,aAElB;gBAEqB,QAAQ,EAAE,QAAQ;IAExC,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAMpC,OAAO,CAAC,mBAAmB;IAG3B,OAAO,CAAC,mBAAmB;IAI3B,2BAA2B,CACzB,WAAW,EAAE,WAAW,GACvB,UAAU,CAAC,YAAY,CAAC;IAkB3B,0BAA0B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,WAAW,CAAC;yCA5E/D,aAAa;6CAAb,aAAa;CAwFzB"}
1
+ {"version":3,"file":"fields.service.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/search/src/lib/utils/service/fields.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,QAAQ,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EACL,mBAAmB,EACnB,UAAU,EASX,MAAM,UAAU,CAAA;AACjB,OAAO,EAAY,UAAU,EAAM,MAAM,MAAM,CAAA;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;;AAI3F,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC,CAAA;AAiBnE,qBAGa,aAAa;IAqDZ,SAAS,CAAC,QAAQ,EAAE,QAAQ;IApDxC,SAAS,CAAC,MAAM,sCA8CwB;IAExC,IAAI,eAAe,aAElB;gBAEqB,QAAQ,EAAE,QAAQ;IAExC,kBAAkB,CAAC,SAAS,EAAE,MAAM;IAMpC,OAAO,CAAC,mBAAmB;IAG3B,OAAO,CAAC,mBAAmB;IAI3B,2BAA2B,CACzB,WAAW,EAAE,WAAW,GACvB,UAAU,CAAC,YAAY,CAAC;IAkB3B,0BAA0B,CAAC,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC,WAAW,CAAC;yCAxF/D,aAAa;6CAAb,aAAa;CAoGzB"}
@@ -2,11 +2,11 @@ import { EventEmitter } from '@angular/core';
2
2
  import { Organization } from '../../../../../../libs/common/domain/src/lib/model/record';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class OrganisationPreviewComponent {
5
- organisation: Organization;
5
+ organization: Organization;
6
6
  organisationUrl: string;
7
7
  clickedOrganisation: EventEmitter<Organization>;
8
8
  clickOrganisation(event: Event): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationPreviewComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationPreviewComponent, "gn-ui-organisation-preview", never, { "organisation": { "alias": "organisation"; "required": false; }; "organisationUrl": { "alias": "organisationUrl"; "required": false; }; }, { "clickedOrganisation": "clickedOrganisation"; }, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationPreviewComponent, "gn-ui-organisation-preview", never, { "organization": { "alias": "organization"; "required": false; }; "organisationUrl": { "alias": "organisationUrl"; "required": false; }; }, { "clickedOrganisation": "clickedOrganisation"; }, never, never, false, never>;
11
11
  }
12
12
  //# sourceMappingURL=organisation-preview.component.d.ts.map
@@ -9,9 +9,10 @@ import * as i7 from "@ngx-translate/core";
9
9
  import * as i8 from "../../../elements/src/lib/ui-elements.module";
10
10
  import * as i9 from "../../../inputs/src/lib/ui-inputs.module";
11
11
  import * as i10 from "@angular/material/icon";
12
+ import * as i11 from "@angular/router";
12
13
  export declare class UiCatalogModule {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<UiCatalogModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiCatalogModule, [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.UiElementsModule, typeof i9.UiInputsModule, typeof i10.MatIconModule], [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiCatalogModule, [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent], [typeof i6.CommonModule, typeof i7.TranslateModule, typeof i8.UiElementsModule, typeof i9.UiInputsModule, typeof i10.MatIconModule, typeof i11.RouterLink], [typeof i1.CatalogTitleComponent, typeof i2.OrganisationPreviewComponent, typeof i3.OrganisationsFilterComponent, typeof i4.LanguageSwitcherComponent, typeof i5.OrganisationsResultComponent]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<UiCatalogModule>;
16
17
  }
17
18
  //# sourceMappingURL=ui-catalog.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-catalog.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/catalog/src/lib/ui-catalog.module.ts"],"names":[],"mappings":";;;;;;;;;;;AAYA,qBAuBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
1
+ {"version":3,"file":"ui-catalog.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/catalog/src/lib/ui-catalog.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAwBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAAG"}
@@ -3,9 +3,8 @@ export declare class FigureComponent {
3
3
  icon: string;
4
4
  title: string;
5
5
  figure: string | number;
6
- unit?: string;
6
+ unit: string;
7
7
  color: 'primary' | 'secondary';
8
- get hoverTitle(): string;
9
8
  get textClass(): "text-primary" | "text-secondary";
10
9
  get bgClass(): "bg-primary-white" | "bg-secondary-white";
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FigureComponent, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"figure.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/figure/figure.component.ts"],"names":[],"mappings":";AAEA,qBAMa,eAAe;IACjB,IAAI,EAAG,MAAM,CAAA;IACb,KAAK,EAAG,MAAM,CAAA;IACd,MAAM,EAAG,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,SAAS,GAAG,WAAW,CAAY;IAEnD,IAAI,UAAU,WAGb;IAED,IAAI,SAAS,sCAEZ;IACD,IAAI,OAAO,8CAEV;yCAjBU,eAAe;2CAAf,eAAe;CAkB3B"}
1
+ {"version":3,"file":"figure.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/dataviz/src/lib/figure/figure.component.ts"],"names":[],"mappings":";AAEA,qBAMa,eAAe;IACjB,IAAI,EAAG,MAAM,CAAA;IACb,KAAK,EAAG,MAAM,CAAA;IACd,MAAM,EAAG,MAAM,GAAG,MAAM,CAAA;IACxB,IAAI,SAAK;IACT,KAAK,EAAE,SAAS,GAAG,WAAW,CAAY;IAEnD,IAAI,SAAS,sCAEZ;IAED,IAAI,OAAO,8CAEV;yCAbU,eAAe;2CAAf,eAAe;CAc3B"}
@@ -8,7 +8,6 @@ export * from './lib/image-overlay-preview/image-overlay-preview.component';
8
8
  export * from './lib/link-card/link-card.component';
9
9
  export * from './lib/markdown-editor/markdown-editor.component';
10
10
  export * from './lib/markdown-parser/markdown-parser.component';
11
- export * from './lib/max-lines/max-lines.component';
12
11
  export * from './lib/metadata-catalog/metadata-catalog.component';
13
12
  export * from './lib/metadata-contact/metadata-contact.component';
14
13
  export * from './lib/metadata-info/metadata-info.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,qCAAqC,CAAA;AACnD,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6DAA6D,CAAA;AAC3E,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6DAA6D,CAAA;AAC3E,cAAc,mDAAmD,CAAA;AACjE,cAAc,2CAA2C,CAAA;AACzD,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA;AACnD,cAAc,0BAA0B,CAAA;AACxC,cAAc,2CAA2C,CAAA"}
@@ -3,7 +3,9 @@ export declare enum ErrorType {
3
3
  COULD_NOT_REACH_API = 0,
4
4
  RECEIVED_ERROR = 1,
5
5
  RECORD_NOT_FOUND = 2,
6
- DATASET_HAS_NO_LINK = 3
6
+ DATASET_HAS_NO_LINK = 3,
7
+ ORGANIZATION_HAS_NO_DATASET = 4,
8
+ ORGANIZATION_NOT_FOUND = 5
7
9
  }
8
10
  export declare class ErrorComponent {
9
11
  type: ErrorType;
@@ -1 +1 @@
1
- {"version":3,"file":"error.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/error/error.component.ts"],"names":[],"mappings":";AAEA,oBAAY,SAAS;IACnB,mBAAmB,IAAA;IACnB,cAAc,IAAA;IACd,gBAAgB,IAAA;IAChB,mBAAmB,IAAA;CACpB;AAED,qBAMa,cAAc;IAChB,IAAI,EAAG,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,KAAK,mBAAY;yCAJN,cAAc;2CAAd,cAAc;CAK1B"}
1
+ {"version":3,"file":"error.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/error/error.component.ts"],"names":[],"mappings":";AAEA,oBAAY,SAAS;IACnB,mBAAmB,IAAA;IACnB,cAAc,IAAA;IACd,gBAAgB,IAAA;IAChB,mBAAmB,IAAA;IACnB,2BAA2B,IAAA;IAC3B,sBAAsB,IAAA;CACvB;AAED,qBAMa,cAAc;IAChB,IAAI,EAAG,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAA;IAC1B,KAAK,mBAAY;yCAJN,cAAc;2CAAd,cAAc;CAK1B"}
@@ -1,8 +1,12 @@
1
1
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class RelatedRecordCardComponent {
4
+ private readonly baseClasses;
4
5
  record: CatalogRecord;
6
+ extraClass: string;
7
+ constructor();
8
+ get classList(): string;
5
9
  static ɵfac: i0.ɵɵFactoryDeclaration<RelatedRecordCardComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<RelatedRecordCardComponent, "gn-ui-related-record-card", never, { "record": { "alias": "record"; "required": false; }; }, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<RelatedRecordCardComponent, "gn-ui-related-record-card", never, { "record": { "alias": "record"; "required": false; }; "extraClass": { "alias": "extraClass"; "required": false; }; }, {}, never, never, false, never>;
7
11
  }
8
12
  //# sourceMappingURL=related-record-card.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"related-record-card.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,0BAA0B;IAC5B,MAAM,EAAE,aAAa,CAAA;yCADnB,0BAA0B;2CAA1B,0BAA0B;CAEtC"}
1
+ {"version":3,"file":"related-record-card.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,0BAA0B;IACrC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAQ;IAE3B,MAAM,EAAE,aAAa,CAAA;IACrB,UAAU,SAAK;;IAgBxB,IAAI,SAAS,WAEZ;yCAtBU,0BAA0B;2CAA1B,0BAA0B;CAuBtC"}
@@ -15,27 +15,27 @@ import * as i13 from "./avatar/avatar.component";
15
15
  import * as i14 from "./user-preview/user-preview.component";
16
16
  import * as i15 from "./metadata-info/linkify.directive";
17
17
  import * as i16 from "./pagination-buttons/pagination-buttons.component";
18
- import * as i17 from "./max-lines/max-lines.component";
19
- import * as i18 from "./record-api-form/record-api-form.component";
20
- import * as i19 from "./user-feedback-item/user-feedback-item.component";
21
- import * as i20 from "./image-overlay-preview/image-overlay-preview.component";
22
- import * as i21 from "@angular/common";
23
- import * as i22 from "@angular/material/icon";
24
- import * as i23 from "@angular/material/tooltip";
25
- import * as i24 from "../../../widgets/src/lib/ui-widgets.module";
26
- import * as i25 from "../../../layout/src/lib/ui-layout.module";
27
- import * as i26 from "@ngx-translate/core";
28
- import * as i27 from "../../../../util/shared/src/lib/util-shared.module";
29
- import * as i28 from "@angular/router";
30
- import * as i29 from "../../../inputs/src/lib/ui-inputs.module";
31
- import * as i30 from "@angular/forms";
32
- import * as i31 from "./markdown-parser/markdown-parser.component";
33
- import * as i32 from "./thumbnail/thumbnail.component";
34
- import * as i33 from "./user-feedback-item/time-since.pipe";
35
- import * as i34 from "../../../inputs/src/lib/badge/badge.component";
18
+ import * as i17 from "./record-api-form/record-api-form.component";
19
+ import * as i18 from "./user-feedback-item/user-feedback-item.component";
20
+ import * as i19 from "./image-overlay-preview/image-overlay-preview.component";
21
+ import * as i20 from "@angular/common";
22
+ import * as i21 from "@angular/material/icon";
23
+ import * as i22 from "@angular/material/tooltip";
24
+ import * as i23 from "../../../widgets/src/lib/ui-widgets.module";
25
+ import * as i24 from "../../../layout/src/lib/ui-layout.module";
26
+ import * as i25 from "@ngx-translate/core";
27
+ import * as i26 from "../../../../util/shared/src/lib/util-shared.module";
28
+ import * as i27 from "@angular/router";
29
+ import * as i28 from "../../../inputs/src/lib/ui-inputs.module";
30
+ import * as i29 from "@angular/forms";
31
+ import * as i30 from "./markdown-parser/markdown-parser.component";
32
+ import * as i31 from "./thumbnail/thumbnail.component";
33
+ import * as i32 from "./user-feedback-item/time-since.pipe";
34
+ import * as i33 from "../../../inputs/src/lib/badge/badge.component";
35
+ import * as i34 from "../../../layout/src/lib/max-lines/max-lines.component";
36
36
  export declare class UiElementsModule {
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.MaxLinesComponent, typeof i18.RecordApiFormComponent, typeof i19.UserFeedbackItemComponent, typeof i20.ImageOverlayPreviewComponent], [typeof i21.CommonModule, typeof i22.MatIconModule, typeof i23.MatTooltipModule, typeof i24.UiWidgetsModule, typeof i25.UiLayoutModule, typeof i26.TranslateModule, typeof i27.UtilSharedModule, typeof i28.RouterModule, typeof i29.UiInputsModule, typeof i30.FormsModule, typeof i21.NgOptimizedImage, typeof i31.MarkdownParserComponent, typeof i32.ThumbnailComponent, typeof i33.TimeSincePipe, typeof i34.BadgeComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i32.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.MaxLinesComponent, typeof i18.RecordApiFormComponent, typeof i31.MarkdownParserComponent, typeof i19.UserFeedbackItemComponent, typeof i20.ImageOverlayPreviewComponent]>;
38
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent], [typeof i20.CommonModule, typeof i21.MatIconModule, typeof i22.MatTooltipModule, typeof i23.UiWidgetsModule, typeof i24.UiLayoutModule, typeof i25.TranslateModule, typeof i26.UtilSharedModule, typeof i27.RouterModule, typeof i28.UiInputsModule, typeof i29.FormsModule, typeof i20.NgOptimizedImage, typeof i30.MarkdownParserComponent, typeof i31.ThumbnailComponent, typeof i32.TimeSincePipe, typeof i33.BadgeComponent, typeof i34.MaxLinesComponent], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.ErrorComponent, typeof i12.PaginationComponent, typeof i31.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.RecordApiFormComponent, typeof i30.MarkdownParserComponent, typeof i18.UserFeedbackItemComponent, typeof i19.ImageOverlayPreviewComponent]>;
39
39
  static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
40
40
  }
41
41
  //# sourceMappingURL=ui-elements.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,qBAgEa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
1
+ {"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,qBA+Da,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
@@ -3,6 +3,7 @@ export * from './lib/carousel/carousel.component';
3
3
  export * from './lib/expandable-panel-button/expandable-panel-button.component';
4
4
  export * from './lib/expandable-panel/expandable-panel.component';
5
5
  export * from './lib/form-field-wrapper/form-field-wrapper.component';
6
+ export * from './lib/max-lines/max-lines.component';
6
7
  export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component';
7
8
  export * from './lib/interactive-table/interactive-table.component';
8
9
  export * from './lib/sticky-header/sticky-header.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qCAAqC,CAAA;AACnD,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ElementRef, AfterViewInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class MaxLinesComponent implements AfterViewInit, OnDestroy {
4
4
  private cdr;
@@ -15,6 +15,6 @@ export declare class MaxLinesComponent implements AfterViewInit, OnDestroy {
15
15
  getLineHeight(element: HTMLElement): number;
16
16
  ngOnDestroy(): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<MaxLinesComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<MaxLinesComponent, "gn-ui-max-lines", never, { "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, ["*"], false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaxLinesComponent, "gn-ui-max-lines", never, { "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, ["*"], true, never>;
19
19
  }
20
20
  //# sourceMappingURL=max-lines.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"max-lines.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAA;;AAItB,qBAQa,iBAAkB,YAAW,aAAa,EAAE,SAAS;IAUpD,OAAO,CAAC,GAAG;IATd,QAAQ,SAAI;IAErB,UAAU,UAAQ;IAClB,SAAS,SAAK;IACd,gBAAgB,UAAQ;IACxB,QAAQ,EAAE,cAAc,CAAA;IAEA,SAAS,EAAG,UAAU,CAAA;gBAE1B,GAAG,EAAE,iBAAiB;IAE1C,eAAe;IAYf,aAAa;IAKb,kBAAkB;IAyBlB,aAAa,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM;IAQ3C,WAAW,IAAI,IAAI;yCA9DR,iBAAiB;2CAAjB,iBAAiB;CAkE7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;;;AAUA,qBAea,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;;;AASA,qBAea,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatMenuTrigger } from '@angular/material/menu';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ActionMenuComponent {
5
+ duplicate: EventEmitter<void>;
6
+ trigger: MatMenuTrigger;
7
+ openMenu(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionMenuComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, {}, { "duplicate": "duplicate"; }, never, never, true, never>;
10
+ }
11
+ //# sourceMappingURL=action-menu.component.d.ts.map
@@ -0,0 +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,7 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
- import { FileFormat } from '../../../../../../libs/util/shared/src';
4
3
  import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search';
4
+ import { FileFormat } from '../../../../../../libs/util/shared/src';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ResultsTableComponent {
7
7
  records: CatalogRecord[];
@@ -10,6 +10,7 @@ export declare class ResultsTableComponent {
10
10
  recordHasDraft: (record: CatalogRecord) => boolean;
11
11
  sortByChange: EventEmitter<[string, "asc" | "desc"]>;
12
12
  recordClick: EventEmitter<CatalogRecord>;
13
+ duplicateRecord: EventEmitter<CatalogRecord>;
13
14
  recordsSelectedChange: EventEmitter<[CatalogRecord[], boolean]>;
14
15
  dateToString(date: Date): string;
15
16
  getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
@@ -17,6 +18,7 @@ export declare class ResultsTableComponent {
17
18
  formatUserInfo(userInfo: string | unknown): string;
18
19
  getBadgeColor(format: FileFormat): string;
19
20
  handleRecordClick(item: unknown): void;
21
+ handleDuplicate(item: unknown): void;
20
22
  setSortBy(col: string, order: 'asc' | 'desc'): void;
21
23
  isSortedBy(col: string): 'desc' | 'asc' | null;
22
24
  isChecked(record: CatalogRecord): boolean;
@@ -25,6 +27,6 @@ export declare class ResultsTableComponent {
25
27
  isAllSelected(): boolean;
26
28
  isSomeSelected(): boolean;
27
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
28
- 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"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, 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>;
29
31
  }
30
32
  //# 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":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAA;AACtE,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAIX,MAAM,wCAAwC,CAAA;AAS/C,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;;AAElE,qBAea,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,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,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;yCA5Fd,qBAAqB;2CAArB,qBAAqB;CAqGjC"}
1
+ {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["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AqB;CA0GjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.4.0-dev.e1bb65c4",
3
+ "version": "2.4.0-dev.e6ae55aa",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -1,3 +1,4 @@
1
+ export * from './lib/base.converter'
1
2
  export * from './lib/iso19139'
2
3
  export * from './lib/iso19115-3'
3
4
  export * from './lib/find-converter'
@@ -120,6 +120,7 @@ export const mapKeywords = (thesauri: Thesaurus[], language: string) => {
120
120
  keywords.push({
121
121
  label: selectTranslatedValue<string>(keyword, language),
122
122
  type: getKeywordTypeFromKeywordTypeCode(rawThesaurus.theme),
123
+ ...(keyword.link && { key: keyword.link }),
123
124
  ...(thesaurus && { thesaurus }),
124
125
  })
125
126
  }
@@ -5,6 +5,7 @@ type MultilingualField = {
5
5
  [K in `lang${LangCode}`]: string
6
6
  } & {
7
7
  default: string
8
+ link?: string
8
9
  }
9
10
 
10
11
  type BooleanString = 'true' | 'false'
@@ -24,6 +24,7 @@ import {
24
24
  } from '../../../../../../libs/common/domain/src/lib/model/search'
25
25
  import { catchError, map, tap } from 'rxjs/operators'
26
26
  import {
27
+ BaseConverter,
27
28
  findConverterForDocument,
28
29
  Gn4Converter,
29
30
  Gn4SearchResults,
@@ -230,6 +231,25 @@ export class Gn4Repository implements RecordsRepositoryInterface {
230
231
  )
231
232
  }
232
233
 
234
+ openRecordForDuplication(
235
+ uniqueIdentifier: string
236
+ ): Observable<[CatalogRecord, string, false] | null> {
237
+ return this.loadRecordAsXml(uniqueIdentifier).pipe(
238
+ switchMap(async (recordAsXml) => {
239
+ const converter = findConverterForDocument(recordAsXml)
240
+ const record = await converter.readRecord(recordAsXml)
241
+ record.uniqueIdentifier = `TEMP-ID-${Date.now()}`
242
+ record.title = `${record.title} (Copy)`
243
+ const xml = await converter.writeRecord(record, recordAsXml)
244
+ window.localStorage.setItem(
245
+ this.getLocalStorageKeyForRecord(record.uniqueIdentifier),
246
+ xml
247
+ )
248
+ return [record, xml, false] as [CatalogRecord, string, false]
249
+ })
250
+ )
251
+ }
252
+
233
253
  private serializeRecordToXml(
234
254
  record: CatalogRecord,
235
255
  referenceRecordSource?: string
@@ -76,6 +76,7 @@ export class OrganizationsFromGroupsService
76
76
  return {
77
77
  name: group.label[lang3],
78
78
  ...(group.description && { description: group.description }),
79
+ ...(group.email && { email: group.email }),
79
80
  ...(group.logo && {
80
81
  logoUrl: getAsUrl(`${IMAGE_URL}${group.logo}`),
81
82
  }),
@@ -230,10 +230,12 @@ export class OrganizationsFromMetadataService
230
230
  if (!group) return fullOrg
231
231
  return {
232
232
  ...fullOrg,
233
+ email: emails[0],
233
234
  ...(group.description && { description: group.description }),
234
235
  ...(group.logo && { logoUrl: getAsUrl(`${IMAGE_URL}${group.logo}`) }),
235
236
  ...(group.website && { website: getAsUrl(group.website) }),
236
- }
237
+ ...(group.email && { email: group.email }),
238
+ } as Organization
237
239
  })
238
240
  }
239
241
 
@@ -45,7 +45,7 @@ export class Gn4PlatformMapper {
45
45
  const {
46
46
  enabled,
47
47
  emailAddresses,
48
- organisation,
48
+ organization,
49
49
  kind,
50
50
  lastLoginDate,
51
51
  accountNonExpired,
@@ -5,7 +5,6 @@ import {
5
5
  MeApiService,
6
6
  RegistriesApiService,
7
7
  SiteApiService,
8
- ThesaurusInfoApiModel,
9
8
  ToolsApiService,
10
9
  UserfeedbackApiService,
11
10
  UsersApiService,
@@ -25,6 +24,7 @@ import {
25
24
  KeywordApiResponse,
26
25
  ThesaurusApiResponse,
27
26
  } from '../../../../../../../libs/api/metadata-converter/src'
27
+ import { KeywordType } from '../../../../../../../libs/common/domain/src/lib/model/thesaurus'
28
28
 
29
29
  const minApiVersion = '4.2.2'
30
30
 
@@ -146,25 +146,36 @@ export class Gn4PlatformService implements PlatformServiceInterface {
146
146
  )
147
147
  .pipe(
148
148
  map((thesaurus) => {
149
- // FIXME: find a better way to exclude place keywords
150
- // thesaurus[0].filter((thes) => thes.dname !== 'place')
151
149
  return thesaurus[0] as ThesaurusApiResponse[]
152
150
  }),
153
151
  shareReplay(1)
154
152
  )
155
153
 
156
- searchKeywords(query: string): Observable<Keyword[]> {
157
- const keywords$: Observable<KeywordApiResponse[]> =
158
- this.registriesApiService.searchKeywords(
159
- query,
160
- this.langService.iso3,
161
- 10,
162
- 0,
163
- null,
164
- null,
165
- null,
166
- `*${query}*`
167
- ) as Observable<KeywordApiResponse[]>
154
+ searchKeywords(
155
+ query: string,
156
+ keywordTypes: KeywordType[]
157
+ ): Observable<Keyword[]> {
158
+ const keywords$: Observable<KeywordApiResponse[]> = this.allThesaurus$.pipe(
159
+ switchMap((thesaurus) => {
160
+ const selectedThesauri = []
161
+ keywordTypes.map((keywordType) => {
162
+ selectedThesauri.push(
163
+ ...thesaurus.filter((thes) => thes.dname === keywordType)
164
+ )
165
+ })
166
+
167
+ return this.registriesApiService.searchKeywords(
168
+ query,
169
+ this.langService.iso3,
170
+ 10,
171
+ 0,
172
+ null,
173
+ selectedThesauri.map((thes) => thes.key),
174
+ null,
175
+ `*${query}*`
176
+ ) as Observable<KeywordApiResponse[]>
177
+ })
178
+ )
168
179
 
169
180
  return combineLatest([keywords$, this.allThesaurus$]).pipe(
170
181
  map(([keywords, thesaurus]) => {
@@ -1,5 +1,6 @@
1
1
  export interface Organization {
2
2
  name: string
3
+ email?: string
3
4
  description?: string
4
5
  website?: URL
5
6
  logoUrl?: URL
@@ -2,6 +2,7 @@ import type { Observable } from 'rxjs'
2
2
  import type { UserModel } from './model/user/user.model'
3
3
  import type { Organization } from './model/record/organization.model'
4
4
  import { Keyword, UserFeedback } from './model/record'
5
+ import { KeywordType } from './model/thesaurus'
5
6
 
6
7
  export abstract class PlatformServiceInterface {
7
8
  abstract getType(): string
@@ -15,7 +16,10 @@ export abstract class PlatformServiceInterface {
15
16
  ): Observable<UserModel[]>
16
17
  abstract getOrganizations(): Observable<Organization[]>
17
18
  abstract translateKey(key: string): Observable<string>
18
- abstract searchKeywords(query: string): Observable<Keyword[]>
19
+ abstract searchKeywords(
20
+ query: string,
21
+ keywordTypes: KeywordType[]
22
+ ): Observable<Keyword[]>
19
23
  abstract getKeywordsByUri(uri: string): Observable<Keyword[]>
20
24
  abstract getUserFeedbacks(recordUuid: string): Observable<UserFeedback[]>
21
25
  abstract postUserFeedbacks(recordUuid: UserFeedback): Observable<void>
@@ -30,6 +30,18 @@ export abstract class RecordsRepositoryInterface {
30
30
  uniqueIdentifier: string
31
31
  ): Observable<[CatalogRecord, string, boolean] | null>
32
32
 
33
+ /**
34
+ * This emits once:
35
+ * - record object with a new unique identifier and suffixed title
36
+ * - serialized representation of the record as text
37
+ * - false, as the duplicated record is always a draft
38
+ * @param uniqueIdentifier
39
+ * @returns Observable<[CatalogRecord, string, false] | null>
40
+ */
41
+ abstract openRecordForDuplication(
42
+ uniqueIdentifier: string
43
+ ): Observable<[CatalogRecord, string, false] | null>
44
+
33
45
  /**
34
46
  * @param record
35
47
  * @param referenceRecordSource
@@ -11,3 +11,5 @@ export * from './lib/records.fixtures'
11
11
  export * from './lib/repository.fixtures'
12
12
  export * from './lib/user.fixtures'
13
13
  export * from './lib/user-feedbacks.fixtures'
14
+
15
+ export * from './lib/editor'