geonetwork-ui 2.3.0-dev.c3722986 → 2.3.0-dev.cc25794c

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 (418) hide show
  1. package/esm2022/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +6 -2
  3. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +2 -2
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +2 -2
  5. package/esm2022/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.mjs +1 -1
  6. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +12 -1
  7. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +36 -3
  8. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +21 -7
  9. package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
  10. package/esm2022/libs/common/domain/src/lib/model/record/user-feedbacks.model.mjs +2 -0
  11. package/esm2022/libs/common/domain/src/lib/model/user/index.mjs +2 -0
  12. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  13. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
  14. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +35 -2
  15. package/esm2022/libs/feature/editor/src/index.mjs +2 -2
  16. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
  17. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
  19. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +64 -0
  20. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
  21. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +15 -0
  22. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
  23. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
  24. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
  25. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
  26. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +104 -0
  27. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +126 -0
  28. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
  29. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
  31. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +1 -1
  32. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
  33. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +23 -1
  34. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
  35. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
  36. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +73 -20
  37. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +1 -1
  38. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +1 -1
  39. package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +1 -1
  40. package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +58 -17
  41. package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +6 -2
  42. package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
  43. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
  44. package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
  45. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
  46. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
  47. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
  48. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +4 -4
  49. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +7 -4
  50. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +22 -4
  51. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +37 -10
  52. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +22 -7
  53. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +50 -17
  54. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +18 -3
  55. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +2 -2
  56. package/esm2022/libs/feature/search/src/index.mjs +2 -1
  57. package/esm2022/libs/feature/search/src/lib/results-layout/results-layout.component.mjs +1 -1
  58. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
  59. package/esm2022/libs/feature/search/src/lib/sort-by/sort-by.component.mjs +1 -1
  60. package/esm2022/libs/feature/search/src/lib/utils/service/fields.service.mjs +1 -1
  61. package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +1 -1
  62. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
  63. package/esm2022/libs/ui/catalog/src/lib/organisations-filter/organisations-filter.component.mjs +1 -1
  64. package/esm2022/libs/ui/elements/src/index.mjs +15 -15
  65. package/esm2022/libs/ui/elements/src/lib/api-card/api-card.component.mjs +3 -2
  66. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +2 -2
  67. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  68. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +16 -3
  69. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
  70. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
  71. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +98 -36
  72. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -7
  73. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +59 -0
  74. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +60 -0
  75. package/esm2022/libs/ui/inputs/src/index.mjs +16 -16
  76. package/esm2022/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.mjs +4 -3
  77. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +22 -0
  78. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +7 -5
  79. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +19 -8
  80. package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +29 -0
  81. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +27 -4
  82. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +21 -3
  83. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +14 -30
  84. package/esm2022/libs/ui/layout/src/index.mjs +7 -5
  85. package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +76 -0
  86. package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +42 -18
  87. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
  88. package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +3 -8
  89. package/esm2022/libs/util/app-config/src/lib/app-config.mjs +3 -1
  90. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +2 -1
  91. package/esm2022/libs/util/app-config/src/lib/model.mjs +1 -1
  92. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +2 -2
  93. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +22 -1
  94. package/esm2022/translations/de.json +31 -0
  95. package/esm2022/translations/en.json +31 -0
  96. package/esm2022/translations/es.json +31 -0
  97. package/esm2022/translations/fr.json +31 -0
  98. package/esm2022/translations/it.json +31 -0
  99. package/esm2022/translations/nl.json +31 -0
  100. package/esm2022/translations/pt.json +31 -0
  101. package/fesm2022/geonetwork-ui.mjs +3099 -1806
  102. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  103. package/index.d.ts +1 -0
  104. package/index.d.ts.map +1 -1
  105. package/index.ts +1 -0
  106. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  107. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  108. package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts +1 -0
  109. package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts.map +1 -1
  110. package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts +1 -0
  111. package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts.map +1 -1
  112. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +6 -2
  113. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  114. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +9 -6
  115. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  116. package/libs/common/domain/src/lib/model/record/index.d.ts +1 -0
  117. package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
  118. package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts +15 -0
  119. package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts.map +1 -0
  120. package/libs/common/domain/src/lib/model/user/index.d.ts +2 -0
  121. package/libs/common/domain/src/lib/model/user/index.d.ts.map +1 -0
  122. package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -0
  123. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  124. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +3 -1
  125. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  126. package/libs/feature/editor/src/index.d.ts +1 -1
  127. package/libs/feature/editor/src/index.d.ts.map +1 -1
  128. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
  129. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  130. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.d.ts +1 -1
  131. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
  132. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.d.ts +1 -1
  133. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
  134. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +39 -0
  135. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -0
  136. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.d.ts +1 -1
  137. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.d.ts.map +1 -0
  138. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +8 -0
  139. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +1 -0
  140. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
  141. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
  142. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.d.ts +2 -2
  143. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
  144. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +1 -1
  145. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -0
  146. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +1 -1
  147. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +1 -0
  148. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts +21 -0
  149. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.d.ts.map +1 -0
  150. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +13 -4
  151. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
  152. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
  153. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
  154. package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
  155. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
  156. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -1
  157. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  158. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  159. package/libs/feature/editor/src/lib/models/fields.model.d.ts +1 -1
  160. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +10 -5
  161. package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
  162. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +7 -0
  163. package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
  164. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -1
  165. package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
  166. package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
  167. package/libs/feature/notifications/src/index.d.ts +4 -0
  168. package/libs/feature/notifications/src/index.d.ts.map +1 -0
  169. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
  170. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
  171. package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
  172. package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
  173. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
  174. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
  175. package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
  176. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
  177. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  178. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  179. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +40 -6
  180. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  181. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +24 -4
  182. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  183. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +14 -4
  184. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  185. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +8 -5
  186. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  187. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +12 -9
  188. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  189. package/libs/feature/search/src/index.d.ts +1 -0
  190. package/libs/feature/search/src/index.d.ts.map +1 -1
  191. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts +3 -3
  192. package/libs/feature/search/src/lib/utils/service/fields.service.d.ts.map +1 -1
  193. package/libs/ui/elements/src/index.d.ts +14 -14
  194. package/libs/ui/elements/src/index.d.ts.map +1 -1
  195. package/libs/ui/elements/src/lib/api-card/api-card.component.d.ts.map +1 -1
  196. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  197. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +3 -1
  198. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  199. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
  200. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
  201. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
  202. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
  203. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +24 -4
  204. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  205. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +16 -15
  206. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  207. package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts +11 -0
  208. package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts.map +1 -0
  209. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +21 -0
  210. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -0
  211. package/libs/ui/inputs/src/index.d.ts +15 -15
  212. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  213. package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts +1 -1
  214. package/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.d.ts.map +1 -1
  215. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts +9 -0
  216. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -0
  217. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +1 -1
  218. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  219. package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts +2 -1
  220. package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
  221. package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +12 -0
  222. package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
  223. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +7 -1
  224. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  225. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +5 -1
  226. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  227. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -43
  228. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  229. package/libs/ui/layout/src/index.d.ts +6 -4
  230. package/libs/ui/layout/src/index.d.ts.map +1 -1
  231. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +25 -0
  232. package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -0
  233. package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +13 -6
  234. package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
  235. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
  236. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
  237. package/libs/ui/layout/src/lib/ui-layout.module.d.ts +4 -5
  238. package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
  239. package/libs/util/app-config/src/lib/app-config.d.ts.map +1 -1
  240. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  241. package/libs/util/app-config/src/lib/model.d.ts +1 -0
  242. package/libs/util/app-config/src/lib/model.d.ts.map +1 -1
  243. package/libs/util/shared/src/lib/links/link-utils.d.ts +18 -0
  244. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  245. package/package.json +2 -2
  246. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +7 -1
  247. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +1 -1
  248. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +1 -4
  249. package/src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts +1 -0
  250. package/src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts +12 -1
  251. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +51 -1
  252. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +40 -7
  253. package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
  254. package/src/libs/common/domain/src/lib/model/record/user-feedbacks.model.ts +15 -0
  255. package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -0
  256. package/src/libs/common/fixtures/src/index.ts +8 -6
  257. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +8 -0
  258. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +3 -3
  259. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +83 -0
  260. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +51 -1
  261. package/src/libs/feature/editor/src/index.ts +1 -1
  262. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
  263. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.ts +1 -0
  264. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.ts +4 -1
  265. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +8 -0
  266. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +64 -0
  267. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.ts +1 -0
  268. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +4 -0
  269. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +15 -0
  270. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
  271. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
  272. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.ts +4 -1
  273. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -0
  274. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +1 -0
  275. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +0 -0
  276. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +14 -0
  277. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.ts +143 -0
  278. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.css +0 -0
  279. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +97 -0
  280. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +142 -0
  281. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
  282. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
  283. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
  284. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
  285. package/src/libs/feature/editor/src/lib/fields.config.ts +22 -0
  286. package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
  287. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
  288. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +7 -0
  289. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +32 -18
  290. package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +72 -17
  291. package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +7 -0
  292. package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +57 -17
  293. package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +5 -1
  294. package/src/libs/feature/notifications/src/index.ts +3 -0
  295. package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
  296. package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
  297. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
  298. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
  299. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
  300. package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
  301. package/src/libs/feature/record/src/lib/feature-record.module.ts +5 -2
  302. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +6 -5
  303. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +51 -6
  304. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +82 -7
  305. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +48 -8
  306. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +79 -24
  307. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +40 -10
  308. package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
  309. package/src/libs/feature/search/src/index.ts +1 -0
  310. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
  311. package/src/libs/feature/search/src/lib/utils/service/fields.service.ts +2 -2
  312. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
  313. package/src/libs/ui/elements/src/index.ts +14 -14
  314. package/src/libs/ui/elements/src/lib/api-card/api-card.component.ts +2 -1
  315. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +1 -1
  316. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  317. package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +38 -20
  318. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +12 -0
  319. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
  320. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
  321. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
  322. package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
  323. package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
  324. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
  325. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +27 -11
  326. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +125 -30
  327. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +5 -2
  328. package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +54 -0
  329. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.css +0 -0
  330. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +75 -0
  331. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +62 -0
  332. package/src/libs/ui/inputs/src/index.ts +15 -15
  333. package/src/libs/ui/inputs/src/lib/check-toggle/check-toggle.component.ts +3 -0
  334. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +3 -0
  335. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +11 -0
  336. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +16 -0
  337. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +8 -1
  338. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.html +1 -0
  339. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +14 -0
  340. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.css +6 -0
  341. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +26 -0
  342. package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +32 -0
  343. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
  344. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +29 -0
  345. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +2 -1
  346. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +17 -1
  347. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -22
  348. package/src/libs/ui/layout/src/index.ts +6 -4
  349. package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +23 -0
  350. package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +20 -0
  351. package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +84 -0
  352. package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +8 -4
  353. package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -4
  354. package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +45 -15
  355. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
  356. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
  357. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
  358. package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -2
  359. package/src/libs/util/app-config/src/lib/app-config.ts +2 -0
  360. package/src/libs/util/app-config/src/lib/fixtures.ts +1 -0
  361. package/src/libs/util/app-config/src/lib/model.ts +1 -0
  362. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +1 -1
  363. package/src/libs/util/shared/src/lib/links/link-utils.ts +21 -0
  364. package/tailwind.base.css +36 -0
  365. package/translations/de.json +31 -0
  366. package/translations/en.json +31 -0
  367. package/translations/es.json +31 -0
  368. package/translations/fr.json +31 -0
  369. package/translations/it.json +31 -0
  370. package/translations/nl.json +31 -0
  371. package/translations/pt.json +31 -0
  372. package/translations/sk.json +31 -0
  373. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
  374. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
  375. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
  376. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
  377. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
  378. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
  379. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
  380. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  381. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
  382. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
  383. package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
  384. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
  385. package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
  386. package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
  387. package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
  388. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
  389. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
  390. package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
  391. package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
  392. package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  393. package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
  394. package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
  395. package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
  396. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
  397. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
  398. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.html +0 -68
  399. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
  400. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
  401. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
  402. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.css +0 -0
  403. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.html +0 -0
  404. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.css +0 -0
  405. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.html +0 -0
  406. /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/record-form/form-field/form-field-license/form-field-license.component.css} +0 -0
  407. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.css +0 -0
  408. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.html +0 -0
  409. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css} +0 -0
  410. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.css} +0 -0
  411. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.css} +0 -0
  412. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.html +0 -0
  413. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css} +0 -0
  414. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -0
  415. /package/src/libs/{ui/inputs/src/lib/form-field/form-field.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css} +0 -0
  416. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -0
  417. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
  418. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
@@ -0,0 +1,26 @@
1
+ <div class="flex flex-row gap-x-4 items-center">
2
+ <gn-ui-button
3
+ data-test="previousButton"
4
+ [type]="isFirst ? 'default' : 'outline'"
5
+ [disabled]="isFirst"
6
+ (buttonClick)="previousButtonClicked()"
7
+ >
8
+ <mat-icon
9
+ class="material-symbols-outlined text-[14px] text-center pt-[5px]"
10
+ >
11
+ arrow_back
12
+ </mat-icon>
13
+ </gn-ui-button>
14
+ <gn-ui-button
15
+ data-test="nextButton"
16
+ [type]="isLast ? 'default' : 'outline'"
17
+ [disabled]="isLast"
18
+ (buttonClick)="nextButtonClicked()"
19
+ >
20
+ <mat-icon
21
+ class="material-symbols-outlined text-[14px] text-center pt-[5px]"
22
+ >
23
+ arrow_forward
24
+ </mat-icon>
25
+ </gn-ui-button>
26
+ </div>
@@ -0,0 +1,32 @@
1
+ import {
2
+ ChangeDetectionStrategy,
3
+ Component,
4
+ EventEmitter,
5
+ Input,
6
+ Output,
7
+ } from '@angular/core'
8
+ import { ButtonComponent } from '../button/button.component'
9
+ import { MatIconModule } from '@angular/material/icon'
10
+
11
+ @Component({
12
+ selector: 'gn-ui-previous-next-buttons',
13
+ templateUrl: './previous-next-buttons.component.html',
14
+ styleUrls: ['./previous-next-buttons.component.css'],
15
+ changeDetection: ChangeDetectionStrategy.OnPush,
16
+ standalone: true,
17
+ imports: [ButtonComponent, MatIconModule],
18
+ })
19
+ export class PreviousNextButtonsComponent {
20
+ @Input() isFirst: boolean
21
+ @Input() isLast: boolean
22
+
23
+ @Output() directionButtonClicked: EventEmitter<string> = new EventEmitter()
24
+
25
+ previousButtonClicked() {
26
+ this.directionButtonClicked.next('previous')
27
+ }
28
+
29
+ nextButtonClicked() {
30
+ this.directionButtonClicked.next('next')
31
+ }
32
+ }
@@ -2,11 +2,12 @@
2
2
  <textarea
3
3
  #input
4
4
  name="textArea"
5
+ [disabled]="disabled"
5
6
  [placeholder]="placeholder"
6
7
  [value]="value"
7
8
  (change)="handleChange($event)"
8
9
  (input)="handleChange($event)"
9
- class="w-full pt-2 pl-2 resize-none border border-gray-800 rounded italic leading-tight focus:outline-none focus:bg-background focus:border-primary"
10
+ [class]="classList"
10
11
  [attr.required]="required || null"
11
12
  ></textarea>
12
13
  </div>
@@ -15,7 +15,12 @@ import { distinctUntilChanged } from 'rxjs/operators'
15
15
  standalone: true,
16
16
  })
17
17
  export class TextAreaComponent implements AfterViewInit {
18
+ private readonly baseClasses: string
19
+ private readonly disabledClasses: string
20
+
18
21
  @Input() value = ''
22
+ @Input() disabled = false
23
+ @Input() extraClass = ''
19
24
  @Input() placeholder: string
20
25
  @Input() required = false
21
26
 
@@ -24,6 +29,30 @@ export class TextAreaComponent implements AfterViewInit {
24
29
 
25
30
  @ViewChild('input') input
26
31
 
32
+ constructor() {
33
+ this.baseClasses = [
34
+ 'w-full',
35
+ 'pt-2',
36
+ 'pl-2',
37
+ 'resize-none',
38
+ 'border',
39
+ 'border-gray-800',
40
+ 'rounded italic',
41
+ 'leading-tight',
42
+ 'focus:outline-none',
43
+ 'focus:bg-background',
44
+ 'focus:border-primary',
45
+ ].join(' ')
46
+
47
+ this.disabledClasses = ['cursor-not-allowed'].join(' ')
48
+ }
49
+
50
+ get classList() {
51
+ return `${this.baseClasses} ${this.extraClass} ${
52
+ this.disabled ? this.disabledClasses : ''
53
+ }`
54
+ }
55
+
27
56
  ngAfterViewInit() {
28
57
  this.checkRequired(this.input.nativeElement.value)
29
58
  }
@@ -1,6 +1,6 @@
1
1
  <input
2
2
  #input
3
- class="appearance-none border border-gray-300 rounded w-full p-2 text-gray-700 leading-tight focus:outline-none focus:border-primary"
3
+ [class]="classList"
4
4
  type="text"
5
5
  [value]="value"
6
6
  (change)="handleChange($event)"
@@ -8,4 +8,5 @@
8
8
  [placeholder]="hint"
9
9
  [attr.aria-label]="hint"
10
10
  [attr.required]="required || null"
11
+ [disabled]="disabled"
11
12
  />
@@ -14,14 +14,30 @@ import { Subject } from 'rxjs'
14
14
  styleUrls: ['./text-input.component.css'],
15
15
  })
16
16
  export class TextInputComponent implements AfterViewInit {
17
+ private readonly baseClass = [
18
+ 'appearance-none',
19
+ 'border border-gray-300',
20
+ 'rounded w-full',
21
+ 'p-2',
22
+ 'text-gray-700',
23
+ 'leading-tight',
24
+ 'focus:outline-none',
25
+ 'focus:border-primary',
26
+ ].join(' ')
27
+
17
28
  @Input() value = ''
29
+ @Input() extraClass = ''
18
30
  @Input() hint: string
19
31
  @Input() required = false
32
+ @Input() disabled: boolean
20
33
  rawChange = new Subject<string>()
21
34
  @Output() valueChange = this.rawChange.pipe(distinctUntilChanged())
22
-
23
35
  @ViewChild('input') input
24
36
 
37
+ get classList() {
38
+ return `${this.baseClass} ${this.extraClass}`
39
+ }
40
+
25
41
  ngAfterViewInit() {
26
42
  this.checkRequired(this.input.nativeElement.value)
27
43
  }
@@ -20,16 +20,6 @@ import { UiWidgetsModule } from '../../../../../libs/ui/widgets/src'
20
20
  import { OverlayModule } from '@angular/cdk/overlay'
21
21
  import { MatCheckboxModule } from '@angular/material/checkbox'
22
22
  import { ViewportIntersectorComponent } from './viewport-intersector/viewport-intersector.component'
23
- import {
24
- FormFieldArrayComponent,
25
- FormFieldComponent,
26
- FormFieldFileComponent,
27
- FormFieldObjectComponent,
28
- FormFieldRichComponent,
29
- FormFieldSimpleComponent,
30
- FormFieldSpatialExtentComponent,
31
- FormFieldTemporalExtentComponent,
32
- } from './form-field'
33
23
  import { CheckToggleComponent } from './check-toggle/check-toggle.component'
34
24
  import { CopyTextButtonComponent } from './copy-text-button/copy-text-button.component'
35
25
  import { MatTooltipModule } from '@angular/material/tooltip'
@@ -46,7 +36,6 @@ import { ImageInputComponent } from './image-input/image-input.component'
46
36
 
47
37
  @NgModule({
48
38
  declarations: [
49
- DropdownSelectorComponent,
50
39
  AutocompleteComponent,
51
40
  TextInputComponent,
52
41
  DragAndDropFileInputComponent,
@@ -55,19 +44,9 @@ import { ImageInputComponent } from './image-input/image-input.component'
55
44
  StarToggleComponent,
56
45
  DropdownMultiselectComponent,
57
46
  ViewportIntersectorComponent,
58
- FormFieldComponent,
59
- FormFieldSimpleComponent,
60
- FormFieldArrayComponent,
61
- FormFieldObjectComponent,
62
- FormFieldRichComponent,
63
- FormFieldFileComponent,
64
- FormFieldSpatialExtentComponent,
65
- FormFieldTemporalExtentComponent,
66
- CheckToggleComponent,
67
47
  CopyTextButtonComponent,
68
48
  CheckboxComponent,
69
49
  SearchInputComponent,
70
- DateRangePickerComponent,
71
50
  ],
72
51
  imports: [
73
52
  CommonModule,
@@ -91,6 +70,9 @@ import { ImageInputComponent } from './image-input/image-input.component'
91
70
  TextAreaComponent,
92
71
  ButtonComponent,
93
72
  ImageInputComponent,
73
+ DropdownSelectorComponent,
74
+ DateRangePickerComponent,
75
+ CheckToggleComponent,
94
76
  ],
95
77
  exports: [
96
78
  DropdownSelectorComponent,
@@ -104,7 +86,6 @@ import { ImageInputComponent } from './image-input/image-input.component'
104
86
  StarToggleComponent,
105
87
  DropdownMultiselectComponent,
106
88
  ViewportIntersectorComponent,
107
- FormFieldComponent,
108
89
  CheckToggleComponent,
109
90
  CopyTextButtonComponent,
110
91
  CheckboxComponent,
@@ -1,8 +1,10 @@
1
- export * from './lib/ui-layout.module'
2
1
  export * from './lib/anchor-link/anchor-link.directive'
3
2
  export * from './lib/carousel/carousel.component'
4
- export * from './lib/expandable-panel/expandable-panel.component'
5
- export * from './lib/sticky-header/sticky-header.component'
6
3
  export * from './lib/expandable-panel-button/expandable-panel-button.component'
7
- export * from './lib/interactive-table/interactive-table.component'
4
+ export * from './lib/expandable-panel/expandable-panel.component'
5
+ export * from './lib/form-field-wrapper/form-field-wrapper.component'
8
6
  export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component'
7
+ export * from './lib/interactive-table/interactive-table.component'
8
+ export * from './lib/sticky-header/sticky-header.component'
9
+ export * from './lib/block-list/block-list.component'
10
+ export * from './lib/ui-layout.module'
@@ -0,0 +1,23 @@
1
+ :host .block-list-container ::ng-deep > * {
2
+ flex-shrink: 0;
3
+ }
4
+
5
+ :host {
6
+ position: relative;
7
+ }
8
+
9
+ .list-page-dot {
10
+ width: 6px;
11
+ height: 6px;
12
+ border-radius: 6px;
13
+ position: relative;
14
+ }
15
+
16
+ .list-page-dot:after {
17
+ content: '';
18
+ position: absolute;
19
+ left: -7px;
20
+ top: -7px;
21
+ width: 20px;
22
+ height: 20px;
23
+ }
@@ -0,0 +1,20 @@
1
+ <div
2
+ class="block-list-container flex flex-col"
3
+ #blockContainer
4
+ [ngClass]="containerClass"
5
+ [ngStyle]="{ minHeight: minHeight + 'px' }"
6
+ >
7
+ <ng-content></ng-content>
8
+ </div>
9
+ <div
10
+ *ngIf="pagesCount > 1"
11
+ class="absolute flex flex-row justify-center gap-[14px] p-1"
12
+ [ngClass]="paginationContainerClass"
13
+ >
14
+ <button
15
+ *ngFor="let page of pages"
16
+ class="list-page-dot"
17
+ (click)="goToPage(page)"
18
+ [ngClass]="currentPage === page ? 'bg-primary' : 'bg-gray-400'"
19
+ ></button>
20
+ </div>
@@ -0,0 +1,84 @@
1
+ import {
2
+ AfterViewInit,
3
+ ChangeDetectionStrategy,
4
+ ChangeDetectorRef,
5
+ Component,
6
+ ContentChildren,
7
+ ElementRef,
8
+ Input,
9
+ QueryList,
10
+ ViewChild,
11
+ } from '@angular/core'
12
+ import { CommonModule } from '@angular/common'
13
+
14
+ @Component({
15
+ selector: 'gn-ui-block-list',
16
+ templateUrl: './block-list.component.html',
17
+ styleUrls: ['./block-list.component.css'],
18
+ changeDetection: ChangeDetectionStrategy.OnPush,
19
+ standalone: true,
20
+ imports: [CommonModule],
21
+ })
22
+ export class BlockListComponent implements AfterViewInit {
23
+ @Input() pageSize = 5
24
+ @Input() containerClass = ''
25
+ @Input() paginationContainerClass = 'w-full bottom-0 top-auto'
26
+ @ContentChildren('block', { read: ElementRef }) blocks: QueryList<
27
+ ElementRef<HTMLElement>
28
+ >
29
+ @ViewChild('blockContainer') blockContainer: ElementRef<HTMLElement>
30
+
31
+ protected minHeight = 0
32
+
33
+ protected currentPage = 0
34
+ protected get pages() {
35
+ return new Array(this.pagesCount).fill(0).map((_, i) => i)
36
+ }
37
+
38
+ get isFirstPage() {
39
+ return this.currentPage === 0
40
+ }
41
+ get isLastPage() {
42
+ return this.currentPage === this.pagesCount - 1
43
+ }
44
+ get pagesCount() {
45
+ return this.blocks ? Math.ceil(this.blocks.length / this.pageSize) : 1
46
+ }
47
+
48
+ constructor(private changeDetector: ChangeDetectorRef) {}
49
+
50
+ ngAfterViewInit() {
51
+ this.blocks.changes.subscribe(this.refreshBlocksVisibility)
52
+ this.refreshBlocksVisibility()
53
+
54
+ // we store the first height as the min-height of the list container
55
+ this.minHeight = this.blockContainer.nativeElement.clientHeight
56
+ this.changeDetector.detectChanges()
57
+ }
58
+
59
+ protected refreshBlocksVisibility = () => {
60
+ this.blocks.forEach((block, index) => {
61
+ block.nativeElement.style.display =
62
+ index >= this.currentPage * this.pageSize &&
63
+ index < (this.currentPage + 1) * this.pageSize
64
+ ? null
65
+ : 'none'
66
+ })
67
+ }
68
+
69
+ public goToPage(index: number) {
70
+ this.currentPage = Math.max(Math.min(index, this.pagesCount - 1), 0)
71
+ this.changeDetector.detectChanges()
72
+ this.refreshBlocksVisibility()
73
+ }
74
+
75
+ public previousPage() {
76
+ if (this.isFirstPage) return
77
+ this.goToPage(this.currentPage - 1)
78
+ }
79
+
80
+ public nextPage() {
81
+ if (this.isLastPage) return
82
+ this.goToPage(this.currentPage + 1)
83
+ }
84
+ }
@@ -1,20 +1,24 @@
1
1
  :host .carousel-container ::ng-deep > * {
2
2
  flex-shrink: 0;
3
3
  }
4
+
4
5
  :host {
5
6
  position: relative;
7
+ display: block;
6
8
  }
9
+
7
10
  .carousel-step-dot {
8
11
  width: 6px;
9
12
  height: 6px;
10
13
  border-radius: 6px;
11
14
  position: relative;
12
15
  }
16
+
13
17
  .carousel-step-dot:after {
14
18
  content: '';
15
19
  position: absolute;
16
- left: -4px;
17
- top: -4px;
18
- width: 14px;
19
- height: 14px;
20
+ left: -7px;
21
+ top: -7px;
22
+ width: 20px;
23
+ height: 20px;
20
24
  }
@@ -1,17 +1,17 @@
1
- <div #carouselOverflowContainer class="overflow-hidden h-full w-full">
2
- <div class="carousel-container flex flex-row" [ngClass]="containerClass">
1
+ <div #carouselOverflowContainer class="w-full">
2
+ <div class="carousel-container flex" [ngClass]="containerClass">
3
3
  <ng-content></ng-content>
4
4
  </div>
5
5
  </div>
6
6
  <div
7
7
  *ngIf="steps.length > 1"
8
- class="absolute right-0 top-0 flex flex-row justify-center gap-[10px] p-1"
8
+ class="absolute flex flex-row justify-center gap-[14px] p-1"
9
9
  [ngClass]="stepsContainerClass"
10
10
  >
11
11
  <button
12
12
  *ngFor="let step of steps; let i = index"
13
13
  class="carousel-step-dot"
14
14
  (click)="scrollToStep(i)"
15
- [ngClass]="selectedStep === i ? 'bg-secondary' : 'bg-gray-400'"
15
+ [ngClass]="currentStep === i ? 'bg-primary' : 'bg-gray-400'"
16
16
  ></button>
17
17
  </div>
@@ -4,25 +4,49 @@ import {
4
4
  ChangeDetectorRef,
5
5
  Component,
6
6
  ElementRef,
7
+ EventEmitter,
7
8
  Input,
9
+ Output,
8
10
  ViewChild,
9
11
  } from '@angular/core'
10
12
  import EmblaCarousel, { EmblaCarouselType } from 'embla-carousel'
13
+ import { CommonModule } from '@angular/common'
11
14
 
12
15
  @Component({
13
16
  selector: 'gn-ui-carousel',
14
17
  templateUrl: './carousel.component.html',
15
18
  styleUrls: ['./carousel.component.css'],
16
19
  changeDetection: ChangeDetectionStrategy.OnPush,
20
+ standalone: true,
21
+ imports: [CommonModule],
17
22
  })
18
23
  export class CarouselComponent implements AfterViewInit {
24
+ @ViewChild('carouselOverflowContainer') carouselOverflowContainer: ElementRef
25
+
19
26
  @Input() containerClass = ''
20
- @Input() stepsContainerClass = ''
21
- @ViewChild('carouselOverflowContainer')
22
- carouselOverflowContainer: ElementRef
23
- steps: number[] = []
24
- selectedStep = -1
25
- emblaApi: EmblaCarouselType
27
+ @Input() stepsContainerClass = 'w-full bottom-0 top-auto'
28
+ @Output() currentStepChange = new EventEmitter<number>()
29
+
30
+ protected steps: number[] = []
31
+ protected emblaApi: EmblaCarouselType
32
+ protected currentStep = 0
33
+
34
+ protected refreshSteps = () => {
35
+ this.steps = this.emblaApi.scrollSnapList()
36
+ this.currentStep = this.emblaApi.selectedScrollSnap()
37
+ this.currentStepChange.emit(this.currentStep)
38
+ this.changeDetector.detectChanges()
39
+ }
40
+
41
+ get isFirstStep() {
42
+ return this.currentStep === 0
43
+ }
44
+ get isLastStep() {
45
+ return this.currentStep === this.steps.length - 1
46
+ }
47
+ get stepsCount() {
48
+ return this.steps.length
49
+ }
26
50
 
27
51
  constructor(private changeDetector: ChangeDetectorRef) {}
28
52
 
@@ -33,18 +57,24 @@ export class CarouselComponent implements AfterViewInit {
33
57
  duration: 15,
34
58
  }
35
59
  )
36
- const refreshSteps = () => {
37
- this.steps = this.emblaApi.scrollSnapList()
38
- this.selectedStep = this.emblaApi.selectedScrollSnap()
39
- this.changeDetector.detectChanges()
40
- }
60
+
41
61
  this.emblaApi
42
- .on('init', refreshSteps)
43
- .on('reInit', refreshSteps)
44
- .on('select', refreshSteps)
62
+ .on('init', this.refreshSteps)
63
+ .on('reInit', this.refreshSteps)
64
+ .on('select', this.refreshSteps)
45
65
  }
46
66
 
47
- scrollToStep(stepIndex: number) {
67
+ public scrollToStep(stepIndex: number) {
48
68
  this.emblaApi.scrollTo(stepIndex)
49
69
  }
70
+
71
+ public slideToPrevious() {
72
+ if (this.isFirstStep) return
73
+ this.emblaApi.scrollPrev()
74
+ }
75
+
76
+ public slideToNext() {
77
+ if (this.isLastStep) return
78
+ this.emblaApi.scrollNext()
79
+ }
50
80
  }
@@ -0,0 +1,18 @@
1
+ <div class="h-full flex flex-col">
2
+ <div class="flex-none w-full flex flex-row items-center">
3
+ <span class="flex-none font-bold">{{ label }}</span>
4
+ <div class="flex-1 flex justify-end items-center">
5
+ <ng-content select="[form-field-interaction]"></ng-content>
6
+ <span
7
+ class="material-symbols-outlined m-2 gn-ui-icon-small"
8
+ [matTooltip]="hint"
9
+ matTooltipPosition="above"
10
+ >
11
+ help
12
+ </span>
13
+ </div>
14
+ </div>
15
+ <div class="flex-1">
16
+ <ng-content></ng-content>
17
+ </div>
18
+ </div>
@@ -0,0 +1,16 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
+ import { MatIconModule } from '@angular/material/icon'
3
+ import { MatTooltipModule } from '@angular/material/tooltip'
4
+
5
+ @Component({
6
+ selector: 'gn-ui-form-field-wrapper',
7
+ templateUrl: './form-field-wrapper.component.html',
8
+ styleUrls: ['./form-field-wrapper.component.css'],
9
+ changeDetection: ChangeDetectionStrategy.OnPush,
10
+ standalone: true,
11
+ imports: [MatIconModule, MatTooltipModule],
12
+ })
13
+ export class FormFieldWrapperComponent {
14
+ @Input() label: string
15
+ @Input() hint: string
16
+ }
@@ -15,14 +15,12 @@ import { CarouselComponent } from './carousel/carousel.component'
15
15
  StickyHeaderComponent,
16
16
  AnchorLinkDirective,
17
17
  ExpandablePanelButtonComponent,
18
- CarouselComponent,
19
18
  ],
20
19
  exports: [
21
20
  ExpandablePanelComponent,
22
21
  StickyHeaderComponent,
23
22
  AnchorLinkDirective,
24
23
  ExpandablePanelButtonComponent,
25
- CarouselComponent,
26
24
  ],
27
25
  })
28
26
  export class UiLayoutModule {}
@@ -144,6 +144,7 @@ export function loadAppConfig() {
144
144
  [],
145
145
  [
146
146
  'max_zoom',
147
+ 'do_not_tile_wms',
147
148
  'max_extent',
148
149
  'baselayer',
149
150
  'do_not_use_default_basemap',
@@ -158,6 +159,7 @@ export function loadAppConfig() {
158
159
  ? null
159
160
  : ({
160
161
  MAX_ZOOM: parsedMapSection.max_zoom,
162
+ DO_NOT_TILE_WMS: parsedMapSection.do_not_tile_wms,
161
163
  MAX_EXTENT: parsedMapSection.max_extent,
162
164
  EXTERNAL_VIEWER_URL_TEMPLATE:
163
165
  parsedMapSection.external_viewer_url_template,
@@ -81,6 +81,7 @@ export const MAP_CONFIG_FIXTURE: MapConfig = {
81
81
  MAX_ZOOM: 10,
82
82
  MAX_EXTENT: [-418263.418776, 5251529.591305, 961272.067714, 6706890.609855],
83
83
  DO_NOT_USE_DEFAULT_BASEMAP: false,
84
+ DO_NOT_TILE_WMS: false,
84
85
  EXTERNAL_VIEWER_URL_TEMPLATE:
85
86
  'https://example.com/myviewer/#/?actions=[{"type":"CATALOG:ADD_LAYERS_FROM_CATALOGS","layers":["${layer_name}"],"sources":[{"url":"${service_url}","type":"${service_type}"}]}]',
86
87
  EXTERNAL_VIEWER_OPEN_NEW_TAB: true,
@@ -20,6 +20,7 @@ export interface LayerConfig {
20
20
 
21
21
  export interface MapConfig {
22
22
  MAX_ZOOM?: number
23
+ DO_NOT_TILE_WMS: boolean
23
24
  MAX_EXTENT?: [number, number, number, number] // Expressed as [minx, miny, maxx, maxy]
24
25
  EXTERNAL_VIEWER_URL_TEMPLATE?: string
25
26
  EXTERNAL_VIEWER_OPEN_NEW_TAB?: boolean
@@ -26,7 +26,7 @@ export class LinkClassifierService {
26
26
  case 'wmts':
27
27
  return [LinkUsage.API, LinkUsage.MAP_API]
28
28
  case 'ogcFeatures':
29
- return [LinkUsage.API]
29
+ return [LinkUsage.API, LinkUsage.DOWNLOAD, LinkUsage.GEODATA]
30
30
  default:
31
31
  return [LinkUsage.UNKNOWN]
32
32
  }
@@ -94,6 +94,27 @@ export const FORMATS = {
94
94
  color: '#de630b',
95
95
  mimeTypes: ['application/x-dxf', 'image/x-dxf'],
96
96
  },
97
+ html: {
98
+ extensions: ['html', 'htm'],
99
+ priority: 12,
100
+ color: '#f2bb3a',
101
+ mimeTypes: ['text/html'],
102
+ },
103
+ fgb: {
104
+ extensions: ['fgb', 'flatgeobuf'],
105
+ priority: 13,
106
+ color: '#f2bb3a',
107
+ mimeTypes: ['application/flatgeobuf'],
108
+ },
109
+ jsonfg: {
110
+ extensions: ['jsonfg', 'jsonfgc'],
111
+ priority: 14,
112
+ color: '#f2bb3a',
113
+ mimeTypes: [
114
+ 'application/vnd.ogc.fg+json',
115
+ 'application/vnd.ogc.fg+json;compatibility=geojson',
116
+ ],
117
+ },
97
118
  } as const
98
119
 
99
120
  export type FileFormat = keyof typeof FORMATS