geonetwork-ui 2.6.0-dev.f073bbb4e → 2.7.0-dev.035ba2871

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 (884) hide show
  1. package/README.md +2 -3
  2. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/base.converter.mjs +1 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  5. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +17 -15
  6. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +11 -2
  7. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
  8. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +59 -15
  9. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
  10. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  11. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
  12. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
  13. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +14 -6
  14. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +7 -7
  15. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +4 -1
  16. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +12 -8
  17. package/esm2022/libs/api/metadata-converter/src/lib/translate-utils.mjs +17 -0
  18. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  19. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +5 -2
  20. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +21 -27
  21. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +79 -16
  22. package/esm2022/libs/api/repository/src/lib/gn4/gn4.provider.mjs +7 -1
  23. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
  24. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
  25. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +91 -46
  26. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  27. package/esm2022/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.mjs +1 -1
  28. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +5 -1
  29. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  30. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  31. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
  32. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
  33. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +59 -11
  34. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
  35. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +2 -2
  36. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +42 -3
  37. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +31 -8
  38. package/esm2022/libs/feature/editor/src/index.mjs +3 -4
  39. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  40. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +13 -7
  41. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
  42. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +5 -1
  43. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
  44. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
  45. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
  46. package/esm2022/libs/feature/editor/src/lib/components/metadata-quality-panel/metadata-quality-panel.component.mjs +80 -0
  47. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +275 -0
  48. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +5 -15
  49. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
  50. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
  51. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
  52. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
  53. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +9 -14
  54. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
  55. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +4 -4
  56. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
  57. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
  58. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +7 -7
  59. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
  60. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
  61. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
  62. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
  63. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
  64. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +1 -3
  65. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
  66. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
  67. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
  68. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
  69. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
  70. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
  71. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
  72. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
  73. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
  74. package/esm2022/libs/feature/record/src/index.mjs +2 -4
  75. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +50 -26
  76. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +10 -15
  77. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +5 -6
  78. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +12 -17
  79. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +7 -4
  80. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
  81. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
  82. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
  83. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +151 -24
  84. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +1 -1
  85. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +3 -1
  86. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +16 -5
  87. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +13 -15
  88. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +7 -1
  89. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +3 -1
  90. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +3 -1
  91. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  92. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +10 -2
  93. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -3
  94. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  95. package/esm2022/libs/feature/search/src/lib/constants.mjs +4 -2
  96. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +12 -8
  97. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +33 -42
  98. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
  99. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
  100. package/esm2022/libs/feature/search/src/lib/record-url.token.mjs +4 -2
  101. package/esm2022/libs/feature/search/src/lib/results-hits/results-hits.container.component.mjs +44 -0
  102. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +35 -15
  103. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  104. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
  105. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
  106. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +74 -4
  107. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +4 -3
  108. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +3 -3
  109. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
  110. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
  111. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
  112. package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
  113. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +5 -3
  114. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +14 -8
  115. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
  116. package/esm2022/libs/ui/elements/src/index.mjs +7 -4
  117. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +7 -7
  118. package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +5 -5
  119. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
  120. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -3
  121. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +5 -6
  122. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +20 -9
  123. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
  124. package/esm2022/libs/ui/elements/src/lib/external-link-card/external-link-card.component.mjs +59 -0
  125. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +54 -0
  126. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
  127. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  128. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +89 -0
  129. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +70 -0
  130. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
  131. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
  132. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +5 -6
  133. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +10 -8
  134. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +27 -26
  135. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
  136. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +9 -6
  137. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +70 -0
  138. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +170 -0
  139. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
  140. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
  141. package/esm2022/libs/ui/inputs/src/index.mjs +3 -3
  142. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +10 -13
  143. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
  144. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
  145. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
  146. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
  147. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +5 -6
  148. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
  149. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +43 -0
  150. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.mjs +2 -0
  151. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +73 -0
  152. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +8 -3
  153. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
  154. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
  155. package/esm2022/libs/ui/layout/src/index.mjs +3 -2
  156. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +44 -3
  157. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +61 -14
  158. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +3 -3
  159. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  160. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +34 -13
  161. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
  162. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +26 -5
  163. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
  164. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
  165. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +6 -6
  166. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
  167. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +71 -0
  168. package/esm2022/libs/ui/map/src/index.mjs +2 -1
  169. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +29 -4
  170. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
  171. package/esm2022/libs/ui/map/src/lib/components/map-legend/map-legend.component.mjs +2 -2
  172. package/esm2022/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.mjs +80 -0
  173. package/esm2022/libs/ui/search/src/index.mjs +3 -1
  174. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
  175. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +17 -10
  176. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  177. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +53 -0
  178. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +2 -2
  179. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  180. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
  181. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +45 -20
  182. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +39 -26
  183. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  184. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  185. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +3 -3
  186. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +6 -3
  187. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +3 -1
  188. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  189. package/esm2022/libs/util/i18n/src/index.mjs +2 -3
  190. package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
  191. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
  192. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
  193. package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
  194. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
  195. package/esm2022/libs/util/shared/src/index.mjs +3 -2
  196. package/esm2022/libs/util/shared/src/lib/gn-ui-version.mjs +6 -0
  197. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
  198. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +5 -1
  199. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +27 -7
  200. package/esm2022/libs/util/shared/src/lib/record/index.mjs +3 -0
  201. package/esm2022/libs/util/shared/src/lib/record/quality-score.util.mjs +45 -0
  202. package/esm2022/libs/util/shared/src/lib/record/record.util.mjs +56 -0
  203. package/esm2022/translations/de.json +98 -24
  204. package/esm2022/translations/en.json +98 -24
  205. package/esm2022/translations/es.json +97 -23
  206. package/esm2022/translations/fr.json +100 -26
  207. package/esm2022/translations/it.json +97 -24
  208. package/esm2022/translations/nl.json +97 -23
  209. package/esm2022/translations/pt.json +97 -23
  210. package/esm2022/translations/sk.json +615 -0
  211. package/fesm2022/geonetwork-ui.mjs +12372 -9881
  212. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  213. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  214. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  215. package/libs/api/metadata-converter/src/lib/base.converter.d.ts.map +1 -1
  216. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  217. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +21 -0
  218. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -1
  219. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
  220. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
  221. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  222. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +0 -1
  223. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  224. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  225. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  226. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  227. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  228. package/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.d.ts.map +1 -1
  229. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  230. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts +2 -0
  231. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts.map +1 -0
  232. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  233. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  234. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +9 -7
  235. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  236. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +14 -3
  237. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  238. package/libs/api/repository/src/lib/gn4/gn4.provider.d.ts.map +1 -1
  239. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
  240. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  241. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
  242. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  243. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +10 -4
  244. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  245. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  246. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  247. package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts +8 -1
  248. package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts.map +1 -1
  249. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +26 -17
  250. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  251. package/libs/common/domain/src/lib/platform.service.interface.d.ts +2 -1
  252. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  253. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -1
  254. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  255. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
  256. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  257. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
  258. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +1 -1
  259. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +14 -9
  260. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  261. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  262. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +3 -0
  263. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  264. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +6 -3
  265. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  266. package/libs/feature/editor/src/index.d.ts +2 -3
  267. package/libs/feature/editor/src/index.d.ts.map +1 -1
  268. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +8 -1
  269. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  270. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +10 -12
  271. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  272. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -1
  273. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  274. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  275. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +1 -1
  276. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  277. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -1
  278. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  279. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
  280. package/libs/feature/editor/src/lib/components/metadata-quality-panel/metadata-quality-panel.component.d.ts +19 -0
  281. package/libs/feature/editor/src/lib/components/metadata-quality-panel/metadata-quality-panel.component.d.ts.map +1 -0
  282. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +52 -0
  283. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -0
  284. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  285. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +6 -6
  286. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  287. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
  288. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
  289. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
  290. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  291. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts.map +1 -1
  292. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -1
  293. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  294. 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
  295. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
  296. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -1
  297. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  298. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +10 -17
  299. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  300. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  301. package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
  302. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  303. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  304. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  305. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  306. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  307. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  308. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
  309. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  310. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  311. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  312. package/libs/feature/record/src/index.d.ts +1 -3
  313. package/libs/feature/record/src/index.d.ts.map +1 -1
  314. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +23 -7
  315. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  316. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +2 -3
  317. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  318. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +1 -2
  319. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  320. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -1
  321. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  322. package/libs/feature/record/src/lib/feature-record.module.d.ts +8 -12
  323. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  324. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -1
  325. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
  326. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +22 -8
  327. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  328. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +2 -2
  329. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +13 -3
  330. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  331. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -1
  332. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  333. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +30 -23
  334. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  335. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +4 -2
  336. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  337. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +3 -1
  338. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  339. package/libs/feature/router/src/lib/default/constants.d.ts +2 -0
  340. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  341. package/libs/feature/router/src/lib/default/router.config.d.ts +2 -0
  342. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  343. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  344. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +5 -0
  345. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  346. package/libs/feature/search/src/index.d.ts +1 -1
  347. package/libs/feature/search/src/index.d.ts.map +1 -1
  348. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  349. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +2 -1
  350. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  351. package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -22
  352. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  353. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  354. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  355. package/libs/feature/search/src/lib/record-url.token.d.ts +3 -1
  356. package/libs/feature/search/src/lib/record-url.token.d.ts.map +1 -1
  357. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts +22 -0
  358. package/libs/feature/search/src/lib/results-hits/results-hits.container.component.d.ts.map +1 -0
  359. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +5 -3
  360. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  361. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  362. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  363. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +1 -2
  364. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
  365. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
  366. package/libs/feature/search/src/lib/utils/service/fields.d.ts +22 -2
  367. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  368. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  369. package/libs/ui/dataviz/src/index.d.ts +0 -1
  370. package/libs/ui/dataviz/src/index.d.ts.map +1 -1
  371. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +2 -1
  372. package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts.map +1 -1
  373. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts +6 -1
  374. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  375. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
  376. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  377. package/libs/ui/elements/src/index.d.ts +6 -3
  378. package/libs/ui/elements/src/index.d.ts.map +1 -1
  379. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  380. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
  381. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
  382. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
  383. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -1
  384. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +1 -1
  385. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  386. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -1
  387. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  388. package/libs/ui/elements/src/lib/{link-card/link-card.component.d.ts → external-link-card/external-link-card.component.d.ts} +5 -5
  389. package/libs/ui/elements/src/lib/external-link-card/external-link-card.component.d.ts.map +1 -0
  390. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts +15 -0
  391. package/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.d.ts.map +1 -0
  392. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +30 -0
  393. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -0
  394. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts +14 -0
  395. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -0
  396. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  397. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +2 -2
  398. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  399. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +8 -4
  400. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  401. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  402. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  403. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +27 -0
  404. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -0
  405. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts +31 -0
  406. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -0
  407. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
  408. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
  409. package/libs/ui/inputs/src/index.d.ts +2 -2
  410. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  411. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +1 -2
  412. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  413. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  414. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  415. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
  416. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
  417. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
  418. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
  419. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
  420. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
  421. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
  422. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +14 -0
  423. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -0
  424. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts +6 -0
  425. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.d.ts.map +1 -0
  426. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts +17 -0
  427. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -0
  428. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +2 -1
  429. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  430. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
  431. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
  432. package/libs/ui/layout/src/index.d.ts +2 -1
  433. package/libs/ui/layout/src/index.d.ts.map +1 -1
  434. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +10 -3
  435. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  436. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +11 -3
  437. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  438. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  439. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  440. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +15 -8
  441. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  442. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +5 -1
  443. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  444. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
  445. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
  446. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +22 -0
  447. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -0
  448. package/libs/ui/map/src/index.d.ts +1 -0
  449. package/libs/ui/map/src/index.d.ts.map +1 -1
  450. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +6 -2
  451. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  452. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts +15 -0
  453. package/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.d.ts.map +1 -0
  454. package/libs/ui/search/src/index.d.ts +2 -0
  455. package/libs/ui/search/src/index.d.ts.map +1 -1
  456. package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts +2 -0
  457. package/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.d.ts.map +1 -1
  458. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts +17 -0
  459. package/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.d.ts.map +1 -0
  460. package/libs/ui/search/src/lib/results-list/results-list.component.d.ts.map +1 -1
  461. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  462. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  463. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +10 -4
  464. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  465. package/libs/ui/search/src/lib/ui-search.module.d.ts +22 -19
  466. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  467. package/libs/ui/widgets/src/index.d.ts +0 -1
  468. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  469. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
  470. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
  471. package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
  472. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  473. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  474. package/libs/util/app-config/src/lib/model.d.ts +2 -0
  475. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  476. package/libs/util/i18n/src/index.d.ts +1 -2
  477. package/libs/util/i18n/src/index.d.ts.map +1 -1
  478. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
  479. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
  480. package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
  481. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  482. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
  483. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
  484. package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
  485. package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
  486. package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
  487. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  488. package/libs/util/shared/src/index.d.ts +2 -1
  489. package/libs/util/shared/src/index.d.ts.map +1 -1
  490. package/libs/util/shared/src/lib/gn-ui-version.d.ts +3 -0
  491. package/libs/util/shared/src/lib/gn-ui-version.d.ts.map +1 -0
  492. package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
  493. package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
  494. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  495. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  496. package/libs/util/shared/src/lib/links/link-utils.d.ts +16 -8
  497. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  498. package/libs/util/shared/src/lib/record/index.d.ts +3 -0
  499. package/libs/util/shared/src/lib/record/index.d.ts.map +1 -0
  500. package/libs/util/shared/src/lib/record/quality-score.util.d.ts +13 -0
  501. package/libs/util/shared/src/lib/record/quality-score.util.d.ts.map +1 -0
  502. package/libs/util/shared/src/lib/record/record.util.d.ts +3 -0
  503. package/libs/util/shared/src/lib/record/record.util.d.ts.map +1 -0
  504. package/package.json +4 -4
  505. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  506. package/src/libs/api/metadata-converter/src/lib/base.converter.ts +1 -4
  507. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  508. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +29 -15
  509. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +10 -1
  510. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
  511. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +3 -0
  512. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +2 -2
  513. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +3 -3
  514. package/src/libs/api/metadata-converter/src/lib/fixtures/metadata-for-i18n.records.ts +4240 -0
  515. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +2 -2
  516. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +2 -2
  517. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +81 -11
  518. package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
  519. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +0 -1
  520. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
  521. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
  522. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +14 -8
  523. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +12 -8
  524. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.ts +3 -0
  525. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +12 -7
  526. package/src/libs/api/metadata-converter/src/lib/translate-utils.ts +17 -0
  527. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
  528. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +4 -1
  529. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +17 -17
  530. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +119 -16
  531. package/src/libs/api/repository/src/lib/gn4/gn4.provider.ts +6 -0
  532. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
  533. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
  534. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +113 -69
  535. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  536. package/src/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.ts +10 -1
  537. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +31 -11
  538. package/src/libs/common/domain/src/lib/platform.service.interface.ts +4 -1
  539. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +11 -1
  540. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +0 -3
  541. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +36 -26
  542. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +16 -2
  543. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +5 -5
  544. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +114 -1
  545. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
  546. package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
  547. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +12 -9
  548. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +70 -13
  549. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
  550. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +49 -1
  551. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -0
  552. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +33 -3
  553. package/src/libs/feature/editor/src/index.ts +2 -3
  554. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +9 -1
  555. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +23 -12
  556. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  557. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +9 -1
  558. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
  559. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
  560. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
  561. package/src/libs/feature/editor/src/lib/components/metadata-quality-panel/metadata-quality-panel.component.html +37 -0
  562. package/src/libs/feature/editor/src/lib/components/metadata-quality-panel/metadata-quality-panel.component.ts +93 -0
  563. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +121 -0
  564. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +331 -0
  565. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +3 -12
  566. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +5 -4
  567. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
  568. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
  569. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
  570. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +6 -9
  571. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
  572. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +2 -2
  573. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
  574. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
  575. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
  576. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +2 -2
  577. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +4 -4
  578. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
  579. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
  580. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
  581. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
  582. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
  583. package/src/libs/feature/editor/src/lib/fields.config.ts +0 -2
  584. package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
  585. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
  586. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
  587. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
  588. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
  589. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
  590. package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
  591. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
  592. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
  593. package/src/libs/feature/record/src/index.ts +1 -3
  594. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +19 -11
  595. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +56 -30
  596. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +4 -5
  597. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +1 -1
  598. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
  599. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +6 -7
  600. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +2 -2
  601. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +3 -2
  602. package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
  603. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
  604. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
  605. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +43 -13
  606. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +189 -25
  607. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +2 -2
  608. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +12 -2
  609. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +31 -3
  610. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +23 -19
  611. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +14 -2
  612. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +9 -0
  613. package/src/libs/feature/router/src/lib/default/constants.ts +2 -0
  614. package/src/libs/feature/router/src/lib/default/router.config.ts +2 -0
  615. package/src/libs/feature/router/src/lib/default/router.service.ts +10 -0
  616. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +10 -1
  617. package/src/libs/feature/search/src/index.ts +1 -1
  618. package/src/libs/feature/search/src/lib/constants.ts +3 -1
  619. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +2 -7
  620. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +16 -7
  621. package/src/libs/feature/search/src/lib/feature-search.module.ts +17 -23
  622. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  623. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
  624. package/src/libs/feature/search/src/lib/record-url.token.ts +10 -1
  625. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.html +17 -0
  626. package/src/libs/feature/search/src/lib/results-hits/results-hits.container.component.ts +60 -0
  627. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.css +6 -0
  628. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -0
  629. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +26 -5
  630. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  631. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  632. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
  633. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
  634. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +4 -5
  635. package/src/libs/feature/search/src/lib/utils/service/fields.ts +103 -3
  636. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  637. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  638. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
  639. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
  640. package/src/libs/ui/dataviz/src/index.ts +0 -1
  641. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +2 -1
  642. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.html +6 -3
  643. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +12 -6
  644. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
  645. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
  646. package/src/libs/ui/elements/src/index.ts +6 -3
  647. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +4 -4
  648. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
  649. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +6 -6
  650. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +2 -2
  651. package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
  652. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +6 -2
  653. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +5 -1
  654. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +8 -5
  655. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  656. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +42 -11
  657. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +28 -4
  658. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
  659. package/src/libs/ui/elements/src/lib/external-link-card/external-link-card.component.css +0 -0
  660. package/src/libs/ui/elements/src/lib/{link-card/link-card.component.html → external-link-card/external-link-card.component.html} +5 -2
  661. package/src/libs/ui/elements/src/lib/{link-card/link-card.component.ts → external-link-card/external-link-card.component.ts} +9 -13
  662. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.css +4 -0
  663. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.html +13 -0
  664. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +54 -0
  665. package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
  666. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  667. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +88 -0
  668. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.scss +115 -0
  669. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +102 -0
  670. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.css +6 -0
  671. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.html +15 -0
  672. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +72 -0
  673. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
  674. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.html +3 -5
  675. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
  676. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +12 -9
  677. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
  678. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +9 -0
  679. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +24 -7
  680. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +11 -6
  681. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +21 -21
  682. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +27 -22
  683. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
  684. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +6 -3
  685. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +107 -0
  686. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +82 -0
  687. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.css +0 -0
  688. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.html +110 -0
  689. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +196 -0
  690. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
  691. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
  692. package/src/libs/ui/inputs/src/index.ts +2 -2
  693. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +3 -3
  694. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +6 -9
  695. package/src/libs/ui/inputs/src/lib/button/button.component.ts +2 -2
  696. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
  697. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
  698. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
  699. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +1 -1
  700. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
  701. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -1
  702. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
  703. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
  704. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.html +23 -0
  705. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +47 -0
  706. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.model.ts +5 -0
  707. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.css +0 -0
  708. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.html +43 -0
  709. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +83 -0
  710. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -1
  711. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +11 -8
  712. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +4 -1
  713. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
  714. package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
  715. package/src/libs/ui/layout/src/index.ts +2 -1
  716. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +47 -2
  717. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +22 -0
  718. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +2 -3
  719. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +57 -9
  720. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -1
  721. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +1 -1
  722. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  723. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  724. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +24 -8
  725. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +36 -10
  726. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
  727. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +4 -7
  728. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +22 -2
  729. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +1 -1
  730. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
  731. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
  732. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +17 -5
  733. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +3 -3
  734. package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
  735. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +27 -0
  736. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +84 -0
  737. package/src/libs/ui/map/src/index.ts +1 -0
  738. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +3 -3
  739. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +27 -3
  740. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
  741. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.ts +1 -1
  742. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.css +0 -0
  743. package/src/libs/ui/map/src/lib/components/spatial-extent/spatial-extent.component.html +4 -0
  744. 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
  745. package/src/libs/ui/search/src/index.ts +2 -0
  746. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
  747. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +9 -81
  748. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.ts +14 -1
  749. package/src/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.html +1 -1
  750. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.html +25 -0
  751. package/src/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.ts +53 -0
  752. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +2 -2
  753. package/src/libs/ui/search/src/lib/results-list/results-list.component.html +1 -0
  754. package/src/libs/ui/search/src/lib/results-list/results-list.component.ts +0 -1
  755. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  756. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
  757. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +4 -0
  758. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +29 -24
  759. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +49 -17
  760. package/src/libs/ui/search/src/lib/ui-search.module.ts +19 -10
  761. package/src/libs/ui/widgets/src/index.ts +0 -1
  762. package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
  763. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.html +4 -3
  764. package/src/libs/util/app-config/src/lib/app-config.ts +6 -2
  765. package/src/libs/util/app-config/src/lib/fixtures.ts +2 -0
  766. package/src/libs/util/app-config/src/lib/model.ts +2 -0
  767. package/src/libs/util/i18n/src/index.ts +1 -2
  768. package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
  769. package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
  770. package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
  771. package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
  772. package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
  773. package/src/libs/util/shared/src/index.ts +2 -1
  774. package/src/libs/util/shared/src/lib/gn-ui-version.ts +8 -0
  775. package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
  776. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +15 -3
  777. package/src/libs/util/shared/src/lib/links/link-utils.ts +44 -13
  778. package/src/libs/util/shared/src/lib/record/index.ts +2 -0
  779. package/src/libs/util/shared/src/lib/record/quality-score.util.ts +69 -0
  780. package/src/libs/util/shared/src/lib/record/record.util.ts +114 -0
  781. package/tailwind.base.config.js +3 -0
  782. package/tailwind.base.css +24 -26
  783. package/translations/de.json +98 -24
  784. package/translations/en.json +98 -24
  785. package/translations/es.json +97 -23
  786. package/translations/fr.json +100 -26
  787. package/translations/it.json +97 -24
  788. package/translations/nl.json +97 -23
  789. package/translations/pt.json +97 -23
  790. package/translations/sk.json +97 -23
  791. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +0 -79
  792. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
  793. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
  794. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
  795. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
  796. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
  797. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
  798. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
  799. package/esm2022/libs/feature/record/src/lib/gn-ui-version.token.mjs +0 -3
  800. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +0 -18
  801. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
  802. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +0 -60
  803. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -46
  804. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -106
  805. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +0 -16
  806. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -161
  807. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -31
  808. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
  809. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
  810. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
  811. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
  812. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +0 -15
  813. 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
  814. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
  815. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +0 -1
  816. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
  817. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
  818. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
  819. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
  820. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
  821. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
  822. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
  823. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
  824. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
  825. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
  826. package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
  827. package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
  828. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts +0 -3
  829. package/libs/feature/record/src/lib/gn-ui-version.token.d.ts.map +0 -1
  830. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts +0 -9
  831. package/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.d.ts.map +0 -1
  832. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
  833. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
  834. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +0 -1
  835. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -12
  836. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
  837. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -27
  838. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
  839. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +0 -8
  840. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +0 -1
  841. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -34
  842. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
  843. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
  844. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
  845. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
  846. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
  847. package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
  848. package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
  849. package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
  850. package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
  851. package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
  852. package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
  853. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +0 -1
  854. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
  855. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
  856. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
  857. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
  858. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
  859. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
  860. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
  861. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
  862. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
  863. package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
  864. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
  865. package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
  866. package/src/libs/feature/record/src/lib/gn-ui-version.token.ts +0 -3
  867. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.html +0 -4
  868. package/src/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.ts +0 -10
  869. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
  870. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -30
  871. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -48
  872. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -61
  873. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.css +0 -3
  874. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +0 -9
  875. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +0 -15
  876. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
  877. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -18
  878. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
  879. package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
  880. package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
  881. package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
  882. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-map-container/form-field-map-container.component.css → metadata-quality-panel/metadata-quality-panel.component.css} +0 -0
  883. /package/src/libs/{ui/elements/src/lib/link-card/link-card.component.css → feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.css} +0 -0
  884. /package/src/libs/{ui/elements/src/lib/related-record-card/related-record-card.component.css → feature/search/src/lib/results-hits/results-hits.container.component.css} +0 -0
@@ -0,0 +1,93 @@
1
+ import { CommonModule } from '@angular/common'
2
+ import { Component, Input, OnChanges } from '@angular/core'
3
+ import { CatalogRecord } from '../../../../../../../libs/common/domain/src/lib/model/record'
4
+ import { ButtonComponent } from '../../../../../../../libs/ui/inputs/src'
5
+ import {
6
+ getAllKeysValidator,
7
+ getQualityValidators,
8
+ ValidatorMapperKeys,
9
+ } from '../../../../../../../libs/util/shared/src'
10
+ import {
11
+ NgIconComponent,
12
+ provideIcons,
13
+ provideNgIconsConfig,
14
+ } from '@ng-icons/core'
15
+ import { iconoirBadgeCheck, iconoirSystemShut } from '@ng-icons/iconoir'
16
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
17
+ import { EditorConfig } from '../../models'
18
+ import { marker } from '@biesbjerg/ngx-translate-extract-marker'
19
+
20
+ //forced translations that are not available in fields.config.ts
21
+ marker('editor.record.form.field.keywords')
22
+ marker('editor.record.form.field.topics')
23
+ marker('editor.record.form.field.contacts')
24
+ marker('editor.record.form.field.organisation')
25
+ @Component({
26
+ selector: 'gn-ui-metadata-quality-panel',
27
+ standalone: true,
28
+ imports: [
29
+ CommonModule,
30
+ TranslateDirective,
31
+ TranslatePipe,
32
+ ButtonComponent,
33
+ NgIconComponent,
34
+ ],
35
+ providers: [
36
+ provideIcons({
37
+ iconoirSystemShut,
38
+ iconoirBadgeCheck,
39
+ }),
40
+ provideNgIconsConfig({
41
+ size: '1.25em',
42
+ }),
43
+ ],
44
+ templateUrl: './metadata-quality-panel.component.html',
45
+ styleUrl: './metadata-quality-panel.component.css',
46
+ })
47
+ export class MetadataQualityPanelComponent implements OnChanges {
48
+ propsToValidate: ValidatorMapperKeys[] = getAllKeysValidator()
49
+ propertiesByPage: { label: string; value: boolean }[][] = []
50
+ @Input() editorConfig: EditorConfig
51
+ @Input() record: CatalogRecord
52
+
53
+ ngOnChanges() {
54
+ if (this.editorConfig && this.record) {
55
+ const fieldsByPage = this.editorConfig.pages.map((page) =>
56
+ page.sections.flatMap((section) =>
57
+ section.fields
58
+ .filter(
59
+ (field) =>
60
+ this.propsToValidate.includes(field.model) && !field.hidden
61
+ )
62
+ .map((field) => field.model as ValidatorMapperKeys)
63
+ )
64
+ )
65
+ // FIXME: temporarily add topics and organisation to the first and third page
66
+ // as long as they are not handled by the editor
67
+ if (fieldsByPage.length > 0) {
68
+ fieldsByPage[0].includes('topics') || fieldsByPage[0].push('topics')
69
+ fieldsByPage[2].includes('organisation') ||
70
+ fieldsByPage[2].push('organisation')
71
+ }
72
+ this.propertiesByPage = fieldsByPage
73
+ .map((fields) =>
74
+ getQualityValidators(
75
+ this.record,
76
+ fields as ValidatorMapperKeys[]
77
+ ).map(({ name, validator }) => ({
78
+ label: `editor.record.form.field.${name}`, // use same translations as in fields.config.ts
79
+ value: validator(),
80
+ }))
81
+ )
82
+ .filter((arr) => arr.length > 0)
83
+ }
84
+ }
85
+
86
+ getExtraClass(checked: boolean): string {
87
+ const baseClasses =
88
+ 'flex flex-row justify-between rounded mb-1 h-[34px] w-full focus:ring-0 hover:border-none border-none hover:text-black text-black cursor-default'
89
+ return checked
90
+ ? `${baseClasses} bg-neutral-100 hover:bg-neutral-100`
91
+ : `${baseClasses} bg-transparent hover:bg-transparent`
92
+ }
93
+ }
@@ -0,0 +1,121 @@
1
+ <div
2
+ class="flex flex-col h-full w-[302px] border-l border-gray-300 py-8 px-3 gap-6 overflow-auto"
3
+ style="background-color: #fafaf9"
4
+ >
5
+ <div class="flex flex-row px-2 justify-between">
6
+ <span class="text-3xl font-title text-black/80" translate
7
+ >editor.record.form.multilingual.title</span
8
+ >
9
+ <button
10
+ [title]="'editor.record.form.multilingual.open' | translate"
11
+ (click)="toggleLanguageSelection()"
12
+ *ngIf="isMultilingual"
13
+ data-test="activateSelection"
14
+ >
15
+ <ng-icon class="mt-1" name="iconoirSettings"></ng-icon>
16
+ </button>
17
+ </div>
18
+ <div class="flex flex-col gap-2" *ngIf="editTranslations || !isMultilingual">
19
+ <gn-ui-check-toggle
20
+ class="p-2"
21
+ [label]="'editor.record.form.multilingual.enable' | translate"
22
+ [color]="'primary'"
23
+ [(value)]="isMultilingual"
24
+ (toggled)="switchMultilingual($event)"
25
+ ></gn-ui-check-toggle>
26
+ <div *ngIf="isMultilingual" class="flex flex-col gap-2">
27
+ <div class="flex flex-row justify-between border-t border-gray-300 p-3">
28
+ <span class="mt-2 text-sm text-gray-600" translate
29
+ >editor.record.form.multilingual.activate</span
30
+ >
31
+ <gn-ui-button
32
+ extraClass="w-16 h-8 font-bold"
33
+ type="gray"
34
+ (buttonClick)="validateTranslations()"
35
+ data-test="validateSelection"
36
+ >{{ 'editor.record.form.multilingual.validate' | translate }}
37
+ </gn-ui-button>
38
+ </div>
39
+ <ng-container *ngIf="supportedLanguages$ | async as languages">
40
+ <div
41
+ class="flex flex-col gap-2 w-full px-2"
42
+ data-test="langAvailable"
43
+ *ngFor="let lang of languages"
44
+ >
45
+ <gn-ui-button
46
+ [extraClass]="getExtraClass(lang)"
47
+ type="gray"
48
+ (buttonClick)="toggleLanguage(lang)"
49
+ [disabled]="lang === _record.defaultLanguage"
50
+ [title]="getToggleTitle(lang)"
51
+ >
52
+ <span [class]="getIconClass(lang)"></span>
53
+ <span class="ml-2">{{ 'language.' + lang | translate }}</span>
54
+ </gn-ui-button>
55
+ </div>
56
+ </ng-container>
57
+ </div>
58
+ </div>
59
+ <div *ngIf="!editTranslations && isMultilingual" class="flex flex-col gap-2">
60
+ <gn-ui-button
61
+ *ngFor="let recordLang of sortLanguages(recordLanguages); let i = index"
62
+ extraClass="flex flex-row justify-between bg-white border border-white rounded mb-1 h-[34px] w-full"
63
+ [ngClass]="{
64
+ 'mt-8': isFirstUnsupported(i),
65
+ '': true,
66
+ }"
67
+ (buttonClick)="switchFormLang(recordLang)"
68
+ type="outline"
69
+ data-test="langSwitch"
70
+ >
71
+ <div class="flex flex-row gap-2 items-center">
72
+ <ng-icon
73
+ *ngIf="recordLang === formLanguage"
74
+ class="text-primary mt-1"
75
+ name="iconoirCheckCircle"
76
+ ></ng-icon>
77
+ <ng-icon
78
+ *ngIf="recordLang !== formLanguage"
79
+ class="text-gray-800 mt-1"
80
+ name="iconoirCircle"
81
+ ></ng-icon>
82
+ <span
83
+ *ngIf="recordLang.length === 2"
84
+ [class]="getIconClass(recordLang) + 'mt-1'"
85
+ ></span>
86
+ <span [ngClass]="recordLang === formLanguage ? 'text-black' : ''">{{
87
+ isLangSupported(recordLang)
88
+ ? ('language.' + recordLang | translate)
89
+ : recordLang.toUpperCase()
90
+ }}</span>
91
+ </div>
92
+ <div class="flex flex-row gap-2 items-center">
93
+ <span
94
+ *ngIf="recordLang === formLanguage"
95
+ class="text-xs text-base"
96
+ translate
97
+ >editor.record.form.multilingual.default</span
98
+ >
99
+ <button
100
+ (click)="
101
+ openActionMenu(recordLang, template); $event.stopPropagation()
102
+ "
103
+ cdkOverlayOrigin
104
+ #actionMenuButton
105
+ >
106
+ <ng-icon class="pb-5" name="matMoreHorizOutline"></ng-icon>
107
+ </button>
108
+ <ng-template #template>
109
+ <gn-ui-action-menu
110
+ [canDelete]="recordLang !== _record.defaultLanguage"
111
+ page="record"
112
+ (delete)="confirmDeleteAction(recordLang)"
113
+ (closeActionMenu)="closeActionMenu()"
114
+ (switch)="switchDefaultLang(recordLang)"
115
+ >
116
+ </gn-ui-action-menu>
117
+ </ng-template>
118
+ </div>
119
+ </gn-ui-button>
120
+ </div>
121
+ </div>
@@ -0,0 +1,331 @@
1
+ import {
2
+ ChangeDetectorRef,
3
+ Component,
4
+ ElementRef,
5
+ Input,
6
+ OnChanges,
7
+ OnDestroy,
8
+ QueryList,
9
+ ViewChildren,
10
+ ViewContainerRef,
11
+ } from '@angular/core'
12
+ import { CommonModule } from '@angular/common'
13
+ import { ButtonComponent, CheckToggleComponent } from '../../../../../../../libs/ui/inputs/src'
14
+ import {
15
+ TranslateDirective,
16
+ TranslatePipe,
17
+ TranslateService,
18
+ } from '@ngx-translate/core'
19
+ import { CatalogRecord } from '../../../../../../../libs/common/domain/src/lib/model/record'
20
+ import {
21
+ NgIconComponent,
22
+ provideIcons,
23
+ provideNgIconsConfig,
24
+ } from '@ng-icons/core'
25
+ import {
26
+ iconoirCheckCircle,
27
+ iconoirCircle,
28
+ iconoirSettings,
29
+ } from '@ng-icons/iconoir'
30
+ import { matMoreHorizOutline } from '@ng-icons/material-icons/outline'
31
+ import { EditorFacade } from '../../+state/editor.facade'
32
+ import { ConfirmationDialogComponent } from '../../../../../../../libs/ui/elements/src'
33
+ import { MatDialog } from '@angular/material/dialog'
34
+ import { RecordsRepositoryInterface } from '../../../../../../../libs/common/domain/src/lib/repository/records-repository.interface'
35
+ import { map, Subscription } from 'rxjs'
36
+ import { Overlay, OverlayRef } from '@angular/cdk/overlay'
37
+ import { TemplatePortal } from '@angular/cdk/portal'
38
+ import { ActionMenuComponent } from '../../../../../../../libs/ui/search/src'
39
+
40
+ const extraFlagMap: { [key: string]: string } = {
41
+ ar: 'arab',
42
+ en: 'gb',
43
+ ko: 'kr',
44
+ cs: 'cz',
45
+ zh: 'cn',
46
+ ca: 'es-ct',
47
+ rm: 'ch',
48
+ da: 'dk',
49
+ sv: 'se',
50
+ cy: 'gb-wls',
51
+ hy: 'am',
52
+ ka: 'ge',
53
+ uk: 'ua',
54
+ }
55
+
56
+ @Component({
57
+ selector: 'gn-ui-multilingual-panel',
58
+ standalone: true,
59
+ imports: [
60
+ CommonModule,
61
+ CheckToggleComponent,
62
+ TranslateDirective,
63
+ TranslatePipe,
64
+ ButtonComponent,
65
+ NgIconComponent,
66
+ ActionMenuComponent,
67
+ ],
68
+ providers: [
69
+ provideIcons({
70
+ iconoirSettings,
71
+ matMoreHorizOutline,
72
+ iconoirCheckCircle,
73
+ iconoirCircle,
74
+ }),
75
+ provideNgIconsConfig({
76
+ size: '1.25em',
77
+ }),
78
+ ],
79
+ templateUrl: './multilingual-panel.component.html',
80
+ styleUrl: './multilingual-panel.component.css',
81
+ })
82
+ export class MultilingualPanelComponent implements OnDestroy {
83
+ isMultilingual: boolean
84
+ _record: CatalogRecord
85
+ editTranslations: boolean
86
+ selectedLanguages = []
87
+ recordLanguages = []
88
+ formLanguage = ''
89
+ @Input() set record(value: CatalogRecord) {
90
+ this._record = value
91
+ this.isMultilingual = value.otherLanguages.length > 0
92
+ this.editTranslations = false
93
+ this.recordLanguages = [...value.otherLanguages, value.defaultLanguage]
94
+ this.selectedLanguages = this.recordLanguages
95
+ this.formLanguage = value.defaultLanguage
96
+ }
97
+ @ViewChildren('actionMenuButton', { read: ElementRef })
98
+ actionMenuButtons!: QueryList<ElementRef>
99
+ private overlayRef!: OverlayRef
100
+
101
+ isActionMenuOpen = false
102
+ subscription = new Subscription()
103
+
104
+ supportedLanguages$ = this.recordsRepository
105
+ .getApplicationLanguages()
106
+ .pipe(map((languages) => this.sortLanguages(languages)))
107
+
108
+ constructor(
109
+ public facade: EditorFacade,
110
+ public dialog: MatDialog,
111
+ private translateService: TranslateService,
112
+ private recordsRepository: RecordsRepositoryInterface,
113
+ private overlay: Overlay,
114
+ private viewContainerRef: ViewContainerRef,
115
+ private cdr: ChangeDetectorRef
116
+ ) {}
117
+
118
+ ngOnDestroy() {
119
+ this.subscription.unsubscribe()
120
+ }
121
+
122
+ sortLanguages(languages: string[]) {
123
+ return languages
124
+ .map((lang) => {
125
+ const label = this.translateService.instant('language.' + lang)
126
+ const isTranslated = label !== 'language.' + lang
127
+
128
+ return {
129
+ lang,
130
+ label,
131
+ isTranslated,
132
+ }
133
+ })
134
+ .sort((a, b) => {
135
+ if (a.isTranslated && !b.isTranslated) return -1
136
+ if (!a.isTranslated && b.isTranslated) return 1
137
+
138
+ return a.label.localeCompare(b.label)
139
+ })
140
+ .map((item) => item.lang)
141
+ }
142
+
143
+ toggleLanguageSelection() {
144
+ this.editTranslations = !this.editTranslations
145
+ }
146
+
147
+ getIconClass(lang: string) {
148
+ return extraFlagMap[lang]
149
+ ? `fi fi-${extraFlagMap[lang]} w-4 h-3`
150
+ : `fi fi-${lang} w-4 h-3`
151
+ }
152
+
153
+ switchMultilingual() {
154
+ if (this.isMultilingual && this.selectedLanguages.length > 1) {
155
+ this.confirmDeleteAction()
156
+ } else {
157
+ this.isMultilingual = true
158
+ this.editTranslations = true
159
+ }
160
+ }
161
+
162
+ getExtraClass(lang: string) {
163
+ const baseClass = 'h-[34px] w-full font-bold justify-start hover:bg-white'
164
+ if (this.selectedLanguages.includes(lang)) {
165
+ return `${baseClass} bg-white border border-black`
166
+ }
167
+ return baseClass
168
+ }
169
+
170
+ toggleLanguage(lang: string) {
171
+ if (this.selectedLanguages.includes(lang)) {
172
+ this.removeSelectedLanguage(lang)
173
+ } else {
174
+ this.selectedLanguages.push(lang)
175
+ }
176
+ }
177
+
178
+ removeSelectedLanguage(lang: string) {
179
+ this.selectedLanguages = this.selectedLanguages.filter(
180
+ (language) => language !== lang
181
+ )
182
+ }
183
+
184
+ validateTranslations() {
185
+ const equalLength =
186
+ this.selectedLanguages.length === this.recordLanguages.length
187
+ if (
188
+ this.selectedLanguages.length < this.recordLanguages.length ||
189
+ (equalLength && this.selectedLanguages !== this.recordLanguages)
190
+ ) {
191
+ this.confirmDeleteAction(this.selectedLanguages)
192
+ } else {
193
+ this.updateTranslations()
194
+ }
195
+ }
196
+
197
+ updateTranslations() {
198
+ const newLanguageSelection = this.selectedLanguages.filter(
199
+ (lang) => lang !== this.formLanguage
200
+ )
201
+ this.facade.updateRecordLanguages(this.formLanguage, newLanguageSelection)
202
+ this.recordLanguages = newLanguageSelection
203
+ this.editTranslations = false
204
+ }
205
+
206
+ switchFormLang(lang) {
207
+ // TO IMPLEMENT FURTHER
208
+ }
209
+
210
+ switchDefaultLang(lang: string) {
211
+ this.formLanguage = lang
212
+ this.facade.updateRecordLanguages(
213
+ lang,
214
+ this.selectedLanguages.filter((lang) => lang !== this.formLanguage)
215
+ )
216
+ this.closeActionMenu()
217
+ }
218
+
219
+ confirmDeleteAction(lang?: string[] | string) {
220
+ const dialogRef = this.dialog.open(ConfirmationDialogComponent, {
221
+ data: {
222
+ title: this.translateService.instant(
223
+ 'editor.record.multilingual.confirmation.title'
224
+ ),
225
+ message: this.translateService.instant(
226
+ 'editor.record.multilingual.confirmation.message'
227
+ ),
228
+ confirmText: this.translateService.instant(
229
+ 'editor.record.multilingual.confirmation.confirmText'
230
+ ),
231
+ cancelText: this.translateService.instant(
232
+ 'editor.record.multilingual.confirmation.cancelText'
233
+ ),
234
+ focusCancel: true,
235
+ },
236
+ restoreFocus: true,
237
+ })
238
+ this.subscription.add(
239
+ dialogRef.afterClosed().subscribe((confirmed) => {
240
+ if (confirmed) {
241
+ if (lang) {
242
+ if (!Array.isArray(lang)) {
243
+ this.removeSelectedLanguage(lang)
244
+ this.closeActionMenu()
245
+ }
246
+ this.updateTranslations()
247
+ } else {
248
+ this.facade.updateRecordLanguages(this.formLanguage, [])
249
+ this.isMultilingual = false
250
+ this.selectedLanguages = []
251
+ }
252
+ } else {
253
+ this.isMultilingual = true
254
+ this.selectedLanguages = this.recordLanguages
255
+ }
256
+ this.editTranslations = false
257
+ })
258
+ )
259
+ }
260
+
261
+ isFirstUnsupported(index: number): boolean {
262
+ const langs = this.sortLanguages(this.recordLanguages)
263
+ return (
264
+ langs[index].length === 3 &&
265
+ langs.slice(0, index).every((lang) => lang.length !== 3)
266
+ )
267
+ }
268
+
269
+ isLangSupported(lang: string) {
270
+ return lang.length === 2
271
+ }
272
+
273
+ getToggleTitle(lang: string) {
274
+ if (lang === this._record.defaultLanguage) {
275
+ return this.translateService.instant(
276
+ 'editor.record.form.multilingual.forbidden'
277
+ )
278
+ }
279
+ return ''
280
+ }
281
+
282
+ openActionMenu(item: string, template) {
283
+ this.isActionMenuOpen = true
284
+ const index = this.sortLanguages(this.selectedLanguages).indexOf(item)
285
+ const buttonElement = this.actionMenuButtons.toArray()[index]
286
+
287
+ const positionStrategy = this.overlay
288
+ .position()
289
+ .flexibleConnectedTo(buttonElement)
290
+ .withFlexibleDimensions(true)
291
+ .withPush(true)
292
+ .withPositions([
293
+ {
294
+ originX: 'end',
295
+ originY: 'bottom',
296
+ overlayX: 'end',
297
+ overlayY: 'top',
298
+ },
299
+ {
300
+ originX: 'end',
301
+ originY: 'top',
302
+ overlayX: 'end',
303
+ overlayY: 'bottom',
304
+ },
305
+ ])
306
+
307
+ this.overlayRef = this.overlay.create({
308
+ hasBackdrop: true,
309
+ backdropClass: 'cdk-overlay-transparent-backdrop',
310
+ positionStrategy: positionStrategy,
311
+ scrollStrategy: this.overlay.scrollStrategies.reposition(),
312
+ })
313
+
314
+ const portal = new TemplatePortal(template, this.viewContainerRef)
315
+
316
+ this.overlayRef.attach(portal)
317
+ this.subscription.add(
318
+ this.overlayRef.backdropClick().subscribe(() => {
319
+ this.closeActionMenu()
320
+ })
321
+ )
322
+ }
323
+
324
+ closeActionMenu() {
325
+ if (this.overlayRef) {
326
+ this.isActionMenuOpen = false
327
+ this.overlayRef.dispose()
328
+ this.cdr.markForCheck()
329
+ }
330
+ }
331
+ }
@@ -11,10 +11,8 @@ import {
11
11
  OnlineLinkResource,
12
12
  OnlineResource,
13
13
  } from '../../../../../../../libs/common/domain/src/lib/model/record'
14
- import { ThumbnailComponent } from '../../../../../../../libs/ui/elements/src'
15
14
  import { bytesToMegabytes, getFileFormat } from '../../../../../../../libs/util/shared/src'
16
- import { ButtonComponent } from '../../../../../../../libs/ui/inputs/src'
17
- import { TranslateModule } from '@ngx-translate/core'
15
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
18
16
  import {
19
17
  NgIconComponent,
20
18
  provideIcons,
@@ -25,13 +23,7 @@ import { iconoirAttachment } from '@ng-icons/iconoir'
25
23
  @Component({
26
24
  selector: 'gn-ui-online-resource-card',
27
25
  standalone: true,
28
- imports: [
29
- CommonModule,
30
- ThumbnailComponent,
31
- ButtonComponent,
32
- TranslateModule,
33
- NgIconComponent,
34
- ],
26
+ imports: [CommonModule, TranslateDirective, TranslatePipe, NgIconComponent],
35
27
  providers: [
36
28
  provideIcons({
37
29
  iconoirAttachment,
@@ -66,9 +58,8 @@ export class OnlineResourceCardComponent {
66
58
  get subtitle(): string {
67
59
  switch (this.onlineResource.type) {
68
60
  case 'service':
69
- return `${this.onlineResource.accessServiceProtocol}`
70
61
  case 'endpoint':
71
- return `${this.onlineResource.protocol}`
62
+ return `${this.onlineResource.accessServiceProtocol}`
72
63
  case 'link':
73
64
  case 'download':
74
65
  return this.getFormat(this.onlineResource)
@@ -28,7 +28,7 @@ import {
28
28
  provideNgIconsConfig,
29
29
  } from '@ng-icons/core'
30
30
  import { iconoirRefresh } from '@ng-icons/iconoir'
31
- import { TranslateModule } from '@ngx-translate/core'
31
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
32
32
  import {
33
33
  BehaviorSubject,
34
34
  debounceTime,
@@ -57,7 +57,8 @@ marker(
57
57
  MatRadioModule,
58
58
  NgIconComponent,
59
59
  TextInputComponent,
60
- TranslateModule,
60
+ TranslateDirective,
61
+ TranslatePipe,
61
62
  UrlInputComponent,
62
63
  ],
63
64
  providers: [
@@ -81,8 +82,8 @@ export class OnlineServiceResourceInputComponent {
81
82
  errorMessage = false
82
83
  resetUrlOnChange = Math.random()
83
84
 
84
- layersSubject = new BehaviorSubject<{ name: string; title: string }[]>([])
85
- layers$: Observable<{ name: string; title: string }[]> =
85
+ layersSubject = new BehaviorSubject<{ name?: string; title?: string }[]>([])
86
+ layers$: Observable<{ name?: string; title?: string }[]> =
86
87
  this.layersSubject.asObservable()
87
88
 
88
89
  protocolOptions: {
@@ -13,9 +13,9 @@ import {
13
13
  CatalogRecordKeys,
14
14
  Constraint,
15
15
  } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
16
- import { ButtonComponent, UiInputsModule } from '../../../../../../../../../libs/ui/inputs/src'
16
+ import { ButtonComponent } from '../../../../../../../../../libs/ui/inputs/src'
17
17
  import { marker } from '@biesbjerg/ngx-translate-extract-marker'
18
- import { TranslateModule } from '@ngx-translate/core'
18
+ import { TranslatePipe } from '@ngx-translate/core'
19
19
  import {
20
20
  NgIconComponent,
21
21
  provideIcons,
@@ -36,10 +36,9 @@ marker('editor.record.form.constraint.header.otherConstraints')
36
36
  CommonModule,
37
37
  SortableListComponent,
38
38
  ConstraintCardComponent,
39
- UiInputsModule,
40
39
  ButtonComponent,
41
- TranslateModule,
42
40
  NgIconComponent,
41
+ TranslatePipe,
43
42
  ],
44
43
  providers: [
45
44
  provideIcons({ iconoirPlus }),
@@ -7,7 +7,7 @@ import {
7
7
  import { CommonModule } from '@angular/common'
8
8
  import { EditorFacade } from '../../../../+state/editor.facade'
9
9
  import { ButtonComponent, CheckToggleComponent } from '../../../../../../../../../libs/ui/inputs/src'
10
- import { TranslateModule } from '@ngx-translate/core'
10
+ import { TranslatePipe } from '@ngx-translate/core'
11
11
  import {
12
12
  combineLatest,
13
13
  distinctUntilChanged,
@@ -53,7 +53,7 @@ export type ConstraintChoice =
53
53
  CommonModule,
54
54
  CheckToggleComponent,
55
55
  ButtonComponent,
56
- TranslateModule,
56
+ TranslatePipe,
57
57
  NgIconComponent,
58
58
  ],
59
59
  providers: [
@@ -10,17 +10,12 @@ import {
10
10
  Output,
11
11
  SimpleChanges,
12
12
  } from '@angular/core'
13
- import {
14
- AutocompleteComponent,
15
- DropdownSelectorComponent,
16
- UiInputsModule,
17
- } from '../../../../../../../../../libs/ui/inputs/src'
18
- import { UiWidgetsModule } from '../../../../../../../../../libs/ui/widgets/src'
13
+ import { AutocompleteComponent } from '../../../../../../../../../libs/ui/inputs/src'
19
14
  import {
20
15
  Individual,
21
16
  Organization,
22
17
  } from '../../../../../../../../../libs/common/domain/src/lib/model/record'
23
- import { TranslateModule } from '@ngx-translate/core'
18
+ import { TranslateDirective, TranslatePipe } from '@ngx-translate/core'
24
19
  import {
25
20
  debounceTime,
26
21
  distinctUntilChanged,
@@ -44,12 +39,10 @@ import { SortableListComponent } from '../../../../../../../../../libs/ui/layout
44
39
  changeDetection: ChangeDetectionStrategy.OnPush,
45
40
  standalone: true,
46
41
  imports: [
47
- DropdownSelectorComponent,
48
- UiInputsModule,
49
42
  CommonModule,
50
- UiWidgetsModule,
51
43
  AutocompleteComponent,
52
- TranslateModule,
44
+ TranslateDirective,
45
+ TranslatePipe,
53
46
  ContactCardComponent,
54
47
  SortableListComponent,
55
48
  ],