geonetwork-ui 2.6.0-dev.ceb4be4c1 → 2.6.0-dev.cfd9cd166

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 (595) hide show
  1. package/README.md +2 -3
  2. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +11 -2
  3. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +3 -3
  4. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +17 -11
  5. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +3 -3
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +6 -6
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +3 -3
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +14 -6
  9. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +4 -4
  10. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +5 -5
  11. package/esm2022/libs/api/metadata-converter/src/lib/translate-utils.mjs +17 -0
  12. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  13. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/constant.mjs +4 -2
  14. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +18 -16
  15. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +53 -14
  16. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +8 -8
  17. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +14 -11
  18. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +23 -13
  19. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +2 -1
  20. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  21. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  22. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +7 -31
  23. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +9 -8
  24. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +4 -4
  25. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -5
  26. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +5 -3
  27. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
  28. package/esm2022/libs/feature/editor/src/index.mjs +1 -4
  29. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +2 -1
  30. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +13 -7
  31. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +4 -1
  32. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +5 -1
  33. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +5 -7
  34. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +8 -13
  35. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +5 -6
  36. package/esm2022/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.mjs +268 -11
  37. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +4 -13
  38. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +5 -5
  39. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +5 -8
  40. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +4 -5
  41. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +6 -10
  42. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +8 -14
  43. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +4 -15
  44. 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
  45. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +4 -4
  46. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +4 -4
  47. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +4 -4
  48. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +4 -4
  49. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +4 -4
  50. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +6 -17
  51. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +4 -5
  52. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -30
  53. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +1 -3
  54. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +5 -6
  55. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +11 -8
  56. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +11 -8
  57. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +11 -6
  58. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +10 -5
  59. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +3 -36
  60. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +5 -11
  61. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -6
  62. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +20 -19
  63. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +6 -7
  64. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +4 -5
  65. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +6 -7
  66. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +4 -4
  67. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +8 -22
  68. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +5 -5
  69. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +15 -7
  70. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +77 -28
  71. package/esm2022/libs/feature/search/src/lib/constants.mjs +3 -2
  72. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
  73. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +24 -27
  74. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +3 -3
  75. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +8 -6
  76. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +6 -6
  77. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +13 -10
  78. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +5 -7
  79. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +4 -4
  80. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +5 -4
  81. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +4 -5
  82. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +4 -5
  83. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -5
  84. package/esm2022/libs/ui/dataviz/src/index.mjs +1 -2
  85. package/esm2022/libs/ui/dataviz/src/lib/data-table/data-table.component.mjs +4 -4
  86. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +5 -5
  87. package/esm2022/libs/ui/elements/src/index.mjs +1 -3
  88. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +6 -6
  89. package/esm2022/libs/ui/elements/src/lib/application-banner/application-banner.component.mjs +5 -5
  90. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -3
  91. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +5 -3
  92. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +4 -5
  93. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
  94. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +4 -5
  95. package/esm2022/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.mjs +4 -5
  96. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +4 -5
  97. package/esm2022/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.mjs +19 -36
  98. package/esm2022/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.mjs +58 -0
  99. package/esm2022/libs/ui/elements/src/lib/kind-badge/kind-badge.component.mjs +7 -10
  100. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +4 -5
  101. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +3 -6
  102. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -5
  103. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -5
  104. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +6 -7
  105. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +39 -16
  106. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +8 -5
  107. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -5
  108. package/esm2022/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.mjs +52 -32
  109. package/esm2022/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.mjs +5 -4
  110. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -5
  111. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -4
  112. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  113. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +5 -6
  114. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -3
  115. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +7 -6
  116. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +29 -7
  117. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -5
  118. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +5 -7
  119. package/esm2022/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.mjs +4 -3
  120. package/esm2022/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.mjs +12 -7
  121. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -5
  122. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +3 -3
  123. package/esm2022/libs/ui/layout/src/index.mjs +2 -2
  124. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +3 -2
  125. package/esm2022/libs/ui/layout/src/lib/cell-popin/cell-popin.component.mjs +110 -0
  126. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +4 -5
  127. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +21 -12
  128. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +4 -5
  129. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +4 -5
  130. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -3
  131. package/esm2022/libs/ui/layout/src/lib/truncated-text/truncated-text.component.mjs +17 -53
  132. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +4 -5
  133. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  134. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +6 -6
  135. package/esm2022/libs/ui/search/src/lib/results-hits-search-kind/results-hits-search-kind.component.mjs +3 -3
  136. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +24 -17
  137. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +28 -17
  138. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +32 -27
  139. package/esm2022/libs/ui/widgets/src/index.mjs +1 -2
  140. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  141. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +1 -3
  142. package/esm2022/libs/util/i18n/src/index.mjs +2 -3
  143. package/esm2022/libs/util/i18n/src/lib/embedded.translate.loader.mjs +3 -2
  144. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +36 -28
  145. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +10 -9
  146. package/esm2022/libs/util/i18n/src/lib/i18n.providers.mjs +41 -0
  147. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +63 -3
  148. package/esm2022/libs/util/shared/src/index.mjs +2 -2
  149. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +3 -2
  150. package/esm2022/libs/util/shared/src/lib/record.util.mjs +56 -0
  151. package/esm2022/translations/de.json +41 -22
  152. package/esm2022/translations/en.json +41 -22
  153. package/esm2022/translations/es.json +40 -21
  154. package/esm2022/translations/fr.json +41 -22
  155. package/esm2022/translations/it.json +40 -21
  156. package/esm2022/translations/nl.json +40 -21
  157. package/esm2022/translations/pt.json +40 -21
  158. package/esm2022/translations/sk.json +602 -0
  159. package/fesm2022/geonetwork-ui.mjs +11190 -10577
  160. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  161. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -1
  162. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +4 -4
  163. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  164. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +1 -0
  165. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  166. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  167. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  168. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  169. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts +2 -0
  170. package/libs/api/metadata-converter/src/lib/translate-utils.d.ts.map +1 -0
  171. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  172. package/libs/api/repository/src/lib/gn4/elasticsearch/constant.d.ts.map +1 -1
  173. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +8 -6
  174. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  175. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +11 -3
  176. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  177. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts +1 -0
  178. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  179. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts +4 -4
  180. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  181. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +6 -3
  182. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  183. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts +1 -0
  184. package/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.d.ts.map +1 -1
  185. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +20 -17
  186. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  187. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +5 -1
  188. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  189. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +4 -8
  190. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  191. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts +3 -3
  192. package/libs/feature/catalog/src/lib/sources/sources.service.d.ts.map +1 -1
  193. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  194. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  195. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  196. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  197. package/libs/feature/editor/src/index.d.ts +0 -3
  198. package/libs/feature/editor/src/index.d.ts.map +1 -1
  199. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +8 -1
  200. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  201. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +10 -12
  202. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  203. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +2 -1
  204. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  205. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  206. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +1 -1
  207. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  208. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -1
  209. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  210. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -1
  211. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts +48 -3
  212. package/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.d.ts.map +1 -1
  213. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -1
  214. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -1
  215. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -1
  216. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -1
  217. 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
  218. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  219. 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
  220. 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
  221. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  222. 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
  223. 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
  224. 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
  225. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  226. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +10 -17
  227. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  228. package/libs/feature/editor/src/lib/models/index.d.ts +0 -2
  229. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  230. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  231. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  232. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  233. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  234. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  235. package/libs/feature/map/src/lib/feature-map.module.d.ts +2 -11
  236. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  237. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  238. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  239. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +7 -4
  240. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  241. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  242. package/libs/feature/record/src/lib/feature-record.module.d.ts +8 -12
  243. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  244. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -1
  245. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -1
  246. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +13 -6
  247. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  248. package/libs/feature/search/src/lib/constants.d.ts.map +1 -1
  249. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  250. package/libs/feature/search/src/lib/feature-search.module.d.ts +24 -24
  251. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  252. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts +2 -1
  253. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  254. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +6 -5
  255. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  256. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +1 -2
  257. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -1
  258. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -1
  259. package/libs/feature/search/src/lib/utils/service/fields.d.ts +1 -2
  260. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  261. package/libs/ui/dataviz/src/index.d.ts +0 -1
  262. package/libs/ui/dataviz/src/index.d.ts.map +1 -1
  263. package/libs/ui/dataviz/src/lib/data-table/data-table.component.d.ts.map +1 -1
  264. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -1
  265. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  266. package/libs/ui/elements/src/index.d.ts +0 -2
  267. package/libs/ui/elements/src/index.d.ts.map +1 -1
  268. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  269. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts +1 -1
  270. package/libs/ui/elements/src/lib/avatar/avatar.component.d.ts.map +1 -1
  271. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +2 -0
  272. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -1
  273. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  274. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts +4 -7
  275. package/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.d.ts.map +1 -1
  276. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts +14 -0
  277. package/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.d.ts.map +1 -0
  278. package/libs/ui/elements/src/lib/kind-badge/kind-badge.component.d.ts.map +1 -1
  279. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  280. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  281. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +3 -0
  282. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  283. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  284. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  285. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts +20 -9
  286. package/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.d.ts.map +1 -1
  287. package/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.d.ts.map +1 -1
  288. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts +1 -1
  289. package/libs/ui/elements/src/lib/user-preview/user-preview.component.d.ts.map +1 -1
  290. package/libs/ui/inputs/src/index.d.ts +0 -1
  291. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  292. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts +1 -1
  293. package/libs/ui/inputs/src/lib/checkbox/checkbox.component.d.ts.map +1 -1
  294. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts +1 -1
  295. package/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.d.ts.map +1 -1
  296. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts +1 -1
  297. package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
  298. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -1
  299. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts +1 -1
  300. package/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.d.ts.map +1 -1
  301. package/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.d.ts.map +1 -1
  302. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts +1 -1
  303. package/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.d.ts.map +1 -1
  304. package/libs/ui/layout/src/index.d.ts +1 -1
  305. package/libs/ui/layout/src/index.d.ts.map +1 -1
  306. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts +1 -1
  307. package/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.d.ts.map +1 -1
  308. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts +28 -0
  309. package/libs/ui/layout/src/lib/cell-popin/cell-popin.component.d.ts.map +1 -0
  310. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +4 -2
  311. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  312. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts +1 -1
  313. package/libs/ui/layout/src/lib/sticky-header/sticky-header.component.d.ts.map +1 -1
  314. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts +6 -11
  315. package/libs/ui/layout/src/lib/truncated-text/truncated-text.component.d.ts.map +1 -1
  316. package/libs/ui/search/src/index.d.ts +1 -0
  317. package/libs/ui/search/src/index.d.ts.map +1 -1
  318. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +4 -3
  319. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -1
  320. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +5 -3
  321. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  322. package/libs/ui/search/src/lib/ui-search.module.d.ts +12 -11
  323. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  324. package/libs/ui/widgets/src/index.d.ts +0 -1
  325. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  326. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts +1 -1
  327. package/libs/ui/widgets/src/lib/color-scale/color-scale.component.d.ts.map +1 -1
  328. package/libs/util/app-config/src/lib/app-config.d.ts +0 -1
  329. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  330. package/libs/util/i18n/src/index.d.ts +1 -2
  331. package/libs/util/i18n/src/index.d.ts.map +1 -1
  332. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts +1 -1
  333. package/libs/util/i18n/src/lib/embedded.translate.loader.d.ts.map +1 -1
  334. package/libs/util/i18n/src/lib/i18n.constants.d.ts +6 -15
  335. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  336. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts +5 -5
  337. package/libs/util/i18n/src/lib/i18n.interceptor.d.ts.map +1 -1
  338. package/libs/util/i18n/src/lib/i18n.providers.d.ts +4 -0
  339. package/libs/util/i18n/src/lib/i18n.providers.d.ts.map +1 -0
  340. package/libs/util/i18n/src/lib/language-codes.d.ts +15 -19
  341. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -1
  342. package/libs/util/shared/src/index.d.ts +1 -1
  343. package/libs/util/shared/src/index.d.ts.map +1 -1
  344. package/libs/util/shared/src/lib/image-fallback.directive.d.ts +1 -1
  345. package/libs/util/shared/src/lib/image-fallback.directive.d.ts.map +1 -1
  346. package/libs/util/shared/src/lib/record.util.d.ts +3 -0
  347. package/libs/util/shared/src/lib/record.util.d.ts.map +1 -0
  348. package/package.json +3 -3
  349. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +10 -1
  350. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +2 -2
  351. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
  352. package/src/libs/api/metadata-converter/src/lib/fixtures/metadata-for-i18n.records.ts +4196 -0
  353. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +19 -6
  354. package/src/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.ts +4 -4
  355. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +11 -5
  356. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +2 -2
  357. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +14 -8
  358. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +8 -5
  359. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +5 -4
  360. package/src/libs/api/metadata-converter/src/lib/translate-utils.ts +17 -0
  361. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +3 -6
  362. package/src/libs/api/repository/src/lib/gn4/elasticsearch/constant.ts +3 -1
  363. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +14 -6
  364. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +71 -13
  365. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +8 -7
  366. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +13 -6
  367. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +24 -20
  368. package/src/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.ts +3 -0
  369. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +20 -14
  370. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +9 -1
  371. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +113 -0
  372. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +4 -17
  373. package/src/libs/feature/catalog/src/lib/sources/sources.service.ts +7 -3
  374. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +2 -2
  375. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +2 -2
  376. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +4 -2
  377. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +2 -2
  378. package/src/libs/feature/editor/src/index.ts +0 -3
  379. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +9 -1
  380. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +23 -12
  381. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +13 -1
  382. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +9 -1
  383. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +3 -4
  384. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +5 -16
  385. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +7 -5
  386. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.html +117 -11
  387. package/src/libs/feature/editor/src/lib/components/multilingual-panel/multilingual-panel.component.ts +322 -6
  388. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +2 -10
  389. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +3 -2
  390. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +3 -4
  391. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +2 -2
  392. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +4 -11
  393. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +5 -9
  394. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +2 -17
  395. 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
  396. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +2 -2
  397. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +2 -2
  398. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +2 -2
  399. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +2 -2
  400. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +2 -2
  401. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +2 -2
  402. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +2 -15
  403. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -2
  404. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -17
  405. package/src/libs/feature/editor/src/lib/models/index.ts +0 -2
  406. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +2 -1
  407. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +8 -3
  408. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +10 -3
  409. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +8 -2
  410. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +8 -2
  411. package/src/libs/feature/map/src/lib/feature-map.module.ts +0 -17
  412. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +3 -8
  413. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +3 -2
  414. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +1 -1
  415. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +22 -19
  416. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +2 -2
  417. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +2 -2
  418. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +2 -2
  419. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
  420. package/src/libs/feature/record/src/lib/feature-record.module.ts +4 -13
  421. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +4 -3
  422. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +10 -4
  423. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +27 -9
  424. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +113 -30
  425. package/src/libs/feature/search/src/lib/constants.ts +2 -1
  426. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -2
  427. package/src/libs/feature/search/src/lib/feature-search.module.ts +13 -18
  428. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -1
  429. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +5 -0
  430. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  431. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +13 -3
  432. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +10 -4
  433. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +2 -2
  434. package/src/libs/feature/search/src/lib/utils/service/fields.ts +4 -3
  435. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  436. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +2 -2
  437. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +2 -2
  438. package/src/libs/ui/dataviz/src/index.ts +0 -1
  439. package/src/libs/ui/dataviz/src/lib/data-table/data-table.component.ts +2 -2
  440. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +0 -1
  441. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +4 -0
  442. package/src/libs/ui/elements/src/index.ts +0 -2
  443. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +3 -2
  444. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.html +6 -6
  445. package/src/libs/ui/elements/src/lib/application-banner/application-banner.component.ts +2 -2
  446. package/src/libs/ui/elements/src/lib/avatar/avatar.component.ts +3 -0
  447. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +6 -2
  448. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +5 -1
  449. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +2 -2
  450. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +2 -5
  451. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -2
  452. package/src/libs/ui/elements/src/lib/geo-data-badge/geo-data-badge.component.ts +2 -2
  453. package/src/libs/ui/elements/src/lib/image-input/image-input.component.ts +2 -2
  454. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.html +8 -76
  455. package/src/libs/ui/elements/src/lib/internal-link-card/internal-link-card.component.ts +22 -55
  456. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.html +69 -0
  457. package/src/libs/ui/elements/src/lib/internal-link-card-contact/internal-link-card-contact.component.ts +61 -0
  458. package/src/libs/ui/elements/src/lib/kind-badge/kind-badge.component.ts +4 -5
  459. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +2 -2
  460. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -4
  461. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +2 -2
  462. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +2 -2
  463. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +4 -7
  464. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +51 -13
  465. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +6 -2
  466. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
  467. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.html +96 -37
  468. package/src/libs/ui/elements/src/lib/record-feature-catalog/feature-catalog-list/feature-catalog-list.component.ts +62 -31
  469. package/src/libs/ui/elements/src/lib/service-capabilities/service-capabilities.component.ts +7 -2
  470. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +2 -2
  471. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.ts +4 -0
  472. package/src/libs/ui/inputs/src/index.ts +0 -1
  473. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +2 -2
  474. package/src/libs/ui/inputs/src/lib/checkbox/checkbox.component.ts +3 -0
  475. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.html +1 -1
  476. package/src/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.ts +4 -0
  477. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +27 -0
  478. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +2 -2
  479. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +3 -4
  480. package/src/libs/ui/inputs/src/lib/inline-filter/inline-filter.component.ts +3 -0
  481. package/src/libs/ui/inputs/src/lib/search-feature-catalog/search-feature-catalog.component.ts +9 -3
  482. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +2 -2
  483. package/src/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.ts +1 -0
  484. package/src/libs/ui/layout/src/index.ts +1 -1
  485. package/src/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.ts +1 -0
  486. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.html +40 -0
  487. package/src/libs/ui/layout/src/lib/cell-popin/cell-popin.component.ts +141 -0
  488. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +2 -2
  489. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +2 -2
  490. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +15 -8
  491. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.ts +2 -2
  492. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +2 -2
  493. package/src/libs/ui/layout/src/lib/sticky-header/sticky-header.component.ts +3 -0
  494. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.html +25 -42
  495. package/src/libs/ui/layout/src/lib/truncated-text/truncated-text.component.ts +12 -58
  496. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +2 -2
  497. package/src/libs/ui/search/src/index.ts +1 -0
  498. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +4 -1
  499. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +16 -6
  500. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +18 -15
  501. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +15 -23
  502. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +34 -13
  503. package/src/libs/ui/search/src/lib/ui-search.module.ts +15 -11
  504. package/src/libs/ui/widgets/src/index.ts +0 -1
  505. package/src/libs/ui/widgets/src/lib/color-scale/color-scale.component.ts +1 -0
  506. package/src/libs/util/app-config/src/lib/app-config.ts +0 -2
  507. package/src/libs/util/i18n/src/index.ts +1 -2
  508. package/src/libs/util/i18n/src/lib/embedded.translate.loader.ts +4 -3
  509. package/src/libs/util/i18n/src/lib/i18n.constants.ts +39 -29
  510. package/src/libs/util/i18n/src/lib/i18n.interceptor.ts +11 -9
  511. package/src/libs/util/i18n/src/lib/i18n.providers.ts +68 -0
  512. package/src/libs/util/i18n/src/lib/language-codes.ts +67 -2
  513. package/src/libs/util/shared/src/index.ts +1 -1
  514. package/src/libs/util/shared/src/lib/image-fallback.directive.ts +1 -0
  515. package/src/libs/util/shared/src/lib/record.util.ts +114 -0
  516. package/tailwind.base.css +1 -1
  517. package/translations/de.json +41 -22
  518. package/translations/en.json +41 -22
  519. package/translations/es.json +40 -21
  520. package/translations/fr.json +41 -22
  521. package/translations/it.json +40 -21
  522. package/translations/nl.json +40 -21
  523. package/translations/pt.json +40 -21
  524. package/translations/sk.json +40 -21
  525. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +0 -44
  526. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +0 -75
  527. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +0 -160
  528. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +0 -53
  529. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.model.mjs +0 -2
  530. package/esm2022/libs/feature/editor/src/lib/models/wizard-field.type.mjs +0 -8
  531. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +0 -87
  532. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +0 -47
  533. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +0 -56
  534. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +0 -130
  535. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +0 -160
  536. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +0 -23
  537. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +0 -46
  538. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +0 -31
  539. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +0 -37
  540. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +0 -18
  541. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +0 -14
  542. 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
  543. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts +0 -31
  544. package/libs/feature/editor/src/lib/components/wizard/wizard.component.d.ts.map +0 -1
  545. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts +0 -43
  546. package/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.d.ts.map +0 -1
  547. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts +0 -17
  548. package/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.d.ts.map +0 -1
  549. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts +0 -10
  550. package/libs/feature/editor/src/lib/models/wizard-field.model.d.ts.map +0 -1
  551. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts +0 -7
  552. package/libs/feature/editor/src/lib/models/wizard-field.type.d.ts.map +0 -1
  553. package/libs/feature/editor/src/lib/services/wizard.service.d.ts +0 -33
  554. package/libs/feature/editor/src/lib/services/wizard.service.d.ts.map +0 -1
  555. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +0 -11
  556. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +0 -1
  557. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +0 -19
  558. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +0 -1
  559. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +0 -31
  560. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +0 -1
  561. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +0 -35
  562. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +0 -1
  563. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +0 -12
  564. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +0 -1
  565. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +0 -15
  566. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +0 -1
  567. package/libs/util/i18n/src/lib/lang.service.d.ts +0 -13
  568. package/libs/util/i18n/src/lib/lang.service.d.ts.map +0 -1
  569. package/libs/util/i18n/src/lib/util-i18n.module.d.ts +0 -12
  570. package/libs/util/i18n/src/lib/util-i18n.module.d.ts.map +0 -1
  571. package/libs/util/shared/src/lib/util-shared.module.d.ts +0 -9
  572. package/libs/util/shared/src/lib/util-shared.module.d.ts.map +0 -1
  573. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.css +0 -5
  574. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +0 -22
  575. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.ts +0 -93
  576. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.css +0 -31
  577. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +0 -62
  578. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.ts +0 -206
  579. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.css +0 -3
  580. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.html +0 -21
  581. package/src/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.ts +0 -58
  582. package/src/libs/feature/editor/src/lib/models/wizard-field.model.ts +0 -10
  583. package/src/libs/feature/editor/src/lib/models/wizard-field.type.ts +0 -6
  584. package/src/libs/feature/editor/src/lib/services/wizard.service.ts +0 -105
  585. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +0 -27
  586. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.css +0 -0
  587. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +0 -9
  588. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +0 -61
  589. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -72
  590. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +0 -96
  591. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -14
  592. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -25
  593. package/src/libs/util/i18n/src/lib/lang.service.ts +0 -23
  594. package/src/libs/util/i18n/src/lib/util-i18n.module.ts +0 -26
  595. package/src/libs/util/shared/src/lib/util-shared.module.ts +0 -10
@@ -1,206 +0,0 @@
1
- import {
2
- AfterViewInit,
3
- ChangeDetectionStrategy,
4
- ChangeDetectorRef,
5
- Component,
6
- Input,
7
- OnDestroy,
8
- ViewChild,
9
- } from '@angular/core'
10
- import {
11
- MAT_MOMENT_DATE_ADAPTER_OPTIONS,
12
- MomentDateAdapter,
13
- } from '@angular/material-moment-adapter'
14
- import {
15
- DateAdapter,
16
- MAT_DATE_FORMATS,
17
- MAT_DATE_LOCALE,
18
- } from '@angular/material/core'
19
- import { MatDatepickerInputEvent } from '@angular/material/datepicker'
20
- import { marker } from '@biesbjerg/ngx-translate-extract-marker'
21
- import { getLangFromBrowser } from '../../../../../../../libs/util/i18n/src'
22
- import { WizardFieldModel } from '../../models/wizard-field.model'
23
- import { WizardFieldType } from '../../models/wizard-field.type'
24
- import { WizardService } from '../../services/wizard.service'
25
- import {
26
- DropdownSelectorComponent,
27
- TextAreaComponent,
28
- TextInputComponent,
29
- } from '../../../../../../../libs/ui/inputs/src'
30
- import { Subscription } from 'rxjs'
31
-
32
- marker('datafeeder.month.january')
33
- marker('datafeeder.month.february')
34
- marker('datafeeder.month.march')
35
- marker('datafeeder.month.april')
36
- marker('datafeeder.month.may')
37
- marker('datafeeder.month.june')
38
- marker('datafeeder.month.july')
39
- marker('datafeeder.month.august')
40
- marker('datafeeder.month.september')
41
- marker('datafeeder.month.october')
42
- marker('datafeeder.month.november')
43
- marker('datafeeder.month.december')
44
-
45
- export const MY_FORMATS = {
46
- parse: {
47
- dateInput: 'LL',
48
- },
49
- display: {
50
- dateInput: 'LL',
51
- monthYearLabel: 'MMM YYYY',
52
- dateA11yLabel: 'LL',
53
- monthYearA11yLabel: 'MMMM YYYY',
54
- },
55
- }
56
-
57
- @Component({
58
- selector: 'gn-ui-wizard-field',
59
- templateUrl: './wizard-field.component.html',
60
- styleUrls: ['./wizard-field.component.css'],
61
- providers: [
62
- { provide: MAT_DATE_LOCALE, useValue: getLangFromBrowser() },
63
- {
64
- provide: DateAdapter,
65
- useClass: MomentDateAdapter,
66
- deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
67
- },
68
- { provide: MAT_DATE_FORMATS, useValue: MY_FORMATS },
69
- ],
70
- changeDetection: ChangeDetectionStrategy.OnPush,
71
- })
72
- export class WizardFieldComponent implements AfterViewInit, OnDestroy {
73
- @Input() wizardFieldConfig: WizardFieldModel
74
-
75
- @ViewChild('searchText') searchText: TextInputComponent
76
- @ViewChild('textArea') textArea: TextAreaComponent
77
- @ViewChild('dropdown') dropdown: DropdownSelectorComponent
78
-
79
- subs = new Subscription()
80
-
81
- get wizardFieldType(): typeof WizardFieldType {
82
- return WizardFieldType
83
- }
84
-
85
- get dropdownChoices(): any {
86
- return this.wizardFieldConfig.options
87
- }
88
-
89
- get wizardFieldData() {
90
- const data = this.wizardService.getWizardFieldData(
91
- this.wizardFieldConfig.id
92
- )
93
- switch (this.wizardFieldConfig.type) {
94
- case WizardFieldType.TEXT: {
95
- return data || ''
96
- }
97
- case WizardFieldType.TEXT_AREA: {
98
- return data || ''
99
- }
100
- case WizardFieldType.DATA_PICKER: {
101
- return data ? new Date(Number(data)) : new Date()
102
- }
103
- case WizardFieldType.DROPDOWN: {
104
- return data ? JSON.parse(data) : this.dropdownChoices[0]?.value
105
- }
106
- }
107
- }
108
-
109
- constructor(
110
- private wizardService: WizardService,
111
- private cdr: ChangeDetectorRef
112
- ) {}
113
-
114
- ngAfterViewInit() {
115
- this.initializeListeners()
116
- this.cdr.detectChanges()
117
- }
118
-
119
- ngOnDestroy() {
120
- this.subs.unsubscribe()
121
- }
122
-
123
- private initializeListeners() {
124
- switch (this.wizardFieldConfig.type) {
125
- case WizardFieldType.TEXT: {
126
- this.initializeTextInputListener()
127
- break
128
- }
129
- case WizardFieldType.TEXT_AREA: {
130
- this.initializeTextAreaListener()
131
- return
132
- }
133
- case WizardFieldType.DATA_PICKER: {
134
- this.initializeDateInput()
135
- return
136
- }
137
- case WizardFieldType.DROPDOWN: {
138
- this.initializeDropdownListener()
139
- return
140
- }
141
- }
142
- }
143
-
144
- private initializeTextInputListener() {
145
- this.subs.add(
146
- this.searchText.valueChange.subscribe((value) => {
147
- this.wizardService.onWizardWizardFieldDataChanged(
148
- this.wizardFieldConfig.id,
149
- value
150
- )
151
- })
152
- )
153
- }
154
-
155
- private initializeTextAreaListener() {
156
- this.subs.add(
157
- this.textArea.valueChange.subscribe((value) => {
158
- this.wizardService.onWizardWizardFieldDataChanged(
159
- this.wizardFieldConfig.id,
160
- value
161
- )
162
- })
163
- )
164
- }
165
-
166
- initializeDateInput() {
167
- const time = this.wizardService.getWizardFieldData(
168
- this.wizardFieldConfig.id
169
- )
170
- if (!time) {
171
- this.wizardService.onWizardWizardFieldDataChanged(
172
- this.wizardFieldConfig.id,
173
- new Date().valueOf()
174
- )
175
- }
176
- }
177
-
178
- onDateChange(event: MatDatepickerInputEvent<Date>) {
179
- this.wizardService.onWizardWizardFieldDataChanged(
180
- this.wizardFieldConfig.id,
181
- event.value.valueOf()
182
- )
183
- }
184
-
185
- private initializeDropdownListener() {
186
- if (
187
- this.wizardService.getWizardFieldData(this.wizardFieldConfig.id) ===
188
- undefined &&
189
- !!this.dropdown.selected
190
- ) {
191
- this.wizardService.setWizardFieldData(
192
- this.wizardFieldConfig.id,
193
- this.dropdown.selected
194
- )
195
- }
196
-
197
- this.subs.add(
198
- this.dropdown.selectValue.subscribe((value) => {
199
- this.wizardService.onWizardWizardFieldDataChanged(
200
- this.wizardFieldConfig.id,
201
- value
202
- )
203
- })
204
- )
205
- }
206
- }
@@ -1,3 +0,0 @@
1
- .icon-tag:before {
2
- font-size: 18px;
3
- }
@@ -1,21 +0,0 @@
1
- <div>
2
- <div class="text-2xl font-bold title">
3
- {{ title | uppercase }}
4
- </div>
5
- <div class="text-lg font-bold pt-2 abstract">
6
- {{ abstract }}
7
- </div>
8
- <div class="text-lg font-normal">
9
- <span translate>datafeeder.wizardSummarize.createdAt</span>
10
- &nbsp;<span class="date">{{ createdDate }}</span> -
11
- <span translate>datafeeder.wizardSummarize.scale</span>
12
- &nbsp;<span class="scale">{{ scale }}</span>
13
- </div>
14
- <div class="text-lg italic font-normal description">
15
- {{ description }}
16
- </div>
17
- <div class="text-sm font-medium pt-4 tags">
18
- <span class="icon-tag pr-2"></span>
19
- {{ tags }}
20
- </div>
21
- </div>
@@ -1,58 +0,0 @@
1
- import { Component } from '@angular/core'
2
- import { WizardService } from '../../services/wizard.service'
3
- import { DateService } from '../../../../../../../libs/util/shared/src'
4
-
5
- @Component({
6
- selector: 'gn-ui-wizard-summarize',
7
- templateUrl: './wizard-summarize.component.html',
8
- styleUrls: ['./wizard-summarize.component.css'],
9
- })
10
- export class WizardSummarizeComponent {
11
- get title() {
12
- return this.wizardService.getWizardFieldData('title') || ''
13
- }
14
-
15
- get abstract() {
16
- return this.wizardService.getWizardFieldData('abstract') || ''
17
- }
18
-
19
- get tags(): string {
20
- if (!this.wizardService.getWizardFieldData('tags')) {
21
- return ''
22
- }
23
-
24
- return JSON.parse(this.wizardService.getWizardFieldData('tags'))
25
- .map((t) => t.display)
26
- .join(' - ')
27
- }
28
-
29
- get createdDate() {
30
- const time = this.wizardService.getWizardFieldData('datepicker')
31
-
32
- return this.dateService.formatDate(new Date(Number(time)), {
33
- year: 'numeric',
34
- month: 'long',
35
- day: 'numeric',
36
- })
37
- }
38
-
39
- get scale() {
40
- if (!this.wizardService.getWizardFieldData('dropdown')) {
41
- return ''
42
- }
43
-
44
- const scaleValue = JSON.parse(
45
- this.wizardService.getWizardFieldData('dropdown')
46
- )
47
- return `1:${scaleValue}`
48
- }
49
-
50
- get description() {
51
- return this.wizardService.getWizardFieldData('description') || ''
52
- }
53
-
54
- constructor(
55
- private wizardService: WizardService,
56
- private dateService: DateService
57
- ) {}
58
- }
@@ -1,10 +0,0 @@
1
- import { WizardFieldType } from './wizard-field.type'
2
-
3
- export interface WizardFieldModel {
4
- id: string
5
- label: string
6
- icon: string
7
- type: WizardFieldType
8
- options?: any
9
- required?: boolean
10
- }
@@ -1,6 +0,0 @@
1
- export enum WizardFieldType {
2
- TEXT,
3
- TEXT_AREA,
4
- DATA_PICKER,
5
- DROPDOWN,
6
- }
@@ -1,105 +0,0 @@
1
- import { Injectable } from '@angular/core'
2
- import { TranslateService } from '@ngx-translate/core'
3
- import { WizardFieldModel } from '../models/wizard-field.model'
4
-
5
- @Injectable({
6
- providedIn: 'root',
7
- })
8
- export class WizardService {
9
- private wizardStep = 1
10
- private wizardData: Map<string, any> = new Map()
11
-
12
- private id: string
13
- private storageKey: string
14
- configuration: WizardFieldModel[][]
15
- constructor(private translateService: TranslateService) {}
16
-
17
- initialize(
18
- id: string,
19
- options: {
20
- configuration: WizardFieldModel[][]
21
- storageKey: string
22
- }
23
- ): void {
24
- this.id = id
25
- const { configuration, storageKey } = options
26
- this.configuration = configuration
27
- this.storageKey = storageKey
28
- this.wizardData.clear()
29
-
30
- this.load()
31
- }
32
-
33
- getCurrentStep(): number {
34
- return this.wizardStep
35
- }
36
-
37
- getStepConfiguration(): WizardFieldModel[] {
38
- return this.configuration[this.wizardStep - 1]
39
- }
40
-
41
- getConfiguration(): WizardFieldModel[][] {
42
- return this.configuration
43
- }
44
-
45
- getConfigurationStepNumber(): number {
46
- return this.configuration.length
47
- }
48
-
49
- getWizardFieldData(fieldId: string) {
50
- return this.wizardData.get(fieldId)
51
- }
52
-
53
- onWizardWizardFieldDataChanged(fieldId: string, data: any): void {
54
- this.setWizardFieldData(fieldId, data)
55
- }
56
-
57
- setWizardFieldData(fieldId: string, data: any): void {
58
- this.wizardData.set(fieldId, data)
59
- this.save()
60
- }
61
-
62
- save(): void {
63
- const values = [...this.wizardData].map(([key, value]) => ({
64
- id: key,
65
- value,
66
- }))
67
- const datafeederState = this.load(false)
68
-
69
- datafeederState[this.id] = {
70
- step: this.wizardStep,
71
- values,
72
- }
73
-
74
- localStorage.setItem(this.storageKey, JSON.stringify(datafeederState))
75
- }
76
-
77
- onWizardStepChanged(step: number) {
78
- if (step > 0 && step < this.getConfigurationStepNumber()) {
79
- this.wizardStep = step
80
- this.save()
81
- }
82
- }
83
-
84
- reset() {
85
- this.wizardStep = 1
86
- localStorage.removeItem(this.storageKey)
87
- }
88
-
89
- private load(write = true) {
90
- const lsItem = localStorage.getItem(this.storageKey)
91
- const datafeederData = lsItem ? JSON.parse(lsItem) : {}
92
- if (write) {
93
- datafeederData[this.id]?.values?.forEach((i) => {
94
- this.wizardData.set(i.id, i.value)
95
- })
96
- this.wizardStep = datafeederData[this.id]?.step || 1
97
- }
98
- return datafeederData
99
- }
100
-
101
- getDataObject() {
102
- this.load()
103
- return Object.fromEntries(this.wizardData)
104
- }
105
- }
@@ -1,27 +0,0 @@
1
- import { NgModule } from '@angular/core'
2
- import { CommonModule } from '@angular/common'
3
- import { FigureComponent } from './figure/figure.component'
4
- import { TranslateModule } from '@ngx-translate/core'
5
- import { NgIconsModule, provideNgIconsConfig } from '@ng-icons/core'
6
- import { matCorporateFare } from '@ng-icons/material-icons/baseline'
7
- import { tablerFolderOpen } from '@ng-icons/tabler-icons'
8
-
9
- @NgModule({
10
- imports: [
11
- CommonModule,
12
- TranslateModule.forChild(),
13
- // FIXME: these imports are required by non-standalone components and should be removed once all components have been made standalone
14
- NgIconsModule.withIcons({
15
- matCorporateFare,
16
- tablerFolderOpen,
17
- }),
18
- ],
19
- providers: [
20
- provideNgIconsConfig({
21
- size: '1.5em',
22
- }),
23
- ],
24
- declarations: [FigureComponent],
25
- exports: [FigureComponent],
26
- })
27
- export class UiDatavizModule {}
@@ -1,9 +0,0 @@
1
- <gn-ui-internal-link-card
2
- [linkHref]="linkHref"
3
- [linkTarget]="'_blank'"
4
- [record]="record"
5
- [favoriteTemplate]="favoriteTemplate"
6
- [metadataQualityDisplay]="metadataQualityDisplay"
7
- [size]="size"
8
- >
9
- </gn-ui-internal-link-card>
@@ -1,61 +0,0 @@
1
- import {
2
- ChangeDetectionStrategy,
3
- Component,
4
- EventEmitter,
5
- Input,
6
- Output,
7
- } from '@angular/core'
8
- import { CatalogRecord } from '../../../../../../libs/common/domain/src/lib/model/record'
9
- import { ThumbnailComponent } from '../thumbnail/thumbnail.component'
10
- import { InternalLinkCardComponent } from '../internal-link-card/internal-link-card.component'
11
- import { RouterLink } from '@angular/router'
12
- import { MatTooltipModule } from '@angular/material/tooltip'
13
- import { NgIcon, provideIcons } from '@ng-icons/core'
14
- import { TranslateModule } from '@ngx-translate/core'
15
- import { matOpenInNew } from '@ng-icons/material-icons/baseline'
16
- import { TemplateRef } from '@angular/core'
17
-
18
- @Component({
19
- selector: 'gn-ui-related-record-card',
20
- templateUrl: './related-record-card.component.html',
21
- styleUrls: ['./related-record-card.component.css'],
22
- changeDetection: ChangeDetectionStrategy.OnPush,
23
- imports: [
24
- InternalLinkCardComponent,
25
- ThumbnailComponent,
26
- RouterLink,
27
- MatTooltipModule,
28
- NgIcon,
29
- TranslateModule,
30
- ],
31
- standalone: true,
32
- viewProviders: [provideIcons({ matOpenInNew })],
33
- })
34
- export class RelatedRecordCardComponent {
35
- private readonly baseClasses: string
36
-
37
- @Input() linkHref: string = null
38
- @Input() record: CatalogRecord
39
- @Input() extraClass = ''
40
- @Input() favoriteTemplate: TemplateRef<{ $implicit: CatalogRecord }>
41
- @Input() metadataQualityDisplay: boolean
42
- @Input() size: string
43
-
44
- constructor() {
45
- this.baseClasses = [
46
- 'w-72',
47
- 'h-96',
48
- 'overflow-hidden',
49
- 'rounded-lg',
50
- 'bg-white',
51
- 'cursor-pointer',
52
- 'block',
53
- 'hover:-translate-y-2 ',
54
- 'duration-[180ms]',
55
- ].join(' ')
56
- }
57
-
58
- get classList() {
59
- return `${this.baseClasses} ${this.extraClass}`
60
- }
61
- }
@@ -1,72 +0,0 @@
1
- import { CommonModule, NgOptimizedImage } from '@angular/common'
2
- import { NgModule } from '@angular/core'
3
- import { FormsModule } from '@angular/forms'
4
- import { MatTooltipModule } from '@angular/material/tooltip'
5
- import { RouterModule } from '@angular/router'
6
- import {
7
- BadgeComponent,
8
- TextInputComponent,
9
- UiInputsModule,
10
- } from '../../../../../libs/ui/inputs/src'
11
- import { MaxLinesComponent, UiLayoutModule } from '../../../../../libs/ui/layout/src'
12
- import { PopoverComponent, UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
13
- import { UtilSharedModule } from '../../../../../libs/util/shared/src'
14
- import { provideNgIconsConfig } from '@ng-icons/core'
15
- import { TranslateModule } from '@ngx-translate/core'
16
- import { AvatarComponent } from './avatar/avatar.component'
17
- import { ImageInputComponent } from './image-input/image-input.component'
18
- import { GeoDataBadgeComponent } from './geo-data-badge/geo-data-badge.component'
19
- import { MarkdownParserComponent } from './markdown-parser/markdown-parser.component'
20
- import { KindBadgeComponent } from './kind-badge/kind-badge.component'
21
- import { ThumbnailComponent } from './thumbnail/thumbnail.component'
22
- import { TimeSincePipe } from './user-feedback-item/time-since.pipe'
23
- import { UserPreviewComponent } from './user-preview/user-preview.component'
24
- import { ApplicationBannerComponent } from './application-banner/application-banner.component'
25
- import { InternalLinkCardComponent } from './internal-link-card/internal-link-card.component'
26
- import { ServiceCapabilitiesComponent } from './service-capabilities/service-capabilities.component'
27
- @NgModule({
28
- imports: [
29
- CommonModule,
30
- MatTooltipModule,
31
- UiWidgetsModule,
32
- UiLayoutModule,
33
- TranslateModule.forChild(),
34
- UtilSharedModule,
35
- RouterModule,
36
- UiInputsModule,
37
- FormsModule,
38
- NgOptimizedImage,
39
- PopoverComponent,
40
- MarkdownParserComponent,
41
- ThumbnailComponent,
42
- TimeSincePipe,
43
- BadgeComponent,
44
- MaxLinesComponent,
45
- TextInputComponent,
46
- ImageInputComponent,
47
- ApplicationBannerComponent,
48
- InternalLinkCardComponent,
49
- ServiceCapabilitiesComponent,
50
- KindBadgeComponent,
51
- GeoDataBadgeComponent,
52
- ],
53
- providers: [
54
- provideNgIconsConfig({
55
- size: '1.5em',
56
- }),
57
- ],
58
- declarations: [AvatarComponent, UserPreviewComponent],
59
- exports: [
60
- ThumbnailComponent,
61
- AvatarComponent,
62
- UserPreviewComponent,
63
- MarkdownParserComponent,
64
- ImageInputComponent,
65
- ApplicationBannerComponent,
66
- InternalLinkCardComponent,
67
- ServiceCapabilitiesComponent,
68
- KindBadgeComponent,
69
- GeoDataBadgeComponent,
70
- ],
71
- })
72
- export class UiElementsModule {}
@@ -1,96 +0,0 @@
1
- import { OverlayModule } from '@angular/cdk/overlay'
2
- import { CommonModule } from '@angular/common'
3
- import { NgModule } from '@angular/core'
4
- import { FormsModule, ReactiveFormsModule } from '@angular/forms'
5
- import { MatAutocompleteModule } from '@angular/material/autocomplete'
6
- import { MatCheckboxModule } from '@angular/material/checkbox'
7
- import { MatNativeDateModule } from '@angular/material/core'
8
- import { MatDatepickerModule } from '@angular/material/datepicker'
9
- import { MatFormFieldModule } from '@angular/material/form-field'
10
- import { MatInputModule } from '@angular/material/input'
11
- import { MatTooltipModule } from '@angular/material/tooltip'
12
- import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
13
- import { UtilSharedModule } from '../../../../../libs/util/shared/src'
14
- import {
15
- NgIconComponent,
16
- provideIcons,
17
- provideNgIconsConfig,
18
- } from '@ng-icons/core'
19
- import {
20
- matClose,
21
- matExpandLess,
22
- matExpandMore,
23
- } from '@ng-icons/material-icons/baseline'
24
- import { TranslateModule } from '@ngx-translate/core'
25
- import { TagInputModule } from 'ngx-chips'
26
- import { NgxDropzoneModule } from 'ngx-dropzone'
27
- import { BadgeComponent } from './badge/badge.component'
28
- import { ButtonComponent } from './button/button.component'
29
- import { CheckToggleComponent } from './check-toggle/check-toggle.component'
30
- import { CheckboxComponent } from './checkbox/checkbox.component'
31
- import { DateRangePickerComponent } from './date-range-picker/date-range-picker.component'
32
- import { DragAndDropFileInputComponent } from './drag-and-drop-file-input/drag-and-drop-file-input.component'
33
- import { DropdownMultiselectComponent } from './dropdown-multiselect/dropdown-multiselect.component'
34
- import { DropdownSelectorComponent } from './dropdown-selector/dropdown-selector.component'
35
- import { EditableLabelDirective } from './editable-label/editable-label.directive'
36
- import { InlineFilterComponent } from './inline-filter/inline-filter.component'
37
- import { TextAreaComponent } from './text-area/text-area.component'
38
- import { ViewportIntersectorComponent } from './viewport-intersector/viewport-intersector.component'
39
-
40
- @NgModule({
41
- declarations: [
42
- DragAndDropFileInputComponent,
43
- DropdownMultiselectComponent,
44
- ViewportIntersectorComponent,
45
- CheckboxComponent,
46
- InlineFilterComponent,
47
- ],
48
- imports: [
49
- CommonModule,
50
- TranslateModule.forChild(),
51
- NgxDropzoneModule,
52
- FormsModule,
53
- ReactiveFormsModule,
54
- TagInputModule,
55
- UtilSharedModule,
56
- MatAutocompleteModule,
57
- UiWidgetsModule,
58
- OverlayModule,
59
- MatCheckboxModule,
60
- MatTooltipModule,
61
- MatFormFieldModule,
62
- MatInputModule,
63
- MatDatepickerModule,
64
- MatNativeDateModule,
65
- EditableLabelDirective,
66
- TextAreaComponent,
67
- ButtonComponent,
68
- DropdownSelectorComponent,
69
- DateRangePickerComponent,
70
- CheckToggleComponent,
71
- BadgeComponent,
72
- NgIconComponent,
73
- ],
74
- providers: [
75
- provideIcons({
76
- matClose,
77
- matExpandMore,
78
- matExpandLess,
79
- }),
80
- ],
81
- exports: [
82
- DropdownSelectorComponent,
83
- ButtonComponent,
84
- DragAndDropFileInputComponent,
85
- TextAreaComponent,
86
- DropdownMultiselectComponent,
87
- ViewportIntersectorComponent,
88
- CheckToggleComponent,
89
- CheckboxComponent,
90
- DateRangePickerComponent,
91
- EditableLabelDirective,
92
- InlineFilterComponent,
93
- BadgeComponent,
94
- ],
95
- })
96
- export class UiInputsModule {}