geonetwork-ui 2.4.0-dev.7a893adc → 2.4.0-dev.80a79eca

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 (299) hide show
  1. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
  2. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -5
  3. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +10 -7
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +7 -14
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +28 -18
  8. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +41 -7
  9. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  10. package/esm2022/libs/common/domain/src/lib/model/user/user.model.mjs +1 -1
  11. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  12. package/esm2022/libs/data-access/gn4/src/fixtures/site.fixtures.mjs +5 -5
  13. package/esm2022/libs/data-access/gn4/src/fixtures/ui.fixtures.mjs +3 -3
  14. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
  15. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
  16. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
  17. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +3 -3
  18. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
  19. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +8 -29
  20. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.mjs +148 -0
  21. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +86 -11
  22. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +29 -3
  23. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +32 -59
  24. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +10 -3
  25. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
  26. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +29 -3
  27. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
  28. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +2 -2
  29. package/esm2022/libs/feature/map/src/lib/style/map-style.fixtures.mjs +3 -3
  30. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
  31. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +1 -1
  32. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +1 -1
  33. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
  34. package/esm2022/libs/feature/search/src/lib/results-table/results-table-container.component.mjs +5 -4
  35. package/esm2022/libs/ui/dataviz/src/lib/table/table.fixtures.mjs +3 -3
  36. package/esm2022/libs/ui/elements/src/index.mjs +2 -2
  37. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
  38. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
  39. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
  40. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  41. package/esm2022/libs/ui/inputs/src/index.mjs +4 -1
  42. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
  43. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +5 -4
  44. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -4
  45. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +4 -3
  46. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  47. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  48. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  49. package/esm2022/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.mjs +7 -7
  50. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +8 -8
  51. package/esm2022/libs/util/app-config/src/lib/fixtures.mjs +10 -10
  52. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
  53. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  54. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  55. package/esm2022/translations/de.json +15 -2
  56. package/esm2022/translations/en.json +15 -2
  57. package/esm2022/translations/es.json +13 -0
  58. package/esm2022/translations/fr.json +16 -3
  59. package/esm2022/translations/it.json +15 -2
  60. package/esm2022/translations/nl.json +13 -0
  61. package/esm2022/translations/pt.json +13 -0
  62. package/fesm2022/geonetwork-ui.mjs +2888 -2477
  63. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  64. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  65. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  66. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
  67. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  68. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -1
  69. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  70. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  71. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -5
  72. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  73. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +7 -6
  74. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  75. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +21 -2
  76. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  77. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -6
  78. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  79. package/libs/common/domain/src/lib/model/user/user.model.d.ts +1 -1
  80. package/libs/common/domain/src/lib/model/user/user.model.d.ts.map +1 -1
  81. package/libs/common/domain/src/lib/platform.service.interface.d.ts +15 -0
  82. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  83. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts +2 -2
  84. package/libs/data-access/gn4/src/fixtures/site.fixtures.d.ts.map +1 -1
  85. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts +1 -1
  86. package/libs/data-access/gn4/src/fixtures/ui.fixtures.d.ts.map +1 -1
  87. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
  88. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  89. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
  90. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  91. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
  92. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  93. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  94. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  95. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts +2 -5
  96. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.d.ts.map +1 -1
  97. 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
  98. 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
  99. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +20 -2
  100. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  101. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +7 -2
  102. 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
  103. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +9 -15
  104. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts.map +1 -1
  105. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +5 -3
  106. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  107. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +3 -2
  108. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  109. package/libs/feature/editor/src/lib/fields.config.d.ts +9 -1
  110. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  111. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +5 -0
  112. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -1
  113. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +5 -5
  114. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  115. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts +2 -2
  116. package/libs/feature/map/src/lib/style/map-style.fixtures.d.ts.map +1 -1
  117. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
  118. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  119. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -2
  120. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  121. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
  122. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  123. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  124. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  125. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts +1 -0
  126. package/libs/feature/search/src/lib/results-table/results-table-container.component.d.ts.map +1 -1
  127. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts +2 -2
  128. package/libs/ui/dataviz/src/lib/table/table.fixtures.d.ts.map +1 -1
  129. package/libs/ui/elements/src/index.d.ts +1 -1
  130. package/libs/ui/elements/src/index.d.ts.map +1 -1
  131. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  132. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  133. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
  134. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  135. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  136. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  137. package/libs/ui/inputs/src/index.d.ts +3 -0
  138. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  139. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
  140. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  141. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +1 -1
  142. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  143. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +0 -1
  144. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -1
  145. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  146. package/libs/ui/layout/src/index.d.ts +2 -0
  147. package/libs/ui/layout/src/index.d.ts.map +1 -1
  148. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  149. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  150. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  151. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  152. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts +3 -3
  153. package/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.d.ts.map +1 -1
  154. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +2 -2
  155. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  156. package/libs/util/app-config/src/lib/fixtures.d.ts +8 -8
  157. package/libs/util/app-config/src/lib/fixtures.d.ts.map +1 -1
  158. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  159. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  160. package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
  161. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  162. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  163. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  164. package/package.json +1 -1
  165. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +1 -1
  166. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +1 -1
  167. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
  168. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +1 -1
  169. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
  170. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -4
  171. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
  172. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +14 -8
  173. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +4 -12
  174. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +13 -15
  175. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +48 -36
  176. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +47 -3
  177. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +7 -7
  178. package/src/libs/common/domain/src/lib/model/user/user.model.ts +1 -1
  179. package/src/libs/common/domain/src/lib/platform.service.interface.ts +26 -0
  180. package/src/libs/common/fixtures/src/index.ts +1 -1
  181. package/src/libs/common/fixtures/src/lib/editor/editor.fixtures.ts +37 -37
  182. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-request.ts → aggregations-request.fixtures.ts} +1 -3
  183. package/src/libs/common/fixtures/src/lib/elasticsearch/{aggregations-response.ts → aggregations-response.fixtures.ts} +6 -8
  184. package/src/libs/common/fixtures/src/lib/elasticsearch/{full-response.ts → full-response.fixtures.ts} +1 -3
  185. package/src/libs/common/fixtures/src/lib/elasticsearch/index.ts +5 -5
  186. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata-links.fixtures.ts +1 -3
  187. package/src/libs/common/fixtures/src/lib/elasticsearch/metadata.fixtures.ts +1739 -1742
  188. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-requests.ts → search-requests.fixtures.ts} +1 -3
  189. package/src/libs/common/fixtures/src/lib/elasticsearch/{search-responses.ts → search-responses.fixtures.ts} +4 -6
  190. package/src/libs/common/fixtures/src/lib/geojson.fixtures.ts +57178 -57195
  191. package/src/libs/common/fixtures/src/lib/gn4/groups.fixtures.ts +2 -4
  192. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +233 -164
  193. package/src/libs/common/fixtures/src/lib/ol-feature.fixtures.ts +10 -0
  194. package/src/libs/common/fixtures/src/lib/organisations.fixture.ts +37 -3
  195. package/src/libs/common/fixtures/src/lib/record-link.fixtures.ts +9 -7
  196. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +9 -9
  197. package/src/libs/common/fixtures/src/lib/repository.fixtures.ts +4 -4
  198. package/src/libs/common/fixtures/src/lib/search/aggregations.ts +2 -3
  199. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +14 -15
  200. package/src/libs/common/fixtures/src/lib/user.fixtures.ts +32 -15
  201. package/src/libs/data-access/gn4/src/fixtures/site.fixtures.ts +4 -4
  202. package/src/libs/data-access/gn4/src/fixtures/ui.fixtures.ts +2 -2
  203. package/src/libs/feature/catalog/src/lib/sources/sources.fixture.ts +1 -1
  204. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
  205. package/src/libs/feature/dataviz/src/lib/figure/figure.fixtures.ts +2 -2
  206. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
  207. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
  208. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +9 -9
  209. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  210. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
  211. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +14 -4
  212. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +5 -44
  213. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +33 -0
  214. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.ts +182 -0
  215. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -5
  216. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +93 -4
  217. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +6 -1
  218. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +46 -1
  219. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +21 -2
  220. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +35 -69
  221. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +8 -0
  222. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +8 -1
  223. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +1 -0
  224. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -1
  225. package/src/libs/feature/editor/src/lib/fields.config.ts +32 -2
  226. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +9 -0
  227. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +7 -7
  228. package/src/libs/feature/map/src/lib/map-context/map-context.fixtures.ts +26 -22
  229. package/src/libs/feature/map/src/lib/style/map-style.fixtures.ts +29 -27
  230. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
  231. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
  232. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -2
  233. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -1
  234. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.html +1 -0
  235. package/src/libs/feature/search/src/lib/results-table/results-table-container.component.ts +10 -1
  236. package/src/libs/feature/search/src/lib/state/fixtures/search-state.fixtures.ts +2 -2
  237. package/src/libs/ui/dataviz/src/lib/chart/chart.fixtures.ts +2 -2
  238. package/src/libs/ui/dataviz/src/lib/table/table.fixtures.ts +2 -2
  239. package/src/libs/ui/elements/src/index.ts +1 -1
  240. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  241. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
  242. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
  243. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +5 -0
  244. package/src/libs/ui/inputs/src/index.ts +3 -0
  245. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +1 -1
  246. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +2 -1
  247. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +1 -1
  248. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +2 -1
  249. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +0 -1
  250. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +1 -2
  251. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +1 -1
  252. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +1 -1
  253. package/src/libs/ui/layout/src/index.ts +2 -0
  254. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  255. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  256. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  257. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +13 -16
  258. package/src/libs/ui/search/src/lib/facets/fixtures/aggregations-model-response.ts +7 -6
  259. package/src/libs/ui/search/src/lib/results-table/results-table.component.html +9 -2
  260. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +5 -6
  261. package/src/libs/util/app-config/src/lib/fixtures.ts +9 -9
  262. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
  263. package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
  264. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  265. package/tailwind.base.css +5 -0
  266. package/translations/de.json +15 -2
  267. package/translations/en.json +15 -2
  268. package/translations/es.json +13 -0
  269. package/translations/fr.json +16 -3
  270. package/translations/it.json +15 -2
  271. package/translations/nl.json +13 -0
  272. package/translations/pt.json +13 -0
  273. package/translations/sk.json +13 -0
  274. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -96
  275. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.mjs +0 -17
  276. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.mjs +0 -17
  277. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -39
  278. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +0 -27
  279. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +0 -1
  280. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts +0 -8
  281. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.d.ts.map +0 -1
  282. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts +0 -8
  283. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.d.ts.map +0 -1
  284. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -17
  285. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  286. package/src/libs/common/fixtures/src/lib/ol-feature.fixture.ts +0 -7
  287. package/src/libs/common/fixtures/src/lib/utils/freeze.ts +0 -10
  288. package/src/libs/common/fixtures/src/lib/utils/index.ts +0 -1
  289. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -9
  290. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -113
  291. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.html +0 -7
  292. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts +0 -16
  293. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.html +0 -13
  294. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts +0 -16
  295. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -29
  296. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → online-resource-card/online-resource-card.component.css} +0 -0
  297. /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.css → form-field-online-link-resources/form-field-online-link-resources.component.css} +0 -0
  298. /package/src/libs/{feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.css → ui/layout/src/lib/modal-dialog/modal-dialog.component.css} +0 -0
  299. /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
@@ -204,6 +204,14 @@
204
204
  "editor.record.form.field.contactsForResource.noContact": "",
205
205
  "editor.record.form.field.keywords": "",
206
206
  "editor.record.form.field.license": "Licenza",
207
+ "editor.record.form.field.onlineLinkResources": "",
208
+ "editor.record.form.field.onlineResource.cancel": "",
209
+ "editor.record.form.field.onlineResource.confirm": "",
210
+ "editor.record.form.field.onlineResource.dialogTitle": "",
211
+ "editor.record.form.field.onlineResource.edit.description": "",
212
+ "editor.record.form.field.onlineResource.edit.title": "",
213
+ "editor.record.form.field.onlineResource.fileSize": "",
214
+ "editor.record.form.field.onlineResource.modify": "",
207
215
  "editor.record.form.field.overviews": "",
208
216
  "editor.record.form.field.recordUpdated": "",
209
217
  "editor.record.form.field.resourceUpdated": "",
@@ -245,6 +253,9 @@
245
253
  "editor.record.loadError.body": "",
246
254
  "editor.record.loadError.closeMessage": "",
247
255
  "editor.record.loadError.title": "",
256
+ "editor.record.onlineResourceError.body": "",
257
+ "editor.record.onlineResourceError.closeMessage": "",
258
+ "editor.record.onlineResourceError.title": "",
248
259
  "editor.record.placeKeywordWithoutLabel": "",
249
260
  "editor.record.publish": "",
250
261
  "editor.record.publishError.body": "",
@@ -365,7 +376,7 @@
365
376
  "record.metadata.api.form.reset": "Reset",
366
377
  "record.metadata.api.form.title": "Genera un URL personalizzata",
367
378
  "record.metadata.api.form.type": "Formato in uscita",
368
- "record.metadata.author": "Autore",
379
+ "record.metadata.author": "Modificato da",
369
380
  "record.metadata.catalog": "Catalogo",
370
381
  "record.metadata.contact": "Contatto",
371
382
  "record.metadata.creation": "Data di creazione",
@@ -404,6 +415,8 @@
404
415
  "record.metadata.related": "Vedi anche",
405
416
  "record.metadata.sheet": "Origine del metadata",
406
417
  "record.metadata.status": "Stato",
418
+ "record.metadata.status.notPublished": "",
419
+ "record.metadata.status.published": "",
407
420
  "record.metadata.technical": "Informazioni tecniche",
408
421
  "record.metadata.temporalExtent": "Periodo di tempo",
409
422
  "record.metadata.temporalExtent.fromDateToDate": "Da {start} a {end}",
@@ -414,7 +427,7 @@
414
427
  "record.metadata.type": "Dati geografici",
415
428
  "record.metadata.uniqueId": "Identificatore unico di risorsa",
416
429
  "record.metadata.updateFrequency": "Frequenza di aggiornamento dei dati",
417
- "record.metadata.updatedOn": "Ultimo aggiornamento delle informazioni sui dati",
430
+ "record.metadata.updatedOn": "Modificato il",
418
431
  "record.metadata.usage": "Licenze e limiti di utilizzo",
419
432
  "record.metadata.userFeedbacks": "",
420
433
  "record.metadata.userFeedbacks.anonymousUser": "",
@@ -204,6 +204,14 @@
204
204
  "editor.record.form.field.contactsForResource.noContact": "",
205
205
  "editor.record.form.field.keywords": "",
206
206
  "editor.record.form.field.license": "",
207
+ "editor.record.form.field.onlineLinkResources": "",
208
+ "editor.record.form.field.onlineResource.cancel": "",
209
+ "editor.record.form.field.onlineResource.confirm": "",
210
+ "editor.record.form.field.onlineResource.dialogTitle": "",
211
+ "editor.record.form.field.onlineResource.edit.description": "",
212
+ "editor.record.form.field.onlineResource.edit.title": "",
213
+ "editor.record.form.field.onlineResource.fileSize": "",
214
+ "editor.record.form.field.onlineResource.modify": "",
207
215
  "editor.record.form.field.overviews": "",
208
216
  "editor.record.form.field.recordUpdated": "",
209
217
  "editor.record.form.field.resourceUpdated": "",
@@ -245,6 +253,9 @@
245
253
  "editor.record.loadError.body": "",
246
254
  "editor.record.loadError.closeMessage": "",
247
255
  "editor.record.loadError.title": "",
256
+ "editor.record.onlineResourceError.body": "",
257
+ "editor.record.onlineResourceError.closeMessage": "",
258
+ "editor.record.onlineResourceError.title": "",
248
259
  "editor.record.placeKeywordWithoutLabel": "",
249
260
  "editor.record.publish": "",
250
261
  "editor.record.publishError.body": "",
@@ -404,6 +415,8 @@
404
415
  "record.metadata.related": "",
405
416
  "record.metadata.sheet": "",
406
417
  "record.metadata.status": "",
418
+ "record.metadata.status.notPublished": "",
419
+ "record.metadata.status.published": "",
407
420
  "record.metadata.technical": "",
408
421
  "record.metadata.temporalExtent": "",
409
422
  "record.metadata.temporalExtent.fromDateToDate": "",
@@ -204,6 +204,14 @@
204
204
  "editor.record.form.field.contactsForResource.noContact": "",
205
205
  "editor.record.form.field.keywords": "",
206
206
  "editor.record.form.field.license": "",
207
+ "editor.record.form.field.onlineLinkResources": "",
208
+ "editor.record.form.field.onlineResource.cancel": "",
209
+ "editor.record.form.field.onlineResource.confirm": "",
210
+ "editor.record.form.field.onlineResource.dialogTitle": "",
211
+ "editor.record.form.field.onlineResource.edit.description": "",
212
+ "editor.record.form.field.onlineResource.edit.title": "",
213
+ "editor.record.form.field.onlineResource.fileSize": "",
214
+ "editor.record.form.field.onlineResource.modify": "",
207
215
  "editor.record.form.field.overviews": "",
208
216
  "editor.record.form.field.recordUpdated": "",
209
217
  "editor.record.form.field.resourceUpdated": "",
@@ -245,6 +253,9 @@
245
253
  "editor.record.loadError.body": "",
246
254
  "editor.record.loadError.closeMessage": "",
247
255
  "editor.record.loadError.title": "",
256
+ "editor.record.onlineResourceError.body": "",
257
+ "editor.record.onlineResourceError.closeMessage": "",
258
+ "editor.record.onlineResourceError.title": "",
248
259
  "editor.record.placeKeywordWithoutLabel": "",
249
260
  "editor.record.publish": "",
250
261
  "editor.record.publishError.body": "",
@@ -404,6 +415,8 @@
404
415
  "record.metadata.related": "",
405
416
  "record.metadata.sheet": "",
406
417
  "record.metadata.status": "",
418
+ "record.metadata.status.notPublished": "",
419
+ "record.metadata.status.published": "",
407
420
  "record.metadata.technical": "",
408
421
  "record.metadata.temporalExtent": "",
409
422
  "record.metadata.temporalExtent.fromDateToDate": "",
@@ -204,6 +204,14 @@
204
204
  "editor.record.form.field.contactsForResource.noContact": "",
205
205
  "editor.record.form.field.keywords": "",
206
206
  "editor.record.form.field.license": "Licencia",
207
+ "editor.record.form.field.onlineLinkResources": "",
208
+ "editor.record.form.field.onlineResource.cancel": "",
209
+ "editor.record.form.field.onlineResource.confirm": "",
210
+ "editor.record.form.field.onlineResource.dialogTitle": "",
211
+ "editor.record.form.field.onlineResource.edit.description": "",
212
+ "editor.record.form.field.onlineResource.edit.title": "",
213
+ "editor.record.form.field.onlineResource.fileSize": "",
214
+ "editor.record.form.field.onlineResource.modify": "",
207
215
  "editor.record.form.field.overviews": "",
208
216
  "editor.record.form.field.recordUpdated": "",
209
217
  "editor.record.form.field.resourceUpdated": "",
@@ -245,6 +253,9 @@
245
253
  "editor.record.loadError.body": "",
246
254
  "editor.record.loadError.closeMessage": "",
247
255
  "editor.record.loadError.title": "",
256
+ "editor.record.onlineResourceError.body": "",
257
+ "editor.record.onlineResourceError.closeMessage": "",
258
+ "editor.record.onlineResourceError.title": "",
248
259
  "editor.record.placeKeywordWithoutLabel": "",
249
260
  "editor.record.publish": "",
250
261
  "editor.record.publishError.body": "",
@@ -404,6 +415,8 @@
404
415
  "record.metadata.related": "Súvisiace záznamy",
405
416
  "record.metadata.sheet": "Ďalšie metadáta sú k dispozícii na:",
406
417
  "record.metadata.status": "Stav",
418
+ "record.metadata.status.notPublished": "",
419
+ "record.metadata.status.published": "",
407
420
  "record.metadata.technical": "",
408
421
  "record.metadata.temporalExtent": "",
409
422
  "record.metadata.temporalExtent.fromDateToDate": "",
@@ -1,96 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
3
- import { RecordsApiService } from '../../../../../../../libs/data-access/gn4/src';
4
- import { NotificationsService } from '../../../../../../../libs/feature/notifications/src';
5
- import { UiInputsModule } from '../../../../../../../libs/ui/inputs/src';
6
- import { TranslateService } from '@ngx-translate/core';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "../../../../../../../libs/data-access/gn4/src";
9
- import * as i2 from "../../../../../../../libs/feature/notifications/src";
10
- import * as i3 from "@ngx-translate/core";
11
- import * as i4 from "../../../../../../ui/inputs/src/lib/image-input/image-input.component";
12
- export class OverviewUploadComponent {
13
- set overview(value) {
14
- this._overview = value;
15
- if (this._overview) {
16
- this.recordsApiService.getAllResources(this.metadataUuid).subscribe({
17
- next: (resources) => {
18
- const resource = resources.find((r) => r.url === this._overview.url.toString());
19
- if (resource) {
20
- this.resourceFileName = resource.filename;
21
- }
22
- },
23
- error: this.errorHandle,
24
- });
25
- this.resourceUrl = this._overview.url.toString();
26
- this.altText = this._overview.description;
27
- }
28
- else {
29
- this.resourceUrl = '';
30
- this.resourceFileName = '';
31
- this.altText = '';
32
- }
33
- }
34
- constructor(recordsApiService, notificationsService, translateService) {
35
- this.recordsApiService = recordsApiService;
36
- this.notificationsService = notificationsService;
37
- this.translateService = translateService;
38
- this.overviewChange = new EventEmitter();
39
- this.errorHandle = (error) => {
40
- this.notificationsService.showNotification({
41
- type: 'error',
42
- title: this.translateService.instant('editor.record.resourceError.title'),
43
- text: `${this.translateService.instant('editor.record.resourceError.body')} ${error.message}`,
44
- closeMessage: this.translateService.instant('editor.record.resourceError.closeMessage'),
45
- });
46
- };
47
- }
48
- handleFileChange(file) {
49
- this.recordsApiService
50
- .putResource(this.metadataUuid, file, 'public')
51
- .subscribe({
52
- next: (resource) => {
53
- this.overviewChange.emit({
54
- url: new URL(resource.url),
55
- description: resource.filename,
56
- });
57
- },
58
- error: this.errorHandle,
59
- });
60
- }
61
- handleUrlChange(url) {
62
- this.recordsApiService
63
- .putResourceFromURL(this.metadataUuid, url, 'public')
64
- .subscribe({
65
- next: (resource) => {
66
- this.overviewChange.emit({
67
- url: new URL(resource.url),
68
- description: resource.filename,
69
- });
70
- },
71
- error: this.errorHandle,
72
- });
73
- }
74
- handleAltTextChange(newAltText) {
75
- this.overviewChange.emit({
76
- url: new URL(this.resourceUrl),
77
- description: newAltText,
78
- });
79
- }
80
- handleDelete() {
81
- this.overviewChange.emit(null);
82
- }
83
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OverviewUploadComponent, deps: [{ token: i1.RecordsApiService }, { token: i2.NotificationsService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
84
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: OverviewUploadComponent, isStandalone: true, selector: "gn-ui-overview-upload", inputs: { metadataUuid: "metadataUuid", overview: "overview" }, outputs: { overviewChange: "overviewChange" }, ngImport: i0, template: "<gn-ui-image-input\n [maxSizeMB]=\"5\"\n [previewUrl]=\"resourceUrl\"\n [altText]=\"altText\"\n (fileChange)=\"handleFileChange($event)\"\n (urlChange)=\"handleUrlChange($event)\"\n (altTextChange)=\"handleAltTextChange($event)\"\n (delete)=\"handleDelete()\"\n></gn-ui-image-input>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: UiInputsModule }, { kind: "component", type: i4.ImageInputComponent, selector: "gn-ui-image-input", inputs: ["maxSizeMB", "previewUrl", "altText", "uploadProgress", "uploadError"], outputs: ["fileChange", "urlChange", "uploadCancel", "delete", "altTextChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
85
- }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OverviewUploadComponent, decorators: [{
87
- type: Component,
88
- args: [{ selector: 'gn-ui-overview-upload', standalone: true, imports: [CommonModule, UiInputsModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<gn-ui-image-input\n [maxSizeMB]=\"5\"\n [previewUrl]=\"resourceUrl\"\n [altText]=\"altText\"\n (fileChange)=\"handleFileChange($event)\"\n (urlChange)=\"handleUrlChange($event)\"\n (altTextChange)=\"handleAltTextChange($event)\"\n (delete)=\"handleDelete()\"\n></gn-ui-image-input>\n" }]
89
- }], ctorParameters: function () { return [{ type: i1.RecordsApiService }, { type: i2.NotificationsService }, { type: i3.TranslateService }]; }, propDecorators: { metadataUuid: [{
90
- type: Input
91
- }], overview: [{
92
- type: Input
93
- }], overviewChange: [{
94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3VyY2VFcnJvci5ib2R5J1xuICAgICAgKX0gJHtlcnJvci5tZXNzYWdlfWAsXG4gICAgICBjbG9zZU1lc3NhZ2U6IHRoaXMudHJhbnNsYXRlU2VydmljZS5pbnN0YW50KFxuICAgICAgICAnZWRpdG9yLnJlY29yZC5yZXNvdXJjZUVycm9yLmNsb3NlTWVzc2FnZSdcbiAgICAgICksXG4gICAgfSlcbiAgfVxufVxuIiwiPGduLXVpLWltYWdlLWlucHV0XG4gIFttYXhTaXplTUJdPVwiNVwiXG4gIFtwcmV2aWV3VXJsXT1cInJlc291cmNlVXJsXCJcbiAgW2FsdFRleHRdPVwiYWx0VGV4dFwiXG4gIChmaWxlQ2hhbmdlKT1cImhhbmRsZUZpbGVDaGFuZ2UoJGV2ZW50KVwiXG4gICh1cmxDaGFuZ2UpPVwiaGFuZGxlVXJsQ2hhbmdlKCRldmVudClcIlxuICAoYWx0VGV4dENoYW5nZSk9XCJoYW5kbGVBbHRUZXh0Q2hhbmdlKCRldmVudClcIlxuICAoZGVsZXRlKT1cImhhbmRsZURlbGV0ZSgpXCJcbj48L2duLXVpLWltYWdlLWlucHV0PlxuIl19
@@ -1,17 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { DatePickerComponent } from '../../../../../../../../../../libs/ui/inputs/src';
4
- import { TranslateModule } from '@ngx-translate/core';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngx-translate/core";
7
- export class FormFieldTemporalExtentsDateComponent {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldTemporalExtentsDateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormFieldTemporalExtentsDateComponent, isStandalone: true, selector: "gn-ui-form-field-temporal-extents-date", inputs: { control: "control" }, ngImport: i0, template: "<div class=\"border rounded-lg px-4 pb-4\">\n <p class=\"my-2\" translate>editor.record.form.temporalExtents.date</p>\n <gn-ui-date-picker\n [date]=\"control.value?.start\"\n (dateChange)=\"control.setValue({ start: $event })\"\n ></gn-ui-date-picker>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: DatePickerComponent, selector: "gn-ui-date-picker", inputs: ["date"], outputs: ["dateChange"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldTemporalExtentsDateComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'gn-ui-form-field-temporal-extents-date', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DatePickerComponent, TranslateModule], template: "<div class=\"border rounded-lg px-4 pb-4\">\n <p class=\"my-2\" translate>editor.record.form.temporalExtents.date</p>\n <gn-ui-date-picker\n [date]=\"control.value?.start\"\n (dateChange)=\"control.setValue({ start: $event })\"\n ></gn-ui-date-picker>\n</div>\n" }]
14
- }], propDecorators: { control: [{
15
- type: Input
16
- }] } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnRzLWRhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL2VkaXRvci9zcmMvbGliL2NvbXBvbmVudHMvcmVjb3JkLWZvcm0vZm9ybS1maWVsZC9mb3JtLWZpZWxkLXRlbXBvcmFsLWV4dGVudHMvZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnRzLWRhdGUvZm9ybS1maWVsZC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Q2hhbmdlKT1cImNvbnRyb2wuc2V0VmFsdWUoeyBzdGFydDogJGV2ZW50IH0pXCJcbiAgPjwvZ24tdWktZGF0ZS1waWNrZXI+XG48L2Rpdj5cbiJdfQ==
@@ -1,17 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { DateRangePickerComponent } from '../../../../../../../../../../libs/ui/inputs/src';
4
- import { TranslateModule } from '@ngx-translate/core';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngx-translate/core";
7
- export class FormFieldTemporalExtentsRangeComponent {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldTemporalExtentsRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormFieldTemporalExtentsRangeComponent, isStandalone: true, selector: "gn-ui-form-field-temporal-extents-range", inputs: { control: "control" }, ngImport: i0, template: "<div class=\"border rounded-lg px-4 pb-4\">\n <p class=\"my-2\" translate>editor.record.form.temporalExtents.range</p>\n <gn-ui-date-range-picker\n [startDate]=\"control.value?.start\"\n [endDate]=\"control.value?.end\"\n (startDateChange)=\"\n control.setValue({ start: $event, end: control.value?.end })\n \"\n (endDateChange)=\"\n control.setValue({ start: control.value?.start, end: $event })\n \"\n ></gn-ui-date-range-picker>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: DateRangePickerComponent, selector: "gn-ui-date-range-picker", inputs: ["startDate", "endDate"], outputs: ["startDateChange", "endDateChange"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "directive", type: i1.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldTemporalExtentsRangeComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'gn-ui-form-field-temporal-extents-range', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DateRangePickerComponent, TranslateModule], template: "<div class=\"border rounded-lg px-4 pb-4\">\n <p class=\"my-2\" translate>editor.record.form.temporalExtents.range</p>\n <gn-ui-date-range-picker\n [startDate]=\"control.value?.start\"\n [endDate]=\"control.value?.end\"\n (startDateChange)=\"\n control.setValue({ start: $event, end: control.value?.end })\n \"\n (endDateChange)=\"\n control.setValue({ start: control.value?.start, end: $event })\n \"\n ></gn-ui-date-range-picker>\n</div>\n" }]
14
- }], propDecorators: { control: [{
15
- type: Input
16
- }] } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnRzLXJhbmdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL3JlY29yZC1mb3JtL2Zvcm0tZmllbGQvZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnRzL2Zvcm0tZmllbGQtdGVtcG9yYWwtZXh0ZW50cy1yYW5nZS9mb3JtLWZpZWxkLXRlbXBvcmFsLWV4dGVudHMtcmFuZ2UuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL2VkaXRvci9zcmMvbGliL2NvbXBvbmVudHMvcmVjb3JkLWZvcm0vZm9ybS1maWVsZC9mb3JtLWZpZWxkLXRlbXBvcmFsLWV4dGVudHMvZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnRzLXJhbmdlL2Zvcm0tZmllbGQtdGVtcG9yYWwtZXh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5zdGFydCwgZW5kOiAkZXZlbnQgfSlcbiAgICBcIlxuICA+PC9nbi11aS1kYXRlLXJhbmdlLXBpY2tlcj5cbjwvZGl2PlxuIl19
@@ -1,39 +0,0 @@
1
- import { CdkDrag, CdkDragHandle, CdkDropList, moveItemInArray, } from '@angular/cdk/drag-drop';
2
- import { NgComponentOutlet, NgFor } from '@angular/common';
3
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
4
- import { MatIconModule } from '@angular/material/icon';
5
- import * as i0 from "@angular/core";
6
- export class SortableListComponent {
7
- constructor() {
8
- this.elementsChange = new EventEmitter();
9
- }
10
- drop(event) {
11
- moveItemInArray(this.elements, event.previousIndex, event.currentIndex);
12
- this.elementsChange.emit(this.elements);
13
- }
14
- removeElement(index) {
15
- this.elements = this.elements.filter((_, i) => i !== index);
16
- this.elementsChange.emit(this.elements);
17
- }
18
- trackByFn(index) {
19
- return index;
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortableListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SortableListComponent, isStandalone: true, selector: "gn-ui-sortable-list", inputs: { elements: "elements" }, outputs: { elementsChange: "elementsChange" }, ngImport: i0, template: "<div\n cdkDropList\n class=\"sortable-list flex flex-col gap-3 p-2\"\n (cdkDropListDropped)=\"drop($event)\"\n>\n <ng-container\n *ngFor=\"let element of elements; index as index; trackBy: trackByFn\"\n >\n <div class=\"sortable-box bg-white flex items-center\" cdkDrag>\n <span\n cdkDragHandle\n class=\"material-symbols-outlined mx-[10px] cursor-grab gn-ui-icon-medium flex-none\"\n >\n drag_handle\n </span>\n <div class=\"flex-1\">\n <ng-container\n *ngComponentOutlet=\"element.component; inputs: element.inputs\"\n ></ng-container>\n </div>\n <span\n (click)=\"removeElement(index)\"\n class=\"material-symbols-outlined mx-[10px] cursor-pointer gn-ui-icon-medium flex-none\"\n >\n close\n </span>\n </div>\n </ng-container>\n</div>\n", styles: [".cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.sortable-list.cdk-drop-list-dragging .sortable-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"], dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "ngmodule", type: MatIconModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortableListComponent, decorators: [{
25
- type: Component,
26
- args: [{ selector: 'gn-ui-sortable-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
27
- NgFor,
28
- NgComponentOutlet,
29
- CdkDropList,
30
- CdkDrag,
31
- CdkDragHandle,
32
- MatIconModule,
33
- ], template: "<div\n cdkDropList\n class=\"sortable-list flex flex-col gap-3 p-2\"\n (cdkDropListDropped)=\"drop($event)\"\n>\n <ng-container\n *ngFor=\"let element of elements; index as index; trackBy: trackByFn\"\n >\n <div class=\"sortable-box bg-white flex items-center\" cdkDrag>\n <span\n cdkDragHandle\n class=\"material-symbols-outlined mx-[10px] cursor-grab gn-ui-icon-medium flex-none\"\n >\n drag_handle\n </span>\n <div class=\"flex-1\">\n <ng-container\n *ngComponentOutlet=\"element.component; inputs: element.inputs\"\n ></ng-container>\n </div>\n <span\n (click)=\"removeElement(index)\"\n class=\"material-symbols-outlined mx-[10px] cursor-pointer gn-ui-icon-medium flex-none\"\n >\n close\n </span>\n </div>\n </ng-container>\n</div>\n", styles: [".cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.sortable-list.cdk-drop-list-dragging .sortable-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}\n"] }]
34
- }], propDecorators: { elements: [{
35
- type: Input
36
- }], elementsChange: [{
37
- type: Output
38
- }] } });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydGFibGUtbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIi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nRPdXRsZXQ9XCJlbGVtZW50LmNvbXBvbmVudDsgaW5wdXRzOiBlbGVtZW50LmlucHV0c1wiXG4gICAgICAgID48L25nLWNvbnRhaW5lcj5cbiAgICAgIDwvZGl2PlxuICAgICAgPHNwYW5cbiAgICAgICAgKGNsaWNrKT1cInJlbW92ZUVsZW1lbnQoaW5kZXgpXCJcbiAgICAgICAgY2xhc3M9XCJtYXRlcmlhbC1zeW1ib2xzLW91dGxpbmVkIG14LVsxMHB4XSBjdXJzb3ItcG9pbnRlciBnbi11aS1pY29uLW1lZGl1bSBmbGV4LW5vbmVcIlxuICAgICAgPlxuICAgICAgICBjbG9zZVxuICAgICAgPC9zcGFuPlxuICAgIDwvZGl2PlxuICA8L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuIl19
@@ -1,27 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { GraphicOverview } from '../../../../../../../libs/common/domain/src/lib/model/record';
3
- import { RecordsApiService } from '../../../../../../../libs/data-access/gn4/src';
4
- import { NotificationsService } from '../../../../../../../libs/feature/notifications/src';
5
- import { TranslateService } from '@ngx-translate/core';
6
- import * as i0 from "@angular/core";
7
- export declare class OverviewUploadComponent {
8
- private recordsApiService;
9
- private notificationsService;
10
- private translateService;
11
- metadataUuid: string;
12
- _overview: GraphicOverview | null;
13
- set overview(value: GraphicOverview | null);
14
- overviewChange: EventEmitter<GraphicOverview>;
15
- resourceUrl: string;
16
- resourceFileName: string;
17
- altText: string;
18
- constructor(recordsApiService: RecordsApiService, notificationsService: NotificationsService, translateService: TranslateService);
19
- handleFileChange(file: File): void;
20
- handleUrlChange(url: string): void;
21
- handleAltTextChange(newAltText: string): void;
22
- handleDelete(): void;
23
- private errorHandle;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<OverviewUploadComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<OverviewUploadComponent, "gn-ui-overview-upload", never, { "metadataUuid": { "alias": "metadataUuid"; "required": false; }; "overview": { "alias": "overview"; "required": false; }; }, { "overviewChange": "overviewChange"; }, never, never, true, never>;
26
- }
27
- //# sourceMappingURL=overview-upload.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"overview-upload.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,eAAe,EAAE,MAAM,8DAA8D,CAAA;AAC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAA;AAE1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;;AAEtD,qBAQa,uBAAuB;IAkChC,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,oBAAoB;IAC5B,OAAO,CAAC,gBAAgB;IAnCjB,YAAY,EAAE,MAAM,CAAA;IAC7B,SAAS,EAAE,eAAe,GAAG,IAAI,CAAA;IACjC,IACI,QAAQ,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,EAqBzC;IAES,cAAc,gCAA6C;IAErE,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;gBAGL,iBAAiB,EAAE,iBAAiB,EACpC,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB;IAG5C,gBAAgB,CAAC,IAAI,EAAE,IAAI;IAc3B,eAAe,CAAC,GAAG,EAAE,MAAM;IAc3B,mBAAmB,CAAC,UAAU,EAAE,MAAM;IAOtC,YAAY;IAIZ,OAAO,CAAC,WAAW,CAWlB;yCAzFU,uBAAuB;2CAAvB,uBAAuB;CA0FnC"}
@@ -1,8 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class FormFieldTemporalExtentsDateComponent {
4
- control: FormControl;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTemporalExtentsDateComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsDateComponent, "gn-ui-form-field-temporal-extents-date", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
7
- }
8
- //# sourceMappingURL=form-field-temporal-extents-date.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-temporal-extents-date.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-date/form-field-temporal-extents-date.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAI5C,qBAQa,qCAAqC;IACvC,OAAO,EAAG,WAAW,CAAA;yCADnB,qCAAqC;2CAArC,qCAAqC;CAEjD"}
@@ -1,8 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class FormFieldTemporalExtentsRangeComponent {
4
- control: FormControl;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTemporalExtentsRangeComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTemporalExtentsRangeComponent, "gn-ui-form-field-temporal-extents-range", never, { "control": { "alias": "control"; "required": false; }; }, {}, never, never, true, never>;
7
- }
8
- //# sourceMappingURL=form-field-temporal-extents-range.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-temporal-extents-range.component.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents-range/form-field-temporal-extents-range.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAI5C,qBAQa,sCAAsC;IACxC,OAAO,EAAG,WAAW,CAAA;yCADnB,sCAAsC;2CAAtC,sCAAsC;CAElD"}
@@ -1,17 +0,0 @@
1
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
2
- import { EventEmitter, Type } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export type DynamicElement = {
5
- component: Type<unknown>;
6
- inputs: Record<string, unknown>;
7
- };
8
- export declare class SortableListComponent {
9
- elements: Array<DynamicElement>;
10
- elementsChange: EventEmitter<DynamicElement[]>;
11
- drop(event: CdkDragDrop<string[]>): void;
12
- removeElement(index: number): void;
13
- trackByFn(index: number): number;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<SortableListComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SortableListComponent, "gn-ui-sortable-list", never, { "elements": { "alias": "elements"; "required": false; }; }, { "elementsChange": "elementsChange"; }, never, never, true, never>;
16
- }
17
- //# sourceMappingURL=sortable-list.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sortable-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAIZ,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAGL,YAAY,EAGZ,IAAI,EACL,MAAM,eAAe,CAAA;;AAGtB,MAAM,MAAM,cAAc,GAAG;IAC3B,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAChC,CAAA;AAED,qBAea,qBAAqB;IACvB,QAAQ,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;IAC9B,cAAc,iCAA4C;IAEpE,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,EAAE,CAAC;IAKjC,aAAa,CAAC,KAAK,EAAE,MAAM;IAK3B,SAAS,CAAC,KAAK,EAAE,MAAM;yCAdZ,qBAAqB;2CAArB,qBAAqB;CAiBjC"}
@@ -1,7 +0,0 @@
1
- import Feature from 'ol/Feature'
2
- import { Geometry } from 'ol/geom'
3
-
4
- export const OL_FEATURE_FIXTURE = new Feature()
5
- OL_FEATURE_FIXTURE.set('id', 123)
6
- OL_FEATURE_FIXTURE.set('name', 'ol_feature')
7
- OL_FEATURE_FIXTURE.set('geometry', new Geometry())
@@ -1,10 +0,0 @@
1
- export function deepFreeze<U>(obj: U): U {
2
- if (Array.isArray(obj)) {
3
- obj.forEach(deepFreeze)
4
- return obj
5
- } else if (obj instanceof Object) {
6
- Object.keys(obj).forEach((prop) => deepFreeze(obj[prop]))
7
- return Object.freeze(obj)
8
- }
9
- return obj
10
- }
@@ -1 +0,0 @@
1
- export * from './freeze'
@@ -1,9 +0,0 @@
1
- <gn-ui-image-input
2
- [maxSizeMB]="5"
3
- [previewUrl]="resourceUrl"
4
- [altText]="altText"
5
- (fileChange)="handleFileChange($event)"
6
- (urlChange)="handleUrlChange($event)"
7
- (altTextChange)="handleAltTextChange($event)"
8
- (delete)="handleDelete()"
9
- ></gn-ui-image-input>
@@ -1,113 +0,0 @@
1
- import { CommonModule } from '@angular/common'
2
- import {
3
- ChangeDetectionStrategy,
4
- Component,
5
- EventEmitter,
6
- Input,
7
- Output,
8
- } from '@angular/core'
9
- import { GraphicOverview } from '../../../../../../../libs/common/domain/src/lib/model/record'
10
- import { RecordsApiService } from '../../../../../../../libs/data-access/gn4/src'
11
- import { NotificationsService } from '../../../../../../../libs/feature/notifications/src'
12
- import { UiInputsModule } from '../../../../../../../libs/ui/inputs/src'
13
- import { TranslateService } from '@ngx-translate/core'
14
-
15
- @Component({
16
- selector: 'gn-ui-overview-upload',
17
- standalone: true,
18
- imports: [CommonModule, UiInputsModule],
19
- templateUrl: './overview-upload.component.html',
20
- styleUrls: ['./overview-upload.component.css'],
21
- changeDetection: ChangeDetectionStrategy.OnPush,
22
- })
23
- export class OverviewUploadComponent {
24
- @Input() metadataUuid: string
25
- _overview: GraphicOverview | null
26
- @Input()
27
- set overview(value: GraphicOverview | null) {
28
- this._overview = value
29
- if (this._overview) {
30
- this.recordsApiService.getAllResources(this.metadataUuid).subscribe({
31
- next: (resources) => {
32
- const resource = resources.find(
33
- (r) => r.url === this._overview.url.toString()
34
- )
35
- if (resource) {
36
- this.resourceFileName = resource.filename
37
- }
38
- },
39
- error: this.errorHandle,
40
- })
41
- this.resourceUrl = this._overview.url.toString()
42
- this.altText = this._overview.description
43
- } else {
44
- this.resourceUrl = ''
45
- this.resourceFileName = ''
46
- this.altText = ''
47
- }
48
- }
49
-
50
- @Output() overviewChange = new EventEmitter<GraphicOverview | null>()
51
-
52
- resourceUrl: string
53
- resourceFileName: string
54
- altText: string
55
-
56
- constructor(
57
- private recordsApiService: RecordsApiService,
58
- private notificationsService: NotificationsService,
59
- private translateService: TranslateService
60
- ) {}
61
-
62
- handleFileChange(file: File) {
63
- this.recordsApiService
64
- .putResource(this.metadataUuid, file, 'public')
65
- .subscribe({
66
- next: (resource) => {
67
- this.overviewChange.emit({
68
- url: new URL(resource.url),
69
- description: resource.filename,
70
- })
71
- },
72
- error: this.errorHandle,
73
- })
74
- }
75
-
76
- handleUrlChange(url: string) {
77
- this.recordsApiService
78
- .putResourceFromURL(this.metadataUuid, url, 'public')
79
- .subscribe({
80
- next: (resource) => {
81
- this.overviewChange.emit({
82
- url: new URL(resource.url),
83
- description: resource.filename,
84
- })
85
- },
86
- error: this.errorHandle,
87
- })
88
- }
89
-
90
- handleAltTextChange(newAltText: string) {
91
- this.overviewChange.emit({
92
- url: new URL(this.resourceUrl),
93
- description: newAltText,
94
- })
95
- }
96
-
97
- handleDelete() {
98
- this.overviewChange.emit(null)
99
- }
100
-
101
- private errorHandle = (error) => {
102
- this.notificationsService.showNotification({
103
- type: 'error',
104
- title: this.translateService.instant('editor.record.resourceError.title'),
105
- text: `${this.translateService.instant(
106
- 'editor.record.resourceError.body'
107
- )} ${error.message}`,
108
- closeMessage: this.translateService.instant(
109
- 'editor.record.resourceError.closeMessage'
110
- ),
111
- })
112
- }
113
- }
@@ -1,7 +0,0 @@
1
- <div class="border rounded-lg px-4 pb-4">
2
- <p class="my-2" translate>editor.record.form.temporalExtents.date</p>
3
- <gn-ui-date-picker
4
- [date]="control.value?.start"
5
- (dateChange)="control.setValue({ start: $event })"
6
- ></gn-ui-date-picker>
7
- </div>