geonetwork-ui 2.4.0-dev.503109c9 → 2.4.0-dev.575f30f2

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 (347) hide show
  1. package/esm2022/libs/api/metadata-converter/src/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +10 -3
  3. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.mjs +5 -5
  4. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.mjs +7 -4
  5. package/esm2022/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.mjs +10 -7
  6. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.mjs +7 -14
  7. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/read-parts.mjs +6 -6
  8. package/esm2022/libs/api/metadata-converter/src/lib/iso19139/write-parts.mjs +28 -18
  9. package/esm2022/libs/api/metadata-converter/src/lib/xml-utils.mjs +18 -2
  10. package/esm2022/libs/api/repository/src/lib/gn4/gn4-repository.mjs +78 -39
  11. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +41 -7
  12. package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
  13. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  14. package/esm2022/libs/common/domain/src/lib/repository/records-repository.interface.mjs +1 -1
  15. package/esm2022/libs/feature/dataviz/src/lib/chart-view/chart-view.component.mjs +1 -1
  16. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +1 -1
  17. package/esm2022/libs/feature/dataviz/src/lib/table-view/table-view.component.mjs +1 -1
  18. package/esm2022/libs/feature/editor/src/index.mjs +2 -1
  19. package/esm2022/libs/feature/editor/src/lib/components/contact-card/contact-card.component.mjs +4 -16
  20. package/esm2022/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.mjs +4 -2
  21. package/esm2022/libs/feature/editor/src/lib/components/import-record/import-record.component.mjs +93 -0
  22. package/esm2022/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.mjs +71 -0
  23. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.mjs +11 -29
  24. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.mjs +19 -0
  25. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.mjs +23 -10
  26. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +3 -3
  27. 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
  28. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.mjs +86 -11
  29. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +4 -8
  30. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +36 -7
  31. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.mjs +35 -59
  32. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.mjs +3 -3
  33. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +12 -5
  34. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +2 -2
  35. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +3 -3
  36. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +34 -6
  37. package/esm2022/libs/feature/editor/src/lib/models/editor-config.model.mjs +1 -1
  38. package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +2 -2
  39. package/esm2022/libs/feature/record/src/lib/data-view/data-view.component.mjs +1 -1
  40. package/esm2022/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.mjs +1 -1
  41. package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +1 -1
  42. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +4 -2
  43. package/esm2022/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.mjs +3 -3
  44. package/esm2022/libs/ui/elements/src/index.mjs +2 -2
  45. package/esm2022/libs/ui/elements/src/lib/download-item/download-item.component.mjs +2 -2
  46. package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +1 -1
  47. package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +2 -2
  48. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +6 -6
  49. package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +2 -2
  50. package/esm2022/libs/ui/inputs/src/index.mjs +5 -1
  51. package/esm2022/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.mjs +7 -4
  52. package/esm2022/libs/ui/inputs/src/lib/badge/badge.component.mjs +5 -3
  53. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +8 -1
  54. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +11 -4
  55. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +9 -3
  56. package/esm2022/libs/ui/inputs/src/lib/file-input/file-input.component.mjs +87 -0
  57. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +5 -4
  58. package/esm2022/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.mjs +4 -4
  59. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +4 -3
  60. package/esm2022/libs/ui/inputs/src/lib/url-input/url-input.component.mjs +3 -3
  61. package/esm2022/libs/ui/layout/src/index.mjs +3 -1
  62. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +5 -3
  63. package/esm2022/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.mjs +29 -0
  64. package/esm2022/libs/ui/layout/src/lib/sortable-list/sortable-list.component.mjs +43 -0
  65. package/esm2022/libs/ui/search/src/lib/results-table/results-table.component.mjs +3 -3
  66. package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +1 -1
  67. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +1 -1
  68. package/esm2022/libs/util/shared/src/lib/services/theme.service.mjs +2 -1
  69. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -1
  70. package/esm2022/translations/de.json +20 -0
  71. package/esm2022/translations/en.json +20 -0
  72. package/esm2022/translations/es.json +20 -0
  73. package/esm2022/translations/fr.json +21 -1
  74. package/esm2022/translations/it.json +20 -0
  75. package/esm2022/translations/nl.json +20 -0
  76. package/esm2022/translations/pt.json +20 -0
  77. package/fesm2022/geonetwork-ui.mjs +3136 -2523
  78. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  79. package/libs/api/metadata-converter/src/index.d.ts +1 -0
  80. package/libs/api/metadata-converter/src/index.d.ts.map +1 -1
  81. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts +3 -3
  82. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  83. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts +2 -2
  84. package/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.d.ts.map +1 -1
  85. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts +1 -1
  86. package/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.d.ts.map +1 -1
  87. package/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.d.ts.map +1 -1
  88. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts +4 -5
  89. package/libs/api/metadata-converter/src/lib/iso19139/read-parts.d.ts.map +1 -1
  90. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts +7 -6
  91. package/libs/api/metadata-converter/src/lib/iso19139/write-parts.d.ts.map +1 -1
  92. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts +6 -0
  93. package/libs/api/metadata-converter/src/lib/xml-utils.d.ts.map +1 -1
  94. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts +12 -7
  95. package/libs/api/repository/src/lib/gn4/gn4-repository.d.ts.map +1 -1
  96. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +21 -2
  97. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  98. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +6 -6
  99. package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
  100. package/libs/common/domain/src/lib/platform.service.interface.d.ts +15 -0
  101. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  102. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts +7 -0
  103. package/libs/common/domain/src/lib/repository/records-repository.interface.d.ts.map +1 -1
  104. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts +2 -2
  105. package/libs/feature/dataviz/src/lib/chart-view/chart-view.component.d.ts.map +1 -1
  106. package/libs/feature/dataviz/src/lib/service/data.service.d.ts +6 -6
  107. package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
  108. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts +3 -3
  109. package/libs/feature/dataviz/src/lib/table-view/table-view.component.d.ts.map +1 -1
  110. package/libs/feature/editor/src/index.d.ts +1 -0
  111. package/libs/feature/editor/src/index.d.ts.map +1 -1
  112. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts +1 -5
  113. package/libs/feature/editor/src/lib/components/contact-card/contact-card.component.d.ts.map +1 -1
  114. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts +2 -1
  115. package/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.d.ts.map +1 -1
  116. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts +33 -0
  117. package/libs/feature/editor/src/lib/components/import-record/import-record.component.d.ts.map +1 -0
  118. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts +15 -0
  119. package/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.d.ts.map +1 -0
  120. 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
  121. 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
  122. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts +9 -0
  123. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-date-updated/form-field-date-updated.component.d.ts.map +1 -0
  124. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts +5 -2
  125. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.d.ts.map +1 -1
  126. 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
  127. 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
  128. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts +20 -2
  129. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.d.ts.map +1 -1
  130. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +1 -3
  131. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -1
  132. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +7 -2
  133. 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
  134. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.d.ts +9 -15
  135. 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
  136. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts +5 -3
  137. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -1
  138. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts +1 -1
  139. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -1
  140. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts +3 -2
  141. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -1
  142. package/libs/feature/editor/src/lib/fields.config.d.ts +9 -1
  143. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  144. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts +6 -0
  145. package/libs/feature/editor/src/lib/models/editor-config.model.d.ts.map +1 -1
  146. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts +5 -5
  147. package/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.d.ts.map +1 -1
  148. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts +3 -3
  149. package/libs/feature/record/src/lib/data-view/data-view.component.d.ts.map +1 -1
  150. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts +2 -2
  151. package/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.d.ts.map +1 -1
  152. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +2 -2
  153. package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
  154. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +7 -7
  155. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  156. package/libs/ui/elements/src/index.d.ts +1 -1
  157. package/libs/ui/elements/src/index.d.ts.map +1 -1
  158. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts +2 -2
  159. package/libs/ui/elements/src/lib/download-item/download-item.component.d.ts.map +1 -1
  160. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +7 -7
  161. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts.map +1 -1
  162. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +2 -2
  163. package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
  164. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +2 -2
  165. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -1
  166. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +1 -1
  167. package/libs/ui/inputs/src/index.d.ts +4 -0
  168. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  169. package/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.d.ts.map +1 -1
  170. package/libs/ui/inputs/src/lib/badge/badge.component.d.ts.map +1 -1
  171. package/libs/ui/inputs/src/lib/button/button.component.d.ts +1 -1
  172. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  173. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -1
  174. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  175. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts +24 -0
  176. package/libs/ui/inputs/src/lib/file-input/file-input.component.d.ts.map +1 -0
  177. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +1 -1
  178. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -1
  179. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts +0 -1
  180. package/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.d.ts.map +1 -1
  181. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  182. package/libs/ui/layout/src/index.d.ts +2 -0
  183. package/libs/ui/layout/src/index.d.ts.map +1 -1
  184. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +2 -2
  185. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -1
  186. package/libs/ui/layout/src/lib/interactive-table/interactive-table-column/interactive-table-column.component.d.ts +1 -1
  187. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts +20 -0
  188. package/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.d.ts.map +1 -0
  189. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts +14 -0
  190. package/libs/ui/layout/src/lib/sortable-list/sortable-list.component.d.ts.map +1 -0
  191. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts +1 -1
  192. package/libs/ui/search/src/lib/results-table/results-table.component.d.ts.map +1 -1
  193. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts +3 -3
  194. package/libs/util/shared/src/lib/links/link-classifier.service.d.ts.map +1 -1
  195. package/libs/util/shared/src/lib/links/link-utils.d.ts +6 -6
  196. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  197. package/libs/util/shared/src/lib/services/theme.service.d.ts.map +1 -1
  198. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -1
  199. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -1
  200. package/package.json +1 -1
  201. package/src/libs/api/metadata-converter/src/index.ts +1 -0
  202. package/src/libs/api/metadata-converter/src/lib/fixtures/generic.records.ts +1 -1
  203. package/src/libs/api/metadata-converter/src/lib/fixtures/geo2france.records.ts +1 -1
  204. package/src/libs/api/metadata-converter/src/lib/fixtures/geocat-ch.records.ts +1 -1
  205. package/src/libs/api/metadata-converter/src/lib/fixtures/metawal.records.ts +1 -1
  206. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +18 -16
  207. package/src/libs/api/metadata-converter/src/lib/iso19115-3/iso19115-3.converter.ts +4 -4
  208. package/src/libs/api/metadata-converter/src/lib/iso19115-3/read-parts.ts +12 -4
  209. package/src/libs/api/metadata-converter/src/lib/iso19115-3/write-parts.ts +14 -8
  210. package/src/libs/api/metadata-converter/src/lib/iso19139/iso19139.converter.ts +4 -12
  211. package/src/libs/api/metadata-converter/src/lib/iso19139/read-parts.ts +13 -15
  212. package/src/libs/api/metadata-converter/src/lib/iso19139/write-parts.ts +48 -36
  213. package/src/libs/api/metadata-converter/src/lib/xml-utils.ts +20 -1
  214. package/src/libs/api/repository/src/lib/gn4/gn4-repository.ts +132 -68
  215. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +47 -3
  216. package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +7 -7
  217. package/src/libs/common/domain/src/lib/platform.service.interface.ts +26 -0
  218. package/src/libs/common/domain/src/lib/repository/records-repository.interface.ts +10 -0
  219. package/src/libs/common/fixtures/src/lib/link.fixtures.ts +216 -175
  220. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +3 -3
  221. package/src/libs/feature/dataviz/src/lib/chart-view/chart-view.component.ts +3 -3
  222. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +6 -6
  223. package/src/libs/feature/dataviz/src/lib/table-view/table-view.component.ts +4 -4
  224. package/src/libs/feature/editor/src/index.ts +1 -0
  225. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.html +12 -24
  226. package/src/libs/feature/editor/src/lib/components/contact-card/contact-card.component.ts +1 -13
  227. package/src/libs/feature/editor/src/lib/components/generic-keywords/generic-keywords.component.ts +1 -0
  228. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.html +43 -0
  229. package/src/libs/feature/editor/src/lib/components/import-record/import-record.component.ts +129 -0
  230. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.html +35 -0
  231. package/src/libs/feature/editor/src/lib/components/online-resource-card/online-resource-card.component.ts +79 -0
  232. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.css +4 -0
  233. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.html +13 -23
  234. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-contacts-for-resource/form-field-contacts-for-resource.component.ts +7 -44
  235. package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-resource-updated/form-field-resource-updated.component.ts → form-field-date-updated/form-field-date-updated.component.ts} +4 -4
  236. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.html +3 -2
  237. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-keywords/form-field-keywords.component.ts +35 -3
  238. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.css +8 -0
  239. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-online-link-resources/form-field-online-link-resources.component.html +34 -0
  240. 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
  241. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.html +11 -5
  242. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-overviews/form-field-overviews.component.ts +93 -4
  243. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +13 -6
  244. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +0 -9
  245. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +7 -2
  246. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +62 -6
  247. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.css +4 -0
  248. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.html +23 -3
  249. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extents/form-field-temporal-extents.component.ts +37 -69
  250. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.css +4 -0
  251. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-update-frequency/form-field-update-frequency.component.html +16 -14
  252. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +27 -20
  253. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +10 -3
  254. package/src/libs/feature/editor/src/lib/components/record-form/form-field/index.ts +1 -1
  255. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.html +31 -29
  256. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.ts +2 -1
  257. package/src/libs/feature/editor/src/lib/fields.config.ts +37 -5
  258. package/src/libs/feature/editor/src/lib/models/editor-config.model.ts +12 -0
  259. package/src/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.ts +7 -7
  260. package/src/libs/feature/record/src/lib/data-view/data-view.component.ts +3 -3
  261. package/src/libs/feature/record/src/lib/external-viewer-button/external-viewer-button.component.ts +2 -2
  262. package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -2
  263. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +5 -1
  264. package/src/libs/feature/search/src/lib/fuzzy-search/fuzzy-search.component.html +1 -0
  265. package/src/libs/ui/elements/src/index.ts +1 -1
  266. package/src/libs/ui/elements/src/lib/download-item/download-item.component.ts +4 -4
  267. package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +7 -7
  268. package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +3 -3
  269. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +13 -20
  270. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -1
  271. package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +5 -0
  272. package/src/libs/ui/inputs/src/index.ts +4 -0
  273. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.css +25 -18
  274. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.html +38 -24
  275. package/src/libs/ui/inputs/src/lib/autocomplete/autocomplete.component.ts +4 -1
  276. package/src/libs/ui/inputs/src/lib/badge/badge.component.html +12 -3
  277. package/src/libs/ui/inputs/src/lib/badge/badge.component.ts +2 -1
  278. package/src/libs/ui/inputs/src/lib/button/button.component.ts +15 -1
  279. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +7 -2
  280. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +13 -6
  281. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +7 -1
  282. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.css +7 -2
  283. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.html +27 -23
  284. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +7 -1
  285. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.css +4 -0
  286. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.html +7 -3
  287. package/src/libs/ui/inputs/src/lib/file-input/file-input.component.ts +2 -1
  288. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +4 -0
  289. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +30 -22
  290. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +2 -1
  291. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.css +4 -3
  292. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.html +0 -1
  293. package/src/libs/ui/inputs/src/lib/switch-toggle/switch-toggle.component.ts +1 -2
  294. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +1 -1
  295. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +1 -1
  296. package/src/libs/ui/inputs/src/lib/url-input/url-input.component.html +1 -1
  297. package/src/libs/ui/layout/src/index.ts +2 -0
  298. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +8 -3
  299. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +4 -3
  300. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.css +0 -0
  301. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.html +15 -0
  302. package/src/libs/ui/layout/src/lib/modal-dialog/modal-dialog.component.ts +44 -0
  303. package/src/libs/ui/layout/src/lib/sortable-list/sortable-list.component.html +37 -0
  304. package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.ts +13 -16
  305. package/src/libs/ui/search/src/lib/results-table/results-table.component.ts +4 -2
  306. package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +4 -3
  307. package/src/libs/util/shared/src/lib/links/link-utils.ts +6 -6
  308. package/src/libs/util/shared/src/lib/services/theme.service.ts +1 -0
  309. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +4 -1
  310. package/tailwind.base.config.js +1 -0
  311. package/tailwind.base.css +35 -4
  312. package/translations/de.json +20 -0
  313. package/translations/en.json +20 -0
  314. package/translations/es.json +20 -0
  315. package/translations/fr.json +21 -1
  316. package/translations/it.json +20 -0
  317. package/translations/nl.json +20 -0
  318. package/translations/pt.json +20 -0
  319. package/translations/sk.json +20 -0
  320. package/esm2022/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.mjs +0 -96
  321. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +0 -19
  322. 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
  323. 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
  324. package/esm2022/libs/ui/elements/src/lib/sortable-list/sortable-list.component.mjs +0 -39
  325. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts +0 -27
  326. package/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.d.ts.map +0 -1
  327. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +0 -9
  328. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +0 -1
  329. 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
  330. 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
  331. 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
  332. 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
  333. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts +0 -17
  334. package/libs/ui/elements/src/lib/sortable-list/sortable-list.component.d.ts.map +0 -1
  335. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +0 -9
  336. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +0 -113
  337. 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
  338. 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
  339. 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
  340. 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
  341. package/src/libs/ui/elements/src/lib/sortable-list/sortable-list.component.html +0 -29
  342. /package/src/libs/feature/editor/src/lib/components/{overview-upload/overview-upload.component.css → import-record/import-record.component.css} +0 -0
  343. /package/src/libs/feature/editor/src/lib/components/{record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css → online-resource-card/online-resource-card.component.css} +0 -0
  344. /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-date-updated/form-field-date-updated.component.css} +0 -0
  345. /package/src/libs/feature/editor/src/lib/components/record-form/form-field/{form-field-resource-updated/form-field-resource-updated.component.html → form-field-date-updated/form-field-date-updated.component.html} +0 -0
  346. /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 → form-field-online-link-resources/form-field-online-link-resources.component.css} +0 -0
  347. /package/src/libs/ui/{elements → layout}/src/lib/sortable-list/sortable-list.component.css +0 -0
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "Diskussion",
25
25
  "dashboard.catalog.thesaurus": "Thesaurus",
26
26
  "dashboard.createRecord": "Neuer Eintrag",
27
+ "dashboard.importRecord": "",
28
+ "dashboard.importRecord.importExternal": "",
29
+ "dashboard.importRecord.importExternalLabel": "",
30
+ "dashboard.importRecord.useModel": "",
27
31
  "dashboard.labels.catalog": "Katalog",
28
32
  "dashboard.labels.mySpace": "Mein Bereich",
29
33
  "dashboard.records.all": "Katalog",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "unbekannt",
187
191
  "downloads.wfs.featuretype.not.found": "Der Layer wurde nicht gefunden",
188
192
  "dropFile": "Datei ablegen",
193
+ "editor.form.keywords.placeholder": "",
189
194
  "editor.form.placeKeywordWithoutExtent": "",
190
195
  "editor.record.delete.confirmation.cancelText": "Stornieren",
191
196
  "editor.record.delete.confirmation.confirmText": "Löschen",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "",
205
210
  "editor.record.form.field.keywords": "Schlagwörter",
206
211
  "editor.record.form.field.license": "Lizenz",
212
+ "editor.record.form.field.onlineLinkResources": "",
213
+ "editor.record.form.field.onlineResource.cancel": "",
214
+ "editor.record.form.field.onlineResource.confirm": "",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "",
216
+ "editor.record.form.field.onlineResource.edit.description": "",
217
+ "editor.record.form.field.onlineResource.edit.title": "",
218
+ "editor.record.form.field.onlineResource.fileSize": "",
219
+ "editor.record.form.field.onlineResource.modify": "",
207
220
  "editor.record.form.field.overviews": "",
208
221
  "editor.record.form.field.recordUpdated": "Datensatz zuletzt aktualisiert",
209
222
  "editor.record.form.field.resourceUpdated": "Letztes Aktualisierungsdatum",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "Datum",
243
256
  "editor.record.form.temporalExtents.range": "Datumsbereich",
244
257
  "editor.record.form.updateFrequency.planned": "Die Daten sollten regelmäßig aktualisiert werden.",
258
+ "editor.record.importFromExternalFile.failure.body": "",
259
+ "editor.record.importFromExternalFile.failure.title": "",
260
+ "editor.record.importFromExternalFile.success.body": "",
261
+ "editor.record.importFromExternalFile.success.title": "",
245
262
  "editor.record.loadError.body": "Der Datensatz konnte nicht geladen werden:",
246
263
  "editor.record.loadError.closeMessage": "Verstanden",
247
264
  "editor.record.loadError.title": "Fehler beim Laden des Datensatzes",
265
+ "editor.record.onlineResourceError.body": "",
266
+ "editor.record.onlineResourceError.closeMessage": "",
267
+ "editor.record.onlineResourceError.title": "",
248
268
  "editor.record.placeKeywordWithoutLabel": "",
249
269
  "editor.record.publish": "Diesen Datensatz veröffentlichen",
250
270
  "editor.record.publishError.body": "Der Datensatz konnte nicht veröffentlicht werden:",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "Discussion",
25
25
  "dashboard.catalog.thesaurus": "Thesaurus",
26
26
  "dashboard.createRecord": "New record",
27
+ "dashboard.importRecord": "Import",
28
+ "dashboard.importRecord.importExternal": "Import an external file",
29
+ "dashboard.importRecord.importExternalLabel": "External file URL",
30
+ "dashboard.importRecord.useModel": "Use a model",
27
31
  "dashboard.labels.catalog": "Catalog",
28
32
  "dashboard.labels.mySpace": "My space",
29
33
  "dashboard.records.all": "Metadata records",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "unknown",
187
191
  "downloads.wfs.featuretype.not.found": "The layer was not found",
188
192
  "dropFile": "drop file",
193
+ "editor.form.keywords.placeholder": "Select a keyword",
189
194
  "editor.form.placeKeywordWithoutExtent": "This keyword is not associated with a geographical extent",
190
195
  "editor.record.delete.confirmation.cancelText": "Cancel",
191
196
  "editor.record.delete.confirmation.confirmText": "Delete",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "Please provide at least one point of contact responsible for the data.",
205
210
  "editor.record.form.field.keywords": "Keywords",
206
211
  "editor.record.form.field.license": "License",
212
+ "editor.record.form.field.onlineLinkResources": "Attached resources",
213
+ "editor.record.form.field.onlineResource.cancel": "Cancel",
214
+ "editor.record.form.field.onlineResource.confirm": "Confirm",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "Modify the resource preview",
216
+ "editor.record.form.field.onlineResource.edit.description": "Description",
217
+ "editor.record.form.field.onlineResource.edit.title": "Title",
218
+ "editor.record.form.field.onlineResource.fileSize": "{sizeMB}MB",
219
+ "editor.record.form.field.onlineResource.modify": "Modify",
207
220
  "editor.record.form.field.overviews": "Overviews",
208
221
  "editor.record.form.field.recordUpdated": "Record Updated",
209
222
  "editor.record.form.field.resourceUpdated": "Resource Updated",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "Date",
243
256
  "editor.record.form.temporalExtents.range": "Date range",
244
257
  "editor.record.form.updateFrequency.planned": "The data should be updated regularly.",
258
+ "editor.record.importFromExternalFile.failure.body": "Failure",
259
+ "editor.record.importFromExternalFile.failure.title": "The import of the record has failed: ",
260
+ "editor.record.importFromExternalFile.success.body": "Import succesful",
261
+ "editor.record.importFromExternalFile.success.title": "The record has been succefuly imported.",
245
262
  "editor.record.loadError.body": "The record could not be loaded:",
246
263
  "editor.record.loadError.closeMessage": "Understood",
247
264
  "editor.record.loadError.title": "Error loading record",
265
+ "editor.record.onlineResourceError.body": "An error happened while adding the resource:",
266
+ "editor.record.onlineResourceError.closeMessage": "Understood",
267
+ "editor.record.onlineResourceError.title": "Error adding resource",
248
268
  "editor.record.placeKeywordWithoutLabel": "Unnamed location",
249
269
  "editor.record.publish": "Publish this record",
250
270
  "editor.record.publishError.body": "The record could not be published:",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "",
25
25
  "dashboard.catalog.thesaurus": "",
26
26
  "dashboard.createRecord": "",
27
+ "dashboard.importRecord": "",
28
+ "dashboard.importRecord.importExternal": "",
29
+ "dashboard.importRecord.importExternalLabel": "",
30
+ "dashboard.importRecord.useModel": "",
27
31
  "dashboard.labels.catalog": "Catálogo",
28
32
  "dashboard.labels.mySpace": "Mi espacio",
29
33
  "dashboard.records.all": "Catálogo",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "",
187
191
  "downloads.wfs.featuretype.not.found": "",
188
192
  "dropFile": "",
193
+ "editor.form.keywords.placeholder": "",
189
194
  "editor.form.placeKeywordWithoutExtent": "",
190
195
  "editor.record.delete.confirmation.cancelText": "",
191
196
  "editor.record.delete.confirmation.confirmText": "",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "",
205
210
  "editor.record.form.field.keywords": "",
206
211
  "editor.record.form.field.license": "",
212
+ "editor.record.form.field.onlineLinkResources": "",
213
+ "editor.record.form.field.onlineResource.cancel": "",
214
+ "editor.record.form.field.onlineResource.confirm": "",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "",
216
+ "editor.record.form.field.onlineResource.edit.description": "",
217
+ "editor.record.form.field.onlineResource.edit.title": "",
218
+ "editor.record.form.field.onlineResource.fileSize": "",
219
+ "editor.record.form.field.onlineResource.modify": "",
207
220
  "editor.record.form.field.overviews": "",
208
221
  "editor.record.form.field.recordUpdated": "",
209
222
  "editor.record.form.field.resourceUpdated": "",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "",
243
256
  "editor.record.form.temporalExtents.range": "",
244
257
  "editor.record.form.updateFrequency.planned": "",
258
+ "editor.record.importFromExternalFile.failure.body": "",
259
+ "editor.record.importFromExternalFile.failure.title": "",
260
+ "editor.record.importFromExternalFile.success.body": "",
261
+ "editor.record.importFromExternalFile.success.title": "",
245
262
  "editor.record.loadError.body": "",
246
263
  "editor.record.loadError.closeMessage": "",
247
264
  "editor.record.loadError.title": "",
265
+ "editor.record.onlineResourceError.body": "",
266
+ "editor.record.onlineResourceError.closeMessage": "",
267
+ "editor.record.onlineResourceError.title": "",
248
268
  "editor.record.placeKeywordWithoutLabel": "",
249
269
  "editor.record.publish": "",
250
270
  "editor.record.publishError.body": "",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "Discussions",
25
25
  "dashboard.catalog.thesaurus": "Thesaurus",
26
26
  "dashboard.createRecord": "Nouvel enregistrement",
27
+ "dashboard.importRecord": "Importer",
28
+ "dashboard.importRecord.importExternal": "Importer une fiche externe",
29
+ "dashboard.importRecord.importExternalLabel": "URL de la fiche externe",
30
+ "dashboard.importRecord.useModel": "Utiliser un modele",
27
31
  "dashboard.labels.catalog": "Catalogue",
28
32
  "dashboard.labels.mySpace": "Mon espace",
29
33
  "dashboard.records.all": "Catalogue",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "inconnu",
187
191
  "downloads.wfs.featuretype.not.found": "La couche n'a pas été retrouvée",
188
192
  "dropFile": "Faites glisser votre fichier",
193
+ "editor.form.keywords.placeholder": "Sélectionner un mot-clé",
189
194
  "editor.form.placeKeywordWithoutExtent": "Ce mot-clé n'a pas de localisation géographique associée",
190
195
  "editor.record.delete.confirmation.cancelText": "Annuler",
191
196
  "editor.record.delete.confirmation.confirmText": "Supprimer",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "Veuillez renseigner au moins un point de contact responsable de la donnée.",
205
210
  "editor.record.form.field.keywords": "Mots-clés",
206
211
  "editor.record.form.field.license": "Licence",
212
+ "editor.record.form.field.onlineLinkResources": "Annexes",
213
+ "editor.record.form.field.onlineResource.cancel": "Annuler",
214
+ "editor.record.form.field.onlineResource.confirm": "Valider",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "Modifier l'aperçu de la ressource",
216
+ "editor.record.form.field.onlineResource.edit.description": "Description",
217
+ "editor.record.form.field.onlineResource.edit.title": "Titre",
218
+ "editor.record.form.field.onlineResource.fileSize": "{sizeMB} Mo",
219
+ "editor.record.form.field.onlineResource.modify": "Modifier",
207
220
  "editor.record.form.field.overviews": "Aperçus",
208
221
  "editor.record.form.field.recordUpdated": "Date de dernière révision",
209
222
  "editor.record.form.field.resourceUpdated": "Date de dernière révision",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "Date concernée",
243
256
  "editor.record.form.temporalExtents.range": "Période concernée",
244
257
  "editor.record.form.updateFrequency.planned": "Ces données doivent être mise à jour régulièrement.",
258
+ "editor.record.importFromExternalFile.failure.body": "Une erreur est survenue pendant l'import de la fiche: ",
259
+ "editor.record.importFromExternalFile.failure.title": "Erreur",
260
+ "editor.record.importFromExternalFile.success.body": "L'import de la fiche de metadonnée à été realisée avec succès.",
261
+ "editor.record.importFromExternalFile.success.title": "Import reussi",
245
262
  "editor.record.loadError.body": "La fiche n'a pas pu être chargée :",
246
263
  "editor.record.loadError.closeMessage": "Compris",
247
264
  "editor.record.loadError.title": "Erreur lors du chargement",
265
+ "editor.record.onlineResourceError.body": "Une erreur est survenue lors de l'ajout de la resource:",
266
+ "editor.record.onlineResourceError.closeMessage": "Compris",
267
+ "editor.record.onlineResourceError.title": "Erreur lors de l'ajout d'une ressource",
248
268
  "editor.record.placeKeywordWithoutLabel": "Localisation sans nom",
249
269
  "editor.record.publish": "Publier cette fiche",
250
270
  "editor.record.publishError.body": "La fiche n'a pas pu être publiée :",
@@ -283,7 +303,7 @@
283
303
  "input.file.orInputUrl": "ou",
284
304
  "input.file.selectFileLabel": "Sélectionnez un fichier ({sizeMB} Mo max.)",
285
305
  "input.file.uploadProgressCancel": "Annuler",
286
- "input.file.uploadProgressLabel": "Chargement en cours......",
306
+ "input.file.uploadProgressLabel": "Chargement en cours...",
287
307
  "input.image.altTextPlaceholder": "Texte alternatif de l'image",
288
308
  "input.image.delete": "Supprimer",
289
309
  "input.image.displayAltTextInput": "Texte alternatif",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "",
25
25
  "dashboard.catalog.thesaurus": "",
26
26
  "dashboard.createRecord": "Crea un record",
27
+ "dashboard.importRecord": "",
28
+ "dashboard.importRecord.importExternal": "",
29
+ "dashboard.importRecord.importExternalLabel": "",
30
+ "dashboard.importRecord.useModel": "",
27
31
  "dashboard.labels.catalog": "Catalogo",
28
32
  "dashboard.labels.mySpace": "Il mio spazio",
29
33
  "dashboard.records.all": "Catalogo",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "sconosciuto",
187
191
  "downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
188
192
  "dropFile": "Trascina il suo file",
193
+ "editor.form.keywords.placeholder": "",
189
194
  "editor.form.placeKeywordWithoutExtent": "",
190
195
  "editor.record.delete.confirmation.cancelText": "",
191
196
  "editor.record.delete.confirmation.confirmText": "",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "",
205
210
  "editor.record.form.field.keywords": "",
206
211
  "editor.record.form.field.license": "Licenza",
212
+ "editor.record.form.field.onlineLinkResources": "",
213
+ "editor.record.form.field.onlineResource.cancel": "",
214
+ "editor.record.form.field.onlineResource.confirm": "",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "",
216
+ "editor.record.form.field.onlineResource.edit.description": "",
217
+ "editor.record.form.field.onlineResource.edit.title": "",
218
+ "editor.record.form.field.onlineResource.fileSize": "",
219
+ "editor.record.form.field.onlineResource.modify": "",
207
220
  "editor.record.form.field.overviews": "",
208
221
  "editor.record.form.field.recordUpdated": "",
209
222
  "editor.record.form.field.resourceUpdated": "",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "",
243
256
  "editor.record.form.temporalExtents.range": "",
244
257
  "editor.record.form.updateFrequency.planned": "",
258
+ "editor.record.importFromExternalFile.failure.body": "",
259
+ "editor.record.importFromExternalFile.failure.title": "",
260
+ "editor.record.importFromExternalFile.success.body": "",
261
+ "editor.record.importFromExternalFile.success.title": "",
245
262
  "editor.record.loadError.body": "",
246
263
  "editor.record.loadError.closeMessage": "",
247
264
  "editor.record.loadError.title": "",
265
+ "editor.record.onlineResourceError.body": "",
266
+ "editor.record.onlineResourceError.closeMessage": "",
267
+ "editor.record.onlineResourceError.title": "",
248
268
  "editor.record.placeKeywordWithoutLabel": "",
249
269
  "editor.record.publish": "",
250
270
  "editor.record.publishError.body": "",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "",
25
25
  "dashboard.catalog.thesaurus": "",
26
26
  "dashboard.createRecord": "",
27
+ "dashboard.importRecord": "",
28
+ "dashboard.importRecord.importExternal": "",
29
+ "dashboard.importRecord.importExternalLabel": "",
30
+ "dashboard.importRecord.useModel": "",
27
31
  "dashboard.labels.catalog": "Catalogus",
28
32
  "dashboard.labels.mySpace": "Mijn ruimte",
29
33
  "dashboard.records.all": "Catalogus",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "",
187
191
  "downloads.wfs.featuretype.not.found": "",
188
192
  "dropFile": "",
193
+ "editor.form.keywords.placeholder": "",
189
194
  "editor.form.placeKeywordWithoutExtent": "",
190
195
  "editor.record.delete.confirmation.cancelText": "",
191
196
  "editor.record.delete.confirmation.confirmText": "",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "",
205
210
  "editor.record.form.field.keywords": "",
206
211
  "editor.record.form.field.license": "",
212
+ "editor.record.form.field.onlineLinkResources": "",
213
+ "editor.record.form.field.onlineResource.cancel": "",
214
+ "editor.record.form.field.onlineResource.confirm": "",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "",
216
+ "editor.record.form.field.onlineResource.edit.description": "",
217
+ "editor.record.form.field.onlineResource.edit.title": "",
218
+ "editor.record.form.field.onlineResource.fileSize": "",
219
+ "editor.record.form.field.onlineResource.modify": "",
207
220
  "editor.record.form.field.overviews": "",
208
221
  "editor.record.form.field.recordUpdated": "",
209
222
  "editor.record.form.field.resourceUpdated": "",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "",
243
256
  "editor.record.form.temporalExtents.range": "",
244
257
  "editor.record.form.updateFrequency.planned": "",
258
+ "editor.record.importFromExternalFile.failure.body": "",
259
+ "editor.record.importFromExternalFile.failure.title": "",
260
+ "editor.record.importFromExternalFile.success.body": "",
261
+ "editor.record.importFromExternalFile.success.title": "",
245
262
  "editor.record.loadError.body": "",
246
263
  "editor.record.loadError.closeMessage": "",
247
264
  "editor.record.loadError.title": "",
265
+ "editor.record.onlineResourceError.body": "",
266
+ "editor.record.onlineResourceError.closeMessage": "",
267
+ "editor.record.onlineResourceError.title": "",
248
268
  "editor.record.placeKeywordWithoutLabel": "",
249
269
  "editor.record.publish": "",
250
270
  "editor.record.publishError.body": "",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "",
25
25
  "dashboard.catalog.thesaurus": "",
26
26
  "dashboard.createRecord": "",
27
+ "dashboard.importRecord": "",
28
+ "dashboard.importRecord.importExternal": "",
29
+ "dashboard.importRecord.importExternalLabel": "",
30
+ "dashboard.importRecord.useModel": "",
27
31
  "dashboard.labels.catalog": "Catálogo",
28
32
  "dashboard.labels.mySpace": "Meu espaço",
29
33
  "dashboard.records.all": "Catálogo",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "",
187
191
  "downloads.wfs.featuretype.not.found": "",
188
192
  "dropFile": "",
193
+ "editor.form.keywords.placeholder": "",
189
194
  "editor.form.placeKeywordWithoutExtent": "",
190
195
  "editor.record.delete.confirmation.cancelText": "",
191
196
  "editor.record.delete.confirmation.confirmText": "",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "",
205
210
  "editor.record.form.field.keywords": "",
206
211
  "editor.record.form.field.license": "",
212
+ "editor.record.form.field.onlineLinkResources": "",
213
+ "editor.record.form.field.onlineResource.cancel": "",
214
+ "editor.record.form.field.onlineResource.confirm": "",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "",
216
+ "editor.record.form.field.onlineResource.edit.description": "",
217
+ "editor.record.form.field.onlineResource.edit.title": "",
218
+ "editor.record.form.field.onlineResource.fileSize": "",
219
+ "editor.record.form.field.onlineResource.modify": "",
207
220
  "editor.record.form.field.overviews": "",
208
221
  "editor.record.form.field.recordUpdated": "",
209
222
  "editor.record.form.field.resourceUpdated": "",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "",
243
256
  "editor.record.form.temporalExtents.range": "",
244
257
  "editor.record.form.updateFrequency.planned": "",
258
+ "editor.record.importFromExternalFile.failure.body": "",
259
+ "editor.record.importFromExternalFile.failure.title": "",
260
+ "editor.record.importFromExternalFile.success.body": "",
261
+ "editor.record.importFromExternalFile.success.title": "",
245
262
  "editor.record.loadError.body": "",
246
263
  "editor.record.loadError.closeMessage": "",
247
264
  "editor.record.loadError.title": "",
265
+ "editor.record.onlineResourceError.body": "",
266
+ "editor.record.onlineResourceError.closeMessage": "",
267
+ "editor.record.onlineResourceError.title": "",
248
268
  "editor.record.placeKeywordWithoutLabel": "",
249
269
  "editor.record.publish": "",
250
270
  "editor.record.publishError.body": "",
@@ -24,6 +24,10 @@
24
24
  "dashboard.catalog.discussion": "",
25
25
  "dashboard.catalog.thesaurus": "",
26
26
  "dashboard.createRecord": "",
27
+ "dashboard.importRecord": "",
28
+ "dashboard.importRecord.importExternal": "",
29
+ "dashboard.importRecord.importExternalLabel": "",
30
+ "dashboard.importRecord.useModel": "",
27
31
  "dashboard.labels.catalog": "Katalóg",
28
32
  "dashboard.labels.mySpace": "Môj priestor",
29
33
  "dashboard.records.all": "Katalóg",
@@ -186,6 +190,7 @@
186
190
  "downloads.format.unknown": "neznámy",
187
191
  "downloads.wfs.featuretype.not.found": "Vrstva nebola nájdená",
188
192
  "dropFile": "nahrať súbor",
193
+ "editor.form.keywords.placeholder": "",
189
194
  "editor.form.placeKeywordWithoutExtent": "",
190
195
  "editor.record.delete.confirmation.cancelText": "",
191
196
  "editor.record.delete.confirmation.confirmText": "",
@@ -204,6 +209,14 @@
204
209
  "editor.record.form.field.contactsForResource.noContact": "",
205
210
  "editor.record.form.field.keywords": "",
206
211
  "editor.record.form.field.license": "Licencia",
212
+ "editor.record.form.field.onlineLinkResources": "",
213
+ "editor.record.form.field.onlineResource.cancel": "",
214
+ "editor.record.form.field.onlineResource.confirm": "",
215
+ "editor.record.form.field.onlineResource.dialogTitle": "",
216
+ "editor.record.form.field.onlineResource.edit.description": "",
217
+ "editor.record.form.field.onlineResource.edit.title": "",
218
+ "editor.record.form.field.onlineResource.fileSize": "",
219
+ "editor.record.form.field.onlineResource.modify": "",
207
220
  "editor.record.form.field.overviews": "",
208
221
  "editor.record.form.field.recordUpdated": "",
209
222
  "editor.record.form.field.resourceUpdated": "",
@@ -242,9 +255,16 @@
242
255
  "editor.record.form.temporalExtents.date": "",
243
256
  "editor.record.form.temporalExtents.range": "",
244
257
  "editor.record.form.updateFrequency.planned": "",
258
+ "editor.record.importFromExternalFile.failure.body": "",
259
+ "editor.record.importFromExternalFile.failure.title": "",
260
+ "editor.record.importFromExternalFile.success.body": "",
261
+ "editor.record.importFromExternalFile.success.title": "",
245
262
  "editor.record.loadError.body": "",
246
263
  "editor.record.loadError.closeMessage": "",
247
264
  "editor.record.loadError.title": "",
265
+ "editor.record.onlineResourceError.body": "",
266
+ "editor.record.onlineResourceError.closeMessage": "",
267
+ "editor.record.onlineResourceError.title": "",
248
268
  "editor.record.placeKeywordWithoutLabel": "",
249
269
  "editor.record.publish": "",
250
270
  "editor.record.publishError.body": "",
@@ -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
- type: Output
95
- }] } });
96
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcnZpZXctdXBsb2FkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL292ZXJ2aWV3LXVwbG9hZC9vdmVydmlldy11cGxvYWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL2VkaXRvci9zcmMvbGliL2NvbXBvbmVudHMvb3ZlcnZpZXctdXBsb2FkL292ZXJ2aWV3LXVwbG9hZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFDOUMsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVB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2duLXVpLWltYWdlLWlucHV0PlxuIl19
@@ -1,19 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
2
- import { DatePickerComponent } from '../../../../../../../../../libs/ui/inputs/src';
3
- import * as i0 from "@angular/core";
4
- export class FormFieldResourceUpdatedComponent {
5
- constructor() {
6
- this.valueChange = new EventEmitter();
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldResourceUpdatedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: FormFieldResourceUpdatedComponent, isStandalone: true, selector: "gn-ui-form-field-resource-updated", inputs: { value: "value" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<gn-ui-date-picker\n [date]=\"value\"\n (dateChange)=\"valueChange.emit($event)\"\n></gn-ui-date-picker>\n", styles: [""], dependencies: [{ kind: "component", type: DatePickerComponent, selector: "gn-ui-date-picker", inputs: ["date"], outputs: ["dateChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormFieldResourceUpdatedComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'gn-ui-form-field-resource-updated', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DatePickerComponent], template: "<gn-ui-date-picker\n [date]=\"value\"\n (dateChange)=\"valueChange.emit($event)\"\n></gn-ui-date-picker>\n" }]
14
- }], propDecorators: { value: [{
15
- type: Input
16
- }], valueChange: [{
17
- type: Output
18
- }] } });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1yZXNvdXJjZS11cGRhdGVkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJ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@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
-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lbnQsIFRyYW5zbGF0ZU1vZHVsZV0sXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1GaWVsZFRlbXBvcmFsRXh0ZW50c0RhdGVDb21wb25lbnQge1xuICBASW5wdXQoKSBjb250cm9sITogRm9ybUNvbnRyb2xcbn1cbiIsIjxkaXYgY2xhc3M9XCJib3JkZXIgcm91bmRlZC1sZyBweC00IHBiLTRcIj5cbiAgPHAgY2xhc3M9XCJteS0yXCIgdHJhbnNsYXRlPmVkaXRvci5yZWNvcmQuZm9ybS50ZW1wb3JhbEV4dGVudHMuZGF0ZTwvcD5cbiAgPGduLXVpLWRhdGUtcGlja2VyXG4gICAgW2RhdGVdPVwiY29udHJvbC52YWx1ZT8uc3RhcnRcIlxuICAgIChkYXRlQ2hhbmdlKT1cImNvbnRyb2wuc2V0VmFsdWUoeyBzdGFydDogJGV2ZW50IH0pXCJcbiAgPjwvZ24tdWktZGF0ZS1waWNrZXI+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnRzLXJhbmdlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9jb21wb25lbnRzL3JlY29yZC1mb3JtL2Z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