geonetwork-ui 2.3.0-dev.6e2b8bea → 2.3.0-dev.c22cb78a

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 (246) hide show
  1. package/esm2022/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +5 -1
  3. package/esm2022/libs/data-access/gn4/src/openapi/api/records.api.service.mjs +35 -7
  4. package/esm2022/libs/data-access/gn4/src/openapi/model/models.mjs +1 -2
  5. package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +2 -2
  6. package/esm2022/libs/feature/editor/src/index.mjs +2 -2
  7. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
  8. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
  9. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
  10. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
  11. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
  12. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
  13. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
  14. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
  15. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +107 -0
  16. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
  17. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
  19. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
  20. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
  21. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
  22. package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
  23. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
  24. package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
  25. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
  26. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
  27. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
  28. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
  29. package/esm2022/libs/ui/elements/src/index.mjs +15 -15
  30. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +5 -5
  31. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
  32. package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +3 -3
  33. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
  34. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +3 -3
  35. package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +4 -3
  36. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +6 -5
  37. package/esm2022/libs/ui/inputs/src/index.mjs +1 -2
  38. package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -1
  39. package/esm2022/libs/ui/inputs/src/lib/files-drop/files-drop.directive.mjs +59 -0
  40. package/esm2022/libs/ui/inputs/src/lib/image-input/image-input.component.mjs +183 -0
  41. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +10 -23
  42. package/esm2022/libs/ui/layout/src/index.mjs +6 -5
  43. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
  44. package/esm2022/libs/util/shared/src/lib/utils/bytes-convert.mjs +4 -0
  45. package/esm2022/libs/util/shared/src/lib/utils/image-resize.mjs +60 -0
  46. package/esm2022/libs/util/shared/src/lib/utils/index.mjs +8 -6
  47. package/esm2022/translations/de.json +18 -0
  48. package/esm2022/translations/en.json +18 -0
  49. package/esm2022/translations/es.json +18 -0
  50. package/esm2022/translations/fr.json +18 -0
  51. package/esm2022/translations/it.json +18 -0
  52. package/esm2022/translations/nl.json +18 -0
  53. package/esm2022/translations/pt.json +18 -0
  54. package/fesm2022/geonetwork-ui.mjs +1766 -1142
  55. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  56. package/index.d.ts +1 -0
  57. package/index.d.ts.map +1 -1
  58. package/index.ts +1 -0
  59. package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
  60. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts +9 -5
  61. package/libs/data-access/gn4/src/openapi/api/records.api.service.d.ts.map +1 -1
  62. package/libs/data-access/gn4/src/openapi/model/models.d.ts +0 -1
  63. package/libs/data-access/gn4/src/openapi/model/models.d.ts.map +1 -1
  64. package/libs/feature/editor/src/index.d.ts +1 -1
  65. package/libs/feature/editor/src/index.d.ts.map +1 -1
  66. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
  67. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  68. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.d.ts +1 -1
  69. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
  70. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.d.ts +1 -1
  71. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
  72. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.d.ts +1 -1
  73. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.d.ts.map +1 -0
  74. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
  75. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
  76. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.d.ts +2 -2
  77. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
  78. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts +1 -1
  79. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +1 -0
  80. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts +1 -1
  81. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +1 -0
  82. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +8 -3
  83. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
  84. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
  85. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
  86. package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
  87. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
  88. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -1
  89. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  90. package/libs/feature/editor/src/lib/models/fields.model.d.ts +1 -1
  91. package/libs/feature/notifications/src/index.d.ts +4 -0
  92. package/libs/feature/notifications/src/index.d.ts.map +1 -0
  93. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
  94. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
  95. package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
  96. package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
  97. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
  98. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
  99. package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
  100. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
  101. package/libs/ui/elements/src/index.d.ts +14 -14
  102. package/libs/ui/elements/src/index.d.ts.map +1 -1
  103. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
  104. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
  105. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
  106. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
  107. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +1 -1
  108. package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
  109. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +20 -20
  110. package/libs/ui/inputs/src/index.d.ts +0 -1
  111. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  112. package/libs/ui/inputs/src/lib/button/button.component.d.ts.map +1 -1
  113. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts +14 -0
  114. package/libs/ui/inputs/src/lib/files-drop/files-drop.directive.d.ts.map +1 -0
  115. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts +44 -0
  116. package/libs/ui/inputs/src/lib/image-input/image-input.component.d.ts.map +1 -0
  117. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +26 -33
  118. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  119. package/libs/ui/layout/src/index.d.ts +5 -4
  120. package/libs/ui/layout/src/index.d.ts.map +1 -1
  121. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
  122. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
  123. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts +2 -0
  124. package/libs/util/shared/src/lib/utils/bytes-convert.d.ts.map +1 -0
  125. package/libs/util/shared/src/lib/utils/image-resize.d.ts +3 -0
  126. package/libs/util/shared/src/lib/utils/image-resize.d.ts.map +1 -0
  127. package/libs/util/shared/src/lib/utils/index.d.ts +7 -5
  128. package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
  129. package/package.json +1 -1
  130. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +6 -0
  131. package/src/libs/data-access/gn4/src/openapi/api/records.api.service.ts +43 -12
  132. package/src/libs/data-access/gn4/src/openapi/model/models.ts +0 -1
  133. package/src/libs/data-access/gn4/src/spec.yaml +1 -1
  134. package/src/libs/feature/dataviz/src/lib/service/data.service.ts +1 -1
  135. package/src/libs/feature/editor/src/index.ts +1 -1
  136. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
  137. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.html +8 -0
  138. package/src/libs/feature/editor/src/lib/components/overview-upload/overview-upload.component.ts +70 -0
  139. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.ts +1 -0
  140. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.ts +4 -1
  141. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.ts +1 -0
  142. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
  143. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
  144. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.ts +4 -1
  145. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts +1 -0
  146. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts +1 -0
  147. package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.html +28 -4
  148. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +121 -0
  149. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
  150. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
  151. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
  152. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
  153. package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
  154. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
  155. package/src/libs/feature/notifications/src/index.ts +3 -0
  156. package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
  157. package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
  158. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
  159. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
  160. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
  161. package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
  162. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
  163. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
  164. package/src/libs/ui/elements/src/index.ts +14 -14
  165. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  166. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
  167. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
  168. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
  169. package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
  170. package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
  171. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
  172. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +1 -1
  173. package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +5 -3
  174. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -1
  175. package/src/libs/ui/inputs/src/index.ts +0 -1
  176. package/src/libs/ui/inputs/src/lib/button/button.component.ts +1 -1
  177. package/src/libs/ui/inputs/src/lib/files-drop/files-drop.directive.ts +45 -0
  178. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.css +0 -0
  179. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.html +146 -0
  180. package/src/libs/ui/inputs/src/lib/image-input/image-input.component.ts +193 -0
  181. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -19
  182. package/src/libs/ui/layout/src/index.ts +5 -4
  183. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
  184. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
  185. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
  186. package/src/libs/util/shared/src/lib/utils/bytes-convert.ts +3 -0
  187. package/src/libs/util/shared/src/lib/utils/image-resize.ts +72 -0
  188. package/src/libs/util/shared/src/lib/utils/index.ts +7 -5
  189. package/tailwind.base.css +36 -0
  190. package/translations/de.json +18 -0
  191. package/translations/en.json +18 -0
  192. package/translations/es.json +18 -0
  193. package/translations/fr.json +18 -0
  194. package/translations/it.json +18 -0
  195. package/translations/nl.json +18 -0
  196. package/translations/pt.json +18 -0
  197. package/translations/sk.json +18 -0
  198. package/esm2022/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.mjs +0 -13
  199. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
  200. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
  201. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
  202. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
  203. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
  204. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
  205. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
  206. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  207. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
  208. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
  209. package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
  210. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts +0 -18
  211. package/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.d.ts.map +0 -1
  212. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
  213. package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
  214. package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
  215. package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
  216. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
  217. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
  218. package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
  219. package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
  220. package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  221. package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
  222. package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
  223. package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
  224. package/src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts +0 -18
  225. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
  226. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
  227. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
  228. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
  229. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
  230. /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/overview-upload/overview-upload.component.css} +0 -0
  231. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.css +0 -0
  232. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-array/form-field-array.component.html +0 -0
  233. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.css +0 -0
  234. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-file/form-field-file.component.html +0 -0
  235. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.css +0 -0
  236. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-object/form-field-object.component.html +0 -0
  237. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-rich/form-field-rich.component.css +0 -0
  238. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.css +0 -0
  239. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-simple/form-field-simple.component.html +0 -0
  240. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css +0 -0
  241. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-spatial-extent/form-field-spatial-extent.component.html +0 -0
  242. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css +0 -0
  243. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field-temporal-extent/form-field-temporal-extent.component.html +0 -0
  244. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.css +0 -0
  245. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
  246. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
@@ -1,10 +0,0 @@
1
- export * from './form-field-simple/form-field-simple.component';
2
- export * from './form-field-file/form-field-file.component';
3
- export * from './form-field-rich/form-field-rich.component';
4
- export * from './form-field-object/form-field-object.component';
5
- export * from './form-field-array/form-field-array.component';
6
- export * from './form-field-spatial-extent/form-field-spatial-extent.component';
7
- export * from './form-field-temporal-extent/form-field-temporal-extent.component';
8
- export * from './form-field.component';
9
- export * from './form-field.model';
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpREFBaUQsQ0FBQTtBQUMvRCxjQUFjLDZDQUE2QyxDQUFBO0FBQzNELGNBQWMsNkNBQTZDLENBQUE7QUFDM0QsY0FBYyxpREFBaUQsQ0FBQTtBQUMvRCxjQUFjLCtDQUErQyxDQUFBO0FBQzdELGNBQWMsaUVBQWlFLENBQUE7QUFDL0UsY0FBYyxtRUFBbUUsQ0FBQTtBQUNqRixjQUFjLHdCQUF3QixDQUFBO0FBQ3RDLGNBQWMsb0JBQW9CLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Zvcm0tZmllbGQtc2ltcGxlL2Zvcm0tZmllbGQtc2ltcGxlLmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vZm9ybS1maWVsZC1maWxlL2Zvcm0tZmllbGQtZmlsZS5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tZmllbGQtcmljaC9mb3JtLWZpZWxkLXJpY2guY29tcG9uZW50J1xuZXhwb3J0ICogZnJvbSAnLi9mb3JtLWZpZWxkLW9iamVjdC9mb3JtLWZpZWxkLW9iamVjdC5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tZmllbGQtYXJyYXkvZm9ybS1maWVsZC1hcnJheS5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tZmllbGQtc3BhdGlhbC1leHRlbnQvZm9ybS1maWVsZC1zcGF0aWFsLWV4dGVudC5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tZmllbGQtdGVtcG9yYWwtZXh0ZW50L2Zvcm0tZmllbGQtdGVtcG9yYWwtZXh0ZW50LmNvbXBvbmVudCdcbmV4cG9ydCAqIGZyb20gJy4vZm9ybS1maWVsZC5jb21wb25lbnQnXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tZmllbGQubW9kZWwnXG4iXX0=
@@ -1,18 +0,0 @@
1
- /**
2
- * GeoNetwork 4.2.7 OpenAPI Documentation
3
- * This is the description of the GeoNetwork OpenAPI. Use this API to manage your catalog.
4
- *
5
- * The version of the OpenAPI document: 4.2.7
6
- * Contact: geonetwork-users@lists.sourceforge.net
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export interface InlineObject3ApiModel {
13
- /**
14
- * The file to upload
15
- */
16
- file: Blob;
17
- }
18
- //# sourceMappingURL=inlineObject3.api.model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inlineObject3.api.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/data-access/gn4/src/openapi/model/inlineObject3.api.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAA;CACX"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/record-form/record-form.component.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;;AAE3E,qBAQa,mBAAmB;IAGX,MAAM,EAAE,YAAY;IAFvC,OAAO;;;SAA4B;gBAEhB,MAAM,EAAE,YAAY;IAEvC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB;IAO1E,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB;yCAZxC,mBAAmB;2CAAnB,mBAAmB;CAe/B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-array.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.ts"],"names":[],"mappings":";AAEA,qBAMa,uBAAuB;yCAAvB,uBAAuB;2CAAvB,uBAAuB;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-file.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAE5C,qBAMa,sBAAsB;IACxB,OAAO,EAAG,WAAW,CAAA;IACrB,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;yCAJd,sBAAsB;2CAAtB,sBAAsB;CAKlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-object.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.ts"],"names":[],"mappings":";AAEA,qBAMa,wBAAwB;yCAAxB,wBAAwB;2CAAxB,wBAAwB;CAAG"}
@@ -1,11 +0,0 @@
1
- import { FormControl } from '@angular/forms';
2
- import * as i0 from "@angular/core";
3
- export declare class FormFieldRichComponent {
4
- control: FormControl;
5
- readonly: boolean;
6
- invalid: boolean;
7
- placeholder: string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldRichComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldRichComponent, "gn-ui-form-field-rich", never, { "control": { "alias": "control"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, false, never>;
10
- }
11
- //# sourceMappingURL=form-field-rich.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-rich.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAE5C,qBAMa,sBAAsB;IACxB,OAAO,EAAG,WAAW,CAAA;IACrB,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;yCAJd,sBAAsB;2CAAtB,sBAAsB;CAKlC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-simple.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;;AAE5C,qBAMa,wBAAwB;IAC1B,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC5D,OAAO,EAAG,WAAW,CAAA;IACrB,QAAQ,UAAQ;IAChB,OAAO,UAAQ;IACf,WAAW,SAAK;IAChB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;IAEtD,IAAI,SAAS,2DAcZ;IAED,IAAI,QAAQ,YAEX;yCA1BU,wBAAwB;2CAAxB,wBAAwB;CA2BpC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-spatial-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.ts"],"names":[],"mappings":";AAEA,qBAMa,+BAA+B;yCAA/B,+BAA+B;2CAA/B,+BAA+B;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field-temporal-extent.component.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.ts"],"names":[],"mappings":";AAEA,qBAMa,gCAAgC;yCAAhC,gCAAgC;2CAAhC,gCAAgC;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field.component.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;;AAEjC,qBAMa,kBAAkB;IACpB,MAAM,EAAE,eAAe,CAAA;IAChC,IAAa,KAAK,CAAC,CAAC,EAAE,OAAO,EAI5B;IACS,WAAW,EAAE,UAAU,CAAC,OAAO,CAAC,CAAA;IAE1C,WAAW,mBAAoB;;IAM/B,IAAI,UAAU,2DAQb;IAED,IAAI,aAAa,YAShB;IACD,IAAI,WAAW,YAEd;IACD,IAAI,WAAW,YAEd;IACD,IAAI,oBAAoB,YAEvB;IACD,IAAI,qBAAqB,YAExB;IACD,IAAI,YAAY,YAEf;IACD,IAAI,aAAa,YAEhB;IAED,IAAI,SAAS,YAEZ;IACD,IAAI,aAAa,YAEhB;IACD,IAAI,cAAc,YAEjB;yCA9DU,kBAAkB;2CAAlB,kBAAkB;CA+D9B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"form-field.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/form-field/form-field.model.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,GAClB,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,MAAM,GACN,gBAAgB,GAChB,iBAAiB,GACjB,KAAK,GACL,MAAM,GACN,QAAQ,CAAA;AAEZ,KAAK,gBAAgB,GAAG,iBAAiB,GAAG,QAAQ,GAAG,OAAO,CAAA;AAE9D,UAAU,mBAAmB;IAC3B,IAAI,EAAE,gBAAgB,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,IAAI,EAAE,iBAAiB,CAAA;CACxB;AAED,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,IAAI,EAAE,OAAO,CAAA;IACb,KAAK,EAAE,eAAe,CAAA;CACvB;AAED,MAAM,WAAW,qBAAsB,SAAQ,mBAAmB;IAChE,IAAI,EAAE,QAAQ,CAAA;IACd,MAAM,EAAE,KAAK,CAAC,eAAe,CAAC,CAAA;CAC/B;AAED,MAAM,MAAM,eAAe,GACvB,qBAAqB,GACrB,oBAAoB,GACpB,qBAAqB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/form-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mEAAmE,CAAA;AACjF,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA"}
@@ -1,18 +0,0 @@
1
- /**
2
- * GeoNetwork 4.2.7 OpenAPI Documentation
3
- * This is the description of the GeoNetwork OpenAPI. Use this API to manage your catalog.
4
- *
5
- * The version of the OpenAPI document: 4.2.7
6
- * Contact: geonetwork-users@lists.sourceforge.net
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
-
13
- export interface InlineObject3ApiModel {
14
- /**
15
- * The file to upload
16
- */
17
- file: Blob
18
- }
@@ -1,11 +0,0 @@
1
- <textarea
2
- [readonly]="readonly"
3
- [formControl]="control"
4
- [placeholder]="placeholder"
5
- class="border rounded-md p-3 w-full bg-white h-full resize-none transition-colors"
6
- [ngClass]="{
7
- 'border-pink-500': invalid,
8
- 'border-gray-200': !invalid,
9
- 'text-gray-600': readonly
10
- }"
11
- ></textarea>
@@ -1,15 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
2
- import { FormControl } from '@angular/forms'
3
-
4
- @Component({
5
- selector: 'gn-ui-form-field-rich',
6
- templateUrl: './form-field-rich.component.html',
7
- styleUrls: ['./form-field-rich.component.css'],
8
- changeDetection: ChangeDetectionStrategy.OnPush,
9
- })
10
- export class FormFieldRichComponent {
11
- @Input() control!: FormControl
12
- @Input() readonly = false
13
- @Input() invalid = false
14
- @Input() placeholder = ''
15
- }
@@ -1,80 +0,0 @@
1
- import {
2
- ChangeDetectionStrategy,
3
- Component,
4
- Input,
5
- Output,
6
- } from '@angular/core'
7
- import { FormFieldConfig } from './form-field.model'
8
- import { FormControl } from '@angular/forms'
9
- import { Observable } from 'rxjs'
10
-
11
- @Component({
12
- selector: 'gn-ui-form-field',
13
- templateUrl: './form-field.component.html',
14
- styleUrls: ['./form-field.component.css'],
15
- changeDetection: ChangeDetectionStrategy.OnPush,
16
- })
17
- export class FormFieldComponent {
18
- @Input() config: FormFieldConfig
19
- @Input() set value(v: unknown) {
20
- this.formControl.setValue(v, {
21
- emitEvent: false,
22
- })
23
- }
24
- @Output() valueChange: Observable<unknown>
25
-
26
- formControl = new FormControl()
27
-
28
- constructor() {
29
- this.valueChange = this.formControl.valueChanges
30
- }
31
-
32
- get simpleType() {
33
- return this.config.type as
34
- | 'date'
35
- | 'url'
36
- | 'text'
37
- | 'number'
38
- | 'list'
39
- | 'toggle'
40
- }
41
-
42
- get isSimpleField() {
43
- return (
44
- this.config.type === 'text' ||
45
- this.config.type === 'number' ||
46
- this.config.type === 'date' ||
47
- this.config.type === 'list' ||
48
- this.config.type === 'url' ||
49
- this.config.type === 'toggle'
50
- )
51
- }
52
- get isRichField() {
53
- return this.config.type === 'rich'
54
- }
55
- get isFileField() {
56
- return this.config.type === 'file'
57
- }
58
- get isSpatialExtentField() {
59
- return this.config.type === 'spatial_extent'
60
- }
61
- get isTemporalExtentField() {
62
- return this.config.type === 'temporal_extent'
63
- }
64
- get isArrayField() {
65
- return this.config.type === 'array'
66
- }
67
- get isObjectField() {
68
- return this.config.type === 'object'
69
- }
70
-
71
- get isFieldOk() {
72
- return !this.config.locked && !this.config.invalid
73
- }
74
- get isFieldLocked() {
75
- return this.config.locked
76
- }
77
- get isFieldInvalid() {
78
- return !this.config.locked && this.config.invalid
79
- }
80
- }