geonetwork-ui 2.4.0-dev.fe59f179 → 2.4.1-dev.1d2ade24e

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 (1522) hide show
  1. package/README.md +1 -7
  2. package/esm2022/libs/api/metadata-converter/src/index.mjs +4 -1
  3. package/esm2022/libs/api/metadata-converter/src/lib/common/distribution.mapper.mjs +3 -1
  4. package/esm2022/libs/api/metadata-converter/src/lib/common/license.mjs +64 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/common/resource-types.mjs +38 -0
  6. package/esm2022/libs/api/metadata-converter/src/lib/common/url.mjs +14 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/convert-utils.mjs +1 -1
  8. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +270 -0
  9. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/index.mjs +2 -0
  10. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.mjs +17 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +227 -0
  12. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +57 -0
  13. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +96 -0
  14. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.mjs +2 -0
  15. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +47 -0
  16. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +11 -1
  17. package/esm2022/libs/api/metadata-converter/src/lib/function-utils.mjs +1 -1
  18. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  19. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +10 -8
  20. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +44 -21
  21. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +5 -5
  22. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.mjs +1 -1
  23. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +1 -1
  24. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  25. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +14 -8
  26. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +39 -12
  27. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +58 -43
  28. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +156 -98
  29. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +143 -29
  30. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  31. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
  32. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/role.mapper.mjs +1 -1
  33. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/status.mapper.mjs +1 -1
  34. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.mjs +6 -62
  35. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +198 -105
  36. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +118 -24
  37. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +36 -9
  38. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +5 -5
  39. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.mjs +12 -0
  40. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +50 -25
  41. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/index.mjs +2 -1
  42. package/esm2022/libs/api/repository/src/lib/gn4/favorites/favorites.service.mjs +4 -4
  43. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +163 -39
  44. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +4 -4
  45. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +5 -5
  46. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +15 -5
  47. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +82 -10
  48. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +4 -4
  49. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +4 -4
  50. package/esm2022/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.mjs +1 -1
  51. package/esm2022/libs/common/domain/src/lib/model/error/index.mjs +2 -0
  52. package/esm2022/libs/common/domain/src/lib/model/error/publication-version.error.mjs +8 -0
  53. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +46 -19
  54. package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
  55. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +27 -1
  56. package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
  57. package/esm2022/libs/common/domain/src/lib/model/record/translation.model.mjs +2 -0
  58. package/esm2022/libs/common/domain/src/lib/model/search/filter.model.mjs +1 -1
  59. package/esm2022/libs/common/domain/src/lib/model/search/sort-by.model.mjs +2 -1
  60. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  61. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  62. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  63. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  64. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  65. package/esm2022/libs/data-access/gn4/src/openapi/api/atom.api.service.mjs +6 -6
  66. package/esm2022/libs/data-access/gn4/src/openapi/api/customstyle.api.service.mjs +6 -6
  67. package/esm2022/libs/data-access/gn4/src/openapi/api/formatters.api.service.mjs +6 -6
  68. package/esm2022/libs/data-access/gn4/src/openapi/api/groups.api.service.mjs +6 -6
  69. package/esm2022/libs/data-access/gn4/src/openapi/api/harvesters.api.service.mjs +6 -6
  70. package/esm2022/libs/data-access/gn4/src/openapi/api/identifiers.api.service.mjs +6 -6
  71. package/esm2022/libs/data-access/gn4/src/openapi/api/languages.api.service.mjs +6 -6
  72. package/esm2022/libs/data-access/gn4/src/openapi/api/links.api.service.mjs +6 -6
  73. package/esm2022/libs/data-access/gn4/src/openapi/api/logos.api.service.mjs +6 -6
  74. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservers.api.service.mjs +6 -6
  75. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservices.api.service.mjs +6 -6
  76. package/esm2022/libs/data-access/gn4/src/openapi/api/me.api.service.mjs +6 -6
  77. package/esm2022/libs/data-access/gn4/src/openapi/api/operations.api.service.mjs +6 -6
  78. package/esm2022/libs/data-access/gn4/src/openapi/api/pages.api.service.mjs +6 -6
  79. package/esm2022/libs/data-access/gn4/src/openapi/api/processes.api.service.mjs +6 -6
  80. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +13 -11
  81. package/esm2022/libs/data-access/gn4/src/openapi/api/regions.api.service.mjs +6 -6
  82. package/esm2022/libs/data-access/gn4/src/openapi/api/registries.api.service.mjs +6 -6
  83. package/esm2022/libs/data-access/gn4/src/openapi/api/related.api.service.mjs +6 -6
  84. package/esm2022/libs/data-access/gn4/src/openapi/api/search.api.service.mjs +6 -6
  85. package/esm2022/libs/data-access/gn4/src/openapi/api/selections.api.service.mjs +6 -6
  86. package/esm2022/libs/data-access/gn4/src/openapi/api/site.api.service.mjs +6 -6
  87. package/esm2022/libs/data-access/gn4/src/openapi/api/sources.api.service.mjs +6 -6
  88. package/esm2022/libs/data-access/gn4/src/openapi/api/standards.api.service.mjs +6 -6
  89. package/esm2022/libs/data-access/gn4/src/openapi/api/status.api.service.mjs +6 -6
  90. package/esm2022/libs/data-access/gn4/src/openapi/api/tags.api.service.mjs +6 -6
  91. package/esm2022/libs/data-access/gn4/src/openapi/api/tools.api.service.mjs +6 -6
  92. package/esm2022/libs/data-access/gn4/src/openapi/api/ui.api.service.mjs +6 -6
  93. package/esm2022/libs/data-access/gn4/src/openapi/api/userfeedback.api.service.mjs +6 -6
  94. package/esm2022/libs/data-access/gn4/src/openapi/api/users.api.service.mjs +6 -6
  95. package/esm2022/libs/data-access/gn4/src/openapi/api/usersearches.api.service.mjs +6 -6
  96. package/esm2022/libs/data-access/gn4/src/openapi/api/userselections.api.service.mjs +6 -6
  97. package/esm2022/libs/data-access/gn4/src/openapi/api.module.mjs +7 -7
  98. package/esm2022/libs/data-access/gn4/src/openapi/configuration.mjs +1 -1
  99. package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +4 -4
  100. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +17 -21
  101. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -4
  102. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +41 -16
  103. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +4 -4
  104. package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +6 -6
  105. package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +5 -5
  106. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +4 -4
  107. package/esm2022/libs/feature/dataviz/src/index.mjs +1 -2
  108. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +18 -11
  109. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +7 -6
  110. package/esm2022/libs/feature/dataviz/src/lib/figure/figure.service.mjs +4 -4
  111. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +38 -51
  112. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +20 -9
  113. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +16 -10
  114. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  115. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +8 -1
  116. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +38 -12
  117. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +34 -8
  118. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  119. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +40 -6
  120. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +19 -7
  121. package/esm2022/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.mjs +68 -0
  122. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +16 -0
  123. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +88 -0
  124. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +113 -0
  125. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +85 -0
  126. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +179 -0
  127. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +3 -3
  128. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.mjs +76 -0
  129. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.mjs +35 -0
  130. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.mjs +130 -0
  131. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +109 -0
  132. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +157 -0
  133. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.mjs +19 -0
  134. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +5 -5
  135. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +32 -41
  136. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +47 -51
  137. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +79 -0
  138. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +3 -3
  139. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +152 -0
  140. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +201 -0
  141. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  142. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +104 -0
  143. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +14 -18
  144. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +12 -30
  145. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +117 -6
  146. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.mjs +44 -0
  147. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +53 -70
  148. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +50 -72
  149. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +71 -49
  150. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -3
  151. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +16 -10
  152. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +6 -6
  153. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +12 -12
  154. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +5 -5
  155. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  156. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -8
  157. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +275 -57
  158. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  159. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  160. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +26 -13
  161. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +5 -5
  162. package/esm2022/libs/feature/map/src/index.mjs +2 -9
  163. package/esm2022/libs/feature/map/src/lib/+state/map.actions.mjs +4 -7
  164. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +13 -19
  165. package/esm2022/libs/feature/map/src/lib/+state/map.reducer.mjs +13 -44
  166. package/esm2022/libs/feature/map/src/lib/+state/map.selectors.mjs +3 -2
  167. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +9 -9
  168. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +21 -20
  169. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +26 -17
  170. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +18 -17
  171. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +21 -16
  172. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +19 -14
  173. package/esm2022/libs/feature/map/src/lib/constant/index.mjs +1 -2
  174. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +12 -75
  175. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +44 -30
  176. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +6 -6
  177. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +65 -22
  178. package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +27 -0
  179. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  180. package/esm2022/libs/feature/map/src/lib/style/map-style.service.mjs +4 -4
  181. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +14 -173
  182. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +4 -4
  183. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +4 -4
  184. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +6 -5
  185. package/esm2022/libs/feature/record/src/index.mjs +4 -1
  186. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +17 -10
  187. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +51 -30
  188. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +27 -11
  189. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +59 -23
  190. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +28 -22
  191. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +24 -51
  192. package/esm2022/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.mjs +169 -0
  193. package/esm2022/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.mjs +45 -0
  194. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +81 -57
  195. package/esm2022/libs/feature/record/src/lib/record-meta/record-meta.component.mjs +45 -0
  196. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +5 -5
  197. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +17 -7
  198. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +1 -1
  199. package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +6 -6
  200. package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +5 -5
  201. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +5 -5
  202. package/esm2022/libs/feature/router/src/lib/default/services/router-search.service.mjs +4 -4
  203. package/esm2022/libs/feature/router/src/lib/default/state/query-params.utils.mjs +50 -0
  204. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +8 -8
  205. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +9 -8
  206. package/esm2022/libs/feature/search/src/index.mjs +3 -1
  207. package/esm2022/libs/feature/search/src/lib/constants.mjs +2 -2
  208. package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +4 -4
  209. package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +4 -4
  210. package/esm2022/libs/feature/search/src/lib/facets/facets.service.mjs +5 -5
  211. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +7 -7
  212. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +22 -19
  213. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +30 -8
  214. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +6 -6
  215. package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +5 -5
  216. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +4 -4
  217. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +5 -5
  218. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +15 -10
  219. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +54 -10
  220. package/esm2022/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.mjs +67 -0
  221. package/esm2022/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.mjs +84 -0
  222. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +9 -5
  223. package/esm2022/libs/feature/search/src/lib/state/actions.mjs +1 -1
  224. package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +6 -6
  225. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +6 -6
  226. package/esm2022/libs/feature/search/src/lib/state/reducer.mjs +1 -1
  227. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +12 -10
  228. package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +1 -9
  229. package/esm2022/libs/feature/search/src/lib/utils/operators/search.operator.mjs +1 -1
  230. package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +63 -8
  231. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +19 -8
  232. package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
  233. package/esm2022/libs/ui/catalog/src/index.mjs +1 -2
  234. package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +6 -5
  235. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +15 -19
  236. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +17 -7
  237. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +9 -9
  238. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +6 -5
  239. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +6 -6
  240. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +7 -7
  241. package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +6 -6
  242. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  243. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +33 -7
  244. package/esm2022/libs/ui/elements/src/index.mjs +4 -4
  245. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +28 -9
  246. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +3 -3
  247. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  248. package/esm2022/libs/ui/elements/src/lib/content-ghost/content-ghost.component.mjs +6 -5
  249. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +20 -9
  250. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +40 -12
  251. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +25 -7
  252. package/esm2022/libs/ui/elements/src/lib/image-input/image-input.component.mjs +213 -0
  253. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +17 -9
  254. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +18 -8
  255. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +8 -9
  256. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +7 -5
  257. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +7 -6
  258. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +28 -8
  259. package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +7 -6
  260. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +43 -15
  261. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +16 -15
  262. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +10 -8
  263. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +38 -7
  264. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +40 -35
  265. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +20 -11
  266. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +6 -6
  267. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +40 -106
  268. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +6 -6
  269. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +29 -11
  270. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -5
  271. package/esm2022/libs/ui/inputs/src/index.mjs +6 -2
  272. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +53 -18
  273. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +21 -5
  274. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +12 -4
  275. package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +7 -7
  276. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +3 -3
  277. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +5 -5
  278. package/esm2022/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.mjs +10 -7
  279. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +23 -6
  280. package/esm2022/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.mjs +65 -0
  281. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +24 -8
  282. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +3 -3
  283. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +8 -8
  284. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +25 -9
  285. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +28 -26
  286. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +108 -0
  287. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +4 -4
  288. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +7 -7
  289. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +19 -7
  290. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +8 -6
  291. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +37 -0
  292. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +9 -23
  293. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +8 -19
  294. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +49 -59
  295. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +93 -0
  296. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +5 -5
  297. package/esm2022/libs/ui/layout/src/index.mjs +8 -1
  298. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +5 -5
  299. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +20 -15
  300. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +27 -22
  301. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +9 -7
  302. package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +8 -6
  303. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +9 -6
  304. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +6 -4
  305. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +17 -8
  306. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +6 -6
  307. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  308. package/esm2022/libs/ui/layout/src/lib/paginable.interface.mjs +2 -0
  309. package/esm2022/libs/ui/layout/src/lib/pagination/pagination.component.mjs +52 -0
  310. package/esm2022/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.mjs +52 -0
  311. package/esm2022/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.mjs +36 -0
  312. package/esm2022/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +26 -0
  313. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +35 -0
  314. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +6 -6
  315. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +17 -26
  316. package/esm2022/libs/ui/map/src/index.mjs +5 -3
  317. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +10 -8
  318. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +147 -0
  319. package/esm2022/libs/ui/map/src/lib/components/map-container/map-settings.token.mjs +13 -0
  320. package/esm2022/libs/ui/map/src/lib/components/map-legend/map-legend.component.mjs +32 -0
  321. package/esm2022/libs/ui/map/src/lib/map-utils.mjs +37 -0
  322. package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +7 -7
  323. package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +6 -6
  324. package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +3 -3
  325. package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +4 -4
  326. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  327. package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +3 -3
  328. package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +5 -5
  329. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +3 -3
  330. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +8 -7
  331. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +3 -3
  332. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +10 -9
  333. package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +3 -3
  334. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +3 -3
  335. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +3 -3
  336. package/esm2022/libs/ui/search/src/lib/results-list/results-layout.config.mjs +1 -1
  337. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +3 -3
  338. package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +5 -5
  339. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +59 -0
  340. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +103 -41
  341. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +34 -12
  342. package/esm2022/libs/ui/widgets/src/index.mjs +2 -1
  343. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +3 -3
  344. package/esm2022/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.mjs +7 -6
  345. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  346. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +8 -8
  347. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +5 -5
  348. package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +5 -5
  349. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +5 -5
  350. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +9 -34
  351. package/esm2022/libs/util/app-config/src/index.mjs +2 -1
  352. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +9 -2
  353. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +11 -10
  354. package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +33 -0
  355. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  356. package/esm2022/libs/util/app-config/src/lib/parse-utils.mjs +1 -1
  357. package/esm2022/libs/util/data-fetcher/src/lib/data-fetcher.mjs +1 -1
  358. package/esm2022/libs/util/data-fetcher/src/lib/headers.mjs +1 -1
  359. package/esm2022/libs/util/data-fetcher/src/lib/model.mjs +3 -3
  360. package/esm2022/libs/util/data-fetcher/src/lib/readers/base-file.mjs +1 -1
  361. package/esm2022/libs/util/data-fetcher/src/lib/readers/csv.mjs +1 -1
  362. package/esm2022/libs/util/data-fetcher/src/lib/readers/excel.mjs +1 -1
  363. package/esm2022/libs/util/data-fetcher/src/lib/readers/geojson.mjs +1 -1
  364. package/esm2022/libs/util/data-fetcher/src/lib/readers/gml.mjs +1 -1
  365. package/esm2022/libs/util/data-fetcher/src/lib/readers/json.mjs +1 -1
  366. package/esm2022/libs/util/data-fetcher/src/lib/sql-utils.mjs +1 -1
  367. package/esm2022/libs/util/data-fetcher/src/lib/utils.mjs +13 -11
  368. package/esm2022/libs/util/i18n/src/index.mjs +2 -1
  369. package/esm2022/libs/util/i18n/src/lib/i18n.constants.mjs +1 -38
  370. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
  371. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +6 -6
  372. package/esm2022/libs/util/i18n/src/lib/language-codes.mjs +40 -0
  373. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +6 -6
  374. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +5 -5
  375. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +6 -4
  376. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +53 -17
  377. package/esm2022/libs/util/shared/src/lib/services/log.service.mjs +3 -3
  378. package/esm2022/libs/util/shared/src/lib/services/proxy.service.mjs +12 -9
  379. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +5 -4
  380. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +4 -4
  381. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  382. package/esm2022/libs/util/shared/src/lib/utils/format-fields.mjs +9 -0
  383. package/esm2022/libs/util/shared/src/lib/utils/geojson.mjs +1 -1
  384. package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +1 -1
  385. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +3 -1
  386. package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +19 -0
  387. package/esm2022/libs/util/shared/src/lib/utils/parse.mjs +1 -1
  388. package/esm2022/libs/util/shared/src/lib/utils/temporal-extent-union.mjs +1 -1
  389. package/esm2022/libs/util/shared/src/lib/utils/url.mjs +1 -1
  390. package/esm2022/translations/de.json +224 -49
  391. package/esm2022/translations/en.json +252 -80
  392. package/esm2022/translations/es.json +202 -27
  393. package/esm2022/translations/fr.json +278 -106
  394. package/esm2022/translations/it.json +273 -96
  395. package/esm2022/translations/nl.json +202 -27
  396. package/esm2022/translations/pt.json +202 -27
  397. package/fesm2022/geonetwork-ui.mjs +13662 -8015
  398. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  399. package/libs/api/metadata-converter/src/index.d.ts +3 -0
  400. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  401. package/libs/api/metadata-converter/src/lib/common/distribution.mapper.d.ts.map +1 -1
  402. package/libs/api/metadata-converter/src/lib/common/license.d.ts +3 -0
  403. package/libs/api/metadata-converter/src/lib/common/license.d.ts.map +1 -0
  404. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts +5 -0
  405. package/libs/api/metadata-converter/src/lib/common/resource-types.d.ts.map +1 -0
  406. package/libs/api/metadata-converter/src/lib/common/url.d.ts +7 -0
  407. package/libs/api/metadata-converter/src/lib/common/url.d.ts.map +1 -0
  408. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts +13 -0
  409. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -0
  410. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts +2 -0
  411. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts.map +1 -0
  412. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts +16 -0
  413. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts.map +1 -0
  414. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts +21 -0
  415. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts.map +1 -0
  416. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts +15 -0
  417. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts.map +1 -0
  418. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts +8 -0
  419. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts.map +1 -0
  420. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts +2 -0
  421. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts.map +1 -0
  422. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts +6 -0
  423. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts.map +1 -0
  424. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -1
  425. package/libs/api/metadata-converter/src/lib/function-utils.d.ts +1 -1
  426. package/libs/api/metadata-converter/src/lib/function-utils.d.ts.map +1 -1
  427. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +4 -4
  428. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  429. package/libs/api/metadata-converter/src/lib/gn4/gn4.converter.d.ts.map +1 -1
  430. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  431. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  432. package/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.d.ts +1 -1
  433. package/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.d.ts.map +1 -1
  434. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +2 -6
  435. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -1
  436. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +13 -10
  437. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  438. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  439. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +7 -4
  440. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  441. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +6 -4
  442. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  443. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts +4 -2
  444. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  445. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +25 -9
  446. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  447. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  448. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  449. package/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.d.ts.map +1 -1
  450. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +26 -18
  451. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  452. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +106 -4
  453. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  454. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts +14 -2
  455. package/libs/api/repository/src/lib/gn4/auth/auth.service.d.ts.map +1 -1
  456. package/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.d.ts +4 -0
  457. package/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.d.ts.map +1 -0
  458. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts +5 -1
  459. package/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.d.ts.map +1 -1
  460. package/libs/api/repository/src/lib/gn4/elasticsearch/index.d.ts +1 -0
  461. package/libs/api/repository/src/lib/gn4/elasticsearch/index.d.ts.map +1 -1
  462. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +33 -14
  463. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  464. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  465. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +13 -5
  466. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  467. package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts +1 -1
  468. package/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.d.ts.map +1 -1
  469. package/libs/common/domain/src/lib/model/error/index.d.ts +2 -0
  470. package/libs/common/domain/src/lib/model/error/index.d.ts.map +1 -0
  471. package/libs/common/domain/src/lib/model/error/publication-version.error.d.ts +5 -0
  472. package/libs/common/domain/src/lib/model/error/publication-version.error.d.ts.map +1 -0
  473. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +3 -2
  474. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  475. package/libs/common/domain/src/lib/model/record/index.d.ts +1 -0
  476. package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
  477. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +38 -15
  478. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  479. package/libs/common/domain/src/lib/model/record/organization.model.d.ts +2 -0
  480. package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
  481. package/libs/common/domain/src/lib/model/record/translation.model.d.ts +26 -0
  482. package/libs/common/domain/src/lib/model/record/translation.model.d.ts.map +1 -0
  483. package/libs/common/domain/src/lib/model/search/filter.model.d.ts +16 -1
  484. package/libs/common/domain/src/lib/model/search/filter.model.d.ts.map +1 -1
  485. package/libs/common/domain/src/lib/model/search/sort-by.model.d.ts.map +1 -1
  486. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  487. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  488. package/libs/common/domain/src/lib/platform.service.interface.d.ts +17 -1
  489. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  490. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +31 -1
  491. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  492. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  493. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  494. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  495. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  496. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +3 -0
  497. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  498. package/libs/data-access/gn4/src/openapi/model/groupPrivilege.api.model.d.ts.map +1 -1
  499. package/libs/data-access/gn4/src/openapi/model/jsonNode.api.model.d.ts.map +1 -1
  500. package/libs/data-access/gn4/src/openapi/model/link.api.model.d.ts.map +1 -1
  501. package/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.d.ts.map +1 -1
  502. package/libs/data-access/gn4/src/openapi/model/metadataResourceExternalManagementProperties.api.model.d.ts.map +1 -1
  503. package/libs/data-access/gn4/src/openapi/model/metadataStatusParameter.api.model.d.ts.map +1 -1
  504. package/libs/data-access/gn4/src/openapi/model/operation.api.model.d.ts.map +1 -1
  505. package/libs/data-access/gn4/src/openapi/model/pageProperties.api.model.d.ts.map +1 -1
  506. package/libs/data-access/gn4/src/openapi/model/publicationOption.api.model.d.ts.map +1 -1
  507. package/libs/data-access/gn4/src/openapi/model/setting.api.model.d.ts.map +1 -1
  508. package/libs/data-access/gn4/src/openapi/model/status.api.model.d.ts.map +1 -1
  509. package/libs/data-access/gn4/src/openapi/model/statusValue.api.model.d.ts.map +1 -1
  510. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts.map +1 -1
  511. package/libs/data-access/gn4/src/openapi/model/userGroup.api.model.d.ts.map +1 -1
  512. package/libs/data-access/gn4/src/openapi/model/userGroupId.api.model.d.ts.map +1 -1
  513. package/libs/data-access/gn4/src/openapi/model/userSecurity.api.model.d.ts.map +1 -1
  514. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +8 -8
  515. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  516. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts +10 -3
  517. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  518. package/libs/feature/dataviz/src/index.d.ts +0 -1
  519. package/libs/feature/dataviz/src/index.d.ts.map +1 -1
  520. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +3 -3
  521. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  522. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts +1 -1
  523. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  524. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +14 -21
  525. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
  526. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +9 -7
  527. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  528. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +4 -4
  529. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  530. package/libs/feature/editor/src/index.d.ts +1 -0
  531. package/libs/feature/editor/src/index.d.ts.map +1 -1
  532. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +47 -9
  533. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  534. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +26 -9
  535. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  536. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +20 -9
  537. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  538. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +9 -1
  539. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  540. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +10 -4
  541. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  542. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +14 -10
  543. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  544. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts +16 -0
  545. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -0
  546. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +8 -0
  547. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  548. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +33 -0
  549. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  550. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +34 -0
  551. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
  552. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  553. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  554. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +65 -0
  555. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -0
  556. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts +18 -0
  557. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -0
  558. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.d.ts +6 -0
  559. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.d.ts.map +1 -0
  560. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.d.ts +32 -0
  561. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.d.ts.map +1 -0
  562. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts +38 -0
  563. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -0
  564. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +41 -0
  565. 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 -0
  566. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.d.ts +9 -0
  567. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.d.ts.map +1 -0
  568. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +11 -19
  569. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  570. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +15 -34
  571. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  572. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +15 -0
  573. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts.map +1 -0
  574. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +35 -0
  575. 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 -0
  576. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +48 -0
  577. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts.map +1 -0
  578. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +14 -0
  579. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts.map +1 -0
  580. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +31 -0
  581. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  582. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -6
  583. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  584. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +5 -10
  585. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  586. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +24 -0
  587. 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
  588. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.d.ts +14 -0
  589. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.d.ts.map +1 -0
  590. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +10 -16
  591. 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
  592. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +6 -6
  593. 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
  594. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +20 -20
  595. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  596. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -2
  597. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  598. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +7 -7
  599. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  600. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  601. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  602. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  603. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  604. package/libs/feature/editor/src/lib/fields.config.d.ts +64 -2
  605. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  606. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +45 -0
  607. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  608. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  609. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  610. package/libs/feature/editor/src/lib/services/editor.service.d.ts +8 -3
  611. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  612. package/libs/feature/map/src/index.d.ts +1 -8
  613. package/libs/feature/map/src/index.d.ts.map +1 -1
  614. package/libs/feature/map/src/lib/+state/map.actions.d.ts +13 -39
  615. package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
  616. package/libs/feature/map/src/lib/+state/map.facade.d.ts +9 -10
  617. package/libs/feature/map/src/lib/+state/map.facade.d.ts.map +1 -1
  618. package/libs/feature/map/src/lib/+state/map.reducer.d.ts +4 -2
  619. package/libs/feature/map/src/lib/+state/map.reducer.d.ts.map +1 -1
  620. package/libs/feature/map/src/lib/+state/map.selectors.d.ts +6 -1
  621. package/libs/feature/map/src/lib/+state/map.selectors.d.ts.map +1 -1
  622. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  623. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  624. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +8 -10
  625. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  626. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  627. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  628. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +3 -3
  629. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  630. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +2 -2
  631. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  632. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +2 -2
  633. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  634. package/libs/feature/map/src/lib/constant/index.d.ts +0 -1
  635. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  636. package/libs/feature/map/src/lib/feature-map.module.d.ts +11 -23
  637. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  638. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +7 -7
  639. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  640. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +5 -4
  641. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  642. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts +14 -0
  643. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts.map +1 -0
  644. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  645. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  646. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +0 -30
  647. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  648. package/libs/feature/notifications/src/lib/notifications.service.d.ts +1 -1
  649. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -1
  650. package/libs/feature/record/src/index.d.ts +3 -0
  651. package/libs/feature/record/src/index.d.ts.map +1 -1
  652. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +4 -4
  653. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  654. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  655. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  656. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  657. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  658. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  659. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  660. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +10 -7
  661. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  662. package/libs/feature/record/src/lib/feature-record.module.d.ts +15 -23
  663. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  664. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts +74 -0
  665. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -0
  666. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts +19 -0
  667. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -0
  668. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +21 -21
  669. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  670. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +14 -0
  671. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts.map +1 -0
  672. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +13 -13
  673. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  674. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -9
  675. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  676. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  677. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  678. package/libs/feature/router/src/lib/default/constants.d.ts +3 -2
  679. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  680. package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts +4 -0
  681. package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts.map +1 -0
  682. package/libs/feature/router/src/lib/default/state/router.actions.d.ts +3 -3
  683. package/libs/feature/router/src/lib/default/state/router.actions.d.ts.map +1 -1
  684. package/libs/feature/router/src/lib/default/state/router.effects.d.ts +5 -5
  685. package/libs/feature/router/src/lib/default/state/router.effects.d.ts.map +1 -1
  686. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -1
  687. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  688. package/libs/feature/router/src/lib/default/state/router.selectors.d.ts +1 -1
  689. package/libs/feature/router/src/lib/default/state/router.selectors.d.ts.map +1 -1
  690. package/libs/feature/search/src/index.d.ts +2 -0
  691. package/libs/feature/search/src/index.d.ts.map +1 -1
  692. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +1 -1
  693. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  694. package/libs/feature/search/src/lib/feature-search.module.d.ts +17 -15
  695. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  696. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +7 -1
  697. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
  698. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -0
  699. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  700. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +17 -6
  701. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  702. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +22 -0
  703. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -0
  704. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts +34 -0
  705. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -0
  706. package/libs/feature/search/src/lib/sort-by/sort-by.component.d.ts.map +1 -1
  707. package/libs/feature/search/src/lib/state/actions.d.ts.map +1 -1
  708. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -2
  709. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  710. package/libs/feature/search/src/lib/state/selectors.d.ts +0 -2
  711. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  712. package/libs/feature/search/src/lib/utils/operators/search.operator.d.ts.map +1 -1
  713. package/libs/feature/search/src/lib/utils/service/fields.d.ts +24 -6
  714. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  715. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts +4 -2
  716. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  717. package/libs/ui/catalog/src/index.d.ts +0 -1
  718. package/libs/ui/catalog/src/index.d.ts.map +1 -1
  719. package/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.d.ts +1 -1
  720. package/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.d.ts.map +1 -1
  721. package/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.d.ts +10 -8
  722. package/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.d.ts.map +1 -1
  723. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +1 -1
  724. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts.map +1 -1
  725. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts +1 -1
  726. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts.map +1 -1
  727. package/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.d.ts +1 -1
  728. package/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.d.ts.map +1 -1
  729. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  730. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  731. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +3 -3
  732. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +1 -1
  733. package/libs/ui/elements/src/index.d.ts +3 -3
  734. package/libs/ui/elements/src/index.d.ts.map +1 -1
  735. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts +1 -1
  736. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  737. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  738. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  739. package/libs/ui/elements/src/lib/content-ghost/content-ghost.component.d.ts +1 -1
  740. package/libs/ui/elements/src/lib/content-ghost/content-ghost.component.d.ts.map +1 -1
  741. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +4 -4
  742. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  743. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +10 -9
  744. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  745. package/libs/ui/elements/src/lib/error/error.component.d.ts +1 -1
  746. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
  747. package/libs/ui/{inputs → elements}/src/lib/image-input/image-input.component.d.ts +6 -6
  748. package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts.map +1 -0
  749. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts +1 -1
  750. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -1
  751. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  752. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  753. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
  754. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  755. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +2 -1
  756. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -1
  757. package/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.d.ts +1 -1
  758. package/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.d.ts.map +1 -1
  759. package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts +1 -1
  760. package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts.map +1 -1
  761. package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts +2 -2
  762. package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts.map +1 -1
  763. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +1 -1
  764. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  765. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +1 -4
  766. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  767. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts +2 -2
  768. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  769. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +1 -0
  770. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -1
  771. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +7 -18
  772. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  773. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +1 -1
  774. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  775. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +20 -34
  776. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  777. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +1 -1
  778. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -1
  779. package/libs/ui/inputs/src/index.d.ts +5 -1
  780. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  781. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  782. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  783. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
  784. package/libs/ui/inputs/src/lib/button/button.component.d.ts +2 -2
  785. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  786. package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts +2 -2
  787. package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts.map +1 -1
  788. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +1 -1
  789. package/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.d.ts +1 -1
  790. package/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.d.ts.map +1 -1
  791. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  792. package/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.d.ts +20 -0
  793. package/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.d.ts.map +1 -0
  794. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  795. package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
  796. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  797. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  798. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +25 -0
  799. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  800. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +1 -1
  801. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +1 -1
  802. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts +1 -1
  803. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
  804. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +1 -1
  805. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  806. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +18 -0
  807. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  808. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  809. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  810. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  811. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  812. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +29 -35
  813. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  814. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +24 -0
  815. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  816. package/libs/ui/layout/src/index.d.ts +7 -0
  817. package/libs/ui/layout/src/index.d.ts.map +1 -1
  818. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +7 -5
  819. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  820. package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +9 -7
  821. package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
  822. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +1 -1
  823. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  824. package/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.d.ts +1 -1
  825. package/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.d.ts.map +1 -1
  826. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
  827. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
  828. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +3 -2
  829. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts.map +1 -1
  830. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts +2 -1
  831. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  832. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  833. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  834. package/libs/ui/layout/src/lib/paginable.interface.d.ts +15 -0
  835. package/libs/ui/layout/src/lib/paginable.interface.d.ts.map +1 -0
  836. package/libs/ui/layout/src/lib/pagination/pagination.component.d.ts +11 -0
  837. package/libs/ui/layout/src/lib/pagination/pagination.component.d.ts.map +1 -0
  838. package/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.d.ts +9 -0
  839. package/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.d.ts.map +1 -0
  840. package/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.d.ts +10 -0
  841. package/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.d.ts.map +1 -0
  842. package/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +8 -0
  843. package/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
  844. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  845. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  846. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +6 -8
  847. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  848. package/libs/ui/map/src/index.d.ts +4 -2
  849. package/libs/ui/map/src/index.d.ts.map +1 -1
  850. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +3 -4
  851. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  852. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts +37 -0
  853. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts.map +1 -0
  854. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts +18 -0
  855. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -0
  856. package/libs/ui/map/src/lib/components/map-legend/map-legend.component.d.ts +12 -0
  857. package/libs/ui/map/src/lib/components/map-legend/map-legend.component.d.ts.map +1 -0
  858. package/libs/ui/map/src/lib/map-utils.d.ts +7 -0
  859. package/libs/ui/map/src/lib/map-utils.d.ts.map +1 -0
  860. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  861. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  862. package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts.map +1 -1
  863. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +24 -0
  864. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  865. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +23 -10
  866. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  867. package/libs/ui/search/src/lib/ui-search.module.d.ts +6 -5
  868. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  869. package/libs/ui/widgets/src/index.d.ts +1 -0
  870. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  871. package/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.d.ts +1 -1
  872. package/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.d.ts.map +1 -1
  873. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  874. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  875. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  876. package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts +1 -1
  877. package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts.map +1 -1
  878. package/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.d.ts +1 -1
  879. package/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.d.ts.map +1 -1
  880. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +9 -13
  881. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  882. package/libs/util/app-config/src/index.d.ts +1 -0
  883. package/libs/util/app-config/src/index.d.ts.map +1 -1
  884. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  885. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  886. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  887. package/libs/util/app-config/src/lib/map-layers.d.ts +4 -0
  888. package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -0
  889. package/libs/util/app-config/src/lib/model.d.ts +6 -1
  890. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  891. package/libs/util/data-fetcher/src/lib/model.d.ts +2 -2
  892. package/libs/util/data-fetcher/src/lib/model.d.ts.map +1 -1
  893. package/libs/util/data-fetcher/src/lib/readers/csv.d.ts.map +1 -1
  894. package/libs/util/data-fetcher/src/lib/readers/excel.d.ts.map +1 -1
  895. package/libs/util/data-fetcher/src/lib/readers/geojson.d.ts.map +1 -1
  896. package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
  897. package/libs/util/data-fetcher/src/lib/readers/json.d.ts.map +1 -1
  898. package/libs/util/data-fetcher/src/lib/utils.d.ts +1 -1
  899. package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
  900. package/libs/util/i18n/src/index.d.ts +1 -0
  901. package/libs/util/i18n/src/index.d.ts.map +1 -1
  902. package/libs/util/i18n/src/lib/i18n.constants.d.ts +0 -35
  903. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  904. package/libs/util/i18n/src/lib/language-codes.d.ts +38 -0
  905. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -0
  906. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  907. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  908. package/libs/util/shared/src/lib/links/link-utils.d.ts +23 -22
  909. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  910. package/libs/util/shared/src/lib/services/proxy.service.d.ts +4 -2
  911. package/libs/util/shared/src/lib/services/proxy.service.d.ts.map +1 -1
  912. package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
  913. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  914. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  915. package/libs/util/shared/src/lib/utils/format-fields.d.ts +2 -0
  916. package/libs/util/shared/src/lib/utils/format-fields.d.ts.map +1 -0
  917. package/libs/util/shared/src/lib/utils/index.d.ts +2 -0
  918. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  919. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts +2 -0
  920. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts.map +1 -0
  921. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts +4 -1
  922. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts.map +1 -1
  923. package/package.json +50 -41
  924. package/src/libs/api/metadata-converter/src/index.ts +3 -0
  925. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  926. package/src/libs/api/metadata-converter/src/lib/common/license.ts +66 -0
  927. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +50 -0
  928. package/src/libs/api/metadata-converter/src/lib/common/url.ts +15 -0
  929. package/src/libs/api/metadata-converter/src/lib/convert-utils.ts +1 -1
  930. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +504 -0
  931. package/src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts +1 -0
  932. package/src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts +17 -0
  933. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +463 -0
  934. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +110 -0
  935. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/individual-name.ts +20 -0
  936. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/keyword.mapper.ts +16 -0
  937. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/role.mapper.ts +48 -0
  938. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +127 -0
  939. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +19 -0
  940. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts +1 -0
  941. package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +101 -0
  942. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +13 -0
  943. package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +743 -0
  944. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +43 -5
  945. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+ongules.ts +246 -0
  946. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+roilaye.ts +101 -0
  947. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +187 -0
  948. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +26 -5
  949. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +374 -18
  950. package/src/libs/api/metadata-converter/src/lib/fixtures/georhena.records.ts +216 -0
  951. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +90 -4
  952. package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +437 -0
  953. package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +487 -0
  954. package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +76 -0
  955. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.reuse.ts +451 -0
  956. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +289 -0
  957. package/src/libs/api/metadata-converter/src/lib/function-utils.ts +1 -1
  958. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  959. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.converter.ts +6 -4
  960. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +55 -40
  961. package/src/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.ts +1 -1
  962. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  963. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +13 -10
  964. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +20 -9
  965. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +75 -18
  966. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +118 -65
  967. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +174 -95
  968. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +354 -56
  969. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  970. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.ts +9 -62
  971. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +632 -312
  972. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +145 -29
  973. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +35 -6
  974. package/src/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.ts +13 -0
  975. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +58 -23
  976. package/src/libs/api/repository/src/lib/gn4/elasticsearch/index.ts +1 -0
  977. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +290 -101
  978. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +13 -2
  979. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +173 -16
  980. package/src/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.ts +1 -1
  981. package/src/libs/common/domain/src/lib/model/error/index.ts +1 -0
  982. package/src/libs/common/domain/src/lib/model/error/publication-version.error.ts +9 -0
  983. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +30 -2
  984. package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
  985. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +83 -22
  986. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +4 -0
  987. package/src/libs/common/domain/src/lib/model/record/translation.model.ts +49 -0
  988. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +17 -1
  989. package/src/libs/common/domain/src/lib/model/search/sort-by.model.ts +1 -0
  990. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  991. package/src/libs/common/domain/src/lib/platform.service.interface.ts +32 -1
  992. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +39 -2
  993. package/src/libs/common/fixtures/src/index.ts +6 -1
  994. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +163 -0
  995. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  996. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  997. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  998. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1675 -4
  999. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  1000. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  1001. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  1002. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  1003. package/src/libs/common/fixtures/src/lib/elasticsearch/search-responses.fixtures.ts +13374 -0
  1004. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  1005. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  1006. package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
  1007. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +242 -164
  1008. package/src/libs/common/fixtures/src/lib/map/index.ts +1 -0
  1009. package/src/libs/common/fixtures/src/lib/map/map-context.fixtures.ts +53 -0
  1010. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  1011. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  1012. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  1013. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +288 -23
  1014. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  1015. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  1016. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  1017. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +45 -15
  1018. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  1019. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  1020. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +25 -9
  1021. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  1022. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +8 -9
  1023. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -5
  1024. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +41 -5
  1025. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  1026. package/src/libs/feature/dataviz/src/index.ts +0 -1
  1027. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +1 -1
  1028. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +23 -5
  1029. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +3 -1
  1030. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  1031. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +5 -2
  1032. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +43 -78
  1033. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +36 -13
  1034. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -1
  1035. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +19 -6
  1036. package/src/libs/feature/editor/src/index.ts +1 -0
  1037. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +33 -1
  1038. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +114 -27
  1039. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +41 -10
  1040. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +12 -1
  1041. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +56 -17
  1042. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +34 -10
  1043. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.css +4 -0
  1044. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.html +28 -0
  1045. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +71 -0
  1046. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +15 -0
  1047. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +17 -0
  1048. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +3 -0
  1049. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +27 -0
  1050. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +100 -0
  1051. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +46 -0
  1052. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +153 -0
  1053. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  1054. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +92 -0
  1055. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +90 -0
  1056. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +222 -0
  1057. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.css +4 -0
  1058. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.html +24 -0
  1059. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +85 -0
  1060. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.ts +42 -0
  1061. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.css +4 -0
  1062. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.html +34 -0
  1063. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +210 -0
  1064. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +40 -0
  1065. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +170 -0
  1066. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +4 -0
  1067. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +66 -0
  1068. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +221 -0
  1069. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.html +4 -0
  1070. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.ts +21 -0
  1071. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.html +1 -1
  1072. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -16
  1073. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +44 -45
  1074. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
  1075. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +11 -8
  1076. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +55 -47
  1077. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +1 -0
  1078. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +86 -0
  1079. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +49 -0
  1080. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +190 -0
  1081. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +75 -0
  1082. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +256 -0
  1083. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  1084. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +51 -0
  1085. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  1086. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +13 -0
  1087. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +129 -0
  1088. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +16 -9
  1089. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +11 -14
  1090. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +4 -23
  1091. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +12 -25
  1092. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +15 -1
  1093. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +172 -1
  1094. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.css +0 -0
  1095. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.html +5 -0
  1096. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.ts +60 -0
  1097. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
  1098. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +32 -4
  1099. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +54 -86
  1100. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
  1101. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +17 -14
  1102. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +59 -85
  1103. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +162 -68
  1104. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +83 -46
  1105. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -2
  1106. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +54 -9
  1107. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +20 -7
  1108. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
  1109. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  1110. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  1111. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  1112. package/src/libs/feature/editor/src/lib/fields.config.ts +323 -57
  1113. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +73 -0
  1114. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  1115. package/src/libs/feature/editor/src/lib/services/editor.service.ts +45 -21
  1116. package/src/libs/feature/map/src/index.ts +1 -8
  1117. package/src/libs/feature/map/src/lib/+state/map.actions.ts +10 -25
  1118. package/src/libs/feature/map/src/lib/+state/map.facade.ts +11 -15
  1119. package/src/libs/feature/map/src/lib/+state/map.reducer.ts +16 -53
  1120. package/src/libs/feature/map/src/lib/+state/map.selectors.ts +7 -2
  1121. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  1122. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +23 -22
  1123. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +22 -11
  1124. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  1125. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +21 -19
  1126. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  1127. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +17 -10
  1128. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +3 -3
  1129. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +17 -10
  1130. package/src/libs/feature/map/src/lib/constant/index.ts +0 -1
  1131. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -43
  1132. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +38 -20
  1133. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +5 -7
  1134. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +58 -6
  1135. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.css +0 -0
  1136. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.html +4 -0
  1137. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.ts +29 -0
  1138. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  1139. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -232
  1140. package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -1
  1141. package/src/libs/feature/record/src/index.ts +3 -0
  1142. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +1 -1
  1143. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +18 -3
  1144. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +41 -19
  1145. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  1146. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +27 -1
  1147. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +64 -12
  1148. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +1 -1
  1149. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +37 -21
  1150. package/src/libs/feature/record/src/lib/feature-record.module.ts +10 -29
  1151. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.css +22 -0
  1152. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.html +132 -0
  1153. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +253 -0
  1154. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.css +0 -0
  1155. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.html +37 -0
  1156. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +43 -0
  1157. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +54 -16
  1158. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +107 -76
  1159. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +45 -0
  1160. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +15 -2
  1161. package/src/libs/feature/router/src/lib/default/constants.ts +6 -1
  1162. package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +61 -0
  1163. package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
  1164. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +6 -4
  1165. package/src/libs/feature/search/src/index.ts +2 -0
  1166. package/src/libs/feature/search/src/lib/constants.ts +1 -1
  1167. package/src/libs/feature/search/src/lib/facets/facets.service.ts +4 -4
  1168. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +3 -0
  1169. package/src/libs/feature/search/src/lib/feature-search.module.ts +15 -8
  1170. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +20 -10
  1171. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +32 -1
  1172. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -1
  1173. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -6
  1174. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +12 -1
  1175. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +7 -2
  1176. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +71 -5
  1177. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.css +0 -0
  1178. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.html +17 -0
  1179. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +78 -0
  1180. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.css +0 -0
  1181. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.html +20 -0
  1182. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +118 -0
  1183. package/src/libs/feature/search/src/lib/sort-by/sort-by.component.ts +4 -0
  1184. package/src/libs/feature/search/src/lib/state/actions.ts +69 -17
  1185. package/src/libs/feature/search/src/lib/state/effects.ts +1 -1
  1186. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  1187. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -8
  1188. package/src/libs/feature/search/src/lib/state/selectors.ts +0 -18
  1189. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +36 -5
  1190. package/src/libs/feature/search/src/lib/utils/service/fields.ts +91 -12
  1191. package/src/libs/ui/catalog/src/index.ts +0 -1
  1192. package/src/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.ts +3 -0
  1193. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  1194. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.ts +15 -21
  1195. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +2 -3
  1196. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +11 -0
  1197. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +8 -1
  1198. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +3 -0
  1199. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +1 -1
  1200. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  1201. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +7 -5
  1202. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  1203. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +17 -2
  1204. package/src/libs/ui/elements/src/index.ts +3 -3
  1205. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +37 -27
  1206. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +21 -1
  1207. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  1208. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  1209. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  1210. package/src/libs/ui/elements/src/lib/content-ghost/content-ghost.component.ts +3 -0
  1211. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +7 -5
  1212. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +16 -5
  1213. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +1 -1
  1214. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +57 -11
  1215. package/src/libs/ui/elements/src/lib/error/error.component.css +24 -19
  1216. package/src/libs/ui/elements/src/lib/error/error.component.html +11 -21
  1217. package/src/libs/ui/elements/src/lib/error/error.component.ts +19 -0
  1218. package/src/libs/ui/elements/src/lib/image-input/image-input.component.css +4 -0
  1219. package/src/libs/ui/elements/src/lib/image-input/image-input.component.html +143 -0
  1220. package/src/libs/ui/{inputs → elements}/src/lib/image-input/image-input.component.ts +57 -21
  1221. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +3 -6
  1222. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +15 -0
  1223. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +2 -6
  1224. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +16 -5
  1225. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -17
  1226. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -3
  1227. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +7 -1
  1228. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.html +4 -1
  1229. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +1 -0
  1230. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +4 -1
  1231. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +20 -22
  1232. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +24 -0
  1233. package/src/libs/ui/elements/src/lib/metadata-info/linkify.directive.ts +7 -3
  1234. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
  1235. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +59 -34
  1236. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +43 -1
  1237. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  1238. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +18 -11
  1239. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  1240. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +7 -1
  1241. package/src/libs/ui/elements/src/lib/notification/notification.component.html +10 -14
  1242. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +33 -2
  1243. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.css +2 -2
  1244. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  1245. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +44 -35
  1246. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +4 -4
  1247. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +15 -0
  1248. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +24 -63
  1249. package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +2 -2
  1250. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +2 -6
  1251. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +22 -0
  1252. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -4
  1253. package/src/libs/ui/inputs/src/index.ts +5 -1
  1254. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +20 -20
  1255. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +39 -25
  1256. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +37 -6
  1257. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +11 -3
  1258. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +15 -1
  1259. package/src/libs/ui/inputs/src/lib/button/button.component.ts +17 -2
  1260. package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.html +4 -1
  1261. package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts +3 -3
  1262. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +4 -1
  1263. package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.html +5 -6
  1264. package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.ts +7 -0
  1265. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
  1266. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +12 -6
  1267. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +19 -2
  1268. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +5 -0
  1269. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +30 -0
  1270. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +63 -0
  1271. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
  1272. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +26 -23
  1273. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +19 -2
  1274. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +16 -20
  1275. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +7 -7
  1276. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +16 -2
  1277. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +44 -27
  1278. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
  1279. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +90 -0
  1280. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +108 -0
  1281. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +1 -3
  1282. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +4 -1
  1283. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.html +2 -2
  1284. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +16 -1
  1285. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -9
  1286. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +2 -6
  1287. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +6 -0
  1288. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +32 -0
  1289. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
  1290. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +40 -0
  1291. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
  1292. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
  1293. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  1294. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  1295. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +37 -36
  1296. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  1297. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +34 -0
  1298. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +93 -0
  1299. package/src/libs/ui/layout/src/index.ts +7 -0
  1300. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +0 -16
  1301. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +4 -12
  1302. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +20 -11
  1303. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -16
  1304. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -12
  1305. package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +22 -19
  1306. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +2 -4
  1307. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +8 -2
  1308. package/src/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.html +2 -6
  1309. package/src/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.ts +6 -0
  1310. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +9 -4
  1311. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +5 -4
  1312. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts +1 -0
  1313. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +5 -9
  1314. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +23 -11
  1315. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +11 -3
  1316. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +2 -1
  1317. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  1318. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  1319. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  1320. package/src/libs/ui/layout/src/lib/paginable.interface.ts +14 -0
  1321. package/src/libs/ui/layout/src/lib/pagination/pagination.component.css +0 -0
  1322. package/src/libs/ui/{elements → layout}/src/lib/pagination/pagination.component.html +12 -13
  1323. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +45 -0
  1324. package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.css +0 -0
  1325. package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.html +51 -0
  1326. package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.ts +50 -0
  1327. package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.css +16 -0
  1328. package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.html +15 -0
  1329. package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.ts +31 -0
  1330. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +18 -0
  1331. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +29 -0
  1332. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +4 -2
  1333. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  1334. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.ts +45 -0
  1335. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +8 -15
  1336. package/src/libs/ui/map/src/index.ts +4 -2
  1337. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +1 -1
  1338. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +8 -5
  1339. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.css +0 -0
  1340. package/src/libs/ui/map/src/lib/components/{map/map.component.html → map-container/map-container.component.html} +4 -3
  1341. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +214 -0
  1342. package/src/libs/ui/map/src/lib/components/map-container/map-settings.token.ts +23 -0
  1343. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.css +5 -0
  1344. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.html +1 -0
  1345. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.ts +39 -0
  1346. package/src/libs/ui/map/src/lib/map-utils.ts +54 -0
  1347. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  1348. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +17 -13
  1349. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +16 -10
  1350. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +1 -1
  1351. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  1352. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +59 -0
  1353. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +61 -0
  1354. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +78 -28
  1355. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +120 -46
  1356. package/src/libs/ui/search/src/lib/ui-search.module.ts +22 -3
  1357. package/src/libs/ui/widgets/src/index.ts +1 -0
  1358. package/src/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.ts +4 -6
  1359. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  1360. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  1361. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  1362. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.html +2 -4
  1363. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +8 -2
  1364. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts +1 -0
  1365. package/src/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.ts +1 -0
  1366. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +2 -2
  1367. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -18
  1368. package/src/libs/util/app-config/src/index.ts +1 -0
  1369. package/src/libs/util/app-config/src/lib/app-config.ts +9 -2
  1370. package/src/libs/util/app-config/src/lib/fixtures.ts +10 -9
  1371. package/src/libs/util/app-config/src/lib/map-layers.ts +37 -0
  1372. package/src/libs/util/app-config/src/lib/model.ts +6 -1
  1373. package/src/libs/util/data-fetcher/src/lib/model.ts +6 -6
  1374. package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +1 -1
  1375. package/src/libs/util/data-fetcher/src/lib/utils.ts +13 -11
  1376. package/src/libs/util/i18n/src/index.ts +1 -0
  1377. package/src/libs/util/i18n/src/lib/i18n.constants.ts +0 -43
  1378. package/src/libs/util/i18n/src/lib/lang.service.ts +1 -1
  1379. package/src/libs/util/i18n/src/lib/language-codes.ts +44 -0
  1380. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +6 -3
  1381. package/src/libs/util/shared/src/lib/links/link-utils.ts +70 -23
  1382. package/src/libs/util/shared/src/lib/services/proxy.service.ts +7 -3
  1383. package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
  1384. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  1385. package/src/libs/util/shared/src/lib/utils/format-fields.ts +11 -0
  1386. package/src/libs/util/shared/src/lib/utils/index.ts +2 -0
  1387. package/src/libs/util/shared/src/lib/utils/no-duplicate-file-name.ts +23 -0
  1388. package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -1
  1389. package/tailwind.base.config.js +3 -0
  1390. package/tailwind.base.css +69 -13
  1391. package/translations/de.json +224 -49
  1392. package/translations/en.json +252 -80
  1393. package/translations/es.json +202 -27
  1394. package/translations/fr.json +278 -106
  1395. package/translations/it.json +273 -96
  1396. package/translations/nl.json +202 -27
  1397. package/translations/pt.json +202 -27
  1398. package/translations/sk.json +205 -30
  1399. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +0 -71
  1400. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -15
  1401. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +0 -17
  1402. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +0 -17
  1403. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  1404. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  1405. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +0 -15
  1406. package/esm2022/libs/feature/map/src/lib/+state/map.models.mjs +0 -2
  1407. package/esm2022/libs/feature/map/src/lib/constant/map-options.mjs +0 -8
  1408. package/esm2022/libs/feature/map/src/lib/constant/style.constant.mjs +0 -17
  1409. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +0 -38
  1410. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +0 -19
  1411. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +0 -19
  1412. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +0 -27
  1413. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +0 -46
  1414. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +0 -10
  1415. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +0 -289
  1416. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +0 -62
  1417. package/esm2022/libs/ui/elements/src/lib/pagination/pagination.component.mjs +0 -54
  1418. package/esm2022/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.mjs +0 -66
  1419. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -43
  1420. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +0 -183
  1421. package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +0 -29
  1422. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +0 -40
  1423. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +0 -33
  1424. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +0 -21
  1425. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +0 -1
  1426. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -8
  1427. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +0 -1
  1428. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +0 -8
  1429. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +0 -1
  1430. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +0 -8
  1431. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +0 -1
  1432. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  1433. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  1434. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  1435. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  1436. package/libs/feature/map/src/lib/+state/map.effects.d.ts +0 -9
  1437. package/libs/feature/map/src/lib/+state/map.effects.d.ts.map +0 -1
  1438. package/libs/feature/map/src/lib/+state/map.models.d.ts +0 -9
  1439. package/libs/feature/map/src/lib/+state/map.models.d.ts.map +0 -1
  1440. package/libs/feature/map/src/lib/constant/map-options.d.ts +0 -9
  1441. package/libs/feature/map/src/lib/constant/map-options.d.ts.map +0 -1
  1442. package/libs/feature/map/src/lib/constant/style.constant.d.ts +0 -4
  1443. package/libs/feature/map/src/lib/constant/style.constant.d.ts.map +0 -1
  1444. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts +0 -16
  1445. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts.map +0 -1
  1446. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts +0 -9
  1447. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts.map +0 -1
  1448. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts +0 -11
  1449. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts.map +0 -1
  1450. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts +0 -12
  1451. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts.map +0 -1
  1452. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts +0 -26
  1453. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts.map +0 -1
  1454. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +0 -77
  1455. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +0 -1
  1456. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +0 -26
  1457. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +0 -1
  1458. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +0 -18
  1459. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +0 -1
  1460. package/libs/ui/elements/src/lib/pagination/pagination.component.d.ts +0 -16
  1461. package/libs/ui/elements/src/lib/pagination/pagination.component.d.ts.map +0 -1
  1462. package/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.d.ts +0 -17
  1463. package/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.d.ts.map +0 -1
  1464. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -22
  1465. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  1466. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +0 -1
  1467. package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +0 -12
  1468. package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +0 -1
  1469. package/libs/ui/map/src/lib/components/map/map.component.d.ts +0 -19
  1470. package/libs/ui/map/src/lib/components/map/map.component.d.ts.map +0 -1
  1471. package/libs/ui/map/src/lib/ui-map.module.d.ts +0 -13
  1472. package/libs/ui/map/src/lib/ui-map.module.d.ts.map +0 -1
  1473. package/src/libs/common/fixtures/src/lib/elasticsearch/search-responses.ts +0 -445
  1474. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  1475. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  1476. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  1477. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +0 -44
  1478. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -8
  1479. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -70
  1480. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +0 -4
  1481. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +0 -15
  1482. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +0 -7
  1483. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +0 -16
  1484. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +0 -13
  1485. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +0 -16
  1486. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  1487. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  1488. package/src/libs/feature/map/src/lib/+state/map.effects.ts +0 -7
  1489. package/src/libs/feature/map/src/lib/+state/map.models.ts +0 -9
  1490. package/src/libs/feature/map/src/lib/constant/map-options.ts +0 -17
  1491. package/src/libs/feature/map/src/lib/feature-info/feature-info.service.ts +0 -42
  1492. package/src/libs/feature/map/src/lib/manager/map-instance.directive.ts +0 -10
  1493. package/src/libs/feature/map/src/lib/manager/map-manager.service.ts +0 -13
  1494. package/src/libs/feature/map/src/lib/map-container/map-container.component.html +0 -1
  1495. package/src/libs/feature/map/src/lib/map-container/map-container.component.ts +0 -26
  1496. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.html +0 -1
  1497. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.ts +0 -57
  1498. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +0 -51
  1499. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +0 -95
  1500. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +0 -318
  1501. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +0 -38
  1502. package/src/libs/ui/elements/src/lib/pagination/pagination.component.ts +0 -50
  1503. package/src/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.html +0 -33
  1504. package/src/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.ts +0 -68
  1505. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -36
  1506. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +0 -56
  1507. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +0 -146
  1508. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +0 -26
  1509. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +0 -32
  1510. package/src/libs/ui/map/src/lib/components/map/map.component.ts +0 -57
  1511. package/src/libs/ui/map/src/lib/ui-map.module.ts +0 -19
  1512. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
  1513. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → import-record/import-record.component.css} +0 -0
  1514. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css → online-resource-card/online-resource-card.component.css} +0 -0
  1515. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css → online-service-resource-input/online-service-resource-input.component.css} +0 -0
  1516. /package/src/libs/feature/{map/src/lib/map-container/map-container.component.css → editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.css} +0 -0
  1517. /package/src/libs/feature/{map/src/lib/map-context/component/map-context.component.css → editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.css} +0 -0
  1518. /package/src/libs/{ui/elements/src/lib/pagination-buttons/pagination-buttons.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css} +0 -0
  1519. /package/src/libs/{ui/elements/src/lib/pagination/pagination.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css} +0 -0
  1520. /package/src/libs/{ui/inputs/src/lib/image-input/image-input.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.css} +0 -0
  1521. /package/src/libs/{ui/map/src/lib/components/map/map.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css} +0 -0
  1522. /package/src/libs/ui/{inputs → layout}/src/lib/previous-next-buttons/previous-next-buttons.component.css +0 -0
@@ -0,0 +1,201 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, TemplateRef, ViewChild, } from '@angular/core';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { marker } from '@biesbjerg/ngx-translate-extract-marker';
5
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
6
+ import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
7
+ import { FileInputComponent, SwitchToggleComponent, TextAreaComponent, TextInputComponent, UrlInputComponent, } from '../../../../../../../../../libs/ui/inputs/src';
8
+ import { ModalDialogComponent, SortableListComponent, } from '../../../../../../../../../libs/ui/layout/src';
9
+ import { TranslateModule, TranslateService } from '@ngx-translate/core';
10
+ import { MAX_UPLOAD_SIZE_MB } from '../../../../fields.config';
11
+ import { OnlineResourceCardComponent } from '../../../online-resource-card/online-resource-card.component';
12
+ import { OnlineServiceResourceInputComponent } from '../../../online-service-resource-input/online-service-resource-input.component';
13
+ import * as i0 from "@angular/core";
14
+ import * as i1 from "../../../../../../../../../libs/feature/notifications/src";
15
+ import * as i2 from "@ngx-translate/core";
16
+ import * as i3 from "../../../../../../../../../libs/common/domain/src/lib/platform.service.interface";
17
+ import * as i4 from "@angular/material/dialog";
18
+ import * as i5 from "@angular/common";
19
+ export class FormFieldOnlineResourcesComponent {
20
+ set value(onlineResources) {
21
+ this.allResources = onlineResources;
22
+ this.notLinkResources = onlineResources.filter((res) => res.type !== 'link');
23
+ }
24
+ constructor(notificationsService, translateService, platformService, cd, dialog) {
25
+ this.notificationsService = notificationsService;
26
+ this.translateService = translateService;
27
+ this.platformService = platformService;
28
+ this.cd = cd;
29
+ this.dialog = dialog;
30
+ this.valueChange = new EventEmitter();
31
+ this.typeOptions = [
32
+ {
33
+ label: marker('editor.record.form.field.onlineResource.toggle.dataset'),
34
+ value: 'download',
35
+ checked: true,
36
+ },
37
+ {
38
+ label: marker('editor.record.form.field.onlineResource.toggle.service'),
39
+ value: 'service',
40
+ checked: false,
41
+ },
42
+ ];
43
+ this.selectedType = 'download';
44
+ this.allResources = [];
45
+ this.notLinkResources = [];
46
+ this.uploadProgress = undefined;
47
+ this.uploadSubscription = null;
48
+ this.newService = {
49
+ type: 'service',
50
+ accessServiceProtocol: 'ogcFeatures',
51
+ identifierInService: '',
52
+ url: undefined,
53
+ };
54
+ this.MAX_UPLOAD_SIZE_MB = MAX_UPLOAD_SIZE_MB;
55
+ }
56
+ onSelectedTypeChange(selectedType) {
57
+ this.selectedType = selectedType;
58
+ }
59
+ handleFileChange(file) {
60
+ this.uploadProgress = 0;
61
+ this.uploadSubscription = this.platformService
62
+ .attachFileToRecord(this.metadataUuid, file)
63
+ .subscribe({
64
+ next: (event) => {
65
+ if (event.type === 'progress') {
66
+ this.uploadProgress = event.progress;
67
+ this.cd.detectChanges();
68
+ }
69
+ else if (event.type === 'success') {
70
+ this.uploadProgress = undefined;
71
+ this.cd.detectChanges();
72
+ const newResource = {
73
+ type: 'download',
74
+ url: new URL(event.attachment.url),
75
+ name: event.attachment.fileName,
76
+ sizeBytes: event.sizeBytes, // WARNING: this is the only time that sizeBytes is set
77
+ };
78
+ this.valueChange.emit([...this.allResources, newResource]);
79
+ }
80
+ },
81
+ error: (error) => this.handleError(error),
82
+ });
83
+ }
84
+ handleUploadCancel() {
85
+ if (this.uploadSubscription) {
86
+ this.uploadProgress = undefined;
87
+ this.uploadSubscription.unsubscribe();
88
+ }
89
+ }
90
+ handleDownloadUrlChange(url) {
91
+ try {
92
+ const name = url.split('/').pop();
93
+ const newLink = {
94
+ type: 'download',
95
+ url: new URL(url),
96
+ name,
97
+ };
98
+ this.valueChange.emit([...this.allResources, newLink]);
99
+ }
100
+ catch (e) {
101
+ this.handleError(e);
102
+ }
103
+ }
104
+ handleServiceUrlChange(url) {
105
+ this.valueChange.emit([
106
+ ...this.allResources,
107
+ {
108
+ ...this.newService,
109
+ url: new URL(url),
110
+ },
111
+ ]);
112
+ }
113
+ handleIdentifierSubmit(payload) {
114
+ this.valueChange.emit([
115
+ ...this.allResources,
116
+ {
117
+ ...this.newService,
118
+ url: new URL(payload.url),
119
+ },
120
+ ]);
121
+ }
122
+ handleServiceModify(oldService, newService) {
123
+ oldService.accessServiceProtocol = newService.accessServiceProtocol;
124
+ oldService.identifierInService = newService.identifierInService;
125
+ oldService.url = newService.url;
126
+ }
127
+ handleResourcesChange(items) {
128
+ const notLinks = items;
129
+ const newResources = [
130
+ ...this.allResources.filter((r) => r.type === 'link'),
131
+ ...notLinks,
132
+ ];
133
+ this.valueChange.emit(newResources);
134
+ }
135
+ handleResourceModify(resource, index) {
136
+ this.openEditDialog(resource, index);
137
+ }
138
+ handleError(error) {
139
+ this.uploadProgress = undefined;
140
+ this.notificationsService.showNotification({
141
+ type: 'error',
142
+ title: this.translateService.instant('editor.record.onlineResourceError.title'),
143
+ text: `${this.translateService.instant('editor.record.onlineResourceError.body')} ${error.message}`,
144
+ closeMessage: this.translateService.instant('editor.record.onlineResourceError.closeMessage'),
145
+ }, undefined, error);
146
+ }
147
+ openEditDialog(resource, index) {
148
+ const resourceCopy = {
149
+ ...resource,
150
+ };
151
+ this.dialog
152
+ .open(ModalDialogComponent, {
153
+ width: '800px',
154
+ data: {
155
+ title: this.translateService.instant('editor.record.form.field.onlineResource.dialogTitle'),
156
+ body: this.dialogTemplate,
157
+ bodyContext: resourceCopy,
158
+ confirmText: this.translateService.instant('editor.record.form.field.onlineResource.confirm'),
159
+ cancelText: this.translateService.instant('editor.record.form.field.onlineResource.cancel'),
160
+ },
161
+ })
162
+ .afterClosed()
163
+ .subscribe((confirmed) => {
164
+ if (!confirmed)
165
+ return;
166
+ const newNotLinks = [...this.notLinkResources];
167
+ newNotLinks.splice(index, 1, resourceCopy);
168
+ this.valueChange.emit([
169
+ ...this.allResources.filter((r) => r.type === 'link'),
170
+ ...newNotLinks,
171
+ ]);
172
+ });
173
+ }
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOnlineResourcesComponent, deps: [{ token: i1.NotificationsService }, { token: i2.TranslateService }, { token: i3.PlatformServiceInterface }, { token: i0.ChangeDetectorRef }, { token: i4.MatDialog }], target: i0.ɵɵFactoryTarget.Component }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldOnlineResourcesComponent, isStandalone: true, selector: "gn-ui-form-field-online-resources", inputs: { metadataUuid: "metadataUuid", value: "value" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "dialogTemplate", first: true, predicate: ["dialogTemplate"], descendants: true }], ngImport: i0, template: "<div class=\"flex flex-col\">\n <gn-ui-switch-toggle\n [options]=\"typeOptions\"\n (selectedValue)=\"onSelectedTypeChange($event.value)\"\n extraClasses=\"grow text-sm\"\n data-cy=\"online-resources-type\"\n ></gn-ui-switch-toggle>\n <div class=\"h-[8px]\"></div>\n <gn-ui-file-input\n *ngIf=\"selectedType === 'download'\"\n [maxSizeMB]=\"MAX_UPLOAD_SIZE_MB\"\n (fileChange)=\"handleFileChange($event)\"\n (uploadCancel)=\"handleUploadCancel()\"\n [uploadProgress]=\"uploadProgress\"\n (urlChange)=\"handleDownloadUrlChange($event)\"\n ></gn-ui-file-input>\n <div\n *ngIf=\"selectedType === 'service'\"\n class=\"w-full border-2 border-dashed rounded-lg p-6 flex flex-col gap-[16px]\"\n >\n <gn-ui-online-service-resource-input\n [service]=\"newService\"\n [disabled]=\"disabled$ | async\"\n (identifierSubmit)=\"handleIdentifierSubmit($event)\"\n ></gn-ui-online-service-resource-input>\n </div>\n <div class=\"h-[8px]\"></div>\n <gn-ui-sortable-list\n [items]=\"notLinkResources\"\n (itemsOrderChange)=\"handleResourcesChange($event)\"\n [elementTemplate]=\"template\"\n >\n </gn-ui-sortable-list>\n <ng-template #template let-onlineResource let-index=\"index\">\n <gn-ui-online-resource-card\n [onlineResource]=\"onlineResource\"\n (modifyClick)=\"handleResourceModify(onlineResource, index)\"\n ></gn-ui-online-resource-card>\n </ng-template>\n\n <ng-template #dialogTemplate let-onlineResource>\n <div class=\"flex flex-col gap-[16px]\">\n <div>\n <h3 class=\"text-[16px] font-bold text-main mb-[12px]\" translate>\n editor.record.form.field.onlineResource.edit.title\n </h3>\n <gn-ui-text-input [(value)]=\"onlineResource.name\"></gn-ui-text-input>\n </div>\n <div>\n <h3 class=\"text-[16px] font-bold text-main mb-[12px]\" translate>\n editor.record.form.field.onlineResource.edit.description\n </h3>\n <gn-ui-text-area\n [(value)]=\"onlineResource.description\"\n ></gn-ui-text-area>\n </div>\n <ng-container *ngIf=\"onlineResource.type === 'service'; else urlInput\">\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-online-service-resource-input\n [service]=\"onlineResource\"\n [modifyMode]=\"true\"\n ></gn-ui-online-service-resource-input>\n </ng-container>\n <ng-template #urlInput>\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-url-input\n class=\"w-full\"\n [disabled]=\"true\"\n [value]=\"onlineResource.url\"\n [showValidateButton]=\"false\"\n ></gn-ui-url-input>\n </ng-template>\n </div>\n </ng-template>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }, { kind: "component", type: SwitchToggleComponent, selector: "gn-ui-switch-toggle", inputs: ["options", "ariaLabel", "extraClasses", "disabled"], outputs: ["selectedValue"] }, { kind: "component", type: FileInputComponent, selector: "gn-ui-file-input", inputs: ["maxSizeMB", "uploadProgress", "disabled"], outputs: ["fileChange", "urlChange", "uploadCancel"] }, { kind: "component", type: OnlineServiceResourceInputComponent, selector: "gn-ui-online-service-resource-input", inputs: ["service", "protocolHint", "disabled", "modifyMode"], outputs: ["urlChange", "identifierSubmit"] }, { kind: "component", type: UrlInputComponent, selector: "gn-ui-url-input", inputs: ["value", "extraClass", "placeholder", "disabled", "showValidateButton"], outputs: ["valueChange", "uploadClick"] }, { kind: "component", type: SortableListComponent, selector: "gn-ui-sortable-list", inputs: ["elementTemplate", "items"], outputs: ["itemsOrderChange"] }, { kind: "component", type: OnlineResourceCardComponent, selector: "gn-ui-online-resource-card", inputs: ["onlineResource"], outputs: ["modifyClick"] }, { kind: "component", type: TextInputComponent, selector: "gn-ui-text-input", inputs: ["value", "extraClass", "placeholder", "required", "disabled"], outputs: ["valueChange"] }, { kind: "component", type: TextAreaComponent, selector: "gn-ui-text-area", inputs: ["value", "disabled", "extraClass", "placeholder", "required"], outputs: ["valueChange"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
176
+ }
177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOnlineResourcesComponent, decorators: [{
178
+ type: Component,
179
+ args: [{ selector: 'gn-ui-form-field-online-resources', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
180
+ CommonModule,
181
+ SwitchToggleComponent,
182
+ FileInputComponent,
183
+ OnlineServiceResourceInputComponent,
184
+ UrlInputComponent,
185
+ SortableListComponent,
186
+ OnlineResourceCardComponent,
187
+ TextInputComponent,
188
+ TextAreaComponent,
189
+ TranslateModule,
190
+ ], template: "<div class=\"flex flex-col\">\n <gn-ui-switch-toggle\n [options]=\"typeOptions\"\n (selectedValue)=\"onSelectedTypeChange($event.value)\"\n extraClasses=\"grow text-sm\"\n data-cy=\"online-resources-type\"\n ></gn-ui-switch-toggle>\n <div class=\"h-[8px]\"></div>\n <gn-ui-file-input\n *ngIf=\"selectedType === 'download'\"\n [maxSizeMB]=\"MAX_UPLOAD_SIZE_MB\"\n (fileChange)=\"handleFileChange($event)\"\n (uploadCancel)=\"handleUploadCancel()\"\n [uploadProgress]=\"uploadProgress\"\n (urlChange)=\"handleDownloadUrlChange($event)\"\n ></gn-ui-file-input>\n <div\n *ngIf=\"selectedType === 'service'\"\n class=\"w-full border-2 border-dashed rounded-lg p-6 flex flex-col gap-[16px]\"\n >\n <gn-ui-online-service-resource-input\n [service]=\"newService\"\n [disabled]=\"disabled$ | async\"\n (identifierSubmit)=\"handleIdentifierSubmit($event)\"\n ></gn-ui-online-service-resource-input>\n </div>\n <div class=\"h-[8px]\"></div>\n <gn-ui-sortable-list\n [items]=\"notLinkResources\"\n (itemsOrderChange)=\"handleResourcesChange($event)\"\n [elementTemplate]=\"template\"\n >\n </gn-ui-sortable-list>\n <ng-template #template let-onlineResource let-index=\"index\">\n <gn-ui-online-resource-card\n [onlineResource]=\"onlineResource\"\n (modifyClick)=\"handleResourceModify(onlineResource, index)\"\n ></gn-ui-online-resource-card>\n </ng-template>\n\n <ng-template #dialogTemplate let-onlineResource>\n <div class=\"flex flex-col gap-[16px]\">\n <div>\n <h3 class=\"text-[16px] font-bold text-main mb-[12px]\" translate>\n editor.record.form.field.onlineResource.edit.title\n </h3>\n <gn-ui-text-input [(value)]=\"onlineResource.name\"></gn-ui-text-input>\n </div>\n <div>\n <h3 class=\"text-[16px] font-bold text-main mb-[12px]\" translate>\n editor.record.form.field.onlineResource.edit.description\n </h3>\n <gn-ui-text-area\n [(value)]=\"onlineResource.description\"\n ></gn-ui-text-area>\n </div>\n <ng-container *ngIf=\"onlineResource.type === 'service'; else urlInput\">\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-online-service-resource-input\n [service]=\"onlineResource\"\n [modifyMode]=\"true\"\n ></gn-ui-online-service-resource-input>\n </ng-container>\n <ng-template #urlInput>\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-url-input\n class=\"w-full\"\n [disabled]=\"true\"\n [value]=\"onlineResource.url\"\n [showValidateButton]=\"false\"\n ></gn-ui-url-input>\n </ng-template>\n </div>\n </ng-template>\n</div>\n" }]
191
+ }], ctorParameters: () => [{ type: i1.NotificationsService }, { type: i2.TranslateService }, { type: i3.PlatformServiceInterface }, { type: i0.ChangeDetectorRef }, { type: i4.MatDialog }], propDecorators: { metadataUuid: [{
192
+ type: Input
193
+ }], value: [{
194
+ type: Input
195
+ }], valueChange: [{
196
+ type: Output
197
+ }], dialogTemplate: [{
198
+ type: ViewChild,
199
+ args: ['dialogTemplate']
200
+ }] } });
201
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1vbmxpbmUtcmVzb3VyY2VzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL3JlY29yZC1mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1vbmxpbmUtcmVzb3VyY2VzL2Zvcm0tZmllbGQtb25saW5lLXJlc291cmNlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvZWRpdG9yL3NyYy9saWIvY29tcG9uZW50cy9yZWNvcmQtZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtb25saW5lLXJlc291cmNlcy9mb3JtLWZpZWxkLW9ubGluZS1yZXNvdXJjZXMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sRUFDTixXQUFXLEVBQ1gsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFBO0FBQ3RCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQTtBQUNwRCxPQUFPLEVBQU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YW50KFxuICAgICAgICAgICAgJ2VkaXRvci5yZWNvcmQuZm9ybS5maWVsZC5vbmxpbmVSZXNvdXJjZS5kaWFsb2dUaXRsZSdcbiAgICAgICAgICApLFxuICAgICAgICAgIGJvZHk6IHRoaXMuZGlhbG9nVGVtcGxhdGUsXG4gICAgICAgICAgYm9keUNvbnRleHQ6IHJlc291cmNlQ29weSxcbiAgICAgICAgICBjb25maXJtVGV4dDogdGhpcy50cmFuc2xhdGVTZXJ2aWNlLmluc3RhbnQoXG4gICAgICAgICAgICAnZWRpdG9yLnJlY29yZC5mb3JtLmZpZWxkLm9ubGluZVJlc291cmNlLmNvbmZpcm0nXG4gICAgICAgICAgKSxcbiAgICAgICAgICBjYW5jZWxUZXh0OiB0aGlzLnRyYW5zbGF0ZVNlcnZpY2UuaW5zdGFudChcbiAgICAgICAgICAgICdlZGl0b3IucmVjb3JkLmZvcm0uZmllbGQub25saW5lUmVzb3VyY2UuY2FuY2VsJ1xuICAgICAgICAgICksXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICAgLmFmdGVyQ2xvc2VkKClcbiAgICAgIC5zdWJzY3JpYmUoKGNvbmZpcm1lZDogYm9vbGVhbikgPT4ge1xuICAgICAgICBpZiAoIWNvbmZpcm1lZCkgcmV0dXJuXG4gICAgICAgIGNvbnN0IG5ld05vdExpbmtzID0gWy4uLnRoaXMubm90TGlua1Jlc291cmNlc11cbiAgICAgICAgbmV3Tm90TGlua3Muc3BsaWNlKGluZGV4LCAxLCByZXNvdXJjZUNvcHkpXG4gICAgICAgIHRoaXMudmFsdWVDaGFuZ2UuZW1pdChbXG4gICAgICAgICAgLi4udGhpcy5hbGxSZXNvdXJjZXMuZmlsdGVyKChyKSA9PiByLnR5cGUgPT09ICdsaW5rJyksXG4gICAgICAgICAgLi4ubmV3Tm90TGlua3MsXG4gICAgICAgIF0pXG4gICAgICB9KVxuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZmxleCBmbGV4LWNvbFwiPlxuICA8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bGFzcz1cInctZnVsbCBib3JkZXItYiBib3JkZXItZ3JheS0zMDBcIj48L3NwYW4+XG4gICAgICAgIDxnbi11aS11cmwtaW5wdXRcbiAgICAgICAgICBjbGFzcz1cInctZnVsbFwiXG4gICAgICAgICAgW2Rpc2FibGVkXT1cInRydWVcIlxuICAgICAgICAgIFt2YWx1ZV09XCJvbmxpbmVSZXNvdXJjZS51cmxcIlxuICAgICAgICAgIFtzaG93VmFsaWRhdGVCdXR0b25dPVwiZmFsc2VcIlxuICAgICAgICA+PC9nbi11aS11cmwtaW5wdXQ+XG4gICAgICA8L25nLXRlbXBsYXRlPlxuICAgIDwvZGl2PlxuICA8L25nLXRlbXBsYXRlPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,44 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
2
+ import { CheckToggleComponent } from '../../../../../../../../../libs/ui/inputs/src';
3
+ import { TranslateModule } from '@ngx-translate/core';
4
+ import { OPEN_DATA_LICENSE } from './../../../../fields.config';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@ngx-translate/core";
7
+ export class FormFieldOpenDataComponent {
8
+ constructor() {
9
+ this.valueChange = new EventEmitter();
10
+ this.openDataChange = new EventEmitter();
11
+ }
12
+ get isOpenDataLicense() {
13
+ return !!this.value.find((constraint) => constraint.text === OPEN_DATA_LICENSE);
14
+ }
15
+ ngOnChanges() {
16
+ this.openDataChange.emit(this.isOpenDataLicense);
17
+ }
18
+ onOpenDataToggled(openData) {
19
+ this.openDataChange.emit(openData);
20
+ if (openData) {
21
+ this.valueChange.emit([
22
+ {
23
+ text: OPEN_DATA_LICENSE,
24
+ },
25
+ ]);
26
+ }
27
+ else {
28
+ this.valueChange.emit(this.value.filter((constraint) => constraint.text !== OPEN_DATA_LICENSE));
29
+ }
30
+ }
31
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOpenDataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldOpenDataComponent, isStandalone: true, selector: "gn-ui-form-field-open-data", inputs: { value: "value" }, outputs: { valueChange: "valueChange", openDataChange: "openDataChange" }, usesOnChanges: true, ngImport: i0, template: "<gn-ui-check-toggle\n [label]=\"'editor.record.form.classification.opendata' | translate\"\n [value]=\"isOpenDataLicense\"\n (toggled)=\"onOpenDataToggled($event)\"\n data-cy=\"openDataToggle\"\n></gn-ui-check-toggle>\n", styles: [""], dependencies: [{ kind: "component", type: CheckToggleComponent, selector: "gn-ui-check-toggle", inputs: ["title", "label", "value", "color"], outputs: ["toggled"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
+ }
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOpenDataComponent, decorators: [{
35
+ type: Component,
36
+ args: [{ selector: 'gn-ui-form-field-open-data', standalone: true, imports: [CheckToggleComponent, TranslateModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<gn-ui-check-toggle\n [label]=\"'editor.record.form.classification.opendata' | translate\"\n [value]=\"isOpenDataLicense\"\n (toggled)=\"onOpenDataToggled($event)\"\n data-cy=\"openDataToggle\"\n></gn-ui-check-toggle>\n" }]
37
+ }], propDecorators: { value: [{
38
+ type: Input
39
+ }], valueChange: [{
40
+ type: Output
41
+ }], openDataChange: [{
42
+ type: Output
43
+ }] } });
44
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1vcGVuLWRhdGEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGl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ZXZlbnQpXCJcbiAgZGF0YS1jeT1cIm9wZW5EYXRhVG9nZ2xlXCJcbj48L2duLXVpLWNoZWNrLXRvZ2dsZT5cbiJdfQ==
@@ -0,0 +1,104 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, } from '@angular/core';
3
+ import { ImageInputComponent } from '../../../../../../../../../libs/ui/elements/src';
4
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
5
+ import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
6
+ import { TranslateModule, TranslateService } from '@ngx-translate/core';
7
+ import { MAX_UPLOAD_SIZE_MB } from '../../../../fields.config';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../../../../../../../../../libs/common/domain/src/lib/platform.service.interface";
10
+ import * as i2 from "../../../../../../../../../libs/feature/notifications/src";
11
+ import * as i3 from "@ngx-translate/core";
12
+ export class FormFieldOverviewsComponent {
13
+ get firstOverview() {
14
+ return (this.value[0] ?? {
15
+ url: null,
16
+ description: '',
17
+ });
18
+ }
19
+ constructor(platformService, notificationsService, translateService, cd) {
20
+ this.platformService = platformService;
21
+ this.notificationsService = notificationsService;
22
+ this.translateService = translateService;
23
+ this.cd = cd;
24
+ this.valueChange = new EventEmitter();
25
+ this.uploadProgress = undefined;
26
+ this.uploadSubscription = null;
27
+ this.MAX_UPLOAD_SIZE_MB = MAX_UPLOAD_SIZE_MB;
28
+ this.handleError = (error) => {
29
+ this.uploadProgress = undefined;
30
+ this.cd.markForCheck();
31
+ this.notificationsService.showNotification({
32
+ type: 'error',
33
+ title: this.translateService.instant('editor.record.resourceError.title'),
34
+ text: `${this.translateService.instant('editor.record.resourceError.body')} ${error.message}`,
35
+ closeMessage: this.translateService.instant('editor.record.resourceError.closeMessage'),
36
+ }, undefined, error);
37
+ };
38
+ }
39
+ handleFileChange(file) {
40
+ this.uploadProgress = 0;
41
+ this.uploadSubscription = this.platformService
42
+ .attachFileToRecord(this.metadataUuid, file)
43
+ .subscribe({
44
+ next: (event) => {
45
+ if (event.type === 'progress') {
46
+ this.uploadProgress = event.progress;
47
+ this.cd.detectChanges();
48
+ }
49
+ else if (event.type === 'success') {
50
+ this.uploadProgress = undefined;
51
+ this.cd.detectChanges();
52
+ this.emitOverview({
53
+ url: event.attachment.url,
54
+ description: event.attachment.fileName,
55
+ });
56
+ }
57
+ },
58
+ error: (error) => this.handleError(error),
59
+ });
60
+ }
61
+ handleUploadCancel() {
62
+ if (this.uploadSubscription) {
63
+ this.uploadProgress = undefined;
64
+ this.uploadSubscription.unsubscribe();
65
+ }
66
+ }
67
+ handleUrlChange(url) {
68
+ try {
69
+ const filename = url.split('/').pop();
70
+ this.emitOverview({
71
+ url: new URL(url),
72
+ description: filename,
73
+ });
74
+ }
75
+ catch (e) {
76
+ this.handleError(e);
77
+ }
78
+ }
79
+ handleAltTextChange(newAltText) {
80
+ this.emitOverview({
81
+ url: this.firstOverview.url,
82
+ description: newAltText,
83
+ });
84
+ }
85
+ handleDelete() {
86
+ this.emitOverview(null);
87
+ }
88
+ emitOverview(overView) {
89
+ this.valueChange.emit(overView ? [overView] : []);
90
+ }
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOverviewsComponent, deps: [{ token: i1.PlatformServiceInterface }, { token: i2.NotificationsService }, { token: i3.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldOverviewsComponent, isStandalone: true, selector: "gn-ui-form-field-overviews", inputs: { metadataUuid: "metadataUuid", value: "value" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"flex flex-col gap-2\">\n <gn-ui-image-input\n [maxSizeMB]=\"MAX_UPLOAD_SIZE_MB\"\n [previewUrl]=\"firstOverview.url\"\n [altText]=\"firstOverview.description\"\n (fileChange)=\"handleFileChange($event)\"\n (urlChange)=\"handleUrlChange($event)\"\n (altTextChange)=\"handleAltTextChange($event)\"\n (delete)=\"handleDelete()\"\n [uploadProgress]=\"uploadProgress\"\n (uploadCancel)=\"handleUploadCancel()\"\n ></gn-ui-image-input>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: ImageInputComponent, selector: "gn-ui-image-input", inputs: ["maxSizeMB", "previewUrl", "altText", "uploadProgress", "uploadError", "disabled"], outputs: ["fileChange", "urlChange", "uploadCancel", "delete", "altTextChange"] }, { kind: "ngmodule", type: TranslateModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
93
+ }
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOverviewsComponent, decorators: [{
95
+ type: Component,
96
+ args: [{ selector: 'gn-ui-form-field-overviews', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, ImageInputComponent, TranslateModule], template: "<div class=\"flex flex-col gap-2\">\n <gn-ui-image-input\n [maxSizeMB]=\"MAX_UPLOAD_SIZE_MB\"\n [previewUrl]=\"firstOverview.url\"\n [altText]=\"firstOverview.description\"\n (fileChange)=\"handleFileChange($event)\"\n (urlChange)=\"handleUrlChange($event)\"\n (altTextChange)=\"handleAltTextChange($event)\"\n (delete)=\"handleDelete()\"\n [uploadProgress]=\"uploadProgress\"\n (uploadCancel)=\"handleUploadCancel()\"\n ></gn-ui-image-input>\n</div>\n" }]
97
+ }], ctorParameters: () => [{ type: i1.PlatformServiceInterface }, { type: i2.NotificationsService }, { type: i3.TranslateService }, { type: i0.ChangeDetectorRef }], propDecorators: { metadataUuid: [{
98
+ type: Input
99
+ }], value: [{
100
+ type: Input
101
+ }], valueChange: [{
102
+ type: Output
103
+ }] } });
104
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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b3IucmVjb3JkLnJlc291cmNlRXJyb3IuY2xvc2VNZXNzYWdlJ1xuICAgICAgICApLFxuICAgICAgfSxcbiAgICAgIHVuZGVmaW5lZCxcbiAgICAgIGVycm9yXG4gICAgKVxuICB9XG59XG4iLCI8ZGl2IGNsYXNzPVwiZmxleCBmbGV4LWNvbCBnYXAtMlwiPlxuICA8Z24tdWktaW1hZ2UtaW5wdXRcbiAgICBbbWF4U2l6ZU1CXT1cIk1BWF9VUExPQURfU0laRV9NQlwiXG4gICAgW3ByZXZpZXdVcmxdPVwiZmlyc3RPdmVydmlldy51cmxcIlxuICAgIFthbHRUZXh0XT1cImZpcnN0T3ZlcnZpZXcuZGVzY3JpcHRpb25cIlxuICAgIChmaWxlQ2hhbmdlKT1cImhhbmRsZUZpbGVDaGFuZ2UoJGV2ZW50KVwiXG4gICAgKHVybENoYW5nZSk9XCJoYW5kbGVVcmxDaGFuZ2UoJGV2ZW50KVwiXG4gICAgKGFsdFRleHRDaGFuZ2UpPVwiaGFuZGxlQWx0VGV4dENoYW5nZSgkZXZlbnQpXCJcbiAgICAoZGVsZXRlKT1cImhhbmRsZURlbGV0ZSgpXCJcbiAgICBbdXBsb2FkUHJvZ3Jlc3NdPVwidXBsb2FkUHJvZ3Jlc3NcIlxuICAgICh1cGxvYWRDYW5jZWwpPVwiaGFuZGxlVXBsb2FkQ2FuY2VsKClcIlxuICA+PC9nbi11aS1pbWFnZS1pbnB1dD5cbjwvZGl2PlxuIl19
@@ -1,28 +1,24 @@
1
1
  import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
3
- import { FormControl, ReactiveFormsModule } from '@angular/forms';
2
+ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
3
+ import { ReactiveFormsModule } from '@angular/forms';
4
4
  import { MarkdownEditorComponent } from '../../../../../../../../../libs/ui/elements/src';
5
5
  import { ButtonComponent } from '../../../../../../../../../libs/ui/inputs/src';
6
6
  import { FormFieldWrapperComponent } from '../../../../../../../../../libs/ui/layout/src';
7
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "@angular/common";
8
9
  export class FormFieldRichComponent {
9
10
  constructor() {
10
11
  this.placeholder = 'Votre texte ici'; //TODO: translate
12
+ this.valueChange = new EventEmitter();
11
13
  this.preview = false;
12
14
  }
13
- getButtonExtraClass() {
14
- return `${this.preview ? 'text-gray-200 bg-gray-900' : 'text-gray-900 bg-gray-200'} rounded-[1.25rem] p-[0.375rem] text-xs font-medium w-24`;
15
- }
16
15
  togglePreview() {
17
16
  this.preview = !this.preview;
18
17
  }
19
- handleTextContentChanged(textContent) {
20
- this.control.setValue(textContent);
21
- }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldRichComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
23
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormFieldRichComponent, isStandalone: true, selector: "gn-ui-form-field-rich", inputs: { control: "control", label: "label", hint: "hint", helperText: "helperText", placeholder: "placeholder" }, ngImport: i0, template: "<gn-ui-form-field-wrapper [label]=\"label\" [hint]=\"hint\">\n <gn-ui-button\n form-field-interaction\n [extraClass]=\"getButtonExtraClass()\"\n (buttonClick)=\"togglePreview()\"\n >\n <span class=\"material-symbols-outlined mr-1 gn-ui-icon-small\">{{\n preview ? 'visibility' : 'visibility_off'\n }}</span>\n {{ preview ? 'WYSIWYG' : 'Markdown' }}\n </gn-ui-button>\n <gn-ui-markdown-editor\n class=\"h-full\"\n [preview]=\"preview\"\n [helperText]=\"helperText\"\n [placeholder]=\"placeholder\"\n [textContent]=\"control.value\"\n (textContentChanged)=\"handleTextContentChanged($event)\"\n ></gn-ui-markdown-editor>\n</gn-ui-form-field-wrapper>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: MarkdownEditorComponent, selector: "gn-ui-markdown-editor", inputs: ["preview", "helperText", "placeholder", "textContent"], outputs: ["textContentChanged"] }, { kind: "component", type: FormFieldWrapperComponent, selector: "gn-ui-form-field-wrapper", inputs: ["label", "hint"] }, { kind: "component", type: ButtonComponent, selector: "gn-ui-button", inputs: ["type", "disabled", "extraClass"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldRichComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
19
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldRichComponent, isStandalone: true, selector: "gn-ui-form-field-rich", inputs: { label: "label", hint: "hint", placeholder: "placeholder", value: "value" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<gn-ui-form-field-wrapper [label]=\"label\" [hint]=\"hint\">\n <gn-ui-button\n form-field-interaction\n [type]=\"preview ? 'black' : 'gray'\"\n style=\"\n --gn-ui-button-padding: 3px 8px;\n --gn-ui-button-font-size: 12px;\n --gn-ui-button-rounded: 20px;\n \"\n (buttonClick)=\"togglePreview()\"\n >\n <span\n class=\"material-symbols-outlined gn-ui-icon-small\"\n [ngClass]=\"{ 'text-primary': !preview }\"\n >{{ preview ? 'visibility_off' : 'visibility' }}</span\n >\n &nbsp;\n {{ preview ? 'Edit' : 'Preview' }}\n </gn-ui-button>\n <gn-ui-markdown-editor\n [preview]=\"preview\"\n [placeholder]=\"placeholder\"\n [textContent]=\"value\"\n (textContentChanged)=\"valueChange.emit($event)\"\n textAreaExtraClass=\"min-h-[100px]\"\n ></gn-ui-markdown-editor>\n</gn-ui-form-field-wrapper>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: MarkdownEditorComponent, selector: "gn-ui-markdown-editor", inputs: ["preview", "placeholder", "textContent", "textAreaExtraClass"], outputs: ["textContentChanged"] }, { kind: "component", type: FormFieldWrapperComponent, selector: "gn-ui-form-field-wrapper", inputs: ["label", "hint"] }, { kind: "component", type: ButtonComponent, selector: "gn-ui-button", inputs: ["type", "disabled", "extraClass"], outputs: ["buttonClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
20
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldRichComponent, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldRichComponent, decorators: [{
26
22
  type: Component,
27
23
  args: [{ selector: 'gn-ui-form-field-rich', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
28
24
  CommonModule,
@@ -30,16 +26,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
30
26
  MarkdownEditorComponent,
31
27
  FormFieldWrapperComponent,
32
28
  ButtonComponent,
33
- ], template: "<gn-ui-form-field-wrapper [label]=\"label\" [hint]=\"hint\">\n <gn-ui-button\n form-field-interaction\n [extraClass]=\"getButtonExtraClass()\"\n (buttonClick)=\"togglePreview()\"\n >\n <span class=\"material-symbols-outlined mr-1 gn-ui-icon-small\">{{\n preview ? 'visibility' : 'visibility_off'\n }}</span>\n {{ preview ? 'WYSIWYG' : 'Markdown' }}\n </gn-ui-button>\n <gn-ui-markdown-editor\n class=\"h-full\"\n [preview]=\"preview\"\n [helperText]=\"helperText\"\n [placeholder]=\"placeholder\"\n [textContent]=\"control.value\"\n (textContentChanged)=\"handleTextContentChanged($event)\"\n ></gn-ui-markdown-editor>\n</gn-ui-form-field-wrapper>\n" }]
34
- }], propDecorators: { control: [{
35
- type: Input
36
- }], label: [{
29
+ ], template: "<gn-ui-form-field-wrapper [label]=\"label\" [hint]=\"hint\">\n <gn-ui-button\n form-field-interaction\n [type]=\"preview ? 'black' : 'gray'\"\n style=\"\n --gn-ui-button-padding: 3px 8px;\n --gn-ui-button-font-size: 12px;\n --gn-ui-button-rounded: 20px;\n \"\n (buttonClick)=\"togglePreview()\"\n >\n <span\n class=\"material-symbols-outlined gn-ui-icon-small\"\n [ngClass]=\"{ 'text-primary': !preview }\"\n >{{ preview ? 'visibility_off' : 'visibility' }}</span\n >\n &nbsp;\n {{ preview ? 'Edit' : 'Preview' }}\n </gn-ui-button>\n <gn-ui-markdown-editor\n [preview]=\"preview\"\n [placeholder]=\"placeholder\"\n [textContent]=\"value\"\n (textContentChanged)=\"valueChange.emit($event)\"\n textAreaExtraClass=\"min-h-[100px]\"\n ></gn-ui-markdown-editor>\n</gn-ui-form-field-wrapper>\n" }]
30
+ }], propDecorators: { label: [{
37
31
  type: Input
38
32
  }], hint: [{
39
33
  type: Input
40
- }], helperText: [{
41
- type: Input
42
34
  }], placeholder: [{
43
35
  type: Input
36
+ }], value: [{
37
+ type: Input
38
+ }], valueChange: [{
39
+ type: Output
44
40
  }] } });
45
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1yaWNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL3JlY29yZC1mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1yaWNoL2Zvcm0tZmllbGQtcmljaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvZWRpdG9yL3NyYy9saWIvY29tcG9uZW50cy9yZWNvcmQtZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllb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