geonetwork-ui 2.6.0-dev.502fa026d → 2.6.0-dev.70b25ba3b

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 (330) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +1 -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 +8 -3
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +3 -3
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +4 -4
  7. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +2 -10
  8. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
  9. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  10. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +5 -1
  11. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +5 -1
  12. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +2 -3
  13. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +1 -1
  14. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
  15. package/esm2022/libs/feature/record/src/index.mjs +1 -2
  16. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +5 -9
  17. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +7 -11
  18. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +6 -1
  19. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
  20. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +8 -5
  21. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -6
  22. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
  23. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  24. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
  25. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
  26. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  27. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +8 -7
  28. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +13 -19
  29. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
  30. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  31. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +26 -10
  32. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
  33. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  34. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
  35. package/esm2022/libs/ui/elements/src/index.mjs +4 -1
  36. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +27 -6
  37. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +22 -6
  38. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
  39. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +163 -0
  40. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +51 -0
  41. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +29 -7
  42. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  43. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  44. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +8 -5
  45. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +3 -3
  46. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -2
  47. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +161 -0
  48. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +22 -4
  49. package/esm2022/libs/ui/inputs/src/index.mjs +2 -2
  50. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  51. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
  52. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  53. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +4 -3
  54. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +7 -2
  55. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +43 -3
  56. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  57. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  58. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +15 -3
  59. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  60. package/esm2022/libs/ui/map/src/index.mjs +2 -1
  61. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +79 -0
  62. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  63. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  64. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  65. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +5 -4
  66. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +11 -3
  67. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  68. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +2 -1
  69. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  70. package/esm2022/libs/util/shared/src/index.mjs +2 -1
  71. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
  72. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +2 -1
  73. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +33 -24
  74. package/esm2022/translations/de.json +38 -4
  75. package/esm2022/translations/en.json +39 -5
  76. package/esm2022/translations/es.json +38 -4
  77. package/esm2022/translations/fr.json +39 -5
  78. package/esm2022/translations/it.json +38 -5
  79. package/esm2022/translations/nl.json +38 -4
  80. package/esm2022/translations/pt.json +38 -4
  81. package/fesm2022/geonetwork-ui.mjs +1650 -589
  82. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  83. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  84. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  85. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
  86. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  87. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  88. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  89. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  90. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  91. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -2
  92. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  93. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  94. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +1 -1
  95. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  96. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  97. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +6 -6
  98. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  99. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -1
  100. package/libs/feature/record/src/index.d.ts +0 -1
  101. package/libs/feature/record/src/index.d.ts.map +1 -1
  102. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +9 -1
  103. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  104. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
  105. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  106. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
  107. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  108. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  109. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
  110. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +3 -1
  111. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  112. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  113. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  114. package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
  115. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  116. package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
  117. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  118. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  119. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
  120. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  121. package/libs/feature/search/src/index.d.ts +1 -1
  122. package/libs/feature/search/src/index.d.ts.map +1 -1
  123. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  124. package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
  125. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  126. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -1
  127. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
  128. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  129. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  130. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
  131. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  132. package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
  133. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  134. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  135. package/libs/ui/elements/src/index.d.ts +3 -0
  136. package/libs/ui/elements/src/index.d.ts.map +1 -1
  137. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts +9 -1
  138. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  139. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +8 -1
  140. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  141. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  142. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  143. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +43 -0
  144. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -0
  145. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +11 -0
  146. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  147. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +10 -2
  148. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  149. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
  150. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  151. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  152. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +30 -0
  153. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
  154. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +4 -1
  155. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  156. package/libs/ui/inputs/src/index.d.ts +1 -1
  157. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  158. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  159. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  160. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  161. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  162. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  163. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
  164. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  165. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +10 -3
  166. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  167. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  168. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  169. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +2 -0
  170. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  171. package/libs/ui/map/src/index.d.ts +1 -0
  172. package/libs/ui/map/src/index.d.ts.map +1 -1
  173. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
  174. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
  175. package/libs/ui/search/src/index.d.ts +1 -0
  176. package/libs/ui/search/src/index.d.ts.map +1 -1
  177. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  178. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  179. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  180. package/libs/ui/search/src/lib/ui-search.module.d.ts +21 -19
  181. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  182. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  183. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  184. package/libs/util/shared/src/index.d.ts +1 -0
  185. package/libs/util/shared/src/index.d.ts.map +1 -1
  186. package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
  187. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
  188. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  189. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  190. package/libs/util/shared/src/lib/links/link-utils.d.ts +30 -23
  191. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  192. package/package.json +1 -1
  193. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  194. package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
  195. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  196. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
  197. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +2 -2
  198. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
  199. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
  200. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +8 -2
  201. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +2 -2
  202. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +3 -3
  203. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +1 -9
  204. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
  205. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +6 -2
  206. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +26 -26
  207. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +2 -2
  208. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
  209. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +4 -0
  210. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -0
  211. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +1 -2
  212. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -2
  213. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +2 -2
  214. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  215. package/src/libs/feature/record/src/index.ts +0 -1
  216. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -3
  217. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +4 -5
  218. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +5 -0
  219. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
  220. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +5 -3
  221. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +4 -7
  222. package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
  223. package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
  224. package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
  225. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
  226. package/src/libs/feature/search/src/index.ts +1 -1
  227. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +1 -7
  228. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +16 -8
  229. package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -10
  230. package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
  231. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  232. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  233. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.css +6 -0
  234. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
  235. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +24 -5
  236. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  237. package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
  238. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  239. package/src/libs/ui/elements/src/index.ts +3 -0
  240. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +64 -38
  241. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +26 -2
  242. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +21 -18
  243. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +20 -2
  244. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +42 -10
  245. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
  246. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.css +0 -0
  247. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +156 -0
  248. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +190 -0
  249. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  250. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +9 -0
  251. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +51 -0
  252. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +30 -29
  253. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +28 -2
  254. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +1 -1
  255. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +1 -1
  256. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
  257. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +13 -4
  258. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -4
  259. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +4 -2
  260. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +2 -1
  261. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
  262. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +96 -0
  263. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +183 -0
  264. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +9 -0
  265. package/src/libs/ui/inputs/src/index.ts +1 -1
  266. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  267. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  268. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
  269. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  270. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +5 -5
  271. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +2 -1
  272. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
  273. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +46 -2
  274. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  275. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  276. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  277. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -5
  278. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  279. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +3 -7
  280. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +13 -0
  281. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  282. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  283. package/src/libs/ui/map/src/index.ts +1 -0
  284. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
  285. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
  286. package/src/libs/{feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts → ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts} +7 -8
  287. package/src/libs/ui/search/src/index.ts +1 -0
  288. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  289. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +24 -0
  290. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  291. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +7 -4
  292. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +2 -1
  293. package/src/libs/ui/search/src/lib/ui-search.module.ts +5 -0
  294. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +4 -3
  295. package/src/libs/util/app-config/src/lib/app-config.ts +1 -0
  296. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  297. package/src/libs/util/shared/src/index.ts +1 -0
  298. package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
  299. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +12 -3
  300. package/src/libs/util/shared/src/lib/links/link-utils.ts +50 -30
  301. package/tailwind.base.config.js +3 -0
  302. package/tailwind.base.css +39 -13
  303. package/translations/de.json +38 -4
  304. package/translations/en.json +39 -5
  305. package/translations/es.json +38 -4
  306. package/translations/fr.json +39 -5
  307. package/translations/it.json +38 -5
  308. package/translations/nl.json +38 -4
  309. package/translations/pt.json +38 -4
  310. package/translations/sk.json +38 -4
  311. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
  312. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
  313. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  314. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +0 -16
  315. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
  316. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +0 -1
  317. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
  318. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
  319. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  320. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  321. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +0 -8
  322. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +0 -1
  323. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
  324. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
  325. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  326. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  327. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +0 -3
  328. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +0 -9
  329. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +0 -15
  330. /package/src/libs/feature/{editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css → search/src/lib/results-hits/results-hits.container.component.css} +0 -0
@@ -1,6 +1,7 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, QueryList } from '@angular/core';
2
2
  import { Paginable } from '../paginable.interface';
3
3
  import * as i0 from "@angular/core";
4
+ type ComponentSize = 'L' | 'M' | 'S' | 'XS';
4
5
  export declare class BlockListComponent implements AfterViewInit, Paginable {
5
6
  private changeDetector;
6
7
  pageSize: number;
@@ -9,6 +10,8 @@ export declare class BlockListComponent implements AfterViewInit, Paginable {
9
10
  blocks: QueryList<ElementRef<HTMLElement>>;
10
11
  blockContainer: ElementRef<HTMLElement>;
11
12
  protected minHeight: number;
13
+ listChanges: EventEmitter<BlockListComponent>;
14
+ subComponentSize: ComponentSize;
12
15
  protected currentPage_: number;
13
16
  protected get pages(): number[];
14
17
  get isFirstPage(): boolean;
@@ -18,10 +21,14 @@ export declare class BlockListComponent implements AfterViewInit, Paginable {
18
21
  constructor(changeDetector: ChangeDetectorRef);
19
22
  ngAfterViewInit(): void;
20
23
  protected refreshBlocksVisibility: () => void;
24
+ protected updateSizes(): void;
25
+ protected computeSubComponentSize(): ComponentSize;
26
+ protected computePageSize(): number;
21
27
  goToPage(pageIndex: number): void;
22
28
  goToPrevPage(): void;
23
29
  goToNextPage(): void;
24
30
  static ɵfac: i0.ɵɵFactoryDeclaration<BlockListComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<BlockListComponent, "gn-ui-block-list", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "paginationContainerClass": { "alias": "paginationContainerClass"; "required": false; }; }, {}, ["blocks"], ["*"], true, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<BlockListComponent, "gn-ui-block-list", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "paginationContainerClass": { "alias": "paginationContainerClass"; "required": false; }; }, { "listChanges": "listChanges"; }, ["blocks"], ["*"], true, never>;
26
32
  }
33
+ export {};
27
34
  //# sourceMappingURL=block-list.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"block-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/block-list/block-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;;AAGlD,qBAQa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IA6BrD,OAAO,CAAC,cAAc;IA5BzB,QAAQ,SAAI;IACZ,cAAc,SAAK;IACnB,wBAAwB,SAA6B;IACd,MAAM,EAAE,SAAS,CAC/D,UAAU,CAAC,WAAW,CAAC,CACxB,CAAA;IAC4B,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAEpE,SAAS,CAAC,SAAS,SAAI;IAEvB,SAAS,CAAC,YAAY,SAAI;IAC1B,SAAS,KAAK,KAAK,aAElB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;IACD,IAAI,WAAW,WAEd;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IASf,SAAS,CAAC,uBAAuB,aAQhC;IAGM,QAAQ,CAAC,SAAS,EAAE,MAAM;IAS1B,YAAY;IAKZ,YAAY;yCAjER,kBAAkB;2CAAlB,kBAAkB;CAqE9B"}
1
+ {"version":3,"file":"block-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/block-list/block-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,UAAU,EACV,YAAY,EAGZ,SAAS,EAEV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;;AAGlD,KAAK,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAA;AAC3C,qBAQa,kBAAmB,YAAW,aAAa,EAAE,SAAS;IA8BrD,OAAO,CAAC,cAAc;IA7BlC,QAAQ,SAAI;IACH,cAAc,SAAK;IACnB,wBAAwB,SAA6B;IACd,MAAM,EAAE,SAAS,CAC/D,UAAU,CAAC,WAAW,CAAC,CACxB,CAAA;IAC4B,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IACpE,SAAS,CAAC,SAAS,SAAI;IACb,WAAW,mCAAyC;IAC9D,gBAAgB,EAAE,aAAa,CAAM;IAErC,SAAS,CAAC,YAAY,SAAI;IAC1B,SAAS,KAAK,KAAK,aAElB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;IACD,IAAI,WAAW,WAEd;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IAiBf,SAAS,CAAC,uBAAuB,aAQhC;IAED,SAAS,CAAC,WAAW;IAKrB,SAAS,CAAC,uBAAuB,IAAI,aAAa;IASlD,SAAS,CAAC,eAAe,IAAI,MAAM;IAa5B,QAAQ,CAAC,SAAS,EAAE,MAAM;IAS1B,YAAY;IAKZ,YAAY;yCApGR,kBAAkB;2CAAlB,kBAAkB;CAwG9B"}
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, QueryList } from '@angular/core';
2
2
  import { InteractiveTableColumnComponent } from './interactive-table-column/interactive-table-column.component';
3
+ import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class InteractiveTableComponent {
5
6
  columns: QueryList<InteractiveTableColumnComponent>;
@@ -9,6 +10,7 @@ export declare class InteractiveTableComponent {
9
10
  get gridStyle(): {
10
11
  'grid-template-columns': string;
11
12
  };
13
+ getItemTitle(item: CatalogRecord): "" | "editor.record.lock.reason" | "editor.record.lock.format";
12
14
  handleRowClick(item: unknown): void;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveTableComponent, never>;
14
16
  static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveTableComponent, "gn-ui-interactive-table", never, { "items": { "alias": "items"; "required": false; }; "isDraftPage": { "alias": "isDraftPage"; "required": false; }; }, { "itemClick": "itemClick"; }, ["columns"], never, true, never>;
@@ -1 +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;;AAM/G,qBASa,yBAAyB;IAEpC,OAAO,EAAE,SAAS,CAAC,+BAA+B,CAAC,CAAA;IAE1C,KAAK,EAAE,OAAO,EAAE,CAAK;IACrB,WAAW,UAAQ;IAClB,SAAS,wBAA8B;IAEjD,IAAI,SAAS;;MAYZ;IAED,cAAc,CAAC,IAAI,EAAE,OAAO;yCAtBjB,yBAAyB;2CAAzB,yBAAyB;CAyBrC"}
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;AAM/G,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAIzF,qBASa,yBAAyB;IAEpC,OAAO,EAAE,SAAS,CAAC,+BAA+B,CAAC,CAAA;IAE1C,KAAK,EAAE,OAAO,EAAE,CAAK;IACrB,WAAW,UAAQ;IAClB,SAAS,wBAA8B;IAEjD,IAAI,SAAS;;MAYZ;IAED,YAAY,CAAC,IAAI,EAAE,aAAa;IAShC,cAAc,CAAC,IAAI,EAAE,OAAO;yCA/BjB,yBAAyB;2CAAzB,yBAAyB;CAkCrC"}
@@ -3,4 +3,5 @@ export * from './lib/components/map-container/map-settings.token';
3
3
  export * from './lib/components/feature-detail/feature-detail.component';
4
4
  export * from './lib/components/map-legend/map-legend.component';
5
5
  export * from './lib/map-utils';
6
+ export * from './lib/components/spatial-extent/spatial-extent.component';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/map/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wDAAwD,CAAA;AACtE,cAAc,mDAAmD,CAAA;AACjE,cAAc,0DAA0D,CAAA;AACxE,cAAc,kDAAkD,CAAA;AAChE,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/map/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wDAAwD,CAAA;AACtE,cAAc,mDAAmD,CAAA;AACjE,cAAc,0DAA0D,CAAA;AACxE,cAAc,kDAAkD,CAAA;AAChE,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0DAA0D,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Geometry } from 'geojson';
2
+ import { MapContext } from '@geospatial-sdk/core';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
+ import { DatasetSpatialExtent } from '../../../../../../../libs/common/domain/src/lib/model/record';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SpatialExtentComponent {
7
+ set spatialExtents(value: DatasetSpatialExtent[]);
8
+ spatialExtents$: BehaviorSubject<DatasetSpatialExtent[]>;
9
+ mapContext$: Observable<MapContext>;
10
+ error: string;
11
+ bboxCoordsToGeometry(bbox: [number, number, number, number]): Geometry;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpatialExtentComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpatialExtentComponent, "gn-ui-spatial-extent", never, { "spatialExtents": { "alias": "spatialExtents"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
15
+ //# sourceMappingURL=spatial-extent.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAGlC,OAAO,EAEL,UAAU,EAEX,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAElD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8DAA8D,CAAA;;AAEnG,qBAOa,sBAAsB;IACjC,IAAa,cAAc,CAAC,KAAK,EAAE,oBAAoB,EAAE,EAExD;IACD,eAAe,0CAAkD;IACjE,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC,CAwClC;IAED,KAAK,SAAK;IAEV,oBAAoB,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,QAAQ;yCAjD3D,sBAAsB;2CAAtB,sBAAsB;CA8DlC"}
@@ -16,6 +16,7 @@ export * from './lib/record-preview-text/record-preview-text.component';
16
16
  export * from './lib/record-preview-title/record-preview-title.component';
17
17
  export * from './lib/record-metric/record-metric.component';
18
18
  export * from './lib/results-list-item/results-list-item.component';
19
+ export * from './lib/results-hits-search-kind/results-hits-search-kind.component';
19
20
  export * from './lib/results-hits-number/results-hits-number.component';
20
21
  export * from './lib/results-table/results-table.component';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -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,6CAA6C,CAAA;AAC3D,cAAc,qDAAqD,CAAA;AACnE,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,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,mEAAmE,CAAA;AACjF,cAAc,yDAAyD,CAAA;AACvE,cAAc,6CAA6C,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { Choice } from '../../../../../../libs/ui/inputs/src';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ResultsHitsSearchKindComponent implements OnChanges {
5
+ selected: string[];
6
+ choices: Choice[];
7
+ selectionChanged: EventEmitter<string[]>;
8
+ availableChoices: Choice[];
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ buildFilterChoices(availableValues: Choice[]): Choice[];
11
+ onSelectedValues(values: string[]): void;
12
+ isSelectedChoice(choiceValue: string): boolean;
13
+ isAllChoice(choiceValue: string): boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResultsHitsSearchKindComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsHitsSearchKindComponent, "gn-ui-results-hits-search-kind", never, { "selected": { "alias": "selected"; "required": false; }; "choices": { "alias": "choices"; "required": false; }; }, { "selectionChanged": "selectionChanged"; }, never, never, false, never>;
16
+ }
17
+ //# sourceMappingURL=results-hits-search-kind.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"results-hits-search-kind.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAEZ,SAAS,EACT,aAAa,EAEd,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAA;;AAE7D,qBAIa,8BAA+B,YAAW,SAAS;IACrD,QAAQ,EAAE,MAAM,EAAE,CAAK;IACvB,OAAO,EAAE,MAAM,EAAE,CAAK;IACrB,gBAAgB,yBAA+B;IAEzD,gBAAgB,EAAE,MAAM,EAAE,CAAK;IAE/B,WAAW,CAAC,OAAO,EAAE,aAAa;IAMlC,kBAAkB,CAAC,eAAe,EAAE,MAAM,EAAE;IAY5C,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE;IAMjC,gBAAgB,CAAC,WAAW,EAAE,MAAM;IAIpC,WAAW,CAAC,WAAW,EAAE,MAAM;yCAnCpB,8BAA8B;2CAA9B,8BAA8B;CAsC1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,WAAW,EACX,UAAU,EAKX,MAAM,wCAAwC,CAAA;AAK/C,OAAO,EAGL,OAAO,EAER,MAAM,sBAAsB,CAAA;;AAI7B,qBAkBa,qBAAqB;IA2B9B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,WAAW;IA7BZ,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAC1D,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC7D,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC1D,WAAW,UAAQ;IACnB,aAAa,UAAQ;IAGpB,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,YAAY,8BAAoC;IAChD,aAAa,8BAAoC;IACjD,qBAAqB,2CAE5B;IAGH,iBAAiB,EAAG,SAAS,CAAC,UAAU,CAAC,CAAA;IACzC,OAAO,CAAC,UAAU,CAAa;IAE/B,gBAAgB,UAAQ;gBAGd,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,iBAAiB,EACtB,WAAW,EAAE,WAAW;IAGlC,cAAc,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA;IAyC7B,eAAe;IAQf,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAerD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAIlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,aAAa;IAKrC,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,YAAY,CAAC,IAAI,EAAE,OAAO;IAK1B,cAAc,CAAC,IAAI,EAAE,OAAO;IAK5B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;yCA5JxD,qBAAqB;2CAArB,qBAAqB;CA+JjC"}
1
+ {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAGZ,SAAS,EAET,gBAAgB,EACjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;AACzF,OAAO,EAEL,WAAW,EACZ,MAAM,2DAA2D,CAAA;AAMlE,OAAO,EACL,WAAW,EACX,UAAU,EAKX,MAAM,wCAAwC,CAAA;AAK/C,OAAO,EAGL,OAAO,EAER,MAAM,sBAAsB,CAAA;;AAI7B,qBAkBa,qBAAqB;IA2B9B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,WAAW;IA7BZ,OAAO,EAAE,aAAa,EAAE,CAAK;IAC7B,0BAA0B,EAAE,MAAM,EAAE,CAAK;IACzC,SAAS,EAAE,WAAW,CAAO;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAc;IAC1D,YAAY,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC7D,SAAS,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAa;IAC1D,WAAW,UAAQ;IACnB,aAAa,UAAQ;IAGpB,YAAY,yCAA+C;IAC3D,WAAW,8BAAoC;IAC/C,eAAe,8BAAoC;IACnD,YAAY,8BAAoC;IAChD,aAAa,8BAAoC;IACjD,qBAAqB,2CAE5B;IAGH,iBAAiB,EAAG,SAAS,CAAC,UAAU,CAAC,CAAA;IACzC,OAAO,CAAC,UAAU,CAAa;IAE/B,gBAAgB,UAAQ;gBAGd,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,GAAG,EAAE,iBAAiB,EACtB,WAAW,EAAE,WAAW;IAGlC,cAAc,CAAC,IAAI,KAAA,EAAE,QAAQ,KAAA;IAyC7B,eAAe;IAQf,YAAY,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAShC,gBAAgB,CAAC,MAAM,EAAE,aAAa,GAAG,UAAU,EAAE;IAerD,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM;IAIlD,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM;IAIzC,iBAAiB,CAAC,IAAI,EAAE,aAAa;IAMrC,eAAe,CAAC,IAAI,EAAE,OAAO;IAI7B,YAAY,CAAC,IAAI,EAAE,OAAO;IAK1B,cAAc,CAAC,IAAI,EAAE,OAAO;IAK5B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,MAAM;IAI5C,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI;IAe9C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAIzC,0BAA0B,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa;yCA7JxD,qBAAqB;2CAArB,qBAAqB;CAgKjC"}
@@ -7,27 +7,29 @@ import * as i5 from "./record-preview-title/record-preview-title.component";
7
7
  import * as i6 from "./record-metric/record-metric.component";
8
8
  import * as i7 from "./results-list/results-list.component";
9
9
  import * as i8 from "./results-hits-number/results-hits-number.component";
10
- import * as i9 from "./results-list-item/results-list-item.component";
11
- import * as i10 from "./record-preview-feed/record-preview-feed.component";
12
- import * as i11 from "./record-preview-row/record-preview-row.component";
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/checkbox";
24
- import * as i23 from "@angular/router";
25
- import * as i24 from "../../../layout/src/lib/interactive-table/interactive-table.component";
26
- import * as i25 from "@ng-icons/core";
27
- import * as i26 from "../../../elements/src/lib/metadata-quality/metadata-quality.component";
10
+ import * as i9 from "./results-hits-search-kind/results-hits-search-kind.component";
11
+ import * as i10 from "./results-list-item/results-list-item.component";
12
+ import * as i11 from "./record-preview-feed/record-preview-feed.component";
13
+ import * as i12 from "./record-preview-row/record-preview-row.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/checkbox";
25
+ import * as i24 from "@angular/router";
26
+ import * as i25 from "../../../layout/src/lib/interactive-table/interactive-table.component";
27
+ import * as i26 from "@ng-icons/core";
28
+ import * as i27 from "../../../elements/src/lib/kind-badge/kind-badge.component";
29
+ import * as i28 from "../../../elements/src/lib/metadata-quality/metadata-quality.component";
28
30
  export declare class UiSearchModule {
29
31
  static ɵfac: i0.ɵɵFactoryDeclaration<UiSearchModule, never>;
30
- 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.MatCheckboxModule, typeof i23.RouterLink, typeof i24.InteractiveTableComponent, typeof i25.NgIconsModule, typeof i26.MetadataQualityComponent], [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]>;
32
+ 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.ResultsHitsSearchKindComponent, typeof i10.ResultsListItemComponent, typeof i11.RecordPreviewFeedComponent, typeof i12.RecordPreviewRowComponent], [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.MatCheckboxModule, typeof i24.RouterLink, typeof i25.InteractiveTableComponent, typeof i26.NgIconsModule, typeof i27.KindBadgeComponent, typeof i28.MetadataQualityComponent], [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 i9.ResultsHitsSearchKindComponent, typeof i11.RecordPreviewFeedComponent, typeof i12.RecordPreviewRowComponent]>;
31
33
  static ɵinj: i0.ɵɵInjectorDeclaration<UiSearchModule>;
32
34
  }
33
35
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,qBA0Da,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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,qBA6Da,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/app-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAElB,YAAY,EAEZ,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAA;AAS9F,wBAAgB,eAAe,IAAI,YAAY,CAG9C;AAID,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAID,wBAAgB,oBAAoB,IAAI,SAAS,GAAG,IAAI,CAEvD;AAID,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAE7D;AAGD,wBAAgB,wBAAwB,IAAI,qBAAqB,CAOhE;AAID,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAG1E;AAID,wBAAgB,aAAa,kBAsN5B;AAED,wBAAgB,cAAc,YAE7B;AAED,wBAAgB,MAAM,SAIrB;AAED,eAAO,MAAM,+BAA+B;;;;;;;2BAOK,UAAU;;;;CAM1D,CAAA"}
1
+ {"version":3,"file":"app-config.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/app-config.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,kBAAkB,EAElB,YAAY,EAEZ,SAAS,EACT,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,gCAAgC,EAAE,MAAM,6CAA6C,CAAA;AAS9F,wBAAgB,eAAe,IAAI,YAAY,CAG9C;AAID,wBAAgB,cAAc,IAAI,WAAW,CAG5C;AAID,wBAAgB,oBAAoB,IAAI,SAAS,GAAG,IAAI,CAEvD;AAID,wBAAgB,uBAAuB,IAAI,YAAY,GAAG,IAAI,CAE7D;AAGD,wBAAgB,wBAAwB,IAAI,qBAAqB,CAOhE;AAID,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,kBAAkB,CAG1E;AAID,wBAAgB,aAAa,kBAuN5B;AAED,wBAAgB,cAAc,YAE7B;AAED,wBAAgB,MAAM,SAIrB;AAED,eAAO,MAAM,+BAA+B;;;;;;;2BAOK,UAAU;;;;CAM1D,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,kBAAkB,cA8D9B,CAAA;AAED,eAAO,MAAM,+BAA+B,cAA6B,CAAA;AAEzE,eAAO,MAAM,uBAAuB,cAUnC,CAAA;AAED,eAAO,MAAM,gBAAgB,QAAO,SAwBlC,CAAA;AAEF,eAAO,MAAM,sBAAsB,cAIlC,CAAA;AAED,eAAO,MAAM,6BAA6B,cAMzC,CAAA;AAED,eAAO,MAAM,8BAA8B,cAa1C,CAAA;AAED,eAAO,MAAM,6BAA6B,cAmCzC,CAAA"}
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/app-config/src/lib/fixtures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnC,eAAO,MAAM,kBAAkB,cA+D9B,CAAA;AAED,eAAO,MAAM,+BAA+B,cAA6B,CAAA;AAEzE,eAAO,MAAM,uBAAuB,cAUnC,CAAA;AAED,eAAO,MAAM,gBAAgB,QAAO,SAwBlC,CAAA;AAEF,eAAO,MAAM,sBAAsB,cAIlC,CAAA;AAED,eAAO,MAAM,6BAA6B,cAMzC,CAAA;AAED,eAAO,MAAM,8BAA8B,cAa1C,CAAA;AAED,eAAO,MAAM,6BAA6B,cAmCzC,CAAA"}
@@ -3,4 +3,5 @@ export * from './lib/services';
3
3
  export * from './lib/utils';
4
4
  export * from './lib/links';
5
5
  export * from './lib/image-fallback.directive';
6
+ export * from './lib/gn-ui-version';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/shared/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gCAAgC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/util/shared/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const GEONETWORK_UI_VERSION: string;
2
+ export declare const GEONETWORK_UI_TAG_NAME: string;
3
+ //# sourceMappingURL=gn-ui-version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gn-ui-version.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/shared/src/lib/gn-ui-version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,QAAsB,CAAA;AAExD,eAAO,MAAM,sBAAsB,QAGJ,CAAA"}
@@ -1,4 +1,4 @@
1
- import { DatasetOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record';
1
+ import { DatasetOnlineResource, ServiceOnlineResource } from '../../../../../../libs/common/domain/src/lib/model/record';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare enum LinkUsage {
4
4
  API = "api",
@@ -10,8 +10,8 @@ export declare enum LinkUsage {
10
10
  UNKNOWN = "unknown"
11
11
  }
12
12
  export declare class LinkClassifierService {
13
- getUsagesForLink(link: DatasetOnlineResource): LinkUsage[];
14
- hasUsage(link: DatasetOnlineResource, usage: LinkUsage): boolean;
13
+ getUsagesForLink(link: DatasetOnlineResource | ServiceOnlineResource): LinkUsage[];
14
+ hasUsage(link: DatasetOnlineResource | ServiceOnlineResource, usage: LinkUsage): boolean;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LinkClassifierService, never>;
16
16
  static ɵprov: i0.ɵɵInjectableDeclaration<LinkClassifierService>;
17
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"link-classifier.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-classifier.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,2DAA2D,CAAA;;AAGjG,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,OAAO,WAAW;IAClB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,OAAO,YAAY;CACpB;AAED,qBAGa,qBAAqB;IAChC,gBAAgB,CAAC,IAAI,EAAE,qBAAqB,GAAG,SAAS,EAAE;IAsC1D,QAAQ,CAAC,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,SAAS;yCAvC3C,qBAAqB;6CAArB,qBAAqB;CA0CjC"}
1
+ {"version":3,"file":"link-classifier.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-classifier.service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2DAA2D,CAAA;;AAGlE,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,OAAO,WAAW;IAClB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,OAAO,YAAY;CACpB;AAED,qBAGa,qBAAqB;IAChC,gBAAgB,CACd,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,SAAS,EAAE;IAuCd,QAAQ,CACN,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,SAAS;yCA5CP,qBAAqB;6CAArB,qBAAqB;CAgDjC"}
@@ -1,112 +1,119 @@
1
- import { DatasetOnlineResource, ServiceProtocol } from '../../../../../../libs/common/domain/src/lib/model/record';
1
+ import { DatasetOnlineResource, ServiceOnlineResource, ServiceProtocol } from '../../../../../../libs/common/domain/src/lib/model/record';
2
2
  export declare const FORMATS: {
3
3
  readonly csv: {
4
4
  readonly extensions: readonly ["csv"];
5
5
  readonly priority: 1;
6
- readonly color: "#a6d6c0";
6
+ readonly color: "#F6A924";
7
7
  readonly mimeTypes: readonly ["text/csv", "application/csv"];
8
8
  };
9
9
  readonly excel: {
10
10
  readonly extensions: readonly ["excel", "xls", "xlsx", "ms-excel", "openxmlformats-officedocument"];
11
11
  readonly priority: 2;
12
- readonly color: "#acc5e4";
12
+ readonly color: "#FFDE10";
13
13
  readonly mimeTypes: readonly ["application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
14
14
  };
15
15
  readonly geojson: {
16
16
  readonly extensions: readonly ["geojson"];
17
17
  readonly priority: 3;
18
- readonly color: "#b3cde8";
18
+ readonly color: "#293C6F";
19
19
  readonly mimeTypes: readonly ["application/geo+json", "application/vnd.geo+json"];
20
20
  };
21
21
  readonly json: {
22
22
  readonly extensions: readonly ["json"];
23
23
  readonly priority: 3;
24
- readonly color: "#b3cde8";
24
+ readonly color: "#84D0F0";
25
25
  readonly mimeTypes: readonly ["application/json"];
26
26
  };
27
27
  readonly shp: {
28
28
  readonly extensions: readonly ["shp", "shape", "zipped-shapefile"];
29
29
  readonly priority: 4;
30
- readonly color: "#b2d8ba";
30
+ readonly color: "#009036";
31
31
  readonly mimeTypes: readonly ["x-gis/x-shapefile"];
32
32
  };
33
33
  readonly gml: {
34
34
  readonly extensions: readonly ["gml"];
35
35
  readonly priority: 5;
36
- readonly color: "#e3b3e5";
36
+ readonly color: "#E75113";
37
37
  readonly mimeTypes: readonly ["application/gml+xml", "text/xml; subtype=gml"];
38
38
  };
39
39
  readonly kml: {
40
40
  readonly extensions: readonly ["kml", "kmz"];
41
41
  readonly priority: 6;
42
- readonly color: "#c1e6a0";
42
+ readonly color: "#F4B5D0";
43
43
  readonly mimeTypes: readonly ["application/vnd.google-earth.kml+xml", "application/vnd.google-earth.kmz"];
44
44
  };
45
45
  readonly gpkg: {
46
46
  readonly extensions: readonly ["gpkg", "geopackage"];
47
47
  readonly priority: 7;
48
- readonly color: "#f7cce6";
48
+ readonly color: "#7D5D9F";
49
49
  readonly mimeTypes: readonly ["application/geopackage+sqlite3"];
50
50
  };
51
51
  readonly zip: {
52
52
  readonly extensions: readonly ["zip", "tar.gz"];
53
53
  readonly priority: 8;
54
- readonly color: "#ffe7a3";
54
+ readonly color: "#B0CB52";
55
55
  readonly mimeTypes: readonly ["application/zip", "application/x-zip"];
56
56
  };
57
57
  readonly pdf: {
58
58
  readonly extensions: readonly ["pdf"];
59
59
  readonly priority: 9;
60
- readonly color: "#f5b2a3";
60
+ readonly color: "#49579E";
61
61
  readonly mimeTypes: readonly ["application/pdf"];
62
62
  };
63
63
  readonly jpg: {
64
64
  readonly extensions: readonly ["jpg", "jpeg", "jfif", "pjpeg", "pjp"];
65
65
  readonly priority: 9;
66
- readonly color: "#d1c1e9";
66
+ readonly color: "#C4A98F";
67
67
  readonly mimeTypes: readonly ["image/jpg"];
68
68
  };
69
69
  readonly svg: {
70
70
  readonly extensions: readonly ["svg"];
71
71
  readonly priority: 10;
72
- readonly color: "#f3c1c9";
72
+ readonly color: "#EB6D82";
73
73
  readonly mimeTypes: readonly ["image/svg+xml"];
74
74
  };
75
75
  readonly dxf: {
76
76
  readonly extensions: readonly ["dxf"];
77
77
  readonly priority: 11;
78
- readonly color: "#f6ceac";
78
+ readonly color: "#DCCD00";
79
79
  readonly mimeTypes: readonly ["application/x-dxf", "image/x-dxf"];
80
80
  };
81
81
  readonly html: {
82
82
  readonly extensions: readonly ["html", "htm"];
83
83
  readonly priority: 12;
84
- readonly color: "#FFF2CC";
84
+ readonly color: "#C0C9B6";
85
85
  readonly mimeTypes: readonly ["text/html"];
86
86
  };
87
87
  readonly fgb: {
88
88
  readonly extensions: readonly ["fgb", "flatgeobuf"];
89
89
  readonly priority: 13;
90
- readonly color: "#ffe7a3";
90
+ readonly color: "#A8111C";
91
91
  readonly mimeTypes: readonly ["application/flatgeobuf"];
92
92
  };
93
93
  readonly jsonfg: {
94
94
  readonly extensions: readonly ["jsonfg", "jsonfgc"];
95
95
  readonly priority: 14;
96
- readonly color: "#ffe7a3";
96
+ readonly color: "#009EE0";
97
97
  readonly mimeTypes: readonly ["application/vnd.ogc.fg+json", "application/vnd.ogc.fg+json;compatibility=geojson"];
98
98
  };
99
99
  };
100
100
  export type FileFormat = keyof typeof FORMATS;
101
101
  export declare function getFormatPriority(linkFormat: FileFormat): number;
102
- export declare function getLinkPriority(link: DatasetOnlineResource): number;
102
+ export declare function getLinkPriority(link: DatasetOnlineResource | ServiceOnlineResource): number;
103
103
  export declare function getFileFormatFromServiceOutput(serviceOutput: string): FileFormat | null;
104
- export declare function getFileFormat(link: DatasetOnlineResource): FileFormat;
105
- export declare function isFormatInQueryParam(link: DatasetOnlineResource, alias: string): boolean;
104
+ export declare function getFileFormat(link: DatasetOnlineResource | ServiceOnlineResource): FileFormat;
105
+ export declare function isFormatInQueryParam(link: DatasetOnlineResource | ServiceOnlineResource, alias: string): boolean;
106
106
  export declare function mimeTypeToFormat(mimeType: string): FileFormat;
107
- export declare function checkFileFormat(link: DatasetOnlineResource, format: FileFormat): boolean;
107
+ export declare function checkFileFormat(link: DatasetOnlineResource | ServiceOnlineResource, format: FileFormat): boolean;
108
108
  export declare function getBadgeColor(linkFormat: FileFormat): string;
109
- export declare function getLinkLabel(link: DatasetOnlineResource): string;
110
- export declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<any[]>;
109
+ export declare function getLinkLabel(link: DatasetOnlineResource | ServiceOnlineResource): string;
110
+ export declare function getLayers(url: string, serviceProtocol: ServiceProtocol): Promise<{
111
+ name: string;
112
+ hasRecords?: boolean;
113
+ hasFeatures?: boolean;
114
+ hasVectorTiles?: boolean;
115
+ hasMapTiles?: boolean;
116
+ }[] | import("@camptocamp/ogc-client").WfsFeatureTypeFull[] | import("@camptocamp/ogc-client").WmsLayerFull[] | import("@camptocamp/ogc-client").WmtsLayer[]>;
117
+ export declare function wmsLayerFlatten(layerFull: any): any[];
111
118
  export declare function getMimeTypeForFormat(format: FileFormat): string | null;
112
119
  //# sourceMappingURL=link-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,eAAe,EAChB,MAAM,2DAA2D,CAAA;AAUlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CAEnE;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,qBAAqB,GAAG,UAAU,CAcrE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,qBAAqB,EAC3B,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,EAC3B,MAAM,EAAE,UAAU,GACjB,OAAO,CAMT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CA0BhE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe,kBAwB5E;AAcD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
1
+ {"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EAChB,MAAM,2DAA2D,CAAA;AAUlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,MAAM,CAER;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAC3B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,UAAU,CAcZ;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,MAAM,EAAE,UAAU,GACjB,OAAO,CAQT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAC1B,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,GAClD,MAAM,CA0BR;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,eAAe,EAAE,eAAe;;;;;;8JAmC5E;AAED,wBAAgB,eAAe,CAAC,SAAS,KAAA,SAUxC;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geonetwork-ui",
3
- "version": "2.6.0-dev.502fa026d",
3
+ "version": "2.6.0-dev.70b25ba3b",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -5,3 +5,4 @@ export * from './lib/gn4'
5
5
  export * from './lib/dcat-ap'
6
6
  export * from './lib/xml-utils'
7
7
  export * from './lib/base.converter'
8
+ export * from './lib/common/resource-types'
@@ -1,7 +1,4 @@
1
- import {
2
- CatalogRecord,
3
- DatasetRecord,
4
- } from '../../../../../libs/common/domain/src/lib/model/record'
1
+ import { CatalogRecord } from '../../../../../libs/common/domain/src/lib/model/record'
5
2
 
6
3
  export class MetadataMapperContext {
7
4
  readonly location?
@@ -4,23 +4,37 @@ import {
4
4
  ReuseType,
5
5
  } from '../../../../../../libs/common/domain/src/lib/model/record'
6
6
 
7
- export function getResourceType(type: string): RecordKind {
8
- const possibleResourceTypes = {
9
- application: 'reuse',
10
- dataset: 'dataset',
11
- map: 'reuse',
12
- 'map/static': 'reuse', // old index field
13
- 'map/interactive': 'reuse', // old index field
14
- 'map-interactive': 'reuse', // new index field since Oct 10, 2024
15
- 'map-static': 'reuse', // new index field
16
- mapDigital: 'reuse',
17
- interactiveMap: 'reuse',
18
- staticMap: 'reuse',
19
- service: 'service',
20
- } as const
7
+ export const PossibleResourceTypes = {
8
+ application: 'reuse',
9
+ dataset: 'dataset',
10
+ interactiveMap: 'reuse',
11
+ map: 'reuse',
12
+ 'map/static': 'reuse', // old index field
13
+ 'map/interactive': 'reuse', // old index field
14
+ 'map-interactive': 'reuse', // new index field since Oct 10, 2024
15
+ 'map-static': 'reuse', // new index field
16
+ mapDigital: 'reuse',
17
+ series: 'dataset',
18
+ service: 'service',
19
+ staticMap: 'reuse',
20
+ } as const
21
+
22
+ type KindType = keyof typeof PossibleResourceTypes
23
+ type ResourceType = 'reuse' | 'dataset' | 'service'
24
+ type PossibleResourceTypesGrouped = {
25
+ [K in ResourceType]: KindType[]
26
+ }
27
+
28
+ export const PossibleResourceTypesDefinition = Object.entries(
29
+ PossibleResourceTypes
30
+ ).reduce(
31
+ (acc, [key, val]) => ((acc[val] ??= []).push(key), acc),
32
+ {}
33
+ ) as PossibleResourceTypesGrouped
21
34
 
35
+ export function getResourceType(type: string): RecordKind {
22
36
  return (
23
- possibleResourceTypes[type as keyof typeof possibleResourceTypes] ||
37
+ PossibleResourceTypes[type as keyof typeof PossibleResourceTypes] ||
24
38
  'dataset'
25
39
  )
26
40
  }
@@ -174,10 +174,10 @@ export const GEO2FRANCE_SERVICE_EAUXUSEES_RECORD: ServiceRecord = {
174
174
  onlineResources: [
175
175
  {
176
176
  type: 'endpoint',
177
- endpointUrl: new URL(
177
+ url: new URL(
178
178
  'https://services.sandre.eaufrance.fr/geo/odp?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities'
179
179
  ),
180
- protocol: 'wfs',
180
+ accessServiceProtocol: 'wfs',
181
181
  description:
182
182
  'Ouvrages de dépollution - Système de traitement des eaux usées - France entière',
183
183
  translations: {},
@@ -772,10 +772,10 @@ export const GEOCAT_CH_SERVICE_RECORD: ServiceRecord = {
772
772
  },
773
773
  {
774
774
  type: 'endpoint',
775
- endpointUrl: new URL(
775
+ url: new URL(
776
776
  'https://services.geo.sg.ch/wss/service/SG00170_WMS/guest?request=GetCapabilities&service=WMS'
777
777
  ),
778
- protocol: 'wms',
778
+ accessServiceProtocol: 'wms',
779
779
  description:
780
780
  'https://services.geo.sg.ch/wss/service/SG00170_WMS/guest?request=GetCapabilities&service=WMS',
781
781
  translations: {
@@ -629,10 +629,10 @@ export const METAWAL_SERVICE_RECORD: ServiceRecord = {
629
629
  {
630
630
  description:
631
631
  'Ce service ESRI-REST permet de visualiser la couche de données "Plan parcellaire cadastral - situation 01/01/2016" (uniquement les données du bâti et le parcellaire)',
632
- endpointUrl: new URL(
632
+ url: new URL(
633
633
  'https://geoservices.wallonie.be/arcgis/rest/services/PLAN_REGLEMENT/CADMAP_2016_PARCELLES/MapServer'
634
634
  ),
635
- protocol: 'esriRest',
635
+ accessServiceProtocol: 'esriRest',
636
636
  type: 'endpoint',
637
637
  translations: {},
638
638
  },
@@ -274,10 +274,10 @@ export const WALLONIE_SERVICE_NAPITSWALLONIA_RECORD: ServiceRecord = {
274
274
  onlineResources: [
275
275
  {
276
276
  type: 'endpoint',
277
- endpointUrl: new URL(
277
+ url: new URL(
278
278
  'https://metawal.wallonie.be/geonetwork/api/collections/napits'
279
279
  ),
280
- protocol: 'other',
280
+ accessServiceProtocol: 'other',
281
281
  description: "Point d'accès OGC API Records pour NAP-ITS-Wallonia.",
282
282
  translations: {},
283
283
  },
@@ -460,6 +460,11 @@ export class Gn4FieldMapper {
460
460
  ),
461
461
  selectField<string>(sourceLink, 'description')
462
462
  )
463
+ const descriptionLink = selectField<object>(sourceLink, 'descriptionObject')
464
+ const accessRestricted =
465
+ descriptionLink &&
466
+ 'link' in descriptionLink &&
467
+ descriptionLink.link.toString().includes('#MD_RestrictionCode_restricted')
463
468
  // no url: fail early
464
469
  if (url === null) {
465
470
  // TODO: collect errors at the record level?
@@ -485,6 +490,7 @@ export class Gn4FieldMapper {
485
490
  type,
486
491
  url: url,
487
492
  accessServiceProtocol,
493
+ accessRestricted: accessRestricted,
488
494
  }
489
495
  case 'link':
490
496
  return {
@@ -503,8 +509,8 @@ export class Gn4FieldMapper {
503
509
  return {
504
510
  ...distribution,
505
511
  type,
506
- endpointUrl: url,
507
- protocol: accessServiceProtocol,
512
+ url: url,
513
+ accessServiceProtocol: accessServiceProtocol,
508
514
  }
509
515
  }
510
516
  }
@@ -965,8 +965,8 @@ export function extractServiceOnlineResources(): ChainableFunction<
965
965
  } else {
966
966
  return {
967
967
  type: 'endpoint',
968
- endpointUrl: url,
969
- protocol,
968
+ url: url,
969
+ accessServiceProtocol: protocol,
970
970
  ...(description && { description }),
971
971
  translations,
972
972
  }