geonetwork-ui 2.4.0-dev.6c8dcba0 → 2.4.0-dev.78565730

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 (379) 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/index.mjs +2 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +2 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +1 -1
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +1 -1
  9. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +25 -5
  10. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +2 -1
  11. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +3 -1
  12. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +12 -4
  13. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +38 -14
  14. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  15. package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
  16. package/esm2022/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.mjs +1 -1
  17. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  18. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  19. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +2 -6
  20. package/esm2022/libs/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
  21. package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
  22. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +1 -1
  23. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +6 -6
  24. package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
  25. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -6
  26. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
  27. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +7 -4
  28. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
  29. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +3 -1
  30. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +6 -4
  31. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +8 -2
  32. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  33. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +7 -3
  34. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +16 -6
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +59 -0
  36. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +64 -50
  37. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +17 -35
  38. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -2
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +11 -7
  40. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  41. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +4 -3
  42. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +144 -54
  43. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  44. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  45. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +15 -8
  46. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +42 -23
  47. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +13 -5
  48. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +49 -15
  49. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +7 -4
  50. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +3 -3
  51. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +8 -12
  52. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
  53. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  54. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +9 -2
  55. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +8 -1
  56. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  57. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +7 -4
  58. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  59. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +55 -0
  60. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
  61. package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
  62. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +7 -3
  63. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +5 -5
  64. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +5 -2
  65. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -8
  66. package/esm2022/libs/ui/elements/src/index.mjs +1 -2
  67. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  68. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +5 -3
  69. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +7 -7
  70. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +24 -5
  71. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +9 -11
  72. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +3 -3
  73. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  74. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +59 -26
  75. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +28 -0
  76. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +11 -10
  77. package/esm2022/libs/ui/layout/src/index.mjs +2 -1
  78. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
  79. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +1 -1
  80. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  81. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +29 -0
  82. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +128 -0
  83. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  84. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +5 -3
  85. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +1 -6
  86. package/esm2022/translations/de.json +96 -34
  87. package/esm2022/translations/en.json +67 -5
  88. package/esm2022/translations/es.json +67 -5
  89. package/esm2022/translations/fr.json +68 -6
  90. package/esm2022/translations/it.json +67 -5
  91. package/esm2022/translations/nl.json +67 -5
  92. package/esm2022/translations/pt.json +67 -5
  93. package/fesm2022/geonetwork-ui.mjs +1615 -757
  94. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  95. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  96. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  97. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  98. package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts +1 -0
  99. package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts.map +1 -1
  100. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +31 -0
  101. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -0
  102. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  103. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  104. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +3 -2
  105. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  106. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts +1 -1
  107. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -1
  108. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +3 -2
  109. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  110. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +2 -0
  111. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  112. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  113. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  114. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +3 -3
  115. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  116. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +9 -5
  117. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  118. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +4 -7
  119. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  120. package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
  121. package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
  122. package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts +12 -5
  123. package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts.map +1 -1
  124. package/libs/common/domain/src/lib/platform.service.interface.d.ts +4 -3
  125. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  126. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +12 -1
  127. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  128. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  129. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
  130. package/libs/feature/catalog/src/index.d.ts +1 -0
  131. package/libs/feature/catalog/src/index.d.ts.map +1 -1
  132. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  133. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  134. package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
  135. package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
  136. package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
  137. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +2 -1
  138. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
  139. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +6 -0
  140. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  141. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +1 -1
  142. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  143. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +5 -4
  144. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  145. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  146. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  147. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +4 -3
  148. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  149. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +4 -8
  150. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  151. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +25 -0
  152. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -0
  153. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +6 -6
  154. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
  155. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +7 -11
  156. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  157. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -1
  158. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  159. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +5 -7
  160. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  161. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  162. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  163. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  164. package/libs/feature/editor/src/lib/fields.config.d.ts +38 -2
  165. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  166. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +36 -0
  167. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  168. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  169. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  170. package/libs/feature/editor/src/lib/services/editor.service.d.ts +2 -2
  171. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  172. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  173. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  174. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  175. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  176. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  177. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  178. package/libs/feature/record/src/lib/feature-record.module.d.ts +2 -1
  179. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  180. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  181. package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
  182. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  183. package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
  184. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  185. package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
  186. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  187. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
  188. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  189. package/libs/feature/search/src/index.d.ts +1 -1
  190. package/libs/feature/search/src/index.d.ts.map +1 -1
  191. package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
  192. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  193. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  194. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +27 -0
  195. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -0
  196. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -0
  197. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  198. package/libs/feature/search/src/lib/state/selectors.d.ts +1 -0
  199. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  200. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  201. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
  202. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +2 -1
  203. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
  204. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
  205. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  206. package/libs/ui/elements/src/index.d.ts +0 -1
  207. package/libs/ui/elements/src/index.d.ts.map +1 -1
  208. package/libs/ui/elements/src/lib/error/error.component.d.ts +3 -1
  209. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
  210. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
  211. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  212. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +19 -19
  213. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  214. package/libs/ui/inputs/src/index.d.ts +1 -0
  215. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  216. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +7 -4
  217. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  218. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts +11 -0
  219. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -0
  220. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -35
  221. package/libs/ui/layout/src/index.d.ts +1 -0
  222. package/libs/ui/layout/src/index.d.ts.map +1 -1
  223. package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
  224. package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
  225. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  226. package/libs/ui/search/src/index.d.ts +1 -0
  227. package/libs/ui/search/src/index.d.ts.map +1 -1
  228. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +11 -0
  229. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  230. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +32 -0
  231. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
  232. package/libs/ui/widgets/src/index.d.ts +0 -1
  233. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  234. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
  235. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  236. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -11
  237. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  238. package/package.json +1 -1
  239. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  240. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  241. package/src/libs/api/metadata-converter/src/lib/gn4/types/index.ts +1 -0
  242. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +31 -0
  243. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  244. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -2
  245. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts +1 -1
  246. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +2 -2
  247. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +41 -8
  248. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
  249. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
  250. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +25 -4
  251. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +81 -21
  252. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +4 -9
  253. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
  254. package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +13 -6
  255. package/src/libs/common/domain/src/lib/platform.service.interface.ts +7 -3
  256. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +16 -1
  257. package/src/libs/common/fixtures/src/index.ts +2 -0
  258. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  259. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  260. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +28 -0
  261. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +8 -0
  262. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
  263. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
  264. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  265. package/src/libs/data-access/gn4/src/openapi/model/user.api.model.ts +1 -1
  266. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  267. package/src/libs/feature/catalog/src/index.ts +1 -0
  268. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +0 -1
  269. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
  270. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
  271. package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
  272. package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
  273. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +2 -1
  274. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +7 -0
  275. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +35 -29
  276. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +10 -1
  277. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  278. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +11 -5
  279. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +22 -8
  280. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +19 -0
  281. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +79 -0
  282. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +95 -86
  283. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +16 -31
  284. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +18 -45
  285. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -2
  286. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +51 -11
  287. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +15 -8
  288. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  289. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  290. package/src/libs/feature/editor/src/lib/fields.config.ts +176 -55
  291. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +53 -0
  292. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  293. package/src/libs/feature/editor/src/lib/services/editor.service.ts +27 -9
  294. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  295. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  296. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  297. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  298. package/src/libs/feature/record/src/lib/feature-record.module.ts +3 -2
  299. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +42 -31
  300. package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
  301. package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
  302. package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
  303. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +9 -1
  304. package/src/libs/feature/search/src/index.ts +1 -1
  305. package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
  306. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
  307. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +10 -0
  308. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +54 -0
  309. package/src/libs/feature/search/src/lib/state/search.facade.ts +5 -0
  310. package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
  311. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
  312. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
  313. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  314. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -0
  315. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
  316. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
  317. package/src/libs/ui/elements/src/index.ts +0 -1
  318. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  319. package/src/libs/ui/elements/src/lib/error/error.component.html +30 -6
  320. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -0
  321. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
  322. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
  323. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +4 -6
  324. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  325. package/src/libs/ui/inputs/src/index.ts +1 -0
  326. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +0 -1
  327. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +23 -19
  328. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +79 -27
  329. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +18 -0
  330. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +27 -0
  331. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +31 -0
  332. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
  333. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +38 -0
  334. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
  335. package/src/libs/ui/layout/src/index.ts +1 -0
  336. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.css +0 -0
  337. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +1 -0
  338. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
  339. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
  340. package/src/libs/ui/search/src/index.ts +1 -0
  341. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  342. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +17 -0
  343. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +22 -0
  344. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +0 -0
  345. package/src/libs/{feature → ui}/search/src/lib/results-table/results-table.component.html +17 -8
  346. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +152 -0
  347. package/src/libs/ui/widgets/src/index.ts +0 -1
  348. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
  349. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -3
  350. package/translations/de.json +96 -34
  351. package/translations/en.json +67 -5
  352. package/translations/es.json +67 -5
  353. package/translations/fr.json +68 -6
  354. package/translations/it.json +67 -5
  355. package/translations/nl.json +67 -5
  356. package/translations/pt.json +67 -5
  357. package/translations/sk.json +68 -6
  358. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  359. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  360. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +0 -136
  361. package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
  362. package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +0 -18
  363. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  364. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  365. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  366. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  367. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +0 -36
  368. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +0 -1
  369. package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
  370. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +0 -7
  371. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts.map +0 -1
  372. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  373. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  374. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +0 -172
  375. package/src/libs/ui/widgets/src/lib/badge/badge.component.html +0 -10
  376. package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +0 -14
  377. /package/src/libs/feature/{search/src/lib/results-table/results-table.component.css → editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.css} +0 -0
  378. /package/src/libs/{ui/elements/src/lib/max-lines/max-lines.component.css → feature/search/src/lib/results-table/results-table-container.component.css} +0 -0
  379. /package/src/libs/ui/{widgets → inputs}/src/lib/badge/badge.component.css +0 -0
@@ -1,4 +1,5 @@
1
1
  import { EditorState } from './editor.reducer';
2
+ import { EditorSectionWithValues } from './editor.models';
2
3
  export declare const selectEditorState: import("@ngrx/store").MemoizedSelector<object, EditorState, import("@ngrx/store").DefaultProjectorFn<EditorState>>;
3
4
  export declare const selectRecord: import("@ngrx/store").MemoizedSelector<object, import("../../../../../common/domain/src/lib/model/record").CatalogRecord, (s1: EditorState) => import("../../../../../common/domain/src/lib/model/record").CatalogRecord>;
4
5
  export declare const selectRecordSource: import("@ngrx/store").MemoizedSelector<object, string, (s1: EditorState) => string>;
@@ -6,12 +7,7 @@ export declare const selectRecordSaving: import("@ngrx/store").MemoizedSelector<
6
7
  export declare const selectRecordSaveError: import("@ngrx/store").MemoizedSelector<object, string, (s1: EditorState) => string>;
7
8
  export declare const selectRecordChangedSinceSave: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EditorState) => boolean>;
8
9
  export declare const selectRecordAlreadySavedOnce: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EditorState) => boolean>;
9
- export declare const selectRecordFieldsConfig: import("@ngrx/store").MemoizedSelector<object, import("../models/fields.model").EditorFieldsConfig, (s1: EditorState) => import("../models/fields.model").EditorFieldsConfig>;
10
- export declare const selectRecordFields: import("@ngrx/store").MemoizedSelector<object, {
11
- config: import("../models/fields.model").EditorFieldConfig;
12
- value: any;
13
- }[], (s1: EditorState) => {
14
- config: import("../models/fields.model").EditorFieldConfig;
15
- value: any;
16
- }[]>;
10
+ export declare const selectEditorConfig: import("@ngrx/store").MemoizedSelector<object, import("geonetwork-ui").EditorConfig, (s1: EditorState) => import("geonetwork-ui").EditorConfig>;
11
+ export declare const selectCurrentPage: import("@ngrx/store").MemoizedSelector<object, number, (s1: EditorState) => number>;
12
+ export declare const selectRecordSections: import("@ngrx/store").MemoizedSelector<object, EditorSectionWithValues[], (s1: EditorState) => EditorSectionWithValues[]>;
17
13
  //# sourceMappingURL=editor.selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editor.selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAElE,eAAO,MAAM,iBAAiB,oHAC0B,CAAA;AAExD,eAAO,MAAM,YAAY,2NAGxB,CAAA;AAED,eAAO,MAAM,kBAAkB,qFAG9B,CAAA;AAED,eAAO,MAAM,kBAAkB,uFAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB,qFAGjC,CAAA;AAED,eAAO,MAAM,4BAA4B,uFAGxC,CAAA;AAED,eAAO,MAAM,4BAA4B,uFAGxC,CAAA;AAED,eAAO,MAAM,wBAAwB,+KAGpC,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;IAO9B,CAAA"}
1
+ {"version":3,"file":"editor.selectors.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/+state/editor.selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,eAAO,MAAM,iBAAiB,oHAC0B,CAAA;AAExD,eAAO,MAAM,YAAY,2NAGxB,CAAA;AAED,eAAO,MAAM,kBAAkB,qFAG9B,CAAA;AAED,eAAO,MAAM,kBAAkB,uFAG9B,CAAA;AAED,eAAO,MAAM,qBAAqB,qFAGjC,CAAA;AAED,eAAO,MAAM,4BAA4B,uFAGxC,CAAA;AAED,eAAO,MAAM,4BAA4B,uFAGxC,CAAA;AAED,eAAO,MAAM,kBAAkB,iJAG9B,CAAA;AAED,eAAO,MAAM,iBAAiB,qFAG7B,CAAA;AAED,eAAO,MAAM,oBAAoB,2HAehC,CAAA"}
@@ -0,0 +1,25 @@
1
+ import { FormControl } from '@angular/forms';
2
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
3
+ import { Keyword } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
4
+ import * as i0 from "@angular/core";
5
+ type AutocompleteItem = {
6
+ title: string;
7
+ value: Keyword;
8
+ };
9
+ export declare class FormFieldKeywordsComponent {
10
+ private platformService;
11
+ control: FormControl<Keyword[]>;
12
+ displayWithFn: (item: AutocompleteItem) => string;
13
+ autoCompleteAction: (query: string) => import("rxjs").Observable<{
14
+ title: string;
15
+ value: Keyword;
16
+ }[]>;
17
+ constructor(platformService: PlatformServiceInterface);
18
+ handleItemSelection(item: AutocompleteItem): void;
19
+ addKeyword(keyword: Keyword): void;
20
+ removeKeyword(index: number): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldKeywordsComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldKeywordsComponent, "gn-ui-form-field-keywords", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
24
+ export {};
25
+ //# sourceMappingURL=form-field-keywords.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-field-keywords.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,kFAAkF,CAAA;AAQ3H,OAAO,EAAE,OAAO,EAAE,MAAM,oEAAoE,CAAA;;AAE5F,KAAK,gBAAgB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAA;AAEzD,qBAca,0BAA0B;IAmBzB,OAAO,CAAC,eAAe;IAlB1B,OAAO,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAA;IAExC,aAAa,SAAU,gBAAgB,YAEtC;IAED,kBAAkB,UAAW,MAAM;;;SAUlC;gBAEmB,eAAe,EAAE,wBAAwB;IAE7D,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAI1C,UAAU,CAAC,OAAO,EAAE,OAAO;IAmB3B,aAAa,CAAC,KAAK,EAAE,MAAM;yCA5ChB,0BAA0B;2CAA1B,0BAA0B;CAiDtC"}
@@ -1,20 +1,20 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
+ import { DropdownChoice } from '../../../../../../../../../libs/ui/inputs/src';
3
4
  import { TranslateService } from '@ngx-translate/core';
5
+ import { UpdateFrequency } from '../../../../../../../../../libs/common/domain/src/lib/model/record';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class FormFieldUpdateFrequencyComponent implements OnInit {
6
8
  private translateService;
7
- control: FormControl;
9
+ control: FormControl<UpdateFrequency>;
10
+ protected choices: DropdownChoice[];
8
11
  get planned(): boolean;
9
12
  constructor(translateService: TranslateService);
10
- ngOnInit(): void;
13
+ ngOnInit(): Promise<void>;
11
14
  onPlannedToggled(): void;
12
15
  get selectedFrequency(): string;
13
16
  onSelectFrequencyValue(value: unknown): void;
14
- choices: {
15
- value: string;
16
- label: any;
17
- }[];
17
+ private getInitialChoices;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldUpdateFrequencyComponent, never>;
19
19
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldUpdateFrequencyComponent, "gn-ui-form-field-update-frequency", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAM5C,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEvE,qBAQa,iCAAkC,YAAW,MAAM;IAOlD,OAAO,CAAC,gBAAgB;IAN3B,OAAO,EAAE,WAAW,CAAA;IAE7B,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEtD,QAAQ;IAmBR,gBAAgB;IAQhB,IAAI,iBAAiB,WAGpB;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;IAKrC,OAAO;;;QAyEN;yCAvHU,iCAAiC;2CAAjC,iCAAiC;CAwH7C"}
1
+ {"version":3,"file":"form-field-update-frequency.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAEL,cAAc,EAEf,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACvE,OAAO,EACL,eAAe,EAEhB,MAAM,oEAAoE,CAAA;;AAG3E,qBAQa,iCAAkC,YAAW,MAAM;IASlD,OAAO,CAAC,gBAAgB;IAR3B,OAAO,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;IAE9C,SAAS,CAAC,OAAO,EAAE,cAAc,EAAE,CAAK;IAExC,IAAI,OAAO,YAEV;gBAEmB,gBAAgB,EAAE,gBAAgB;IAEhD,QAAQ;IAuBd,gBAAgB;IAQhB,IAAI,iBAAiB,IAAI,MAAM,CAI9B;IAED,sBAAsB,CAAC,KAAK,EAAE,OAAO;YAQvB,iBAAiB;yCAxDpB,iCAAiC;2CAAjC,iCAAiC;CA4H7C"}
@@ -1,10 +1,11 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
- import { FormFieldConfig } from './form-field.model';
4
+ import { CatalogRecordKeys } from '../../../../../../../../libs/common/domain/src/lib/model/record';
5
+ import { FormFieldConfig } from '../../../models';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FormFieldComponent {
7
- model: string;
8
+ model: CatalogRecordKeys;
8
9
  config: FormFieldConfig;
9
10
  set value(v: unknown);
10
11
  valueChange: Observable<unknown>;
@@ -12,21 +13,16 @@ export declare class FormFieldComponent {
12
13
  formControl: FormControl<any>;
13
14
  constructor();
14
15
  focusTitleInput(): void;
15
- get simpleType(): "number" | "text" | "url" | "date" | "toggle" | "list";
16
- get isSimpleField(): boolean;
17
- get isFileField(): boolean;
18
- get isSpatialExtentField(): boolean;
19
- get isArrayField(): boolean;
20
- get isObjectField(): boolean;
21
- get isFieldOk(): boolean;
22
- get isFieldLocked(): boolean;
23
- get isFieldInvalid(): boolean;
24
16
  get isTitle(): boolean;
25
17
  get isAbstract(): boolean;
26
18
  get isLicenses(): boolean;
27
19
  get isResourceUpdated(): boolean;
28
20
  get isUpdateFrequency(): boolean;
29
21
  get isTemporalExtents(): boolean;
22
+ get isSpatialExtentField(): boolean;
23
+ get isSimpleField(): boolean;
24
+ get isReadOnly(): boolean;
25
+ get isKeywords(): boolean;
30
26
  get withoutWrapper(): boolean;
31
27
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
32
28
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "gn-ui-form-field", never, { "model": { "alias": "model"; "required": false; }; "config": { "alias": "config"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAYjC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;;AAGpD,qBA0Ba,kBAAkB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,UAAU,2DAQb;IAED,IAAI,aAAa,YAShB;IACD,IAAI,WAAW,YAEd;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,YAAY,YAEf;IACD,IAAI,aAAa,YAEhB;IAED,IAAI,SAAS,YAEZ;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,cAAc,YAEjB;IAED,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IAED,IAAI,cAAc,YAEjB;yCAtFU,kBAAkB;2CAAlB,kBAAkB;CAuF9B"}
1
+ {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,UAAU,EAIX,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,WAAW,EAAuB,MAAM,gBAAgB,CAAA;AAMjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAajC,OAAO,EAAE,iBAAiB,EAAE,MAAM,iEAAiE,CAAA;AAEnG,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;;AAEjD,qBA2Ba,kBAAkB;IACpB,KAAK,EAAE,iBAAiB,CAAA;IACxB,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IAES,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAEjB,UAAU,EAAE,UAAU,CAAA;IAE/C,WAAW,mBAAoB;;IAM/B,eAAe;IAIf,IAAI,OAAO,YAEV;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,iBAAiB,YAEpB;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,YAEb;IAED,IAAI,cAAc,YAEjB;yCAxDU,kBAAkB;2CAAlB,kBAAkB;CAyD9B"}
@@ -1,3 +1,4 @@
1
+ export * from './form-field-keywords/form-field-keywords.component';
1
2
  export * from './form-field-license/form-field-license.component';
2
3
  export * from './form-field-resource-updated/form-field-resource-updated.component';
3
4
  export * from './form-field-temporal-extents/form-field-temporal-extents.component';
@@ -8,5 +9,4 @@ export * from './form-field-object/form-field-object.component';
8
9
  export * from './form-field-array/form-field-array.component';
9
10
  export * from './form-field-spatial-extent/form-field-spatial-extent.component';
10
11
  export * from './form-field.component';
11
- export * from './form-field.model';
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;AAEnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,mDAAmD,CAAA;AACjE,cAAc,qEAAqE,CAAA;AACnF,cAAc,qEAAqE,CAAA;AACnF,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,wBAAwB,CAAA"}
@@ -1,15 +1,13 @@
1
1
  import { EditorFacade } from '../../+state/editor.facade';
2
- import { EditorFieldState, EditorFieldValue } from '../../models/fields.model';
2
+ import { EditorFieldValue } from '../../models';
3
+ import { EditorFieldWithValue, EditorSectionWithValues } from '../../+state/editor.models';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class RecordFormComponent {
5
6
  facade: EditorFacade;
6
- fields$: import("rxjs").Observable<{
7
- config: import("../../models/fields.model").EditorFieldConfig;
8
- value: any;
9
- }[]>;
10
7
  constructor(facade: EditorFacade);
11
- handleFieldValueChange(field: EditorFieldState, newValue: EditorFieldValue): void;
12
- fieldTracker(index: number, field: EditorFieldState): string;
8
+ handleFieldValueChange(model: string, newValue: EditorFieldValue): void;
9
+ fieldTracker(index: number, field: EditorFieldWithValue): any;
10
+ sectionTracker(index: number, section: EditorSectionWithValues): any;
13
11
  static ɵfac: i0.ɵɵFactoryDeclaration<RecordFormComponent, never>;
14
12
  static ɵcmp: i0.ɵɵComponentDeclaration<RecordFormComponent, "gn-ui-record-form", never, {}, {}, never, never, true, never>;
15
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;;AAG9E,qBAQa,mBAAmB;IAGX,MAAM,EAAE,YAAY;IAFvC,OAAO;;;SAA4B;gBAEhB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB;IAO1E,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB;yCAZxC,mBAAmB;2CAAnB,mBAAmB;CAe/B"}
1
+ {"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAG/C,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,4BAA4B,CAAA;;AAEnC,qBAQa,mBAAmB;IACX,MAAM,EAAE,YAAY;gBAApB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB;IAOhE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,oBAAoB,GAAG,GAAG;IAI7D,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,GAAG,GAAG;yCAdzD,mBAAmB;2CAAnB,mBAAmB;CAiB/B"}
@@ -1,4 +1,4 @@
1
- import { EditorFieldState, EditorFieldValue } from './models/fields.model';
1
+ import { EditorFieldState, EditorFieldValue } from './models/';
2
2
  export type ExpressionEvaluator = (field: EditorFieldState) => EditorFieldValue;
3
3
  export declare function evaluate(expression: string): ExpressionEvaluator;
4
4
  //# sourceMappingURL=expressions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/expressions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,gBAAgB,CAAA;AAE/E,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAWhE"}
1
+ {"version":3,"file":"expressions.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/expressions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAA;AAE9D,MAAM,MAAM,mBAAmB,GAAG,CAAC,KAAK,EAAE,gBAAgB,KAAK,gBAAgB,CAAA;AAE/E,wBAAgB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,mBAAmB,CAWhE"}
@@ -1 +1 @@
1
- {"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAkBA,qBAyBa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
1
+ {"version":3,"file":"feature-editor.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/feature-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAmBA,qBAyBa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA"}
@@ -1,3 +1,39 @@
1
- import { EditorFieldsConfig } from './models/fields.model';
2
- export declare const DEFAULT_FIELDS: EditorFieldsConfig;
1
+ import { EditorConfig, EditorField, EditorSection } from './models/editor-config.model';
2
+ /**
3
+ * This file contains the configuration of the fields that will be displayed in the editor.
4
+ * To add a new field, you need to create a new EditorField object in the fields part of this file.
5
+ * Then add it to the corresponding section in the sections part of this file.
6
+ * Finally, add the section to the corresponding page in the pages part of this file.
7
+ */
8
+ /************************************************************
9
+ *************** FIELDS *****************
10
+ ************************************************************
11
+ */
12
+ export declare const RECORD_LICENSE_FIELD: EditorField;
13
+ export declare const RECORD_KEYWORDS_FIELD: EditorField;
14
+ export declare const RECORD_UNIQUE_IDENTIFIER_FIELD: EditorField;
15
+ export declare const RECORD_RESOURCE_UPDATED_FIELD: EditorField;
16
+ export declare const RECORD_UPDATED_FIELD: EditorField;
17
+ export declare const RECORD_UPDATE_FREQUENCY_FIELD: EditorField;
18
+ export declare const RECORD_TEMPORAL_EXTENTS_FIELD: EditorField;
19
+ export declare const RECORD_TITLE_FIELD: EditorField;
20
+ export declare const RECORD_ABSTRACT_FIELD: EditorField;
21
+ /************************************************************
22
+ *************** SECTIONS *****************
23
+ ************************************************************
24
+ */
25
+ export declare const TITLE_SECTION: EditorSection;
26
+ export declare const ABOUT_SECTION: EditorSection;
27
+ export declare const GEOGRAPHICAL_COVERAGE_SECTION: EditorSection;
28
+ export declare const ASSOCIATED_RESOURCES_SECTION: EditorSection;
29
+ export declare const ANNEXES_SECTION: EditorSection;
30
+ export declare const CLASSIFICATION_SECTION: EditorSection;
31
+ export declare const USE_AND_ACCESS_CONDITIONS_SECTION: EditorSection;
32
+ export declare const DATA_MANAGERS_SECTION: EditorSection;
33
+ export declare const DATA_POINT_OF_CONTACT_SECTION: EditorSection;
34
+ /************************************************************
35
+ *************** PAGES *****************
36
+ ************************************************************
37
+ */
38
+ export declare const DEFAULT_CONFIGURATION: EditorConfig;
3
39
  //# sourceMappingURL=fields.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,kBA4D5B,CAAA"}
1
+ {"version":3,"file":"fields.config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/editor/src/lib/fields.config.ts"],"names":[],"mappings":"AACA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACd,MAAM,8BAA8B,CAAA;AAErC;;;;;GAKG;AAEH;;;GAGG;AAEH,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,WAM5C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,WAOlC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,WAK3C,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAKhC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,WAKnC,CAAA;AAED;;;GAGG;AAEH,eAAO,MAAM,aAAa,EAAE,aAG3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,aAW3B,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAI3C,CAAA;AAED,eAAO,MAAM,4BAA4B,EAAE,aAO1C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,aAOpC,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,aAI/C,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,aAKnC,CAAA;AAED,eAAO,MAAM,6BAA6B,EAAE,aAO3C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,YAoBnC,CAAA"}
@@ -0,0 +1,36 @@
1
+ import { CatalogRecordKeys } from '../../../../../../libs/common/domain/src/lib/model/record';
2
+ export type EditorFieldExpression = `$\{${string}}`;
3
+ export type EditorFieldValue = string | number | boolean | unknown;
4
+ export interface FormFieldConfig {
5
+ labelKey?: string;
6
+ hintKey?: string;
7
+ tooltipKey?: string;
8
+ required?: boolean;
9
+ locked?: boolean;
10
+ invalid?: boolean;
11
+ invalidHintKey?: string;
12
+ }
13
+ export interface EditorField {
14
+ formFieldConfig: FormFieldConfig;
15
+ model?: CatalogRecordKeys;
16
+ hidden?: boolean;
17
+ onSaveProcess?: EditorFieldExpression;
18
+ }
19
+ export interface EditorSection {
20
+ labelKey?: string;
21
+ descriptionKey?: string;
22
+ hidden: boolean;
23
+ fields: EditorField[];
24
+ }
25
+ export interface EditorFieldPage {
26
+ labelKey?: string;
27
+ sections: EditorSection[];
28
+ }
29
+ export interface EditorConfig {
30
+ pages: EditorFieldPage[];
31
+ }
32
+ export interface EditorFieldState {
33
+ model: string;
34
+ value: EditorFieldValue;
35
+ }
36
+ //# sourceMappingURL=editor-config.model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-config.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/editor-config.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2DAA2D,CAAA;AAI7F,MAAM,MAAM,qBAAqB,GAAG,MAAM,MAAM,GAAG,CAAA;AAEnD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAElE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,WAAW;IAE1B,eAAe,EAAE,eAAe,CAAA;IAGhC,KAAK,CAAC,EAAE,iBAAiB,CAAA;IAIzB,MAAM,CAAC,EAAE,OAAO,CAAA;IAGhB,aAAa,CAAC,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,EAAE,OAAO,CAAA;IACf,MAAM,EAAE,WAAW,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,aAAa,EAAE,CAAA;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,gBAAgB,CAAA;CACxB"}
@@ -1,3 +1,4 @@
1
1
  export * from './wizard-field.model';
2
2
  export * from './wizard-field.type';
3
+ export * from './editor-config.model';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA"}
@@ -1,12 +1,12 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
- import { EditorFieldsConfig } from '../models/fields.model';
3
+ import { EditorConfig } from '../models/';
4
4
  import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class EditorService {
7
7
  private recordsRepository;
8
8
  constructor(recordsRepository: RecordsRepositoryInterface);
9
- saveRecord(record: CatalogRecord, fieldsConfig: EditorFieldsConfig): Observable<[CatalogRecord, string]>;
9
+ saveRecord(record: CatalogRecord, fieldsConfig: EditorConfig, generateNewUniqueIdentifier?: boolean): Observable<[CatalogRecord, string]>;
10
10
  saveRecordAsDraft(record: CatalogRecord): Observable<void>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorService, never>;
12
12
  static ɵprov: i0.ɵɵInjectableDeclaration<EditorService>;
@@ -1 +1 @@
1
- {"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,kBAAkB,GAC/B,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAoBtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;yCA3B/C,aAAa;6CAAb,aAAa;CAgCzB"}
1
+ {"version":3,"file":"editor.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/services/editor.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAa,MAAM,MAAM,CAAA;AAE5C,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAEjI,qBAGa,aAAa;IACZ,OAAO,CAAC,iBAAiB;gBAAjB,iBAAiB,EAAE,0BAA0B;IAGjE,UAAU,CACR,MAAM,EAAE,aAAa,EACrB,YAAY,EAAE,YAAY,EAC1B,2BAA2B,UAAQ,GAClC,UAAU,CAAC,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAqCtC,iBAAiB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC;yCA7C/C,aAAa;6CAAb,aAAa;CAkDzB"}
@@ -1,5 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  import { Configuration } from '../../../../../../libs/data-access/gn4/src';
3
+ import { BehaviorSubject } from 'rxjs';
3
4
  import { MdViewFacade } from '../state';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare const WEB_COMPONENT_EMBEDDER_URL: InjectionToken<string>;
@@ -8,9 +9,11 @@ export declare class DataViewPermalinkComponent {
8
9
  protected wcEmbedderBaseUrl: string;
9
10
  private version;
10
11
  private facade;
12
+ viewType$: BehaviorSubject<string>;
13
+ set viewType(value: string);
11
14
  permalinkUrl$: import("rxjs").Observable<string>;
12
15
  constructor(config: Configuration, wcEmbedderBaseUrl: string, version: string, facade: MdViewFacade);
13
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DataViewPermalinkComponent, [null, { optional: true; }, null, null]>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<DataViewPermalinkComponent, "gn-ui-data-view-permalink", never, {}, {}, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataViewPermalinkComponent, "gn-ui-data-view-permalink", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, false, never>;
15
18
  }
16
19
  //# sourceMappingURL=data-view-permalink.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-view-permalink.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EAEf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAE1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;AAGvC,eAAO,MAAM,0BAA0B,wBAEtC,CAAA;AAED,qBAMa,0BAA0B;IA4BZ,OAAO,CAAC,MAAM;IAGrC,SAAS,CAAC,iBAAiB,EAAE,MAAM;IACZ,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IAhChB,aAAa,oCAwBZ;gBAGgC,MAAM,EAAE,aAAa,EAG1C,iBAAiB,EAAE,MAAM,EACJ,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCAjCnB,0BAA0B;2CAA1B,0BAA0B;CAmCtC"}
1
+ {"version":3,"file":"data-view-permalink.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,cAAc,EAGf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;AAGvC,eAAO,MAAM,0BAA0B,wBAEtC,CAAA;AAED,qBAMa,0BAA0B;IA4CZ,OAAO,CAAC,MAAM;IAGrC,SAAS,CAAC,iBAAiB,EAAE,MAAM;IACZ,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IAhDhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,aAAa,oCAkCZ;gBAGgC,MAAM,EAAE,aAAa,EAG1C,iBAAiB,EAAE,MAAM,EACJ,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCAjDnB,0BAA0B;2CAA1B,0BAA0B;CAmDtC"}
@@ -1,8 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DataViewShareComponent {
3
3
  protected wcEmbedderBaseUrl: string;
4
+ private _viewType;
5
+ set viewType(value: string);
6
+ get viewType(): string;
4
7
  constructor(wcEmbedderBaseUrl: string);
5
8
  static ɵfac: i0.ɵɵFactoryDeclaration<DataViewShareComponent, [{ optional: true; }]>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<DataViewShareComponent, "gn-ui-data-view-share", never, {}, {}, never, never, false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataViewShareComponent, "gn-ui-data-view-share", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, false, never>;
7
10
  }
8
11
  //# sourceMappingURL=data-view-share.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-view-share.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts"],"names":[],"mappings":";AAQA,qBAMa,sBAAsB;IAI/B,SAAS,CAAC,iBAAiB,EAAE,MAAM;gBAAzB,iBAAiB,EAAE,MAAM;yCAJ1B,sBAAsB;2CAAtB,sBAAsB;CAMlC"}
1
+ {"version":3,"file":"data-view-share.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts"],"names":[],"mappings":";AASA,qBAMa,sBAAsB;IAc/B,SAAS,CAAC,iBAAiB,EAAE,MAAM;IAbrC,OAAO,CAAC,SAAS,CAAQ;IAEzB,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;gBAIW,iBAAiB,EAAE,MAAM;yCAd1B,sBAAsB;2CAAtB,sBAAsB;CAgBlC"}
@@ -1,13 +1,16 @@
1
1
  import { Configuration } from '../../../../../../libs/data-access/gn4/src';
2
2
  import { MdViewFacade } from '../state';
3
+ import { BehaviorSubject } from 'rxjs';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class DataViewWebComponentComponent {
5
6
  private config;
6
7
  private version;
7
8
  private facade;
9
+ viewType$: BehaviorSubject<string>;
10
+ set viewType(value: string);
8
11
  webComponentHtml$: import("rxjs").Observable<string>;
9
12
  constructor(config: Configuration, version: string, facade: MdViewFacade);
10
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DataViewWebComponentComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DataViewWebComponentComponent, "gn-ui-data-view-web-component", never, {}, {}, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataViewWebComponentComponent, "gn-ui-data-view-web-component", never, { "viewType": { "alias": "viewType"; "required": false; }; }, {}, never, never, false, never>;
12
15
  }
13
16
  //# sourceMappingURL=data-view-web-component.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data-view-web-component.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;;AAIvC,qBAMa,6BAA6B;IAkCf,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IAnChB,iBAAiB,oCA8BhB;gBAGgC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCApCnB,6BAA6B;2CAA7B,6BAA6B;CAsCzC"}
1
+ {"version":3,"file":"data-view-web-component.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AACvC,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;;AAG1D,qBAMa,6BAA6B;IA4Ef,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACtC,OAAO,CAAC,MAAM;IA7EhB,SAAS,0BAAqC;IAC9C,IACI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IACD,iBAAiB,oCAmEhB;gBAGgC,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,MAAM,EACtC,MAAM,EAAE,YAAY;yCA9EnB,6BAA6B;2CAA7B,6BAA6B;CAgFzC"}
@@ -20,9 +20,10 @@ import * as i18 from "../../../../ui/widgets/src/lib/ui-widgets.module";
20
20
  import * as i19 from "@ngx-translate/core";
21
21
  import * as i20 from "../../../../ui/dataviz/src/lib/table/table.component";
22
22
  import * as i21 from "../../../dataviz/src/lib/feature-dataviz.module";
23
+ import * as i22 from "../../../../ui/widgets/src/lib/popup-alert/popup-alert.component";
23
24
  export declare class FeatureRecordModule {
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureRecordModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureRecordModule, [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i3.ExternalViewerButtonComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent], [typeof i7.CommonModule, typeof i8.StoreFeatureModule, typeof i9.EffectsFeatureModule, typeof i10.UiLayoutModule, typeof i11.FeatureMapModule, typeof i12.FeatureCatalogModule, typeof i13.UiMapModule, typeof i14.UiInputsModule, typeof i15.UiElementsModule, typeof i16.MatTabsModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.TranslateModule, typeof i20.TableComponent, typeof i21.FeatureDatavizModule], [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent]>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureRecordModule, [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i3.ExternalViewerButtonComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent], [typeof i7.CommonModule, typeof i8.StoreFeatureModule, typeof i9.EffectsFeatureModule, typeof i10.UiLayoutModule, typeof i11.FeatureMapModule, typeof i12.FeatureCatalogModule, typeof i13.UiMapModule, typeof i14.UiInputsModule, typeof i15.UiElementsModule, typeof i16.MatTabsModule, typeof i17.MatIconModule, typeof i18.UiWidgetsModule, typeof i19.TranslateModule, typeof i20.TableComponent, typeof i21.FeatureDatavizModule, typeof i22.PopupAlertComponent], [typeof i1.MapViewComponent, typeof i2.DataViewComponent, typeof i4.DataViewPermalinkComponent, typeof i5.DataViewWebComponentComponent, typeof i6.DataViewShareComponent]>;
26
27
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureRecordModule>;
27
28
  }
28
29
  //# sourceMappingURL=feature-record.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA6BA,qBAmCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"feature-record.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/record/src/lib/feature-record.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA6BA,qBAoCa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAI3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;;AAExE,qBAOa,YAAY;IAErB,OAAO,CAAC,KAAK;IACN,cAAc,EAAE,qBAAqB;IAC5C,OAAO,CAAC,aAAa;IACd,WAAW,EAAE,WAAW;gBAHvB,KAAK,EAAE,KAAK,EACb,cAAc,EAAE,qBAAqB,EACpC,aAAa,EAAE,sBAAsB,EACtC,WAAW,EAAE,WAAW;IAGjC,UAAU,qCAGT;IAED,kBAAkB,qCAEjB;IAED,SAAS,oDAGR;IAED,aAAa,qCAGZ;IAED,MAAM;;;OAA4D;IAElE,QAAQ,6CAAsD;IAE9D,YAAY,uDAA0D;IAEtE,SAAS,8HAER;IAED,SAAS,8HAIR;IAED,YAAY,8HAMX;IAED,cAAc,8HAMb;IAED,UAAU,8HAIT;IAED,aAAa,8HAMZ;IAED,yBAAyB,mCA+BxB;IAED,iBAAiB,mCAEhB;IAED,WAAW,8HAMV;IAED,cAAc,4CAA4D;IAC1E,yBAAyB,qCAExB;IACD,yBAAyB,qCAExB;IAED;;;OAGG;IACH,qBAAqB,CAAC,UAAU,EAAE,aAAa;IAI/C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAIrB,aAAa;IAIb,cAAc,CAAC,WAAW,EAAE,yBAAyB;IAIrD;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY;IAI1C,iBAAiB,CAAC,WAAW,EAAE,MAAM;yCA5J1B,YAAY;6CAAZ,YAAY;CA+JxB"}
1
+ {"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAY3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;AAGlF,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;;AAExE,qBAOa,YAAY;IAErB,OAAO,CAAC,KAAK;IACN,cAAc,EAAE,qBAAqB;IAC5C,OAAO,CAAC,aAAa;IACd,WAAW,EAAE,WAAW;gBAHvB,KAAK,EAAE,KAAK,EACb,cAAc,EAAE,qBAAqB,EACpC,aAAa,EAAE,sBAAsB,EACtC,WAAW,EAAE,WAAW;IAGjC,UAAU,qCAGT;IAED,kBAAkB,qCAEjB;IAED,SAAS,oDAGR;IAED,aAAa,qCAGZ;IAED,MAAM;;;OAA4D;IAElE,QAAQ,6CAAsD;IAE9D,YAAY,uDAA0D;IAEtE,SAAS,8HAER;IAED,SAAS,8HAIR;IAED,YAAY,8HAMX;IAED,cAAc,8HAMb;IAED,UAAU,8HAIT;IAED,aAAa,8HAMZ;IAED,yBAAyB,mCAkCxB;IAED,iBAAiB,mCAEhB;IAED,WAAW,8HAMV;IAED,cAAc,4CAA4D;IAC1E,yBAAyB,qCAExB;IACD,yBAAyB,qCAExB;IAED;;;OAGG;IACH,qBAAqB,CAAC,UAAU,EAAE,aAAa;IAI/C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAIrB,aAAa;IAIb,cAAc,CAAC,WAAW,EAAE,yBAAyB;IAIrD;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY;IAI1C,iBAAiB,CAAC,WAAW,EAAE,MAAM;yCA/J1B,YAAY;6CAAZ,YAAY;CAkKxB"}
@@ -1,6 +1,7 @@
1
1
  export declare const ROUTER_STATE_KEY = "router";
2
2
  export declare const ROUTER_ROUTE_SEARCH = "search";
3
3
  export declare const ROUTER_ROUTE_DATASET = "dataset";
4
+ export declare const ROUTER_ROUTE_ORGANIZATION = "organization";
4
5
  export declare enum ROUTE_PARAMS {
5
6
  SORT = "_sort",
6
7
  PUBLISHER = "publisher",
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,oBAAY,YAAY;IACtB,IAAI,UAAU;IACd,SAAS,cAAc;IACvB,IAAI,UAAU;CACf;AACD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,WAAW,CAAA;AAExC,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C,eAAO,MAAM,yBAAyB,iBAAiB,CAAA;AAEvD,oBAAY,YAAY;IACtB,IAAI,UAAU;IACd,SAAS,cAAc;IACvB,IAAI,UAAU;CACf;AACD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAA"}
@@ -3,6 +3,7 @@ export interface RouterConfigModel {
3
3
  searchStateId: string;
4
4
  searchRouteComponent: Type<any>;
5
5
  recordRouteComponent: Type<any>;
6
+ organizationRouteComponent: Type<any>;
6
7
  }
7
8
  export declare const ROUTER_CONFIG: InjectionToken<RouterConfigModel>;
8
9
  //# sourceMappingURL=router.config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"router.config.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEpD,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/B,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;CAChC;AAED,eAAO,MAAM,aAAa,mCAEzB,CAAA"}
1
+ {"version":3,"file":"router.config.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AAEpD,MAAM,WAAW,iBAAiB;IAChC,aAAa,EAAE,MAAM,CAAA;IACrB,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/B,oBAAoB,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/B,0BAA0B,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;CACtC;AAED,eAAO,MAAM,aAAa,mCAEzB,CAAA"}
@@ -8,6 +8,7 @@ export declare class RouterService {
8
8
  initRoutes(): void;
9
9
  buildRoutes(): Routes;
10
10
  getSearchRoute(): string;
11
+ getOrganizationPageRoute(): string;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<RouterService, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<RouterService>;
13
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"router.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAiB,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;;AAElE,qBAGa,aAAa;IAEC,SAAS,CAAC,YAAY,EAAE,iBAAiB;IAChE,OAAO,CAAC,MAAM;gBADmB,YAAY,EAAE,iBAAiB,EACxD,MAAM,EAAE,MAAM;IAGxB,UAAU;IAIV,WAAW,IAAI,MAAM;IAiBrB,cAAc,IAAI,MAAM;yCA3Bb,aAAa;6CAAb,aAAa;CA8BzB"}
1
+ {"version":3,"file":"router.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/router/src/lib/default/router.service.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAiB,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;;AAElE,qBAGa,aAAa;IAEC,SAAS,CAAC,YAAY,EAAE,iBAAiB;IAChE,OAAO,CAAC,MAAM;gBADmB,YAAY,EAAE,iBAAiB,EACxD,MAAM,EAAE,MAAM;IAGxB,UAAU;IAIV,WAAW,IAAI,MAAM;IAqBrB,cAAc,IAAI,MAAM;IAIxB,wBAAwB,IAAI,MAAM;yCAnCvB,aAAa;6CAAb,aAAa;CAsCzB"}
@@ -13,6 +13,7 @@ export declare class RouterFacade {
13
13
  searchParams$: import("rxjs").Observable<any>;
14
14
  constructor(store: Store<RouterReducerState>, routerService: RouterService);
15
15
  goToMetadata(metadata: CatalogRecord): void;
16
+ goToOrganization(organizationName: string): void;
16
17
  updateSearch(query?: SearchRouteParams): void;
17
18
  setSearch(query?: SearchRouteParams): void;
18
19
  go(payload: RouterGoActionPayload): void;
@@ -1 +1 @@
1
- {"version":3,"file":"router.facade.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/router/src/lib/default/state/router.facade.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAGL,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAIL,qBAAqB,EACtB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;;AAE5F,qBACa,YAAY;IAYrB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,aAAa;IAZvB,aAAa,iCAA8C;IAC3D,WAAW,8DAA6C;IAExD,aAAa,iCAKZ;gBAGS,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,EAChC,aAAa,EAAE,aAAa;IAGtC,YAAY,CAAC,QAAQ,EAAE,aAAa;IAgBpC,YAAY,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAQtC,SAAS,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAOnC,EAAE,CAAC,OAAO,EAAE,qBAAqB;IAIjC,IAAI;IAIJ,OAAO;yCAvDI,YAAY;6CAAZ,YAAY;CA0DxB"}
1
+ {"version":3,"file":"router.facade.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/router/src/lib/default/state/router.facade.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAE3C,OAAO,EAGL,iBAAiB,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAIL,qBAAqB,EACtB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,MAAM,8DAA8D,CAAA;;AAE5F,qBACa,YAAY;IAYrB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,aAAa;IAZvB,aAAa,iCAA8C;IAC3D,WAAW,8DAA6C;IAExD,aAAa,iCAKZ;gBAGS,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,EAChC,aAAa,EAAE,aAAa;IAGtC,YAAY,CAAC,QAAQ,EAAE,aAAa;IAgBpC,gBAAgB,CAAC,gBAAgB,EAAE,MAAM;IAQzC,YAAY,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAQtC,SAAS,CAAC,KAAK,CAAC,EAAE,iBAAiB;IAOnC,EAAE,CAAC,OAAO,EAAE,qBAAqB;IAIjC,IAAI;IAIJ,OAAO;yCA/DI,YAAY;6CAAZ,YAAY;CAkExB"}
@@ -21,5 +21,5 @@ export * from './lib/results-hits-number/results-hits.container.component';
21
21
  export * from './lib/results-layout/results-layout.component';
22
22
  export * from './lib/sort-by/sort-by.component';
23
23
  export * from './lib/state/container/search-state.container.directive';
24
- export * from './lib/results-table/results-table.component';
24
+ export * from './lib/results-table/results-table-container.component';
25
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/search/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2CAA2C,CAAA;AACzD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0DAA0D,CAAA;AACxE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,uDAAuD,CAAA;AACrE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,6CAA6C,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/search/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA;AAC3C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2CAA2C,CAAA;AACzD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0DAA0D,CAAA;AACxE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,uDAAuD,CAAA;AACrE,cAAc,4DAA4D,CAAA;AAC1E,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iCAAiC,CAAA;AAC/C,cAAc,wDAAwD,CAAA;AACtE,cAAc,uDAAuD,CAAA"}
@@ -19,9 +19,10 @@ import * as i17 from "../../../../ui/elements/src/lib/ui-elements.module";
19
19
  import * as i18 from "./facets/facets.module";
20
20
  import * as i19 from "@angular/material/icon";
21
21
  import * as i20 from "../../../../ui/widgets/src/lib/ui-widgets.module";
22
+ import * as i21 from "../../../../ui/inputs/src/lib/autocomplete/autocomplete.component";
22
23
  export declare class FeatureSearchModule {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FeatureSearchModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.HttpClientModule, typeof i14.HttpClientXsrfModule, typeof i15.UiSearchModule, typeof i16.UiInputsModule, typeof i17.UiElementsModule, typeof i18.FacetsModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i18.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent]>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureSearchModule, [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent], [typeof i10.CommonModule, typeof i11.TranslateModule, typeof i12.StoreFeatureModule, typeof i13.EffectsFeatureModule, typeof i14.HttpClientModule, typeof i14.HttpClientXsrfModule, typeof i15.UiSearchModule, typeof i16.UiInputsModule, typeof i17.UiElementsModule, typeof i18.FacetsModule, typeof i19.MatIconModule, typeof i20.UiWidgetsModule, typeof i21.AutocompleteComponent], [typeof i1.SortByComponent, typeof i2.ResultsLayoutComponent, typeof i3.FuzzySearchComponent, typeof i4.RecordsMetricsComponent, typeof i5.ResultsListContainerComponent, typeof i6.ResultsHitsContainerComponent, typeof i18.FacetsModule, typeof i7.SearchStateContainerDirective, typeof i8.FavoriteStarComponent, typeof i9.FilterDropdownComponent]>;
25
26
  static ɵinj: i0.ɵɵInjectorDeclaration<FeatureSearchModule>;
26
27
  }
27
28
  //# sourceMappingURL=feature-search.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA0BA,qBA+Ca,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
1
+ {"version":3,"file":"feature-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/feature-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA0BA,qBAgDa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;IAe/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAhBO,YAAY,EAAE,qBAAqB,CAAA;IAC5D,SAAS,UAAQ;IAChB,YAAY,8BAAoC;IAChD,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEhD,aAAa,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAA4B;IAE5E,kBAAkB,UAAW,MAAM,iCAGO;gBAGhC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,0BAA0B;IAGvD,QAAQ,IAAI,IAAI;IAQhB;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAS1C,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAQ3B,kBAAkB;yCAnDb,oBAAoB;2CAApB,oBAAoB;CA2DhC"}
1
+ {"version":3,"file":"fuzzy-search.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAEZ,MAAM,EAGP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAAkB,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;;AAGjI,qBAMa,oBAAqB,YAAW,MAAM;IAe/C,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,iBAAiB;IAhBO,YAAY,EAAE,qBAAqB,CAAA;IAC5D,SAAS,UAAQ;IAChB,YAAY,8BAAoC;IAChD,cAAc,uBAA6B;IACrD,iBAAiB,EAAE,UAAU,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAEhD,aAAa,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAA2B;IAE3E,kBAAkB,UAAW,MAAM,iCAGO;gBAGhC,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,EAC5B,iBAAiB,EAAE,0BAA0B;IAGvD,QAAQ,IAAI,IAAI;IAQhB;;;;;OAKG;IACH,mBAAmB,CAAC,IAAI,EAAE,gBAAgB;IAS1C,qBAAqB,CAAC,GAAG,EAAE,MAAM;IAQ3B,kBAAkB;yCAnDb,oBAAoB;2CAApB,oBAAoB;CA2DhC"}
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { SearchFacade } from '../state/search.facade';
4
+ import { SelectionService } from '../../../../../../libs/api/repository/src';
5
+ import { SearchService } from '../utils/service/search.service';
6
+ import { RecordsRepositoryInterface } from '../../../../../../libs/common/domain/src/lib/repository/records-repository.interface';
7
+ import * as i0 from "@angular/core";
8
+ export declare class ResultsTableContainerComponent {
9
+ private searchFacade;
10
+ private searchService;
11
+ private selectionService;
12
+ private recordsRepository;
13
+ recordClick: EventEmitter<CatalogRecord>;
14
+ duplicateRecord: EventEmitter<CatalogRecord>;
15
+ records$: import("rxjs").Observable<CatalogRecord[]>;
16
+ selectedRecords$: import("rxjs").BehaviorSubject<string[]>;
17
+ sortBy$: import("rxjs").Observable<import("../../../../../common/domain/src/lib/model/search").SortByField>;
18
+ hasDraft: (record: CatalogRecord) => boolean;
19
+ constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService, recordsRepository: RecordsRepositoryInterface);
20
+ handleRecordClick(item: unknown): void;
21
+ handleDuplicateRecord(item: unknown): void;
22
+ handleSortByChange(col: string, order: 'asc' | 'desc'): void;
23
+ handleRecordsSelectedChange(records: CatalogRecord[], selected: boolean): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableContainerComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableContainerComponent, "gn-ui-results-table-container", never, {}, { "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; }, never, never, true, never>;
26
+ }
27
+ //# sourceMappingURL=results-table-container.component.d.ts.map