geonetwork-ui 2.6.0-dev.d216c4dea → 2.6.0-dev.e052ad8ba

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 (266) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +2 -1
  5. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +5 -2
  6. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  7. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +45 -9
  8. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  9. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +54 -2
  10. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +25 -6
  11. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  12. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +18 -0
  13. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
  14. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
  15. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
  16. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +34 -7
  17. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +63 -13
  18. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  19. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +12 -5
  20. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  21. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
  22. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  23. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  24. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +11 -6
  25. package/esm2022/libs/ui/elements/src/index.mjs +3 -1
  26. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  27. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
  28. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
  29. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  30. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +51 -0
  31. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
  32. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  33. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  34. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  35. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -3
  36. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +51 -0
  37. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +3 -3
  38. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -4
  39. package/esm2022/libs/ui/inputs/src/index.mjs +3 -1
  40. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  41. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  42. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
  43. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
  44. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  45. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +68 -0
  46. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +3 -3
  47. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -9
  48. package/esm2022/libs/ui/layout/src/index.mjs +2 -1
  49. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  50. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  51. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  52. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  53. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  54. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +107 -0
  55. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
  56. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  57. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +2 -1
  58. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  59. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  60. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  61. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  62. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +11 -3
  63. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  64. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -1
  65. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +4 -1
  66. package/esm2022/translations/de.json +16 -1
  67. package/esm2022/translations/en.json +18 -1
  68. package/esm2022/translations/es.json +16 -1
  69. package/esm2022/translations/fr.json +19 -2
  70. package/esm2022/translations/it.json +16 -1
  71. package/esm2022/translations/nl.json +16 -1
  72. package/esm2022/translations/pt.json +16 -1
  73. package/fesm2022/geonetwork-ui.mjs +1036 -198
  74. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  75. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  76. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  77. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  78. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  79. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  80. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  81. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  82. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +4 -1
  83. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  84. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  85. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  86. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  87. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  88. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +5 -2
  89. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  90. package/libs/feature/editor/src/index.d.ts +1 -0
  91. package/libs/feature/editor/src/index.d.ts.map +1 -1
  92. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +7 -0
  93. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  94. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  95. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  96. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  97. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +26 -21
  98. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  99. package/libs/feature/search/src/index.d.ts +1 -1
  100. package/libs/feature/search/src/index.d.ts.map +1 -1
  101. package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
  102. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  103. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  104. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  105. package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
  106. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  107. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  108. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  109. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  110. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  111. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  112. package/libs/ui/elements/src/index.d.ts +2 -0
  113. package/libs/ui/elements/src/index.d.ts.map +1 -1
  114. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  115. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  116. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  117. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  118. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +11 -0
  119. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  120. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
  121. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  122. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +16 -0
  123. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  124. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +2 -1
  125. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  126. package/libs/ui/inputs/src/index.d.ts +2 -0
  127. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  128. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  129. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  130. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  131. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  132. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  133. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  134. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  135. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  136. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
  137. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  138. package/libs/ui/layout/src/index.d.ts +1 -0
  139. package/libs/ui/layout/src/index.d.ts.map +1 -1
  140. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  141. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  142. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  143. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  144. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +27 -0
  145. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  146. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  147. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  148. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  149. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -1
  150. package/libs/ui/search/src/index.d.ts +1 -0
  151. package/libs/ui/search/src/index.d.ts.map +1 -1
  152. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  153. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  154. package/libs/ui/search/src/lib/ui-search.module.d.ts +21 -19
  155. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  156. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  157. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  158. package/package.json +2 -2
  159. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  160. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  161. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  162. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +1 -0
  163. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +4 -1
  164. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +9 -2
  165. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +10 -0
  166. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +14 -0
  167. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  168. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +54 -10
  169. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +60 -0
  170. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  171. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +27 -1
  172. package/src/libs/feature/editor/src/index.ts +1 -0
  173. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css +0 -0
  174. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +14 -0
  175. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +15 -0
  176. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +16 -10
  177. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  178. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  179. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
  180. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +25 -16
  181. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +36 -4
  182. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +70 -14
  183. package/src/libs/feature/search/src/index.ts +1 -1
  184. package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -2
  185. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
  186. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  187. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  188. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  189. package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
  190. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  191. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  192. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +5 -4
  193. package/src/libs/ui/elements/src/index.ts +2 -0
  194. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  195. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  196. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  197. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
  198. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
  199. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  200. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  201. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +9 -0
  202. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +51 -0
  203. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
  204. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
  205. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  206. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  207. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
  208. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +11 -3
  209. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
  210. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +48 -0
  211. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +52 -0
  212. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +1 -1
  213. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +3 -1
  214. package/src/libs/ui/inputs/src/index.ts +2 -0
  215. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  216. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  217. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  218. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  219. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
  220. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  221. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  222. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  223. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +77 -0
  224. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +2 -2
  225. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
  226. package/src/libs/ui/layout/src/index.ts +1 -0
  227. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  228. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  229. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  230. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  231. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  232. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  233. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  234. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  235. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  236. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  237. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +44 -0
  238. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +130 -0
  239. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +1 -5
  240. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  241. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  242. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts +1 -0
  243. package/src/libs/ui/search/src/index.ts +1 -0
  244. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  245. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +24 -0
  246. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  247. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  248. package/src/libs/ui/search/src/lib/ui-search.module.ts +5 -0
  249. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
  250. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +3 -0
  251. package/src/libs/util/shared/src/lib/links/link-utils.ts +3 -0
  252. package/tailwind.base.config.js +3 -0
  253. package/tailwind.base.css +1 -13
  254. package/translations/de.json +16 -1
  255. package/translations/en.json +18 -1
  256. package/translations/es.json +16 -1
  257. package/translations/fr.json +19 -2
  258. package/translations/it.json +16 -1
  259. package/translations/nl.json +16 -1
  260. package/translations/pt.json +16 -1
  261. package/translations/sk.json +16 -1
  262. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  263. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  264. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  265. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  266. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
@@ -1,20 +1,20 @@
1
1
  <a
2
2
  href="{{ link.url }}"
3
3
  target="_blank"
4
- class="group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden"
4
+ class="group flex flex-row justify-between card-shadow cursor-pointer rounded overflow-hidden w-full"
5
5
  rel="noopener"
6
6
  [ngClass]="cardClass"
7
7
  >
8
- <div class="flex flex-col justify-between">
8
+ <div class="flex flex-col flex-1 justify-between min-w-0">
9
9
  <div class="gn-ui-card-title" [title]="link.description || link.name">
10
10
  {{ link.description || link.name }}
11
11
  </div>
12
12
  <div class="gn-ui-card-detail">
13
13
  {{ link.name }}
14
14
  </div>
15
- <div class="flex flex-row gap-2 items-center pt-1">
15
+ <div class="flex flex-row gap-2 items-center pt-1 min-w-0">
16
16
  <span
17
- class="inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100"
17
+ class="inline-flex items-center justify-center px-2 py-1 text-13 font-medium leading-none text-white rounded transition-opacity opacity-70 group-hover:opacity-100 whitespace-nowrap"
18
18
  [style.background-color]="color"
19
19
  data-cy="download-format"
20
20
  >{{ format || ('downloads.format.unknown' | translate) }}</span
@@ -24,7 +24,10 @@
24
24
  >
25
25
  </div>
26
26
  </div>
27
- <div class="flex" [ngClass]="size === 'S' ? 'items-end' : 'items-center'">
27
+ <div
28
+ class="flex min-w-[32px] flex-shrink-0"
29
+ [ngClass]="size === 'S' ? 'items-end' : 'items-center'"
30
+ >
28
31
  <div class="gn-ui-card-icon">
29
32
  <ng-icon
30
33
  class="inline-block card-icon align-middle"
@@ -27,7 +27,7 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
27
27
  ],
28
28
  })
29
29
  export class DownloadItemComponent {
30
- private _size: 'L' | 'M' | 'S' | 'XS'
30
+ private _size: CardSize
31
31
  @Input() link: DatasetOnlineResource
32
32
  @Input() color: string
33
33
  @Input() format: string
@@ -43,7 +43,7 @@ export class DownloadItemComponent {
43
43
  this._size = value
44
44
  this.cardClass = this.sizeClassMap[value]
45
45
  }
46
- get size(): 'L' | 'M' | 'S' | 'XS' {
46
+ get size(): CardSize {
47
47
  return this._size
48
48
  }
49
49
  cardClass = ''
@@ -2,12 +2,23 @@
2
2
  class="flex flex-wrap justify-between items-center pb-4"
3
3
  *ngIf="links && links.length > 0"
4
4
  >
5
- <div
6
- class="font-title text-xl text-title font-medium mr-4 text-center sm:text-left"
7
- translate
8
- >
9
- record.metadata.download
5
+ <div class="flex flex-row items-center gap-x-4">
6
+ <div>
7
+ <h3
8
+ class="inline-block font-title text-xl text-title font-medium mr-4"
9
+ translate
10
+ >
11
+ record.metadata.download
12
+ </h3>
13
+ <span class="px-3">({{ linksCount }})</span>
14
+ </div>
15
+ <gn-ui-previous-next-buttons
16
+ class="md:block hidden"
17
+ *ngIf="_list?.pagesCount > 1"
18
+ [listComponent]="_list"
19
+ ></gn-ui-previous-next-buttons>
10
20
  </div>
21
+
11
22
  <div
12
23
  class="flex flex-wrap justify-start sm:justify-end"
13
24
  data-cy="download-format-filters"
@@ -26,9 +37,29 @@
26
37
  </gn-ui-button>
27
38
  </div>
28
39
  </div>
29
- <div class="mb-2 sm:mb-3" *ngFor="let link of filteredLinks">
40
+
41
+ <ng-container>
42
+ <gn-ui-block-list
43
+ class="md:block hidden"
44
+ #blockList
45
+ (listChanges)="updateList($event)"
46
+ containerClass="gap-4 pt-5 pb-7"
47
+ >
48
+ <gn-ui-download-item
49
+ #block
50
+ *ngFor="let link of filteredLinks"
51
+ [link]="link"
52
+ [color]="getLinkColor(link)"
53
+ [format]="getLinkFormat(link)"
54
+ [isFromApi]="isFromApi(link)"
55
+ [size]="blockList.subComponentSize"
56
+ ></gn-ui-download-item>
57
+ </gn-ui-block-list>
58
+ </ng-container>
59
+
60
+ <div class="mb-5 md:hidden block" *ngFor="let link of filteredLinks">
30
61
  <gn-ui-download-item
31
- size="L"
62
+ size="M"
32
63
  [link]="link"
33
64
  [color]="getLinkColor(link)"
34
65
  [format]="getLinkFormat(link)"
@@ -1,4 +1,11 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
1
+ import {
2
+ AfterViewInit,
3
+ ChangeDetectionStrategy,
4
+ ChangeDetectorRef,
5
+ Component,
6
+ Input,
7
+ ViewChild,
8
+ } from '@angular/core'
2
9
  import { TranslateModule, TranslateService } from '@ngx-translate/core'
3
10
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
4
11
  import { getBadgeColor, getFileFormat } from '../../../../../../libs/util/shared/src'
@@ -6,6 +13,11 @@ import { DatasetDownloadDistribution } from '../../../../../../libs/common/domai
6
13
  import { CommonModule } from '@angular/common'
7
14
  import { ButtonComponent } from '../../../../../../libs/ui/inputs/src'
8
15
  import { DownloadItemComponent } from '../download-item/download-item.component'
16
+ import {
17
+ BlockListComponent,
18
+ Paginable,
19
+ PreviousNextButtonsComponent,
20
+ } from '../../../../../../libs/ui/layout/src'
9
21
 
10
22
  marker('datahub.search.filter.all')
11
23
  marker('datahub.search.filter.others')
@@ -22,17 +34,32 @@ type FilterFormat = (typeof FILTER_FORMATS)[number]
22
34
  imports: [
23
35
  CommonModule,
24
36
  ButtonComponent,
37
+ BlockListComponent,
25
38
  DownloadItemComponent,
26
39
  TranslateModule,
40
+ PreviousNextButtonsComponent,
27
41
  ],
28
42
  })
29
43
  export class DownloadsListComponent {
30
- constructor(private translateService: TranslateService) {}
44
+ constructor(
45
+ private translateService: TranslateService,
46
+ private changeDetector: ChangeDetectorRef
47
+ ) {}
31
48
 
49
+ _list: BlockListComponent
32
50
  @Input() links: DatasetDownloadDistribution[]
33
51
 
52
+ get linksCount(): number {
53
+ return this.filteredLinks?.length || 0
54
+ }
55
+
34
56
  activeFilterFormats: FilterFormat[] = ['all']
35
57
 
58
+ updateList($event: BlockListComponent) {
59
+ this._list = $event
60
+ this.changeDetector.detectChanges()
61
+ }
62
+
36
63
  private removeDuplicateFormats(
37
64
  links: DatasetDownloadDistribution[]
38
65
  ): DatasetDownloadDistribution[] {
@@ -5,7 +5,7 @@
5
5
  <div
6
6
  *ngIf="imageUrl"
7
7
  data-cy="record-thumbnail"
8
- class="shrink-0 bg-gray-100 rounded-lg overflow-hidden border border-gray-300 group-hover:shadow-xl group-hover:border-0 h-full w-full"
8
+ class="shrink-0 rounded-lg overflow-hidden group-hover:shadow-xl group-hover:border-0 h-full w-full"
9
9
  >
10
10
  <gn-ui-thumbnail
11
11
  class="relative h-full w-full"
@@ -0,0 +1,6 @@
1
+ :host gn-ui-badge ng-icon {
2
+ font-size: 1.2rem;
3
+ width: 1.2rem;
4
+ height: 1.2rem;
5
+ transform: translateY(-2px);
6
+ }
@@ -0,0 +1,9 @@
1
+ <ng-icon [name]="iconKind" class="mr-1"></ng-icon>
2
+
3
+ <ng-container *ngIf="contentTemplate; else defaultContent">
4
+ <ng-container *ngTemplateOutlet="contentTemplate"></ng-container>
5
+ </ng-container>
6
+
7
+ <ng-template #defaultContent>
8
+ {{ kind | translate }}
9
+ </ng-template>
@@ -0,0 +1,51 @@
1
+ import { CommonModule } from '@angular/common'
2
+ import {
3
+ ChangeDetectionStrategy,
4
+ Component,
5
+ Input,
6
+ TemplateRef,
7
+ } from '@angular/core'
8
+ import { provideIcons } from '@ng-icons/core'
9
+ import {
10
+ iconoirAppleWallet,
11
+ iconoirAppleShortcuts,
12
+ iconoirCode,
13
+ iconoirCreditCard,
14
+ } from '@ng-icons/iconoir'
15
+ import { NgIconsModule } from '@ng-icons/core'
16
+ import { BadgeComponent } from '../../../../../../libs/ui/inputs/src'
17
+ import { TranslateModule } from '@ngx-translate/core'
18
+
19
+ enum KindConfig {
20
+ all = 'iconoirAppleWallet', // (this one is for filter)
21
+ dataset = 'iconoirAppleShortcuts',
22
+ service = 'iconoirCode',
23
+ reuse = 'iconoirCreditCard',
24
+ }
25
+
26
+ @Component({
27
+ selector: 'gn-ui-kind-badge',
28
+ templateUrl: './kind-badge.component.html',
29
+ styleUrls: ['./kind-badge.component.css'],
30
+ viewProviders: [
31
+ provideIcons({
32
+ iconoirAppleWallet,
33
+ iconoirAppleShortcuts,
34
+ iconoirCode,
35
+ iconoirCreditCard,
36
+ }),
37
+ ],
38
+ changeDetection: ChangeDetectionStrategy.OnPush,
39
+ standalone: true,
40
+ imports: [NgIconsModule, CommonModule, BadgeComponent, TranslateModule],
41
+ })
42
+ export class KindBadgeComponent {
43
+ @Input() contentTemplate: TemplateRef<unknown>
44
+ @Input() kind: string
45
+
46
+ hasProjectedContent = false
47
+
48
+ get iconKind() {
49
+ return KindConfig[this.kind] || KindConfig.dataset
50
+ }
51
+ }
@@ -5,7 +5,7 @@
5
5
  [ngClass]="cardClass"
6
6
  [title]="title"
7
7
  >
8
- <div class="flex flex-col justify-between">
8
+ <div class="flex flex-col justify-between flex-1 min-w-0">
9
9
  <div class="gn-ui-card-title">
10
10
  {{ link.description || link.name }}
11
11
  </div>
@@ -26,7 +26,10 @@
26
26
  >
27
27
  </div>
28
28
  </div>
29
- <div class="flex" [ngClass]="size === 'S' ? 'items-end' : 'items-center'">
29
+ <div
30
+ class="flex min-w-[32px]"
31
+ [ngClass]="size === 'S' ? 'items-end' : 'items-center'"
32
+ >
30
33
  <div class="gn-ui-card-icon">
31
34
  <ng-icon
32
35
  class="inline-block card-icon align-middle"
@@ -1,9 +1,5 @@
1
1
  import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
- import {
3
- DatasetDownloadDistribution,
4
- DatasetOnlineResource,
5
- DatasetServiceDistribution,
6
- } from '../../../../../../libs/common/domain/src/lib/model/record'
2
+ import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record'
7
3
  import { CommonModule } from '@angular/common'
8
4
  import {
9
5
  NgIconComponent,
@@ -30,7 +26,7 @@ type CardSize = 'L' | 'M' | 'S' | 'XS'
30
26
  ],
31
27
  })
32
28
  export class LinkCardComponent {
33
- private _size: 'L' | 'M' | 'S' | 'XS'
29
+ private _size: CardSize
34
30
  @Input() link: DatasetOnlineResource
35
31
  private readonly sizeClassMap: Record<CardSize, string> = {
36
32
  L: 'gn-ui-card-l py-2 px-5',
@@ -43,7 +39,7 @@ export class LinkCardComponent {
43
39
  this._size = value
44
40
  this.cardClass = this.sizeClassMap[value]
45
41
  }
46
- get size(): 'L' | 'M' | 'S' | 'XS' {
42
+ get size(): CardSize {
47
43
  return this._size
48
44
  }
49
45
  cardClass = ''
@@ -1,8 +1,6 @@
1
- <div>
2
- <p class="text-gray-900 text-xs mb-3 uppercase" translate>
3
- record.metadata.catalog
4
- </p>
5
- <p class="text-primary font-title text-21 mb-1">
1
+ <div class="text-black">
2
+ <p class="text-base mb-3" translate>record.metadata.catalog</p>
3
+ <p class="font-title text-21 mb-1">
6
4
  {{ sourceLabel }}
7
5
  </p>
8
6
  </div>
@@ -1,7 +1,10 @@
1
- <div class="py-5 px-5 rounded bg-gray-100 text-black">
1
+ <div
2
+ class="py-5 px-5 rounded bg-gray-100 text-black"
3
+ data-cy="metadata-organization"
4
+ >
2
5
  <div class="grid gap-3 overflow-hidden">
3
6
  <div>
4
- <p class="text-sm font-medium" translate>record.metadata.contact</p>
7
+ <p class="text-base font-medium" translate>record.metadata.contact</p>
5
8
  </div>
6
9
  <div
7
10
  *ngIf="shownOrganization?.logoUrl?.href"
@@ -13,12 +16,12 @@
13
16
  fit="contain"
14
17
  ></gn-ui-thumbnail>
15
18
  </div>
16
- <div class="grid gap-1">
19
+ <div class="grid grid-cols-1 gap-1">
17
20
  <div class="flex">
18
21
  <div
19
- class="text-primary font-title text-21 mr-2 cursor-pointer hover:underline"
22
+ class="font-title text-21 mr-2 cursor-pointer hover:underline"
20
23
  (click)="onOrganizationClick()"
21
- data-cy="organization-name"
24
+ data-cy="organization-name-link"
22
25
  >
23
26
  {{ shownOrganization?.name }}
24
27
  </div>
@@ -27,7 +30,7 @@
27
30
  <a
28
31
  [href]="shownOrganization.website"
29
32
  target="_blank"
30
- class="contact-website text-primary text-sm cursor-pointer hover:underline transition-all"
33
+ class="contact-website text-sm cursor-pointer hover:underline transition-all"
31
34
  >{{ shownOrganization.website }}
32
35
  <ng-icon
33
36
  class="!w-[12px] !h-[12px] opacity-75 shrink-0"
@@ -36,7 +39,7 @@
36
39
  </a>
37
40
  </div>
38
41
  </div>
39
- <div class="grid gap-5 py-3 overflow-hidden">
42
+ <div class="grid grid-cols-1 gap-5 py-3 overflow-hidden">
40
43
  <div *ngIf="contacts[0]?.phone">
41
44
  <div class="flex">
42
45
  <ng-icon
@@ -49,7 +52,7 @@
49
52
  </div>
50
53
  </div>
51
54
  <div *ngIf="contacts[0]?.email">
52
- <div class="flex">
55
+ <div class="flex gap-2">
53
56
  <ng-icon
54
57
  class="!w-5 !h-5 !text-[20px] opacity-75 shrink-0"
55
58
  name="matMailOutline"
@@ -57,7 +60,7 @@
57
60
  <a
58
61
  *ngIf="contacts.length"
59
62
  [href]="'mailto:' + contacts[0].email"
60
- class="text-sm hover:underline ml-2"
63
+ class="break-all text-sm hover:underline"
61
64
  target="_blank"
62
65
  data-cy="contact-email"
63
66
  >{{ contacts[0].email }}</a
@@ -17,6 +17,6 @@
17
17
  --gn-ui-badge-text-color: var(--color-primary-darkest);
18
18
  }
19
19
 
20
- :host ::ng-deep gn-ui-badge:hover {
20
+ :host .metadata-info-keywords ::ng-deep gn-ui-badge:hover {
21
21
  --gn-ui-badge-text-color: white;
22
22
  }
@@ -25,7 +25,7 @@
25
25
  [showContent]="fieldReady('keywords')"
26
26
  >
27
27
  <div *ngIf="metadata.keywords?.length">
28
- <div class="sm:pb-4 flex flex-wrap gap-2">
28
+ <div class="metadata-info-keywords sm:pb-4 flex flex-wrap gap-2">
29
29
  <gn-ui-badge
30
30
  class="inline-block lowercase"
31
31
  (click)="onKeywordClick(keyword)"
@@ -46,6 +46,7 @@
46
46
  metadata.otherConstraints
47
47
  "
48
48
  [title]="'record.metadata.usage' | translate"
49
+ data-test="usage-panel"
49
50
  >
50
51
  <div class="flex flex-col gap-[10px] mr-4 py-[12px] rounded text-gray-900">
51
52
  <ng-container *ngFor="let license of licenses">
@@ -79,9 +80,12 @@
79
80
  </ng-container>
80
81
  <ng-container *ngIf="otherConstraints.length">
81
82
  <div gnUiLinkify *ngFor="let constraint of otherConstraints">
82
- <h5 translate class="font-medium text-black text-sm mb-[2px] mt-[16px]">
83
+ <span
84
+ translate
85
+ class="font-medium text-black text-sm mb-[2px] mt-[16px]"
86
+ >
83
87
  record.metadata.otherConstraints
84
- </h5>
88
+ </span>
85
89
  <div class="mb-6">
86
90
  <gn-ui-markdown-parser [textContent]="constraint">
87
91
  </gn-ui-markdown-parser>
@@ -102,6 +106,7 @@
102
106
  (metadata.kind === 'dataset' && metadata.status)
103
107
  "
104
108
  [title]="'record.metadata.details' | translate"
109
+ data-test="details-panel"
105
110
  >
106
111
  <div *ngIf="metadata.lineage" class="text-gray-900 flex flex-col mt-4 gap-2">
107
112
  <p class="whitespace-pre-line break-words text-gray-900" gnUiLinkify>
@@ -228,6 +233,7 @@
228
233
  <gn-ui-expandable-panel
229
234
  *ngIf="metadata.kind !== 'dataset' && metadata.spatialExtents"
230
235
  [title]="'service.metadata.spatialExtent' | translate"
236
+ data-test="spatial-extent-panel"
231
237
  >
232
238
  <gn-ui-spatial-extent
233
239
  class="flex h-[271px] w-full rounded-lg border border-gray-100 mt-3 mb-6"
@@ -237,6 +243,7 @@
237
243
  <gn-ui-expandable-panel
238
244
  *ngIf="metadata.landingPage"
239
245
  [title]="'service.metadata.other' | translate"
246
+ data-test="other-panel"
240
247
  >
241
248
  <div class="flex flex-col gap-4 mr-4 py-5 rounded text-gray-700">
242
249
  <div *ngIf="metadata.recordUpdated">
@@ -276,6 +283,7 @@
276
283
  <p class="text-sm mb-1" translate>record.metadata.topics</p>
277
284
  <div class="sm:pb-4 sm:pr-16">
278
285
  <gn-ui-badge
286
+ [clickable]="false"
279
287
  class="inline-block mr-2 mb-2 lowercase"
280
288
  *ngFor="let topic of metadata.topics"
281
289
  >{{ topic }}</gn-ui-badge
@@ -1,9 +1,8 @@
1
1
  <div *ngIf="metadataQualityDisplay" class="metadata-quality">
2
2
  <div
3
3
  class="flex items-center"
4
- [class]="
5
- smaller ? 'leading-[8px] min-w-[120px] m-h-[120px]' : 'min-w-[200px]'
6
- "
4
+ [class]="min - w - 0"
5
+ [ngClass]="{ 'leading-[8px] m-h-[120px]': smaller }"
7
6
  >
8
7
  <gn-ui-progress-bar
9
8
  tabindex="0"
@@ -0,0 +1,48 @@
1
+ <div class="flex flex-col gap-2 py-5 px-5 h-[562px] overflow-y-auto">
2
+ <div
3
+ *ngFor="let featureType of filteredFeatureCatalog?.featureTypes"
4
+ class="rounded shadow bg-white"
5
+ >
6
+ <gn-ui-expandable-panel
7
+ [collapsed]="filteredFeatureCatalog?.featureTypes?.length !== 1"
8
+ iconColor="black"
9
+ >
10
+ <ng-template #titleTemplate>
11
+ <div class="px-2">
12
+ <div class="text-lg font-bold">{{ featureType.name }}</div>
13
+ <div class="text-sm" *ngIf="featureType.definition">
14
+ {{ featureType.definition }}
15
+ </div>
16
+ </div>
17
+ </ng-template>
18
+ <div
19
+ class="grid gap-0"
20
+ [style.grid-template-columns]="gridTemplateColumns"
21
+ data-cy="feature-type-content"
22
+ >
23
+ <div
24
+ class="py-1 px-2 text-sm font-bold text-left border-t"
25
+ [class.border-l]="i > 0"
26
+ [class.border-gray-300]="i > 0"
27
+ *ngFor="let col of columns; let i = index"
28
+ data-test="column-label"
29
+ >
30
+ {{ col.label | translate }}
31
+ </div>
32
+ <ng-container *ngFor="let row of featureType.attributes">
33
+ <div
34
+ class="bg-white text-sm font-normal text-left border-t"
35
+ [class.border-l]="i > 0"
36
+ [class.border-gray-300]="i > 0"
37
+ *ngFor="let col of columns; let i = index"
38
+ >
39
+ <gn-ui-truncated-text
40
+ extraClass="py-3 px-2"
41
+ [text]="row[col.key]"
42
+ ></gn-ui-truncated-text>
43
+ </div>
44
+ </ng-container>
45
+ </div>
46
+ </gn-ui-expandable-panel>
47
+ </div>
48
+ </div>
@@ -0,0 +1,52 @@
1
+ import { Component, Input, OnInit } from '@angular/core'
2
+ import { CommonModule } from '@angular/common'
3
+ import { TranslateModule } from '@ngx-translate/core'
4
+ import { DatasetFeatureCatalog } from '../../../../../../../libs/common/domain/src/lib/model/record'
5
+ import {
6
+ ExpandablePanelComponent,
7
+ TruncatedTextComponent,
8
+ } from '../../../../../../../libs/ui/layout/src'
9
+
10
+ @Component({
11
+ selector: 'gn-ui-feature-catalog-list',
12
+ templateUrl: './feature-catalog-list.component.html',
13
+ standalone: true,
14
+ imports: [
15
+ CommonModule,
16
+ TranslateModule,
17
+ ExpandablePanelComponent,
18
+ TruncatedTextComponent,
19
+ ],
20
+ })
21
+ export class FeatureCatalogListComponent implements OnInit {
22
+ @Input() filteredFeatureCatalog: DatasetFeatureCatalog
23
+
24
+ columns = [
25
+ {
26
+ key: 'type',
27
+ label: 'feature.catalog.attribute.type',
28
+ width: '19%',
29
+ },
30
+ {
31
+ key: 'name',
32
+ label: 'feature.catalog.attribute.name',
33
+ width: '32%',
34
+ },
35
+ {
36
+ key: 'code',
37
+ label: 'feature.catalog.attribute.code',
38
+ width: '24%',
39
+ },
40
+ {
41
+ key: 'title',
42
+ label: 'feature.catalog.attribute.description',
43
+ width: '25%',
44
+ },
45
+ ]
46
+
47
+ gridTemplateColumns = ''
48
+
49
+ ngOnInit(): void {
50
+ this.gridTemplateColumns = this.columns.map((col) => col.width).join(' ')
51
+ }
52
+ }
@@ -1,5 +1,5 @@
1
1
  <div style="height: 652px" id="preview" *ngIf="apiLinks.length > 0">
2
- <div class="bg-primary-opacity-10 overflow-visible" style="height: 512px">
2
+ <div class="bg-primary-opacity-10 overflow-visible" style="height: 420px">
3
3
  <div class="container-lg px-4 lg:mx-auto">
4
4
  <div>
5
5
  <div class="gn-ui-section-title mb-6" translate>
@@ -16,13 +16,13 @@ import { TranslateModule } from '@ngx-translate/core'
16
16
  import { AvatarComponent } from './avatar/avatar.component'
17
17
  import { ImageInputComponent } from './image-input/image-input.component'
18
18
  import { MarkdownParserComponent } from './markdown-parser/markdown-parser.component'
19
+ import { KindBadgeComponent } from './kind-badge/kind-badge.component'
19
20
  import { ThumbnailComponent } from './thumbnail/thumbnail.component'
20
21
  import { TimeSincePipe } from './user-feedback-item/time-since.pipe'
21
22
  import { UserPreviewComponent } from './user-preview/user-preview.component'
22
23
  import { ApplicationBannerComponent } from './application-banner/application-banner.component'
23
24
  import { InternalLinkCardComponent } from './internal-link-card/internal-link-card.component'
24
25
  import { ServiceCapabilitiesComponent } from './service-capabilities/service-capabilities.component'
25
-
26
26
  @NgModule({
27
27
  imports: [
28
28
  CommonModule,
@@ -46,6 +46,7 @@ import { ServiceCapabilitiesComponent } from './service-capabilities/service-cap
46
46
  ApplicationBannerComponent,
47
47
  InternalLinkCardComponent,
48
48
  ServiceCapabilitiesComponent,
49
+ KindBadgeComponent,
49
50
  ],
50
51
  providers: [
51
52
  provideNgIconsConfig({
@@ -62,6 +63,7 @@ import { ServiceCapabilitiesComponent } from './service-capabilities/service-cap
62
63
  ApplicationBannerComponent,
63
64
  InternalLinkCardComponent,
64
65
  ServiceCapabilitiesComponent,
66
+ KindBadgeComponent,
65
67
  ],
66
68
  })
67
69
  export class UiElementsModule {}
@@ -15,6 +15,7 @@ export * from './lib/dropdown-selector/dropdown-selector.model'
15
15
  export * from './lib/editable-label/editable-label.directive'
16
16
  export * from './lib/file-input/file-input.component'
17
17
  export * from './lib/files-drop/files-drop.directive'
18
+ export * from './lib/inline-filter/inline-filter.component'
18
19
  export * from './lib/search-input/search-input.component'
19
20
  export * from './lib/star-toggle/star-toggle.component'
20
21
  export * from './lib/switch-toggle/switch-toggle.component'
@@ -23,3 +24,4 @@ export * from './lib/text-input/text-input.component'
23
24
  export * from './lib/ui-inputs.module'
24
25
  export * from './lib/url-input/url-input.component'
25
26
  export * from './lib/viewport-intersector/viewport-intersector.component'
27
+ export * from './lib/search-feature-catalog/search-feature-catalog.component'
@@ -56,14 +56,14 @@ export class ButtonComponent {
56
56
 
57
57
  @Input() disabled = false
58
58
  @Input() extraClass = ''
59
- @Output() buttonClick = new EventEmitter<void>()
59
+ @Output() buttonClick = new EventEmitter<Event>()
60
60
 
61
61
  get classList() {
62
62
  return `${this.btnClass} ${this.extraClass}`
63
63
  }
64
64
 
65
65
  handleClick(event: MouseEvent) {
66
- this.buttonClick.emit()
66
+ this.buttonClick.emit(event)
67
67
  event.preventDefault()
68
68
  ;(event.currentTarget as HTMLElement).blur()
69
69
  propagateToDocumentOnly(event)
@@ -59,7 +59,7 @@
59
59
  #overlayContainer
60
60
  >
61
61
  <div
62
- class="border border-gray-300 rounded mb-2 mx-2 min-h-[44px] flex flex-row flex-wrap p-2 focus-within:rounded focus-within:border-2 focus-within:border-primary"
62
+ class="border border-gray-300 rounded mb-2 mx-2 min-h-[44px] flex flex-row gap-[2px] flex-wrap p-2 focus-within:rounded focus-within:border-2 focus-within:border-primary"
63
63
  >
64
64
  <button
65
65
  type="button"
@@ -19,7 +19,7 @@
19
19
  (keydown)="handleTriggerKeydown($event)"
20
20
  [disabled]="disabled"
21
21
  >
22
- <div class="grow font-medium truncate py-1 mr-2 text-left">
22
+ <div class="grow truncate py-1 mr-2 text-left">
23
23
  {{ getChoiceLabel() | translate }}
24
24
  </div>
25
25
  <ng-icon