geonetwork-ui 2.2.0-dev.46643468 → 2.2.0-dev.4db0b597

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 (235) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +36 -2
  3. package/esm2022/libs/api/repository/src/lib/gn4/index.mjs +3 -1
  4. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +13 -26
  5. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  6. package/esm2022/libs/common/domain/src/lib/model/search/aggregation.model.mjs +1 -1
  7. package/esm2022/libs/common/domain/src/lib/model/search/field.model.mjs +2 -0
  8. package/esm2022/libs/common/domain/src/lib/model/search/filter.model.mjs +1 -1
  9. package/esm2022/libs/common/domain/src/lib/model/search/index.mjs +2 -1
  10. package/esm2022/libs/common/domain/src/lib/model/search/search.model.mjs +1 -1
  11. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -10
  12. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +5 -3
  13. package/esm2022/libs/feature/map/src/index.mjs +2 -1
  14. package/esm2022/libs/feature/map/src/lib/constant/index.mjs +2 -1
  15. package/esm2022/libs/feature/map/src/lib/constant/projections.mjs +2 -0
  16. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +17 -3
  17. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +93 -0
  18. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +40 -0
  19. package/esm2022/libs/feature/map/src/lib/utils/index.mjs +1 -3
  20. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +60 -29
  21. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +29 -20
  22. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +2 -2
  23. package/esm2022/libs/feature/search/src/index.mjs +4 -1
  24. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +1 -1
  25. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +2 -6
  26. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +1 -1
  27. package/esm2022/libs/feature/search/src/lib/filter-geometry.token.mjs +4 -0
  28. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +7 -3
  29. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -0
  30. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +2 -2
  31. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +128 -0
  32. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +6 -4
  33. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +3 -2
  34. package/esm2022/libs/ui/elements/src/index.mjs +2 -1
  35. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  36. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  37. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +4 -4
  38. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +3 -1
  39. package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
  40. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
  41. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +3 -3
  42. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  43. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +46 -0
  44. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -3
  45. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  46. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +36 -0
  47. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +37 -0
  48. package/esm2022/libs/ui/search/src/index.mjs +1 -2
  49. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +9 -10
  50. package/esm2022/libs/util/i18n/src/index.mjs +1 -2
  51. package/esm2022/translations/de.json +5 -3
  52. package/esm2022/translations/en.json +6 -4
  53. package/esm2022/translations/es.json +5 -3
  54. package/esm2022/translations/fr.json +6 -4
  55. package/esm2022/translations/it.json +5 -3
  56. package/esm2022/translations/nl.json +5 -3
  57. package/esm2022/translations/pt.json +5 -3
  58. package/fesm2022/geonetwork-ui.mjs +550 -435
  59. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  60. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +1 -0
  61. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  62. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  63. package/libs/api/repository/src/lib/gn4/index.d.ts +2 -0
  64. package/libs/api/repository/src/lib/gn4/index.d.ts.map +1 -1
  65. package/libs/api/repository/src/lib/gn4/selection/selection.service.d.ts +4 -5
  66. package/libs/api/repository/src/lib/gn4/selection/selection.service.d.ts.map +1 -1
  67. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +9 -5
  68. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  69. package/libs/common/domain/src/lib/model/search/aggregation.model.d.ts +1 -1
  70. package/libs/common/domain/src/lib/model/search/aggregation.model.d.ts.map +1 -1
  71. package/libs/common/domain/src/lib/model/search/field.model.d.ts +2 -0
  72. package/libs/common/domain/src/lib/model/search/field.model.d.ts.map +1 -0
  73. package/libs/common/domain/src/lib/model/search/filter.model.d.ts +1 -1
  74. package/libs/common/domain/src/lib/model/search/filter.model.d.ts.map +1 -1
  75. package/libs/common/domain/src/lib/model/search/index.d.ts +1 -0
  76. package/libs/common/domain/src/lib/model/search/index.d.ts.map +1 -1
  77. package/libs/common/domain/src/lib/model/search/search.model.d.ts +2 -3
  78. package/libs/common/domain/src/lib/model/search/search.model.d.ts.map +1 -1
  79. package/libs/feature/catalog/src/lib/my-org/my-org.service.d.ts +0 -1
  80. package/libs/feature/catalog/src/lib/my-org/my-org.service.d.ts.map +1 -1
  81. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +1 -1
  82. package/libs/feature/map/src/index.d.ts +1 -0
  83. package/libs/feature/map/src/index.d.ts.map +1 -1
  84. package/libs/feature/map/src/lib/constant/index.d.ts +1 -0
  85. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  86. package/libs/feature/map/src/lib/constant/projections.d.ts.map +1 -0
  87. package/libs/feature/map/src/lib/feature-map.module.d.ts +13 -12
  88. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  89. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +25 -0
  90. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -0
  91. package/libs/feature/map/src/lib/geocoding.service.d.ts +18 -0
  92. package/libs/feature/map/src/lib/geocoding.service.d.ts.map +1 -0
  93. package/libs/feature/map/src/lib/utils/index.d.ts +0 -2
  94. package/libs/feature/map/src/lib/utils/index.d.ts.map +1 -1
  95. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +13 -11
  96. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  97. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +1 -3
  98. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  99. package/libs/feature/search/src/index.d.ts +3 -0
  100. package/libs/feature/search/src/index.d.ts.map +1 -1
  101. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +3 -3
  102. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  103. package/libs/feature/search/src/lib/feature-search.module.d.ts +0 -4
  104. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  105. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +3 -2
  106. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
  107. package/libs/feature/search/src/lib/filter-geometry.token.d.ts +4 -0
  108. package/libs/feature/search/src/lib/filter-geometry.token.d.ts.map +1 -0
  109. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +1 -1
  110. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  111. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -0
  112. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -0
  113. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +33 -0
  114. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
  115. package/libs/feature/search/src/lib/state/effects.d.ts.map +1 -1
  116. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -1
  117. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  118. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +1 -1
  119. package/libs/ui/elements/src/index.d.ts +1 -0
  120. package/libs/ui/elements/src/index.d.ts.map +1 -1
  121. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +1 -1
  122. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  123. package/libs/ui/inputs/src/index.d.ts +1 -0
  124. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  125. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +13 -0
  126. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -0
  127. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +2 -1
  128. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  129. package/libs/ui/layout/src/index.d.ts +2 -0
  130. package/libs/ui/layout/src/index.d.ts.map +1 -1
  131. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +14 -0
  132. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts.map +1 -0
  133. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +15 -0
  134. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -0
  135. package/libs/ui/search/src/index.d.ts +0 -1
  136. package/libs/ui/search/src/index.d.ts.map +1 -1
  137. package/libs/ui/search/src/lib/ui-search.module.d.ts +15 -15
  138. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  139. package/libs/util/i18n/src/index.d.ts +0 -1
  140. package/libs/util/i18n/src/index.d.ts.map +1 -1
  141. package/package.json +4 -1
  142. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +3 -0
  143. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +43 -0
  144. package/src/libs/api/repository/src/lib/gn4/index.ts +2 -0
  145. package/src/libs/api/repository/src/lib/gn4/selection/selection.service.ts +14 -38
  146. package/src/libs/common/domain/src/lib/index.ts +2 -0
  147. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +11 -7
  148. package/src/libs/common/domain/src/lib/model/search/aggregation.model.ts +1 -1
  149. package/src/libs/common/domain/src/lib/model/search/field.model.ts +1 -0
  150. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +1 -1
  151. package/src/libs/common/domain/src/lib/model/search/index.ts +1 -0
  152. package/src/libs/common/domain/src/lib/model/search/search.model.ts +2 -2
  153. package/src/libs/common/domain/src/lib/model/user/index.ts +1 -0
  154. package/src/libs/feature/catalog/src/lib/my-org/my-org.service.ts +4 -16
  155. package/src/libs/feature/editor/src/lib/record-form/record-form.component.ts +2 -1
  156. package/src/libs/feature/map/src/index.ts +1 -0
  157. package/src/libs/feature/map/src/lib/constant/index.ts +1 -0
  158. package/src/libs/feature/map/src/lib/feature-map.module.ts +8 -0
  159. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.css +0 -0
  160. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +39 -0
  161. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +99 -0
  162. package/src/libs/feature/map/src/lib/geocoding.service.ts +59 -0
  163. package/src/libs/feature/map/src/lib/utils/index.ts +0 -2
  164. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +85 -50
  165. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +18 -3
  166. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +1 -1
  167. package/src/libs/feature/search/src/index.ts +3 -0
  168. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +1 -1
  169. package/src/libs/feature/search/src/lib/feature-search.module.ts +1 -10
  170. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +4 -4
  171. package/src/libs/feature/search/src/lib/filter-geometry.token.ts +7 -0
  172. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +9 -3
  173. package/src/libs/feature/search/src/lib/record-url.token.ts +4 -0
  174. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +1 -1
  175. package/src/libs/feature/search/src/lib/results-table/results-table.component.css +0 -0
  176. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +112 -0
  177. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +164 -0
  178. package/src/libs/feature/search/src/lib/state/effects.ts +5 -4
  179. package/src/libs/feature/search/src/lib/state/search.facade.ts +2 -1
  180. package/src/libs/ui/elements/src/index.ts +1 -0
  181. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +3 -2
  182. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +1 -1
  183. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +3 -3
  184. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +1 -1
  185. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -0
  186. package/src/libs/ui/inputs/src/index.ts +1 -0
  187. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  188. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.html +0 -1
  189. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  190. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +48 -0
  191. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
  192. package/src/libs/ui/layout/src/index.ts +2 -0
  193. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.css +0 -0
  194. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.html +1 -0
  195. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts +33 -0
  196. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +15 -0
  197. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +54 -0
  198. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +42 -0
  199. package/src/libs/ui/search/src/index.ts +0 -1
  200. package/src/libs/ui/search/src/lib/ui-search.module.ts +2 -3
  201. package/src/libs/util/i18n/src/index.ts +0 -1
  202. package/translations/de.json +5 -3
  203. package/translations/en.json +6 -4
  204. package/translations/es.json +5 -3
  205. package/translations/fr.json +6 -4
  206. package/translations/it.json +5 -3
  207. package/translations/nl.json +5 -3
  208. package/translations/pt.json +5 -3
  209. package/translations/sk.json +5 -3
  210. package/esm2022/libs/feature/map/src/lib/utils/map-utils-wms.service.mjs +0 -55
  211. package/esm2022/libs/feature/map/src/lib/utils/projections.mjs +0 -2
  212. package/esm2022/libs/ui/search/src/lib/record-table/record-table.component.mjs +0 -145
  213. package/esm2022/libs/util/i18n/src/lib/testing/test.translate.loader.mjs +0 -24
  214. package/esm2022/libs/util/i18n/src/lib/testing/test.translate.module.mjs +0 -109
  215. package/esm2022/libs/util/i18n/src/lib/testing/translations.model.mjs +0 -6
  216. package/libs/feature/map/src/lib/utils/map-utils-wms.service.d.ts +0 -17
  217. package/libs/feature/map/src/lib/utils/map-utils-wms.service.d.ts.map +0 -1
  218. package/libs/feature/map/src/lib/utils/projections.d.ts.map +0 -1
  219. package/libs/ui/search/src/lib/record-table/record-table.component.d.ts +0 -31
  220. package/libs/ui/search/src/lib/record-table/record-table.component.d.ts.map +0 -1
  221. package/libs/util/i18n/src/lib/testing/test.translate.loader.d.ts +0 -17
  222. package/libs/util/i18n/src/lib/testing/test.translate.loader.d.ts.map +0 -1
  223. package/libs/util/i18n/src/lib/testing/test.translate.module.d.ts +0 -131
  224. package/libs/util/i18n/src/lib/testing/test.translate.module.d.ts.map +0 -1
  225. package/libs/util/i18n/src/lib/testing/translations.model.d.ts +0 -21
  226. package/libs/util/i18n/src/lib/testing/translations.model.d.ts.map +0 -1
  227. package/src/libs/feature/map/src/lib/utils/map-utils-wms.service.ts +0 -58
  228. package/src/libs/ui/search/src/lib/record-table/record-table.component.css +0 -7
  229. package/src/libs/ui/search/src/lib/record-table/record-table.component.html +0 -215
  230. package/src/libs/ui/search/src/lib/record-table/record-table.component.ts +0 -149
  231. package/src/libs/util/i18n/src/lib/testing/test.translate.loader.ts +0 -26
  232. package/src/libs/util/i18n/src/lib/testing/test.translate.module.ts +0 -235
  233. package/src/libs/util/i18n/src/lib/testing/translations.model.ts +0 -28
  234. /package/libs/feature/map/src/lib/{utils → constant}/projections.d.ts +0 -0
  235. /package/src/libs/feature/map/src/lib/{utils → constant}/projections.ts +0 -0
@@ -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,EAAE,MAAM,MAAM,CAAA;AAEjC,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;;AAEjI,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;IAQjC,kBAAkB;yCAnDP,oBAAoB;2CAApB,oBAAoB;CAsDhC"}
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"}
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const RECORD_URL_TOKEN: InjectionToken<string>;
3
+ //# sourceMappingURL=record-url.token.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-url.token.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/search/src/lib/record-url.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAG9C,eAAO,MAAM,gBAAgB,wBAAiD,CAAA"}
@@ -0,0 +1,33 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
+ import { FileFormat } from '../../../../../../libs/util/shared/src';
4
+ import { SearchFacade } from '../state/search.facade';
5
+ import { SelectionService } from '../../../../../../libs/api/repository/src';
6
+ import { Observable } from 'rxjs';
7
+ import { SearchService } from '../utils/service/search.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ResultsTableComponent {
10
+ private searchFacade;
11
+ private searchService;
12
+ private selectionService;
13
+ recordClick: EventEmitter<CatalogRecord>;
14
+ records$: Observable<CatalogRecord[]>;
15
+ selectedRecords$: import("rxjs").BehaviorSubject<string[]>;
16
+ constructor(searchFacade: SearchFacade, searchService: SearchService, selectionService: SelectionService);
17
+ dateToString(date: Date): string;
18
+ getStatus(isPublishedToAll: boolean | unknown): "published" | "not published";
19
+ getRecordFormats(record: CatalogRecord): FileFormat[];
20
+ formatUserInfo(userInfo: string | unknown): string;
21
+ getBadgeColor(format: FileFormat): string;
22
+ handleRecordClick(item: unknown): void;
23
+ setSortBy(col: string, order: 'asc' | 'desc'): void;
24
+ isSortedBy(col: string): Observable<'asc' | 'desc' | null>;
25
+ isChecked(record: CatalogRecord): Observable<boolean>;
26
+ handleRecordSelectedChange(selected: boolean, record: CatalogRecord): void;
27
+ toggleSelectAll(): Promise<void>;
28
+ isAllSelected(): Observable<boolean>;
29
+ isSomeSelected(): Observable<boolean>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, {}, { "recordClick": "recordClick"; }, never, never, true, never>;
32
+ }
33
+ //# sourceMappingURL=results-table.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAU,MAAM,eAAe,CAAA;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EACL,UAAU,EAIX,M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1 @@
1
- {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,EAIL,QAAQ,EAER,wBAAwB,EAKxB,iBAAiB,EACjB,aAAa,EAad,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,WAAW,EAAqB,MAAM,WAAW,CAAA;AAI1D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;;AAGlH,qBACa,aAAa;IAMtB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IAGvB,OAAO,CAAC,cAAc;IAZxB,eAAe,sCAEF;gBAGH,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,EAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EAGzC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC;IAG3C,gBAAgB,qFAWf;IAED,OAAO,CAAC,sBAAsB,CAW7B;IAED,kBAAkB,8FAajB;IAED,YAAY,0FA+FX;IAED,yBAAyB,qGA2BvB;yCArLS,aAAa;6CAAb,aAAa;CAsLzB"}
1
+ {"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,EAIL,QAAQ,EAER,wBAAwB,EAKxB,iBAAiB,EACjB,aAAa,EAad,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,WAAW,EAAqB,MAAM,WAAW,CAAA;AAI1D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;;AAGlH,qBACa,aAAa;IAMtB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IAGvB,OAAO,CAAC,cAAc;IAZxB,eAAe,sCAEF;gBAGH,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,EAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EAGzC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC;IAG3C,gBAAgB,qFAWf;IAED,OAAO,CAAC,sBAAsB,CAW7B;IAED,kBAAkB,8FAajB;IAED,YAAY,0FAgGX;IAED,yBAAyB,qGA2BvB;yCAtLS,aAAa;6CAAb,aAAa;CAuLzB"}
@@ -45,7 +45,7 @@ export declare class SearchFacade {
45
45
  scroll(): SearchFacade;
46
46
  setSortBy(sortBy: SortByField): this;
47
47
  setSpatialFilterEnabled(enabled: boolean): this;
48
- resetSearch(): void;
48
+ resetSearch(): this;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFacade, [null, { optional: true; }]>;
50
50
  static ɵprov: i0.ɵɵInjectableDeclaration<SearchFacade>;
51
51
  }
@@ -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,CAAA;IACpC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC/B,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,cAAc,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IACxC,mBAAmB,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAA;IACnD,oBAAoB,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IAC9C,YAAY,EAAE,UAAU,CAAC,MAAM,CAAC,CAAA;IAChC,cAAc,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IACnC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC,CA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ngOnChanges(): void;
18
- createChart(): Chart<keyof import("chart.js").ChartTypeRegistry, (number | import("chart.js").Point | [number, number] | import("chart.js").BubbleDataPoint)[], unknown>;
18
+ createChart(): Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint)[], unknown>;
19
19
  getChartData(): ChartData;
20
20
  getOptions(): ChartOptions;
21
21
  truncateString(str: string, truncateLength: number): string;
@@ -18,6 +18,7 @@ export * from './lib/pagination/pagination.component';
18
18
  export * from './lib/related-record-card/related-record-card.component';
19
19
  export * from './lib/search-results-error/search-results-error.component';
20
20
  export * from './lib/user-preview/user-preview.component';
21
+ export * from './lib/max-lines/max-lines.component';
21
22
  export * from './lib/record-api-form/record-api-form.component';
22
23
  export * from './lib/markdown-parser/markdown-parser.component';
23
24
  export * from './lib/image-overlay-preview/image-overlay-preview.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6DAA6D,CAAA;AAC3E,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uDAAuD,CAAA;AACrE,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6DAA6D,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6DAA6D,CAAA;AAC3E,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uDAAuD,CAAA;AACrE,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6DAA6D,CAAA"}
@@ -33,7 +33,7 @@ import * as i31 from "../../../inputs/src/lib/ui-inputs.module";
33
33
  import * as i32 from "@angular/forms";
34
34
  export declare class UiElementsModule {
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
36
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i17.GnUiLinkifyDirective, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent], [typeof i23.CommonModule, typeof i24.MatIconModule, typeof i25.MatTooltipModule, typeof i26.UiWidgetsModule, typeof i27.UiLayoutModule, typeof i28.TranslateModule, typeof i29.UtilSharedModule, typeof i30.RouterModule, typeof i31.UiInputsModule, typeof i32.FormsModule, typeof i23.NgOptimizedImage], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i18.PaginationButtonsComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent]>;
36
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i17.GnUiLinkifyDirective, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent], [typeof i23.CommonModule, typeof i24.MatIconModule, typeof i25.MatTooltipModule, typeof i26.UiWidgetsModule, typeof i27.UiLayoutModule, typeof i28.TranslateModule, typeof i29.UtilSharedModule, typeof i30.RouterModule, typeof i31.UiInputsModule, typeof i32.FormsModule, typeof i23.NgOptimizedImage], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent]>;
37
37
  static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
38
38
  }
39
39
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,qBA6Da,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,qBA8Da,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
@@ -19,4 +19,5 @@ export * from './lib/viewport-intersector/viewport-intersector.component';
19
19
  export * from './lib/checkbox/checkbox.component';
20
20
  export * from './lib/search-input/search-input.component';
21
21
  export * from './lib/date-range-picker/date-range-picker.component';
22
+ export * from './lib/editable-label/editable-label.directive';
22
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mDAAmD,CAAA;AACjE,cAAc,mEAAmE,CAAA;AACjF,cAAc,qDAAqD,CAAA;AACnE,cAAc,2DAA2D,CAAA;AACzE,cAAc,mCAAmC,CAAA;AACjD,cAAc,2CAA2C,CAAA;AACzD,cAAc,qDAAqD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,uCAAuC,CAAA;AACrD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,mDAAmD,CAAA;AACjE,cAAc,mEAAmE,CAAA;AACjF,cAAc,qDAAqD,CAAA;AACnE,cAAc,2DAA2D,CAAA;AACzE,cAAc,mCAAmC,CAAA;AACjD,cAAc,2CAA2C,CAAA;AACzD,cAAc,qDAAqD,CAAA;AACnE,cAAc,+CAA+C,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { ElementRef, Renderer2, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EditableLabelDirective implements AfterViewInit {
4
+ private el;
5
+ private renderer;
6
+ editableLabelChanged: EventEmitter<string>;
7
+ gnUiEditableLabel?: boolean;
8
+ constructor(el: ElementRef, renderer: Renderer2);
9
+ ngAfterViewInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditableLabelDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditableLabelDirective, "[gnUiEditableLabel]", never, { "gnUiEditableLabel": { "alias": "gnUiEditableLabel"; "required": false; }; }, { "editableLabelChanged": "editableLabelChanged"; }, never, never, true, never>;
12
+ }
13
+ //# sourceMappingURL=editable-label.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editable-label.directive.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,SAAS,EACT,aAAa,EACb,YAAY,EAGb,MAAM,eAAe,CAAA;;AAEtB,qBAIa,sBAAuB,YAAW,aAAa;IAI9C,OAAO,CAAC,EAAE;IAAc,OAAO,CAAC,QAAQ;IAH1C,oBAAoB,uBAA6B;IAClD,iBAAiB,CAAC,EAAE,OAAO,CAAA;gBAEhB,EAAE,EAAE,UAAU,EAAU,QAAQ,EAAE,SAAS;IAE/D,eAAe;yCANJ,sBAAsB;2CAAtB,sBAAsB;CAiClC"}
@@ -39,9 +39,10 @@ import * as i37 from "@angular/material/form-field";
39
39
  import * as i38 from "@angular/material/input";
40
40
  import * as i39 from "@angular/material/datepicker";
41
41
  import * as i40 from "@angular/material/core";
42
+ import * as i41 from "./editable-label/editable-label.directive";
42
43
  export declare class UiInputsModule {
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
44
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i13.FormFieldSimpleComponent, typeof i14.FormFieldArrayComponent, typeof i15.FormFieldObjectComponent, typeof i16.FormFieldRichComponent, typeof i17.FormFieldFileComponent, typeof i18.FormFieldSpatialExtentComponent, typeof i19.FormFieldTemporalExtentComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent], [typeof i25.CommonModule, typeof i26.TranslateModule, typeof i27.NgxDropzoneModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.TagInputModule, typeof i30.UtilSharedModule, typeof i31.MatAutocompleteModule, typeof i32.MatIconModule, typeof i33.UiWidgetsModule, typeof i34.OverlayModule, typeof i35.MatCheckboxModule, typeof i36.MatTooltipModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatDatepickerModule, typeof i40.MatNativeDateModule], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i13.FormFieldSimpleComponent, typeof i14.FormFieldArrayComponent, typeof i15.FormFieldObjectComponent, typeof i16.FormFieldRichComponent, typeof i17.FormFieldFileComponent, typeof i18.FormFieldSpatialExtentComponent, typeof i19.FormFieldTemporalExtentComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent], [typeof i25.CommonModule, typeof i26.TranslateModule, typeof i27.NgxDropzoneModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.TagInputModule, typeof i30.UtilSharedModule, typeof i31.MatAutocompleteModule, typeof i32.MatIconModule, typeof i33.UiWidgetsModule, typeof i34.OverlayModule, typeof i35.MatCheckboxModule, typeof i36.MatTooltipModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatDatepickerModule, typeof i40.MatNativeDateModule, typeof i41.EditableLabelDirective], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent, typeof i41.EditableLabelDirective]>;
45
46
  static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
46
47
  }
47
48
  //# sourceMappingURL=ui-inputs.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4CA,qBAkEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,qBAoEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -4,4 +4,6 @@ export * from './lib/carousel/carousel.component';
4
4
  export * from './lib/expandable-panel/expandable-panel.component';
5
5
  export * from './lib/sticky-header/sticky-header.component';
6
6
  export * from './lib/expandable-panel-button/expandable-panel-button.component';
7
+ export * from './lib/interactive-table/interactive-table.component';
8
+ export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component';
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iEAAiE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,mDAAmD,CAAA;AACjE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,qDAAqD,CAAA;AACnE,cAAc,qFAAqF,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class InteractiveTableColumnComponent {
4
+ header: TemplateRef<unknown>;
5
+ cell: TemplateRef<unknown>;
6
+ grow: boolean;
7
+ sortable: boolean;
8
+ activeSort: 'asc' | 'desc' | null;
9
+ sortChange: EventEmitter<"desc" | "asc">;
10
+ handleSortChange(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveTableColumnComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveTableColumnComponent, "gn-ui-interactive-table-column", never, { "grow": { "alias": "grow"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "activeSort": { "alias": "activeSort"; "required": false; }; }, { "sortChange": "sortChange"; }, ["header", "cell"], never, true, never>;
13
+ }
14
+ //# sourceMappingURL=interactive-table-column.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interactive-table-column.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAGZ,WAAW,EACZ,MAAM,eAAe,CAAA;;AAGtB,qBAQa,+BAA+B;IAClB,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC9B,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAEvC,IAAI,UAAQ;IACZ,QAAQ,UAAQ;IAChB,UAAU,EAAE,KAAK,GAAG,MAAM,GAAG,IAAI,CAAO;IACvC,UAAU,+BAAqC;IAEzD,gBAAgB;yCATL,+BAA+B;2CAA/B,+BAA+B;CAa3C"}
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, QueryList } from '@angular/core';
2
+ import { InteractiveTableColumnComponent } from './interactive-table-column/interactive-table-column.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class InteractiveTableComponent {
5
+ columns: QueryList<InteractiveTableColumnComponent>;
6
+ items: unknown[];
7
+ itemClick: EventEmitter<unknown>;
8
+ get gridStyle(): {
9
+ 'grid-template-columns': string;
10
+ };
11
+ handleRowClick(item: unknown): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveTableComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveTableComponent, "gn-ui-interactive-table", never, { "items": { "alias": "items"; "required": false; }; }, { "itemClick": "itemClick"; }, ["columns"], never, true, never>;
14
+ }
15
+ //# sourceMappingURL=interactive-table.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interactive-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,YAAY,EAGZ,SAAS,EACV,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,+BAA+B,EAAE,MAAM,+DAA+D,CAAA;;AAI/G,qBAQa,yBAAyB;IAEpC,OAAO,EAAE,SAAS,CAAC,+BAA+B,CAAC,CAAA;IAE1C,KAAK,EAAE,OAAO,EAAE,CAAK;IACpB,SAAS,wBAA8B;IAEjD,IAAI,SAAS;;MAQZ;IAED,cAAc,CAAC,IAAI,EAAE,OAAO;yCAjBjB,yBAAyB;2CAAzB,yBAAyB;CAoBrC"}
@@ -14,7 +14,6 @@ export * from './lib/record-preview-card/record-preview-card.component';
14
14
  export * from './lib/record-preview-list/record-preview-list.component';
15
15
  export * from './lib/record-preview-text/record-preview-text.component';
16
16
  export * from './lib/record-preview-title/record-preview-title.component';
17
- export * from './lib/record-table/record-table.component';
18
17
  export * from './lib/record-metric/record-metric.component';
19
18
  export * from './lib/results-list-item/results-list-item.component';
20
19
  export * from './lib/results-hits-number/results-hits-number.component';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/search/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3E,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gDAAgD,CAAA;AAC9D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,wBAAwB,CAAA;AACtC,cAAc,0CAA0C,CAAA;AACxD,cAAc,2CAA2C,CAAA;AACzD,cAAc,+CAA+C,CAAA;AAC7D,cAAc,yDAAyD,CAAA;AACvE,cAAc,uDAAuD,CAAA;AACrE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA"}
@@ -10,23 +10,23 @@ import * as i8 from "./results-hits-number/results-hits-number.component";
10
10
  import * as i9 from "./results-list-item/results-list-item.component";
11
11
  import * as i10 from "./record-preview-feed/record-preview-feed.component";
12
12
  import * as i11 from "./record-preview-row/record-preview-row.component";
13
- import * as i12 from "./record-table/record-table.component";
14
- import * as i13 from "@angular/common";
15
- import * as i14 from "@ngx-translate/core";
16
- import * as i15 from "ngx-dropzone";
17
- import * as i16 from "./facets/facets.module";
18
- import * as i17 from "@angular/forms";
19
- import * as i18 from "ngx-chips";
20
- import * as i19 from "../../../../util/shared/src/lib/util-shared.module";
21
- import * as i20 from "../../../widgets/src/lib/ui-widgets.module";
22
- import * as i21 from "../../../inputs/src/lib/ui-inputs.module";
23
- import * as i22 from "../../../elements/src/lib/ui-elements.module";
24
- import * as i23 from "@angular/material/icon";
25
- import * as i24 from "@angular/material/checkbox";
26
- import * as i25 from "@angular/router";
13
+ import * as i12 from "@angular/common";
14
+ import * as i13 from "@ngx-translate/core";
15
+ import * as i14 from "ngx-dropzone";
16
+ import * as i15 from "./facets/facets.module";
17
+ import * as i16 from "@angular/forms";
18
+ import * as i17 from "ngx-chips";
19
+ import * as i18 from "../../../../util/shared/src/lib/util-shared.module";
20
+ import * as i19 from "../../../widgets/src/lib/ui-widgets.module";
21
+ import * as i20 from "../../../inputs/src/lib/ui-inputs.module";
22
+ import * as i21 from "../../../elements/src/lib/ui-elements.module";
23
+ import * as i22 from "@angular/material/icon";
24
+ import * as i23 from "@angular/material/checkbox";
25
+ import * as i24 from "@angular/router";
26
+ import * as i25 from "../../../layout/src/lib/interactive-table/interactive-table.component";
27
27
  export declare class UiSearchModule {
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<UiSearchModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent, typeof i12.RecordTableComponent], [typeof i13.CommonModule, typeof i14.TranslateModule, typeof i15.NgxDropzoneModule, typeof i16.FacetsModule, typeof i17.FormsModule, typeof i17.ReactiveFormsModule, typeof i18.TagInputModule, typeof i19.UtilSharedModule, typeof i20.UiWidgetsModule, typeof i21.UiInputsModule, typeof i22.UiElementsModule, typeof i23.MatIconModule, typeof i24.MatCheckboxModule, typeof i25.RouterLink], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i16.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent, typeof i12.RecordTableComponent]>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UiSearchModule, [typeof i1.RecordPreviewComponent, typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i8.ResultsHitsNumberComponent, typeof i9.ResultsListItemComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent], [typeof i12.CommonModule, typeof i13.TranslateModule, typeof i14.NgxDropzoneModule, typeof i15.FacetsModule, typeof i16.FormsModule, typeof i16.ReactiveFormsModule, typeof i17.TagInputModule, typeof i18.UtilSharedModule, typeof i19.UiWidgetsModule, typeof i20.UiInputsModule, typeof i21.UiElementsModule, typeof i22.MatIconModule, typeof i23.MatCheckboxModule, typeof i24.RouterLink, typeof i25.InteractiveTableComponent], [typeof i2.RecordPreviewListComponent, typeof i3.RecordPreviewCardComponent, typeof i4.RecordPreviewTextComponent, typeof i5.RecordPreviewTitleComponent, typeof i6.RecordMetricComponent, typeof i7.ResultsListComponent, typeof i15.FacetsModule, typeof i1.RecordPreviewComponent, typeof i8.ResultsHitsNumberComponent, typeof i10.RecordPreviewFeedComponent, typeof i11.RecordPreviewRowComponent]>;
30
30
  static ɵinj: i0.ɵɵInjectorDeclaration<UiSearchModule>;
31
31
  }
32
32
  //# sourceMappingURL=ui-search.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,qBAiDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
1
+ {"version":3,"file":"ui-search.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/search/src/lib/ui-search.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,qBAgDa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -3,7 +3,6 @@ export * from './lib/i18n.constants';
3
3
  export * from './lib/i18n.interceptor';
4
4
  export * from './lib/lang.service';
5
5
  export * from './lib/file.translate.loader';
6
- export * from './lib/testing/test.translate.module';
7
6
  export * from './lib/embedded.translate.loader';
8
7
  export * from './lib/translate.loader.utils';
9
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/i18n/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qCAAqC,CAAA;AACnD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/i18n/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,8BAA8B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.2.0-dev.46643468",
3
+ "version": "2.2.0-dev.4db0b597",
4
4
  "engines": {
5
5
  "node": ">=14.17.0"
6
6
  },
@@ -48,12 +48,14 @@
48
48
  "dependencies": {
49
49
  "@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
50
50
  "@camptocamp/ogc-client": "^0.4.0",
51
+ "@geospatial-sdk/geocoding": "^0.0.5-alpha.2",
51
52
  "@ltd/j-toml": "~1.35.2",
52
53
  "@messageformat/core": "^3.0.1",
53
54
  "@nx/angular": "16.6.0",
54
55
  "@rgrove/parse-xml": "~4.0.1",
55
56
  "alasql": "^3.1.0",
56
57
  "axios": "^1.6.0",
58
+ "basiclightbox": "^5.0.4",
57
59
  "chart.js": "^4.2.0",
58
60
  "chroma-js": "^2.1.2",
59
61
  "date-fns": "^2.29.3",
@@ -62,6 +64,7 @@
62
64
  "embla-carousel": "^8.0.0-rc14",
63
65
  "express": "^4.17.1",
64
66
  "geojson-validation": "^1.0.2",
67
+ "marked": "^11.1.1",
65
68
  "moment": "^2.29.4",
66
69
  "ng-table-virtual-scroll": "^1.4.1",
67
70
  "ngx-chips": "3.0.0",
@@ -41,6 +41,9 @@ export const toDate = (field) => new Date(field)
41
41
  export const getFirstValue = (field) =>
42
42
  Array.isArray(field) ? field[0] : field
43
43
 
44
+ export const getArrayItem = (field, index) =>
45
+ Array.isArray(field) && field[index] !== undefined ? field[index] : null
46
+
44
47
  export const getAsArray = (field) =>
45
48
  Array.isArray(field) ? field : field !== null ? [field] : []
46
49
 
@@ -1,4 +1,5 @@
1
1
  import {
2
+ getArrayItem,
2
3
  getAsArray,
3
4
  getAsUrl,
4
5
  getFirstValue,
@@ -22,6 +23,7 @@ import {
22
23
  DatasetDistributionType,
23
24
  DatasetDownloadDistribution,
24
25
  DatasetServiceDistribution,
26
+ DatasetSpatialExtent,
25
27
  OnlineLinkResource,
26
28
  } from '../../../../../../libs/common/domain/src/lib/model/record'
27
29
  import { matchProtocol } from '../common/distribution.mapper'
@@ -258,6 +260,47 @@ export class Gn4FieldMapper {
258
260
  kind,
259
261
  }
260
262
  },
263
+ geom: (output, source) => {
264
+ const geoms = getAsArray(selectField(source, 'geom'))
265
+ const shapes = getAsArray(selectField(source, 'shape'))
266
+ const extentDescriptions = getAsArray(
267
+ selectField(source, 'extentDescriptionObject')
268
+ )
269
+ const spatialExtents = getAsArray(selectField(source, 'spatialExtents'))
270
+ return {
271
+ ...output,
272
+ spatialExtents: [
273
+ ...spatialExtents,
274
+ ...geoms.map((geom, index) => {
275
+ const description = selectTranslatedValue(
276
+ getArrayItem(extentDescriptions, index),
277
+ this.lang3
278
+ )
279
+ const geometry = shapes[index] ?? geom
280
+ return {
281
+ ...(description !== null ? { description } : null),
282
+ geometry,
283
+ } as DatasetSpatialExtent
284
+ }),
285
+ ],
286
+ }
287
+ },
288
+ resourceTemporalDateRange: (output, source) => {
289
+ const ranges = getAsArray(
290
+ selectField(source, 'resourceTemporalDateRange')
291
+ )
292
+ return {
293
+ ...output,
294
+ temporalExtents: ranges.map((range) => {
295
+ const start = selectField(range, 'gte')
296
+ const end = selectField(range, 'lte')
297
+ return {
298
+ ...(start !== null ? { start: toDate(start) } : null),
299
+ ...(end !== null ? { end: toDate(end) } : null),
300
+ }
301
+ }),
302
+ }
303
+ },
261
304
  }
262
305
 
263
306
  private genericField = (output) => output
@@ -6,3 +6,5 @@ export * from './auth'
6
6
  export * from './favorites/favorites.service'
7
7
  export * from './selection/selection.service'
8
8
  export * from './gn4.provider'
9
+ export * from './platform/gn4-platform.service'
10
+ export * from './platform/gn4-platform.mapper'
@@ -1,7 +1,7 @@
1
1
  import { Injectable } from '@angular/core'
2
2
  import { CatalogRecord } from '../../../../../../../libs/common/domain/src/lib/model/record'
3
3
  import { SelectionsApiService } from '../../../../../../../libs/data-access/gn4/src'
4
- import { BehaviorSubject, Observable, Subscription, map, tap } from 'rxjs'
4
+ import { BehaviorSubject, firstValueFrom } from 'rxjs'
5
5
 
6
6
  const BUCKET_ID = 'gnui'
7
7
 
@@ -12,7 +12,6 @@ export class SelectionService {
12
12
  selectedRecordsIdentifiers$: BehaviorSubject<string[]> = new BehaviorSubject(
13
13
  []
14
14
  )
15
- subscription: Subscription
16
15
 
17
16
  constructor(private selectionsApi: SelectionsApiService) {
18
17
  this.selectionsApi.get(BUCKET_ID).subscribe((selectedIds) => {
@@ -33,48 +32,25 @@ export class SelectionService {
33
32
  this.selectedRecordsIdentifiers$.next(filtered)
34
33
  }
35
34
 
36
- selectRecords(records: CatalogRecord[]): Observable<void> {
37
- const newIds = []
38
- records.map((record) => {
39
- newIds.push(record.uniqueIdentifier)
35
+ selectRecords(records: CatalogRecord[]) {
36
+ const newIds = records.map((record) => record.uniqueIdentifier)
37
+ this.selectionsApi.add(BUCKET_ID, newIds).subscribe(() => {
38
+ this.addIdsToSelected(newIds)
40
39
  })
41
- const apiResponse = this.selectionsApi.add(BUCKET_ID, newIds)
42
- return apiResponse.pipe(
43
- tap(() => {
44
- this.addIdsToSelected(newIds)
45
- }),
46
- map(() => undefined)
47
- )
48
40
  }
49
41
 
50
- deselectRecords(records: CatalogRecord[]): Observable<void> {
51
- const idsToBeRemoved = []
52
- records.map((record) => {
53
- idsToBeRemoved.push(record.uniqueIdentifier)
42
+ deselectRecords(records: CatalogRecord[]) {
43
+ const idsToBeRemoved = records.map((record) => record.uniqueIdentifier)
44
+ this.selectionsApi.clear(BUCKET_ID, idsToBeRemoved).subscribe(() => {
45
+ this.removeIdsFromSelected(idsToBeRemoved)
54
46
  })
55
- const apiResponse = this.selectionsApi.clear(BUCKET_ID, idsToBeRemoved)
56
- return apiResponse.pipe(
57
- tap(() => {
58
- this.removeIdsFromSelected(idsToBeRemoved)
59
- }),
60
- map(() => undefined)
61
- )
62
47
  }
63
48
 
64
- clearSelection(): Observable<void> {
65
- const currentSelectedResponse = this.selectionsApi.get(BUCKET_ID)
66
- let currentSelection
67
- this.subscription = currentSelectedResponse.subscribe((value) => {
68
- currentSelection = [...value]
49
+ async clearSelection() {
50
+ const response = await firstValueFrom(this.selectionsApi.get(BUCKET_ID))
51
+ const currentSelection = Array.from(response)
52
+ this.selectionsApi.clear(BUCKET_ID, currentSelection).subscribe(() => {
53
+ this.removeIdsFromSelected(currentSelection)
69
54
  })
70
- this.selectionsApi.clear(BUCKET_ID, currentSelection)
71
- const apiResponse = this.selectionsApi.clear(BUCKET_ID, currentSelection)
72
-
73
- return apiResponse.pipe(
74
- tap(() => {
75
- this.removeIdsFromSelected(currentSelection)
76
- }),
77
- map(() => undefined)
78
- )
79
55
  }
80
56
  }
@@ -0,0 +1,2 @@
1
+ export * from './organizations.service.interface'
2
+ export * from './platform.service.interface'
@@ -1,6 +1,7 @@
1
1
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
2
- import { Individual } from './contact.model'
3
- import { Organization } from './organization.model'
2
+ import type { Individual } from './contact.model'
3
+ import type { Organization } from './organization.model'
4
+ import type { Geometry } from 'geojson'
4
5
 
5
6
  type Uuid = string
6
7
 
@@ -146,13 +147,16 @@ export interface GraphicOverview {
146
147
  }
147
148
 
148
149
  export interface DatasetSpatialExtent {
149
- geometry: unknown // GeoJSON
150
+ geometry: Geometry
150
151
  description?: string
151
152
  }
152
153
 
154
+ /**
155
+ * At least a start or an end date should be provided
156
+ */
153
157
  export interface DatasetTemporalExtent {
154
- start: Date
155
- end: Date
158
+ start?: Date
159
+ end?: Date
156
160
  description?: string
157
161
  }
158
162
 
@@ -164,8 +168,8 @@ export interface DatasetRecord extends BaseRecord {
164
168
  datasetUpdated?: Date
165
169
  lineage: string // Explanation of the origin of this record (e.g: how, why)"
166
170
  distributions: Array<DatasetDistribution>
167
- spatialExtents: Array<DatasetSpatialExtent> // not handled yet
168
- temporalExtents: Array<DatasetTemporalExtent> // not handled yet
171
+ spatialExtents: Array<DatasetSpatialExtent>
172
+ temporalExtents: Array<DatasetTemporalExtent>
169
173
  spatialRepresentation?: SpatialRepresentationType
170
174
  }
171
175
 
@@ -1,4 +1,4 @@
1
- import { FieldName } from './search.model'
1
+ import { FieldName } from './field.model'
2
2
  import { FieldFilters } from './filter.model'
3
3
 
4
4
  export interface TermsAggregationParams {
@@ -0,0 +1 @@
1
+ export type FieldName = string
@@ -1,4 +1,4 @@
1
- import { FieldName } from './search.model'
1
+ import { FieldName } from './field.model'
2
2
 
3
3
  export type FieldFilterByValues = Record<string, boolean>
4
4
  export type FieldFilterByExpression = string | number
@@ -2,3 +2,4 @@ export * from './aggregation.model'
2
2
  export * from './filter.model'
3
3
  export * from './search.model'
4
4
  export * from './sort-by.model'
5
+ export * from './field.model'