geonetwork-ui 2.6.0-dev.9df114cd4 → 2.6.0-dev.a0bd52a21

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 (504) 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/distribution.mapper.mjs +3 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +42 -6
  6. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +8 -4
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +5 -2
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
  11. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +3 -1
  12. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -12
  13. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
  14. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
  15. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +7 -1
  16. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  17. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  18. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  19. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +45 -9
  20. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  21. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +32 -2
  22. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +25 -6
  23. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  24. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +273 -0
  25. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +2 -3
  26. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +1 -1
  27. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +5 -5
  28. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +1 -1
  29. package/esm2022/libs/feature/record/src/index.mjs +2 -4
  30. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +3 -3
  31. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +5 -9
  32. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +3 -3
  33. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +7 -11
  34. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +6 -3
  35. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +33 -7
  36. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
  37. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  38. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +14 -5
  39. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -15
  40. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  41. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  42. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
  43. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  44. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
  45. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
  46. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  47. package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
  48. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
  49. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +13 -19
  50. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +5 -3
  51. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
  52. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +41 -0
  53. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +30 -10
  54. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  55. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +70 -1
  56. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  57. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
  58. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  59. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +11 -6
  60. package/esm2022/libs/ui/elements/src/index.mjs +5 -1
  61. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -3
  62. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +3 -3
  63. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +18 -7
  64. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +55 -0
  65. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  66. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +42 -83
  67. package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +59 -0
  68. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +68 -0
  69. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +3 -3
  70. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +3 -3
  71. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
  72. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +8 -5
  73. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +37 -12
  74. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +5 -1
  75. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +72 -0
  76. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +17 -7
  77. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +169 -0
  78. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +26 -4
  79. package/esm2022/libs/ui/inputs/src/index.mjs +3 -1
  80. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +3 -3
  81. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  82. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +3 -3
  83. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +3 -3
  84. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +42 -0
  85. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  86. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +68 -0
  87. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +3 -3
  88. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -9
  89. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  90. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +48 -11
  91. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  92. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  93. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  94. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +25 -3
  95. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +3 -3
  96. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  97. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +73 -0
  98. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +4 -12
  99. package/esm2022/libs/ui/map/src/index.mjs +2 -1
  100. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  101. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +80 -0
  102. package/esm2022/libs/ui/search/src/index.mjs +3 -1
  103. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -8
  104. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  105. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  106. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  107. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  108. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +21 -12
  109. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +39 -17
  110. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +19 -5
  111. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  112. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +2 -1
  113. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  114. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +42 -1
  115. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +24 -2
  116. package/esm2022/libs/util/shared/src/index.mjs +2 -1
  117. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
  118. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +5 -1
  119. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +16 -6
  120. package/esm2022/translations/de.json +75 -8
  121. package/esm2022/translations/en.json +77 -10
  122. package/esm2022/translations/es.json +74 -7
  123. package/esm2022/translations/fr.json +76 -9
  124. package/esm2022/translations/it.json +81 -14
  125. package/esm2022/translations/nl.json +74 -7
  126. package/esm2022/translations/pt.json +74 -7
  127. package/fesm2022/geonetwork-ui.mjs +3585 -1487
  128. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  129. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  130. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  131. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
  132. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  133. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  134. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  135. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  136. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  137. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  138. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  139. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  140. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  141. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  142. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  143. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  144. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +1 -1
  145. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  146. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +13 -2
  147. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  148. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  149. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +2 -0
  150. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  151. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  152. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  153. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +23 -17
  154. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  155. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +6 -0
  156. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  157. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +12 -8
  158. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  159. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +1 -0
  160. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  161. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +5 -2
  162. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  163. package/libs/feature/editor/src/index.d.ts +1 -0
  164. package/libs/feature/editor/src/index.d.ts.map +1 -1
  165. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
  166. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  167. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  168. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +6 -6
  169. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  170. 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
  171. package/libs/feature/record/src/index.d.ts +1 -3
  172. package/libs/feature/record/src/index.d.ts.map +1 -1
  173. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +9 -1
  174. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  175. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
  176. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  177. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
  178. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  179. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  180. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  181. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  182. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
  183. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +10 -0
  184. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  185. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -1
  186. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  187. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +28 -21
  188. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  189. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +2 -0
  190. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  191. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +2 -0
  192. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  193. package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
  194. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  195. package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
  196. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  197. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  198. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
  199. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  200. package/libs/feature/search/src/index.d.ts +1 -1
  201. package/libs/feature/search/src/index.d.ts.map +1 -1
  202. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  203. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  204. package/libs/feature/search/src/lib/feature-search.module.d.ts +4 -2
  205. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  206. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  207. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  208. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -1
  209. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
  210. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +21 -0
  211. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  212. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
  213. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  214. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  215. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  216. package/libs/feature/search/src/lib/utils/service/fields.d.ts +21 -0
  217. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  218. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  219. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  220. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  221. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  222. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  223. package/libs/ui/elements/src/index.d.ts +4 -0
  224. package/libs/ui/elements/src/index.d.ts.map +1 -1
  225. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  226. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  227. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  228. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  229. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  230. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  231. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +6 -13
  232. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
  233. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
  234. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
  235. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +13 -0
  236. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  237. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +1 -1
  238. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  239. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
  240. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  241. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
  242. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  243. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  244. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
  245. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  246. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +8 -1
  247. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  248. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +31 -0
  249. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
  250. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +5 -1
  251. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  252. package/libs/ui/inputs/src/index.d.ts +2 -0
  253. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  254. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  255. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  256. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  257. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  258. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  259. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  260. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  261. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  262. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +25 -24
  263. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  264. package/libs/ui/layout/src/index.d.ts +2 -0
  265. package/libs/ui/layout/src/index.d.ts.map +1 -1
  266. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +9 -2
  267. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  268. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  269. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  270. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  271. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  272. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +5 -1
  273. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  274. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
  275. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  276. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  277. package/libs/ui/map/src/index.d.ts +1 -0
  278. package/libs/ui/map/src/index.d.ts.map +1 -1
  279. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  280. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  281. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
  282. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
  283. package/libs/ui/search/src/index.d.ts +2 -0
  284. package/libs/ui/search/src/index.d.ts.map +1 -1
  285. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  286. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  287. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  288. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  289. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  290. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  291. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  292. package/libs/ui/search/src/lib/ui-search.module.d.ts +22 -19
  293. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  294. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  295. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  296. package/libs/util/i18n/src/lib/i18n.constants.d.ts +1 -0
  297. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  298. package/libs/util/i18n/src/lib/language-codes.d.ts +23 -1
  299. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  300. package/libs/util/shared/src/index.d.ts +1 -0
  301. package/libs/util/shared/src/index.d.ts.map +1 -1
  302. package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
  303. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
  304. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  305. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  306. package/libs/util/shared/src/lib/links/link-utils.d.ts +14 -7
  307. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  308. package/package.json +2 -2
  309. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  310. package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
  311. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  312. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  313. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
  314. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +3 -3
  315. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
  316. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
  317. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +64 -6
  318. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  319. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +13 -3
  320. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +5 -1
  321. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +10 -6
  322. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +7 -4
  323. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +2 -0
  324. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +3 -11
  325. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +118 -16
  326. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
  327. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +11 -0
  328. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  329. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +24 -11
  330. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +6 -0
  331. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +36 -26
  332. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +16 -2
  333. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
  334. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +64 -1
  335. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  336. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +54 -10
  337. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +37 -0
  338. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  339. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +27 -1
  340. package/src/libs/feature/editor/src/index.ts +1 -0
  341. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +120 -0
  342. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +325 -0
  343. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +1 -2
  344. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +2 -2
  345. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +2 -2
  346. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  347. package/src/libs/feature/record/src/index.ts +1 -3
  348. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +16 -10
  349. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -3
  350. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  351. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +4 -5
  352. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  353. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +1 -0
  354. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +25 -16
  355. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +35 -4
  356. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
  357. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +10 -0
  358. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +27 -3
  359. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +21 -17
  360. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +12 -0
  361. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  362. package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
  363. package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
  364. package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
  365. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
  366. package/src/libs/feature/search/src/index.ts +1 -1
  367. package/src/libs/feature/search/src/lib/constants.ts +3 -1
  368. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -2
  369. package/src/libs/feature/search/src/lib/feature-search.module.ts +9 -10
  370. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  371. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +1 -0
  372. package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
  373. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.css +0 -0
  374. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +16 -0
  375. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +59 -0
  376. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
  377. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +26 -5
  378. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  379. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  380. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  381. package/src/libs/feature/search/src/lib/utils/service/fields.ts +99 -0
  382. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  383. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  384. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  385. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +5 -4
  386. package/src/libs/ui/elements/src/index.ts +4 -0
  387. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  388. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  389. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  390. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +38 -7
  391. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +29 -2
  392. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  393. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  394. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  395. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  396. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +68 -141
  397. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +38 -97
  398. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
  399. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
  400. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  401. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +11 -0
  402. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +70 -0
  403. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +5 -2
  404. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -7
  405. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  406. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  407. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
  408. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +24 -7
  409. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +12 -4
  410. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +2 -3
  411. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +48 -9
  412. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +4 -0
  413. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
  414. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +83 -0
  415. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +8 -29
  416. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +14 -1
  417. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
  418. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +110 -0
  419. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +191 -0
  420. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +11 -1
  421. package/src/libs/ui/inputs/src/index.ts +2 -0
  422. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +1 -1
  423. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  424. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  425. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  426. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  427. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +44 -0
  428. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  429. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  430. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  431. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +77 -0
  432. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +3 -4
  433. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -3
  434. package/src/libs/ui/layout/src/index.ts +2 -0
  435. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  436. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -2
  437. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +43 -5
  438. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  439. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  440. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  441. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  442. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  443. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  444. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +4 -7
  445. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +20 -0
  446. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  447. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  448. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  449. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
  450. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +91 -0
  451. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +2 -6
  452. package/src/libs/ui/map/src/index.ts +1 -0
  453. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  454. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  455. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
  456. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
  457. 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} +8 -8
  458. package/src/libs/ui/search/src/index.ts +2 -0
  459. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  460. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  461. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
  462. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  463. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  464. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  465. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  466. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  467. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +15 -11
  468. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  469. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +31 -24
  470. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +33 -14
  471. package/src/libs/ui/search/src/lib/ui-search.module.ts +8 -0
  472. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +2 -1
  473. package/src/libs/util/app-config/src/lib/app-config.ts +1 -0
  474. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  475. package/src/libs/util/i18n/src/lib/i18n.constants.ts +42 -0
  476. package/src/libs/util/i18n/src/lib/language-codes.ts +23 -1
  477. package/src/libs/util/shared/src/index.ts +1 -0
  478. package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
  479. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +15 -3
  480. package/src/libs/util/shared/src/lib/links/link-utils.ts +33 -12
  481. package/tailwind.base.config.js +3 -0
  482. package/tailwind.base.css +5 -17
  483. package/translations/de.json +75 -8
  484. package/translations/en.json +77 -10
  485. package/translations/es.json +74 -7
  486. package/translations/fr.json +76 -9
  487. package/translations/it.json +81 -14
  488. package/translations/nl.json +74 -7
  489. package/translations/pt.json +74 -7
  490. package/translations/sk.json +74 -7
  491. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
  492. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
  493. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  494. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
  495. 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
  496. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
  497. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
  498. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  499. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  500. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
  501. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
  502. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  503. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  504. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-map-container/form-field-map-container.component.css → multilingual-panel/multilingual-panel.component.css} +0 -0
@@ -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-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-list/results-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAIZ,WAAW,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,uBAAuB,EACxB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,oBAAoB;IACtB,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,YAAY,EAAE,uBAAuB,CACP;IAC9B,gBAAgB,EAAE,WAAW,CAAC;QAAE,SAAS,EAAE,aAAa,CAAA;KAAE,CAAC,CAAA;IAC3D,eAAe,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAAA;IAClD,sBAAsB,EAAE,OAAO,CAAA;IAC9B,QAAQ,8BAAoC;yCAP3C,oBAAoB;2CAApB,oBAAoB;CAQhC"}
1
+ {"version":3,"file":"results-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-list/results-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGZ,WAAW,EACZ,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,uBAAuB,EACxB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,2DAA2D,CAAA;;AAEzF,qBAMa,oBAAoB;IACtB,OAAO,EAAE,aAAa,EAAE,CAAA;IACxB,YAAY,EAAE,uBAAuB,CACP;IAC9B,gBAAgB,EAAE,WAAW,CAAC;QAAE,SAAS,EAAE,aAAa,CAAA;KAAE,CAAC,CAAA;IAC3D,eAAe,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,MAAM,CAAA;IAClD,sBAAsB,EAAE,OAAO,CAAA;IAC9B,QAAQ,8BAAoC;yCAP3C,oBAAoB;2CAApB,oBAAoB;CAQhC"}
@@ -7,20 +7,21 @@ export declare class ActionMenuComponent {
7
7
  dialog: MatDialog;
8
8
  private cdr;
9
9
  canDuplicate: boolean;
10
+ isDuplicating: boolean;
10
11
  canDelete: boolean;
11
- isDraftPage: boolean;
12
+ page: 'draft' | 'main' | 'record';
12
13
  duplicate: EventEmitter<void>;
13
14
  delete: EventEmitter<void>;
14
15
  closeActionMenu: EventEmitter<void>;
15
16
  rollback: EventEmitter<void>;
17
+ switch: EventEmitter<void>;
16
18
  trigger: MatMenuTrigger;
17
19
  sectionDisplayed: ActionMenuPage;
18
20
  constructor(dialog: MatDialog, cdr: ChangeDetectorRef);
19
- openMenu(): void;
20
21
  displayMainMenu(): void;
21
22
  displayDeleteMenu(): void;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ActionMenuComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, { "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "isDraftPage": { "alias": "isDraftPage"; "required": false; }; }, { "duplicate": "duplicate"; "delete": "delete"; "closeActionMenu": "closeActionMenu"; "rollback": "rollback"; }, never, never, true, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionMenuComponent, "gn-ui-action-menu", never, { "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "isDuplicating": { "alias": "isDuplicating"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "page": { "alias": "page"; "required": false; }; }, { "duplicate": "duplicate"; "delete": "delete"; "closeActionMenu": "closeActionMenu"; "rollback": "rollback"; "switch": "switch"; }, never, never, true, never>;
24
25
  }
25
26
  export {};
26
27
  //# sourceMappingURL=action-menu.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAA;AACrE,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;;AAKtE,KAAK,cAAc,GAAG,UAAU,GAAG,YAAY,GAAG,cAAc,CAAA;AAEhE,qBAca,mBAAmB;IAcrB,MAAM,EAAE,SAAS;IACxB,OAAO,CAAC,GAAG;IAdJ,YAAY,EAAE,OAAO,CAAA;IACrB,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;IACnB,SAAS,qBAA2B;IACpC,MAAM,qBAA2B;IACjC,eAAe,qBAA2B;IAC1C,QAAQ,qBAA2B;IAElB,OAAO,EAAE,cAAc,CAAA;IAElD,gBAAgB,EAAE,cAAc,CAAa;gBAGpC,MAAM,EAAE,SAAS,EAChB,GAAG,EAAE,iBAAiB;IAGhC,QAAQ;IAIR,eAAe;IAKf,iBAAiB;yCA3BN,mBAAmB;2CAAnB,mBAAmB;CAmC/B"}
1
+ {"version":3,"file":"action-menu.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAA;AACrE,OAAO,EAAiB,cAAc,EAAE,MAAM,wBAAwB,CAAA;;AAKtE,KAAK,cAAc,GAAG,UAAU,GAAG,YAAY,GAAG,cAAc,CAAA;AAEhE,qBAca,mBAAmB;IAgBrB,MAAM,EAAE,SAAS;IACxB,OAAO,CAAC,GAAG;IAhBJ,YAAY,UAAO;IACnB,aAAa,EAAE,OAAO,CAAA;IACtB,SAAS,UAAO;IAChB,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;IAChC,SAAS,qBAA2B;IACpC,MAAM,qBAA2B;IACjC,eAAe,qBAA2B;IAC1C,QAAQ,qBAA2B;IACnC,MAAM,qBAA2B;IAEhB,OAAO,EAAE,cAAc,CAAA;IAElD,gBAAgB,EAAE,cAAc,CAAa;gBAGpC,MAAM,EAAE,SAAS,EAChB,GAAG,EAAE,iBAAiB;IAGhC,eAAe;IAKf,iBAAiB;yCAzBN,mBAAmB;2CAAnB,mBAAmB;CAuC/B"}
@@ -2,19 +2,23 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, QueryList, ViewContainerRe
2
2
  import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record';
3
3
  import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search';
4
4
  import { DateService, FileFormat } from '../../../../../../libs/util/shared/src';
5
+ import { TranslateService } from '@ngx-translate/core';
5
6
  import { Overlay } from '@angular/cdk/overlay';
7
+ import { Observable } from 'rxjs';
6
8
  import * as i0 from "@angular/core";
7
9
  export declare class ResultsTableComponent {
8
10
  private overlay;
9
11
  private viewContainerRef;
10
12
  private cdr;
11
13
  private dateService;
14
+ private translateService;
12
15
  records: CatalogRecord[];
13
16
  selectedRecordsIdentifiers: string[];
14
17
  sortOrder: SortByField;
15
18
  hasDraft: (record: CatalogRecord) => boolean;
16
19
  canDuplicate: (record: CatalogRecord) => boolean;
17
- canDelete: (record: CatalogRecord) => boolean;
20
+ canDelete: (record: CatalogRecord) => Observable<boolean>;
21
+ canEdit: (record: CatalogRecord) => Observable<boolean>;
18
22
  isDraftPage: boolean;
19
23
  isDuplicating: boolean;
20
24
  sortByChange: EventEmitter<[string, "desc" | "asc"]>;
@@ -26,14 +30,14 @@ export declare class ResultsTableComponent {
26
30
  actionMenuButtons: QueryList<ElementRef>;
27
31
  private overlayRef;
28
32
  isActionMenuOpen: boolean;
29
- constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, dateService: DateService);
33
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, dateService: DateService, translateService: TranslateService);
30
34
  openActionMenu(item: any, template: any): void;
31
35
  closeActionMenu(): void;
32
36
  dateToString(date: Date): string;
33
37
  getRecordFormats(record: CatalogRecord): FileFormat[];
34
38
  formatUserInfo(userInfo: string | unknown): string;
35
39
  getBadgeColor(format: FileFormat): string;
36
- handleRecordClick(item: CatalogRecord): void;
40
+ handleRecordClick(item: unknown): void;
37
41
  handleDuplicate(item: unknown): void;
38
42
  handleDelete(item: unknown): void;
39
43
  handleRollback(item: unknown): void;
@@ -41,7 +45,9 @@ export declare class ResultsTableComponent {
41
45
  isSortedBy(col: string): 'desc' | 'asc' | null;
42
46
  isChecked(record: CatalogRecord): boolean;
43
47
  handleRecordSelectedChange(selected: boolean, record: CatalogRecord): void;
48
+ isMultilingual(record: CatalogRecord): boolean;
49
+ getTxtHoverMultilingual(record: CatalogRecord): any;
44
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ResultsTableComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "hasDraft": { "alias": "hasDraft"; "required": false; }; "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "isDraftPage": { "alias": "isDraftPage"; "required": false; }; "isDuplicating": { "alias": "isDuplicating"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "deleteRecord": "deleteRecord"; "rollbackDraft": "rollbackDraft"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ResultsTableComponent, "gn-ui-results-table", never, { "records": { "alias": "records"; "required": false; }; "selectedRecordsIdentifiers": { "alias": "selectedRecordsIdentifiers"; "required": false; }; "sortOrder": { "alias": "sortOrder"; "required": false; }; "hasDraft": { "alias": "hasDraft"; "required": false; }; "canDuplicate": { "alias": "canDuplicate"; "required": false; }; "canDelete": { "alias": "canDelete"; "required": false; }; "canEdit": { "alias": "canEdit"; "required": false; }; "isDraftPage": { "alias": "isDraftPage"; "required": false; }; "isDuplicating": { "alias": "isDuplicating"; "required": false; }; }, { "sortByChange": "sortByChange"; "recordClick": "recordClick"; "duplicateRecord": "duplicateRecord"; "deleteRecord": "deleteRecord"; "rollbackDraft": "rollbackDraft"; "recordsSelectedChange": "recordsSelectedChange"; }, never, never, true, never>;
46
52
  }
47
53
  //# sourceMappingURL=results-table.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"results-table.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/search/src/lib/results-table/results-table.component.ts"],"names":[],"mappings":"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;AAC/C,OAAO,EAAmB,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAIvE,OAAO,EAAoB,OAAO,EAAc,MAAM,sBAAsB,CAAA;AAG5E,OAAO,EAAE,UAAU,EAAY,MAAM,MAAM,CAAA;;AAE3C,qBAoBa,qBAAqB;IA8B9B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,GAAG;IACX,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,gBAAgB;IAjCjB,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,UAAU,CAAC,OAAO,CAAC,CACxD;IACD,OAAO,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,UAAU,CAAC,OAAO,CAAC,CACtD;IACD,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,EACxB,gBAAgB,EAAE,gBAAgB;IAG5C,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,OAAO;IAU/B,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;IAInE,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO;IAI9C,uBAAuB,CAAC,MAAM,EAAE,aAAa;yCA7KlC,qBAAqB;2CAArB,qBAAqB;CAoLjC"}
@@ -7,27 +7,30 @@ 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";
30
+ import * as i29 from "./results-table/action-menu/action-menu.component";
28
31
  export declare class UiSearchModule {
29
32
  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]>;
33
+ 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 i29.ActionMenuComponent], [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, typeof i29.ActionMenuComponent]>;
31
34
  static ɵinj: i0.ɵɵInjectorDeclaration<UiSearchModule>;
32
35
  }
33
36
  //# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,qBA+Da,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"}
@@ -4,6 +4,7 @@ import { TranslateMessageFormatCompiler } from 'ngx-translate-messageformat-comp
4
4
  import { FileTranslateLoader } from './file.translate.loader';
5
5
  export declare const DEFAULT_LANG = "en";
6
6
  export declare const LANGUAGE_STORAGE_KEY = "geonetwork-ui-language";
7
+ export declare const SUPPORTED_LANGUAGES: string[];
7
8
  export declare function HttpLoaderFactory(http: HttpClient): FileTranslateLoader;
8
9
  export declare function getLangFromBrowser(): string;
9
10
  export declare const TRANSLATE_DEFAULT_CONFIG: {
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.constants.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/i18n/src/lib/i18n.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAmB7D,eAAO,MAAM,YAAY,OAAO,CAAA;AAGhC,eAAO,MAAM,oBAAoB,2BAA2B,CAAA;AAE5D,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,uBAEjD;AAED,wBAAgB,kBAAkB,WAEjC;AAKD,eAAO,MAAM,wBAAwB;;;;;;;;;;;CAQpC,CAAA"}
1
+ {"version":3,"file":"i18n.constants.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/i18n/src/lib/i18n.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAA;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AA+B7D,eAAO,MAAM,YAAY,OAAO,CAAA;AAGhC,eAAO,MAAM,oBAAoB,2BAA2B,CAAA;AAE5D,eAAO,MAAM,mBAAmB,UA4B/B,CAAA;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,uBAEjD;AAED,wBAAgB,kBAAkB,WAEjC;AAKD,eAAO,MAAM,wBAAwB;;;;;;;;;;;CAQpC,CAAA"}
@@ -15,6 +15,17 @@ export declare const LANG_3_TO_2_MAPPER: {
15
15
  chi: string;
16
16
  slo: string;
17
17
  roh: string;
18
+ ara: string;
19
+ dan: string;
20
+ nor: string;
21
+ pol: string;
22
+ swe: string;
23
+ tur: string;
24
+ arm: string;
25
+ aze: string;
26
+ geo: string;
27
+ ukr: string;
28
+ wel: string;
18
29
  };
19
30
  export declare const LANGUAGE_NAMES: {
20
31
  en: string;
@@ -32,7 +43,18 @@ export declare const LANGUAGE_NAMES: {
32
43
  ru: string;
33
44
  zh: string;
34
45
  sk: string;
35
- roh: string;
46
+ rm: string;
47
+ ar: string;
48
+ da: string;
49
+ no: string;
50
+ pl: string;
51
+ sv: string;
52
+ tr: string;
53
+ hy: string;
54
+ az: string;
55
+ ka: string;
56
+ uk: string;
57
+ wel: string;
36
58
  };
37
59
  export declare const LANG_2_TO_3_MAPPER: {};
38
60
  //# sourceMappingURL=language-codes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"language-codes.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/i18n/src/lib/language-codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAiB9B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;CAiB1B,CAAA;AAED,eAAO,MAAM,kBAAkB,IAK9B,CAAA"}
1
+ {"version":3,"file":"language-codes.d.ts","sourceRoot":"","sources":["../../../../../src/libs/util/i18n/src/lib/language-codes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B9B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B1B,CAAA;AAED,eAAO,MAAM,kBAAkB,IAK9B,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;IA0Cd,QAAQ,CACN,IAAI,EAAE,qBAAqB,GAAG,qBAAqB,EACnD,KAAK,EAAE,SAAS;yCA/CP,qBAAqB;6CAArB,qBAAqB;CAmDjC"}
@@ -1,4 +1,4 @@
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"];
@@ -99,14 +99,21 @@ export declare const FORMATS: {
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,CAQT;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,CA6BR;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.9df114cd4",
3
+ "version": "2.6.0-dev.a0bd52a21",
4
4
  "engines": {
5
5
  "node": ">=20"
6
6
  },
@@ -62,7 +62,7 @@
62
62
  "@nx/angular": "20.2.2",
63
63
  "@rgrove/parse-xml": "4.2.0",
64
64
  "alasql": "4.6.0",
65
- "axios": "1.7.9",
65
+ "axios": "1.8.2",
66
66
  "basiclightbox": "^5.0.4",
67
67
  "chart.js": "4.4.7",
68
68
  "chroma-js": "3.1.2",
@@ -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,6 +4,7 @@ export function matchProtocol(protocol: string): ServiceProtocol {
4
4
  if (/wms/i.test(protocol)) return 'wms'
5
5
  if (/wfs/i.test(protocol)) return 'wfs'
6
6
  if (/wmts/i.test(protocol)) return 'wmts'
7
+ if (/tms/i.test(protocol)) return 'tms'
7
8
  if (/wps/i.test(protocol)) return 'wps'
8
9
  if (/ogc\W*api\W*features/i.test(protocol)) return 'ogcFeatures'
9
10
  if (/esri/i.test(protocol)) return 'esriRest'
@@ -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: {},
@@ -617,7 +617,7 @@ Die Quelle ist zu bezeichnen: „Quelle: Stadt Zürich“.`,
617
617
  status: 'completed',
618
618
  updateFrequency: 'asNeeded',
619
619
  defaultLanguage: 'de',
620
- otherLanguages: ['fr', 'it', 'en', 'rm'],
620
+ otherLanguages: ['fr', 'it', 'en', 'rm', 'aar'],
621
621
  translations: {
622
622
  abstract: {
623
623
  en: 'The perimeters of the Alpine Convention in Switzerland. The Alpine Convention is an international treaty between the eight Alpine countries: Germany, France, Italy, Liechtenstein, Monaco, Austria, Switzerland and Slovenia, plus the European Union. The aim of the treaty is to protect the Alps by means of cross-sectoral, integrated and sustainable policies.',
@@ -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
  },
@@ -152,12 +152,22 @@ export class Gn4FieldMapper {
152
152
  )
153
153
  const languages = langList.map((lang) => LANG_3_TO_2_MAPPER[lang])
154
154
  const defaultLanguage = output.defaultLanguage ?? languages[0] ?? null // set the first language as main one as fallback
155
+
156
+ return {
157
+ ...output,
158
+ defaultLanguage,
159
+ }
160
+ },
161
+ otherLanguage: (output, source) => {
162
+ const langList = getAsArray(selectField<string>(source, 'otherLanguage'))
163
+ const languages = langList.map((lang) => LANG_3_TO_2_MAPPER[lang])
164
+ const defaultLanguage = output.defaultLanguage ?? languages[0] ?? null
155
165
  const otherLanguages = languages.filter(
156
166
  (lang) => lang !== defaultLanguage
157
167
  )
168
+
158
169
  return {
159
170
  ...output,
160
- defaultLanguage,
161
171
  otherLanguages,
162
172
  }
163
173
  },
@@ -294,12 +304,52 @@ export class Gn4FieldMapper {
294
304
  ) ?? {},
295
305
  '_source'
296
306
  )
297
- const featureCatalogIdentifier = selectField(
307
+ const featureCatalogIdentifier: string = selectField(
298
308
  <SourceWithUnknownProps>fcatSource,
299
309
  'uuid'
300
310
  )
301
- return featureCatalogIdentifier
302
- ? this.addExtra({ featureCatalogIdentifier }, output)
311
+ const sourceOfLinks = getAsArray(
312
+ selectField(
313
+ <SourceWithUnknownProps>selectField(source, 'related'),
314
+ 'hassources'
315
+ )
316
+ )
317
+ const sourceOfIdentifiers: string[] = sourceOfLinks
318
+ .filter((link) => link['origin'] === 'catalog')
319
+ .map((link) => {
320
+ return selectField(
321
+ selectField(<SourceWithUnknownProps>link, '_source'),
322
+ 'uuid'
323
+ )
324
+ })
325
+ const extraValues: Record<string, string | string[]> = {}
326
+ if (featureCatalogIdentifier) {
327
+ extraValues.featureCatalogIdentifier = featureCatalogIdentifier
328
+ }
329
+ if (sourceOfIdentifiers && sourceOfIdentifiers.length > 0) {
330
+ extraValues.sourceOfIdentifiers = sourceOfIdentifiers
331
+ }
332
+ return Object.keys(extraValues).length > 0
333
+ ? this.addExtra(extraValues, output)
334
+ : output
335
+ },
336
+ recordLink: (output, source) => {
337
+ const recordLinks = getAsArray(
338
+ selectField<SourceWithUnknownProps[]>(source, 'recordLink')
339
+ )
340
+ const sourcesIdentifiers: string[] = recordLinks
341
+ .filter(
342
+ (link) => link['origin'] === 'catalog' && link['type'] === 'sources'
343
+ )
344
+ .map((link) => selectField(<SourceWithUnknownProps>link, 'to'))
345
+
346
+ return sourcesIdentifiers && sourcesIdentifiers.length > 0
347
+ ? this.addExtra(
348
+ {
349
+ sourcesIdentifiers,
350
+ },
351
+ output
352
+ )
303
353
  : output
304
354
  },
305
355
  isPublishedToAll: (output, source) =>
@@ -309,6 +359,13 @@ export class Gn4FieldMapper {
309
359
  },
310
360
  output
311
361
  ),
362
+ isHarvested: (output, source) =>
363
+ this.addExtra(
364
+ {
365
+ isHarvested: selectField(source, 'isHarvested') !== 'false',
366
+ },
367
+ output
368
+ ),
312
369
  edit: (output, source) =>
313
370
  this.addExtra(
314
371
  {
@@ -430,6 +487,7 @@ export class Gn4FieldMapper {
430
487
  /^OGC:WMS/.test(protocol) ||
431
488
  /^OGC:WFS/.test(protocol) ||
432
489
  /^OGC:WMTS/.test(protocol) ||
490
+ /TMS/i.test(protocol) ||
433
491
  /ogc\W*api\W*features/i.test(protocol) ||
434
492
  (/^WWW:DOWNLOAD-/.test(protocol) && /data.geopf.fr/.test(url)) // TO DO : change with the good protocol when decided
435
493
  ) {
@@ -509,8 +567,8 @@ export class Gn4FieldMapper {
509
567
  return {
510
568
  ...distribution,
511
569
  type,
512
- endpointUrl: url,
513
- protocol: accessServiceProtocol,
570
+ url: url,
571
+ accessServiceProtocol: accessServiceProtocol,
514
572
  }
515
573
  }
516
574
  }