geonetwork-ui 2.3.0-dev.179fba83 → 2.3.0-dev.2b8cc035

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 (319) hide show
  1. package/esm2022/index.mjs +2 -1
  2. package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +3 -3
  3. package/esm2022/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.mjs +1 -1
  4. package/esm2022/libs/api/repository/src/lib/gn4/auth/gravatar.service.mjs +12 -1
  5. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.mjs +36 -3
  6. package/esm2022/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.mjs +19 -7
  7. package/esm2022/libs/common/domain/src/lib/model/record/index.mjs +2 -1
  8. package/esm2022/libs/common/domain/src/lib/model/record/user-feedbacks.model.mjs +2 -0
  9. package/esm2022/libs/common/domain/src/lib/model/user/index.mjs +2 -0
  10. package/esm2022/libs/common/domain/src/lib/platform.service.interface.mjs +1 -1
  11. package/esm2022/libs/feature/editor/src/index.mjs +2 -2
  12. package/esm2022/libs/feature/editor/src/lib/+state/editor.facade.mjs +6 -2
  13. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.mjs +11 -0
  14. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.mjs +28 -0
  15. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.mjs +64 -0
  16. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.mjs +11 -0
  17. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.mjs +15 -0
  18. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.mjs +45 -0
  19. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.mjs +50 -0
  20. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +11 -0
  21. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +11 -0
  22. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.mjs +121 -0
  23. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.mjs +2 -0
  24. package/esm2022/libs/feature/editor/src/lib/components/record-form/form-field/index.mjs +10 -0
  25. package/esm2022/libs/feature/editor/src/lib/components/record-form/record-form.component.mjs +29 -0
  26. package/esm2022/libs/feature/editor/src/lib/components/wizard-field/wizard-field.component.mjs +1 -1
  27. package/esm2022/libs/feature/editor/src/lib/feature-editor.module.mjs +10 -10
  28. package/esm2022/libs/feature/editor/src/lib/fields.config.mjs +16 -1
  29. package/esm2022/libs/feature/editor/src/lib/models/fields.model.mjs +1 -1
  30. package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +3 -3
  31. package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +1 -1
  32. package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +1 -1
  33. package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +1 -1
  34. package/esm2022/libs/feature/notifications/src/index.mjs +4 -0
  35. package/esm2022/libs/feature/notifications/src/lib/feature-notifications.module.mjs +18 -0
  36. package/esm2022/libs/feature/notifications/src/lib/notification.model.mjs +2 -0
  37. package/esm2022/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.mjs +49 -0
  38. package/esm2022/libs/feature/notifications/src/lib/notifications.service.mjs +29 -0
  39. package/esm2022/libs/feature/record/src/lib/feature-record.module.mjs +4 -4
  40. package/esm2022/libs/feature/record/src/lib/state/mdview.actions.mjs +22 -4
  41. package/esm2022/libs/feature/record/src/lib/state/mdview.effects.mjs +37 -10
  42. package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +22 -7
  43. package/esm2022/libs/feature/record/src/lib/state/mdview.reducer.mjs +52 -17
  44. package/esm2022/libs/feature/record/src/lib/state/mdview.selectors.mjs +18 -3
  45. package/esm2022/libs/feature/router/src/lib/default/state/router.effects.mjs +2 -2
  46. package/esm2022/libs/feature/search/src/lib/results-table/results-table.component.mjs +3 -3
  47. package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +3 -3
  48. package/esm2022/libs/ui/elements/src/index.mjs +15 -15
  49. package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +3 -3
  50. package/esm2022/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.mjs +45 -0
  51. package/esm2022/libs/ui/elements/src/lib/notification/notification.component.mjs +34 -0
  52. package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +34 -7
  53. package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +10 -2
  54. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.mjs +59 -0
  55. package/esm2022/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.mjs +62 -0
  56. package/esm2022/libs/ui/inputs/src/index.mjs +15 -16
  57. package/esm2022/libs/ui/inputs/src/lib/date-picker/date-picker.component.mjs +22 -0
  58. package/esm2022/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.mjs +7 -5
  59. package/esm2022/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.mjs +17 -8
  60. package/esm2022/libs/ui/inputs/src/lib/text-area/text-area.component.mjs +27 -4
  61. package/esm2022/libs/ui/inputs/src/lib/text-input/text-input.component.mjs +19 -3
  62. package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +11 -28
  63. package/esm2022/libs/ui/layout/src/index.mjs +6 -5
  64. package/esm2022/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.mjs +18 -0
  65. package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +22 -1
  66. package/esm2022/translations/de.json +34 -0
  67. package/esm2022/translations/en.json +34 -0
  68. package/esm2022/translations/es.json +34 -0
  69. package/esm2022/translations/fr.json +34 -0
  70. package/esm2022/translations/it.json +34 -0
  71. package/esm2022/translations/nl.json +34 -0
  72. package/esm2022/translations/pt.json +34 -0
  73. package/fesm2022/geonetwork-ui.mjs +2581 -1674
  74. package/fesm2022/geonetwork-ui.mjs.map +1 -1
  75. package/index.d.ts +1 -0
  76. package/index.d.ts.map +1 -1
  77. package/index.ts +1 -0
  78. package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts +1 -0
  79. package/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.d.ts.map +1 -1
  80. package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts +1 -0
  81. package/libs/api/repository/src/lib/gn4/auth/gravatar.service.d.ts.map +1 -1
  82. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts +6 -2
  83. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.d.ts.map +1 -1
  84. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts +9 -6
  85. package/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.d.ts.map +1 -1
  86. package/libs/common/domain/src/lib/model/record/index.d.ts +1 -0
  87. package/libs/common/domain/src/lib/model/record/index.d.ts.map +1 -1
  88. package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts +15 -0
  89. package/libs/common/domain/src/lib/model/record/user-feedbacks.model.d.ts.map +1 -0
  90. package/libs/common/domain/src/lib/model/user/index.d.ts +2 -0
  91. package/libs/common/domain/src/lib/model/user/index.d.ts.map +1 -0
  92. package/libs/common/domain/src/lib/platform.service.interface.d.ts +3 -0
  93. package/libs/common/domain/src/lib/platform.service.interface.d.ts.map +1 -1
  94. package/libs/feature/editor/src/index.d.ts +1 -1
  95. package/libs/feature/editor/src/index.d.ts.map +1 -1
  96. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts +8 -5
  97. package/libs/feature/editor/src/lib/+state/editor.facade.d.ts.map +1 -1
  98. 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
  99. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-array/form-field-array.component.d.ts.map +1 -0
  100. 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
  101. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-file/form-field-file.component.d.ts.map +1 -0
  102. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts +39 -0
  103. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.d.ts.map +1 -0
  104. 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
  105. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-object/form-field-object.component.d.ts.map +1 -0
  106. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts +8 -0
  107. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.d.ts.map +1 -0
  108. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts +16 -0
  109. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.d.ts.map +1 -0
  110. 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
  111. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.d.ts.map +1 -0
  112. 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
  113. 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
  114. 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
  115. 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
  116. package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.component.d.ts +12 -4
  117. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.d.ts.map +1 -0
  118. package/libs/feature/editor/src/lib/components/record-form/form-field/form-field.model.d.ts.map +1 -0
  119. package/libs/feature/editor/src/lib/components/record-form/form-field/index.d.ts.map +1 -0
  120. package/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.d.ts +3 -3
  121. package/libs/feature/editor/src/lib/components/record-form/record-form.component.d.ts.map +1 -0
  122. package/libs/feature/editor/src/lib/feature-editor.module.d.ts +1 -1
  123. package/libs/feature/editor/src/lib/feature-editor.module.d.ts.map +1 -1
  124. package/libs/feature/editor/src/lib/fields.config.d.ts.map +1 -1
  125. package/libs/feature/editor/src/lib/models/fields.model.d.ts +1 -1
  126. package/libs/feature/notifications/src/index.d.ts +4 -0
  127. package/libs/feature/notifications/src/index.d.ts.map +1 -0
  128. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts +7 -0
  129. package/libs/feature/notifications/src/lib/feature-notifications.module.d.ts.map +1 -0
  130. package/libs/feature/notifications/src/lib/notification.model.d.ts +7 -0
  131. package/libs/feature/notifications/src/lib/notification.model.d.ts.map +1 -0
  132. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts +12 -0
  133. package/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.d.ts.map +1 -0
  134. package/libs/feature/notifications/src/lib/notifications.service.d.ts +15 -0
  135. package/libs/feature/notifications/src/lib/notifications.service.d.ts.map +1 -0
  136. package/libs/feature/record/src/lib/feature-record.module.d.ts.map +1 -1
  137. package/libs/feature/record/src/lib/state/mdview.actions.d.ts +40 -6
  138. package/libs/feature/record/src/lib/state/mdview.actions.d.ts.map +1 -1
  139. package/libs/feature/record/src/lib/state/mdview.effects.d.ts +24 -4
  140. package/libs/feature/record/src/lib/state/mdview.effects.d.ts.map +1 -1
  141. package/libs/feature/record/src/lib/state/mdview.facade.d.ts +14 -4
  142. package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
  143. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts +8 -5
  144. package/libs/feature/record/src/lib/state/mdview.reducer.d.ts.map +1 -1
  145. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts +12 -9
  146. package/libs/feature/record/src/lib/state/mdview.selectors.d.ts.map +1 -1
  147. package/libs/ui/elements/src/index.d.ts +14 -14
  148. package/libs/ui/elements/src/index.d.ts.map +1 -1
  149. package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
  150. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts +13 -0
  151. package/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.d.ts.map +1 -0
  152. package/libs/ui/elements/src/lib/notification/notification.component.d.ts +13 -0
  153. package/libs/ui/elements/src/lib/notification/notification.component.d.ts.map +1 -0
  154. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts +4 -2
  155. package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
  156. package/libs/ui/elements/src/lib/ui-elements.module.d.ts +16 -14
  157. package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
  158. package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts +11 -0
  159. package/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.d.ts.map +1 -0
  160. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts +22 -0
  161. package/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.d.ts.map +1 -0
  162. package/libs/ui/inputs/src/index.d.ts +14 -15
  163. package/libs/ui/inputs/src/index.d.ts.map +1 -1
  164. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts +9 -0
  165. package/libs/ui/inputs/src/lib/date-picker/date-picker.component.d.ts.map +1 -0
  166. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts +1 -1
  167. package/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.d.ts.map +1 -1
  168. package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts +1 -1
  169. package/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.d.ts.map +1 -1
  170. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts +7 -1
  171. package/libs/ui/inputs/src/lib/text-area/text-area.component.d.ts.map +1 -1
  172. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts +4 -1
  173. package/libs/ui/inputs/src/lib/text-input/text-input.component.d.ts.map +1 -1
  174. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +35 -43
  175. package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts.map +1 -1
  176. package/libs/ui/layout/src/index.d.ts +5 -4
  177. package/libs/ui/layout/src/index.d.ts.map +1 -1
  178. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts +8 -0
  179. package/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.d.ts.map +1 -0
  180. package/libs/util/shared/src/lib/links/link-utils.d.ts +18 -0
  181. package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
  182. package/package.json +1 -1
  183. package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +2 -2
  184. package/src/libs/api/repository/src/lib/gn4/auth/avatar.service.interface.ts +1 -0
  185. package/src/libs/api/repository/src/lib/gn4/auth/gravatar.service.ts +12 -1
  186. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.mapper.ts +51 -1
  187. package/src/libs/api/repository/src/lib/gn4/platform/gn4-platform.service.ts +34 -7
  188. package/src/libs/common/domain/src/lib/model/record/index.ts +1 -0
  189. package/src/libs/common/domain/src/lib/model/record/user-feedbacks.model.ts +15 -0
  190. package/src/libs/common/domain/src/lib/platform.service.interface.ts +3 -0
  191. package/src/libs/common/fixtures/src/index.ts +8 -6
  192. package/src/libs/common/fixtures/src/lib/records.fixtures.ts +3 -3
  193. package/src/libs/common/fixtures/src/lib/user-feedbacks.fixtures.ts +83 -0
  194. package/src/libs/feature/editor/src/index.ts +1 -1
  195. package/src/libs/feature/editor/src/lib/+state/editor.facade.ts +8 -1
  196. 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
  197. 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
  198. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.html +8 -0
  199. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-license/form-field-license.component.ts +64 -0
  200. 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
  201. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.html +4 -0
  202. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.ts +15 -0
  203. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.html +20 -0
  204. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.ts +44 -0
  205. 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
  206. 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
  207. 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
  208. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.css +0 -0
  209. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.html +92 -0
  210. package/src/libs/feature/editor/src/lib/components/record-form/form-field/form-field.component.ts +137 -0
  211. package/src/libs/feature/editor/src/lib/components/record-form/record-form.component.css +0 -0
  212. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.html +1 -0
  213. package/src/libs/feature/editor/src/lib/{record-form → components/record-form}/record-form.component.ts +4 -4
  214. package/src/libs/feature/editor/src/lib/feature-editor.module.ts +9 -9
  215. package/src/libs/feature/editor/src/lib/fields.config.ts +15 -0
  216. package/src/libs/feature/editor/src/lib/models/fields.model.ts +1 -1
  217. package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +1 -1
  218. package/src/libs/feature/notifications/src/index.ts +3 -0
  219. package/src/libs/feature/notifications/src/lib/feature-notifications.module.ts +10 -0
  220. package/src/libs/feature/notifications/src/lib/notification.model.ts +6 -0
  221. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.css +0 -0
  222. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.html +17 -0
  223. package/src/libs/feature/notifications/src/lib/notifications-container/notifications-container.component.ts +44 -0
  224. package/src/libs/feature/notifications/src/lib/notifications.service.ts +27 -0
  225. package/src/libs/feature/record/src/lib/feature-record.module.ts +5 -2
  226. package/src/libs/feature/record/src/lib/state/mdview.actions.ts +51 -6
  227. package/src/libs/feature/record/src/lib/state/mdview.effects.ts +82 -7
  228. package/src/libs/feature/record/src/lib/state/mdview.facade.ts +49 -8
  229. package/src/libs/feature/record/src/lib/state/mdview.reducer.ts +81 -24
  230. package/src/libs/feature/record/src/lib/state/mdview.selectors.ts +40 -10
  231. package/src/libs/feature/router/src/lib/default/state/router.effects.ts +2 -2
  232. package/src/libs/feature/search/src/lib/results-table/results-table.component.html +3 -3
  233. package/src/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.html +5 -5
  234. package/src/libs/ui/elements/src/index.ts +14 -14
  235. package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +1 -1
  236. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.css +0 -5
  237. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.html +0 -21
  238. package/src/libs/ui/elements/src/lib/markdown-editor/markdown-editor.component.ts +1 -14
  239. package/src/libs/ui/elements/src/lib/notification/notification.component.css +0 -0
  240. package/src/libs/ui/elements/src/lib/notification/notification.component.html +52 -0
  241. package/src/libs/ui/elements/src/lib/notification/notification.component.ts +31 -0
  242. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.html +2 -2
  243. package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +40 -4
  244. package/src/libs/ui/elements/src/lib/ui-elements.module.ts +5 -0
  245. package/src/libs/ui/elements/src/lib/user-feedback-item/time-since.pipe.ts +54 -0
  246. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.css +0 -0
  247. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.html +75 -0
  248. package/src/libs/ui/elements/src/lib/user-feedback-item/user-feedback-item.component.ts +63 -0
  249. package/src/libs/ui/inputs/src/index.ts +14 -15
  250. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.css +3 -0
  251. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.html +11 -0
  252. package/src/libs/ui/inputs/src/lib/date-picker/date-picker.component.ts +16 -0
  253. package/src/libs/ui/inputs/src/lib/date-range-picker/date-range-picker.component.ts +8 -1
  254. package/src/libs/ui/inputs/src/lib/dropdown-selector/dropdown-selector.component.ts +13 -0
  255. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.html +2 -1
  256. package/src/libs/ui/inputs/src/lib/text-area/text-area.component.ts +29 -0
  257. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.html +1 -1
  258. package/src/libs/ui/inputs/src/lib/text-input/text-input.component.ts +16 -1
  259. package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +2 -21
  260. package/src/libs/ui/layout/src/index.ts +5 -4
  261. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.css +0 -0
  262. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.html +18 -0
  263. package/src/libs/ui/layout/src/lib/form-field-wrapper/form-field-wrapper.component.ts +16 -0
  264. package/src/libs/util/shared/src/lib/links/link-utils.ts +21 -0
  265. package/tailwind.base.css +36 -0
  266. package/translations/de.json +34 -0
  267. package/translations/en.json +34 -0
  268. package/translations/es.json +34 -0
  269. package/translations/fr.json +34 -0
  270. package/translations/it.json +34 -0
  271. package/translations/nl.json +34 -0
  272. package/translations/pt.json +34 -0
  273. package/translations/sk.json +34 -0
  274. package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +0 -30
  275. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.mjs +0 -11
  276. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.mjs +0 -27
  277. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.mjs +0 -11
  278. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.mjs +0 -27
  279. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.mjs +0 -49
  280. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.mjs +0 -11
  281. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.mjs +0 -11
  282. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.component.mjs +0 -76
  283. package/esm2022/libs/ui/inputs/src/lib/form-field/form-field.model.mjs +0 -2
  284. package/esm2022/libs/ui/inputs/src/lib/form-field/index.mjs +0 -10
  285. package/libs/feature/editor/src/lib/record-form/record-form.component.d.ts.map +0 -1
  286. package/libs/ui/inputs/src/lib/form-field/form-field-array/form-field-array.component.d.ts.map +0 -1
  287. package/libs/ui/inputs/src/lib/form-field/form-field-file/form-field-file.component.d.ts.map +0 -1
  288. package/libs/ui/inputs/src/lib/form-field/form-field-object/form-field-object.component.d.ts.map +0 -1
  289. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts +0 -11
  290. package/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.d.ts.map +0 -1
  291. package/libs/ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.d.ts.map +0 -1
  292. package/libs/ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.d.ts.map +0 -1
  293. package/libs/ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.d.ts.map +0 -1
  294. package/libs/ui/inputs/src/lib/form-field/form-field.component.d.ts.map +0 -1
  295. package/libs/ui/inputs/src/lib/form-field/form-field.model.d.ts.map +0 -1
  296. package/libs/ui/inputs/src/lib/form-field/index.d.ts.map +0 -1
  297. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.html +0 -11
  298. package/src/libs/ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.ts +0 -15
  299. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.html +0 -68
  300. package/src/libs/ui/inputs/src/lib/form-field/form-field.component.ts +0 -80
  301. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.d.ts +0 -0
  302. /package/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.d.ts +0 -0
  303. /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
  304. /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
  305. /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
  306. /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
  307. /package/src/libs/feature/editor/src/lib/{record-form/record-form.component.css → components/record-form/form-field/form-field-license/form-field-license.component.css} +0 -0
  308. /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
  309. /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
  310. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-rich/form-field-rich.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-resource-updated/form-field-resource-updated.component.css} +0 -0
  311. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-simple/form-field-simple.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-rich/form-field-rich.component.css} +0 -0
  312. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-simple/form-field-simple.component.css} +0 -0
  313. /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
  314. /package/src/libs/{ui/inputs/src/lib/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-spatial-extent/form-field-spatial-extent.component.css} +0 -0
  315. /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
  316. /package/src/libs/{ui/inputs/src/lib/form-field/form-field.component.css → feature/editor/src/lib/components/record-form/form-field/form-field-temporal-extent/form-field-temporal-extent.component.css} +0 -0
  317. /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
  318. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/form-field.model.ts +0 -0
  319. /package/src/libs/{ui/inputs/src/lib → feature/editor/src/lib/components/record-form}/form-field/index.ts +0 -0
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.login": "",
2
3
  "catalog.figures.datasets": "{count, plural, =0{datasets} one{dataset} other{datasets}}",
3
4
  "catalog.figures.organisations": "{count, plural, =0{organizzazioni} one{organizzazione} other{organizzazioni}}",
4
5
  "chart.aggregation.average": "media",
@@ -144,7 +145,26 @@
144
145
  "downloads.format.unknown": "sconosciuto",
145
146
  "downloads.wfs.featuretype.not.found": "Il layer non è stato trovato",
146
147
  "dropFile": "Trascina il suo file",
148
+ "editor.record.form.license": "Licenza",
149
+ "editor.record.form.license.cc-by": "",
150
+ "editor.record.form.license.cc-by-sa": "",
151
+ "editor.record.form.license.cc-zero": "",
152
+ "editor.record.form.license.etalab": "Licenza aperta (Etalab)",
153
+ "editor.record.form.license.etalab-v2": "Licenza aperta v2.0 (Etalab)",
154
+ "editor.record.form.license.odbl": "",
155
+ "editor.record.form.license.odc-by": "",
156
+ "editor.record.form.license.pddl": "",
157
+ "editor.record.form.license.unknown": "Non riconosciuta o assente",
158
+ "editor.record.form.resourceUpdated": "",
159
+ "editor.record.loadError.body": "",
160
+ "editor.record.loadError.closeMessage": "",
161
+ "editor.record.loadError.title": "",
147
162
  "editor.record.publish": "",
163
+ "editor.record.publishError.body": "",
164
+ "editor.record.publishError.closeMessage": "",
165
+ "editor.record.publishError.title": "",
166
+ "editor.record.publishSuccess.body": "",
167
+ "editor.record.publishSuccess.title": "",
148
168
  "editor.record.upToDate": "",
149
169
  "externalviewer.dataset.unnamed": "Layer del datahub",
150
170
  "facets.block.title.OrgForResource": "Organizzazione",
@@ -270,6 +290,14 @@
270
290
  "record.metadata.quality.updateFrequency.failed": "La frequenza di aggiornamento non è specificata",
271
291
  "record.metadata.quality.updateFrequency.success": "La frequenza di aggiornamento è specificata",
272
292
  "record.metadata.related": "Vedi anche",
293
+ "record.metadata.userFeedbacks": "",
294
+ "record.metadata.userFeedbacks.anonymousUser": "",
295
+ "record.metadata.userFeedbacks.sortSelector.label": "",
296
+ "record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
297
+ "record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
298
+ "record.metadata.userFeedbacks.newComment.placeholder": "",
299
+ "record.metadata.userFeedbacks.newAnswer.placeholder": "",
300
+ "record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
273
301
  "record.metadata.sheet": "Origine del metadata",
274
302
  "record.metadata.status": "Stato",
275
303
  "record.metadata.technical": "Informazioni tecniche",
@@ -343,6 +371,12 @@
343
371
  "table.loading.data": "Caricamento dei dati...",
344
372
  "table.object.count": "record in questi dati",
345
373
  "table.select.data": "Sorgente dati",
374
+ "timeSincePipe.lessThanAMinute": "",
375
+ "timeSincePipe.minutesAgo": "",
376
+ "timeSincePipe.hoursAgo": "",
377
+ "timeSincePipe.daysAgo": "",
378
+ "timeSincePipe.monthsAgo": "",
379
+ "timeSincePipe.yearsAgo": "",
346
380
  "tooltip.html.copy": "Copiare il HTML",
347
381
  "tooltip.id.copy": "Copiare l'identificatore unico",
348
382
  "tooltip.url.copy": "Copiare l'URL",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.login": "",
2
3
  "catalog.figures.datasets": "datasets",
3
4
  "catalog.figures.organisations": "organisaties",
4
5
  "chart.aggregation.average": "gemiddelde",
@@ -144,7 +145,26 @@
144
145
  "downloads.format.unknown": "",
145
146
  "downloads.wfs.featuretype.not.found": "",
146
147
  "dropFile": "",
148
+ "editor.record.form.license": "",
149
+ "editor.record.form.license.cc-by": "",
150
+ "editor.record.form.license.cc-by-sa": "",
151
+ "editor.record.form.license.cc-zero": "",
152
+ "editor.record.form.license.etalab": "",
153
+ "editor.record.form.license.etalab-v2": "",
154
+ "editor.record.form.license.odbl": "",
155
+ "editor.record.form.license.odc-by": "",
156
+ "editor.record.form.license.pddl": "",
157
+ "editor.record.form.license.unknown": "",
158
+ "editor.record.form.resourceUpdated": "",
159
+ "editor.record.loadError.body": "",
160
+ "editor.record.loadError.closeMessage": "",
161
+ "editor.record.loadError.title": "",
147
162
  "editor.record.publish": "",
163
+ "editor.record.publishError.body": "",
164
+ "editor.record.publishError.closeMessage": "",
165
+ "editor.record.publishError.title": "",
166
+ "editor.record.publishSuccess.body": "",
167
+ "editor.record.publishSuccess.title": "",
148
168
  "editor.record.upToDate": "",
149
169
  "externalviewer.dataset.unnamed": "",
150
170
  "facets.block.title.OrgForResource": "",
@@ -270,6 +290,14 @@
270
290
  "record.metadata.quality.updateFrequency.failed": "",
271
291
  "record.metadata.quality.updateFrequency.success": "",
272
292
  "record.metadata.related": "",
293
+ "record.metadata.userFeedbacks": "",
294
+ "record.metadata.userFeedbacks.anonymousUser": "",
295
+ "record.metadata.userFeedbacks.sortSelector.label": "",
296
+ "record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
297
+ "record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
298
+ "record.metadata.userFeedbacks.newComment.placeholder": "",
299
+ "record.metadata.userFeedbacks.newAnswer.placeholder": "",
300
+ "record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
273
301
  "record.metadata.sheet": "",
274
302
  "record.metadata.status": "",
275
303
  "record.metadata.technical": "",
@@ -343,6 +371,12 @@
343
371
  "table.loading.data": "",
344
372
  "table.object.count": "",
345
373
  "table.select.data": "",
374
+ "timeSincePipe.lessThanAMinute": "",
375
+ "timeSincePipe.minutesAgo": "",
376
+ "timeSincePipe.hoursAgo": "",
377
+ "timeSincePipe.daysAgo": "",
378
+ "timeSincePipe.monthsAgo": "",
379
+ "timeSincePipe.yearsAgo": "",
346
380
  "tooltip.html.copy": "",
347
381
  "tooltip.id.copy": "",
348
382
  "tooltip.url.copy": "",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.login": "",
2
3
  "catalog.figures.datasets": "conjuntos de dados",
3
4
  "catalog.figures.organisations": "organizações",
4
5
  "chart.aggregation.average": "média",
@@ -144,7 +145,26 @@
144
145
  "downloads.format.unknown": "",
145
146
  "downloads.wfs.featuretype.not.found": "",
146
147
  "dropFile": "",
148
+ "editor.record.form.license": "",
149
+ "editor.record.form.license.cc-by": "",
150
+ "editor.record.form.license.cc-by-sa": "",
151
+ "editor.record.form.license.cc-zero": "",
152
+ "editor.record.form.license.etalab": "",
153
+ "editor.record.form.license.etalab-v2": "",
154
+ "editor.record.form.license.odbl": "",
155
+ "editor.record.form.license.odc-by": "",
156
+ "editor.record.form.license.pddl": "",
157
+ "editor.record.form.license.unknown": "",
158
+ "editor.record.form.resourceUpdated": "",
159
+ "editor.record.loadError.body": "",
160
+ "editor.record.loadError.closeMessage": "",
161
+ "editor.record.loadError.title": "",
147
162
  "editor.record.publish": "",
163
+ "editor.record.publishError.body": "",
164
+ "editor.record.publishError.closeMessage": "",
165
+ "editor.record.publishError.title": "",
166
+ "editor.record.publishSuccess.body": "",
167
+ "editor.record.publishSuccess.title": "",
148
168
  "editor.record.upToDate": "",
149
169
  "externalviewer.dataset.unnamed": "",
150
170
  "facets.block.title.OrgForResource": "",
@@ -270,6 +290,14 @@
270
290
  "record.metadata.quality.updateFrequency.failed": "",
271
291
  "record.metadata.quality.updateFrequency.success": "",
272
292
  "record.metadata.related": "",
293
+ "record.metadata.userFeedbacks": "",
294
+ "record.metadata.userFeedbacks.anonymousUser": "",
295
+ "record.metadata.userFeedbacks.sortSelector.label": "",
296
+ "record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
297
+ "record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
298
+ "record.metadata.userFeedbacks.newComment.placeholder": "",
299
+ "record.metadata.userFeedbacks.newAnswer.placeholder": "",
300
+ "record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
273
301
  "record.metadata.sheet": "",
274
302
  "record.metadata.status": "",
275
303
  "record.metadata.technical": "",
@@ -343,6 +371,12 @@
343
371
  "table.loading.data": "",
344
372
  "table.object.count": "",
345
373
  "table.select.data": "",
374
+ "timeSincePipe.lessThanAMinute": "",
375
+ "timeSincePipe.minutesAgo": "",
376
+ "timeSincePipe.hoursAgo": "",
377
+ "timeSincePipe.daysAgo": "",
378
+ "timeSincePipe.monthsAgo": "",
379
+ "timeSincePipe.yearsAgo": "",
346
380
  "tooltip.html.copy": "",
347
381
  "tooltip.id.copy": "",
348
382
  "tooltip.url.copy": "",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "button.login": "",
2
3
  "catalog.figures.datasets": "{count, plural, =0{datasety} one{dataset} other{datasety}}",
3
4
  "catalog.figures.organisations": "{count, plural, =0{organizácie} one{organizácia} other{organizácie}}",
4
5
  "chart.aggregation.average": "priemer",
@@ -144,7 +145,26 @@
144
145
  "downloads.format.unknown": "neznámy",
145
146
  "downloads.wfs.featuretype.not.found": "Vrstva nebola nájdená",
146
147
  "dropFile": "nahrať súbor",
148
+ "editor.record.form.license": "Licencia",
149
+ "editor.record.form.license.cc-by": "",
150
+ "editor.record.form.license.cc-by-sa": "",
151
+ "editor.record.form.license.cc-zero": "",
152
+ "editor.record.form.license.etalab": "",
153
+ "editor.record.form.license.etalab-v2": "",
154
+ "editor.record.form.license.odbl": "",
155
+ "editor.record.form.license.odc-by": "",
156
+ "editor.record.form.license.pddl": "",
157
+ "editor.record.form.license.unknown": "Neznáme alebo chýbajúce",
158
+ "editor.record.form.resourceUpdated": "",
159
+ "editor.record.loadError.body": "",
160
+ "editor.record.loadError.closeMessage": "",
161
+ "editor.record.loadError.title": "",
147
162
  "editor.record.publish": "",
163
+ "editor.record.publishError.body": "",
164
+ "editor.record.publishError.closeMessage": "",
165
+ "editor.record.publishError.title": "",
166
+ "editor.record.publishSuccess.body": "",
167
+ "editor.record.publishSuccess.title": "",
148
168
  "editor.record.upToDate": "",
149
169
  "externalviewer.dataset.unnamed": "",
150
170
  "facets.block.title.OrgForResource": "Organizácia",
@@ -270,6 +290,14 @@
270
290
  "record.metadata.quality.updateFrequency.failed": "Frekvencia aktualizácie nie je určená",
271
291
  "record.metadata.quality.updateFrequency.success": "Frekvencia aktualizácie je určená",
272
292
  "record.metadata.related": "Súvisiace záznamy",
293
+ "record.metadata.userFeedbacks": "",
294
+ "record.metadata.userFeedbacks.anonymousUser": "",
295
+ "record.metadata.userFeedbacks.sortSelector.label": "",
296
+ "record.metadata.userFeedbacks.sortSelector.choices.newestFirst": "",
297
+ "record.metadata.userFeedbacks.sortSelector.choices.oldestFirst": "",
298
+ "record.metadata.userFeedbacks.newComment.placeholder": "",
299
+ "record.metadata.userFeedbacks.newAnswer.placeholder": "",
300
+ "record.metadata.userFeedbacks.newAnswer.buttonTitle": "",
273
301
  "record.metadata.sheet": "Ďalšie metadáta sú k dispozícii na:",
274
302
  "record.metadata.status": "Stav",
275
303
  "record.metadata.technical": "",
@@ -343,6 +371,12 @@
343
371
  "table.loading.data": "Načítanie údajov...",
344
372
  "table.object.count": "objekty v tomto súbore údajov",
345
373
  "table.select.data": "Zdroj údajov",
374
+ "timeSincePipe.lessThanAMinute": "",
375
+ "timeSincePipe.minutesAgo": "",
376
+ "timeSincePipe.hoursAgo": "",
377
+ "timeSincePipe.daysAgo": "",
378
+ "timeSincePipe.monthsAgo": "",
379
+ "timeSincePipe.yearsAgo": "",
346
380
  "tooltip.html.copy": "Kopírovať HTML",
347
381
  "tooltip.id.copy": "Kopírovať jedinečný identifikátor",
348
382
  "tooltip.url.copy": "Kopírovať URL",
@@ -1,30 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component } from '@angular/core';
3
- import { UiInputsModule } from '../../../../../../libs/ui/inputs/src';
4
- import { EditorFacade } from '../+state/editor.facade';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../+state/editor.facade";
7
- import * as i2 from "@angular/common";
8
- import * as i3 from "../../../../../ui/inputs/src/lib/form-field/form-field.component";
9
- export class RecordFormComponent {
10
- constructor(facade) {
11
- this.facade = facade;
12
- this.fields$ = this.facade.recordFields$;
13
- }
14
- handleFieldValueChange(field, newValue) {
15
- if (!field.config.model) {
16
- return;
17
- }
18
- this.facade.updateRecordField(field.config.model, newValue);
19
- }
20
- fieldTracker(index, field) {
21
- return field.config.model;
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: RecordFormComponent, deps: [{ token: i1.EditorFacade }], target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: RecordFormComponent, isStandalone: true, selector: "gn-ui-record-form", ngImport: i0, template: "<div class=\"flex flex-col gap-6 p-6\">\n <ng-container *ngFor=\"let field of fields$ | async; trackBy: fieldTracker\">\n <gn-ui-form-field\n *ngIf=\"field.config.formFieldConfig && !field.config.hidden\"\n [config]=\"field.config.formFieldConfig\"\n [value]=\"field.value\"\n (valueChange)=\"handleFieldValueChange(field, $event)\"\n ></gn-ui-form-field>\n </ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: UiInputsModule }, { kind: "component", type: i3.FormFieldComponent, selector: "gn-ui-form-field", inputs: ["config", "value"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: RecordFormComponent, decorators: [{
27
- type: Component,
28
- args: [{ selector: 'gn-ui-record-form', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, UiInputsModule], template: "<div class=\"flex flex-col gap-6 p-6\">\n <ng-container *ngFor=\"let field of fields$ | async; trackBy: fieldTracker\">\n <gn-ui-form-field\n *ngIf=\"field.config.formFieldConfig && !field.config.hidden\"\n [config]=\"field.config.formFieldConfig\"\n [value]=\"field.value\"\n (valueChange)=\"handleFieldValueChange(field, $event)\"\n ></gn-ui-form-field>\n </ng-container>\n</div>\n" }]
29
- }], ctorParameters: function () { return [{ type: i1.EditorFacade }]; } });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjb3JkLWZvcm0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9mZWF0dXJlL2VkaXRvci9zcmMvbGliL3JlY29yZC1mb3JtL3JlY29yZC1mb3JtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZmVhdHVyZS9lZGl0b3Ivc3JjL2xpYi9yZWNvcmQtZm9ybS9yZWNvcmQtZm9ybS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFDOUMsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQTtBQUNsRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sc0NBQXNDLENBQUE7QUFDckUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHlCQUF5QixDQUFBOzs7OztBQVd0RCxNQUFNLE9BQU8sbUJBQW1CO0lBRzlCLFlBQW1CLE1BQW9CO1FBQXBCLFdBQU0sR0FBTixNQUFNLENBQWM7UUFGdkMsWUFBTyxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMsYUFBYSxDQUFBO0lBRU8sQ0FBQztJQUUzQyxzQkFBc0IsQ0FBQyxLQ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Z0lmPVwiZmllbGQuY29uZmlnLmZvcm1GaWVsZENvbmZpZyAmJiAhZmllbGQuY29uZmlnLmhpZGRlblwiXG4gICAgICBbY29uZmlnXT1cImZpZWxkLmNvbmZpZy5mb3JtRmllbGRDb25maWdcIlxuICAgICAgW3ZhbHVlXT1cImZpZWxkLnZhbHVlXCJcbiAgICAgICh2YWx1ZUNoYW5nZSk9XCJoYW5kbGVGaWVsZFZhbHVlQ2hhbmdlKGZpZWxkLCAkZXZlbnQpXCJcbiAgICA+PC9nbi11aS1mb3JtLWZpZWxkPlxuICA8L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuIl19
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FormFieldArrayComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldArrayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldArrayComponent, selector: "gn-ui-form-field-array", ngImport: i0, template: "<p>form-field-array works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldArrayComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'gn-ui-form-field-array', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>form-field-array works!</p>\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1hcnJheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1hcnJheS9mb3JtLWZpZWxkLWFycmF5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLWFycmF5L2Zvcm0tZmllbGQtYXJyYXkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQTs7QUFRbEUsTUFBTSxPQUFPLHVCQUF1Qjs4R0FBdkIsdUJBQXVCO2tHQUF2Qix1QkFBdUIsOERDUnBDLGtDQUNBOzsyRkRPYSx1QkFBdUI7a0JBTm5DLFNBQVM7K0JBQ0Usd0JBQXdCLG1CQUdqQix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnXG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2duLXVpLWZvcm0tZmllbGQtYXJyYXknLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybS1maWVsZC1hcnJheS5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2Zvcm0tZmllbGQtYXJyYXkuY29tcG9uZW50LmNzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRm9ybUZpZWxkQXJyYXlDb21wb25lbnQge31cbiIsIjxwPmZvcm0tZmllbGQtYXJyYXkgd29ya3MhPC9wPlxuIl19
@@ -1,27 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- export class FormFieldFileComponent {
7
- constructor() {
8
- this.readonly = false;
9
- this.invalid = false;
10
- this.placeholder = '';
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldFileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldFileComponent, selector: "gn-ui-form-field-file", inputs: { control: "control", readonly: "readonly", invalid: "invalid", placeholder: "placeholder" }, ngImport: i0, template: "<input\n type=\"file\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldFileComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'gn-ui-form-field-file', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n type=\"file\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n" }]
18
- }], propDecorators: { control: [{
19
- type: Input
20
- }], readonly: [{
21
- type: Input
22
- }], invalid: [{
23
- type: Input
24
- }], placeholder: [{
25
- type: Input
26
- }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1maWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLWZpbGUvZm9ybS1maWVsZC1maWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLWZpbGUvZm9ybS1maWVsZC1maWxlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3pFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQTs7OztBQVE1QyxNQUFNLE9BQU8sc0JBQXNCO0lBTm5DO1FBUVcsYUFBUSxHQUFHLEtBQUssQ0FBQTtRQUNoQixZQUFPLEdBQUcsS0FBSyxDQUFBO1FBQ2YsZ0JBQVcsR0FBRyxFQUFFLENBQUE7S0FDMUI7OEdBTFksc0JBQXNCO2tHQUF0QixzQkFBc0IsbUtDVG5DLHVUQVlBOzsyRkRIYSxzQkFBc0I7a0JBTm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iZy13aGl0ZSB0cmFuc2l0aW9uLWNvbG9yc1wiXG4gIFtuZ0NsYXNzXT1cIntcbiAgICAnYm9yZGVyLXBpbmstNTAwJzogaW52YWxpZCxcbiAgICAnYm9yZGVyLWdyYXktMjAwJzogIWludmFsaWQsXG4gICAgJ3RleHQtZ3JheS02MDAnOiByZWFkb25seVxuICB9XCJcbi8+XG4iXX0=
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FormFieldObjectComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldObjectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldObjectComponent, selector: "gn-ui-form-field-object", ngImport: i0, template: "<p>form-field-object works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldObjectComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'gn-ui-form-field-object', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>form-field-object works!</p>\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1vYmplY3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9pbnB1dHMvc3JjL2xpYi9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtb2JqZWN0L2Zvcm0tZmllbGQtb2JqZWN0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLW9iamVjdC9mb3JtLWZpZWxkLW9iamVjdC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFBOztBQVFsRSxNQUFNLE9BQU8sd0JBQXdCOzhHQUF4Qix3QkFBd0I7a0dBQXhCLHdCQUF3QiwrRENSckMsbUNBQ0E7OzJGRE9hLHdCQUF3QjtrQkFOcEMsU0FBUzsrQkFDRSx5QkFBeUIsbUJBR2xCLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZ24tdWktZm9ybS1maWVsZC1vYmplY3QnLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybS1maWVsZC1vYmplY3QuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9mb3JtLWZpZWxkLW9iamVjdC5jb21wb25lbnQuY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtRmllbGRPYmplY3RDb21wb25lbnQge31cbiIsIjxwPmZvcm0tZmllbGQtb2JqZWN0IHdvcmtzITwvcD5cbiJdfQ==
@@ -1,27 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- export class FormFieldRichComponent {
7
- constructor() {
8
- this.readonly = false;
9
- this.invalid = false;
10
- this.placeholder = '';
11
- }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldRichComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldRichComponent, selector: "gn-ui-form-field-rich", inputs: { control: "control", readonly: "readonly", invalid: "invalid", placeholder: "placeholder" }, ngImport: i0, template: "<textarea\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white h-full resize-none transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n></textarea>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
- }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldRichComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'gn-ui-form-field-rich', changeDetection: ChangeDetectionStrategy.OnPush, template: "<textarea\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white h-full resize-none transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n></textarea>\n" }]
18
- }], propDecorators: { control: [{
19
- type: Input
20
- }], readonly: [{
21
- type: Input
22
- }], invalid: [{
23
- type: Input
24
- }], placeholder: [{
25
- type: Input
26
- }] } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1yaWNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLXJpY2gvZm9ybS1maWVsZC1yaWNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLXJpY2gvZm9ybS1maWVsZC1yaWNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3pFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQTs7OztBQVE1QyxNQUFNLE9BQU8sc0JBQXNCO0lBTm5DO1FBUVcsYUFBUSxHQUFHLEtBQUssQ0FBQTtRQUNoQixZQUFPLEdBQUcsS0FBSyxDQUFBO1FBQ2YsZ0JBQVcsR0FBRyxFQUFFLENBQUE7S0FDMUI7OEdBTFksc0JBQXNCO2tHQUF0QixzQkFBc0IsbUtDVG5DLHNVQVdBOzsyRkRGYSxzQkFBc0I7a0JBTmxDLFNBQVM7K0JBQ0UsdUJBQXVCLG1CQUdoQix1QkFBdUIsQ0FBQyxNQUFNOzhCQUd0QyxPQUFPO3NCQUFmLEtBQUs7Z0JBQ0csUU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gICdib3JkZXItZ3JheS0yMDAnOiAhaW52YWxpZCxcbiAgICAndGV4dC1ncmF5LTYwMCc6IHJlYWRvbmx5XG4gIH1cIlxuPjwvdGV4dGFyZWE+XG4iXX0=
@@ -1,49 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- export class FormFieldSimpleComponent {
7
- constructor() {
8
- this.readonly = false;
9
- this.invalid = false;
10
- this.placeholder = '';
11
- }
12
- get inputType() {
13
- switch (this.type) {
14
- case 'url':
15
- case 'text':
16
- return 'text';
17
- case 'date':
18
- return 'datetime-local';
19
- case 'number':
20
- return 'number';
21
- case 'toggle':
22
- return 'checkbox';
23
- default:
24
- return '';
25
- }
26
- }
27
- get isSelect() {
28
- return this.type === 'list';
29
- }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldSimpleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldSimpleComponent, selector: "gn-ui-form-field-simple", inputs: { type: "type", control: "control", readonly: "readonly", invalid: "invalid", placeholder: "placeholder", options: "options" }, ngImport: i0, template: "<input\n *ngIf=\"!isSelect\"\n [type]=\"inputType\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n<select\n *ngIf=\"isSelect\"\n [formControl]=\"control\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n>\n <option *ngFor=\"let option of options\" [ngValue]=\"option.value\">\n {{ option.label }}\n </option>\n</select>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldSimpleComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'gn-ui-form-field-simple', changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n *ngIf=\"!isSelect\"\n [type]=\"inputType\"\n [readonly]=\"readonly\"\n [formControl]=\"control\"\n [placeholder]=\"placeholder\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n/>\n<select\n *ngIf=\"isSelect\"\n [formControl]=\"control\"\n class=\"border rounded-md p-3 w-full bg-white transition-colors\"\n [ngClass]=\"{\n 'border-pink-500': invalid,\n 'border-gray-200': !invalid,\n 'text-gray-600': readonly\n }\"\n>\n <option *ngFor=\"let option of options\" [ngValue]=\"option.value\">\n {{ option.label }}\n </option>\n</select>\n" }]
36
- }], propDecorators: { type: [{
37
- type: Input
38
- }], control: [{
39
- type: Input
40
- }], readonly: [{
41
- type: Input
42
- }], invalid: [{
43
- type: Input
44
- }], placeholder: [{
45
- type: Input
46
- }], options: [{
47
- type: Input
48
- }] } });
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1zaW1wbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9pbnB1dHMvc3JjL2xpYi9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtc2ltcGxlL2Zvcm0tZmllbGQtc2ltcGxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLXNpbXBsZS9mb3JtLWZpZWxkLXNpbXBsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQTtBQUN6RSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUE7Ozs7QUFRNUMsTUFBTSxPQUFPLHdCQUF3QjtJQU5yQztRQVNXLGFBQVEsR0FBRyxLQUFLLENBQUE7UUFDaEIsWUFBTyxHQUFHLEtBQUssQ0FBQTtRQUNmLGdCQUFXLEdBQUcsRUF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G4iLCI8aW5wdXRcbiAgKm5nSWY9XCIhaXNTZWxlY3RcIlxuICBbdHlwZV09XCJpbnB1dFR5cGVcIlxuICBbcmVhZG9ubHldPVwicmVhZG9ubHlcIlxuICBbZm9ybUNvbnRyb2xdPVwiY29udHJvbFwiXG4gIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXG4gIGNsYXNzPVwiYm9yZGVyIHJvdW5kZWQtbWQgcC0zIHctZnVsbCBiZy13aGl0ZSB0cmFuc2l0aW9uLWNvbG9yc1wiXG4gIFtuZ0NsYXNzXT1cIntcbiAgICAnYm9yZGVyLXBpbmstNTAwJzogaW52YWxpZCxcbiAgICAnYm9yZGVyLWdyYXktMjAwJzogIWludmFsaWQsXG4gICAgJ3RleHQtZ3JheS02MDAnOiByZWFkb25seVxuICB9XCJcbi8+XG48c2VsZWN0XG4gICpuZ0lmPVwiaXNTZWxlY3RcIlxuICBbZm9ybUNvbnRyb2xdPVwiY29udHJvbFwiXG4gIGNsYXNzPVwiYm9yZGVyIHJvdW5kZWQtbWQgcC0zIHctZnVsbCBiZy13aGl0ZSB0cmFuc2l0aW9uLWNvbG9yc1wiXG4gIFtuZ0NsYXNzXT1cIntcbiAgICAnYm9yZGVyLXBpbmstNTAwJzogaW52YWxpZCxcbiAgICAnYm9yZGVyLWdyYXktMjAwJzogIWludmFsaWQsXG4gICAgJ3RleHQtZ3JheS02MDAnOiByZWFkb25seVxuICB9XCJcbj5cbiAgPG9wdGlvbiAqbmdGb3I9XCJsZXQgb3B0aW9uIG9mIG9wdGlvbnNcIiBbbmdWYWx1ZV09XCJvcHRpb24udmFsdWVcIj5cbiAgICB7eyBvcHRpb24ubGFiZWwgfX1cbiAgPC9vcHRpb24+XG48L3NlbGVjdD5cbiJdfQ==
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FormFieldSpatialExtentComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldSpatialExtentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldSpatialExtentComponent, selector: "gn-ui-form-field-spatial-extent", ngImport: i0, template: "<p>form-field-spatial-extent works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldSpatialExtentComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'gn-ui-form-field-spatial-extent', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>form-field-spatial-extent works!</p>\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1zcGF0aWFsLWV4dGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvZm9ybS1maWVsZC1zcGF0aWFsLWV4dGVudC9mb3JtLWZpZWxkLXNwYXRpYWwtZXh0ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLXNwYXRpYWwtZXh0ZW50L2Zvcm0tZmllbGQtc3BhdGlhbC1leHRlbnQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQTs7QUFRbEUsTUFBTSxPQUFPLCtCQUErQjs4R0FBL0IsK0JBQStCO2tHQUEvQiwrQkFBK0IsdUVDUjVDLDJDQUNBOzsyRkRPYSwrQkFBK0I7a0JBTjNDLFNBQVM7K0JBQ0UsaUNBQWlDLG1CQUcxQix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnXG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2duLXVpLWZvcm0tZmllbGQtc3BhdGlhbC1leHRlbnQnLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybS1maWVsZC1zcGF0aWFsLWV4dGVudC5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2Zvcm0tZmllbGQtc3BhdGlhbC1leHRlbnQuY29tcG9uZW50LmNzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgRm9ybUZpZWxkU3BhdGlhbEV4dGVudENvbXBvbmVudCB7fVxuIiwiPHA+Zm9ybS1maWVsZC1zcGF0aWFsLWV4dGVudCB3b3JrcyE8L3A+XG4iXX0=
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FormFieldTemporalExtentComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldTemporalExtentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldTemporalExtentComponent, selector: "gn-ui-form-field-temporal-extent", ngImport: i0, template: "<p>form-field-temporal-extent works!</p>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldTemporalExtentComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'gn-ui-form-field-temporal-extent', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p>form-field-temporal-extent works!</p>\n" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy91aS9pbnB1dHMvc3JjL2xpYi9mb3JtLWZpZWxkL2Zvcm0tZmllbGQtdGVtcG9yYWwtZXh0ZW50L2Zvcm0tZmllbGQtdGVtcG9yYWwtZXh0ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvdWkvaW5wdXRzL3NyYy9saWIvZm9ybS1maWVsZC9mb3JtLWZpZWxkLXRlbXBvcmFsLWV4dGVudC9mb3JtLWZpZWxkLXRlbXBvcmFsLWV4dGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFBOztBQVFsRSxNQUFNLE9BQU8sZ0NBQWdDOzhHQUFoQyxnQ0FBZ0M7a0dBQWhDLGdDQUFnQyx3RUNSN0MsNENBQ0E7OzJGRE9hLGdDQUFnQztrQkFONUMsU0FBUzsrQkFDRSxrQ0FBa0MsbUJBRzNCLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnZ24tdWktZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnQnLFxuICB0ZW1wbGF0ZVVybDogJy4vZm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnQuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9mb3JtLWZpZWxkLXRlbXBvcmFsLWV4dGVudC5jb21wb25lbnQuY3NzJ10sXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtRmllbGRUZW1wb3JhbEV4dGVudENvbXBvbmVudCB7fVxuIiwiPHA+Zm9ybS1maWVsZC10ZW1wb3JhbC1leHRlbnQgd29ya3MhPC9wPlxuIl19
@@ -1,76 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input, Output, } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "@angular/material/icon";
7
- import * as i3 from "./form-field-simple/form-field-simple.component";
8
- import * as i4 from "./form-field-array/form-field-array.component";
9
- import * as i5 from "./form-field-object/form-field-object.component";
10
- import * as i6 from "./form-field-rich/form-field-rich.component";
11
- import * as i7 from "./form-field-file/form-field-file.component";
12
- import * as i8 from "./form-field-spatial-extent/form-field-spatial-extent.component";
13
- import * as i9 from "./form-field-temporal-extent/form-field-temporal-extent.component";
14
- import * as i10 from "@ngx-translate/core";
15
- export class FormFieldComponent {
16
- set value(v) {
17
- this.formControl.setValue(v, {
18
- emitEvent: false,
19
- });
20
- }
21
- constructor() {
22
- this.formControl = new FormControl();
23
- this.valueChange = this.formControl.valueChanges;
24
- }
25
- get simpleType() {
26
- return this.config.type;
27
- }
28
- get isSimpleField() {
29
- return (this.config.type === 'text' ||
30
- this.config.type === 'number' ||
31
- this.config.type === 'date' ||
32
- this.config.type === 'list' ||
33
- this.config.type === 'url' ||
34
- this.config.type === 'toggle');
35
- }
36
- get isRichField() {
37
- return this.config.type === 'rich';
38
- }
39
- get isFileField() {
40
- return this.config.type === 'file';
41
- }
42
- get isSpatialExtentField() {
43
- return this.config.type === 'spatial_extent';
44
- }
45
- get isTemporalExtentField() {
46
- return this.config.type === 'temporal_extent';
47
- }
48
- get isArrayField() {
49
- return this.config.type === 'array';
50
- }
51
- get isObjectField() {
52
- return this.config.type === 'object';
53
- }
54
- get isFieldOk() {
55
- return !this.config.locked && !this.config.invalid;
56
- }
57
- get isFieldLocked() {
58
- return this.config.locked;
59
- }
60
- get isFieldInvalid() {
61
- return !this.config.locked && this.config.invalid;
62
- }
63
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
64
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: FormFieldComponent, selector: "gn-ui-form-field", inputs: { config: "config", value: "value" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"flex flex-col h-full\">\n <div class=\"mb-2 flex flex-row\">\n <label class=\"grow\">\n <span class=\"font-medium field-label\">{{\n config.labelKey | translate\n }}</span>\n <span *ngIf=\"config.hintKey\" class=\"text-gray-900 text-sm\">\n - {{ config.hintKey | translate }}\n </span>\n </label>\n <mat-icon\n *ngIf=\"isFieldOk\"\n class=\"material-symbols-outlined text-[#c6d950] icon-ok\"\n >check_circle</mat-icon\n >\n <mat-icon\n *ngIf=\"isFieldLocked\"\n class=\"material-symbols-outlined text-blue-400 icon-locked\"\n >lock</mat-icon\n >\n <mat-icon\n *ngIf=\"isFieldInvalid\"\n class=\"material-symbols-outlined text-pink-500 icon-invalid\"\n >cancel</mat-icon\n >\n </div>\n <ng-container *ngIf=\"isSimpleField\">\n <gn-ui-form-field-simple\n [type]=\"simpleType\"\n [control]=\"formControl\"\n [readonly]=\"isFieldLocked\"\n [invalid]=\"isFieldInvalid\"\n ></gn-ui-form-field-simple>\n </ng-container>\n <ng-container *ngIf=\"isFileField\">\n <gn-ui-form-field-file\n [control]=\"formControl\"\n [readonly]=\"isFieldLocked\"\n [invalid]=\"isFieldInvalid\"\n ></gn-ui-form-field-file>\n </ng-container>\n <ng-container *ngIf=\"isRichField\">\n <gn-ui-form-field-rich\n class=\"grow\"\n [control]=\"formControl\"\n [readonly]=\"isFieldLocked\"\n [invalid]=\"isFieldInvalid\"\n ></gn-ui-form-field-rich>\n </ng-container>\n <ng-container *ngIf=\"isArrayField\">\n <gn-ui-form-field-array></gn-ui-form-field-array>\n </ng-container>\n <ng-container *ngIf=\"isObjectField\">\n <gn-ui-form-field-object></gn-ui-form-field-object>\n </ng-container>\n <ng-container *ngIf=\"isSpatialExtentField\">\n <gn-ui-form-field-spatial-extent></gn-ui-form-field-spatial-extent>\n </ng-container>\n <ng-container *ngIf=\"isTemporalExtentField\">\n <gn-ui-form-field-temporal-extent></gn-ui-form-field-temporal-extent>\n </ng-container>\n <div\n *ngIf=\"isFieldInvalid && config.invalidHintKey\"\n class=\"mt-2 text-pink-500 text-sm field-invalid-hint\"\n >\n {{ config.invalidHintKey | translate }}\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.FormFieldSimpleComponent, selector: "gn-ui-form-field-simple", inputs: ["type", "control", "readonly", "invalid", "placeholder", "options"] }, { kind: "component", type: i4.FormFieldArrayComponent, selector: "gn-ui-form-field-array" }, { kind: "component", type: i5.FormFieldObjectComponent, selector: "gn-ui-form-field-object" }, { kind: "component", type: i6.FormFieldRichComponent, selector: "gn-ui-form-field-rich", inputs: ["control", "readonly", "invalid", "placeholder"] }, { kind: "component", type: i7.FormFieldFileComponent, selector: "gn-ui-form-field-file", inputs: ["control", "readonly", "invalid", "placeholder"] }, { kind: "component", type: i8.FormFieldSpatialExtentComponent, selector: "gn-ui-form-field-spatial-extent" }, { kind: "component", type: i9.FormFieldTemporalExtentComponent, selector: "gn-ui-form-field-temporal-extent" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
65
- }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: FormFieldComponent, decorators: [{
67
- type: Component,
68
- args: [{ selector: 'gn-ui-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"flex flex-col h-full\">\n <div class=\"mb-2 flex flex-row\">\n <label class=\"grow\">\n <span class=\"font-medium field-label\">{{\n config.labelKey | translate\n }}</span>\n <span *ngIf=\"config.hintKey\" class=\"text-gray-900 text-sm\">\n - {{ config.hintKey | translate }}\n </span>\n </label>\n <mat-icon\n *ngIf=\"isFieldOk\"\n class=\"material-symbols-outlined text-[#c6d950] icon-ok\"\n >check_circle</mat-icon\n >\n <mat-icon\n *ngIf=\"isFieldLocked\"\n class=\"material-symbols-outlined text-blue-400 icon-locked\"\n >lock</mat-icon\n >\n <mat-icon\n *ngIf=\"isFieldInvalid\"\n class=\"material-symbols-outlined text-pink-500 icon-invalid\"\n >cancel</mat-icon\n >\n </div>\n <ng-container *ngIf=\"isSimpleField\">\n <gn-ui-form-field-simple\n [type]=\"simpleType\"\n [control]=\"formControl\"\n [readonly]=\"isFieldLocked\"\n [invalid]=\"isFieldInvalid\"\n ></gn-ui-form-field-simple>\n </ng-container>\n <ng-container *ngIf=\"isFileField\">\n <gn-ui-form-field-file\n [control]=\"formControl\"\n [readonly]=\"isFieldLocked\"\n [invalid]=\"isFieldInvalid\"\n ></gn-ui-form-field-file>\n </ng-container>\n <ng-container *ngIf=\"isRichField\">\n <gn-ui-form-field-rich\n class=\"grow\"\n [control]=\"formControl\"\n [readonly]=\"isFieldLocked\"\n [invalid]=\"isFieldInvalid\"\n ></gn-ui-form-field-rich>\n </ng-container>\n <ng-container *ngIf=\"isArrayField\">\n <gn-ui-form-field-array></gn-ui-form-field-array>\n </ng-container>\n <ng-container *ngIf=\"isObjectField\">\n <gn-ui-form-field-object></gn-ui-form-field-object>\n </ng-container>\n <ng-container *ngIf=\"isSpatialExtentField\">\n <gn-ui-form-field-spatial-extent></gn-ui-form-field-spatial-extent>\n </ng-container>\n <ng-container *ngIf=\"isTemporalExtentField\">\n <gn-ui-form-field-temporal-extent></gn-ui-form-field-temporal-extent>\n </ng-container>\n <div\n *ngIf=\"isFieldInvalid && config.invalidHintKey\"\n class=\"mt-2 text-pink-500 text-sm field-invalid-hint\"\n >\n {{ config.invalidHintKey | translate }}\n </div>\n</div>\n" }]
69
- }], ctorParameters: function () { return []; }, propDecorators: { config: [{
70
- type: Input
71
- }], value: [{
72
- type: Input
73
- }], valueChange: [{
74
- type: Output
75
- }] } });
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvZm9ybS1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxLQUFLLEVBQ0wsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFBO0FBRXRCL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ZWxkQ29uZmlnU2ltcGxlIGV4dGVuZHMgRm9ybUZpZWxkQ29uZmlnQmFzZSB7XG4gIHR5cGU6IEJhc2VGb3JtRmllbGRUeXBlXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgRm9ybUZpZWxkQ29uZmlnQXJyYXkgZXh0ZW5kcyBGb3JtRmllbGRDb25maWdCYXNlIHtcbiAgdHlwZTogJ2FycmF5J1xuICBpdGVtczogRm9ybUZpZWxkQ29uZmlnXG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgRm9ybUZpZWxkQ29uZmlnT2JqZWN0IGV4dGVuZHMgRm9ybUZpZWxkQ29uZmlnQmFzZSB7XG4gIHR5cGU6ICdvYmplY3QnXG4gIGZpZWxkczogQXJyYXk8Rm9ybUZpZWxkQ29uZmlnPlxufVxuXG5leHBvcnQgdHlwZSBGb3JtRmllbGRDb25maWcgPVxuICB8IEZvcm1GaWVsZENvbmZpZ1NpbXBsZVxuICB8IEZvcm1GaWVsZENvbmZpZ0FycmF5XG4gIHwgRm9ybUZpZWxkQ29uZmlnT2JqZWN0XG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpL2lucHV0cy9zcmMvbGliL2Zvcm0tZmllbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpREFBaUQsQ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["../../../../../../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"}