@leav/ui 0.2.8 → 0.3.0

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 (997) hide show
  1. package/dist/__mocks__/common/application.d.ts +2 -2
  2. package/dist/__mocks__/common/application.js +2 -2
  3. package/dist/__mocks__/common/attribute.d.ts +2 -8
  4. package/dist/__mocks__/common/filter.d.ts +1 -1
  5. package/dist/__mocks__/common/filter.js +9 -13
  6. package/dist/__mocks__/common/import.d.ts +1 -1
  7. package/dist/__mocks__/common/import.js +5 -5
  8. package/dist/__mocks__/common/label.d.ts +1 -3
  9. package/dist/__mocks__/common/label.js +2 -2
  10. package/dist/__mocks__/common/library.d.ts +67 -82
  11. package/dist/__mocks__/common/library.js +9 -11
  12. package/dist/__mocks__/common/mockSearchContextProvider.d.ts +3 -6
  13. package/dist/__mocks__/common/mockSearchContextProvider.js +10 -23
  14. package/dist/__mocks__/common/record.d.ts +2 -2
  15. package/dist/__mocks__/common/record.js +2 -2
  16. package/dist/__mocks__/common/tree.d.ts +1 -1
  17. package/dist/__mocks__/common/tree.js +3 -3
  18. package/dist/__mocks__/common/treeElements.d.ts +3 -3
  19. package/dist/__mocks__/common/treeElements.js +4 -6
  20. package/dist/__mocks__/common/versionProfile.d.ts +1 -1
  21. package/dist/__mocks__/common/versionProfile.js +2 -2
  22. package/dist/__mocks__/common/view.d.ts +1 -1
  23. package/dist/__mocks__/common/view.js +3 -3
  24. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +1 -6
  25. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +5 -5
  26. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +3 -10
  27. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +3 -3
  28. package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +4 -6
  29. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +6 -11
  30. package/dist/__mocks__/react-i18next.d.ts +9 -5
  31. package/dist/__mocks__/react-i18next.js +11 -10
  32. package/dist/_gqlTypes/index.d.ts +4569 -5256
  33. package/dist/_queries/applications/applicationDetailsFragment.d.ts +1 -1
  34. package/dist/_queries/applications/applicationDetailsFragment.js +4 -4
  35. package/dist/_queries/applications/checkApplicationExistence.d.ts +1 -1
  36. package/dist/_queries/applications/checkApplicationExistence.js +3 -3
  37. package/dist/_queries/applications/getApplicationDetails.d.ts +1 -1
  38. package/dist/_queries/applications/getApplicationDetails.js +4 -4
  39. package/dist/_queries/applications/getApplicationsModulesQuery.d.ts +1 -1
  40. package/dist/_queries/applications/getApplicationsModulesQuery.js +3 -3
  41. package/dist/_queries/applications/saveApplicationMutation.d.ts +1 -1
  42. package/dist/_queries/applications/saveApplicationMutation.js +4 -4
  43. package/dist/_queries/attributes/attributeDetailsFragment.d.ts +1 -1
  44. package/dist/_queries/attributes/checkAttributeExistenceQuery.d.ts +1 -1
  45. package/dist/_queries/attributes/checkAttributeExistenceQuery.js +3 -3
  46. package/dist/_queries/attributes/deleteAttributeMutation.d.ts +1 -1
  47. package/dist/_queries/attributes/deleteAttributeMutation.js +3 -3
  48. package/dist/_queries/attributes/getAttributeByIdQuery.d.ts +1 -1
  49. package/dist/_queries/attributes/getAttributeByIdQuery.js +4 -4
  50. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +1 -1
  51. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js +4 -4
  52. package/dist/_queries/attributes/getAttributesByLib.d.ts +1 -1
  53. package/dist/_queries/attributes/getAttributesByLib.js +3 -3
  54. package/dist/_queries/attributes/getAttributesQuery.d.ts +1 -1
  55. package/dist/_queries/attributes/getAttributesQuery.js +3 -3
  56. package/dist/_queries/attributes/getVersionProfilesQuery.d.ts +1 -1
  57. package/dist/_queries/attributes/getVersionProfilesQuery.js +3 -3
  58. package/dist/_queries/attributes/getVersionableAttributesByLibrary.d.ts +1 -1
  59. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js +3 -3
  60. package/dist/_queries/attributes/saveAttributeMutation.d.ts +1 -1
  61. package/dist/_queries/attributes/saveAttributeMutation.js +4 -4
  62. package/dist/_queries/export/exportQuery.d.ts +1 -1
  63. package/dist/_queries/export/exportQuery.js +3 -3
  64. package/dist/_queries/files/createDirectory.d.ts +1 -1
  65. package/dist/_queries/files/createDirectory.js +4 -4
  66. package/dist/_queries/files/forcePreviewsGenerationMutation.d.ts +1 -1
  67. package/dist/_queries/files/forcePreviewsGenerationMutation.js +3 -3
  68. package/dist/_queries/files/getDirectoryDataQuery.d.ts +1 -1
  69. package/dist/_queries/files/getDirectoryDataQuery.js +4 -4
  70. package/dist/_queries/files/getUploadUpdates.d.ts +1 -1
  71. package/dist/_queries/files/getUploadUpdates.js +3 -3
  72. package/dist/_queries/files/uploadMutation.d.ts +1 -1
  73. package/dist/_queries/files/uploadMutation.js +4 -4
  74. package/dist/_queries/import/importExcel.d.ts +1 -1
  75. package/dist/_queries/import/importExcel.js +3 -3
  76. package/dist/_queries/libraries/checkLibraryExistenceQuery.d.ts +1 -1
  77. package/dist/_queries/libraries/checkLibraryExistenceQuery.js +3 -3
  78. package/dist/_queries/libraries/deleteLibraryMutation.d.ts +1 -1
  79. package/dist/_queries/libraries/deleteLibraryMutation.js +3 -3
  80. package/dist/_queries/libraries/getLibrariesQuery.d.ts +1 -1
  81. package/dist/_queries/libraries/getLibrariesQuery.js +3 -3
  82. package/dist/_queries/libraries/getLibraryByIdQuery.d.ts +1 -1
  83. package/dist/_queries/libraries/getLibraryByIdQuery.js +4 -4
  84. package/dist/_queries/libraries/getLibraryDetailExtendQuery.d.ts +4 -13
  85. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js +4 -4
  86. package/dist/_queries/libraries/getLibraryPermissionsQuery.d.ts +1 -1
  87. package/dist/_queries/libraries/getLibraryPermissionsQuery.js +3 -3
  88. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.d.ts +1 -1
  89. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js +3 -3
  90. package/dist/_queries/libraries/libraryDetailsFragment.d.ts +1 -1
  91. package/dist/_queries/libraries/libraryDetailsFragment.js +4 -4
  92. package/dist/_queries/libraries/saveLibraryMutation.d.ts +1 -1
  93. package/dist/_queries/libraries/saveLibraryMutation.js +4 -4
  94. package/dist/_queries/permissions/isAllowedQuery.d.ts +1 -1
  95. package/dist/_queries/permissions/isAllowedQuery.js +3 -3
  96. package/dist/_queries/records/createRecordMutation.d.ts +1 -1
  97. package/dist/_queries/records/createRecordMutation.js +4 -4
  98. package/dist/_queries/records/deactivateRecordsMutation.d.ts +1 -1
  99. package/dist/_queries/records/deactivateRecordsMutation.js +4 -4
  100. package/dist/_queries/records/doesFileExistAsChild.d.ts +1 -1
  101. package/dist/_queries/records/doesFileExistAsChild.js +3 -3
  102. package/dist/_queries/records/getFileDataQuery.d.ts +7 -10
  103. package/dist/_queries/records/getFileDataQuery.js +4 -4
  104. package/dist/_queries/records/getRecordColumnsValues.d.ts +3 -3
  105. package/dist/_queries/records/getRecordColumnsValues.js +6 -6
  106. package/dist/_queries/records/getRecordFormQuery.d.ts +1 -1
  107. package/dist/_queries/records/getRecordFormQuery.js +5 -5
  108. package/dist/_queries/records/getRecordPropertiesQuery.d.ts +5 -10
  109. package/dist/_queries/records/getRecordPropertiesQuery.js +12 -13
  110. package/dist/_queries/records/getRecordUpdatesSubscription.d.ts +1 -1
  111. package/dist/_queries/records/getRecordUpdatesSubscription.js +5 -5
  112. package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +4 -7
  113. package/dist/_queries/records/getRecordsFromLibraryQuery.js +8 -7
  114. package/dist/_queries/records/indexRecordsMutation.d.ts +1 -1
  115. package/dist/_queries/records/indexRecordsMutation.js +3 -3
  116. package/dist/_queries/records/recordFormAttributeFragment.d.ts +1 -1
  117. package/dist/_queries/records/recordFormAttributeFragment.js +3 -3
  118. package/dist/_queries/tasks/cancelTaskMutation.d.ts +1 -1
  119. package/dist/_queries/tasks/cancelTaskMutation.js +3 -3
  120. package/dist/_queries/trees/checkTreeExistenceQuery.d.ts +1 -1
  121. package/dist/_queries/trees/checkTreeExistenceQuery.js +3 -3
  122. package/dist/_queries/trees/deleteTreeMutation.d.ts +1 -1
  123. package/dist/_queries/trees/deleteTreeMutation.js +3 -3
  124. package/dist/_queries/trees/getTreeByIdQuery.d.ts +1 -1
  125. package/dist/_queries/trees/getTreeByIdQuery.js +4 -4
  126. package/dist/_queries/trees/getTreeLibraries.d.ts +1 -1
  127. package/dist/_queries/trees/getTreeLibraries.js +3 -3
  128. package/dist/_queries/trees/getTreesQuery.d.ts +1 -1
  129. package/dist/_queries/trees/getTreesQuery.js +3 -3
  130. package/dist/_queries/trees/saveTreeMutation.d.ts +1 -1
  131. package/dist/_queries/trees/saveTreeMutation.js +4 -4
  132. package/dist/_queries/trees/treeDetailsFragment.d.ts +1 -1
  133. package/dist/_queries/trees/treeDetailsFragment.js +3 -3
  134. package/dist/_queries/trees/treeNodeChildrenQuery.d.ts +1 -1
  135. package/dist/_queries/trees/treeNodeChildrenQuery.js +4 -4
  136. package/dist/_queries/userData/getUserData.d.ts +1 -1
  137. package/dist/_queries/userData/getUserData.js +3 -3
  138. package/dist/_queries/userData/saveUserData.d.ts +1 -1
  139. package/dist/_queries/userData/saveUserData.js +3 -3
  140. package/dist/_queries/values/deleteValueMutation.d.ts +1 -1
  141. package/dist/_queries/values/deleteValueMutation.js +4 -4
  142. package/dist/_queries/values/saveValueBatchMutation.d.ts +1 -1
  143. package/dist/_queries/values/saveValueBatchMutation.js +4 -4
  144. package/dist/_queries/values/valueDetailsFragment.d.ts +1 -1
  145. package/dist/_queries/values/valueDetailsFragment.js +5 -5
  146. package/dist/_queries/values/valuesVersionFragment.d.ts +1 -1
  147. package/dist/_queries/values/valuesVersionFragment.js +3 -3
  148. package/dist/_queries/views/deleteViewMutation.d.ts +1 -1
  149. package/dist/_queries/views/deleteViewMutation.js +3 -3
  150. package/dist/_queries/views/getViewById.d.ts +1 -1
  151. package/dist/_queries/views/getViewById.js +4 -4
  152. package/dist/_queries/views/getViewsListQuery.d.ts +1 -1
  153. package/dist/_queries/views/getViewsListQuery.js +3 -3
  154. package/dist/_queries/views/saveViewMutation.d.ts +1 -1
  155. package/dist/_queries/views/saveViewMutation.js +3 -3
  156. package/dist/_queries/views/viewDetailsFragment.d.ts +1 -1
  157. package/dist/_queries/views/viewDetailsFragment.js +4 -4
  158. package/dist/_utils/getFiltersFromRequest.d.ts +3 -7
  159. package/dist/_utils/getFiltersFromRequest.js +31 -76
  160. package/dist/_utils/getRequestFromFilter.d.ts +2 -2
  161. package/dist/_utils/getRequestFromFilter.js +42 -63
  162. package/dist/_utils/index.d.ts +13 -36
  163. package/dist/_utils/index.js +38 -93
  164. package/dist/antdTheme/index.d.ts +3 -3
  165. package/dist/antdTheme/types.d.ts +1 -1
  166. package/dist/antdTheme/types.js +1 -1
  167. package/dist/components/AttributePicker/AttributePicker.d.ts +2 -10
  168. package/dist/components/AttributePicker/AttributePicker.js +11 -46
  169. package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +2 -8
  170. package/dist/components/AttributePicker/AttributesList/AttributesList.js +47 -141
  171. package/dist/components/AttributePicker/AttributesList/index.d.ts +1 -1
  172. package/dist/components/AttributePicker/AttributesList/index.js +2 -2
  173. package/dist/components/AttributePicker/index.d.ts +1 -1
  174. package/dist/components/AttributePicker/index.js +2 -2
  175. package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +2 -2
  176. package/dist/components/AttributesSelectionList/Attribute/Attribute.js +17 -38
  177. package/dist/components/AttributesSelectionList/Attribute/index.js +1 -1
  178. package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +2 -8
  179. package/dist/components/AttributesSelectionList/AttributesSelectionList.js +24 -97
  180. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +2 -2
  181. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +16 -41
  182. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js +1 -1
  183. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +10 -64
  184. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js +1 -1
  185. package/dist/components/AttributesSelectionList/_types.d.ts +1 -5
  186. package/dist/components/AttributesSelectionList/_types.js +1 -1
  187. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +3 -6
  188. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +2 -3
  189. package/dist/components/AttributesSelectionList/index.js +1 -1
  190. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.d.ts +2 -2
  191. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +4 -4
  192. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +21 -28
  193. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +16 -13
  194. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +2 -2
  195. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +4 -7
  196. package/dist/components/AttributesSelectionList/sharedComponents.d.ts +803 -842
  197. package/dist/components/AttributesSelectionList/sharedComponents.js +4 -4
  198. package/dist/components/BasicButton/BasicButton.d.ts +2 -2
  199. package/dist/components/BasicButton/BasicButton.js +18 -19
  200. package/dist/components/BasicButton/index.d.ts +1 -1
  201. package/dist/components/BasicButton/index.js +2 -2
  202. package/dist/components/CreateDirectory/CreateDirectory.d.ts +2 -7
  203. package/dist/components/CreateDirectory/CreateDirectory.js +22 -125
  204. package/dist/components/CreateDirectory/index.d.ts +1 -1
  205. package/dist/components/CreateDirectory/index.js +2 -2
  206. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +2 -8
  207. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +18 -41
  208. package/dist/components/DeactivateRecordsModal/index.d.ts +1 -1
  209. package/dist/components/DeactivateRecordsModal/index.js +2 -2
  210. package/dist/components/Dimmer/Dimmer.d.ts +1 -1
  211. package/dist/components/Dimmer/Dimmer.js +5 -5
  212. package/dist/components/Dimmer/index.js +1 -1
  213. package/dist/components/EditApplication/EditApplication.d.ts +2 -8
  214. package/dist/components/EditApplication/EditApplication.js +17 -29
  215. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +2 -2
  216. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +34 -68
  217. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +3 -9
  218. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +72 -244
  219. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +2 -2
  220. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +26 -41
  221. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js +1 -1
  222. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js +1 -1
  223. package/dist/components/EditApplication/EditApplicationInfo/index.d.ts +1 -1
  224. package/dist/components/EditApplication/EditApplicationInfo/index.js +2 -2
  225. package/dist/components/EditApplication/_types.d.ts +1 -1
  226. package/dist/components/EditApplication/_types.js +1 -1
  227. package/dist/components/EditApplication/index.d.ts +1 -1
  228. package/dist/components/EditApplication/index.js +2 -2
  229. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +2 -6
  230. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +18 -28
  231. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +2 -2
  232. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +44 -102
  233. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +3 -10
  234. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +77 -389
  235. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.d.ts +2 -2
  236. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +21 -68
  237. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.d.ts +1 -1
  238. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js +2 -2
  239. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.d.ts +2 -2
  240. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +21 -68
  241. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.d.ts +1 -1
  242. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js +2 -2
  243. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.d.ts +2 -2
  244. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +16 -94
  245. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.d.ts +1 -1
  246. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js +2 -2
  247. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.d.ts +1 -1
  248. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js +2 -2
  249. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.d.ts +1 -1
  250. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js +2 -2
  251. package/dist/components/EditAttributeModal/EditAttribute/index.d.ts +1 -1
  252. package/dist/components/EditAttributeModal/EditAttribute/index.js +2 -2
  253. package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +3 -9
  254. package/dist/components/EditAttributeModal/EditAttributeModal.js +34 -84
  255. package/dist/components/EditAttributeModal/index.d.ts +1 -1
  256. package/dist/components/EditAttributeModal/index.js +2 -2
  257. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +2 -7
  258. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +26 -48
  259. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +2 -2
  260. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +13 -24
  261. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.d.ts +1 -1
  262. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js +2 -2
  263. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +6 -14
  264. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +39 -118
  265. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +2 -2
  266. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +11 -32
  267. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.d.ts +1 -1
  268. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js +2 -2
  269. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.d.ts +1 -1
  270. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js +2 -2
  271. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +2 -2
  272. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +13 -27
  273. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.d.ts +1 -1
  274. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js +2 -2
  275. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.d.ts +2 -2
  276. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +22 -89
  277. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.d.ts +1 -1
  278. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js +2 -2
  279. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +2 -2
  280. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +46 -85
  281. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +3 -10
  282. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +76 -245
  283. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.d.ts +1 -1
  284. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js +2 -2
  285. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.d.ts +1 -1
  286. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js +2 -2
  287. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +2 -2
  288. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +18 -22
  289. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +2 -8
  290. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +34 -241
  291. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +2 -2
  292. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +41 -114
  293. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.d.ts +1 -1
  294. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js +2 -2
  295. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.d.ts +1 -1
  296. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js +2 -2
  297. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +2 -6
  298. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +34 -122
  299. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.d.ts +1 -1
  300. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js +2 -2
  301. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.d.ts +1 -1
  302. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js +2 -2
  303. package/dist/components/EditLibraryModal/EditLibrary/index.d.ts +1 -1
  304. package/dist/components/EditLibraryModal/EditLibrary/index.js +2 -2
  305. package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +3 -10
  306. package/dist/components/EditLibraryModal/EditLibraryModal.js +33 -88
  307. package/dist/components/EditLibraryModal/index.d.ts +1 -1
  308. package/dist/components/EditLibraryModal/index.js +2 -2
  309. package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +2 -2
  310. package/dist/components/EditTreeModal/EditTree/EditTree.js +18 -28
  311. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +2 -2
  312. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +47 -85
  313. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +3 -10
  314. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +58 -169
  315. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.d.ts +3 -3
  316. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +30 -210
  317. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.d.ts +1 -1
  318. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js +2 -2
  319. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.d.ts +1 -1
  320. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js +2 -2
  321. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.d.ts +1 -1
  322. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js +2 -2
  323. package/dist/components/EditTreeModal/EditTree/index.d.ts +1 -1
  324. package/dist/components/EditTreeModal/EditTree/index.js +2 -2
  325. package/dist/components/EditTreeModal/EditTreeModal.d.ts +3 -3
  326. package/dist/components/EditTreeModal/EditTreeModal.js +31 -84
  327. package/dist/components/EditTreeModal/index.d.ts +1 -1
  328. package/dist/components/EditTreeModal/index.js +2 -2
  329. package/dist/components/EntityCard/EntityCard.d.ts +4 -14
  330. package/dist/components/EntityCard/EntityCard.js +22 -99
  331. package/dist/components/EntityCard/_types.js +1 -1
  332. package/dist/components/EntityCard/index.d.ts +1 -1
  333. package/dist/components/EntityCard/index.js +2 -2
  334. package/dist/components/EntityPreview/EntityPreview.d.ts +1 -1
  335. package/dist/components/EntityPreview/EntityPreview.js +2 -2
  336. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +2 -2
  337. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +23 -66
  338. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.d.ts +1 -1
  339. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js +8 -8
  340. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js +1 -1
  341. package/dist/components/EntityPreview/EntityPreviewList/index.js +1 -1
  342. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +2 -9
  343. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +16 -48
  344. package/dist/components/EntityPreview/EntityPreviewTile/index.js +1 -1
  345. package/dist/components/EntityPreview/_types.d.ts +2 -2
  346. package/dist/components/EntityPreview/_types.js +1 -1
  347. package/dist/components/EntityPreview/index.d.ts +1 -1
  348. package/dist/components/EntityPreview/index.js +2 -2
  349. package/dist/components/ErrorBoundary/ErrorBoundary.js +4 -8
  350. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +2 -2
  351. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +12 -50
  352. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js +1 -1
  353. package/dist/components/ErrorBoundary/index.d.ts +1 -1
  354. package/dist/components/ErrorBoundary/index.js +2 -2
  355. package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +3 -3
  356. package/dist/components/ErrorDisplay/ErrorDisplay.js +13 -22
  357. package/dist/components/ErrorDisplay/index.d.ts +1 -1
  358. package/dist/components/ErrorDisplay/index.js +2 -2
  359. package/dist/components/ErrorMessage/ErrorMessage.d.ts +1 -1
  360. package/dist/components/ErrorMessage/ErrorMessage.js +10 -31
  361. package/dist/components/ErrorMessage/index.js +1 -1
  362. package/dist/components/ExportModal/ExportModal.d.ts +2 -2
  363. package/dist/components/ExportModal/ExportModal.js +47 -116
  364. package/dist/components/ExportModal/index.d.ts +1 -1
  365. package/dist/components/ExportModal/index.js +2 -2
  366. package/dist/components/FieldsGroup/FieldsGroup.d.ts +2 -2
  367. package/dist/components/FieldsGroup/FieldsGroup.js +7 -13
  368. package/dist/components/FieldsGroup/index.js +1 -1
  369. package/dist/components/FloatingMenu/FloatingMenu.d.ts +3 -3
  370. package/dist/components/FloatingMenu/FloatingMenu.js +22 -84
  371. package/dist/components/FloatingMenu/_types.d.ts +1 -1
  372. package/dist/components/FloatingMenu/_types.js +1 -1
  373. package/dist/components/FloatingMenu/index.d.ts +1 -1
  374. package/dist/components/FloatingMenu/index.js +2 -2
  375. package/dist/components/ImageLoading/ImageLoading.d.ts +1 -1
  376. package/dist/components/ImageLoading/ImageLoading.js +6 -6
  377. package/dist/components/ImageLoading/index.d.ts +1 -1
  378. package/dist/components/ImageLoading/index.js +2 -2
  379. package/dist/components/ImageMissing/ImageMissing.d.ts +1 -1
  380. package/dist/components/ImageMissing/ImageMissing.js +7 -19
  381. package/dist/components/ImageMissing/index.d.ts +1 -1
  382. package/dist/components/ImageMissing/index.js +2 -2
  383. package/dist/components/ImportModal/ImportModal.d.ts +2 -8
  384. package/dist/components/ImportModal/ImportModal.js +75 -208
  385. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +2 -2
  386. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +11 -40
  387. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js +1 -1
  388. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +2 -2
  389. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js +13 -40
  390. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js +1 -1
  391. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +2 -2
  392. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +58 -135
  393. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -7
  394. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +7 -34
  395. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js +1 -1
  396. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +2 -10
  397. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +22 -149
  398. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js +1 -1
  399. package/dist/components/ImportModal/ImportModalConfigStep/index.js +1 -1
  400. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.d.ts +1 -1
  401. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js +10 -15
  402. package/dist/components/ImportModal/ImportModalDoneStep/index.js +1 -1
  403. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +6 -9
  404. package/dist/components/ImportModal/ImportModalProcessingStep/index.js +1 -1
  405. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +2 -2
  406. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +34 -70
  407. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js +1 -1
  408. package/dist/components/ImportModal/_types.d.ts +8 -14
  409. package/dist/components/ImportModal/_types.js +12 -12
  410. package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +2 -2
  411. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +3 -3
  412. package/dist/components/ImportModal/importReducer/importReducer.d.ts +22 -27
  413. package/dist/components/ImportModal/importReducer/importReducer.js +18 -32
  414. package/dist/components/ImportModal/importReducer/index.js +1 -1
  415. package/dist/components/ImportModal/index.d.ts +1 -1
  416. package/dist/components/ImportModal/index.js +2 -2
  417. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.d.ts +1 -0
  418. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +13 -3
  419. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  420. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +20 -58
  421. package/dist/components/LibraryItemsList/DisplayOptions/index.js +1 -1
  422. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js +5 -5
  423. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js +1 -1
  424. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +3 -14
  425. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +70 -128
  426. package/dist/components/LibraryItemsList/FiltersDropdown/index.js +1 -1
  427. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +4 -4
  428. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +102 -279
  429. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +2 -2
  430. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +43 -104
  431. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js +1 -1
  432. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +2 -2
  433. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js +7 -12
  434. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js +1 -1
  435. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +2 -2
  436. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js +11 -32
  437. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js +1 -1
  438. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +2 -2
  439. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js +9 -22
  440. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js +1 -1
  441. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +2 -2
  442. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js +9 -15
  443. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js +1 -1
  444. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +2 -2
  445. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js +10 -17
  446. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js +1 -1
  447. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js +1 -1
  448. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +3 -3
  449. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js +17 -37
  450. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js +1 -1
  451. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +2 -2
  452. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +14 -28
  453. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js +1 -1
  454. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +5 -11
  455. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +39 -45
  456. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +48 -166
  457. package/dist/components/LibraryItemsList/FiltersPanel/index.js +1 -1
  458. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +1 -1
  459. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +3 -3
  460. package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +2 -2
  461. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js +8 -8
  462. package/dist/components/LibraryItemsList/IconViewType/index.js +1 -1
  463. package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +4 -4
  464. package/dist/components/LibraryItemsList/LibraryItemsList.js +8 -16
  465. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +5 -5
  466. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +69 -140
  467. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js +1 -1
  468. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +1 -1
  469. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +4 -1
  470. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
  471. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js +1 -1
  472. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js +8 -20
  473. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js +1 -1
  474. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +3 -3
  475. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +14 -39
  476. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js +1 -1
  477. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +3 -3
  478. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js +1 -1
  479. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +2 -2
  480. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +23 -67
  481. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js +1 -1
  482. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +2 -2
  483. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +17 -45
  484. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +3 -3
  485. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +14 -34
  486. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js +1 -1
  487. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +1 -1
  488. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js +8 -16
  489. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js +1 -1
  490. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +1 -1
  491. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js +6 -6
  492. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +3 -3
  493. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +25 -64
  494. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js +1 -1
  495. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js +1 -1
  496. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +1 -1
  497. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +35 -114
  498. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js +1 -1
  499. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +2 -2
  500. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +54 -105
  501. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js +1 -1
  502. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +75 -171
  503. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js +1 -1
  504. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +2 -2
  505. package/dist/components/LibraryItemsList/MenuItemList/index.js +1 -1
  506. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +24 -43
  507. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js +1 -1
  508. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +1 -1
  509. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +37 -86
  510. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js +1 -1
  511. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +26 -52
  512. package/dist/components/LibraryItemsList/MenuSelection/index.js +1 -1
  513. package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +2 -2
  514. package/dist/components/LibraryItemsList/MenuView/MenuView.js +42 -171
  515. package/dist/components/LibraryItemsList/MenuView/index.js +1 -1
  516. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js +11 -20
  517. package/dist/components/LibraryItemsList/SearchItems/index.js +1 -1
  518. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +8 -20
  519. package/dist/components/LibraryItemsList/Sidebar/index.js +1 -1
  520. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +2 -2
  521. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js +1 -1
  522. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +12 -31
  523. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +1 -1
  524. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +3 -3
  525. package/dist/components/LibraryItemsList/TileDisplay/index.js +1 -1
  526. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +14 -28
  527. package/dist/components/LibraryItemsList/VersionsPanel/index.js +1 -1
  528. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +2 -2
  529. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +21 -133
  530. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js +1 -1
  531. package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +3 -3
  532. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +52 -194
  533. package/dist/components/LibraryItemsList/ViewPanel/View/index.js +1 -1
  534. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +55 -226
  535. package/dist/components/LibraryItemsList/ViewPanel/index.js +1 -1
  536. package/dist/components/LibraryItemsList/constants.d.ts +7 -7
  537. package/dist/components/LibraryItemsList/constants.js +5 -5
  538. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +2 -2
  539. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js +4 -4
  540. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +3 -5
  541. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +4 -4
  542. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +2 -2
  543. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +52 -56
  544. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +4 -9
  545. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +3 -3
  546. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +4 -4
  547. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +7 -7
  548. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +1 -1
  549. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js +6 -8
  550. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +1 -1
  551. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js +3 -3
  552. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +3 -5
  553. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +18 -35
  554. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +8 -11
  555. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js +1 -1
  556. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js +1 -1
  557. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +2 -2
  558. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js +3 -3
  559. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +110 -138
  560. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +92 -186
  561. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +2 -2
  562. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js +3 -3
  563. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +3 -13
  564. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -16
  565. package/dist/components/LibraryItemsList/index.d.ts +1 -1
  566. package/dist/components/LibraryItemsList/index.js +2 -2
  567. package/dist/components/LibraryItemsList/manageItems.d.ts +3 -3
  568. package/dist/components/LibraryItemsList/manageItems.js +11 -14
  569. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +3 -3
  570. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +25 -31
  571. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js +1 -1
  572. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +6 -6
  573. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +24 -32
  574. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +2 -2
  575. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +51 -131
  576. package/dist/components/LibraryPicker/LibrariesList/index.d.ts +1 -1
  577. package/dist/components/LibraryPicker/LibrariesList/index.js +2 -2
  578. package/dist/components/LibraryPicker/LibraryPicker.d.ts +2 -9
  579. package/dist/components/LibraryPicker/LibraryPicker.js +10 -33
  580. package/dist/components/LibraryPicker/index.d.ts +1 -1
  581. package/dist/components/LibraryPicker/index.js +2 -2
  582. package/dist/components/List/List.d.ts +2 -10
  583. package/dist/components/List/List.js +38 -78
  584. package/dist/components/List/index.js +1 -1
  585. package/dist/components/Loading/Loading.js +4 -4
  586. package/dist/components/Loading/index.d.ts +1 -1
  587. package/dist/components/Loading/index.js +2 -2
  588. package/dist/components/RecordCard/RecordCard.d.ts +2 -13
  589. package/dist/components/RecordCard/RecordCard.js +10 -40
  590. package/dist/components/RecordCard/_types.d.ts +3 -3
  591. package/dist/components/RecordCard/_types.js +1 -1
  592. package/dist/components/RecordCard/index.d.ts +1 -1
  593. package/dist/components/RecordCard/index.js +2 -2
  594. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +3 -3
  595. package/dist/components/RecordEdition/EditRecord/EditRecord.js +4 -5
  596. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  597. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.d.ts +1 -1
  598. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js +5 -22
  599. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.d.ts +1 -0
  600. package/dist/components/RecordEdition/EditRecord/{ValuesVersionSummary → _hooks/useHandleDeleteValues}/index.js +1 -2
  601. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.js.map +1 -0
  602. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.d.ts +13 -0
  603. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.js +47 -0
  604. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.js.map +1 -0
  605. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.d.ts +1 -0
  606. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.js +5 -0
  607. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.js.map +1 -0
  608. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.d.ts +15 -0
  609. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.js +206 -0
  610. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.js.map +1 -0
  611. package/dist/components/RecordEdition/EditRecord/_types.d.ts +25 -57
  612. package/dist/components/RecordEdition/EditRecord/_types.js +6 -6
  613. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.d.ts +2 -2
  614. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js +10 -20
  615. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.d.ts +1 -1
  616. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js +2 -2
  617. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +1 -1
  618. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js +2 -2
  619. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.d.ts +1 -1
  620. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js +2 -2
  621. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.d.ts +1 -1
  622. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js +2 -2
  623. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.d.ts +1 -1
  624. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js +2 -8
  625. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  626. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js +1 -1
  627. package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js +2 -2
  628. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.d.ts +2 -2
  629. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js +13 -17
  630. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.d.ts +1 -1
  631. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js +24 -29
  632. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.d.ts +2 -2
  633. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js +3 -3
  634. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js +1 -1
  635. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.d.ts +37 -55
  636. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js +40 -96
  637. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js +1 -1
  638. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.d.ts +68 -88
  639. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js +58 -200
  640. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.d.ts +3 -3
  641. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js +25 -42
  642. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js +1 -1
  643. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +1 -1
  644. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +10 -40
  645. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js +1 -1
  646. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.d.ts +2 -2
  647. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js +19 -45
  648. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js +1 -1
  649. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.d.ts +2 -2
  650. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js +8 -11
  651. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js +1 -1
  652. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +2 -2
  653. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js +8 -11
  654. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  655. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js +1 -1
  656. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.d.ts +1 -1
  657. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js +10 -37
  658. package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.js +1 -1
  659. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +7 -13
  660. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js +1 -1
  661. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +4 -4
  662. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js +26 -39
  663. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js +1 -1
  664. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +4 -10
  665. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js +30 -58
  666. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  667. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js +1 -1
  668. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +3 -3
  669. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +9 -9
  670. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js +1 -1
  671. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.d.ts +2 -7
  672. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js +7 -35
  673. package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js +1 -1
  674. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.d.ts +3 -3
  675. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js +15 -32
  676. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js +1 -1
  677. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.d.ts +3 -3
  678. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js +5 -5
  679. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js +1 -1
  680. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.d.ts +3 -3
  681. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js +24 -25
  682. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js +1 -1
  683. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +5 -12
  684. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +10 -10
  685. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js +1 -1
  686. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.d.ts +5 -10
  687. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js +84 -289
  688. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +2 -2
  689. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +6 -6
  690. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js +1 -1
  691. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +3 -3
  692. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +15 -22
  693. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +1 -1
  694. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +3 -3
  695. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js +54 -295
  696. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js +1 -1
  697. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js +1 -1
  698. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.d.ts +3 -9
  699. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js +53 -178
  700. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +2 -2
  701. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +7 -13
  702. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +2 -2
  703. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +7 -17
  704. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +2 -2
  705. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +12 -48
  706. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +2 -2
  707. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +14 -52
  708. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +1 -1
  709. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +2 -8
  710. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +6 -15
  711. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +2 -9
  712. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +8 -19
  713. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +2 -2
  714. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +7 -21
  715. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +2 -9
  716. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +7 -21
  717. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +4 -16
  718. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +85 -342
  719. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  720. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +3 -3
  721. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +17 -44
  722. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +1 -1
  723. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js +1 -1
  724. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js +1 -1
  725. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.d.ts +3 -3
  726. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js +4 -4
  727. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js +1 -1
  728. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.d.ts +3 -8
  729. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js +49 -186
  730. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +3 -3
  731. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +13 -18
  732. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js +1 -1
  733. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +3 -3
  734. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js +30 -118
  735. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js +1 -1
  736. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js +1 -1
  737. package/dist/components/RecordEdition/EditRecord/uiElements/index.d.ts +2 -2
  738. package/dist/components/RecordEdition/EditRecord/uiElements/index.js +2 -2
  739. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +4 -4
  740. package/dist/components/RecordEdition/EditRecordBtn/index.js +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
  742. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +3 -4
  743. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  744. package/dist/components/RecordEdition/EditRecordContent/formConstants.js +3 -0
  745. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  746. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +1 -1
  748. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +4 -0
  749. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +30 -0
  750. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +1 -0
  751. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +4 -1
  752. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +36 -13
  753. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  754. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js +17 -61
  755. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js +1 -1
  756. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.d.ts +2 -2
  757. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js +20 -56
  758. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js +1 -1
  759. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.d.ts +2 -2
  760. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js +2 -2
  761. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +4 -1
  762. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +34 -8
  763. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  764. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +1 -1
  765. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +8 -27
  766. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +1 -1
  767. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +9 -9
  768. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +28 -112
  769. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +1 -1
  770. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.d.ts +2 -2
  771. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +12 -18
  772. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js +1 -1
  773. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.d.ts +3 -3
  774. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js +11 -19
  775. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js +1 -1
  776. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js +1 -1
  777. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js +1 -1
  778. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js +1 -1
  779. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +1 -1
  780. package/dist/components/RecordEdition/EditRecordSidebar/index.js +1 -1
  781. package/dist/components/RecordEdition/_types.d.ts +2 -0
  782. package/dist/components/RecordEdition/_types.js +2 -0
  783. package/dist/components/RecordEdition/_types.js.map +1 -0
  784. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.d.ts +41 -53
  785. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js +25 -61
  786. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.d.ts +2 -2
  787. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js +2 -2
  788. package/dist/components/RecordEdition/editRecordModalReducer/index.js +1 -1
  789. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.d.ts +1 -1
  790. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js +3 -3
  791. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.d.ts +1 -0
  792. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js +5 -0
  793. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -0
  794. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.d.ts +2 -0
  795. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +22 -0
  796. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -0
  797. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -0
  798. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +24 -0
  799. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -0
  800. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +1 -1
  801. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +15 -49
  802. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +2 -2
  803. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +7 -21
  804. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +1 -1
  805. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +2 -2
  806. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +9 -28
  807. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +1 -1
  808. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +2 -2
  809. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +15 -34
  810. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +2 -2
  811. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +25 -97
  812. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +1 -1
  813. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +2 -2
  814. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +14 -32
  815. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +1 -1
  816. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +2 -2
  817. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +17 -39
  818. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +1 -1
  819. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +2 -2
  820. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +8 -22
  821. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +1 -1
  822. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +2 -2
  823. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js +1 -1
  824. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js +1 -1
  825. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +1 -1
  826. package/dist/components/RecordPreviewWithModal/FileModal/index.js +1 -1
  827. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +3 -3
  828. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +25 -66
  829. package/dist/components/RecordPreviewWithModal/index.d.ts +1 -1
  830. package/dist/components/RecordPreviewWithModal/index.js +2 -2
  831. package/dist/components/SearchModal/SearchModal.d.ts +2 -2
  832. package/dist/components/SearchModal/SearchModal.js +22 -60
  833. package/dist/components/SearchModal/index.d.ts +1 -1
  834. package/dist/components/SearchModal/index.js +2 -2
  835. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +3 -11
  836. package/dist/components/SelectTreeNode/SelectTreeNode.js +28 -63
  837. package/dist/components/SelectTreeNode/index.d.ts +1 -1
  838. package/dist/components/SelectTreeNode/index.js +2 -2
  839. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +3 -10
  840. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +12 -45
  841. package/dist/components/SelectTreeNodeModal/index.js +1 -1
  842. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +4 -4
  843. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
  844. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +7 -21
  845. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +1 -1
  846. package/dist/components/SimpleErrorBoundary/index.d.ts +1 -1
  847. package/dist/components/SimpleErrorBoundary/index.js +2 -2
  848. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +2 -2
  849. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +10 -26
  850. package/dist/components/SubmitStateNotifier/_types.js +1 -1
  851. package/dist/components/SubmitStateNotifier/index.d.ts +1 -1
  852. package/dist/components/SubmitStateNotifier/index.js +2 -2
  853. package/dist/components/TreePicker/TreePicker.d.ts +2 -2
  854. package/dist/components/TreePicker/TreePicker.js +10 -34
  855. package/dist/components/TreePicker/TreesList/TreesList.d.ts +2 -2
  856. package/dist/components/TreePicker/TreesList/TreesList.js +50 -110
  857. package/dist/components/TreePicker/TreesList/index.d.ts +1 -1
  858. package/dist/components/TreePicker/TreesList/index.js +2 -2
  859. package/dist/components/TreePicker/index.d.ts +1 -1
  860. package/dist/components/TreePicker/index.js +2 -2
  861. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +2 -8
  862. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +32 -90
  863. package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -1
  864. package/dist/components/TriggerPreviewsGenerationModal/index.js +2 -2
  865. package/dist/components/UploadFiles/UploadFiles.d.ts +2 -8
  866. package/dist/components/UploadFiles/UploadFiles.js +62 -244
  867. package/dist/components/UploadFiles/index.d.ts +1 -1
  868. package/dist/components/UploadFiles/index.js +2 -2
  869. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +2 -7
  870. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +19 -57
  871. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +3 -3
  872. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +20 -54
  873. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +1 -1
  874. package/dist/components/ValuesVersionConfigurator/index.js +1 -1
  875. package/dist/components/index.js +1 -1
  876. package/dist/constants.d.ts +14 -14
  877. package/dist/constants.js +9 -9
  878. package/dist/contexts/LangContext/LangContext.d.ts +1 -1
  879. package/dist/contexts/LangContext/LangContext.js +1 -1
  880. package/dist/contexts/LangContext/index.d.ts +1 -1
  881. package/dist/contexts/LangContext/index.js +2 -2
  882. package/dist/contexts/LangContext/types.js +1 -1
  883. package/dist/contexts/UserContext/UserContext.d.ts +1 -1
  884. package/dist/contexts/UserContext/UserContext.js +1 -1
  885. package/dist/contexts/UserContext/index.d.ts +1 -1
  886. package/dist/contexts/UserContext/index.js +2 -2
  887. package/dist/contexts/UserContext/types.d.ts +1 -1
  888. package/dist/contexts/UserContext/types.js +1 -1
  889. package/dist/contexts/index.js +1 -1
  890. package/dist/gqlFragments/index.d.ts +1 -1
  891. package/dist/gqlFragments/index.js +2 -2
  892. package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -1
  893. package/dist/gqlFragments/recordIdentityFragment.js +3 -3
  894. package/dist/gqlPossibleTypes/index.d.ts +1 -1
  895. package/dist/gqlPossibleTypes/index.js +1 -1
  896. package/dist/hooks/index.d.ts +13 -13
  897. package/dist/hooks/index.js +14 -14
  898. package/dist/hooks/useAntdLocale/index.d.ts +1 -1
  899. package/dist/hooks/useAntdLocale/index.js +2 -2
  900. package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +1 -1
  901. package/dist/hooks/useAntdLocale/useAntdLocale.js +2 -2
  902. package/dist/hooks/useAppLang/index.d.ts +1 -1
  903. package/dist/hooks/useAppLang/index.js +2 -2
  904. package/dist/hooks/useAppLang/useAppLang.js +11 -12
  905. package/dist/hooks/useAuth/index.d.ts +1 -1
  906. package/dist/hooks/useAuth/index.js +2 -2
  907. package/dist/hooks/useAuth/useAuth.js +3 -3
  908. package/dist/hooks/useCanEditRecord/index.d.ts +1 -1
  909. package/dist/hooks/useCanEditRecord/index.js +2 -2
  910. package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +3 -6
  911. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +15 -37
  912. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +2 -2
  913. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js +8 -12
  914. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +2 -2
  915. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +4 -4
  916. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +2 -10
  917. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +4 -4
  918. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +2 -2
  919. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +10 -23
  920. package/dist/hooks/useGetRecordForm/index.d.ts +1 -1
  921. package/dist/hooks/useGetRecordForm/index.js +2 -2
  922. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +36 -75
  923. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +19 -38
  924. package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -1
  925. package/dist/hooks/useGetRecordUpdatesSubscription/index.js +2 -2
  926. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +4 -10
  927. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +7 -10
  928. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +7 -14
  929. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +20 -30
  930. package/dist/hooks/useLang/__mocks__/index.js +1 -1
  931. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  932. package/dist/hooks/useLang/index.js +1 -1
  933. package/dist/hooks/useLang/useLang.d.ts +1 -1
  934. package/dist/hooks/useLang/useLang.js +3 -3
  935. package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -1
  936. package/dist/hooks/useLibraryVersionTrees/index.js +2 -2
  937. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +2 -2
  938. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +9 -26
  939. package/dist/hooks/useLocalStorage/index.d.ts +1 -1
  940. package/dist/hooks/useLocalStorage/index.js +2 -2
  941. package/dist/hooks/useLocalStorage/useLocalStorage.js +2 -2
  942. package/dist/hooks/useRecordsConsultationHistory/index.js +1 -1
  943. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +6 -5
  944. package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -1
  945. package/dist/hooks/useRefreshFieldValues/index.js +2 -2
  946. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +3 -7
  947. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +25 -31
  948. package/dist/hooks/useRefreshToken/index.d.ts +1 -1
  949. package/dist/hooks/useRefreshToken/index.js +2 -2
  950. package/dist/hooks/useRefreshToken/useRefreshToken.js +5 -5
  951. package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -1
  952. package/dist/hooks/useSharedTranslation/__mocks__/index.js +2 -2
  953. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +1 -1
  954. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  955. package/dist/hooks/useSharedTranslation/index.d.ts +1 -1
  956. package/dist/hooks/useSharedTranslation/index.js +2 -2
  957. package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +1 -1
  958. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +22 -29
  959. package/dist/hooks/useUser/index.d.ts +1 -1
  960. package/dist/hooks/useUser/index.js +2 -2
  961. package/dist/hooks/useUser/useUser.d.ts +1 -1
  962. package/dist/hooks/useUser/useUser.js +3 -3
  963. package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -1
  964. package/dist/hooks/useValuesCacheUpdate/index.js +2 -2
  965. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +3 -6
  966. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +11 -16
  967. package/dist/index.js +1 -1
  968. package/dist/locales/en/shared.json +9 -3
  969. package/dist/locales/fr/shared.json +8 -2
  970. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +3 -1
  971. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +5 -5
  972. package/dist/testing/MockedLangContextProvider/index.js +1 -1
  973. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +3 -1
  974. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +8 -13
  975. package/dist/testing/MockedUserContextProvider/index.js +1 -1
  976. package/dist/testing/index.d.ts +1 -1
  977. package/dist/testing/index.js +2 -2
  978. package/dist/types/attributes.d.ts +3 -3
  979. package/dist/types/attributes.js +1 -1
  980. package/dist/types/index.js +1 -1
  981. package/dist/types/misc.js +1 -1
  982. package/dist/types/records.d.ts +2 -2
  983. package/dist/types/records.js +1 -1
  984. package/dist/types/scalars.js +1 -1
  985. package/dist/types/search.d.ts +27 -38
  986. package/dist/types/search.js +19 -19
  987. package/dist/types/trees.d.ts +2 -2
  988. package/dist/types/trees.js +1 -1
  989. package/dist/types/values.js +1 -1
  990. package/dist/types/views.d.ts +4 -4
  991. package/dist/types/views.js +1 -1
  992. package/package.json +1 -1
  993. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +0 -9
  994. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js +0 -37
  995. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +0 -1
  996. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.d.ts +0 -2
  997. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +0 -1
@@ -1,16 +1,16 @@
1
- import {jsx as _jsx, jsxs as _jsxs} from 'react/jsx-runtime';
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // Copyright LEAV Solutions 2017
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
5
  import styled from 'styled-components';
6
- import {themeVars} from '../../../../../../antdTheme';
7
- import {FloatingMenu, RecordCard} from '../../../../../../components';
6
+ import { themeVars } from '../../../../../../antdTheme';
7
+ import { FloatingMenu, RecordCard } from '../../../../../../components';
8
8
  import DeleteValueBtn from '../../../../../../components/RecordEdition/EditRecord/shared/DeleteValueBtn';
9
9
  import ValueDetailsBtn from '../../../../../../components/RecordEdition/EditRecord/shared/ValueDetailsBtn';
10
10
  import EditRecordBtn from '../../../../../../components/RecordEdition/EditRecordBtn';
11
- import {PreviewSize} from '../../../../../../constants';
12
- import {useSharedTranslation} from '../../../../../../hooks/useSharedTranslation';
13
- const ListItem = styled.div`
11
+ import { PreviewSize } from '../../../../../../constants';
12
+ import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
13
+ const ListItem = styled.div `
14
14
  padding: 0.5em 0;
15
15
  position: relative;
16
16
  &:not(:last-child) {
@@ -25,31 +25,26 @@ const ListItem = styled.div`
25
25
  right: 30px;
26
26
  }
27
27
  `;
28
- function TreeFieldValue({value, attribute, onDelete, isReadOnly}) {
29
- const {t} = useSharedTranslation();
28
+ function TreeFieldValue({ value, attribute, onDelete, isReadOnly }) {
29
+ const { t } = useSharedTranslation();
30
30
  const _handleDelete = async () => onDelete();
31
31
  const valueMenuActions = [
32
32
  {
33
33
  title: t('record_edition.edit_record'),
34
- button: _jsx(EditRecordBtn, {record: value.treeValue.record.whoAmI})
34
+ button: _jsx(EditRecordBtn, { record: value.treeValue.record.whoAmI })
35
35
  },
36
36
  {
37
37
  title: t('record_edition.value_details'),
38
- button: _jsx(ValueDetailsBtn, {value: value, attribute: attribute})
38
+ button: _jsx(ValueDetailsBtn, { value: value, attribute: attribute })
39
39
  }
40
40
  ];
41
41
  if (!isReadOnly) {
42
42
  valueMenuActions.push({
43
43
  title: t('global.delete'),
44
- button: _jsx(DeleteValueBtn, {onDelete: _handleDelete})
44
+ button: _jsx(DeleteValueBtn, { onDelete: _handleDelete })
45
45
  });
46
46
  }
47
- return _jsxs(ListItem, {
48
- children: [
49
- _jsx(RecordCard, {record: value.treeValue.record.whoAmI, size: PreviewSize.small}),
50
- _jsx(FloatingMenu, {actions: valueMenuActions})
51
- ]
52
- });
47
+ return (_jsxs(ListItem, { children: [_jsx(RecordCard, { record: value.treeValue.record.whoAmI, size: PreviewSize.small }), _jsx(FloatingMenu, { actions: valueMenuActions })] }));
53
48
  }
54
49
  export default TreeFieldValue;
55
- //# sourceMappingURL=TreeFieldValue.js.map
50
+ //# sourceMappingURL=TreeFieldValue.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import TreeFieldValue from './TreeFieldValue';
5
5
  export default TreeFieldValue;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import {ITreeNodeWithRecord} from '../../../../../../types/trees';
3
- import {RecordFormAttributeTreeAttributeFragment} from '../../../../../../_gqlTypes';
2
+ import { ITreeNodeWithRecord } from '../../../../../../types/trees';
3
+ import { RecordFormAttributeTreeAttributeFragment } from '../../../../../../_gqlTypes';
4
4
  interface IValuesAddProps {
5
5
  attribute: RecordFormAttributeTreeAttributeFragment;
6
6
  onAdd: (values: ITreeNodeWithRecord[]) => void;
7
7
  onClose: () => void;
8
8
  }
9
- declare function ValuesAdd({attribute, onAdd, onClose}: IValuesAddProps): JSX.Element;
9
+ declare function ValuesAdd({ attribute, onAdd, onClose }: IValuesAddProps): JSX.Element;
10
10
  export default ValuesAdd;
@@ -1,76 +1,64 @@
1
- import {jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs} from 'react/jsx-runtime';
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  // Copyright LEAV Solutions 2017
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import {localizedTranslation} from '@leav/utils';
6
- import {Breadcrumb, Button, Divider, Space} from 'antd';
7
- import {useEffect, useRef, useState} from 'react';
5
+ import { localizedTranslation } from '@leav/utils';
6
+ import { Breadcrumb, Button, Divider, Space } from 'antd';
7
+ import { useEffect, useRef, useState } from 'react';
8
8
  import styled from 'styled-components';
9
- import {themeVars} from '../../../../../../antdTheme';
10
- import {RecordCard} from '../../../../../../components';
9
+ import { themeVars } from '../../../../../../antdTheme';
10
+ import { RecordCard } from '../../../../../../components';
11
11
  import List from '../../../../../../components/List';
12
- import {SelectTreeNode} from '../../../../../../components/SelectTreeNode';
13
- import {PreviewSize} from '../../../../../../constants';
12
+ import { SelectTreeNode } from '../../../../../../components/SelectTreeNode';
13
+ import { PreviewSize } from '../../../../../../constants';
14
14
  import useLang from '../../../../../../hooks/useLang';
15
- import {useSharedTranslation} from '../../../../../../hooks/useSharedTranslation';
16
- import {getTreeRecordKey} from '../../../../../../_utils';
17
- const Wrapper = styled.div`
15
+ import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
16
+ import { getTreeRecordKey } from '../../../../../../_utils';
17
+ const Wrapper = styled.div `
18
18
  background-color: ${themeVars.defaultBg};
19
19
  z-index: 1;
20
20
  position: relative;
21
21
  `;
22
- const SelectionWrapper = styled.div`
22
+ const SelectionWrapper = styled.div `
23
23
  padding: 1em;
24
24
  max-height: 350px;
25
25
  overflow: auto;
26
26
  `;
27
- const FooterWrapper = styled.div`
27
+ const FooterWrapper = styled.div `
28
28
  padding: 0.5em 1em;
29
29
  display: flex;
30
30
  justify-content: flex-end;
31
31
  background: ${themeVars.lightBg};
32
32
  `;
33
- const BreadcrumbWrapper = styled.div`
33
+ const BreadcrumbWrapper = styled.div `
34
34
  & .record-card .label {
35
35
  font-weight: normal;
36
36
  }
37
37
  `;
38
- const BreadcrumbRoot = styled(Breadcrumb)`
38
+ const BreadcrumbRoot = styled(Breadcrumb) `
39
39
  display: flex;
40
40
  align-items: center;
41
41
  `;
42
- function ValuesAdd({attribute, onAdd, onClose}) {
42
+ function ValuesAdd({ attribute, onAdd, onClose }) {
43
43
  var _a, _b, _c;
44
- const {t} = useSharedTranslation();
45
- const {lang} = useLang();
46
- const valuesList = (
47
- (_a = attribute === null || attribute === void 0 ? void 0 : attribute.treeValuesList) === null || _a === void 0
48
- ? void 0
49
- : _a.enable
50
- )
51
- ? (_c =
52
- (_b = attribute === null || attribute === void 0 ? void 0 : attribute.treeValuesList) === null ||
53
- _b === void 0
54
- ? void 0
55
- : _b.values) !== null && _c !== void 0
56
- ? _c
57
- : []
58
- : [];
44
+ const { t } = useSharedTranslation();
45
+ const { lang } = useLang();
46
+ const valuesList = ((_a = attribute === null || attribute === void 0 ? void 0 : attribute.treeValuesList) === null || _a === void 0 ? void 0 : _a.enable) ? (_c = (_b = attribute === null || attribute === void 0 ? void 0 : attribute.treeValuesList) === null || _b === void 0 ? void 0 : _b.values) !== null && _c !== void 0 ? _c : [] : [];
59
47
  const wrapperRef = useRef();
60
48
  const [selectedValuesFromTree, setSelectedValuesFromTree] = useState([]);
61
49
  const [selectedValuesFromList, setSelectedValuesFromList] = useState([]);
62
50
  useEffect(() => {
63
- wrapperRef.current.scrollIntoView({block: 'nearest'});
51
+ wrapperRef.current.scrollIntoView({ block: 'nearest' });
64
52
  }, []);
65
- const _handleSelectionChange = selection => setSelectedValuesFromList(selection);
53
+ const _handleSelectionChange = (selection) => setSelectedValuesFromList(selection);
66
54
  const _handleSelect = (node, selected) => {
67
55
  if (selected) {
68
56
  onAdd([node]);
69
57
  }
70
58
  };
71
- const _handleCheck = selectedNodes => setSelectedValuesFromTree(selectedNodes);
59
+ const _handleCheck = (selectedNodes) => setSelectedValuesFromTree(selectedNodes);
72
60
  const _handleClose = () => onClose();
73
- const _handleItemClick = valueListItem => {
61
+ const _handleItemClick = (valueListItem) => {
74
62
  const recordKey = valueListItem.id;
75
63
  onAdd([
76
64
  {
@@ -98,100 +86,24 @@ function ValuesAdd({attribute, onAdd, onClose}) {
98
86
  ];
99
87
  onAdd(selection);
100
88
  };
101
- const _renderListItem = item => {
89
+ const _renderListItem = (item) => {
102
90
  const pathToDisplay = item.ancestors;
103
91
  const parents = pathToDisplay.slice(0, -1);
104
92
  const element = pathToDisplay.slice(-1)[0];
105
- const recordCardSettings = {withLibrary: false, withPreview: false};
93
+ const recordCardSettings = { withLibrary: false, withPreview: false };
106
94
  const breadcrumbItems = parents.map(ancestor => {
107
95
  return {
108
96
  key: ancestor.record.id,
109
- title: _jsx(
110
- RecordCard,
111
- Object.assign({record: ancestor.record.whoAmI, size: PreviewSize.small}, recordCardSettings)
112
- )
97
+ title: _jsx(RecordCard, Object.assign({ record: ancestor.record.whoAmI, size: PreviewSize.small }, recordCardSettings))
113
98
  };
114
99
  });
115
100
  breadcrumbItems.push({
116
101
  key: element.record.id,
117
- title: _jsx(
118
- RecordCard,
119
- Object.assign({record: element.record.whoAmI, size: PreviewSize.small}, recordCardSettings)
120
- )
102
+ title: _jsx(RecordCard, Object.assign({ record: element.record.whoAmI, size: PreviewSize.small }, recordCardSettings))
121
103
  });
122
- return _jsx(BreadcrumbWrapper, {children: _jsx(BreadcrumbRoot, {items: breadcrumbItems, separator: '>'})});
104
+ return (_jsx(BreadcrumbWrapper, { children: _jsx(BreadcrumbRoot, { items: breadcrumbItems, separator: ">" }) }));
123
105
  };
124
- return _jsx(_Fragment, {
125
- children: _jsxs(
126
- Wrapper,
127
- Object.assign(
128
- {'data-testid': 'values-add', ref: wrapperRef},
129
- {
130
- children: [
131
- _jsxs(SelectionWrapper, {
132
- children: [
133
- !!valuesList.length &&
134
- _jsxs(_Fragment, {
135
- children: [
136
- _jsx(
137
- Divider,
138
- Object.assign(
139
- {orientation: 'left'},
140
- {children: t('record_edition.values_list')}
141
- )
142
- ),
143
- _jsx(List, {
144
- dataSource: valuesList,
145
- onItemClick: _handleItemClick,
146
- renderItemContent: _renderListItem,
147
- selectable: attribute.multiple_values,
148
- selectedItems: selectedValuesFromList,
149
- onSelectionChange: _handleSelectionChange,
150
- pagination: false
151
- })
152
- ]
153
- }),
154
- _jsx(
155
- Divider,
156
- Object.assign(
157
- {orientation: 'left'},
158
- {children: localizedTranslation(attribute.linked_tree.label, lang)}
159
- )
160
- ),
161
- _jsx(SelectTreeNode, {
162
- tree: attribute.linked_tree,
163
- onSelect: _handleSelect,
164
- onCheck: _handleCheck,
165
- multiple: attribute.multiple_values
166
- })
167
- ]
168
- }),
169
- attribute.multiple_values &&
170
- _jsx(FooterWrapper, {
171
- children: _jsxs(Space, {
172
- children: [
173
- _jsx(
174
- Button,
175
- Object.assign(
176
- {size: 'small', onClick: _handleClose},
177
- {children: t('global.cancel')}
178
- )
179
- ),
180
- _jsx(
181
- Button,
182
- Object.assign(
183
- {type: 'primary', size: 'small', onClick: _handleSubmit},
184
- {children: t('global.submit')}
185
- )
186
- )
187
- ]
188
- })
189
- })
190
- ]
191
- }
192
- )
193
- )
194
- });
106
+ return (_jsx(_Fragment, { children: _jsxs(Wrapper, Object.assign({ "data-testid": "values-add", ref: wrapperRef }, { children: [_jsxs(SelectionWrapper, { children: [!!valuesList.length && (_jsxs(_Fragment, { children: [_jsx(Divider, Object.assign({ orientation: "left" }, { children: t('record_edition.values_list') })), _jsx(List, { dataSource: valuesList, onItemClick: _handleItemClick, renderItemContent: _renderListItem, selectable: attribute.multiple_values, selectedItems: selectedValuesFromList, onSelectionChange: _handleSelectionChange, pagination: false })] })), _jsx(Divider, Object.assign({ orientation: "left" }, { children: localizedTranslation(attribute.linked_tree.label, lang) })), _jsx(SelectTreeNode, { tree: attribute.linked_tree, onSelect: _handleSelect, onCheck: _handleCheck, multiple: attribute.multiple_values })] }), attribute.multiple_values && (_jsx(FooterWrapper, { children: _jsxs(Space, { children: [_jsx(Button, Object.assign({ size: "small", onClick: _handleClose }, { children: t('global.cancel') })), _jsx(Button, Object.assign({ type: "primary", size: "small", onClick: _handleSubmit }, { children: t('global.submit') }))] }) }))] })) }));
195
107
  }
196
108
  export default ValuesAdd;
197
- //# sourceMappingURL=ValuesAdd.js.map
109
+ //# sourceMappingURL=ValuesAdd.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import ValuesAdd from './ValuesAdd';
5
5
  export default ValuesAdd;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import TreeField from './TreeField';
5
5
  export default TreeField;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import {FormFieldTypes, FormUIElementTypes} from '@leav/utils';
3
- import {IFormElementProps} from '../_types';
2
+ import { FormFieldTypes, FormUIElementTypes } from '@leav/utils';
3
+ import { IFormElementProps } from '../_types';
4
4
  export declare const formComponents: {
5
5
  [type in FormUIElementTypes & FormFieldTypes]: (props: IFormElementProps<any>) => JSX.Element;
6
6
  };
@@ -1,7 +1,7 @@
1
1
  // Copyright LEAV Solutions 2017
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import {FormFieldTypes, FormUIElementTypes} from '@leav/utils';
4
+ import { FormFieldTypes, FormUIElementTypes } from '@leav/utils';
5
5
  import Container from './Container';
6
6
  import FormDivider from './FormDivider';
7
7
  import FormTabs from './FormTabs';
@@ -21,4 +21,4 @@ export const formComponents = {
21
21
  [FormUIElementTypes.TEXT_BLOCK]: TextBlock,
22
22
  [FormUIElementTypes.DIVIDER]: FormDivider
23
23
  };
24
- //# sourceMappingURL=index.js.map
24
+ //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import {ButtonProps} from 'antd';
3
- import {IRecordIdentityWhoAmI} from '../../../types/records';
4
- import {IValueVersion} from '../../../types/values';
2
+ import { ButtonProps } from 'antd';
3
+ import { IRecordIdentityWhoAmI } from '../../../types/records';
4
+ import { IValueVersion } from '../../../types/values';
5
5
  interface IEditRecordBtnProps extends ButtonProps {
6
6
  record: IRecordIdentityWhoAmI;
7
7
  valuesVersion?: IValueVersion;
8
8
  }
9
- declare function EditRecordBtn({record, valuesVersion, ...buttonProps}: IEditRecordBtnProps): JSX.Element;
9
+ declare function EditRecordBtn({ record, valuesVersion, ...buttonProps }: IEditRecordBtnProps): JSX.Element;
10
10
  export default EditRecordBtn;
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import EditRecordBtn from './EditRecordBtn';
5
5
  export default EditRecordBtn;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { IRecordIdentityWhoAmI } from '../../../types/records';
3
3
  import { DeleteMultipleValuesFunc, DeleteValueFunc, SubmitValueFunc } from './_types';
4
+ import { FormInstance } from 'antd';
4
5
  interface IEditRecordContentProps {
6
+ antdForm: FormInstance;
5
7
  record: IRecordIdentityWhoAmI | null;
6
8
  library: string;
7
9
  onRecordSubmit: () => void;
@@ -10,5 +12,5 @@ interface IEditRecordContentProps {
10
12
  onDeleteMultipleValues: DeleteMultipleValuesFunc;
11
13
  readonly: boolean;
12
14
  }
13
- declare function EditRecordContent({ record, library, onRecordSubmit, onValueSubmit, onValueDelete, onDeleteMultipleValues, readonly }: IEditRecordContentProps): JSX.Element;
15
+ declare function EditRecordContent({ antdForm, record, library, onRecordSubmit, onValueSubmit, onValueDelete, onDeleteMultipleValues, readonly }: IEditRecordContentProps): JSX.Element;
14
16
  export default EditRecordContent;
@@ -17,16 +17,15 @@ import extractFormElements from './helpers/extractFormElements';
17
17
  import { RecordEditionContext } from './hooks/useRecordEditionContext';
18
18
  import { formComponents } from './uiElements';
19
19
  import { Form } from 'antd';
20
- import { useForm } from 'antd/lib/form/Form';
21
20
  import dayjs from 'dayjs';
22
21
  import { EDIT_OR_CREATE_RECORD_FORM_ID } from './formConstants';
23
- function EditRecordContent({ record, library, onRecordSubmit, onValueSubmit, onValueDelete, onDeleteMultipleValues, readonly }) {
22
+ function EditRecordContent({ antdForm, record, library, onRecordSubmit, onValueSubmit, onValueDelete, onDeleteMultipleValues, readonly }) {
24
23
  var _a, _b, _c, _d, _e, _f, _g, _h;
25
24
  const formId = record ? 'edition' : 'creation';
26
25
  const { t } = useSharedTranslation();
27
26
  const { state, dispatch } = useEditRecordReducer();
28
- const [antForm] = useForm();
29
27
  useRecordsConsultationHistory((_b = (_a = record === null || record === void 0 ? void 0 : record.library) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : null, (_c = record === null || record === void 0 ? void 0 : record.id) !== null && _c !== void 0 ? _c : null);
28
+ const forminstance = Form.useFormInstance();
30
29
  const { data: recordUpdateData } = useGetRecordUpdatesSubscription({ records: [record === null || record === void 0 ? void 0 : record.id], ignoreOwnEvents: true }, !(record === null || record === void 0 ? void 0 : record.id));
31
30
  useEffect(() => {
32
31
  var _a, _b, _c, _d, _e, _f;
@@ -118,7 +117,7 @@ function EditRecordContent({ record, library, onRecordSubmit, onValueSubmit, onV
118
117
  return acc;
119
118
  }, {});
120
119
  // Use a hash of record form as a key to force a full re-render when the form changes
121
- return (_jsx(Form, Object.assign({ id: EDIT_OR_CREATE_RECORD_FORM_ID, form: antForm, initialValues: antdFormInitialValues, onFinish: onRecordSubmit }, { children: _jsx(RecordEditionContext.Provider, Object.assign({ value: { elements: elementsByContainer, readOnly: readonly, record } }, { children: _jsx(rootElement.uiElement, { element: rootElement, onValueSubmit: _handleValueSubmit, onValueDelete: _handleValueDelete, onDeleteMultipleValues: onDeleteMultipleValues }, recordFormHash) })) })));
120
+ return (_jsx(Form, Object.assign({ id: EDIT_OR_CREATE_RECORD_FORM_ID, form: antdForm, initialValues: antdFormInitialValues, onFinish: onRecordSubmit }, { children: _jsx(RecordEditionContext.Provider, Object.assign({ value: { elements: elementsByContainer, readOnly: readonly, record } }, { children: _jsx(rootElement.uiElement, { element: rootElement, onValueSubmit: _handleValueSubmit, onValueDelete: _handleValueDelete, onDeleteMultipleValues: onDeleteMultipleValues }, recordFormHash) })) })));
122
121
  }
123
122
  export default EditRecordContent;
124
123
  //# sourceMappingURL=EditRecordContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecordContent.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordContent/EditRecordContent.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,kBAAkB,EAAE,sBAAsB,EAAE,gBAAgB,EAAkB,MAAM,aAAa,CAAC;AAC1G,OAAO,EAAC,SAAS,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,gBAAwD,MAAM,4BAA4B,CAAC;AAClG,OAAO,EAAC,+BAA+B,EAAC,MAAM,2CAA2C,CAAC;AAC1F,OAAO,6BAA6B,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,eAAe,EAAE,gBAAgB,EAAC,MAAM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CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;oBAC7C,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;iBAC9C,CAAC;aACL;iBAAM,IAAI,OAAO,UAAU,CAAC,SAAS,KAAK,QAAQ,EAAE;gBACjD,MAAM,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;gBAC7D,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG;oBAChB,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;oBAC5C,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,CAAC,CAAC;iBAC7C,CAAC;aACL;SACJ;QAED,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,qFAAqF;IACrF,OAAO,CACH,KAAC,IAAI,kBACD,EAAE,EAAE,6BAA6B,EACjC,IAAI,EAAE,OAAO,EACb,aAAa,EAAE,qBAAqB,EACpC,QAAQ,EAAE,cAAc,gBAExB,KAAC,oBAAoB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAC,QAAQ,EAAE,mBAAmB,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAC,gBAC7F,KAAC,WAAW,CAAC,SAAS,IAElB,OAAO,EAAE,WAAW,EACpB,aAAa,EAAE,kBAAkB,EACjC,aAAa,EAAE,kBAAkB,EACjC,sBAAsB,EAAE,sBAAsB,IAJzC,cAAc,CAKrB,IAC0B,IAC7B,CACV,CAAC;AACN,CAAC;AAED,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"EditRecordContent.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordContent/EditRecordContent.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,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EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAC,gBAC7F,KAAC,WAAW,CAAC,SAAS,IAElB,OAAO,EAAE,WAAW,EACpB,aAAa,EAAE,kBAAkB,EACjC,aAAa,EAAE,kBAAkB,EACjC,sBAAsB,EAAE,sBAAsB,IAJzC,cAAc,CAKrB,IAC0B,IAC7B,CACV,CAAC;AACN,CAAC;AAED,eAAe,iBAAiB,CAAC"}
@@ -1,2 +1,5 @@
1
+ // Copyright LEAV Solutions 2017
2
+ // This file is released under LGPL V3
3
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
1
4
  export const EDIT_OR_CREATE_RECORD_FORM_ID = 'EDIT_OR_CREATE_RECORD_FORM_ID';
2
5
  //# sourceMappingURL=formConstants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"formConstants.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordContent/formConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC"}
1
+ {"version":3,"file":"formConstants.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordContent/formConstants.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,6BAA6B,GAAG,+BAA+B,CAAC"}
@@ -209,7 +209,7 @@ function ValuesAdd({ attribute, onAdd, onClose }) {
209
209
  pageSize,
210
210
  current: valuesListCurrentPage
211
211
  };
212
- return (_jsxs(_Fragment, { children: [_jsxs(Wrapper, Object.assign({ "data-testid": "values-add", ref: wrapperRef }, { children: [_jsxs(SearchActions, { children: [_jsx(SearchInput, { placeholder: t('record_edition.search_elements'), onSearch: _handleSearchSubmit, loading: loading, allowClear: true, ref: searchInputRef, "aria-label": t('record_edition.search_elements') }), _jsx(CloseButton, { onClick: _handleClose, role: "button" })] }), _jsxs(ListsWrapper, { children: [!filteredValuesList.length && !searchResult.length && currentSearch ? (t('record_edition.no_matching_value')) : (_jsx(_Fragment, {})), !!filteredValuesList.length && (_jsxs(_Fragment, { children: [_jsx(Divider, Object.assign({ orientation: "left" }, { children: t('record_edition.values_list') })), _jsx(List, Object.assign({}, listCommonProps, { "data-testid": "values_list", dataSource: filteredValuesList, pagination: false }))] })), canSearch && !!searchResult.length && (_jsxs(_Fragment, { children: [_jsx(Divider, Object.assign({ orientation: "left" }, { children: localizedTranslation(attribute.linked_library.label, lang) })), loading && _jsx(Spin, {}), error && _jsx(ErrorDisplay, { message: error.message }), !loading && !error && (_jsx(List, Object.assign({}, listCommonProps, { "data-testid": "search_result", dataSource: searchResult, pagination: Object.assign(Object.assign({}, paginationCommonProps), { total: (_c = searchData === null || searchData === void 0 ? void 0 : searchData.records.totalCount) !== null && _c !== void 0 ? _c : 0, current: searchCurrentPage, onChange: _handleSearchPageChange }) })))] })), canSearch && !currentSearch && (_jsxs(StartTypingMessage, { children: [_jsx(BulbOutlined, {}), " ", t('record_edition.start_typing_message')] }))] }), _jsxs(FooterWrapper, { children: [_jsxs(Space, { children: [canSearch && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(SearchOutlined, {}), onClick: _handleClickAdvancedSearch }, { children: t('record_edition.advanced_search') }))), canCreateRecord && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(PlusOutlined, {}), onClick: _handleOpenCreateRecordModal }, { children: t('record_edition.new_record') }))), canUploadFile && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(CloudUploadOutlined, {}), onClick: _handleClickUploadFiles }, { children: t('upload.title') }))), canCreateDirectory && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(FolderAddOutlined, {}), onClick: _handleClickCreateDirectoryModal }, { children: t('create_directory.title') })))] }), _jsxs(Space, { children: [_jsx(Button, Object.assign({ size: "small", onClick: _handleClose }, { children: t('global.cancel') })), _jsx(Button, Object.assign({ type: "primary", size: "small", onClick: _handleSubmit }, { children: t('global.submit') }))] })] })] })), isSearchModalVisible && (_jsx(SearchModal, { libId: attribute.linked_library.id, visible: isSearchModalVisible, setVisible: setIsSearchModalVisible, submitAction: _handleSearchModalSubmit })), isCreateRecordModalVisible && (_jsx(EditRecordModal, { open: isCreateRecordModalVisible, library: attribute.linked_library.id, record: null, onClose: _handleCloseCreateRecordModal, afterCreate: _handleAfterCreateRecord })), isUploadFilesModalVisible && (_jsx(UploadFiles, { libraryId: attribute.linked_library.id, multiple: attribute.multiple_values, onCompleted: _onUploadFilesCompleted, onClose: _handleCloseUploadFiles })), isCreateDirectoryModalVisible && (_jsx(CreateDirectory, { libraryId: attribute.linked_library.id, onCompleted: _onCreateDirectoryCompleted, onClose: _handleCloseCreateDirectoryModal }))] }));
212
+ return (_jsxs(_Fragment, { children: [_jsxs(Wrapper, Object.assign({ "data-testid": "values-add", ref: wrapperRef }, { children: [_jsxs(SearchActions, { children: [_jsx(SearchInput, { placeholder: t('record_edition.search_elements'), onSearch: _handleSearchSubmit, loading: loading, allowClear: true, ref: searchInputRef, "aria-label": t('record_edition.search_elements') }), _jsx(CloseButton, { onClick: _handleClose, role: "button" })] }), _jsxs(ListsWrapper, { children: [!filteredValuesList.length && !searchResult.length && currentSearch ? (t('record_edition.no_matching_value')) : (_jsx(_Fragment, {})), !!filteredValuesList.length && (_jsxs(_Fragment, { children: [_jsx(Divider, Object.assign({ orientation: "left" }, { children: t('record_edition.values_list') })), _jsx(List, Object.assign({}, listCommonProps, { "data-testid": "values_list", dataSource: filteredValuesList, pagination: false }))] })), canSearch && !!searchResult.length && (_jsxs(_Fragment, { children: [_jsx(Divider, Object.assign({ orientation: "left" }, { children: localizedTranslation(attribute.linked_library.label, lang) })), loading && _jsx(Spin, {}), error && _jsx(ErrorDisplay, { message: error.message }), !loading && !error && (_jsx(List, Object.assign({}, listCommonProps, { "data-testid": "search_result", dataSource: searchResult, pagination: Object.assign(Object.assign({}, paginationCommonProps), { total: (_c = searchData === null || searchData === void 0 ? void 0 : searchData.records.totalCount) !== null && _c !== void 0 ? _c : 0, current: searchCurrentPage, onChange: _handleSearchPageChange }) })))] })), canSearch && !currentSearch && (_jsxs(StartTypingMessage, { children: [_jsx(BulbOutlined, {}), " ", t('record_edition.start_typing_message')] }))] }), _jsxs(FooterWrapper, { children: [_jsxs(Space, { children: [canSearch && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(SearchOutlined, {}), onClick: _handleClickAdvancedSearch }, { children: t('record_edition.advanced_search') }))), canCreateRecord && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(PlusOutlined, {}), onClick: _handleOpenCreateRecordModal }, { children: t('record_edition.new_record') }))), canUploadFile && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(CloudUploadOutlined, {}), onClick: _handleClickUploadFiles }, { children: t('upload.title') }))), canCreateDirectory && (_jsx(Button, Object.assign({ size: "small", icon: _jsx(FolderAddOutlined, {}), onClick: _handleClickCreateDirectoryModal }, { children: t('create_directory.title') })))] }), _jsxs(Space, { children: [_jsx(Button, Object.assign({ size: "small", onClick: _handleClose }, { children: t('global.cancel') })), _jsx(Button, Object.assign({ type: "primary", size: "small", onClick: _handleSubmit }, { children: t('global.submit') }))] })] })] })), isSearchModalVisible && (_jsx(SearchModal, { libId: attribute.linked_library.id, visible: isSearchModalVisible, setVisible: setIsSearchModalVisible, submitAction: _handleSearchModalSubmit })), isCreateRecordModalVisible && (_jsx(EditRecordModal, { open: isCreateRecordModalVisible, library: attribute.linked_library.id, record: null, onClose: _handleCloseCreateRecordModal, onCreate: _handleAfterCreateRecord })), isUploadFilesModalVisible && (_jsx(UploadFiles, { libraryId: attribute.linked_library.id, multiple: attribute.multiple_values, onCompleted: _onUploadFilesCompleted, onClose: _handleCloseUploadFiles })), isCreateDirectoryModalVisible && (_jsx(CreateDirectory, { libraryId: attribute.linked_library.id, onCompleted: _onCreateDirectoryCompleted, onClose: _handleCloseCreateDirectoryModal }))] }));
213
213
  }
214
214
  export default ValuesAdd;
215
215
  //# sourceMappingURL=ValuesAdd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ValuesAdd.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAY,KAAK,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAEnE,OAAO,EAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAClD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;AACzD,OAAO,IAAI,MAAM,qBAAqB,CAAC;AAEvC,OAAO,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAEH,eAAe,EAGlB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,0BAA0B,EAG7B,MAAM,iDAAiD,CAAC;AAUzD,MAAM,O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AAuB,EACnC,YAAY,EAAE,wBAAwB,GACxC,CACL,EACA,0BAA0B,IAAI,CAC3B,KAAC,eAAe,IACZ,IAAI,EAAE,0BAA0B,EAChC,OAAO,EAAE,SAAS,CAAC,cAAc,CAAC,EAAE,EACpC,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,6BAA6B,EACtC,WAAW,EAAE,wBAAwB,GACvC,CACL,EACA,yBAAyB,IAAI,CAC1B,KAAC,WAAW,IACR,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,EAAE,EACtC,QAAQ,EAAE,SAAS,CAAC,eAAe,EACnC,WAAW,EAAE,uBAAuB,EACpC,OAAO,EAAE,uBAAuB,GAClC,CACL,EACA,6BAA6B,IAAI,CAC9B,KAAC,eAAe,IACZ,SAAS,EAAE,SAAS,CAAC,cAAc,CAAC,EAAE,EACtC,WAAW,EAAE,2BAA2B,EACxC,OAAO,EAAE,gCAAgC,GAC3C,CACL,IACF,CACN,CAAC;AACN,CAAC;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"ValuesAdd.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAY,KAAK,EAAE,IAAI,EAAC,MAAM,MAAM,CAAC;AAEnE,OAAO,EAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAClD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAC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AC3C,CACL,IACF,CACN,CAAC;AACN,CAAC;AAED,eAAe,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IStandardInputProps } from '../../../../../../../components/RecordEdition/_types';
3
+ declare function DateRangeInput({ state, fieldValue, onFocus, onSubmit, settings }: IStandardInputProps): JSX.Element;
4
+ export default DateRangeInput;
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { DatePicker, Input } from 'antd';
3
+ import dayjs from 'dayjs';
4
+ import { themeVars } from '../../../../../../../antdTheme';
5
+ import { useSharedTranslation } from '../../../../../../../hooks/useSharedTranslation';
6
+ import { stringifyDateRangeValue } from '../../../../../../../_utils';
7
+ function DateRangeInput({ state, fieldValue, onFocus, onSubmit, settings }) {
8
+ var _a, _b;
9
+ const { editingValue, displayValue } = fieldValue;
10
+ const { t } = useSharedTranslation();
11
+ const attribute = state.formElement.attribute;
12
+ const isValuesListEnabled = !!((_a = attribute === null || attribute === void 0 ? void 0 : attribute.values_list) === null || _a === void 0 ? void 0 : _a.enable);
13
+ const isValuesListOpen = !!((_b = attribute === null || attribute === void 0 ? void 0 : attribute.values_list) === null || _b === void 0 ? void 0 : _b.allowFreeEntry);
14
+ const _handleDateChange = selectedDates => {
15
+ const [dateFrom, dateTo] = selectedDates;
16
+ const dateToSave = selectedDates ? { from: String(dateFrom.unix()), to: String(dateTo.unix()) } : null;
17
+ onSubmit(dateToSave);
18
+ };
19
+ const isParsable = typeof editingValue === 'string' && editingValue.length > 0;
20
+ const editingRangeValue = isParsable ? JSON.parse(editingValue) : editingValue;
21
+ const rangeValue = editingRangeValue
22
+ ? [dayjs(Number(editingRangeValue.from) * 1000), dayjs(Number(editingRangeValue.to) * 1000)]
23
+ : null;
24
+ // If we have a values list, picker must be on top to keep list readable
25
+ const pickerPosition = isValuesListEnabled ? 'topLeft' : null;
26
+ const rangeDisplayValue = displayValue;
27
+ return !isValuesListEnabled || isValuesListOpen ? (_jsx(DatePicker.RangePicker, { className: "field-wrapper", "data-testid": "datepicker", disabled: state.isReadOnly, picker: "date", onChange: _handleDateChange, value: rangeValue, autoFocus: true, defaultOpen: true, showTime: !!settings.withTime, onOk: _handleDateChange, popupStyle: { background: themeVars.defaultBg }, style: { background: themeVars.defaultBg, width: '100%' }, allowClear: false, placement: pickerPosition })) : (_jsx(Input, { className: `field-wrapper ${editingValue ? 'has-value' : ''}`, value: rangeDisplayValue.from && rangeDisplayValue.to ? stringifyDateRangeValue(rangeDisplayValue, t) : '', onFocus: onFocus, disabled: true, allowClear: true, autoFocus: true }, "editing"));
28
+ }
29
+ export default DateRangeInput;
30
+ //# sourceMappingURL=DateRangeInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangeInput.js","sourceRoot":"","sources":["../../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACvC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,uBAAuB,EAAC,MAAM,YAAY,CAAC;AAEnD,SAAS,cAAc,CAAC,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAsB;;IACzF,MAAM,EAAC,YAAY,EAAE,YAAY,EAAC,GAAG,UAAU,CAAC;IAChD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC,SAAyD,CAAC;IAC9F,MAAM,mBAAmB,GAAG,CAAC,CAAC,CAAA,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,WAAW,0CAAE,MAAM,CAAA,CAAC;I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CAAC,UAAU,EAC1B,MAAM,EAAC,MAAM,EACb,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,UAAU,EACjB,SAAS,QACT,WAAW,QACX,QAAQ,EAAE,CAAC,CAAE,QAAmC,CAAC,QAAQ,EACzD,IAAI,EAAE,iBAA0E,EAChF,UAAU,EAAE,EAAC,UAAU,EAAE,SAAS,CAAC,SAAS,EAAC,EAC7C,KAAK,EAAE,EAAC,UAAU,EAAE,SAAS,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,EAAC,EACvD,UAAU,EAAE,KAAK,EACjB,SAAS,EAAE,cAAc,GAC3B,CACL,CAAC,CAAC,CAAC,CACA,KAAC,KAAK,IAEF,SAAS,EAAE,iBAAiB,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,EAC7D,KAAK,EAAE,iBAAiB,CAAC,IAAI,IAAI,iBAAiB,CAAC,EAAE,CAAC,CAAC,CAAC,uBAAuB,CAAC,iBAAiB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAC1G,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,IAAI,EACd,UAAU,QACV,SAAS,UANL,SAAS,CAOf,CACL,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC"}
@@ -1,12 +1,15 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { IValueVersion } from '../../../types';
3
3
  import { RecordIdentityFragment } from '../../../_gqlTypes';
4
+ import { possibleSubmitButtons } from '../_types';
4
5
  interface IEditRecordModalProps {
5
6
  open: boolean;
6
7
  record: RecordIdentityFragment['whoAmI'] | null;
7
8
  library: string;
8
9
  onClose: () => void;
9
- afterCreate?: (newRecord: RecordIdentityFragment['whoAmI']) => void;
10
+ onCreate?: (newRecord: RecordIdentityFragment['whoAmI']) => void;
11
+ onCreateAndEdit?: (newRecord: RecordIdentityFragment['whoAmI']) => void;
12
+ submitButtons?: possibleSubmitButtons;
10
13
  withInfoButton?: boolean;
11
14
  valuesVersion?: IValueVersion;
12
15
  }