geonetwork-ui 2.3.2 → 2.4.0-alpha.1

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 (1126) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +4 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/common/license.mjs +64 -0
  3. package/esm2022/libs/api/metadata-converter/src/lib/common/url.mjs +14 -0
  4. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.mjs +254 -0
  5. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/index.mjs +2 -0
  6. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.mjs +17 -0
  7. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.mjs +196 -0
  8. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.mjs +46 -0
  9. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.mjs +74 -0
  10. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.mjs +2 -0
  11. package/esm2022/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.mjs +27 -0
  12. package/esm2022/libs/api/metadata-converter/src/lib/find-converter.mjs +11 -1
  13. package/esm2022/libs/api/metadata-converter/src/lib/gn4/atomic-operations.mjs +2 -1
  14. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.converter.mjs +4 -4
  15. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +13 -6
  16. package/esm2022/libs/api/metadata-converter/src/lib/gn4/metadata-url.service.mjs +4 -4
  17. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/index.mjs +2 -1
  18. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.mjs +2 -0
  19. package/esm2022/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.mjs +1 -1
  20. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +6 -6
  21. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
  22. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +21 -29
  23. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +12 -17
  24. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +35 -7
  25. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.mjs +31 -0
  26. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.mjs +1 -1
  27. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +80 -54
  28. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +52 -10
  29. package/esm2022/libs/api/repository/src/lib/gn4/auth/auth.service.mjs +4 -4
  30. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +4 -4
  31. package/esm2022/libs/api/repository/src/lib/gn4/elasticsearch/elasticsearch.service.mjs +4 -4
  32. package/esm2022/libs/api/repository/src/lib/gn4/favorites/favorites.service.mjs +4 -4
  33. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +148 -14
  34. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.mjs +5 -4
  35. package/esm2022/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.mjs +6 -4
  36. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +25 -7
  37. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +94 -18
  38. package/esm2022/libs/api/repository/src/lib/gn4/selection/selection.service.mjs +4 -4
  39. package/esm2022/libs/api/repository/src/lib/gn4/settings/gn4-settings.service.mjs +4 -4
  40. package/esm2022/libs/common/domain/src/lib/model/record/contact.model.mjs +28 -1
  41. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  42. package/esm2022/libs/common/domain/src/lib/model/record/organization.model.mjs +1 -1
  43. package/esm2022/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.mjs +1 -1
  44. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  45. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  46. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  47. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  48. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  49. package/esm2022/libs/data-access/gn4/src/openapi/api/atom.api.service.mjs +4 -4
  50. package/esm2022/libs/data-access/gn4/src/openapi/api/customstyle.api.service.mjs +4 -4
  51. package/esm2022/libs/data-access/gn4/src/openapi/api/formatters.api.service.mjs +4 -4
  52. package/esm2022/libs/data-access/gn4/src/openapi/api/groups.api.service.mjs +4 -4
  53. package/esm2022/libs/data-access/gn4/src/openapi/api/harvesters.api.service.mjs +4 -4
  54. package/esm2022/libs/data-access/gn4/src/openapi/api/identifiers.api.service.mjs +4 -4
  55. package/esm2022/libs/data-access/gn4/src/openapi/api/languages.api.service.mjs +4 -4
  56. package/esm2022/libs/data-access/gn4/src/openapi/api/links.api.service.mjs +4 -4
  57. package/esm2022/libs/data-access/gn4/src/openapi/api/logos.api.service.mjs +4 -4
  58. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservers.api.service.mjs +4 -4
  59. package/esm2022/libs/data-access/gn4/src/openapi/api/mapservices.api.service.mjs +4 -4
  60. package/esm2022/libs/data-access/gn4/src/openapi/api/me.api.service.mjs +4 -4
  61. package/esm2022/libs/data-access/gn4/src/openapi/api/operations.api.service.mjs +4 -4
  62. package/esm2022/libs/data-access/gn4/src/openapi/api/pages.api.service.mjs +4 -4
  63. package/esm2022/libs/data-access/gn4/src/openapi/api/processes.api.service.mjs +4 -4
  64. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +6 -10
  65. package/esm2022/libs/data-access/gn4/src/openapi/api/regions.api.service.mjs +4 -4
  66. package/esm2022/libs/data-access/gn4/src/openapi/api/registries.api.service.mjs +4 -4
  67. package/esm2022/libs/data-access/gn4/src/openapi/api/related.api.service.mjs +4 -4
  68. package/esm2022/libs/data-access/gn4/src/openapi/api/search.api.service.mjs +4 -4
  69. package/esm2022/libs/data-access/gn4/src/openapi/api/selections.api.service.mjs +4 -4
  70. package/esm2022/libs/data-access/gn4/src/openapi/api/site.api.service.mjs +4 -4
  71. package/esm2022/libs/data-access/gn4/src/openapi/api/sources.api.service.mjs +4 -4
  72. package/esm2022/libs/data-access/gn4/src/openapi/api/standards.api.service.mjs +4 -4
  73. package/esm2022/libs/data-access/gn4/src/openapi/api/status.api.service.mjs +4 -4
  74. package/esm2022/libs/data-access/gn4/src/openapi/api/tags.api.service.mjs +4 -4
  75. package/esm2022/libs/data-access/gn4/src/openapi/api/tools.api.service.mjs +4 -4
  76. package/esm2022/libs/data-access/gn4/src/openapi/api/ui.api.service.mjs +4 -4
  77. package/esm2022/libs/data-access/gn4/src/openapi/api/userfeedback.api.service.mjs +4 -4
  78. package/esm2022/libs/data-access/gn4/src/openapi/api/users.api.service.mjs +4 -4
  79. package/esm2022/libs/data-access/gn4/src/openapi/api/usersearches.api.service.mjs +4 -4
  80. package/esm2022/libs/data-access/gn4/src/openapi/api/userselections.api.service.mjs +4 -4
  81. package/esm2022/libs/data-access/gn4/src/openapi/api.module.mjs +5 -5
  82. package/esm2022/libs/data-access/gn4/src/openapi/model/user.api.model.mjs +1 -1
  83. package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +5 -5
  84. package/esm2022/libs/feature/catalog/src/index.mjs +2 -1
  85. package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +11 -8
  86. package/esm2022/libs/feature/catalog/src/lib/my-org/my-org.service.mjs +4 -4
  87. package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +12 -12
  88. package/esm2022/libs/feature/catalog/src/lib/organization-url.token.mjs +4 -0
  89. package/esm2022/libs/feature/catalog/src/lib/records/records.service.mjs +7 -9
  90. package/esm2022/libs/feature/catalog/src/lib/site-title/site-title.component.mjs +4 -4
  91. package/esm2022/libs/feature/catalog/src/lib/source-label/source-label.component.mjs +4 -4
  92. package/esm2022/libs/feature/catalog/src/lib/sources/sources.service.mjs +4 -4
  93. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +7 -7
  94. package/esm2022/libs/feature/dataviz/src/lib/feature-dataviz.module.mjs +18 -12
  95. package/esm2022/libs/feature/dataviz/src/lib/figure/figure-container/figure-container.component.mjs +4 -4
  96. package/esm2022/libs/feature/dataviz/src/lib/figure/figure.service.mjs +4 -4
  97. package/esm2022/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.mjs +41 -51
  98. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +4 -4
  99. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +4 -4
  100. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  101. package/esm2022/libs/feature/editor/src/lib/+state/editor.actions.mjs +4 -1
  102. package/esm2022/libs/feature/editor/src/lib/+state/editor.effects.mjs +22 -7
  103. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +18 -7
  104. package/esm2022/libs/feature/editor/src/lib/+state/editor.models.mjs +1 -1
  105. package/esm2022/libs/feature/editor/src/lib/+state/editor.reducer.mjs +12 -4
  106. package/esm2022/libs/feature/editor/src/lib/+state/editor.selectors.mjs +18 -6
  107. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +17 -0
  108. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +80 -0
  109. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +95 -0
  110. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
  111. package/esm2022/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.mjs +72 -0
  112. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +4 -4
  113. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.mjs +109 -0
  114. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +147 -0
  115. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +19 -0
  116. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +4 -4
  117. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +50 -0
  118. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +13 -11
  119. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.mjs +79 -0
  120. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +4 -4
  121. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +151 -0
  122. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.mjs +191 -0
  123. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.mjs +44 -0
  124. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +104 -0
  125. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +14 -18
  126. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +11 -10
  127. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +141 -6
  128. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +78 -0
  129. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +73 -57
  130. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +53 -68
  131. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +5 -3
  132. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +15 -9
  133. package/esm2022/libs/feature/editor/src/lib/components/wizard/wizard.component.mjs +5 -5
  134. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +11 -11
  135. package/esm2022/libs/feature/editor/src/lib/components/wizard-summarize/wizard-summarize.component.mjs +4 -4
  136. package/esm2022/libs/feature/editor/src/lib/expressions.mjs +1 -1
  137. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +12 -9
  138. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +217 -45
  139. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +2 -0
  140. package/esm2022/libs/feature/editor/src/lib/models/index.mjs +2 -1
  141. package/esm2022/libs/feature/editor/src/lib/services/editor.service.mjs +36 -45
  142. package/esm2022/libs/feature/editor/src/lib/services/wizard.service.mjs +4 -4
  143. package/esm2022/libs/feature/map/src/index.mjs +2 -9
  144. package/esm2022/libs/feature/map/src/lib/+state/map.actions.mjs +4 -7
  145. package/esm2022/libs/feature/map/src/lib/+state/map.facade.mjs +12 -18
  146. package/esm2022/libs/feature/map/src/lib/+state/map.reducer.mjs +13 -44
  147. package/esm2022/libs/feature/map/src/lib/+state/map.selectors.mjs +3 -2
  148. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.mjs +8 -8
  149. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +21 -20
  150. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +25 -16
  151. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +17 -16
  152. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +20 -15
  153. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +18 -13
  154. package/esm2022/libs/feature/map/src/lib/constant/index.mjs +1 -2
  155. package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +12 -71
  156. package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +44 -30
  157. package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +4 -4
  158. package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +45 -20
  159. package/esm2022/libs/feature/map/src/lib/map-state-container/map-state-container.component.mjs +27 -0
  160. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  161. package/esm2022/libs/feature/map/src/lib/style/map-style.service.mjs +4 -4
  162. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +14 -173
  163. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +5 -5
  164. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +4 -4
  165. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +4 -4
  166. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +4 -4
  167. package/esm2022/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.mjs +44 -25
  168. package/esm2022/libs/feature/record/src/lib/data-view-share/data-view-share.component.mjs +15 -7
  169. package/esm2022/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.mjs +51 -17
  170. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +22 -18
  171. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +22 -13
  172. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +41 -53
  173. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +5 -5
  174. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +7 -5
  175. package/esm2022/libs/feature/router/src/lib/default/constants.mjs +2 -1
  176. package/esm2022/libs/feature/router/src/lib/default/container/search-router.container.directive.mjs +4 -4
  177. package/esm2022/libs/feature/router/src/lib/default/router.config.mjs +1 -1
  178. package/esm2022/libs/feature/router/src/lib/default/router.module.mjs +5 -5
  179. package/esm2022/libs/feature/router/src/lib/default/router.service.mjs +12 -5
  180. package/esm2022/libs/feature/router/src/lib/default/services/router-search.service.mjs +4 -4
  181. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +4 -4
  182. package/esm2022/libs/feature/router/src/lib/default/state/router.facade.mjs +11 -4
  183. package/esm2022/libs/feature/search/src/index.mjs +2 -2
  184. package/esm2022/libs/feature/search/src/lib/facets/facets-container/facets-container.component.mjs +4 -4
  185. package/esm2022/libs/feature/search/src/lib/facets/facets.module.mjs +5 -5
  186. package/esm2022/libs/feature/search/src/lib/facets/facets.service.mjs +4 -4
  187. package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +4 -4
  188. package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +11 -8
  189. package/esm2022/libs/feature/search/src/lib/filter-dropdown/filter-dropdown.component.mjs +4 -4
  190. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +6 -6
  191. package/esm2022/libs/feature/search/src/lib/records-metrics/records-metrics.component.mjs +4 -4
  192. package/esm2022/libs/feature/search/src/lib/results-hits-number/results-hits.container.component.mjs +4 -4
  193. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +4 -4
  194. package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +4 -4
  195. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +94 -0
  196. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +4 -4
  197. package/esm2022/libs/feature/search/src/lib/state/container/search-state.container.directive.mjs +4 -4
  198. package/esm2022/libs/feature/search/src/lib/state/effects.mjs +4 -4
  199. package/esm2022/libs/feature/search/src/lib/state/search.facade.mjs +11 -6
  200. package/esm2022/libs/feature/search/src/lib/state/selectors.mjs +4 -1
  201. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +10 -6
  202. package/esm2022/libs/feature/search/src/lib/utils/service/search.service.mjs +4 -4
  203. package/esm2022/libs/ui/catalog/src/lib/catalog-title/catalog-title.component.mjs +4 -4
  204. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +4 -4
  205. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +7 -7
  206. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +9 -9
  207. package/esm2022/libs/ui/catalog/src/lib/organisations-result/organisations-result.component.mjs +4 -4
  208. package/esm2022/libs/ui/catalog/src/lib/ui-catalog.module.mjs +9 -11
  209. package/esm2022/libs/ui/dataviz/src/lib/chart/chart.component.mjs +4 -4
  210. package/esm2022/libs/ui/dataviz/src/lib/figure/figure.component.mjs +7 -10
  211. package/esm2022/libs/ui/dataviz/src/lib/table/table.component.mjs +4 -4
  212. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  213. package/esm2022/libs/ui/dataviz/src/lib/ui-dataviz.module.mjs +5 -5
  214. package/esm2022/libs/ui/elements/src/index.mjs +5 -4
  215. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +5 -5
  216. package/esm2022/libs/ui/elements/src/lib/avatar/avatar.component.mjs +4 -4
  217. package/esm2022/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.mjs +27 -0
  218. package/esm2022/libs/ui/elements/src/lib/content-ghost/content-ghost.component.mjs +4 -4
  219. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +5 -5
  220. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +4 -4
  221. package/esm2022/libs/ui/elements/src/lib/error/error.component.mjs +7 -5
  222. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +4 -4
  223. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +5 -5
  224. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +8 -7
  225. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +5 -5
  226. package/esm2022/libs/ui/elements/src/lib/metadata-catalog/metadata-catalog.component.mjs +4 -4
  227. package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +4 -4
  228. package/esm2022/libs/ui/elements/src/lib/metadata-info/linkify.directive.mjs +4 -4
  229. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +12 -12
  230. package/esm2022/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.mjs +7 -13
  231. package/esm2022/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.mjs +5 -5
  232. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +4 -4
  233. package/esm2022/libs/ui/elements/src/lib/pagination/pagination.component.mjs +4 -4
  234. package/esm2022/libs/ui/elements/src/lib/pagination-buttons/pagination-buttons.component.mjs +4 -4
  235. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +7 -7
  236. package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +26 -7
  237. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -4
  238. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +22 -15
  239. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +4 -4
  240. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +4 -4
  241. package/esm2022/libs/ui/elements/src/lib/user-preview/user-preview.component.mjs +5 -5
  242. package/esm2022/libs/ui/inputs/src/index.mjs +7 -1
  243. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +81 -31
  244. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +30 -0
  245. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +11 -4
  246. package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +4 -4
  247. package/esm2022/libs/ui/inputs/src/lib/checkbox/checkbox.component.mjs +4 -4
  248. package/esm2022/libs/ui/inputs/src/lib/chips-input/chips-input.component.mjs +4 -4
  249. package/esm2022/libs/ui/inputs/src/lib/copy-text-button/copy-text-button.component.mjs +4 -4
  250. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +14 -7
  251. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +25 -13
  252. package/esm2022/libs/ui/inputs/src/lib/drag-and-drop-file-input/drag-and-drop-file-input.component.mjs +4 -4
  253. package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +4 -4
  254. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +4 -4
  255. package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +28 -26
  256. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
  257. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +4 -4
  258. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +21 -17
  259. package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +4 -4
  260. package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +4 -4
  261. package/esm2022/libs/ui/inputs/src/lib/search-input/search-input.component.mjs +8 -6
  262. package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +4 -4
  263. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +34 -0
  264. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +9 -23
  265. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +8 -19
  266. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +16 -24
  267. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +59 -0
  268. package/esm2022/libs/ui/inputs/src/lib/viewport-intersector/viewport-intersector.component.mjs +4 -4
  269. package/esm2022/libs/ui/layout/src/index.mjs +4 -1
  270. package/esm2022/libs/ui/layout/src/lib/anchor-link/anchor-link.directive.mjs +4 -4
  271. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +4 -4
  272. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +4 -4
  273. package/esm2022/libs/ui/layout/src/lib/expandable-panel/expandable-panel.component.mjs +4 -4
  274. package/esm2022/libs/ui/layout/src/lib/expandable-panel-button/expandable-panel-button.component.mjs +4 -4
  275. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +7 -5
  276. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.mjs +4 -4
  277. package/esm2022/libs/ui/layout/src/lib/interactive-table/interactive-table.component.mjs +5 -5
  278. package/esm2022/libs/ui/layout/src/lib/max-lines/max-lines.component.mjs +71 -0
  279. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  280. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  281. package/esm2022/libs/ui/layout/src/lib/sticky-header/sticky-header.component.mjs +4 -4
  282. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +5 -5
  283. package/esm2022/libs/ui/map/src/index.mjs +4 -3
  284. package/esm2022/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.mjs +10 -8
  285. package/esm2022/libs/ui/map/src/lib/components/map-container/map-container.component.mjs +137 -0
  286. package/esm2022/libs/ui/map/src/lib/components/map-container/map-settings.token.mjs +13 -0
  287. package/esm2022/libs/ui/map/src/lib/map-utils.mjs +37 -0
  288. package/esm2022/libs/ui/search/src/index.mjs +2 -1
  289. package/esm2022/libs/ui/search/src/lib/facets/facet-block/facet-block.component.mjs +7 -7
  290. package/esm2022/libs/ui/search/src/lib/facets/facet-item/facet-item.component.mjs +7 -7
  291. package/esm2022/libs/ui/search/src/lib/facets/facet-list/facet-list.component.mjs +4 -4
  292. package/esm2022/libs/ui/search/src/lib/facets/facets.module.mjs +5 -5
  293. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  294. package/esm2022/libs/ui/search/src/lib/record-metric/record-metric.component.mjs +4 -4
  295. package/esm2022/libs/ui/search/src/lib/record-preview/record-preview.component.mjs +4 -4
  296. package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +4 -4
  297. package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +4 -4
  298. package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +4 -4
  299. package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +4 -4
  300. package/esm2022/libs/ui/search/src/lib/record-preview-text/record-preview-text.component.mjs +4 -4
  301. package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +4 -4
  302. package/esm2022/libs/ui/search/src/lib/results-hits-number/results-hits-number.component.mjs +4 -4
  303. package/esm2022/libs/ui/search/src/lib/results-list/results-list.component.mjs +4 -4
  304. package/esm2022/libs/ui/search/src/lib/results-list-item/results-list-item.component.mjs +4 -4
  305. package/esm2022/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.mjs +67 -0
  306. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +140 -0
  307. package/esm2022/libs/ui/search/src/lib/ui-search.module.mjs +5 -5
  308. package/esm2022/libs/ui/widgets/src/index.mjs +2 -2
  309. package/esm2022/libs/ui/widgets/src/lib/color-scale/color-scale.component.mjs +4 -4
  310. package/esm2022/libs/ui/widgets/src/lib/loading-mask/loading-mask.component.mjs +4 -4
  311. package/esm2022/libs/ui/widgets/src/lib/popover/popover.component.mjs +68 -0
  312. package/esm2022/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.mjs +7 -5
  313. package/esm2022/libs/ui/widgets/src/lib/progress-bar/progress-bar.component.mjs +4 -4
  314. package/esm2022/libs/ui/widgets/src/lib/spinning-loader/spinning-loader.component.mjs +4 -4
  315. package/esm2022/libs/ui/widgets/src/lib/step-bar/step-bar.component.mjs +4 -4
  316. package/esm2022/libs/ui/widgets/src/lib/ui-widgets.module.mjs +5 -15
  317. package/esm2022/libs/util/app-config/src/index.mjs +2 -1
  318. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  319. package/esm2022/libs/util/app-config/src/lib/map-layers.mjs +27 -0
  320. package/esm2022/libs/util/i18n/src/lib/i18n.interceptor.mjs +4 -4
  321. package/esm2022/libs/util/i18n/src/lib/lang.service.mjs +4 -4
  322. package/esm2022/libs/util/i18n/src/lib/util-i18n.module.mjs +5 -5
  323. package/esm2022/libs/util/shared/src/lib/image-fallback.directive.mjs +4 -4
  324. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +4 -4
  325. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  326. package/esm2022/libs/util/shared/src/lib/services/log.service.mjs +4 -4
  327. package/esm2022/libs/util/shared/src/lib/services/proxy.service.mjs +4 -4
  328. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +5 -4
  329. package/esm2022/libs/util/shared/src/lib/util-shared.module.mjs +5 -5
  330. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  331. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
  332. package/esm2022/libs/util/shared/src/lib/utils/no-duplicate-file-name.mjs +19 -0
  333. package/esm2022/translations/de.json +177 -31
  334. package/esm2022/translations/en.json +185 -39
  335. package/esm2022/translations/es.json +155 -9
  336. package/esm2022/translations/fr.json +215 -69
  337. package/esm2022/translations/it.json +158 -12
  338. package/esm2022/translations/nl.json +155 -9
  339. package/esm2022/translations/pt.json +155 -9
  340. package/fesm2022/geonetwork-ui.mjs +8936 -5202
  341. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  342. package/libs/api/metadata-converter/src/index.d.ts +3 -0
  343. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  344. package/libs/api/metadata-converter/src/lib/common/license.d.ts +3 -0
  345. package/libs/api/metadata-converter/src/lib/common/license.d.ts.map +1 -0
  346. package/libs/api/metadata-converter/src/lib/common/url.d.ts +7 -0
  347. package/libs/api/metadata-converter/src/lib/common/url.d.ts.map +1 -0
  348. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts +13 -0
  349. package/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.d.ts.map +1 -0
  350. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts +2 -0
  351. package/libs/api/metadata-converter/src/lib/dcat-ap/index.d.ts.map +1 -0
  352. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts +16 -0
  353. package/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.d.ts.map +1 -0
  354. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts +20 -0
  355. package/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.d.ts.map +1 -0
  356. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts +9 -0
  357. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.d.ts.map +1 -0
  358. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts +8 -0
  359. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.d.ts.map +1 -0
  360. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts +2 -0
  361. package/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.d.ts.map +1 -0
  362. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts +6 -0
  363. package/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.d.ts.map +1 -0
  364. package/libs/api/metadata-converter/src/lib/find-converter.d.ts.map +1 -1
  365. package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
  366. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  367. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  368. package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts +1 -0
  369. package/libs/api/metadata-converter/src/lib/gn4/types/index.d.ts.map +1 -1
  370. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts +27 -0
  371. package/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.d.ts.map +1 -0
  372. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts +1 -0
  373. package/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.d.ts.map +1 -1
  374. package/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.d.ts.map +1 -1
  375. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
  376. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  377. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -2
  378. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  379. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  380. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +13 -6
  381. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  382. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts +5 -0
  383. package/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.d.ts.map +1 -0
  384. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts +1 -1
  385. package/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.d.ts.map +1 -1
  386. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +14 -12
  387. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  388. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +59 -0
  389. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  390. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +29 -4
  391. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  392. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.d.ts.map +1 -1
  393. package/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.d.ts.map +1 -1
  394. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +3 -3
  395. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  396. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +18 -7
  397. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  398. package/libs/common/domain/src/lib/model/record/contact.model.d.ts +2 -1
  399. package/libs/common/domain/src/lib/model/record/contact.model.d.ts.map +1 -1
  400. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +13 -14
  401. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  402. package/libs/common/domain/src/lib/model/record/organization.model.d.ts +1 -0
  403. package/libs/common/domain/src/lib/model/record/organization.model.d.ts.map +1 -1
  404. package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts +12 -5
  405. package/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.d.ts.map +1 -1
  406. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  407. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  408. package/libs/common/domain/src/lib/platform.service.interface.d.ts +19 -3
  409. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  410. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +51 -1
  411. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  412. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  413. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  414. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  415. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  416. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +6 -6
  417. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  418. package/libs/data-access/gn4/src/openapi/model/user.api.model.d.ts +1 -1
  419. package/libs/feature/catalog/src/index.d.ts +1 -0
  420. package/libs/feature/catalog/src/index.d.ts.map +1 -1
  421. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts +2 -1
  422. package/libs/feature/catalog/src/lib/feature-catalog.module.d.ts.map +1 -1
  423. package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
  424. package/libs/feature/catalog/src/lib/organization-url.token.d.ts +3 -0
  425. package/libs/feature/catalog/src/lib/organization-url.token.d.ts.map +1 -0
  426. package/libs/feature/catalog/src/lib/records/records.service.d.ts.map +1 -1
  427. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
  428. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  429. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts +10 -8
  430. package/libs/feature/dataviz/src/lib/feature-dataviz.module.d.ts.map +1 -1
  431. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts +13 -20
  432. package/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.d.ts.map +1 -1
  433. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
  434. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  435. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
  436. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  437. package/libs/feature/editor/src/index.d.ts +1 -0
  438. package/libs/feature/editor/src/index.d.ts.map +1 -1
  439. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts +11 -0
  440. package/libs/feature/editor/src/lib/+state/editor.actions.d.ts.map +1 -1
  441. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts +10 -0
  442. package/libs/feature/editor/src/lib/+state/editor.effects.d.ts.map +1 -1
  443. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +14 -11
  444. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  445. package/libs/feature/editor/src/lib/+state/editor.models.d.ts +8 -0
  446. package/libs/feature/editor/src/lib/+state/editor.models.d.ts.map +1 -1
  447. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts +13 -2
  448. package/libs/feature/editor/src/lib/+state/editor.reducer.d.ts.map +1 -1
  449. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts +6 -8
  450. package/libs/feature/editor/src/lib/+state/editor.selectors.d.ts.map +1 -1
  451. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +8 -0
  452. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -0
  453. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +33 -0
  454. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -0
  455. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +34 -0
  456. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
  457. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  458. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  459. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts +16 -0
  460. package/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.d.ts.map +1 -0
  461. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts +38 -0
  462. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.d.ts.map +1 -0
  463. 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
  464. 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
  465. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +9 -0
  466. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts.map +1 -0
  467. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +17 -0
  468. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -0
  469. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +6 -4
  470. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -1
  471. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.d.ts +15 -0
  472. 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
  473. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.d.ts +35 -0
  474. 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
  475. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.d.ts +44 -0
  476. 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
  477. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.d.ts +15 -0
  478. 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
  479. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +31 -0
  480. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -0
  481. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +4 -6
  482. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  483. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts +4 -3
  484. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -1
  485. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +28 -0
  486. 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
  487. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +25 -0
  488. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -0
  489. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +9 -9
  490. 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
  491. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +19 -25
  492. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  493. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +4 -2
  494. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  495. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +7 -7
  496. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  497. package/libs/feature/editor/src/lib/expressions.d.ts +1 -1
  498. package/libs/feature/editor/src/lib/expressions.d.ts.map +1 -1
  499. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +2 -1
  500. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  501. package/libs/feature/editor/src/lib/fields.config.d.ts +56 -2
  502. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  503. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +42 -0
  504. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -0
  505. package/libs/feature/editor/src/lib/models/index.d.ts +1 -0
  506. package/libs/feature/editor/src/lib/models/index.d.ts.map +1 -1
  507. package/libs/feature/editor/src/lib/services/editor.service.d.ts +8 -10
  508. package/libs/feature/editor/src/lib/services/editor.service.d.ts.map +1 -1
  509. package/libs/feature/map/src/index.d.ts +1 -8
  510. package/libs/feature/map/src/index.d.ts.map +1 -1
  511. package/libs/feature/map/src/lib/+state/map.actions.d.ts +13 -39
  512. package/libs/feature/map/src/lib/+state/map.actions.d.ts.map +1 -1
  513. package/libs/feature/map/src/lib/+state/map.facade.d.ts +9 -10
  514. package/libs/feature/map/src/lib/+state/map.facade.d.ts.map +1 -1
  515. package/libs/feature/map/src/lib/+state/map.reducer.d.ts +4 -2
  516. package/libs/feature/map/src/lib/+state/map.reducer.d.ts.map +1 -1
  517. package/libs/feature/map/src/lib/+state/map.selectors.d.ts +6 -1
  518. package/libs/feature/map/src/lib/+state/map.selectors.d.ts.map +1 -1
  519. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts +1 -1
  520. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.d.ts.map +1 -1
  521. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +8 -10
  522. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  523. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +1 -1
  524. package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -1
  525. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +3 -3
  526. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  527. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +2 -2
  528. package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -1
  529. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +2 -2
  530. package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -1
  531. package/libs/feature/map/src/lib/constant/index.d.ts +0 -1
  532. package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
  533. package/libs/feature/map/src/lib/feature-map.module.d.ts +12 -23
  534. package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
  535. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +7 -7
  536. package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -1
  537. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts +5 -4
  538. package/libs/feature/map/src/lib/layers-panel/layers-panel.component.d.ts.map +1 -1
  539. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts +14 -0
  540. package/libs/feature/map/src/lib/map-state-container/map-state-container.component.d.ts.map +1 -0
  541. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  542. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  543. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +0 -30
  544. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  545. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
  546. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  547. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts +4 -1
  548. package/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.d.ts.map +1 -1
  549. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts +4 -1
  550. package/libs/feature/record/src/lib/data-view-share/data-view-share.component.d.ts.map +1 -1
  551. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts +4 -1
  552. package/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.d.ts.map +1 -1
  553. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +10 -7
  554. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  555. package/libs/feature/record/src/lib/feature-record.module.d.ts +13 -10
  556. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  557. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +14 -20
  558. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  559. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  560. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  561. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  562. package/libs/feature/router/src/lib/default/constants.d.ts +1 -0
  563. package/libs/feature/router/src/lib/default/constants.d.ts.map +1 -1
  564. package/libs/feature/router/src/lib/default/router.config.d.ts +1 -0
  565. package/libs/feature/router/src/lib/default/router.config.d.ts.map +1 -1
  566. package/libs/feature/router/src/lib/default/router.service.d.ts +1 -0
  567. package/libs/feature/router/src/lib/default/router.service.d.ts.map +1 -1
  568. package/libs/feature/router/src/lib/default/state/router.facade.d.ts +1 -0
  569. package/libs/feature/router/src/lib/default/state/router.facade.d.ts.map +1 -1
  570. package/libs/feature/search/src/index.d.ts +1 -1
  571. package/libs/feature/search/src/index.d.ts.map +1 -1
  572. package/libs/feature/search/src/lib/feature-search.module.d.ts +2 -1
  573. package/libs/feature/search/src/lib/feature-search.module.d.ts.map +1 -1
  574. package/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.d.ts.map +1 -1
  575. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +37 -0
  576. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -0
  577. package/libs/feature/search/src/lib/state/search.facade.d.ts +2 -0
  578. package/libs/feature/search/src/lib/state/search.facade.d.ts.map +1 -1
  579. package/libs/feature/search/src/lib/state/selectors.d.ts +1 -0
  580. package/libs/feature/search/src/lib/state/selectors.d.ts.map +1 -1
  581. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  582. package/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.d.ts +2 -2
  583. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts +1 -1
  584. package/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.d.ts.map +1 -1
  585. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts +9 -9
  586. package/libs/ui/catalog/src/lib/ui-catalog.module.d.ts.map +1 -1
  587. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts +1 -2
  588. package/libs/ui/dataviz/src/lib/figure/figure.component.d.ts.map +1 -1
  589. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  590. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  591. package/libs/ui/elements/src/index.d.ts +4 -3
  592. package/libs/ui/elements/src/index.d.ts.map +1 -1
  593. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts +18 -0
  594. package/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.d.ts.map +1 -0
  595. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  596. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  597. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
  598. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  599. package/libs/ui/elements/src/lib/error/error.component.d.ts +3 -1
  600. package/libs/ui/elements/src/lib/error/error.component.d.ts.map +1 -1
  601. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  602. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  603. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
  604. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  605. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts +0 -3
  606. package/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.d.ts.map +1 -1
  607. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  608. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts +5 -1
  609. package/libs/ui/elements/src/lib/related-record-card/related-record-card.component.d.ts.map +1 -1
  610. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +18 -15
  611. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  612. package/libs/ui/inputs/src/index.d.ts +6 -0
  613. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  614. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts +15 -4
  615. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  616. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts +11 -0
  617. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -0
  618. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  619. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  620. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  621. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +4 -4
  622. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  623. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +5 -3
  624. package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -1
  625. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
  626. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  627. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +4 -5
  628. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  629. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts +1 -1
  630. package/libs/ui/inputs/src/lib/search-input/search-input.component.d.ts.map +1 -1
  631. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +17 -0
  632. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -0
  633. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +0 -4
  634. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  635. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +2 -4
  636. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  637. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +33 -35
  638. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  639. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts +21 -0
  640. package/libs/ui/inputs/src/lib/url-input/url-input.component.d.ts.map +1 -0
  641. package/libs/ui/layout/src/index.d.ts +3 -0
  642. package/libs/ui/layout/src/index.d.ts.map +1 -1
  643. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
  644. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
  645. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +1 -1
  646. package/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.d.ts +2 -2
  647. package/libs/ui/layout/src/lib/max-lines/max-lines.component.d.ts.map +1 -0
  648. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  649. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  650. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  651. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  652. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  653. package/libs/ui/map/src/index.d.ts +3 -2
  654. package/libs/ui/map/src/index.d.ts.map +1 -1
  655. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts +3 -4
  656. package/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.d.ts.map +1 -1
  657. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts +37 -0
  658. package/libs/ui/map/src/lib/components/map-container/map-container.component.d.ts.map +1 -0
  659. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts +18 -0
  660. package/libs/ui/map/src/lib/components/map-container/map-settings.token.d.ts.map +1 -0
  661. package/libs/ui/map/src/lib/map-utils.d.ts +7 -0
  662. package/libs/ui/map/src/lib/map-utils.d.ts.map +1 -0
  663. package/libs/ui/search/src/index.d.ts +1 -0
  664. package/libs/ui/search/src/index.d.ts.map +1 -1
  665. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  666. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  667. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts +20 -0
  668. package/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.d.ts.map +1 -0
  669. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +36 -0
  670. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -0
  671. package/libs/ui/widgets/src/index.d.ts +1 -1
  672. package/libs/ui/widgets/src/index.d.ts.map +1 -1
  673. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts +19 -0
  674. package/libs/ui/widgets/src/lib/popover/popover.component.d.ts.map +1 -0
  675. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts +1 -1
  676. package/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.d.ts.map +1 -1
  677. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts +10 -12
  678. package/libs/ui/widgets/src/lib/ui-widgets.module.d.ts.map +1 -1
  679. package/libs/util/app-config/src/index.d.ts +1 -0
  680. package/libs/util/app-config/src/index.d.ts.map +1 -1
  681. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  682. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  683. package/libs/util/app-config/src/lib/map-layers.d.ts +4 -0
  684. package/libs/util/app-config/src/lib/map-layers.d.ts.map +1 -0
  685. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  686. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  687. package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
  688. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  689. package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
  690. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  691. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  692. package/libs/util/shared/src/lib/utils/index.d.ts +1 -0
  693. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  694. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts +2 -0
  695. package/libs/util/shared/src/lib/utils/no-duplicate-file-name.d.ts.map +1 -0
  696. package/package.json +5 -3
  697. package/src/libs/api/metadata-converter/src/index.ts +3 -0
  698. package/src/libs/api/metadata-converter/src/lib/common/license.ts +66 -0
  699. package/src/libs/api/metadata-converter/src/lib/common/url.ts +15 -0
  700. package/src/libs/api/metadata-converter/src/lib/dcat-ap/dcat-ap.converter.ts +378 -0
  701. package/src/libs/api/metadata-converter/src/lib/dcat-ap/index.ts +1 -0
  702. package/src/libs/api/metadata-converter/src/lib/dcat-ap/namespaces.ts +17 -0
  703. package/src/libs/api/metadata-converter/src/lib/dcat-ap/read-parts.ts +370 -0
  704. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/graph-utils.ts +95 -0
  705. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/individual-name.ts +20 -0
  706. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/keyword.mapper.ts +16 -0
  707. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/role.mapper.ts +48 -0
  708. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/serialize-to-xml.ts +97 -0
  709. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/status.mapper.ts +19 -0
  710. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/update-frequency.mapper.ts +67 -0
  711. package/src/libs/api/metadata-converter/src/lib/dcat-ap/utils/uri.ts +1 -0
  712. package/src/libs/api/metadata-converter/src/lib/dcat-ap/write-parts.ts +68 -0
  713. package/src/libs/api/metadata-converter/src/lib/find-converter.ts +13 -0
  714. package/src/libs/api/metadata-converter/src/lib/fixtures/eu.dcat-ap.records.ts +272 -0
  715. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +7 -2
  716. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +6 -2
  717. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +38 -13
  718. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +6 -2
  719. package/src/libs/api/metadata-converter/src/lib/fixtures/opendataswiss.records.ts +110 -0
  720. package/src/libs/api/metadata-converter/src/lib/fixtures/sextant.records.ts +85 -0
  721. package/src/libs/api/metadata-converter/src/lib/fixtures/vlaanderen.dcat-ap.records.ts +73 -0
  722. package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +1 -0
  723. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
  724. package/src/libs/api/metadata-converter/src/lib/gn4/types/index.ts +1 -0
  725. package/src/libs/api/metadata-converter/src/lib/gn4/types/keywords.model.ts +27 -0
  726. package/src/libs/api/metadata-converter/src/lib/gn4/types/metadata.model.ts +1 -0
  727. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +5 -6
  728. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
  729. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +28 -43
  730. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +11 -16
  731. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +86 -18
  732. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/geometry.ts +39 -0
  733. package/src/libs/api/metadata-converter/src/lib/iso19139/utils/keyword.mapper.ts +1 -1
  734. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +211 -158
  735. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +58 -12
  736. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +273 -7
  737. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-groups.service.ts +1 -0
  738. package/src/libs/api/repository/src/lib/gn4/organizations/organizations-from-metadata.service.ts +3 -1
  739. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +37 -5
  740. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +193 -31
  741. package/src/libs/common/domain/src/lib/model/record/contact.model.ts +29 -1
  742. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +14 -17
  743. package/src/libs/common/domain/src/lib/model/record/organization.model.ts +1 -0
  744. package/src/libs/common/domain/src/lib/model/thesaurus/thesaurus.model.ts +13 -6
  745. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  746. package/src/libs/common/domain/src/lib/platform.service.interface.ts +37 -3
  747. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +72 -3
  748. package/src/libs/common/fixtures/src/index.ts +6 -1
  749. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +156 -0
  750. package/src/libs/common/fixtures/src/lib/editor/index.ts +1 -0
  751. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  752. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  753. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  754. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  755. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  756. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  757. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  758. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  759. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  760. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  761. package/src/libs/common/fixtures/src/lib/individual.fixtures.ts +61 -0
  762. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
  763. package/src/libs/common/fixtures/src/lib/map/index.ts +1 -0
  764. package/src/libs/common/fixtures/src/lib/map/map-context.fixtures.ts +53 -0
  765. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  766. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +65 -3
  767. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  768. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +208 -5
  769. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  770. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  771. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  772. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +45 -15
  773. package/src/libs/data-access/datafeeder/src/openapi/model/datasetMetadata.api.model.ts +4 -0
  774. package/src/libs/data-access/datafeeder/src/openapi/model/datasetUploadStatus.api.model.ts +2 -0
  775. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  776. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  777. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +10 -14
  778. package/src/libs/data-access/gn4/src/openapi/model/user.api.model.ts +1 -1
  779. package/src/libs/data-access/gn4/src/spec.yaml +4 -13
  780. package/src/libs/feature/catalog/src/index.ts +1 -0
  781. package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +5 -2
  782. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.html +1 -1
  783. package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +2 -2
  784. package/src/libs/feature/catalog/src/lib/organization-url.token.ts +6 -0
  785. package/src/libs/feature/catalog/src/lib/records/records.service.ts +6 -8
  786. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  787. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
  788. package/src/libs/feature/dataviz/src/lib/feature-dataviz.module.ts +8 -3
  789. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  790. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.html +5 -2
  791. package/src/libs/feature/dataviz/src/lib/geo-table-view/geo-table-view.component.ts +38 -78
  792. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
  793. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
  794. package/src/libs/feature/editor/src/index.ts +1 -0
  795. package/src/libs/feature/editor/src/lib/+state/editor.actions.ts +14 -1
  796. package/src/libs/feature/editor/src/lib/+state/editor.effects.ts +73 -17
  797. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +27 -4
  798. package/src/libs/feature/editor/src/lib/+state/editor.models.ts +11 -0
  799. package/src/libs/feature/editor/src/lib/+state/editor.reducer.ts +32 -9
  800. package/src/libs/feature/editor/src/lib/+state/editor.selectors.ts +32 -8
  801. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +15 -0
  802. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +18 -0
  803. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.html +26 -0
  804. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +90 -0
  805. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +47 -0
  806. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +132 -0
  807. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  808. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
  809. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.html +31 -0
  810. package/src/libs/feature/editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.ts +82 -0
  811. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.html +40 -0
  812. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.ts +170 -0
  813. 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
  814. 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
  815. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +210 -0
  816. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.html +4 -0
  817. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.ts +21 -0
  818. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +10 -0
  819. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +78 -0
  820. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
  821. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +13 -5
  822. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.html +1 -0
  823. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.ts +86 -0
  824. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.css +0 -0
  825. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +43 -0
  826. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +186 -0
  827. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.css +0 -0
  828. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.html +71 -0
  829. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-resources/form-field-online-resources.component.ts +241 -0
  830. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.css +0 -0
  831. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.html +6 -0
  832. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-open-data/form-field-open-data.component.ts +48 -0
  833. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.css +0 -0
  834. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -0
  835. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +123 -0
  836. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +15 -8
  837. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +11 -14
  838. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.html +5 -3
  839. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.ts +11 -4
  840. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +20 -1
  841. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +212 -1
  842. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
  843. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +33 -0
  844. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +87 -0
  845. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
  846. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +16 -14
  847. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +101 -90
  848. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +127 -83
  849. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +61 -75
  850. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +4 -2
  851. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +52 -9
  852. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +20 -7
  853. package/src/libs/feature/editor/src/lib/components/wizard/wizard.component.html +2 -6
  854. package/src/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.html +1 -1
  855. package/src/libs/feature/editor/src/lib/expressions.ts +1 -1
  856. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +4 -2
  857. package/src/libs/feature/editor/src/lib/fields.config.ts +258 -45
  858. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +65 -0
  859. package/src/libs/feature/editor/src/lib/models/index.ts +1 -0
  860. package/src/libs/feature/editor/src/lib/services/editor.service.ts +48 -54
  861. package/src/libs/feature/map/src/index.ts +1 -8
  862. package/src/libs/feature/map/src/lib/+state/map.actions.ts +10 -25
  863. package/src/libs/feature/map/src/lib/+state/map.facade.ts +11 -15
  864. package/src/libs/feature/map/src/lib/+state/map.reducer.ts +16 -53
  865. package/src/libs/feature/map/src/lib/+state/map.selectors.ts +7 -2
  866. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-from-catalog.component.ts +3 -0
  867. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +23 -22
  868. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +22 -11
  869. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +1 -1
  870. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +21 -19
  871. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +1 -1
  872. package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +17 -10
  873. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +1 -1
  874. package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +17 -10
  875. package/src/libs/feature/map/src/lib/constant/index.ts +0 -1
  876. package/src/libs/feature/map/src/lib/feature-map.module.ts +2 -41
  877. package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +38 -20
  878. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +2 -2
  879. package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.ts +39 -6
  880. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.css +0 -0
  881. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.html +4 -0
  882. package/src/libs/feature/map/src/lib/map-state-container/map-state-container.component.ts +29 -0
  883. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  884. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +8 -232
  885. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
  886. package/src/libs/feature/record/src/lib/data-view-permalink/data-view-permalink.component.ts +36 -19
  887. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.html +6 -2
  888. package/src/libs/feature/record/src/lib/data-view-share/data-view-share.component.ts +11 -0
  889. package/src/libs/feature/record/src/lib/data-view-web-component/data-view-web-component.component.ts +59 -12
  890. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +29 -20
  891. package/src/libs/feature/record/src/lib/feature-record.module.ts +14 -5
  892. package/src/libs/feature/record/src/lib/map-view/map-view.component.html +4 -4
  893. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +45 -72
  894. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +1 -3
  895. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -1
  896. package/src/libs/feature/router/src/lib/default/constants.ts +1 -0
  897. package/src/libs/feature/router/src/lib/default/router.config.ts +1 -0
  898. package/src/libs/feature/router/src/lib/default/router.service.ts +13 -1
  899. package/src/libs/feature/router/src/lib/default/state/router.facade.ts +8 -0
  900. package/src/libs/feature/search/src/index.ts +1 -1
  901. package/src/libs/feature/search/src/lib/feature-search.module.ts +2 -1
  902. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +2 -1
  903. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.ts +2 -2
  904. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.css +0 -0
  905. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +15 -0
  906. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +114 -0
  907. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  908. package/src/libs/feature/search/src/lib/state/search.facade.ts +11 -0
  909. package/src/libs/feature/search/src/lib/state/selectors.ts +7 -0
  910. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +16 -2
  911. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +8 -6
  912. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.ts +2 -2
  913. package/src/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.ts +8 -1
  914. package/src/libs/ui/catalog/src/lib/ui-catalog.module.ts +2 -3
  915. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  916. package/src/libs/ui/dataviz/src/lib/figure/figure.component.html +11 -3
  917. package/src/libs/ui/dataviz/src/lib/figure/figure.component.ts +3 -7
  918. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  919. package/src/libs/ui/elements/src/index.ts +4 -3
  920. package/src/libs/ui/elements/src/lib/api-card/api-card.component.html +29 -29
  921. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.css +0 -0
  922. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.html +12 -0
  923. package/src/libs/ui/elements/src/lib/confirmation-dialog/confirmation-dialog.component.ts +37 -0
  924. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  925. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
  926. package/src/libs/ui/elements/src/lib/error/error.component.html +30 -6
  927. package/src/libs/ui/elements/src/lib/error/error.component.ts +2 -0
  928. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
  929. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -17
  930. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -1
  931. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +7 -1
  932. package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +12 -8
  933. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.html +14 -20
  934. package/src/libs/ui/elements/src/lib/metadata-quality/metadata-quality.component.ts +0 -10
  935. package/src/libs/ui/elements/src/lib/metadata-quality-item/metadata-quality-item.component.html +1 -1
  936. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  937. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
  938. package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.ts +22 -1
  939. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +11 -6
  940. package/src/libs/ui/elements/src/lib/user-preview/user-preview.component.html +1 -1
  941. package/src/libs/ui/inputs/src/index.ts +6 -0
  942. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +25 -19
  943. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +33 -15
  944. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +97 -30
  945. package/src/libs/ui/inputs/src/lib/badge/badge.component.css +0 -0
  946. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +26 -0
  947. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +28 -0
  948. package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
  949. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
  950. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +14 -5
  951. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +15 -2
  952. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
  953. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +29 -24
  954. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +20 -16
  955. package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +40 -26
  956. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
  957. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +89 -0
  958. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +92 -0
  959. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +4 -0
  960. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +76 -68
  961. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +17 -14
  962. package/src/libs/ui/inputs/src/lib/search-input/search-input.component.ts +5 -1
  963. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +32 -0
  964. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +14 -0
  965. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +39 -0
  966. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +3 -2
  967. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +3 -28
  968. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +4 -3
  969. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +4 -16
  970. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -9
  971. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.css +9 -0
  972. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +41 -0
  973. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.ts +56 -0
  974. package/src/libs/ui/layout/src/index.ts +3 -0
  975. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +8 -3
  976. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +4 -3
  977. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.css +1 -1
  978. package/src/libs/ui/layout/src/lib/interactive-table/interactive-table.component.html +3 -2
  979. package/src/libs/ui/layout/src/lib/max-lines/max-lines.component.css +0 -0
  980. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.html +1 -0
  981. package/src/libs/ui/{elements → layout}/src/lib/max-lines/max-lines.component.ts +9 -5
  982. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  983. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  984. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  985. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.css +18 -0
  986. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  987. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.ts +53 -0
  988. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -1
  989. package/src/libs/ui/map/src/index.ts +3 -2
  990. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.html +1 -1
  991. package/src/libs/ui/map/src/lib/components/feature-detail/feature-detail.component.ts +8 -5
  992. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.css +0 -0
  993. package/src/libs/ui/map/src/lib/components/map-container/map-container.component.ts +203 -0
  994. package/src/libs/ui/map/src/lib/components/map-container/map-settings.token.ts +23 -0
  995. package/src/libs/ui/map/src/lib/map-utils.ts +54 -0
  996. package/src/libs/ui/search/src/index.ts +1 -0
  997. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  998. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.css +0 -0
  999. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.html +26 -0
  1000. package/src/libs/ui/search/src/lib/results-table/action-menu/action-menu.component.ts +74 -0
  1001. package/src/libs/ui/search/src/lib/results-table/results-table.component.css +0 -0
  1002. package/src/libs/{feature → ui}/search/src/lib/results-table/results-table.component.html +51 -15
  1003. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +151 -0
  1004. package/src/libs/ui/widgets/src/index.ts +1 -1
  1005. package/src/libs/ui/widgets/src/lib/popover/popover.component.css +0 -0
  1006. package/src/libs/ui/widgets/src/lib/popover/popover.component.html +3 -0
  1007. package/src/libs/ui/widgets/src/lib/popover/popover.component.ts +85 -0
  1008. package/src/libs/ui/widgets/src/lib/popup-alert/popup-alert.component.ts +4 -0
  1009. package/src/libs/ui/widgets/src/lib/ui-widgets.module.ts +0 -6
  1010. package/src/libs/util/app-config/src/index.ts +1 -0
  1011. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  1012. package/src/libs/util/app-config/src/lib/map-layers.ts +31 -0
  1013. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
  1014. package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
  1015. package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
  1016. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  1017. package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
  1018. package/src/libs/util/shared/src/lib/utils/no-duplicate-file-name.ts +23 -0
  1019. package/tailwind.base.config.js +1 -0
  1020. package/tailwind.base.css +77 -7
  1021. package/translations/de.json +177 -31
  1022. package/translations/en.json +185 -39
  1023. package/translations/es.json +155 -9
  1024. package/translations/fr.json +215 -69
  1025. package/translations/it.json +158 -12
  1026. package/translations/nl.json +155 -9
  1027. package/translations/pt.json +155 -9
  1028. package/translations/sk.json +157 -11
  1029. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -15
  1030. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  1031. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +0 -2
  1032. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +0 -2
  1033. package/esm2022/libs/feature/map/src/lib/+state/map.effects.mjs +0 -15
  1034. package/esm2022/libs/feature/map/src/lib/+state/map.models.mjs +0 -2
  1035. package/esm2022/libs/feature/map/src/lib/constant/map-options.mjs +0 -8
  1036. package/esm2022/libs/feature/map/src/lib/constant/style.constant.mjs +0 -17
  1037. package/esm2022/libs/feature/map/src/lib/feature-info/feature-info.service.mjs +0 -38
  1038. package/esm2022/libs/feature/map/src/lib/manager/map-instance.directive.mjs +0 -19
  1039. package/esm2022/libs/feature/map/src/lib/manager/map-manager.service.mjs +0 -19
  1040. package/esm2022/libs/feature/map/src/lib/map-container/map-container.component.mjs +0 -27
  1041. package/esm2022/libs/feature/map/src/lib/map-context/component/map-context.component.mjs +0 -46
  1042. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +0 -10
  1043. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +0 -289
  1044. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +0 -128
  1045. package/esm2022/libs/ui/elements/src/lib/max-lines/max-lines.component.mjs +0 -69
  1046. package/esm2022/libs/ui/map/src/lib/components/map/map.component.mjs +0 -40
  1047. package/esm2022/libs/ui/map/src/lib/ui-map.module.mjs +0 -33
  1048. package/esm2022/libs/ui/widgets/src/lib/badge/badge.component.mjs +0 -17
  1049. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -8
  1050. 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
  1051. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +0 -6
  1052. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  1053. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts +0 -26
  1054. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +0 -1
  1055. package/libs/feature/editor/src/lib/models/fields.model.d.ts +0 -15
  1056. package/libs/feature/editor/src/lib/models/fields.model.d.ts.map +0 -1
  1057. package/libs/feature/map/src/lib/+state/map.effects.d.ts +0 -9
  1058. package/libs/feature/map/src/lib/+state/map.effects.d.ts.map +0 -1
  1059. package/libs/feature/map/src/lib/+state/map.models.d.ts +0 -9
  1060. package/libs/feature/map/src/lib/+state/map.models.d.ts.map +0 -1
  1061. package/libs/feature/map/src/lib/constant/map-options.d.ts +0 -9
  1062. package/libs/feature/map/src/lib/constant/map-options.d.ts.map +0 -1
  1063. package/libs/feature/map/src/lib/constant/style.constant.d.ts +0 -4
  1064. package/libs/feature/map/src/lib/constant/style.constant.d.ts.map +0 -1
  1065. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts +0 -16
  1066. package/libs/feature/map/src/lib/feature-info/feature-info.service.d.ts.map +0 -1
  1067. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts +0 -9
  1068. package/libs/feature/map/src/lib/manager/map-instance.directive.d.ts.map +0 -1
  1069. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts +0 -11
  1070. package/libs/feature/map/src/lib/manager/map-manager.service.d.ts.map +0 -1
  1071. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts +0 -12
  1072. package/libs/feature/map/src/lib/map-container/map-container.component.d.ts.map +0 -1
  1073. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts +0 -26
  1074. package/libs/feature/map/src/lib/map-context/component/map-context.component.d.ts.map +0 -1
  1075. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +0 -77
  1076. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +0 -1
  1077. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +0 -26
  1078. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +0 -1
  1079. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts +0 -33
  1080. package/libs/feature/search/src/lib/results-table/results-table.component.d.ts.map +0 -1
  1081. package/libs/ui/elements/src/lib/max-lines/max-lines.component.d.ts.map +0 -1
  1082. package/libs/ui/map/src/lib/components/map/map.component.d.ts +0 -19
  1083. package/libs/ui/map/src/lib/components/map/map.component.d.ts.map +0 -1
  1084. package/libs/ui/map/src/lib/ui-map.module.d.ts +0 -13
  1085. package/libs/ui/map/src/lib/ui-map.module.d.ts.map +0 -1
  1086. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts +0 -7
  1087. package/libs/ui/widgets/src/lib/badge/badge.component.d.ts.map +0 -1
  1088. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  1089. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  1090. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  1091. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -8
  1092. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -70
  1093. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +0 -4
  1094. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +0 -15
  1095. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -1
  1096. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +0 -10
  1097. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts +0 -43
  1098. package/src/libs/feature/editor/src/lib/models/fields.model.ts +0 -29
  1099. package/src/libs/feature/map/src/lib/+state/map.effects.ts +0 -7
  1100. package/src/libs/feature/map/src/lib/+state/map.models.ts +0 -9
  1101. package/src/libs/feature/map/src/lib/constant/map-options.ts +0 -17
  1102. package/src/libs/feature/map/src/lib/feature-info/feature-info.service.ts +0 -42
  1103. package/src/libs/feature/map/src/lib/manager/map-instance.directive.ts +0 -10
  1104. package/src/libs/feature/map/src/lib/manager/map-manager.service.ts +0 -13
  1105. package/src/libs/feature/map/src/lib/map-container/map-container.component.html +0 -1
  1106. package/src/libs/feature/map/src/lib/map-container/map-container.component.ts +0 -26
  1107. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.html +0 -1
  1108. package/src/libs/feature/map/src/lib/map-context/component/map-context.component.ts +0 -57
  1109. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +0 -51
  1110. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +0 -95
  1111. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +0 -318
  1112. package/src/libs/feature/search/src/lib/results-table/results-table.component.ts +0 -164
  1113. package/src/libs/ui/map/src/lib/components/map/map.component.ts +0 -57
  1114. package/src/libs/ui/map/src/lib/ui-map.module.ts +0 -19
  1115. package/src/libs/ui/widgets/src/lib/badge/badge.component.html +0 -10
  1116. package/src/libs/ui/widgets/src/lib/badge/badge.component.ts +0 -11
  1117. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → contact-card/contact-card.component.css} +0 -0
  1118. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → generic-keywords/generic-keywords.component.css} +0 -0
  1119. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css → import-record/import-record.component.css} +0 -0
  1120. /package/src/libs/feature/{map/src/lib/map-container/map-container.component.css → editor/src/lib/components/online-resource-card/online-resource-card.component.css} +0 -0
  1121. /package/src/libs/feature/{map/src/lib/map-context/component/map-context.component.css → editor/src/lib/components/online-service-resource-input/online-service-resource-input.component.css} +0 -0
  1122. /package/src/libs/feature/{search/src/lib/results-table/results-table.component.css → editor/src/lib/components/record-form/form-field/form-field-contacts/form-field-contacts.component.css} +0 -0
  1123. /package/src/libs/{ui/elements/src/lib/max-lines/max-lines.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.css} +0 -0
  1124. /package/src/libs/{ui/map/src/lib/components/map/map.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.css} +0 -0
  1125. /package/src/libs/{ui/widgets/src/lib/badge/badge.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-map-container/form-field-map-container.component.css} +0 -0
  1126. /package/src/libs/ui/map/src/lib/components/{map/map.component.html → map-container/map-container.component.html} +0 -0
@@ -1,128 +0,0 @@
1
- import { Component, EventEmitter, Output } from '@angular/core';
2
- import { getBadgeColor, getFileFormat, getFormatPriority, } from '../../../../../../libs/util/shared/src';
3
- import { UiInputsModule } from '../../../../../../libs/ui/inputs/src';
4
- import { InteractiveTableColumnComponent, InteractiveTableComponent, } from '../../../../../../libs/ui/layout/src';
5
- import { MatIconModule } from '@angular/material/icon';
6
- import { TranslateModule } from '@ngx-translate/core';
7
- import { SearchFacade } from '../state/search.facade';
8
- import { SelectionService } from '../../../../../../libs/api/repository/src';
9
- import { combineLatest, firstValueFrom } from 'rxjs';
10
- import { CommonModule } from '@angular/common';
11
- import { map, take } from 'rxjs/operators';
12
- import { SearchService } from '../utils/service/search.service';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "../state/search.facade";
15
- import * as i2 from "../utils/service/search.service";
16
- import * as i3 from "../../../../../../libs/api/repository/src";
17
- import * as i4 from "@angular/common";
18
- import * as i5 from "../../../../../ui/inputs/src/lib/checkbox/checkbox.component";
19
- import * as i6 from "@angular/material/icon";
20
- import * as i7 from "@ngx-translate/core";
21
- export class ResultsTableComponent {
22
- constructor(searchFacade, searchService, selectionService) {
23
- this.searchFacade = searchFacade;
24
- this.searchService = searchService;
25
- this.selectionService = selectionService;
26
- this.recordClick = new EventEmitter();
27
- this.records$ = this.searchFacade.results$;
28
- this.selectedRecords$ = this.selectionService.selectedRecordsIdentifiers$;
29
- }
30
- dateToString(date) {
31
- return date?.toLocaleDateString(undefined, {
32
- year: 'numeric',
33
- month: 'long',
34
- day: 'numeric',
35
- timeZone: 'UTC',
36
- });
37
- }
38
- getStatus(isPublishedToAll) {
39
- return isPublishedToAll ? 'published' : 'not published';
40
- }
41
- getRecordFormats(record) {
42
- if (record.kind === 'service' || !('distributions' in record)) {
43
- return [];
44
- }
45
- const formats = Array.from(new Set(record.distributions.map((distribution) => getFileFormat(distribution)))).filter((format) => !!format);
46
- formats.sort((a, b) => getFormatPriority(b) - getFormatPriority(a));
47
- return formats;
48
- }
49
- formatUserInfo(userInfo) {
50
- const infos = (typeof userInfo === 'string' ? userInfo : '').split('|');
51
- if (infos && infos.length === 4) {
52
- return `${infos[2]} ${infos[1]}`;
53
- }
54
- return undefined;
55
- }
56
- getBadgeColor(format) {
57
- return getBadgeColor(format);
58
- }
59
- handleRecordClick(item) {
60
- this.recordClick.emit(item);
61
- }
62
- setSortBy(col, order) {
63
- this.searchService.setSortBy([order, col]);
64
- }
65
- isSortedBy(col) {
66
- return this.searchFacade.sortBy$.pipe(take(1), map((sortOrder) => {
67
- const sortArray = Array.isArray(sortOrder[0])
68
- ? sortOrder
69
- : [sortOrder];
70
- for (const sort of sortArray) {
71
- if (sort[1] === col) {
72
- return sort[0];
73
- }
74
- }
75
- return null;
76
- }));
77
- }
78
- isChecked(record) {
79
- return this.selectedRecords$.pipe(take(1), map((selectedRecords) => {
80
- return selectedRecords.includes(record.uniqueIdentifier);
81
- }));
82
- }
83
- handleRecordSelectedChange(selected, record) {
84
- if (!selected) {
85
- this.selectionService.deselectRecords([record]);
86
- }
87
- else {
88
- this.selectionService.selectRecords([record]);
89
- }
90
- }
91
- async toggleSelectAll() {
92
- const records = await firstValueFrom(this.records$);
93
- if (await firstValueFrom(this.isAllSelected())) {
94
- this.selectionService.deselectRecords(records);
95
- }
96
- else {
97
- this.selectionService.selectRecords(records);
98
- }
99
- }
100
- isAllSelected() {
101
- return combineLatest([this.records$, this.selectedRecords$]).pipe(take(1), map(([records, selectedRecords]) => {
102
- return records.every((record) => selectedRecords.includes(record.uniqueIdentifier));
103
- }));
104
- }
105
- isSomeSelected() {
106
- return combineLatest([this.records$, this.selectedRecords$]).pipe(take(1), map(([records, selectedRecords]) => {
107
- const allSelected = records.every((record) => selectedRecords.includes(record.uniqueIdentifier));
108
- const someSelected = records.some((record) => selectedRecords.includes(record.uniqueIdentifier));
109
- return !allSelected && someSelected;
110
- }));
111
- }
112
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ResultsTableComponent, deps: [{ token: i1.SearchFacade }, { token: i2.SearchService }, { token: i3.SelectionService }], target: i0.ɵɵFactoryTarget.Component }); }
113
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: ResultsTableComponent, isStandalone: true, selector: "gn-ui-results-table", outputs: { recordClick: "recordClick" }, ngImport: i0, template: "<gn-ui-interactive-table\n [items]=\"records$ | async\"\n (itemClick)=\"handleRecordClick($event)\"\n>\n <!-- SELECTED COLUMN -->\n <gn-ui-interactive-table-column>\n <ng-template #header>\n <gn-ui-checkbox\n [checked]=\"isAllSelected() | async\"\n [indeterminate]=\"isSomeSelected() | async\"\n (changed)=\"toggleSelectAll()\"\n type=\"default\"\n class=\"-m-2 mr-3\"\n >\n </gn-ui-checkbox>\n </ng-template>\n <ng-template #cell let-item>\n <gn-ui-checkbox\n [checked]=\"isChecked(item) | async\"\n (changed)=\"handleRecordSelectedChange($event, item)\"\n class=\"-m-2\"\n type=\"default\"\n ></gn-ui-checkbox>\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- TITLE COLUMN -->\n <gn-ui-interactive-table-column\n [sortable]=\"true\"\n [activeSort]=\"isSortedBy('resourceTitleObject.default.keyword') | async\"\n (sortChange)=\"setSortBy('resourceTitleObject.default.keyword', $event)\"\n >\n <ng-template #header>\n <span translate>record.metadata.title</span>\n </ng-template>\n <ng-template #cell let-item>\n {{ item.title }}\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- FORMATS COLUMN -->\n <gn-ui-interactive-table-column>\n <ng-template #header>\n <span translate>record.metadata.formats</span>\n </ng-template>\n <ng-template #cell let-item>\n <div\n class=\"flex justify-start items-center gap-2\"\n *ngIf=\"getRecordFormats(item) as formats\"\n [title]=\"formats.join(', ')\"\n >\n <span\n class=\"badge-btn min-w-[45px] text-sm text-white px-2 shrink-0\"\n [style.background-color]=\"getBadgeColor(formats[0])\"\n *ngIf=\"formats[0]\"\n >\n {{ formats[0] }}\n </span>\n <span\n class=\"badge-btn min-w-[45px] text-sm text-white px-2 shrink-0\"\n [style.background-color]=\"getBadgeColor(formats[1])\"\n *ngIf=\"formats[1]\"\n >\n {{ formats[1] }}\n </span>\n <div class=\"shrink-0\" *ngIf=\"formats.slice(2).length > 0\">\n <span>+{{ formats.slice(2).length }}</span>\n </div>\n </div>\n <div *ngIf=\"!getRecordFormats(item)\"></div>\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- OWNER COLUMN -->\n <gn-ui-interactive-table-column\n [sortable]=\"true\"\n [activeSort]=\"isSortedBy('recordOwner') | async\"\n (sortChange)=\"setSortBy('recordOwner', $event)\"\n >\n <ng-template #header>\n <span translate>record.metadata.author</span>\n </ng-template>\n <ng-template #cell let-item>\n <mat-icon class=\"material-symbols-outlined\">person</mat-icon>\n <span>{{ formatUserInfo(item.extras?.ownerInfo) }}</span>\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- STATUS COLUMN -->\n <gn-ui-interactive-table-column>\n <ng-template #header>\n <span translate>record.metadata.status</span>\n </ng-template>\n <ng-template #cell let-item>\n {{ item.status }}\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- UPDATE DATE COLUMN -->\n <gn-ui-interactive-table-column\n [sortable]=\"true\"\n [activeSort]=\"isSortedBy('changeDate') | async\"\n (sortChange)=\"setSortBy('changeDate', $event)\"\n >\n <ng-template #header>\n <span translate>record.metadata.updatedOn</span>\n </ng-template>\n <ng-template #cell let-item>\n {{ dateToString(item.recordUpdated) }}\n </ng-template>\n </gn-ui-interactive-table-column>\n</gn-ui-interactive-table>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "ngmodule", type: UiInputsModule }, { kind: "component", type: i5.CheckboxComponent, selector: "gn-ui-checkbox", inputs: ["type", "checked", "indeterminate"], outputs: ["changed"] }, { kind: "component", type: InteractiveTableComponent, selector: "gn-ui-interactive-table", inputs: ["items"], outputs: ["itemClick"] }, { kind: "component", type: InteractiveTableColumnComponent, selector: "gn-ui-interactive-table-column", inputs: ["grow", "sortable", "activeSort"], outputs: ["sortChange"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i6.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i7.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }] }); }
114
- }
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ResultsTableComponent, decorators: [{
116
- type: Component,
117
- args: [{ selector: 'gn-ui-results-table', standalone: true, imports: [
118
- CommonModule,
119
- UiInputsModule,
120
- InteractiveTableComponent,
121
- InteractiveTableColumnComponent,
122
- MatIconModule,
123
- TranslateModule,
124
- ], template: "<gn-ui-interactive-table\n [items]=\"records$ | async\"\n (itemClick)=\"handleRecordClick($event)\"\n>\n <!-- SELECTED COLUMN -->\n <gn-ui-interactive-table-column>\n <ng-template #header>\n <gn-ui-checkbox\n [checked]=\"isAllSelected() | async\"\n [indeterminate]=\"isSomeSelected() | async\"\n (changed)=\"toggleSelectAll()\"\n type=\"default\"\n class=\"-m-2 mr-3\"\n >\n </gn-ui-checkbox>\n </ng-template>\n <ng-template #cell let-item>\n <gn-ui-checkbox\n [checked]=\"isChecked(item) | async\"\n (changed)=\"handleRecordSelectedChange($event, item)\"\n class=\"-m-2\"\n type=\"default\"\n ></gn-ui-checkbox>\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- TITLE COLUMN -->\n <gn-ui-interactive-table-column\n [sortable]=\"true\"\n [activeSort]=\"isSortedBy('resourceTitleObject.default.keyword') | async\"\n (sortChange)=\"setSortBy('resourceTitleObject.default.keyword', $event)\"\n >\n <ng-template #header>\n <span translate>record.metadata.title</span>\n </ng-template>\n <ng-template #cell let-item>\n {{ item.title }}\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- FORMATS COLUMN -->\n <gn-ui-interactive-table-column>\n <ng-template #header>\n <span translate>record.metadata.formats</span>\n </ng-template>\n <ng-template #cell let-item>\n <div\n class=\"flex justify-start items-center gap-2\"\n *ngIf=\"getRecordFormats(item) as formats\"\n [title]=\"formats.join(', ')\"\n >\n <span\n class=\"badge-btn min-w-[45px] text-sm text-white px-2 shrink-0\"\n [style.background-color]=\"getBadgeColor(formats[0])\"\n *ngIf=\"formats[0]\"\n >\n {{ formats[0] }}\n </span>\n <span\n class=\"badge-btn min-w-[45px] text-sm text-white px-2 shrink-0\"\n [style.background-color]=\"getBadgeColor(formats[1])\"\n *ngIf=\"formats[1]\"\n >\n {{ formats[1] }}\n </span>\n <div class=\"shrink-0\" *ngIf=\"formats.slice(2).length > 0\">\n <span>+{{ formats.slice(2).length }}</span>\n </div>\n </div>\n <div *ngIf=\"!getRecordFormats(item)\"></div>\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- OWNER COLUMN -->\n <gn-ui-interactive-table-column\n [sortable]=\"true\"\n [activeSort]=\"isSortedBy('recordOwner') | async\"\n (sortChange)=\"setSortBy('recordOwner', $event)\"\n >\n <ng-template #header>\n <span translate>record.metadata.author</span>\n </ng-template>\n <ng-template #cell let-item>\n <mat-icon class=\"material-symbols-outlined\">person</mat-icon>\n <span>{{ formatUserInfo(item.extras?.ownerInfo) }}</span>\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- STATUS COLUMN -->\n <gn-ui-interactive-table-column>\n <ng-template #header>\n <span translate>record.metadata.status</span>\n </ng-template>\n <ng-template #cell let-item>\n {{ item.status }}\n </ng-template>\n </gn-ui-interactive-table-column>\n\n <!-- UPDATE DATE COLUMN -->\n <gn-ui-interactive-table-column\n [sortable]=\"true\"\n [activeSort]=\"isSortedBy('changeDate') | async\"\n (sortChange)=\"setSortBy('changeDate', $event)\"\n >\n <ng-template #header>\n <span translate>record.metadata.updatedOn</span>\n </ng-template>\n <ng-template #cell let-item>\n {{ dateToString(item.recordUpdated) }}\n </ng-template>\n </gn-ui-interactive-table-column>\n</gn-ui-interactive-table>\n" }]
125
- }], ctorParameters: function () { return [{ type: i1.SearchFacade }, { type: i2.SearchService }, { type: i3.SelectionService }]; }, propDecorators: { recordClick: [{
126
- type: Output
127
- }] } });
128
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdWx0cy10YWJsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2ZlYXR1cmUvc2VhcmNoL3NyYy9saWIvcmVzdWx0cy10YWJsZS9yZXN1bHRzLXRhYmxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9zZWFyY2gvc3JjL2xpYi9yZXN1bHRzLXRhYmxlL3Jlc3VsdHMtdGFibGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBRS9ELE9BQU8sRUFFTCxhQUFhLEVBQ2IsYUFBYSxFQUNiLGlCQUFpQixHQUNsQixNQUFNLHdDQUF3QyxDQUFBO0FBQy9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQTt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GU+XG4gICAgPG5nLXRlbXBsYXRlICNjZWxsIGxldC1pdGVtPlxuICAgICAge3sgZGF0ZVRvU3RyaW5nKGl0ZW0ucmVjb3JkVXBkYXRlZCkgfX1cbiAgICA8L25nLXRlbXBsYXRlPlxuICA8L2duLXVpLWludGVyYWN0aXZlLXRhYmxlLWNvbHVtbj5cbjwvZ24tdWktaW50ZXJhY3RpdmUtdGFibGU+XG4iXX0=
@@ -1,69 +0,0 @@
1
- import { Component, Input, ElementRef, ChangeDetectionStrategy, ViewChild, ChangeDetectorRef, } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@ngx-translate/core";
5
- export class MaxLinesComponent {
6
- constructor(cdr) {
7
- this.cdr = cdr;
8
- this.maxLines = 6;
9
- this.isExpanded = false;
10
- this.maxHeight = '';
11
- this.showToggleButton = false;
12
- }
13
- ngAfterViewInit() {
14
- this.calculateMaxHeight();
15
- this.observer = new ResizeObserver((mutations) => {
16
- mutations.forEach(() => {
17
- this.calculateMaxHeight();
18
- });
19
- });
20
- this.observer.observe(this.container.nativeElement.children[0]);
21
- }
22
- toggleDisplay() {
23
- this.isExpanded = !this.isExpanded;
24
- this.calculateMaxHeight();
25
- }
26
- calculateMaxHeight() {
27
- const containerElement = this.container.nativeElement;
28
- const contentElement = containerElement.children[0];
29
- const contentHeight = contentElement.getBoundingClientRect().height;
30
- if (contentHeight) {
31
- if (contentHeight > this.maxLines * this.getLineHeight(contentElement)) {
32
- this.showToggleButton = true;
33
- this.maxHeight = this.isExpanded
34
- ? `${contentHeight}px`
35
- : `${this.maxLines * this.getLineHeight(contentElement)}px`;
36
- }
37
- else {
38
- this.showToggleButton = false;
39
- this.maxHeight = `${contentHeight}px`;
40
- }
41
- containerElement.setAttribute('style', `max-height: ${this.maxHeight}; overflow: hidden`);
42
- this.cdr.detectChanges();
43
- }
44
- }
45
- getLineHeight(element) {
46
- const computedStyle = window.getComputedStyle(element);
47
- const lineHeight = parseFloat(computedStyle.lineHeight);
48
- const fontSize = parseFloat(computedStyle.fontSize || '14');
49
- const result = isNaN(lineHeight) ? fontSize * 1.2 : lineHeight; // Use a default if line height is not specified
50
- return result;
51
- }
52
- ngOnDestroy() {
53
- if (!this.observer)
54
- return;
55
- this.observer.unobserve(this.container.nativeElement.children[0]);
56
- }
57
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: MaxLinesComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
58
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: MaxLinesComponent, selector: "gn-ui-max-lines", inputs: { maxLines: "maxLines" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: "<div\n #container\n class=\"max-lines overflow-hidden transition-[max-height] duration-300 relative\"\n [ngClass]=\"isExpanded ? 'ease-in' : 'ease-out'\"\n [style.maxHeight]=\"maxHeight\"\n>\n <ng-content></ng-content>\n <div\n *ngIf=\"showToggleButton && !isExpanded\"\n class=\"absolute inset-x-0 bottom-0 bg-gradient-to-b from-transparent to-white h-3\"\n ></div>\n</div>\n<div\n *ngIf=\"showToggleButton\"\n (click)=\"toggleDisplay()\"\n class=\"text-secondary cursor-pointer pt-2.5\"\n>\n {{ (isExpanded ? 'ui.readLess' : 'ui.readMore') | translate }}\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
59
- }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: MaxLinesComponent, decorators: [{
61
- type: Component,
62
- args: [{ selector: 'gn-ui-max-lines', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n #container\n class=\"max-lines overflow-hidden transition-[max-height] duration-300 relative\"\n [ngClass]=\"isExpanded ? 'ease-in' : 'ease-out'\"\n [style.maxHeight]=\"maxHeight\"\n>\n <ng-content></ng-content>\n <div\n *ngIf=\"showToggleButton && !isExpanded\"\n class=\"absolute inset-x-0 bottom-0 bg-gradient-to-b from-transparent to-white h-3\"\n ></div>\n</div>\n<div\n *ngIf=\"showToggleButton\"\n (click)=\"toggleDisplay()\"\n class=\"text-secondary cursor-pointer pt-2.5\"\n>\n {{ (isExpanded ? 'ui.readLess' : 'ui.readMore') | translate }}\n</div>\n" }]
63
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { maxLines: [{
64
- type: Input
65
- }], container: [{
66
- type: ViewChild,
67
- args: ['container']
68
- }] } });
69
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF4LWxpbmVzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvZWxlbWVudHMvc3JjL2xpYi9tYXgtbGluZXMvbWF4LWxpbmVzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvZWxlbWVudHMvc3JjL2xpYi9tYXgtbGluZXMvbWF4LWxpbmVzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLFVBQVUsRUFDVix1QkFBdUIsRUFFdkIsU0FBUyxFQUVULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQTs7OztBQVF0QixNQUFNLE9BQU8saUJBQWlCO0lBVTVCLFlBQW9CLEdBQXNCO1FBQXRCLFFBQUcsR0FBSC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FeHBhbmRlZCA/ICd1aS5yZWFkTGVzcycgOiAndWkucmVhZE1vcmUnKSB8IHRyYW5zbGF0ZSB9fVxuPC9kaXY+XG4iXX0=
@@ -1,40 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, } from '@angular/core';
2
- import Map from 'ol/Map';
3
- import { fromEvent, merge, of, timer } from 'rxjs';
4
- import { delay, map, startWith, switchMap } from 'rxjs/operators';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/material/icon";
8
- import * as i3 from "@ngx-translate/core";
9
- export class MapComponent {
10
- constructor(_element) {
11
- this._element = _element;
12
- this.resizeObserver = new ResizeObserver(() => {
13
- this.map.updateSize();
14
- this.resizeObserver.unobserve(this.container.nativeElement);
15
- });
16
- }
17
- ngOnInit() {
18
- // this will show the message when a 'mapmuted' event is received and hide it a few seconds later
19
- // 'movestart' and 'singleclick' will cancel displaying the message in particular for two finger interactions on mobile
20
- this.displayMessage$ = merge(fromEvent(this.map, 'mapmuted').pipe(map(() => true)), fromEvent(this.map, 'movestart').pipe(map(() => false)), fromEvent(this.map, 'singleclick').pipe(map(() => false))).pipe(switchMap((muted) => muted
21
- ? timer(2000).pipe(map(() => false), startWith(true), delay(400))
22
- : of(false)));
23
- }
24
- ngAfterViewInit() {
25
- this.map.setTarget(this.container.nativeElement);
26
- this.resizeObserver.observe(this.container.nativeElement);
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: MapComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: MapComponent, selector: "gn-ui-map", inputs: { map: "map" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["map"], descendants: true }], ngImport: i0, template: "<div class=\"h-full w-full\" #map></div>\n<div\n class=\"absolute inset-0 p-2 rounded z-40 transition-all flex flex-col justify-center items-center text-primary font-sans pointer-events-none\"\n [ngClass]=\"\n (displayMessage$ | async) ? 'visible opacity-100' : 'invisible opacity-0'\n \"\n>\n <div\n class=\"absolute z-[-1] inset-0 bg-gradient-to-b from-white to-primary-lightest opacity-60\"\n ></div>\n <mat-icon class=\"material-symbols-outlined !w-16 !h-16 text-[64px] mb-4\"\n >swipe</mat-icon\n >\n <p translate>map.navigation.message</p>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: MapComponent, decorators: [{
32
- type: Component,
33
- args: [{ selector: 'gn-ui-map', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"h-full w-full\" #map></div>\n<div\n class=\"absolute inset-0 p-2 rounded z-40 transition-all flex flex-col justify-center items-center text-primary font-sans pointer-events-none\"\n [ngClass]=\"\n (displayMessage$ | async) ? 'visible opacity-100' : 'invisible opacity-0'\n \"\n>\n <div\n class=\"absolute z-[-1] inset-0 bg-gradient-to-b from-white to-primary-lightest opacity-60\"\n ></div>\n <mat-icon class=\"material-symbols-outlined !w-16 !h-16 text-[64px] mb-4\"\n >swipe</mat-icon\n >\n <p translate>map.navigation.message</p>\n</div>\n" }]
34
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { map: [{
35
- type: Input
36
- }], container: [{
37
- type: ViewChild,
38
- args: ['map']
39
- }] } });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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gICAgPnN3aXBlPC9tYXQtaWNvblxuICA+XG4gIDxwIHRyYW5zbGF0ZT5tYXAubmF2aWdhdGlvbi5tZXNzYWdlPC9wPlxuPC9kaXY+XG4iXX0=
@@ -1,33 +0,0 @@
1
- import { HttpClientModule } from '@angular/common/http';
2
- import { NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import { MapComponent } from './components/map/map.component';
5
- import { FeatureDetailComponent } from './components/feature-detail/feature-detail.component';
6
- import { TranslateModule } from '@ngx-translate/core';
7
- import { MatIconModule } from '@angular/material/icon';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@ngx-translate/core";
10
- export class UiMapModule {
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: UiMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
12
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: UiMapModule, declarations: [MapComponent, FeatureDetailComponent], imports: [CommonModule,
13
- HttpClientModule,
14
- MatIconModule, i1.TranslateModule], exports: [MapComponent, FeatureDetailComponent] }); }
15
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: UiMapModule, imports: [CommonModule,
16
- HttpClientModule,
17
- MatIconModule,
18
- TranslateModule.forRoot()] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: UiMapModule, decorators: [{
21
- type: NgModule,
22
- args: [{
23
- declarations: [MapComponent, FeatureDetailComponent],
24
- imports: [
25
- CommonModule,
26
- HttpClientModule,
27
- MatIconModule,
28
- TranslateModule.forRoot(),
29
- ],
30
- exports: [MapComponent, FeatureDetailComponent],
31
- }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktbWFwLm1vZHVsZS5qcyIsIn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from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- export class BadgeComponent {
5
- constructor() {
6
- this.clickable = false;
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: BadgeComponent, selector: "gn-ui-badge", inputs: { clickable: "clickable" }, ngImport: i0, template: "<div\n class=\"inline-block bg-black opacity-70 py-1.5 px-3 rounded font-medium text-gray-50 text-sm leading-none\"\n [ngClass]=\"\n clickable\n ? 'hover:bg-primary cursor-pointer transition-colors duration-100'\n : ''\n \"\n>\n <ng-content></ng-content>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: BadgeComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'gn-ui-badge', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"inline-block bg-black opacity-70 py-1.5 px-3 rounded font-medium text-gray-50 text-sm leading-none\"\n [ngClass]=\"\n clickable\n ? 'hover:bg-primary cursor-pointer transition-colors duration-100'\n : ''\n \"\n>\n <ng-content></ng-content>\n</div>\n" }]
14
- }], propDecorators: { clickable: [{
15
- type: Input
16
- }] } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS93aWRnZXRzL3NyYy9saWIvYmFkZ2UvYmFkZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4v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sYXNzXT1cIlxuICAgIGNsaWNrYWJsZVxuICAgICAgPyAnaG92ZXI6YmctcHJpbWFyeSBjdXJzb3ItcG9pbnRlciB0cmFuc2l0aW9uLWNvbG9ycyBkdXJhdGlvbi0xMDAnXG4gICAgICA6ICcnXG4gIFwiXG4+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
@@ -1,8 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class FormFieldResourceUpdatedComponent {
4
- control: FormControl;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldResourceUpdatedComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldResourceUpdatedComponent, "gn-ui-form-field-resource-updated", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
7
- }
8
- //# sourceMappingURL=form-field-resource-updated.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-resource-updated.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAG5C,qBAQa,iCAAiC;IACnC,OAAO,EAAG,WAAW,CAAA;yCADnB,iCAAiC;2CAAjC,iCAAiC;CAE7C"}
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class FormFieldTemporalExtentComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTemporalExtentComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentComponent, "gn-ui-form-field-temporal-extent", never, {}, {}, never, never, true, never>;
5
- }
6
- //# sourceMappingURL=form-field-temporal-extent.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-temporal-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts"],"names":[],"mappings":";AAEA,qBAOa,gCAAgC;yCAAhC,gCAAgC;2CAAhC,gCAAgC;CAAG"}
@@ -1,26 +0,0 @@
1
- type BaseFormFieldType = 'text' | 'number' | 'rich' | 'date' | 'list' | 'spatial_extent' | 'temporal_extent' | 'url' | 'file' | 'toggle';
2
- type AllFormFieldType = BaseFormFieldType | 'object' | 'array';
3
- interface FormFieldConfigBase {
4
- type: AllFormFieldType;
5
- labelKey: string;
6
- hintKey?: string;
7
- tooltipKey?: string;
8
- required?: boolean;
9
- locked?: boolean;
10
- invalid?: boolean;
11
- invalidHintKey?: string;
12
- }
13
- export interface FormFieldConfigSimple extends FormFieldConfigBase {
14
- type: BaseFormFieldType;
15
- }
16
- export interface FormFieldConfigArray extends FormFieldConfigBase {
17
- type: 'array';
18
- items: FormFieldConfig;
19
- }
20
- export interface FormFieldConfigObject extends FormFieldConfigBase {
21
- type: 'object';
22
- fields: Array<FormFieldConfig>;
23
- }
24
- export type FormFieldConfig = FormFieldConfigSimple | FormFieldConfigArray | FormFieldConfigObject;
25
- export {};
26
- //# sourceMappingURL=form-field.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field.model.d.ts","sourceRoot":"","sources":["../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAClB,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,MAAM,GACN,gBAAgB,GAChB,iBAAiB,GACjB,KAAK,GACL,MAAM,GACN,QAAQ,CAAA;AAEZ,KAAK,gBAAgB,GAAG,iBAAiB,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE9D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,gBAAgB,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,IAAI,EAAE,iBAAiB,CAAA;CACxB;AAED,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,eAAe,CAAA;CACvB;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,IAAI,EAAE,QAAQ,CAAA;IACd,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAA;CAC/B;AAED,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,oBAAoB,GACpB,qBAAqB,CAAA"}
@@ -1,15 +0,0 @@
1
- import { FormFieldConfig } from '../components/record-form/form-field';
2
- export type EditorFieldExpression = `$\{${string}}`;
3
- export interface EditorFieldConfig {
4
- formFieldConfig?: FormFieldConfig;
5
- model?: string;
6
- hidden?: boolean;
7
- onSaveProcess?: EditorFieldExpression;
8
- }
9
- export type EditorFieldsConfig = EditorFieldConfig[];
10
- export type EditorFieldValue = string | number | boolean | unknown;
11
- export interface EditorFieldState {
12
- config: EditorFieldConfig;
13
- value: string | number | boolean | unknown;
14
- }
15
- //# sourceMappingURL=fields.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fields.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/models/fields.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAA;AAItE,MAAM,MAAM,qBAAqB,GAAG,MAAM,MAAM,GAAG,CAAA;AAEnD,MAAM,WAAW,iBAAiB;IAEhC,eAAe,CAAC,EAAE,eAAe,CAAA;IAGjC,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,MAAM,CAAC,EAAE,OAAO,CAAA;IAGhB,aAAa,CAAC,EAAE,qBAAqB,CAAA;CACtC;AAED,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,EAAE,CAAA;AAEpD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;AAElE,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,iBAAiB,CAAA;IACzB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;CAC3C"}
@@ -1,9 +0,0 @@
1
- import { Actions } from '@ngrx/effects';
2
- import * as i0 from "@angular/core";
3
- export declare class MapEffects {
4
- private readonly actions$;
5
- constructor(actions$: Actions);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MapEffects, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<MapEffects>;
8
- }
9
- //# sourceMappingURL=map.effects.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map.effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/+state/map.effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;;AAEvC,qBACa,UAAU;IACT,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,OAAO;yCADnC,UAAU;6CAAV,UAAU;CAEtB"}
@@ -1,9 +0,0 @@
1
- import { MapContextLayerModel } from '../map-context/map-context.model';
2
- export type MapLayer = MapContextLayerModel & {
3
- title: string;
4
- };
5
- export type MapLayerWithInfo = MapLayer & {
6
- error: string | null;
7
- loading: boolean;
8
- };
9
- //# sourceMappingURL=map.models.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map.models.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/+state/map.models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAA;AAEvE,MAAM,MAAM,QAAQ,GAAG,oBAAoB,GAAG;IAC5C,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AACD,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA"}
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { StyleFunction } from 'ol/style/Style';
3
- export interface MapOptionsModel {
4
- defaultStyle: StyleFunction;
5
- hlStyle: StyleFunction;
6
- }
7
- export declare const defaultMapOptions: MapOptionsModel;
8
- export declare const FEATURE_MAP_OPTIONS: InjectionToken<MapOptionsModel>;
9
- //# sourceMappingURL=map-options.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map-options.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/constant/map-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAG9C,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,aAAa,CAAA;IAC3B,OAAO,EAAE,aAAa,CAAA;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,eAG/B,CAAA;AAED,eAAO,MAAM,mBAAmB,iCAE/B,CAAA"}
@@ -1,4 +0,0 @@
1
- import { StyleFunction } from 'ol/style/Style';
2
- export declare const defaultStyle: StyleFunction;
3
- export declare const hlStyle: StyleFunction;
4
- //# sourceMappingURL=style.constant.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"style.constant.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/constant/style.constant.ts"],"names":[],"mappings":"AACA,OAAc,EAAsB,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAEzE,eAAO,MAAM,YAAY,EAAE,aAAkC,CAAA;AAc7D,eAAO,MAAM,OAAO,EAAE,aAA8B,CAAA"}
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import Feature from 'ol/Feature';
3
- import { Geometry } from 'ol/geom';
4
- import { MapManagerService } from '../manager/map-manager.service';
5
- import { MapUtilsService } from '../utils/map-utils.service';
6
- import * as i0 from "@angular/core";
7
- export declare class FeatureInfoService {
8
- private manager;
9
- private mapUtils;
10
- features$: EventEmitter<Feature<Geometry>[]>;
11
- constructor(manager: MapManagerService, mapUtils: MapUtilsService);
12
- handleFeatureInfo(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<FeatureInfoService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<FeatureInfoService>;
15
- }
16
- //# sourceMappingURL=feature-info.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feature-info.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/feature-info/feature-info.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAc,MAAM,eAAe,CAAA;AACxD,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;;AAE5D,qBAGa,kBAAkB;IAI3B,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,QAAQ;IAJlB,SAAS,oCAA0C;gBAGzC,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,eAAe;IAGnC,iBAAiB,IAAI,IAAI;yCARd,kBAAkB;6CAAlB,kBAAkB;CA+B9B"}
@@ -1,9 +0,0 @@
1
- import { MapManagerService } from './map-manager.service';
2
- import * as i0 from "@angular/core";
3
- export declare class MapInstanceDirective {
4
- private manager;
5
- constructor(manager: MapManagerService);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MapInstanceDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<MapInstanceDirective, "[gnUiMapContainer]", never, {}, {}, never, never, false, never>;
8
- }
9
- //# sourceMappingURL=map-instance.directive.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map-instance.directive.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/manager/map-instance.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;;AAEzD,qBAIa,oBAAoB;IACnB,OAAO,CAAC,OAAO;gBAAP,OAAO,EAAE,iBAAiB;yCADnC,oBAAoB;2CAApB,oBAAoB;CAEhC"}
@@ -1,11 +0,0 @@
1
- import Map from 'ol/Map';
2
- import { MapUtilsService } from '../utils/map-utils.service';
3
- import * as i0 from "@angular/core";
4
- export declare class MapManagerService {
5
- private utils;
6
- readonly map: Map;
7
- constructor(utils: MapUtilsService);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<MapManagerService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<MapManagerService>;
10
- }
11
- //# sourceMappingURL=map-manager.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map-manager.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/manager/map-manager.service.ts"],"names":[],"mappings":"AACA,OAAO,GAAG,MAAM,QAAQ,CAAA;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;;AAE5D,qBAGa,iBAAiB;IAEhB,OAAO,CAAC,KAAK;IADzB,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAA;gBACG,KAAK,EAAE,eAAe;yCAF/B,iBAAiB;6CAAjB,iBAAiB;CAK7B"}
@@ -1,12 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { MapFacade } from '../+state/map.facade';
3
- import { MapContextModel } from '../map-context/map-context.model';
4
- import * as i0 from "@angular/core";
5
- export declare class MapContainerComponent {
6
- private mapFacade;
7
- context$: Observable<MapContextModel>;
8
- constructor(mapFacade: MapFacade);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<MapContainerComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<MapContainerComponent, "gn-ui-map-container", never, {}, {}, never, never, false, never>;
11
- }
12
- //# sourceMappingURL=map-container.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"map-container.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/map-container/map-container.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AAEjC,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;;AAGlE,qBAMa,qBAAqB;IAWpB,OAAO,CAAC,SAAS;IAV7B,QAAQ,EAAE,UAAU,CAAC,eAAe,CAAC,CAQpC;gBAEmB,SAAS,EAAE,SAAS;yCAX7B,qBAAqB;2CAArB,qBAAqB;CAYjC"}