geonetwork-ui 2.4.0-dev.fe59f179 → 2.4.1-dev.4e8752d34

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 (1520) 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 +7 -6
  20. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +40 -20
  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 +153 -40
  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 +7 -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 +6 -1
  116. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +32 -10
  117. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +21 -5
  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 +31 -3
  120. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +17 -6
  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 +73 -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 +34 -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 +157 -0
  140. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +196 -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 +110 -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 +279 -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 +20 -11
  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 +55 -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 +11 -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 +88 -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 +12 -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 +102 -40
  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 +17 -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 +196 -47
  391. package/esm2022/translations/en.json +241 -76
  392. package/esm2022/translations/es.json +174 -25
  393. package/esm2022/translations/fr.json +268 -103
  394. package/esm2022/translations/it.json +179 -30
  395. package/esm2022/translations/nl.json +174 -25
  396. package/esm2022/translations/pt.json +174 -25
  397. package/fesm2022/geonetwork-ui.mjs +13429 -8134
  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 +12 -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 +31 -13
  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 +29 -0
  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.map +1 -1
  497. package/libs/data-access/gn4/src/openapi/model/groupPrivilege.api.model.d.ts.map +1 -1
  498. package/libs/data-access/gn4/src/openapi/model/jsonNode.api.model.d.ts.map +1 -1
  499. package/libs/data-access/gn4/src/openapi/model/link.api.model.d.ts.map +1 -1
  500. package/libs/data-access/gn4/src/openapi/model/metadataResource.api.model.d.ts.map +1 -1
  501. package/libs/data-access/gn4/src/openapi/model/metadataResourceExternalManagementProperties.api.model.d.ts.map +1 -1
  502. package/libs/data-access/gn4/src/openapi/model/metadataStatusParameter.api.model.d.ts.map +1 -1
  503. package/libs/data-access/gn4/src/openapi/model/operation.api.model.d.ts.map +1 -1
  504. package/libs/data-access/gn4/src/openapi/model/pageProperties.api.model.d.ts.map +1 -1
  505. package/libs/data-access/gn4/src/openapi/model/publicationOption.api.model.d.ts.map +1 -1
  506. package/libs/data-access/gn4/src/openapi/model/setting.api.model.d.ts.map +1 -1
  507. package/libs/data-access/gn4/src/openapi/model/status.api.model.d.ts.map +1 -1
  508. package/libs/data-access/gn4/src/openapi/model/statusValue.api.model.d.ts.map +1 -1
  509. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts.map +1 -1
  510. package/libs/data-access/gn4/src/openapi/model/userGroup.api.model.d.ts.map +1 -1
  511. package/libs/data-access/gn4/src/openapi/model/userGroupId.api.model.d.ts.map +1 -1
  512. package/libs/data-access/gn4/src/openapi/model/userSecurity.api.model.d.ts.map +1 -1
  513. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +8 -8
  514. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  515. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts +10 -3
  516. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  517. package/libs/feature/dataviz/src/index.d.ts +0 -1
  518. package/libs/feature/dataviz/src/index.d.ts.map +1 -1
  519. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +3 -3
  520. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  521. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts +1 -1
  522. package/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.d.ts.map +1 -1
  523. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +14 -21
  524. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
  525. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +9 -7
  526. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  527. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +4 -4
  528. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  529. package/libs/feature/editor/src/index.d.ts +1 -0
  530. package/libs/feature/editor/src/index.d.ts.map +1 -1
  531. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +37 -7
  532. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  533. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +21 -8
  534. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  535. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +15 -7
  536. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  537. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +9 -1
  538. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  539. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +8 -3
  540. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  541. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +12 -9
  542. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  543. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts +16 -0
  544. package/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.d.ts.map +1 -0
  545. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +8 -0
  546. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  547. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +33 -0
  548. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  549. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +34 -0
  550. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
  551. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  552. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  553. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +17 -0
  554. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -0
  555. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts +18 -0
  556. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.d.ts.map +1 -0
  557. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.d.ts +6 -0
  558. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.d.ts.map +1 -0
  559. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.d.ts +32 -0
  560. 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
  561. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts +38 -0
  562. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -0
  563. 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
  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.map +1 -0
  565. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.d.ts +9 -0
  566. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.d.ts.map +1 -0
  567. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +11 -19
  568. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  569. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +15 -34
  570. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  571. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +15 -0
  572. 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
  573. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +38 -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.map +1 -0
  575. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +47 -0
  576. 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
  577. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +14 -0
  578. 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
  579. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +34 -0
  580. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  581. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -6
  582. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  583. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +5 -10
  584. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  585. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +24 -0
  586. 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
  587. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.d.ts +14 -0
  588. 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
  589. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +10 -16
  590. 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
  591. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +6 -6
  592. 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
  593. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +20 -20
  594. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  595. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -2
  596. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  597. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +7 -7
  598. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  599. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  600. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  601. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  602. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  603. package/libs/feature/editor/src/lib/fields.config.d.ts +64 -2
  604. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  605. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +45 -0
  606. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  607. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  608. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  609. package/libs/feature/editor/src/lib/services/editor.service.d.ts +8 -3
  610. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  611. package/libs/feature/map/src/index.d.ts +1 -8
  612. package/libs/feature/map/src/index.d.ts.map +1 -1
  613. package/libs/feature/map/src/lib/+state/map.actions.d.ts +13 -39
  614. package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
  615. package/libs/feature/map/src/lib/+state/map.facade.d.ts +9 -10
  616. package/libs/feature/map/src/lib/+state/map.facade.d.ts.map +1 -1
  617. package/libs/feature/map/src/lib/+state/map.reducer.d.ts +4 -2
  618. package/libs/feature/map/src/lib/+state/map.reducer.d.ts.map +1 -1
  619. package/libs/feature/map/src/lib/+state/map.selectors.d.ts +6 -1
  620. package/libs/feature/map/src/lib/+state/map.selectors.d.ts.map +1 -1
  621. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  622. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  623. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +8 -10
  624. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  625. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  626. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  627. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +3 -3
  628. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  629. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +2 -2
  630. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  631. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +2 -2
  632. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  633. package/libs/feature/map/src/lib/constant/index.d.ts +0 -1
  634. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  635. package/libs/feature/map/src/lib/feature-map.module.d.ts +11 -23
  636. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  637. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +7 -7
  638. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  639. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +5 -4
  640. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  641. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts +14 -0
  642. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts.map +1 -0
  643. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  644. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  645. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +0 -30
  646. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  647. package/libs/feature/notifications/src/lib/notifications.service.d.ts +1 -1
  648. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -1
  649. package/libs/feature/record/src/index.d.ts +3 -0
  650. package/libs/feature/record/src/index.d.ts.map +1 -1
  651. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +4 -4
  652. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  653. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  654. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  655. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  656. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  657. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  658. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  659. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +10 -7
  660. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  661. package/libs/feature/record/src/lib/feature-record.module.d.ts +15 -23
  662. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  663. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts +74 -0
  664. package/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.d.ts.map +1 -0
  665. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts +19 -0
  666. package/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.d.ts.map +1 -0
  667. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +21 -21
  668. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  669. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts +14 -0
  670. package/libs/feature/record/src/lib/record-meta/record-meta.component.d.ts.map +1 -0
  671. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +13 -13
  672. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  673. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +9 -9
  674. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  675. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  676. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  677. package/libs/feature/router/src/lib/default/constants.d.ts +3 -2
  678. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  679. package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts +4 -0
  680. package/libs/feature/router/src/lib/default/state/query-params.utils.d.ts.map +1 -0
  681. package/libs/feature/router/src/lib/default/state/router.actions.d.ts +3 -3
  682. package/libs/feature/router/src/lib/default/state/router.actions.d.ts.map +1 -1
  683. package/libs/feature/router/src/lib/default/state/router.effects.d.ts +5 -5
  684. package/libs/feature/router/src/lib/default/state/router.effects.d.ts.map +1 -1
  685. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -1
  686. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  687. package/libs/feature/router/src/lib/default/state/router.selectors.d.ts +1 -1
  688. package/libs/feature/router/src/lib/default/state/router.selectors.d.ts.map +1 -1
  689. package/libs/feature/search/src/index.d.ts +2 -0
  690. package/libs/feature/search/src/index.d.ts.map +1 -1
  691. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +1 -1
  692. package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
  693. package/libs/feature/search/src/lib/feature-search.module.d.ts +17 -15
  694. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  695. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts +7 -1
  696. package/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.d.ts.map +1 -1
  697. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts +1 -0
  698. package/libs/feature/search/src/lib/results-list/results-list.container.component.d.ts.map +1 -1
  699. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +18 -6
  700. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  701. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts +22 -0
  702. package/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.d.ts.map +1 -0
  703. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts +34 -0
  704. package/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.d.ts.map +1 -0
  705. package/libs/feature/search/src/lib/sort-by/sort-by.component.d.ts.map +1 -1
  706. package/libs/feature/search/src/lib/state/actions.d.ts.map +1 -1
  707. package/libs/feature/search/src/lib/state/search.facade.d.ts +1 -2
  708. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  709. package/libs/feature/search/src/lib/state/selectors.d.ts +0 -2
  710. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  711. package/libs/feature/search/src/lib/utils/operators/search.operator.d.ts.map +1 -1
  712. package/libs/feature/search/src/lib/utils/service/fields.d.ts +24 -6
  713. package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
  714. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts +4 -2
  715. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  716. package/libs/ui/catalog/src/index.d.ts +0 -1
  717. package/libs/ui/catalog/src/index.d.ts.map +1 -1
  718. package/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.d.ts +1 -1
  719. package/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.d.ts.map +1 -1
  720. package/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.d.ts +10 -8
  721. package/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.d.ts.map +1 -1
  722. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +1 -1
  723. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts.map +1 -1
  724. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts +1 -1
  725. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts.map +1 -1
  726. package/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.d.ts +1 -1
  727. package/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.d.ts.map +1 -1
  728. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  729. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  730. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts +3 -3
  731. package/libs/ui/dataviz/src/lib/ui-dataviz.module.d.ts.map +1 -1
  732. package/libs/ui/elements/src/index.d.ts +3 -3
  733. package/libs/ui/elements/src/index.d.ts.map +1 -1
  734. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts +1 -1
  735. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  736. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  737. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  738. package/libs/ui/elements/src/lib/content-ghost/content-ghost.component.d.ts +1 -1
  739. package/libs/ui/elements/src/lib/content-ghost/content-ghost.component.d.ts.map +1 -1
  740. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +4 -4
  741. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  742. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +10 -9
  743. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  744. package/libs/ui/elements/src/lib/error/error.component.d.ts +1 -1
  745. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
  746. package/libs/ui/{inputs → elements}/src/lib/image-input/image-input.component.d.ts +6 -6
  747. package/libs/ui/elements/src/lib/image-input/image-input.component.d.ts.map +1 -0
  748. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts +1 -1
  749. package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -1
  750. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  751. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  752. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
  753. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  754. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +2 -1
  755. package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -1
  756. package/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.d.ts +1 -1
  757. package/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.d.ts.map +1 -1
  758. package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts +1 -1
  759. package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts.map +1 -1
  760. package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts +2 -2
  761. package/libs/ui/elements/src/lib/metadata-info/linkify.directive.d.ts.map +1 -1
  762. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +1 -1
  763. package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
  764. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +1 -4
  765. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  766. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts +2 -2
  767. package/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.d.ts.map +1 -1
  768. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +1 -0
  769. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -1
  770. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +6 -17
  771. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  772. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +1 -1
  773. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  774. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +20 -34
  775. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  776. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +1 -1
  777. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -1
  778. package/libs/ui/inputs/src/index.d.ts +5 -1
  779. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  780. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +9 -1
  781. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  782. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
  783. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  784. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  785. package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts +2 -2
  786. package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts.map +1 -1
  787. package/libs/ui/inputs/src/lib/chips-input/chips-input.component.d.ts.map +1 -1
  788. package/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.d.ts +1 -1
  789. package/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.d.ts.map +1 -1
  790. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  791. package/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.d.ts +20 -0
  792. package/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.d.ts.map +1 -0
  793. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  794. package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
  795. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  796. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  797. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +25 -0
  798. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  799. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts +1 -1
  800. package/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.d.ts.map +1 -1
  801. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts +1 -1
  802. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
  803. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts +1 -1
  804. package/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.d.ts.map +1 -1
  805. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +18 -0
  806. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  807. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  808. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  809. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  810. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  811. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +29 -35
  812. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  813. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +23 -0
  814. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  815. package/libs/ui/layout/src/index.d.ts +7 -0
  816. package/libs/ui/layout/src/index.d.ts.map +1 -1
  817. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +7 -5
  818. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -1
  819. package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +9 -7
  820. package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
  821. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts +1 -1
  822. package/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.d.ts.map +1 -1
  823. package/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.d.ts +1 -1
  824. package/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.d.ts.map +1 -1
  825. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
  826. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
  827. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +3 -2
  828. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts.map +1 -1
  829. package/libs/ui/layout/src/lib/interactive-table/interactive-table.component.d.ts.map +1 -1
  830. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  831. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  832. package/libs/ui/layout/src/lib/paginable.interface.d.ts +15 -0
  833. package/libs/ui/layout/src/lib/paginable.interface.d.ts.map +1 -0
  834. package/libs/ui/layout/src/lib/pagination/pagination.component.d.ts +11 -0
  835. package/libs/ui/layout/src/lib/pagination/pagination.component.d.ts.map +1 -0
  836. package/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.d.ts +9 -0
  837. package/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.d.ts.map +1 -0
  838. package/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.d.ts +10 -0
  839. package/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.d.ts.map +1 -0
  840. package/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +8 -0
  841. package/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
  842. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  843. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  844. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +6 -8
  845. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  846. package/libs/ui/map/src/index.d.ts +4 -2
  847. package/libs/ui/map/src/index.d.ts.map +1 -1
  848. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +3 -4
  849. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  850. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts +37 -0
  851. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts.map +1 -0
  852. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts +18 -0
  853. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -0
  854. package/libs/ui/map/src/lib/components/map-legend/map-legend.component.d.ts +12 -0
  855. package/libs/ui/map/src/lib/components/map-legend/map-legend.component.d.ts.map +1 -0
  856. package/libs/ui/map/src/lib/map-utils.d.ts +7 -0
  857. package/libs/ui/map/src/lib/map-utils.d.ts.map +1 -0
  858. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  859. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  860. package/libs/ui/search/src/lib/results-list/results-layout.config.d.ts.map +1 -1
  861. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +24 -0
  862. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  863. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +22 -9
  864. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  865. package/libs/ui/search/src/lib/ui-search.module.d.ts +6 -5
  866. package/libs/ui/search/src/lib/ui-search.module.d.ts.map +1 -1
  867. package/libs/ui/widgets/src/index.d.ts +1 -0
  868. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  869. package/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.d.ts +1 -1
  870. package/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.d.ts.map +1 -1
  871. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  872. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  873. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  874. package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts +1 -1
  875. package/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.d.ts.map +1 -1
  876. package/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.d.ts +1 -1
  877. package/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.d.ts.map +1 -1
  878. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +9 -13
  879. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  880. package/libs/util/app-config/src/index.d.ts +1 -0
  881. package/libs/util/app-config/src/index.d.ts.map +1 -1
  882. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  883. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  884. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  885. package/libs/util/app-config/src/lib/map-layers.d.ts +4 -0
  886. package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -0
  887. package/libs/util/app-config/src/lib/model.d.ts +6 -1
  888. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  889. package/libs/util/data-fetcher/src/lib/model.d.ts +2 -2
  890. package/libs/util/data-fetcher/src/lib/model.d.ts.map +1 -1
  891. package/libs/util/data-fetcher/src/lib/readers/csv.d.ts.map +1 -1
  892. package/libs/util/data-fetcher/src/lib/readers/excel.d.ts.map +1 -1
  893. package/libs/util/data-fetcher/src/lib/readers/geojson.d.ts.map +1 -1
  894. package/libs/util/data-fetcher/src/lib/readers/gml.d.ts.map +1 -1
  895. package/libs/util/data-fetcher/src/lib/readers/json.d.ts.map +1 -1
  896. package/libs/util/data-fetcher/src/lib/utils.d.ts +1 -1
  897. package/libs/util/data-fetcher/src/lib/utils.d.ts.map +1 -1
  898. package/libs/util/i18n/src/index.d.ts +1 -0
  899. package/libs/util/i18n/src/index.d.ts.map +1 -1
  900. package/libs/util/i18n/src/lib/i18n.constants.d.ts +0 -35
  901. package/libs/util/i18n/src/lib/i18n.constants.d.ts.map +1 -1
  902. package/libs/util/i18n/src/lib/language-codes.d.ts +38 -0
  903. package/libs/util/i18n/src/lib/language-codes.d.ts.map +1 -0
  904. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  905. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  906. package/libs/util/shared/src/lib/links/link-utils.d.ts +22 -22
  907. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  908. package/libs/util/shared/src/lib/services/proxy.service.d.ts +4 -2
  909. package/libs/util/shared/src/lib/services/proxy.service.d.ts.map +1 -1
  910. package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
  911. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  912. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  913. package/libs/util/shared/src/lib/utils/format-fields.d.ts +2 -0
  914. package/libs/util/shared/src/lib/utils/format-fields.d.ts.map +1 -0
  915. package/libs/util/shared/src/lib/utils/index.d.ts +2 -0
  916. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  917. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts +2 -0
  918. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts.map +1 -0
  919. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts +4 -1
  920. package/libs/util/shared/src/lib/utils/temporal-extent-union.d.ts.map +1 -1
  921. package/package.json +50 -41
  922. package/src/libs/api/metadata-converter/src/index.ts +3 -0
  923. package/src/libs/api/metadata-converter/src/lib/common/distribution.mapper.ts +1 -0
  924. package/src/libs/api/metadata-converter/src/lib/common/license.ts +66 -0
  925. package/src/libs/api/metadata-converter/src/lib/common/resource-types.ts +50 -0
  926. package/src/libs/api/metadata-converter/src/lib/common/url.ts +15 -0
  927. package/src/libs/api/metadata-converter/src/lib/convert-utils.ts +1 -1
  928. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +504 -0
  929. package/src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts +1 -0
  930. package/src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts +17 -0
  931. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +463 -0
  932. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +110 -0
  933. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/individual-name.ts +20 -0
  934. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/keyword.mapper.ts +16 -0
  935. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/role.mapper.ts +48 -0
  936. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +127 -0
  937. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +19 -0
  938. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts +1 -0
  939. package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +101 -0
  940. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +13 -0
  941. package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +743 -0
  942. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +43 -5
  943. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+ongules.ts +246 -0
  944. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.reuse+roilaye.ts +101 -0
  945. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.service+eaux-usees.ts +187 -0
  946. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +26 -5
  947. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +374 -18
  948. package/src/libs/api/metadata-converter/src/lib/fixtures/georhena.records.ts +216 -0
  949. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +90 -4
  950. package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +437 -0
  951. package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +487 -0
  952. package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +76 -0
  953. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.reuse.ts +451 -0
  954. package/src/libs/api/metadata-converter/src/lib/fixtures/wallonie.records.service+napitswallonia.ts +289 -0
  955. package/src/libs/api/metadata-converter/src/lib/function-utils.ts +1 -1
  956. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  957. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.converter.ts +2 -1
  958. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +47 -39
  959. package/src/libs/api/metadata-converter/src/lib/gn4/types/elasticsearch.model.ts +1 -1
  960. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +2 -6
  961. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +12 -10
  962. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +20 -9
  963. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +75 -18
  964. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +118 -65
  965. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +174 -95
  966. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +354 -56
  967. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  968. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/update-frequency.mapper.ts +9 -62
  969. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +632 -312
  970. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +145 -29
  971. package/src/libs/api/repository/src/lib/gn4/auth/auth.service.ts +35 -6
  972. package/src/libs/api/repository/src/lib/gn4/elasticsearch/date-range.utils.ts +13 -0
  973. package/src/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.ts +58 -23
  974. package/src/libs/api/repository/src/lib/gn4/elasticsearch/index.ts +1 -0
  975. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +268 -105
  976. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +13 -2
  977. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +173 -16
  978. package/src/libs/common/domain/src/lib/model/dataviz/dataviz-configuration.model.ts +1 -1
  979. package/src/libs/common/domain/src/lib/model/error/index.ts +1 -0
  980. package/src/libs/common/domain/src/lib/model/error/publication-version.error.ts +9 -0
  981. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +30 -2
  982. package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
  983. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +83 -22
  984. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +4 -0
  985. package/src/libs/common/domain/src/lib/model/record/translation.model.ts +49 -0
  986. package/src/libs/common/domain/src/lib/model/search/filter.model.ts +17 -1
  987. package/src/libs/common/domain/src/lib/model/search/sort-by.model.ts +1 -0
  988. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  989. package/src/libs/common/domain/src/lib/platform.service.interface.ts +32 -1
  990. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +36 -0
  991. package/src/libs/common/fixtures/src/index.ts +6 -1
  992. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +163 -0
  993. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  994. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  995. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  996. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1674 -3
  997. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  998. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  999. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  1000. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  1001. package/src/libs/common/fixtures/src/lib/elasticsearch/search-responses.fixtures.ts +13374 -0
  1002. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  1003. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  1004. package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
  1005. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +242 -164
  1006. package/src/libs/common/fixtures/src/lib/map/index.ts +1 -0
  1007. package/src/libs/common/fixtures/src/lib/map/map-context.fixtures.ts +53 -0
  1008. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  1009. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  1010. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  1011. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +125 -23
  1012. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  1013. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  1014. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  1015. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +45 -15
  1016. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  1017. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  1018. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +1 -5
  1019. package/src/libs/data-access/gn4/src/spec.yaml +0 -8
  1020. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +8 -9
  1021. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -5
  1022. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +41 -5
  1023. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  1024. package/src/libs/feature/dataviz/src/index.ts +0 -1
  1025. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.html +1 -1
  1026. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +23 -5
  1027. package/src/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.ts +3 -1
  1028. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  1029. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +5 -2
  1030. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +43 -78
  1031. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +36 -13
  1032. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.html +1 -1
  1033. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +19 -6
  1034. package/src/libs/feature/editor/src/index.ts +1 -0
  1035. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +23 -0
  1036. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +69 -8
  1037. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +26 -1
  1038. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +12 -1
  1039. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +38 -5
  1040. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +27 -8
  1041. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.css +4 -0
  1042. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.html +28 -0
  1043. package/src/libs/feature/editor/src/lib/components/constraint-card/constraint-card.component.ts +71 -0
  1044. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +15 -0
  1045. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +17 -0
  1046. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.css +3 -0
  1047. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +27 -0
  1048. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +100 -0
  1049. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +46 -0
  1050. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +153 -0
  1051. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  1052. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +92 -0
  1053. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +33 -0
  1054. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +81 -0
  1055. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.css +4 -0
  1056. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.html +24 -0
  1057. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints/form-field-constraints.component.ts +85 -0
  1058. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/constraints.utils.ts +42 -0
  1059. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.css +4 -0
  1060. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.html +34 -0
  1061. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-constraints-shortcuts/form-field-constraints-shortcuts.component.ts +210 -0
  1062. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +40 -0
  1063. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +170 -0
  1064. 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
  1065. 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
  1066. 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
  1067. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.html +4 -0
  1068. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date/form-field-date.component.ts +21 -0
  1069. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.html +1 -1
  1070. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +7 -16
  1071. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +44 -45
  1072. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
  1073. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +11 -8
  1074. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +42 -46
  1075. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +1 -0
  1076. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +86 -0
  1077. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +58 -0
  1078. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +196 -0
  1079. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +88 -0
  1080. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +251 -0
  1081. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  1082. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +51 -0
  1083. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  1084. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +22 -0
  1085. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +135 -0
  1086. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +16 -9
  1087. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +11 -14
  1088. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +4 -23
  1089. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +12 -25
  1090. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +15 -1
  1091. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +172 -1
  1092. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.css +0 -0
  1093. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.html +5 -0
  1094. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-toggle/form-field-spatial-toggle.component.ts +60 -0
  1095. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
  1096. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +32 -4
  1097. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +54 -86
  1098. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
  1099. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +17 -14
  1100. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +59 -85
  1101. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +162 -68
  1102. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +83 -46
  1103. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -2
  1104. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +57 -9
  1105. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +20 -7
  1106. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
  1107. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  1108. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  1109. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +2 -1
  1110. package/src/libs/feature/editor/src/lib/fields.config.ts +327 -57
  1111. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +73 -0
  1112. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  1113. package/src/libs/feature/editor/src/lib/services/editor.service.ts +29 -7
  1114. package/src/libs/feature/map/src/index.ts +1 -8
  1115. package/src/libs/feature/map/src/lib/+state/map.actions.ts +10 -25
  1116. package/src/libs/feature/map/src/lib/+state/map.facade.ts +11 -15
  1117. package/src/libs/feature/map/src/lib/+state/map.reducer.ts +16 -53
  1118. package/src/libs/feature/map/src/lib/+state/map.selectors.ts +7 -2
  1119. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  1120. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +23 -22
  1121. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +22 -11
  1122. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  1123. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +21 -19
  1124. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  1125. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +17 -10
  1126. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +3 -3
  1127. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +17 -10
  1128. package/src/libs/feature/map/src/lib/constant/index.ts +0 -1
  1129. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -43
  1130. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +38 -20
  1131. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +5 -7
  1132. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +58 -6
  1133. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.css +0 -0
  1134. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.html +4 -0
  1135. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.ts +29 -0
  1136. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  1137. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -232
  1138. package/src/libs/feature/notifications/src/lib/notifications.service.ts +6 -1
  1139. package/src/libs/feature/record/src/index.ts +3 -0
  1140. package/src/libs/feature/record/src/lib/data-view/data-view.component.html +1 -1
  1141. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +18 -3
  1142. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +41 -19
  1143. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  1144. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +27 -1
  1145. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +64 -12
  1146. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.html +1 -1
  1147. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +37 -21
  1148. package/src/libs/feature/record/src/lib/feature-record.module.ts +10 -29
  1149. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.css +22 -0
  1150. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.html +132 -0
  1151. package/src/libs/feature/record/src/lib/gpf-api-dl/gpf-api-dl.component.ts +253 -0
  1152. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.css +0 -0
  1153. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.html +37 -0
  1154. package/src/libs/feature/record/src/lib/gpf-api-dl-list-item/gpf-api-dl-list-item.component.ts +43 -0
  1155. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +54 -16
  1156. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +107 -76
  1157. package/src/libs/feature/record/src/lib/record-meta/record-meta.component.ts +45 -0
  1158. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +15 -2
  1159. package/src/libs/feature/router/src/lib/default/constants.ts +6 -1
  1160. package/src/libs/feature/router/src/lib/default/state/query-params.utils.ts +61 -0
  1161. package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
  1162. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +6 -4
  1163. package/src/libs/feature/search/src/index.ts +2 -0
  1164. package/src/libs/feature/search/src/lib/constants.ts +1 -1
  1165. package/src/libs/feature/search/src/lib/facets/facets.service.ts +4 -4
  1166. package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +3 -0
  1167. package/src/libs/feature/search/src/lib/feature-search.module.ts +15 -8
  1168. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.html +20 -10
  1169. package/src/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.ts +32 -1
  1170. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -1
  1171. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.html +1 -6
  1172. package/src/libs/feature/search/src/lib/results-list/results-list.container.component.ts +12 -1
  1173. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +8 -2
  1174. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +74 -5
  1175. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.css +0 -0
  1176. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.html +17 -0
  1177. package/src/libs/feature/search/src/lib/search-filters-summary/search-filters-summary.component.ts +78 -0
  1178. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.css +0 -0
  1179. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.html +20 -0
  1180. package/src/libs/feature/search/src/lib/search-filters-summary-item/search-filters-summary-item.component.ts +118 -0
  1181. package/src/libs/feature/search/src/lib/sort-by/sort-by.component.ts +4 -0
  1182. package/src/libs/feature/search/src/lib/state/actions.ts +69 -17
  1183. package/src/libs/feature/search/src/lib/state/effects.ts +1 -1
  1184. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  1185. package/src/libs/feature/search/src/lib/state/search.facade.ts +6 -8
  1186. package/src/libs/feature/search/src/lib/state/selectors.ts +0 -18
  1187. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +36 -5
  1188. package/src/libs/feature/search/src/lib/utils/service/fields.ts +91 -12
  1189. package/src/libs/ui/catalog/src/index.ts +0 -1
  1190. package/src/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.ts +3 -0
  1191. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -1
  1192. package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.ts +15 -21
  1193. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +2 -3
  1194. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +11 -0
  1195. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +8 -1
  1196. package/src/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.ts +3 -0
  1197. package/src/libs/ui/dataviz/src/lib/chart/chart.component.ts +1 -1
  1198. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  1199. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +6 -5
  1200. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  1201. package/src/libs/ui/dataviz/src/lib/ui-dataviz.module.ts +17 -2
  1202. package/src/libs/ui/elements/src/index.ts +3 -3
  1203. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +37 -27
  1204. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +21 -1
  1205. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  1206. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  1207. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  1208. package/src/libs/ui/elements/src/lib/content-ghost/content-ghost.component.ts +3 -0
  1209. package/src/libs/ui/elements/src/lib/download-item/download-item.component.html +7 -5
  1210. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +16 -5
  1211. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +1 -1
  1212. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +57 -11
  1213. package/src/libs/ui/elements/src/lib/error/error.component.css +24 -19
  1214. package/src/libs/ui/elements/src/lib/error/error.component.html +11 -21
  1215. package/src/libs/ui/elements/src/lib/error/error.component.ts +19 -0
  1216. package/src/libs/ui/elements/src/lib/image-input/image-input.component.css +4 -0
  1217. package/src/libs/ui/elements/src/lib/image-input/image-input.component.html +143 -0
  1218. package/src/libs/ui/{inputs → elements}/src/lib/image-input/image-input.component.ts +57 -21
  1219. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +3 -6
  1220. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +15 -0
  1221. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +2 -6
  1222. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +16 -5
  1223. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -17
  1224. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -3
  1225. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +7 -1
  1226. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.html +4 -1
  1227. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +1 -0
  1228. package/src/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.ts +4 -1
  1229. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +20 -22
  1230. package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +24 -0
  1231. package/src/libs/ui/elements/src/lib/metadata-info/linkify.directive.ts +7 -3
  1232. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +1 -1
  1233. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +59 -34
  1234. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +43 -1
  1235. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  1236. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +18 -11
  1237. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  1238. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.ts +7 -1
  1239. package/src/libs/ui/elements/src/lib/notification/notification.component.html +10 -14
  1240. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +33 -2
  1241. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.css +2 -2
  1242. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  1243. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +44 -35
  1244. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +4 -4
  1245. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +15 -0
  1246. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +24 -63
  1247. package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +2 -2
  1248. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +2 -6
  1249. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +22 -0
  1250. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -4
  1251. package/src/libs/ui/inputs/src/index.ts +5 -1
  1252. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +20 -20
  1253. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +39 -25
  1254. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +37 -6
  1255. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +11 -3
  1256. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +15 -1
  1257. package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
  1258. package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.html +4 -1
  1259. package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts +3 -3
  1260. package/src/libs/ui/inputs/src/lib/chips-input/chips-input.component.ts +4 -1
  1261. package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.html +5 -6
  1262. package/src/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.ts +7 -0
  1263. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
  1264. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +12 -6
  1265. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +19 -2
  1266. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.css +5 -0
  1267. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.html +30 -0
  1268. package/src/libs/ui/inputs/src/lib/date-range-dropdown/date-range-dropdown.component.ts +63 -0
  1269. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
  1270. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +26 -23
  1271. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +19 -2
  1272. package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.html +16 -20
  1273. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +7 -7
  1274. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +16 -2
  1275. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +44 -27
  1276. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
  1277. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +90 -0
  1278. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +108 -0
  1279. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +1 -3
  1280. package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.ts +4 -1
  1281. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.html +2 -2
  1282. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +16 -1
  1283. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +0 -9
  1284. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.html +2 -6
  1285. package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.ts +6 -0
  1286. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +32 -0
  1287. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +15 -0
  1288. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +40 -0
  1289. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
  1290. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
  1291. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  1292. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  1293. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +37 -36
  1294. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  1295. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +32 -0
  1296. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +85 -0
  1297. package/src/libs/ui/layout/src/index.ts +7 -0
  1298. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +0 -16
  1299. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +4 -12
  1300. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +20 -11
  1301. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +0 -16
  1302. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -12
  1303. package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +22 -19
  1304. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.html +2 -4
  1305. package/src/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.ts +8 -2
  1306. package/src/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.html +2 -6
  1307. package/src/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.ts +6 -0
  1308. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +9 -4
  1309. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +5 -4
  1310. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.ts +1 -0
  1311. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +5 -9
  1312. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +12 -11
  1313. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.ts +13 -3
  1314. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.html +2 -1
  1315. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  1316. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  1317. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  1318. package/src/libs/ui/layout/src/lib/paginable.interface.ts +14 -0
  1319. package/src/libs/ui/layout/src/lib/pagination/pagination.component.css +0 -0
  1320. package/src/libs/ui/{elements → layout}/src/lib/pagination/pagination.component.html +12 -13
  1321. package/src/libs/ui/layout/src/lib/pagination/pagination.component.ts +45 -0
  1322. package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.css +0 -0
  1323. package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.html +51 -0
  1324. package/src/libs/ui/layout/src/lib/pagination-buttons/pagination-buttons.component.ts +50 -0
  1325. package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.css +16 -0
  1326. package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.html +15 -0
  1327. package/src/libs/ui/layout/src/lib/pagination-dots/pagination-dots.component.ts +31 -0
  1328. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.html +18 -0
  1329. package/src/libs/ui/layout/src/lib/previous-next-buttons/previous-next-buttons.component.ts +29 -0
  1330. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +4 -2
  1331. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  1332. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.ts +45 -0
  1333. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +8 -15
  1334. package/src/libs/ui/map/src/index.ts +4 -2
  1335. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +1 -1
  1336. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +8 -5
  1337. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.css +0 -0
  1338. package/src/libs/ui/map/src/lib/components/{map/map.component.html → map-container/map-container.component.html} +4 -3
  1339. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +214 -0
  1340. package/src/libs/ui/map/src/lib/components/map-container/map-settings.token.ts +23 -0
  1341. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.css +5 -0
  1342. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.html +1 -0
  1343. package/src/libs/ui/map/src/lib/components/map-legend/map-legend.component.ts +39 -0
  1344. package/src/libs/ui/map/src/lib/map-utils.ts +54 -0
  1345. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  1346. package/src/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.html +17 -13
  1347. package/src/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.html +16 -10
  1348. package/src/libs/ui/search/src/lib/results-list/results-layout.config.ts +1 -1
  1349. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  1350. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +59 -0
  1351. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +61 -0
  1352. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +60 -27
  1353. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +118 -44
  1354. package/src/libs/ui/search/src/lib/ui-search.module.ts +22 -3
  1355. package/src/libs/ui/widgets/src/index.ts +1 -0
  1356. package/src/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.ts +4 -6
  1357. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  1358. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  1359. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  1360. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.html +2 -4
  1361. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +8 -2
  1362. package/src/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.ts +1 -0
  1363. package/src/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.ts +1 -0
  1364. package/src/libs/ui/widgets/src/lib/step-bar/step-bar.component.ts +2 -2
  1365. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +2 -18
  1366. package/src/libs/util/app-config/src/index.ts +1 -0
  1367. package/src/libs/util/app-config/src/lib/app-config.ts +9 -2
  1368. package/src/libs/util/app-config/src/lib/fixtures.ts +10 -9
  1369. package/src/libs/util/app-config/src/lib/map-layers.ts +37 -0
  1370. package/src/libs/util/app-config/src/lib/model.ts +6 -1
  1371. package/src/libs/util/data-fetcher/src/lib/model.ts +6 -6
  1372. package/src/libs/util/data-fetcher/src/lib/readers/base-file.ts +1 -1
  1373. package/src/libs/util/data-fetcher/src/lib/utils.ts +13 -11
  1374. package/src/libs/util/i18n/src/index.ts +1 -0
  1375. package/src/libs/util/i18n/src/lib/i18n.constants.ts +0 -43
  1376. package/src/libs/util/i18n/src/lib/lang.service.ts +1 -1
  1377. package/src/libs/util/i18n/src/lib/language-codes.ts +44 -0
  1378. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +6 -3
  1379. package/src/libs/util/shared/src/lib/links/link-utils.ts +23 -23
  1380. package/src/libs/util/shared/src/lib/services/proxy.service.ts +7 -3
  1381. package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
  1382. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  1383. package/src/libs/util/shared/src/lib/utils/format-fields.ts +11 -0
  1384. package/src/libs/util/shared/src/lib/utils/index.ts +2 -0
  1385. package/src/libs/util/shared/src/lib/utils/no-duplicate-file-name.ts +23 -0
  1386. package/src/libs/util/shared/src/lib/utils/temporal-extent-union.ts +6 -1
  1387. package/tailwind.base.config.js +1 -0
  1388. package/tailwind.base.css +69 -13
  1389. package/translations/de.json +196 -47
  1390. package/translations/en.json +241 -76
  1391. package/translations/es.json +174 -25
  1392. package/translations/fr.json +268 -103
  1393. package/translations/it.json +179 -30
  1394. package/translations/nl.json +174 -25
  1395. package/translations/pt.json +174 -25
  1396. package/translations/sk.json +176 -27
  1397. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +0 -71
  1398. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -15
  1399. 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
  1400. 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
  1401. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  1402. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  1403. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +0 -15
  1404. package/esm2022/libs/feature/map/src/lib/+state/map.models.mjs +0 -2
  1405. package/esm2022/libs/feature/map/src/lib/constant/map-options.mjs +0 -8
  1406. package/esm2022/libs/feature/map/src/lib/constant/style.constant.mjs +0 -17
  1407. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +0 -38
  1408. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +0 -19
  1409. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +0 -19
  1410. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +0 -27
  1411. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +0 -46
  1412. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +0 -10
  1413. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +0 -289
  1414. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +0 -62
  1415. package/esm2022/libs/ui/elements/src/lib/pagination/pagination.component.mjs +0 -54
  1416. package/esm2022/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.mjs +0 -66
  1417. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -43
  1418. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +0 -183
  1419. package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +0 -29
  1420. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +0 -40
  1421. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +0 -33
  1422. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +0 -21
  1423. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +0 -1
  1424. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -8
  1425. 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
  1426. 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
  1427. 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
  1428. 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
  1429. 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
  1430. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  1431. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  1432. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  1433. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  1434. package/libs/feature/map/src/lib/+state/map.effects.d.ts +0 -9
  1435. package/libs/feature/map/src/lib/+state/map.effects.d.ts.map +0 -1
  1436. package/libs/feature/map/src/lib/+state/map.models.d.ts +0 -9
  1437. package/libs/feature/map/src/lib/+state/map.models.d.ts.map +0 -1
  1438. package/libs/feature/map/src/lib/constant/map-options.d.ts +0 -9
  1439. package/libs/feature/map/src/lib/constant/map-options.d.ts.map +0 -1
  1440. package/libs/feature/map/src/lib/constant/style.constant.d.ts +0 -4
  1441. package/libs/feature/map/src/lib/constant/style.constant.d.ts.map +0 -1
  1442. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts +0 -16
  1443. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts.map +0 -1
  1444. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts +0 -9
  1445. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts.map +0 -1
  1446. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts +0 -11
  1447. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts.map +0 -1
  1448. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts +0 -12
  1449. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts.map +0 -1
  1450. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts +0 -26
  1451. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts.map +0 -1
  1452. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +0 -77
  1453. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +0 -1
  1454. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +0 -26
  1455. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +0 -1
  1456. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +0 -18
  1457. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +0 -1
  1458. package/libs/ui/elements/src/lib/pagination/pagination.component.d.ts +0 -16
  1459. package/libs/ui/elements/src/lib/pagination/pagination.component.d.ts.map +0 -1
  1460. package/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.d.ts +0 -17
  1461. package/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.d.ts.map +0 -1
  1462. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -22
  1463. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  1464. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +0 -1
  1465. package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +0 -12
  1466. package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +0 -1
  1467. package/libs/ui/map/src/lib/components/map/map.component.d.ts +0 -19
  1468. package/libs/ui/map/src/lib/components/map/map.component.d.ts.map +0 -1
  1469. package/libs/ui/map/src/lib/ui-map.module.d.ts +0 -13
  1470. package/libs/ui/map/src/lib/ui-map.module.d.ts.map +0 -1
  1471. package/src/libs/common/fixtures/src/lib/elasticsearch/search-responses.ts +0 -445
  1472. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  1473. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  1474. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  1475. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +0 -44
  1476. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -8
  1477. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -70
  1478. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +0 -4
  1479. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +0 -15
  1480. 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
  1481. 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
  1482. 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
  1483. 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
  1484. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  1485. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  1486. package/src/libs/feature/map/src/lib/+state/map.effects.ts +0 -7
  1487. package/src/libs/feature/map/src/lib/+state/map.models.ts +0 -9
  1488. package/src/libs/feature/map/src/lib/constant/map-options.ts +0 -17
  1489. package/src/libs/feature/map/src/lib/feature-info/feature-info.service.ts +0 -42
  1490. package/src/libs/feature/map/src/lib/manager/map-instance.directive.ts +0 -10
  1491. package/src/libs/feature/map/src/lib/manager/map-manager.service.ts +0 -13
  1492. package/src/libs/feature/map/src/lib/map-container/map-container.component.html +0 -1
  1493. package/src/libs/feature/map/src/lib/map-container/map-container.component.ts +0 -26
  1494. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.html +0 -1
  1495. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.ts +0 -57
  1496. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +0 -51
  1497. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +0 -95
  1498. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +0 -318
  1499. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +0 -38
  1500. package/src/libs/ui/elements/src/lib/pagination/pagination.component.ts +0 -50
  1501. package/src/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.html +0 -33
  1502. package/src/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.ts +0 -68
  1503. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -36
  1504. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts +0 -56
  1505. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +0 -146
  1506. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +0 -26
  1507. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +0 -32
  1508. package/src/libs/ui/map/src/lib/components/map/map.component.ts +0 -57
  1509. package/src/libs/ui/map/src/lib/ui-map.module.ts +0 -19
  1510. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
  1511. /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
  1512. /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
  1513. /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
  1514. /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
  1515. /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
  1516. /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
  1517. /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
  1518. /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
  1519. /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
  1520. /package/src/libs/ui/{inputs → layout}/src/lib/previous-next-buttons/previous-next-buttons.component.css +0 -0
@@ -0,0 +1,79 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import GeoJSON from 'ol/format/GeoJSON';
4
+ import { Polygon } from 'ol/geom';
5
+ import { createViewFromLayer, } from '@geospatial-sdk/core';
6
+ import { MapContainerComponent } from '../../../../../../../../../libs/ui/map/src';
7
+ import { BehaviorSubject } from 'rxjs';
8
+ import { switchMap } from 'rxjs/operators';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "@angular/common";
11
+ export class FormFieldMapContainerComponent {
12
+ constructor() {
13
+ this.spatialExtents$ = new BehaviorSubject([]);
14
+ this.mapContext$ = this.spatialExtents$.pipe(switchMap(async (extents) => {
15
+ if (extents.length === 0) {
16
+ return null; // null extent means default view
17
+ }
18
+ const featureCollection = {
19
+ type: 'FeatureCollection',
20
+ features: [],
21
+ };
22
+ extents.forEach((extent) => {
23
+ if (extent.geometry) {
24
+ featureCollection.features.push({
25
+ type: 'Feature',
26
+ properties: {},
27
+ geometry: extent.geometry,
28
+ });
29
+ }
30
+ else if (extent.bbox?.length >= 0) {
31
+ featureCollection.features.push({
32
+ type: 'Feature',
33
+ properties: {},
34
+ geometry: this.bboxCoordsToGeometry(extent.bbox),
35
+ });
36
+ }
37
+ });
38
+ const layer = {
39
+ type: 'geojson',
40
+ data: featureCollection,
41
+ label: 'Spatial extents',
42
+ style: {
43
+ 'stroke-color': 'black',
44
+ 'stroke-width': 2,
45
+ },
46
+ };
47
+ const view = await createViewFromLayer(layer);
48
+ return {
49
+ view,
50
+ layers: [layer],
51
+ };
52
+ }));
53
+ this.error = '';
54
+ }
55
+ set spatialExtents(value) {
56
+ this.spatialExtents$.next(value);
57
+ }
58
+ bboxCoordsToGeometry(bbox) {
59
+ const geometry = new Polygon([
60
+ [
61
+ [bbox[0], bbox[1]],
62
+ [bbox[0], bbox[3]],
63
+ [bbox[2], bbox[3]],
64
+ [bbox[2], bbox[1]],
65
+ [bbox[0], bbox[1]],
66
+ ],
67
+ ]);
68
+ return new GeoJSON().writeGeometryObject(geometry);
69
+ }
70
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldMapContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
71
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldMapContainerComponent, isStandalone: true, selector: "gn-ui-form-field-map-container", inputs: { spatialExtents: "spatialExtents" }, ngImport: i0, template: "<gn-ui-map-container [context]=\"mapContext$ | async\"></gn-ui-map-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "component", type: MapContainerComponent, selector: "gn-ui-map-container", inputs: ["context"], outputs: ["featuresClick", "featuresHover", "mapClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldMapContainerComponent, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'gn-ui-form-field-map-container', standalone: true, imports: [CommonModule, MapContainerComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<gn-ui-map-container [context]=\"mapContext$ | async\"></gn-ui-map-container>\n" }]
76
+ }], propDecorators: { spatialExtents: [{
77
+ type: Input
78
+ }] } });
79
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1tYXAtY29udGFpbmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL3JlY29yZC1mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1tYXAtY29udGFpbmVyL2Zvcm0tZmllbGQtbWFwLWNvbnRhaW5lci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvZWRpdG9yL3NyYy9saWIvY29tcG9uZW50cy9yZWNvcmQtZm9ybS9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lYXR1cmVDb2xsZWN0aW9uLmZlYXR1cmVzLnB1c2goe1xuICAgICAgICAgICAgdHlwZTogJ0ZlYXR1cmUnLFxuICAgICAgICAgICAgcHJvcGVydGllczoge30sXG4gICAgICAgICAgICBnZW9tZXRyeTogZXh0ZW50Lmdlb21ldHJ5LFxuICAgICAgICAgIH0pXG4gICAgICAgIH0gZWxzZSBpZiAoZXh0ZW50LmJib3g/Lmxlbmd0aCA+PSAwKSB7XG4gICAgICAgICAgZmVhdHVyZUNvbGxlY3Rpb24uZmVhdHVyZXMucHVzaCh7XG4gICAgICAgICAgICB0eXBlOiAnRmVhdHVyZScsXG4gICAgICAgICAgICBwcm9wZXJ0aWVzOiB7fSxcbiAgICAgICAgICAgIGdlb21ldHJ5OiB0aGlzLmJib3hDb29yZHNUb0dlb21ldHJ5KGV4dGVudC5iYm94KSxcbiAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgICB9KVxuXG4gICAgICBjb25zdCBsYXllcjogTWFwQ29udGV4dExheWVyID0ge1xuICAgICAgICB0eXBlOiAnZ2VvanNvbicsXG4gICAgICAgIGRhdGE6IGZlYXR1cmVDb2xsZWN0aW9uLFxuICAgICAgICBsYWJlbDogJ1NwYXRpYWwgZXh0ZW50cycsXG4gICAgICAgIHN0eWxlOiB7XG4gICAgICAgICAgJ3N0cm9rZS1jb2xvcic6ICdibGFjaycsXG4gICAgICAgICAgJ3N0cm9rZS13aWR0aCc6IDIsXG4gICAgICAgIH0sXG4gICAgICB9XG4gICAgICBjb25zdCB2aWV3ID0gYXdhaXQgY3JlYXRlVmlld0Zyb21MYXllcihsYXllcilcbiAgICAgIHJldHVybiB7XG4gICAgICAgIHZpZXcsXG4gICAgICAgIGxheWVyczogW2xheWVyXSxcbiAgICAgIH1cbiAgICB9KVxuICApXG5cbiAgZXJyb3IgPSAnJ1xuXG4gIGJib3hDb29yZHNUb0dlb21ldHJ5KGJib3g6IFtudW1iZXIsIG51bWJlciwgbnVtYmVyLCBudW1iZXJdKTogR2VvbWV0cnkge1xuICAgIGNvbnN0IGdlb21ldHJ5ID0gbmV3IFBvbHlnb24oW1xuICAgICAgW1xuICAgICAgICBbYmJveFswXSwgYmJveFsxXV0sXG4gICAgICAgIFtiYm94WzBdLCBiYm94WzNdXSxcbiAgICAgICAgW2Jib3hbMl0sIGJib3hbM11dLFxuICAgICAgICBbYmJveFsyXSwgYmJveFsxXV0sXG4gICAgICAgIFtiYm94WzBdLCBiYm94WzFdXSxcbiAgICAgIF0sXG4gICAgXSlcblxuICAgIHJldHVybiBuZXcgR2VvSlNPTigpLndyaXRlR2VvbWV0cnlPYmplY3QoZ2VvbWV0cnkpXG4gIH1cbn1cbiIsIjxnbi11aS1tYXAtY29udGFpbmVyIFtjb250ZXh0XT1cIm1hcENvbnRleHQkIHwgYXN5bmNcIj48L2duLXVpLW1hcC1jb250YWluZXI+XG4iXX0=
@@ -1,10 +1,10 @@
1
1
  import { ChangeDetectionStrategy, Component } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export class FormFieldObjectComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldObjectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormFieldObjectComponent, isStandalone: true, selector: "gn-ui-form-field-object", ngImport: i0, template: "<p>form-field-object works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
4
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldObjectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldObjectComponent, isStandalone: true, selector: "gn-ui-form-field-object", ngImport: i0, template: "<p>form-field-object works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
6
  }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldObjectComponent, decorators: [{
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldObjectComponent, decorators: [{
8
8
  type: Component,
9
9
  args: [{ selector: 'gn-ui-form-field-object', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<p>form-field-object works!</p>\n" }]
10
10
  }] });
@@ -0,0 +1,157 @@
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, Input, Output, TemplateRef, ViewChild, } from '@angular/core';
2
+ import { FileInputComponent, TextAreaComponent, TextInputComponent, UrlInputComponent, } from '../../../../../../../../../libs/ui/inputs/src';
3
+ import { CommonModule } from '@angular/common';
4
+ import { OnlineResourceCardComponent } from '../../../online-resource-card/online-resource-card.component';
5
+ import { ModalDialogComponent, SortableListComponent, } from '../../../../../../../../../libs/ui/layout/src';
6
+ import { NotificationsService } from '../../../../../../../../../libs/feature/notifications/src';
7
+ import { TranslateModule, TranslateService } from '@ngx-translate/core';
8
+ import { PlatformServiceInterface } from '../../../../../../../../../libs/common/domain/src/lib/platform.service.interface';
9
+ import { map } from 'rxjs';
10
+ import { MatDialog } from '@angular/material/dialog';
11
+ import { MAX_UPLOAD_SIZE_MB } from '../../../../fields.config';
12
+ import { EditorFacade } from '../../../../+state/editor.facade';
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 "../../../../+state/editor.facade";
19
+ import * as i6 from "@angular/common";
20
+ export class FormFieldOnlineLinkResourcesComponent {
21
+ set value(onlineResources) {
22
+ this.allResources = onlineResources;
23
+ this.linkResources = onlineResources.filter((res) => res.type === 'link');
24
+ }
25
+ constructor(notificationsService, translateService, platformService, cd, dialog, editorFacade) {
26
+ this.notificationsService = notificationsService;
27
+ this.translateService = translateService;
28
+ this.platformService = platformService;
29
+ this.cd = cd;
30
+ this.dialog = dialog;
31
+ this.editorFacade = editorFacade;
32
+ this.valueChange = new EventEmitter();
33
+ this.allResources = [];
34
+ this.linkResources = [];
35
+ this.uploadProgress = undefined;
36
+ this.uploadSubscription = null;
37
+ this.MAX_UPLOAD_SIZE_MB = MAX_UPLOAD_SIZE_MB;
38
+ this.disabled$ = this.editorFacade.alreadySavedOnce$.pipe(map((alreadySavedOnce) => !alreadySavedOnce));
39
+ }
40
+ handleFileChange(file) {
41
+ this.uploadProgress = 0;
42
+ this.uploadSubscription = this.platformService
43
+ .attachFileToRecord(this.metadataUuid, file)
44
+ .subscribe({
45
+ next: (event) => {
46
+ if (event.type === 'progress') {
47
+ this.uploadProgress = event.progress;
48
+ this.cd.detectChanges();
49
+ }
50
+ else if (event.type === 'success') {
51
+ this.uploadProgress = undefined;
52
+ this.cd.detectChanges();
53
+ const newResource = {
54
+ type: 'link',
55
+ url: new URL(event.attachment.url),
56
+ name: event.attachment.fileName,
57
+ };
58
+ this.valueChange.emit([...this.allResources, newResource]);
59
+ }
60
+ },
61
+ error: (error) => this.handleError(error),
62
+ });
63
+ }
64
+ handleUploadCancel() {
65
+ if (this.uploadSubscription) {
66
+ this.uploadProgress = undefined;
67
+ this.uploadSubscription.unsubscribe();
68
+ }
69
+ }
70
+ handleUrlChange(url) {
71
+ try {
72
+ const name = url.split('/').pop();
73
+ const newLink = {
74
+ type: 'link',
75
+ url: new URL(url),
76
+ name,
77
+ };
78
+ this.valueChange.emit([...this.allResources, newLink]);
79
+ }
80
+ catch (e) {
81
+ this.handleError(e);
82
+ }
83
+ }
84
+ handleResourcesChange(items) {
85
+ const links = items;
86
+ const newResources = [
87
+ ...this.allResources.filter((r) => r.type !== 'link'),
88
+ ...links,
89
+ ];
90
+ this.valueChange.emit(newResources);
91
+ }
92
+ handleResourceModify(resource, index) {
93
+ this.openEditDialog(resource, index);
94
+ }
95
+ handleError(error) {
96
+ this.uploadProgress = undefined;
97
+ this.cd.detectChanges();
98
+ this.notificationsService.showNotification({
99
+ type: 'error',
100
+ title: this.translateService.instant('editor.record.onlineResourceError.title'),
101
+ text: `${this.translateService.instant('editor.record.onlineResourceError.body')} ${error.message}`,
102
+ closeMessage: this.translateService.instant('editor.record.onlineResourceError.closeMessage'),
103
+ }, undefined, error);
104
+ }
105
+ openEditDialog(resource, index) {
106
+ const resourceCopy = {
107
+ ...resource,
108
+ };
109
+ this.dialog
110
+ .open(ModalDialogComponent, {
111
+ width: '800px',
112
+ data: {
113
+ title: this.translateService.instant('editor.record.form.field.onlineResource.dialogTitle'),
114
+ body: this.dialogTemplate,
115
+ bodyContext: resourceCopy,
116
+ confirmText: this.translateService.instant('editor.record.form.field.onlineResource.confirm'),
117
+ cancelText: this.translateService.instant('editor.record.form.field.onlineResource.cancel'),
118
+ },
119
+ })
120
+ .afterClosed()
121
+ .subscribe((confirmed) => {
122
+ if (!confirmed)
123
+ return;
124
+ const newLinks = [...this.linkResources];
125
+ newLinks.splice(index, 1, resourceCopy);
126
+ this.valueChange.emit([
127
+ ...this.allResources.filter((r) => r.type !== 'link'),
128
+ ...newLinks,
129
+ ]);
130
+ });
131
+ }
132
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOnlineLinkResourcesComponent, deps: [{ token: i1.NotificationsService }, { token: i2.TranslateService }, { token: i3.PlatformServiceInterface }, { token: i0.ChangeDetectorRef }, { token: i4.MatDialog }, { token: i5.EditorFacade }], target: i0.ɵɵFactoryTarget.Component }); }
133
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FormFieldOnlineLinkResourcesComponent, isStandalone: true, selector: "gn-ui-form-field-online-link-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-file-input\n [maxSizeMB]=\"MAX_UPLOAD_SIZE_MB\"\n (fileChange)=\"handleFileChange($event)\"\n (uploadCancel)=\"handleUploadCancel()\"\n [uploadProgress]=\"uploadProgress\"\n (urlChange)=\"handleUrlChange($event)\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-file-input>\n <div class=\"h-[8px]\"></div>\n <gn-ui-sortable-list\n [items]=\"linkResources\"\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 <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 [showUploadButton]=\"false\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-url-input>\n </div>\n </ng-template>\n <div\n *ngIf=\"disabled$ | async\"\n class=\"p-4 text-sm border border-primary bg-primary-lightest rounded-lg\"\n translate\n data-test=\"disabled-message\"\n >\n editor.record.form.field.draft.only.disabled\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: FileInputComponent, selector: "gn-ui-file-input", inputs: ["maxSizeMB", "uploadProgress", "disabled"], outputs: ["fileChange", "urlChange", "uploadCancel"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { 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: "component", type: UrlInputComponent, selector: "gn-ui-url-input", inputs: ["value", "extraClass", "placeholder", "disabled", "showUploadButton"], outputs: ["valueChange", "uploadClick"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
134
+ }
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOnlineLinkResourcesComponent, decorators: [{
136
+ type: Component,
137
+ args: [{ selector: 'gn-ui-form-field-online-link-resources', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
138
+ FileInputComponent,
139
+ CommonModule,
140
+ SortableListComponent,
141
+ OnlineResourceCardComponent,
142
+ TextInputComponent,
143
+ TextAreaComponent,
144
+ UrlInputComponent,
145
+ TranslateModule,
146
+ ], template: "<div class=\"flex flex-col\">\n <gn-ui-file-input\n [maxSizeMB]=\"MAX_UPLOAD_SIZE_MB\"\n (fileChange)=\"handleFileChange($event)\"\n (uploadCancel)=\"handleUploadCancel()\"\n [uploadProgress]=\"uploadProgress\"\n (urlChange)=\"handleUrlChange($event)\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-file-input>\n <div class=\"h-[8px]\"></div>\n <gn-ui-sortable-list\n [items]=\"linkResources\"\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 <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 [showUploadButton]=\"false\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-url-input>\n </div>\n </ng-template>\n <div\n *ngIf=\"disabled$ | async\"\n class=\"p-4 text-sm border border-primary bg-primary-lightest rounded-lg\"\n translate\n data-test=\"disabled-message\"\n >\n editor.record.form.field.draft.only.disabled\n </div>\n</div>\n" }]
147
+ }], ctorParameters: () => [{ type: i1.NotificationsService }, { type: i2.TranslateService }, { type: i3.PlatformServiceInterface }, { type: i0.ChangeDetectorRef }, { type: i4.MatDialog }, { type: i5.EditorFacade }], propDecorators: { metadataUuid: [{
148
+ type: Input
149
+ }], value: [{
150
+ type: Input
151
+ }], valueChange: [{
152
+ type: Output
153
+ }], dialogTemplate: [{
154
+ type: ViewChild,
155
+ args: ['dialogTemplate']
156
+ }] } });
157
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1vbmxpbmUtbGluay1yZXNvdXJjZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL2VkaXRvci9zcmMvbGliL2NvbXBvbmVudHMvcmVjb3JkLWZvcm0vZm9ybS1maWVsZC9mb3JtLWZpZWxkLW9ubGluZS1saW5rLXJlc291cmNlcy9mb3JtLWZpZWxkLW9ubGluZS1saW5rLXJlc291cmNlcy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvZWRpdG9yL3NyYy9saWIvY29tcG9uZW50cy9yZWNvcmQtZm9ybS9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtb25saW5lLWxpbmstcmVzb3VyY2VzL2Zvcm0tZmllbGQtb25saW5lLWxpbmstcmVzb3VyY2VzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUNMLE1BQU0sRUFDTixXQUFXLEVBQ1gsU0FBUyxHQUNWLE1BQU0sZUFBZSxDQUFBO0FBS3RCLE9BQU8sRUFDTCxrQkFBa0IsRUFDbEIsaUJBQWlCLEVBQ2pCLGtCQUFrQixFQUNsQixpQkFBaUIsR0FDbEIsTUFBTSwrQ0FBK0MsQ0FBQTtBQUN0RCxPQUFPLEVBQUUsWUFBWSxFQUF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xkLmRyYWZ0Lm9ubHkuZGlzYWJsZWRcbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,196 @@
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 { map } from 'rxjs';
11
+ import { MAX_UPLOAD_SIZE_MB } from '../../../../fields.config';
12
+ import { OnlineResourceCardComponent } from '../../../online-resource-card/online-resource-card.component';
13
+ import { OnlineServiceResourceInputComponent } from '../../../online-service-resource-input/online-service-resource-input.component';
14
+ import { EditorFacade } from '../../../../+state/editor.facade';
15
+ import * as i0 from "@angular/core";
16
+ import * as i1 from "../../../../../../../../../libs/feature/notifications/src";
17
+ import * as i2 from "@ngx-translate/core";
18
+ import * as i3 from "../../../../../../../../../libs/common/domain/src/lib/platform.service.interface";
19
+ import * as i4 from "@angular/material/dialog";
20
+ import * as i5 from "../../../../+state/editor.facade";
21
+ import * as i6 from "@angular/common";
22
+ export class FormFieldOnlineResourcesComponent {
23
+ set value(onlineResources) {
24
+ this.allResources = onlineResources;
25
+ this.notLinkResources = onlineResources.filter((res) => res.type !== 'link');
26
+ }
27
+ constructor(notificationsService, translateService, platformService, cd, dialog, editorFacade) {
28
+ this.notificationsService = notificationsService;
29
+ this.translateService = translateService;
30
+ this.platformService = platformService;
31
+ this.cd = cd;
32
+ this.dialog = dialog;
33
+ this.editorFacade = editorFacade;
34
+ this.valueChange = new EventEmitter();
35
+ this.typeOptions = [
36
+ {
37
+ label: marker('editor.record.form.field.onlineResource.toggle.dataset'),
38
+ value: 'download',
39
+ checked: true,
40
+ },
41
+ {
42
+ label: marker('editor.record.form.field.onlineResource.toggle.service'),
43
+ value: 'service',
44
+ checked: false,
45
+ },
46
+ ];
47
+ this.selectedType = 'download';
48
+ this.allResources = [];
49
+ this.notLinkResources = [];
50
+ this.uploadProgress = undefined;
51
+ this.uploadSubscription = null;
52
+ this.newService = {
53
+ type: 'service',
54
+ accessServiceProtocol: 'ogcFeatures',
55
+ identifierInService: '',
56
+ };
57
+ this.MAX_UPLOAD_SIZE_MB = MAX_UPLOAD_SIZE_MB;
58
+ this.disabled$ = this.editorFacade.alreadySavedOnce$.pipe(map((alreadySavedOnce) => !alreadySavedOnce));
59
+ }
60
+ onSelectedTypeChange(selectedType) {
61
+ this.selectedType = selectedType;
62
+ }
63
+ handleFileChange(file) {
64
+ this.uploadProgress = 0;
65
+ this.uploadSubscription = this.platformService
66
+ .attachFileToRecord(this.metadataUuid, file)
67
+ .subscribe({
68
+ next: (event) => {
69
+ if (event.type === 'progress') {
70
+ this.uploadProgress = event.progress;
71
+ this.cd.detectChanges();
72
+ }
73
+ else if (event.type === 'success') {
74
+ this.uploadProgress = undefined;
75
+ this.cd.detectChanges();
76
+ const newResource = {
77
+ type: 'download',
78
+ url: new URL(event.attachment.url),
79
+ name: event.attachment.fileName,
80
+ sizeBytes: event.sizeBytes, // WARNING: this is the only time that sizeBytes is set
81
+ };
82
+ this.valueChange.emit([...this.allResources, newResource]);
83
+ }
84
+ },
85
+ error: (error) => this.handleError(error),
86
+ });
87
+ }
88
+ handleUploadCancel() {
89
+ if (this.uploadSubscription) {
90
+ this.uploadProgress = undefined;
91
+ this.uploadSubscription.unsubscribe();
92
+ }
93
+ }
94
+ handleDownloadUrlChange(url) {
95
+ try {
96
+ const name = url.split('/').pop();
97
+ const newLink = {
98
+ type: 'download',
99
+ url: new URL(url),
100
+ name,
101
+ };
102
+ this.valueChange.emit([...this.allResources, newLink]);
103
+ }
104
+ catch (e) {
105
+ this.handleError(e);
106
+ }
107
+ }
108
+ handleServiceUrlChange(url) {
109
+ this.valueChange.emit([
110
+ ...this.allResources,
111
+ {
112
+ ...this.newService,
113
+ url: new URL(url),
114
+ },
115
+ ]);
116
+ }
117
+ handleServiceModify(oldService, newService) {
118
+ oldService.accessServiceProtocol = newService.accessServiceProtocol;
119
+ oldService.identifierInService = newService.identifierInService;
120
+ oldService.url = newService.url;
121
+ }
122
+ handleResourcesChange(items) {
123
+ const notLinks = items;
124
+ const newResources = [
125
+ ...this.allResources.filter((r) => r.type === 'link'),
126
+ ...notLinks,
127
+ ];
128
+ this.valueChange.emit(newResources);
129
+ }
130
+ handleResourceModify(resource, index) {
131
+ this.openEditDialog(resource, index);
132
+ }
133
+ handleError(error) {
134
+ this.uploadProgress = undefined;
135
+ this.notificationsService.showNotification({
136
+ type: 'error',
137
+ title: this.translateService.instant('editor.record.onlineResourceError.title'),
138
+ text: `${this.translateService.instant('editor.record.onlineResourceError.body')} ${error.message}`,
139
+ closeMessage: this.translateService.instant('editor.record.onlineResourceError.closeMessage'),
140
+ }, undefined, error);
141
+ }
142
+ openEditDialog(resource, index) {
143
+ const resourceCopy = {
144
+ ...resource,
145
+ };
146
+ this.dialog
147
+ .open(ModalDialogComponent, {
148
+ width: '800px',
149
+ data: {
150
+ title: this.translateService.instant('editor.record.form.field.onlineResource.dialogTitle'),
151
+ body: this.dialogTemplate,
152
+ bodyContext: resourceCopy,
153
+ confirmText: this.translateService.instant('editor.record.form.field.onlineResource.confirm'),
154
+ cancelText: this.translateService.instant('editor.record.form.field.onlineResource.cancel'),
155
+ },
156
+ })
157
+ .afterClosed()
158
+ .subscribe((confirmed) => {
159
+ if (!confirmed)
160
+ return;
161
+ const newNotLinks = [...this.notLinkResources];
162
+ newNotLinks.splice(index, 1, resourceCopy);
163
+ this.valueChange.emit([
164
+ ...this.allResources.filter((r) => r.type === 'link'),
165
+ ...newNotLinks,
166
+ ]);
167
+ });
168
+ }
169
+ 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 }, { token: i5.EditorFacade }], target: i0.ɵɵFactoryTarget.Component }); }
170
+ 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 [disabled]=\"disabled$ | async\"\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 [disabled]=\"disabled$ | async\"\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 ></gn-ui-online-service-resource-input>\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-url-input\n class=\"w-full\"\n (uploadClick)=\"handleServiceUrlChange($event)\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-url-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'\">\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-online-service-resource-input\n [service]=\"onlineResource\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-online-service-resource-input>\n </ng-container>\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 [showUploadButton]=\"false\"\n ></gn-ui-url-input>\n </div>\n </ng-template>\n <div\n *ngIf=\"disabled$ | async\"\n class=\"p-4 text-sm border border-primary bg-primary-lightest rounded-lg\"\n translate\n data-test=\"disabled-message\"\n >\n editor.record.form.field.draft.only.disabled\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i6.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"] }, { kind: "component", type: UrlInputComponent, selector: "gn-ui-url-input", inputs: ["value", "extraClass", "placeholder", "disabled", "showUploadButton"], 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 }); }
171
+ }
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FormFieldOnlineResourcesComponent, decorators: [{
173
+ type: Component,
174
+ args: [{ selector: 'gn-ui-form-field-online-resources', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
175
+ CommonModule,
176
+ SwitchToggleComponent,
177
+ FileInputComponent,
178
+ OnlineServiceResourceInputComponent,
179
+ UrlInputComponent,
180
+ SortableListComponent,
181
+ OnlineResourceCardComponent,
182
+ TextInputComponent,
183
+ TextAreaComponent,
184
+ TranslateModule,
185
+ ], 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 [disabled]=\"disabled$ | async\"\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 [disabled]=\"disabled$ | async\"\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 ></gn-ui-online-service-resource-input>\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-url-input\n class=\"w-full\"\n (uploadClick)=\"handleServiceUrlChange($event)\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-url-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'\">\n <span class=\"w-full border-b border-gray-300\"></span>\n <gn-ui-online-service-resource-input\n [service]=\"onlineResource\"\n [disabled]=\"disabled$ | async\"\n ></gn-ui-online-service-resource-input>\n </ng-container>\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 [showUploadButton]=\"false\"\n ></gn-ui-url-input>\n </div>\n </ng-template>\n <div\n *ngIf=\"disabled$ | async\"\n class=\"p-4 text-sm border border-primary bg-primary-lightest rounded-lg\"\n translate\n data-test=\"disabled-message\"\n >\n editor.record.form.field.draft.only.disabled\n </div>\n</div>\n" }]
186
+ }], ctorParameters: () => [{ type: i1.NotificationsService }, { type: i2.TranslateService }, { type: i3.PlatformServiceInterface }, { type: i0.ChangeDetectorRef }, { type: i4.MatDialog }, { type: i5.EditorFacade }], propDecorators: { metadataUuid: [{
187
+ type: Input
188
+ }], value: [{
189
+ type: Input
190
+ }], valueChange: [{
191
+ type: Output
192
+ }], dialogTemplate: [{
193
+ type: ViewChild,
194
+ args: ['dialogTemplate']
195
+ }] } });
196
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1vbmxpbmUtcmVzb3VyY2VzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL3JlY29yZC1mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1vbmxpbmUtcmVzb3VyY2V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