@leav/ui 0.2.8 → 0.3.0-0c71091

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 (1098) 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/EditRecordBtn/EditRecordBtn.d.ts +4 -4
  598. package/dist/components/RecordEdition/EditRecordBtn/index.js +1 -1
  599. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
  600. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +3 -4
  601. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  602. package/dist/components/RecordEdition/EditRecordContent/formConstants.js +3 -0
  603. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  604. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.d.ts +1 -0
  605. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.d.ts +1 -0
  606. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +1 -1
  607. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +1 -1
  608. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +4 -1
  609. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +36 -13
  610. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  611. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +4 -1
  612. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +34 -8
  613. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  614. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +1 -1
  615. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +8 -27
  616. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +1 -1
  617. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +3 -3
  618. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +28 -112
  619. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +1 -1
  620. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.d.ts +2 -2
  621. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +12 -18
  622. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js +1 -1
  623. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.d.ts +3 -3
  624. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js +11 -19
  625. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js +1 -1
  626. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js +1 -1
  627. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js +1 -1
  628. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js +1 -1
  629. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +1 -1
  630. package/dist/components/RecordEdition/EditRecordSidebar/index.js +1 -1
  631. package/dist/components/RecordEdition/_types.d.ts +2 -0
  632. package/dist/components/RecordEdition/_types.js +2 -0
  633. package/dist/components/RecordEdition/_types.js.map +1 -0
  634. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.d.ts +1 -0
  635. package/dist/components/RecordEdition/{EditRecord/shared/NoValue → hooks/useCreateCancelConfirm}/index.js +2 -3
  636. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -0
  637. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.d.ts +2 -0
  638. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +22 -0
  639. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -0
  640. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -0
  641. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +24 -0
  642. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -0
  643. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +1 -1
  644. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +15 -49
  645. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +2 -2
  646. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +7 -21
  647. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +1 -1
  648. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +2 -2
  649. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +9 -28
  650. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +1 -1
  651. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +2 -2
  652. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +15 -34
  653. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +2 -2
  654. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +25 -97
  655. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +1 -1
  656. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +2 -2
  657. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +14 -32
  658. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +1 -1
  659. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +2 -2
  660. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +17 -39
  661. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +1 -1
  662. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +2 -2
  663. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +8 -22
  664. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +1 -1
  665. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +2 -2
  666. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js +1 -1
  667. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js +1 -1
  668. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +1 -1
  669. package/dist/components/RecordPreviewWithModal/FileModal/index.js +1 -1
  670. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +3 -3
  671. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +25 -66
  672. package/dist/components/RecordPreviewWithModal/index.d.ts +1 -1
  673. package/dist/components/RecordPreviewWithModal/index.js +2 -2
  674. package/dist/components/SearchModal/SearchModal.d.ts +2 -2
  675. package/dist/components/SearchModal/SearchModal.js +22 -60
  676. package/dist/components/SearchModal/index.d.ts +1 -1
  677. package/dist/components/SearchModal/index.js +2 -2
  678. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +3 -11
  679. package/dist/components/SelectTreeNode/SelectTreeNode.js +28 -63
  680. package/dist/components/SelectTreeNode/index.d.ts +1 -1
  681. package/dist/components/SelectTreeNode/index.js +2 -2
  682. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +3 -10
  683. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +12 -45
  684. package/dist/components/SelectTreeNodeModal/index.js +1 -1
  685. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +4 -4
  686. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
  687. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +7 -21
  688. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +1 -1
  689. package/dist/components/SimpleErrorBoundary/index.d.ts +1 -1
  690. package/dist/components/SimpleErrorBoundary/index.js +2 -2
  691. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +2 -2
  692. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +10 -26
  693. package/dist/components/SubmitStateNotifier/_types.js +1 -1
  694. package/dist/components/SubmitStateNotifier/index.d.ts +1 -1
  695. package/dist/components/SubmitStateNotifier/index.js +2 -2
  696. package/dist/components/TreePicker/TreePicker.d.ts +2 -2
  697. package/dist/components/TreePicker/TreePicker.js +10 -34
  698. package/dist/components/TreePicker/TreesList/TreesList.d.ts +2 -2
  699. package/dist/components/TreePicker/TreesList/TreesList.js +50 -110
  700. package/dist/components/TreePicker/TreesList/index.d.ts +1 -1
  701. package/dist/components/TreePicker/TreesList/index.js +2 -2
  702. package/dist/components/TreePicker/index.d.ts +1 -1
  703. package/dist/components/TreePicker/index.js +2 -2
  704. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +2 -8
  705. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +32 -90
  706. package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -1
  707. package/dist/components/TriggerPreviewsGenerationModal/index.js +2 -2
  708. package/dist/components/UploadFiles/UploadFiles.d.ts +2 -8
  709. package/dist/components/UploadFiles/UploadFiles.js +62 -244
  710. package/dist/components/UploadFiles/index.d.ts +1 -1
  711. package/dist/components/UploadFiles/index.js +2 -2
  712. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +2 -7
  713. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +19 -57
  714. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +3 -3
  715. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +20 -54
  716. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +1 -1
  717. package/dist/components/ValuesVersionConfigurator/index.js +1 -1
  718. package/dist/components/index.js +1 -1
  719. package/dist/constants.d.ts +14 -14
  720. package/dist/constants.js +9 -9
  721. package/dist/contexts/LangContext/LangContext.d.ts +1 -1
  722. package/dist/contexts/LangContext/LangContext.js +1 -1
  723. package/dist/contexts/LangContext/index.d.ts +1 -1
  724. package/dist/contexts/LangContext/index.js +2 -2
  725. package/dist/contexts/LangContext/types.js +1 -1
  726. package/dist/contexts/UserContext/UserContext.d.ts +1 -1
  727. package/dist/contexts/UserContext/UserContext.js +1 -1
  728. package/dist/contexts/UserContext/index.d.ts +1 -1
  729. package/dist/contexts/UserContext/index.js +2 -2
  730. package/dist/contexts/UserContext/types.d.ts +1 -1
  731. package/dist/contexts/UserContext/types.js +1 -1
  732. package/dist/contexts/index.js +1 -1
  733. package/dist/gqlFragments/index.d.ts +1 -1
  734. package/dist/gqlFragments/index.js +2 -2
  735. package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -1
  736. package/dist/gqlFragments/recordIdentityFragment.js +3 -3
  737. package/dist/gqlPossibleTypes/index.d.ts +1 -1
  738. package/dist/gqlPossibleTypes/index.js +1 -1
  739. package/dist/hooks/index.d.ts +13 -13
  740. package/dist/hooks/index.js +14 -14
  741. package/dist/hooks/useAntdLocale/index.d.ts +1 -1
  742. package/dist/hooks/useAntdLocale/index.js +2 -2
  743. package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +1 -1
  744. package/dist/hooks/useAntdLocale/useAntdLocale.js +2 -2
  745. package/dist/hooks/useAppLang/index.d.ts +1 -1
  746. package/dist/hooks/useAppLang/index.js +2 -2
  747. package/dist/hooks/useAppLang/useAppLang.js +11 -12
  748. package/dist/hooks/useAuth/index.d.ts +1 -1
  749. package/dist/hooks/useAuth/index.js +2 -2
  750. package/dist/hooks/useAuth/useAuth.js +3 -3
  751. package/dist/hooks/useCanEditRecord/index.d.ts +1 -1
  752. package/dist/hooks/useCanEditRecord/index.js +2 -2
  753. package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +3 -6
  754. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +15 -37
  755. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +2 -2
  756. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js +8 -12
  757. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +2 -2
  758. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +4 -4
  759. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +2 -10
  760. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +4 -4
  761. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +2 -2
  762. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +10 -23
  763. package/dist/hooks/useGetRecordForm/index.d.ts +1 -1
  764. package/dist/hooks/useGetRecordForm/index.js +2 -2
  765. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +36 -75
  766. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +19 -38
  767. package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -1
  768. package/dist/hooks/useGetRecordUpdatesSubscription/index.js +2 -2
  769. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +4 -10
  770. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +7 -10
  771. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +7 -14
  772. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +20 -30
  773. package/dist/hooks/useLang/__mocks__/index.js +1 -1
  774. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  775. package/dist/hooks/useLang/index.js +1 -1
  776. package/dist/hooks/useLang/useLang.d.ts +1 -1
  777. package/dist/hooks/useLang/useLang.js +3 -3
  778. package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -1
  779. package/dist/hooks/useLibraryVersionTrees/index.js +2 -2
  780. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +2 -2
  781. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +9 -26
  782. package/dist/hooks/useLocalStorage/index.d.ts +1 -1
  783. package/dist/hooks/useLocalStorage/index.js +2 -2
  784. package/dist/hooks/useLocalStorage/useLocalStorage.js +2 -2
  785. package/dist/hooks/useRecordsConsultationHistory/index.js +1 -1
  786. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +6 -5
  787. package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -1
  788. package/dist/hooks/useRefreshFieldValues/index.js +2 -2
  789. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +3 -7
  790. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +25 -31
  791. package/dist/hooks/useRefreshToken/index.d.ts +1 -1
  792. package/dist/hooks/useRefreshToken/index.js +2 -2
  793. package/dist/hooks/useRefreshToken/useRefreshToken.js +5 -5
  794. package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -1
  795. package/dist/hooks/useSharedTranslation/__mocks__/index.js +2 -2
  796. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +1 -1
  797. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  798. package/dist/hooks/useSharedTranslation/index.d.ts +1 -1
  799. package/dist/hooks/useSharedTranslation/index.js +2 -2
  800. package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +1 -1
  801. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +22 -29
  802. package/dist/hooks/useUser/index.d.ts +1 -1
  803. package/dist/hooks/useUser/index.js +2 -2
  804. package/dist/hooks/useUser/useUser.d.ts +1 -1
  805. package/dist/hooks/useUser/useUser.js +3 -3
  806. package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -1
  807. package/dist/hooks/useValuesCacheUpdate/index.js +2 -2
  808. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +3 -6
  809. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +11 -16
  810. package/dist/index.js +1 -1
  811. package/dist/locales/en/shared.json +9 -3
  812. package/dist/locales/fr/shared.json +8 -2
  813. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +3 -1
  814. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +5 -5
  815. package/dist/testing/MockedLangContextProvider/index.js +1 -1
  816. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +3 -1
  817. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +8 -13
  818. package/dist/testing/MockedUserContextProvider/index.js +1 -1
  819. package/dist/testing/index.d.ts +1 -1
  820. package/dist/testing/index.js +2 -2
  821. package/dist/types/attributes.d.ts +3 -3
  822. package/dist/types/attributes.js +1 -1
  823. package/dist/types/index.js +1 -1
  824. package/dist/types/misc.js +1 -1
  825. package/dist/types/records.d.ts +2 -2
  826. package/dist/types/records.js +1 -1
  827. package/dist/types/scalars.js +1 -1
  828. package/dist/types/search.d.ts +27 -38
  829. package/dist/types/search.js +19 -19
  830. package/dist/types/trees.d.ts +2 -2
  831. package/dist/types/trees.js +1 -1
  832. package/dist/types/values.js +1 -1
  833. package/dist/types/views.d.ts +4 -4
  834. package/dist/types/views.js +1 -1
  835. package/package.json +3 -3
  836. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.d.ts +0 -6
  837. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js +0 -30
  838. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js.map +0 -1
  839. package/dist/components/RecordEdition/EditRecord/_types.d.ts +0 -141
  840. package/dist/components/RecordEdition/EditRecord/_types.js +0 -12
  841. package/dist/components/RecordEdition/EditRecord/_types.js.map +0 -1
  842. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.d.ts +0 -3
  843. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js +0 -21
  844. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js.map +0 -1
  845. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.d.ts +0 -2
  846. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js +0 -6
  847. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js.map +0 -1
  848. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +0 -3
  849. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js +0 -4
  850. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js.map +0 -1
  851. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.d.ts +0 -1
  852. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js +0 -5
  853. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js.map +0 -1
  854. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.d.ts +0 -1
  855. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js +0 -5
  856. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js.map +0 -1
  857. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.d.ts +0 -7
  858. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js +0 -27
  859. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js.map +0 -1
  860. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.d.ts +0 -4
  861. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js +0 -9
  862. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js.map +0 -1
  863. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.d.ts +0 -4
  864. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js +0 -9
  865. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js.map +0 -1
  866. package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.d.ts +0 -2
  867. package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js +0 -5
  868. package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js.map +0 -1
  869. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.d.ts +0 -6
  870. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js +0 -44
  871. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js.map +0 -1
  872. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.d.ts +0 -6
  873. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js +0 -67
  874. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js.map +0 -1
  875. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.d.ts +0 -4
  876. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js +0 -7
  877. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js.map +0 -1
  878. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.d.ts +0 -2
  879. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js +0 -6
  880. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js.map +0 -1
  881. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.d.ts +0 -70
  882. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js +0 -166
  883. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js.map +0 -1
  884. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.d.ts +0 -2
  885. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js +0 -6
  886. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js.map +0 -1
  887. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.d.ts +0 -120
  888. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js +0 -342
  889. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js.map +0 -1
  890. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.d.ts +0 -10
  891. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js +0 -48
  892. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js.map +0 -1
  893. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.d.ts +0 -2
  894. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js +0 -6
  895. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js.map +0 -1
  896. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +0 -6
  897. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +0 -51
  898. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +0 -1
  899. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.d.ts +0 -2
  900. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js +0 -6
  901. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js.map +0 -1
  902. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.d.ts +0 -7
  903. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js +0 -52
  904. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js.map +0 -1
  905. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.d.ts +0 -2
  906. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js +0 -6
  907. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js.map +0 -1
  908. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.d.ts +0 -9
  909. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js +0 -31
  910. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js.map +0 -1
  911. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.d.ts +0 -2
  912. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js +0 -6
  913. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js.map +0 -1
  914. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +0 -7
  915. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js +0 -25
  916. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +0 -1
  917. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.d.ts +0 -2
  918. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js +0 -6
  919. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js.map +0 -1
  920. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.d.ts +0 -8
  921. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js +0 -60
  922. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js.map +0 -1
  923. package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.d.ts +0 -2
  924. package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.js.map +0 -1
  925. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.d.ts +0 -3
  926. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +0 -19
  927. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +0 -1
  928. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.d.ts +0 -2
  929. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js +0 -6
  930. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js.map +0 -1
  931. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +0 -11
  932. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js +0 -55
  933. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +0 -1
  934. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.d.ts +0 -2
  935. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js +0 -6
  936. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js.map +0 -1
  937. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +0 -20
  938. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js +0 -96
  939. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +0 -1
  940. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.d.ts +0 -2
  941. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js +0 -6
  942. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js.map +0 -1
  943. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +0 -9
  944. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +0 -34
  945. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +0 -1
  946. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.d.ts +0 -2
  947. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js +0 -6
  948. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js.map +0 -1
  949. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.d.ts +0 -9
  950. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js +0 -42
  951. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js.map +0 -1
  952. package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.d.ts +0 -2
  953. package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js +0 -6
  954. package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js.map +0 -1
  955. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.d.ts +0 -5
  956. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js +0 -80
  957. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js.map +0 -1
  958. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.d.ts +0 -2
  959. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js +0 -6
  960. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js.map +0 -1
  961. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.d.ts +0 -5
  962. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js +0 -9
  963. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js.map +0 -1
  964. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.d.ts +0 -2
  965. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js +0 -6
  966. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js.map +0 -1
  967. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.d.ts +0 -5
  968. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js +0 -58
  969. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js.map +0 -1
  970. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.d.ts +0 -2
  971. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js +0 -6
  972. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js.map +0 -1
  973. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +0 -21
  974. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +0 -29
  975. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +0 -1
  976. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.d.ts +0 -2
  977. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js +0 -6
  978. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js.map +0 -1
  979. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.d.ts +0 -18
  980. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js +0 -518
  981. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js.map +0 -1
  982. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +0 -7
  983. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +0 -11
  984. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +0 -1
  985. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.d.ts +0 -2
  986. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js +0 -6
  987. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js.map +0 -1
  988. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +0 -14
  989. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +0 -59
  990. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +0 -1
  991. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.d.ts +0 -2
  992. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +0 -6
  993. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +0 -1
  994. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +0 -10
  995. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js +0 -455
  996. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +0 -1
  997. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.d.ts +0 -2
  998. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js +0 -6
  999. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js.map +0 -1
  1000. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.d.ts +0 -2
  1001. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js +0 -6
  1002. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js.map +0 -1
  1003. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.d.ts +0 -11
  1004. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js +0 -335
  1005. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js.map +0 -1
  1006. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +0 -4
  1007. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +0 -20
  1008. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +0 -1
  1009. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +0 -4
  1010. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +0 -32
  1011. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +0 -1
  1012. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +0 -4
  1013. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +0 -59
  1014. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js.map +0 -1
  1015. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +0 -4
  1016. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +0 -67
  1017. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +0 -1
  1018. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +0 -10
  1019. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +0 -28
  1020. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +0 -1
  1021. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +0 -11
  1022. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +0 -43
  1023. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +0 -1
  1024. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +0 -4
  1025. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +0 -65
  1026. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +0 -1
  1027. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +0 -11
  1028. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +0 -40
  1029. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +0 -1
  1030. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +0 -26
  1031. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +0 -680
  1032. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +0 -1
  1033. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +0 -17
  1034. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -62
  1035. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
  1036. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.d.ts +0 -2
  1037. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +0 -6
  1038. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
  1039. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.d.ts +0 -2
  1040. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js +0 -6
  1041. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js.map +0 -1
  1042. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.d.ts +0 -2
  1043. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js +0 -6
  1044. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js.map +0 -1
  1045. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.d.ts +0 -5
  1046. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js +0 -7
  1047. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js.map +0 -1
  1048. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.d.ts +0 -2
  1049. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js +0 -6
  1050. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js.map +0 -1
  1051. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.d.ts +0 -10
  1052. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js +0 -362
  1053. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js.map +0 -1
  1054. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +0 -11
  1055. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +0 -55
  1056. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +0 -1
  1057. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.d.ts +0 -2
  1058. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js +0 -6
  1059. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js.map +0 -1
  1060. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +0 -10
  1061. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js +0 -197
  1062. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +0 -1
  1063. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.d.ts +0 -2
  1064. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js +0 -6
  1065. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js.map +0 -1
  1066. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.d.ts +0 -2
  1067. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js +0 -6
  1068. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js.map +0 -1
  1069. package/dist/components/RecordEdition/EditRecord/uiElements/index.d.ts +0 -6
  1070. package/dist/components/RecordEdition/EditRecord/uiElements/index.js +0 -24
  1071. package/dist/components/RecordEdition/EditRecord/uiElements/index.js.map +0 -1
  1072. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.d.ts +0 -3
  1073. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js +0 -98
  1074. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js.map +0 -1
  1075. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.d.ts +0 -2
  1076. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js +0 -6
  1077. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js.map +0 -1
  1078. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.d.ts +0 -9
  1079. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js +0 -73
  1080. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js.map +0 -1
  1081. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.d.ts +0 -2
  1082. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js +0 -6
  1083. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js.map +0 -1
  1084. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.d.ts +0 -7
  1085. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js +0 -7
  1086. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js.map +0 -1
  1087. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.d.ts +0 -78
  1088. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js +0 -103
  1089. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js.map +0 -1
  1090. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.d.ts +0 -7
  1091. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js +0 -10
  1092. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js.map +0 -1
  1093. package/dist/components/RecordEdition/editRecordModalReducer/index.d.ts +0 -2
  1094. package/dist/components/RecordEdition/editRecordModalReducer/index.js +0 -6
  1095. package/dist/components/RecordEdition/editRecordModalReducer/index.js.map +0 -1
  1096. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.d.ts +0 -1
  1097. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js +0 -7
  1098. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js.map +0 -1
@@ -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,OAA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C,IACvB,CACZ,IACG,EACR,MAAC,KAAK,eACF,KAAC,MAAM,kBAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,YAAY,gBACrC,CAAC,CAAC,eAAe,CAAC,IACd,EACT,KAAC,MAAM,kBAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,OAAO,EAAE,aAAa,gBACrD,CAAC,CAAC,eAAe,CAAC,IACd,IACL,IACI,KACV,EACT,oBAAoB,IAAI,CACrB,KAAC,WAAW,IACR,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,EAAE,EAClC,OAAO,EAAE,oBAAoB,EAC7B,UAAU,EAAE,uBAAuB,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,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,MAAM,EAAE,IAAI,EACZ,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,wBAAwB,GACpC,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,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
  }
@@ -3,15 +3,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
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 { Modal } from 'antd';
6
+ import { useRef, useState } from 'react';
6
7
  import { KitButton, KitSpace, KitTypography } from 'aristid-ds';
7
- import { useRef } from 'react';
8
8
  import styled from 'styled-components';
9
9
  import { themeVars } from '../../../antdTheme';
10
10
  import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
11
11
  import { EditRecord } from '../EditRecord';
12
12
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
13
- import { faXmark, faFloppyDisk, faRotateRight, faLayerGroup } from '@fortawesome/free-solid-svg-icons';
14
- import { EDIT_OR_CREATE_RECORD_FORM_ID } from '../EditRecordContent/formConstants';
13
+ import { faXmark, faRotateRight, faLayerGroup } from '@fortawesome/free-solid-svg-icons';
14
+ import { useGetSubmitButtons } from '../hooks/useGetSubmitButtons';
15
+ import { useForm } from 'antd/lib/form/Form';
16
+ import { useCreateCancelConfirm } from '../hooks/useCreateCancelConfirm';
15
17
  const modalWidth = 1200;
16
18
  const StyledModal = styled(Modal) `
17
19
  && .ant-modal-content {
@@ -34,24 +36,45 @@ const ModalFooter = styled.div `
34
36
  justify-content: flex-end;
35
37
  padding: 0.5rem 1rem;
36
38
  `;
37
- export const EditRecordModal = ({ open, record, library, onClose, afterCreate, valuesVersion, withInfoButton = true }) => {
39
+ export const EditRecordModal = ({ open, record, library, onClose, onCreate, onCreateAndEdit, submitButtons = ['create'], valuesVersion, withInfoButton = true }) => {
38
40
  var _a;
39
41
  const { t } = useSharedTranslation();
40
- const isCreationMode = !record;
42
+ const showCancelConfirm = useCreateCancelConfirm(onClose);
43
+ const [currentRecord, setCurrentRecord] = useState(record);
44
+ const [clickedSubmitButton, setClickedSubmitButton] = useState(null);
45
+ const isCreation = !currentRecord;
46
+ const _handleClickSubmit = (button) => {
47
+ setClickedSubmitButton(button);
48
+ };
49
+ const displayedSubmitButtons = useGetSubmitButtons(submitButtons, isCreation, _handleClickSubmit);
50
+ const [antdForm] = useForm();
51
+ const _handleClose = () => {
52
+ if (isCreation && antdForm.isFieldsTouched()) {
53
+ return showCancelConfirm();
54
+ }
55
+ return onClose();
56
+ };
41
57
  // Create refs for the buttons to pass them to the EditRecord component
42
- const closeButtonRef = useRef(null);
43
58
  const refreshButtonRef = useRef(null);
44
59
  const valuesVersionsButtonRef = useRef(null);
45
- const closeButtonLabel = record ? t('global.close') : t('global.cancel');
60
+ const closeButtonLabel = isCreation ? t('global.cancel') : t('global.close');
46
61
  const footerButtons = [
47
- _jsx(KitButton, Object.assign({ "aria-label": t('global.close'), ref: closeButtonRef, icon: _jsx(FontAwesomeIcon, { icon: faXmark }) }, { children: closeButtonLabel }), "close")
62
+ _jsx(KitButton, Object.assign({ "aria-label": closeButtonLabel, icon: _jsx(FontAwesomeIcon, { icon: faXmark }), onClick: _handleClose }, { children: closeButtonLabel }), "close"),
63
+ ...displayedSubmitButtons
48
64
  ];
49
- if (isCreationMode) {
50
- footerButtons.push(_jsx(KitButton, Object.assign({ htmlType: "submit", type: "primary", form: EDIT_OR_CREATE_RECORD_FORM_ID, "aria-label": t('global.submit'), icon: _jsx(FontAwesomeIcon, { icon: faFloppyDisk }) }, { children: t('global.submit') }), "submit"));
51
- }
52
65
  const footer = (_jsx(ModalFooter, { children: _jsx(KitSpace, { children: footerButtons }) }));
53
- return (_jsxs(StyledModal, Object.assign({ open: open, onCancel: onClose, destroyOnClose: true, cancelText: t('global.cancel'), width: "90vw", centered: true, style: { maxWidth: `${modalWidth}px` }, styles: { body: { height: 'calc(100vh - 12rem)', overflowY: 'auto' }, content: { padding: 0 } }, footer: footer, closeIcon: _jsx(FontAwesomeIcon, { icon: faXmark }) }, { children: [_jsxs(Header, { children: [_jsx(KitTypography.Title, Object.assign({ level: "h2", style: { margin: 0 } }, { children: (_a = record === null || record === void 0 ? void 0 : record.label) !== null && _a !== void 0 ? _a : t('record_edition.new_record') })), _jsxs(KitSpace, Object.assign({ size: "xxs" }, { children: [_jsx(KitButton, { ref: valuesVersionsButtonRef, type: "text", icon: _jsx(FontAwesomeIcon, { icon: faLayerGroup }) }), _jsx(KitButton, { ref: refreshButtonRef, type: "text", icon: _jsx(FontAwesomeIcon, { icon: faRotateRight }) })] }))] }), _jsx(EditRecord, { record: record, library: library, onClose: onClose, afterCreate: afterCreate, valuesVersion: valuesVersion, buttonsRefs: {
54
- close: closeButtonRef,
66
+ const _handleCreate = (newRecord) => {
67
+ setCurrentRecord(newRecord);
68
+ if (onCreateAndEdit && clickedSubmitButton === 'createAndEdit') {
69
+ onCreateAndEdit(newRecord);
70
+ return;
71
+ }
72
+ if (onCreate && clickedSubmitButton === 'create') {
73
+ onCreate(newRecord);
74
+ return;
75
+ }
76
+ };
77
+ return (_jsxs(StyledModal, Object.assign({ open: open, onCancel: _handleClose, destroyOnClose: true, cancelText: t('global.cancel'), width: "90vw", centered: true, style: { maxWidth: `${modalWidth}px` }, styles: { body: { height: 'calc(100vh - 12rem)', overflowY: 'auto' }, content: { padding: 0 } }, footer: footer, closeIcon: _jsx(FontAwesomeIcon, { icon: faXmark }) }, { children: [_jsxs(Header, { children: [_jsx(KitTypography.Title, Object.assign({ level: "h2", style: { margin: 0 } }, { children: (_a = currentRecord === null || currentRecord === void 0 ? void 0 : currentRecord.label) !== null && _a !== void 0 ? _a : t('record_edition.new_record') })), _jsxs(KitSpace, Object.assign({ size: "xxs" }, { children: [_jsx(KitButton, { ref: valuesVersionsButtonRef, type: "text", icon: _jsx(FontAwesomeIcon, { icon: faLayerGroup }) }), _jsx(KitButton, { ref: refreshButtonRef, type: "text", icon: _jsx(FontAwesomeIcon, { icon: faRotateRight }) })] }))] }), _jsx(EditRecord, { antdForm: antdForm, record: currentRecord, library: library, onCreate: _handleCreate, valuesVersion: valuesVersion, buttonsRefs: {
55
78
  refresh: refreshButtonRef,
56
79
  valuesVersions: valuesVersionsButtonRef
57
80
  }, showSidebar: true, withInfoButton: withInfoButton, containerStyle: { height: 'calc(100% - 3.5rem)' } })] })));
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecordModal.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordModal/EditRecordModal.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,KAAK,EAAC,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAC,SA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,EAAC,MAAM,EAAE,CAAC,EAAC,gBAC7C,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,mCAAI,CAAC,CAAC,2BAA2B,CAAC,IAC9B,EACtB,MAAC,QAAQ,kBAAC,IAAI,EAAC,KAAK,iBAChB,KAAC,SAAS,IACN,GAAG,EAAE,uBAAuB,EAC5B,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,YAAY,GAAI,GAC/C,EACF,KAAC,SAAS,IAAC,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,aAAa,GAAI,GAAI,KACzF,IACN,EACT,KAAC,UAAU,IACP,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE;oBACT,KAAK,EAAE,cAAc;oBACrB,OAAO,EAAE,gBAAgB;oBACzB,cAAc,EAAE,uBAAuB;iBAC1C,EACD,WAAW,QACX,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,EAAC,MAAM,EAAE,qBAAqB,EAAC,GACjD,KACQ,CACjB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"EditRecordModal.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordModal/EditRecordModal.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,KAAK,EAAC,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAoB,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAC9D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,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;oBACzB,cAAc,EAAE,uBAAuB;iBAC1C,EACD,WAAW,QACX,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,EAAC,MAAM,EAAE,qBAAqB,EAAC,GACjD,KACQ,CACjB,CAAC;AACN,CAAC,CAAC"}
@@ -1,11 +1,14 @@
1
1
  import { FunctionComponent, ReactNode } from 'react';
2
2
  import { IValueVersion } from '../../../types';
3
3
  import { RecordIdentityFragment } from '../../../_gqlTypes';
4
+ import { possibleSubmitButtons } from '../_types';
4
5
  interface IEditRecordPageProps {
5
6
  record: RecordIdentityFragment['whoAmI'] | null;
6
7
  library: string;
7
8
  title?: ReactNode;
8
- afterCreate?: (newRecord: RecordIdentityFragment['whoAmI']) => void;
9
+ onCreate?: (newRecord: RecordIdentityFragment['whoAmI']) => void;
10
+ onCreateAndEdit?: (newRecord: RecordIdentityFragment['whoAmI']) => void;
11
+ submitButtons?: possibleSubmitButtons;
9
12
  valuesVersion?: IValueVersion;
10
13
  showRefreshButton?: boolean;
11
14
  withInfoButton?: boolean;
@@ -2,14 +2,16 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
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 { useRef, useState } from 'react';
5
6
  import { KitButton, KitDivider, KitSpace, KitTypography } from 'aristid-ds';
6
- import { useRef } from 'react';
7
7
  import styled from 'styled-components';
8
8
  import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
9
9
  import { EditRecord } from '../EditRecord';
10
10
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
11
- import { faXmark, faFloppyDisk, faRotateRight } from '@fortawesome/free-solid-svg-icons';
12
- import { EDIT_OR_CREATE_RECORD_FORM_ID } from '../EditRecordContent/formConstants';
11
+ import { faXmark, faRotateRight } from '@fortawesome/free-solid-svg-icons';
12
+ import { useGetSubmitButtons } from '../hooks/useGetSubmitButtons';
13
+ import { useForm } from 'antd/lib/form/Form';
14
+ import { useCreateCancelConfirm } from '../hooks/useCreateCancelConfirm';
13
15
  const Header = styled.div `
14
16
  grid-area: title;
15
17
  align-self: center;
@@ -20,14 +22,38 @@ const Header = styled.div `
20
22
  justify-content: space-between;
21
23
  align-items: center;
22
24
  `;
23
- export const EditRecordPage = ({ record, library, afterCreate, valuesVersion, title, showRefreshButton = true, withInfoButton, onClose }) => {
25
+ export const EditRecordPage = ({ record, library, onCreate, onCreateAndEdit, valuesVersion, title, showRefreshButton = true, submitButtons = ['create'], withInfoButton, onClose }) => {
24
26
  var _a;
25
27
  const { t } = useSharedTranslation();
26
- const isInCreateMode = !record;
28
+ const [currentRecord, setCurrentRecord] = useState(record);
29
+ const [clickedSubmitButton, setClickedSubmitButton] = useState(null);
30
+ const showCancelConfirm = useCreateCancelConfirm(onClose);
31
+ const isCreation = !currentRecord;
32
+ const _handleClickSubmit = (button) => {
33
+ setClickedSubmitButton(button);
34
+ };
35
+ const displayedSubmitButtons = useGetSubmitButtons(submitButtons, isCreation, _handleClickSubmit);
36
+ const [antdForm] = useForm();
37
+ const _handleClose = () => {
38
+ if (isCreation && antdForm.isFieldsTouched()) {
39
+ return showCancelConfirm();
40
+ }
41
+ return onClose();
42
+ };
27
43
  // Create refs for the buttons to pass them to the EditRecord component
28
- const closeButtonRef = useRef(null);
29
44
  const refreshButtonRef = useRef(null);
30
- const closeButtonLabel = record ? t('global.close') : t('global.cancel');
31
- return (_jsxs(_Fragment, { children: [_jsxs(Header, { children: [title !== undefined ? (title) : (_jsx(KitTypography.Title, Object.assign({ level: "h2", style: { margin: 0 } }, { children: (_a = record === null || record === void 0 ? void 0 : record.label) !== null && _a !== void 0 ? _a : t('record_edition.new_record') }))), _jsxs(KitSpace, { children: [showRefreshButton && (_jsx(KitButton, { ref: refreshButtonRef, "aria-label": "refresh", type: "text", icon: _jsx(FontAwesomeIcon, { icon: faRotateRight }) })), _jsx(KitButton, Object.assign({ ref: closeButtonRef, icon: _jsx(FontAwesomeIcon, { icon: faXmark }) }, { children: closeButtonLabel })), isInCreateMode && (_jsx(KitButton, Object.assign({ htmlType: "submit", form: EDIT_OR_CREATE_RECORD_FORM_ID, type: "primary", icon: _jsx(FontAwesomeIcon, { icon: faFloppyDisk }) }, { children: t('global.submit') })))] })] }), _jsx(KitDivider, { noMargin: true, color: "lightGrey" }), _jsx(EditRecord, { record: record, library: library, valuesVersion: valuesVersion, afterCreate: afterCreate, buttonsRefs: { close: closeButtonRef, refresh: refreshButtonRef }, onClose: onClose, containerStyle: { height: 'calc(100% - 82px)' }, withInfoButton: withInfoButton })] }));
45
+ const closeButtonLabel = isCreation ? t('global.cancel') : t('global.close');
46
+ const _handleCreate = (newRecord) => {
47
+ setCurrentRecord(newRecord);
48
+ if (onCreateAndEdit && clickedSubmitButton === 'createAndEdit') {
49
+ onCreateAndEdit(newRecord);
50
+ return;
51
+ }
52
+ if (onCreate && clickedSubmitButton === 'create') {
53
+ onCreate(newRecord);
54
+ return;
55
+ }
56
+ };
57
+ return (_jsxs(_Fragment, { children: [_jsxs(Header, { children: [title !== undefined ? (title) : (_jsx(KitTypography.Title, Object.assign({ level: "h2", style: { margin: 0 } }, { children: (_a = currentRecord === null || currentRecord === void 0 ? void 0 : currentRecord.label) !== null && _a !== void 0 ? _a : t('record_edition.new_record') }))), _jsxs(KitSpace, { children: [showRefreshButton && (_jsx(KitButton, { ref: refreshButtonRef, "aria-label": "refresh", type: "text", icon: _jsx(FontAwesomeIcon, { icon: faRotateRight }) })), _jsx(KitButton, Object.assign({ onClick: _handleClose, icon: _jsx(FontAwesomeIcon, { icon: faXmark }) }, { children: closeButtonLabel })), _jsx(KitSpace, { children: displayedSubmitButtons })] })] }), _jsx(KitDivider, { noMargin: true, color: "lightGrey" }), _jsx(EditRecord, { antdForm: antdForm, record: currentRecord, library: library, valuesVersion: valuesVersion, onCreate: _handleCreate, buttonsRefs: { refresh: refreshButtonRef }, containerStyle: { height: 'calc(100% - 82px)' }, withInfoButton: withInfoButton })] }));
32
58
  };
33
59
  //# sourceMappingURL=EditRecordPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecordPage.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordPage/EditRecordPage.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAC1E,OAAO,EAA+B,MAAM,EAAC,MAAM,OAAO,CAAC;AAC3D,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAGpE,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAC,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAC,6BAA6B,EAAC,MAAM,oCAAoC,CAAC;AAajF,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;CASxB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EACpE,MAAM,EACN,OAAO,EACP,WAAW,EACX,aAAa,EACb,KAAK,EACL,iBAAiB,GAAG,IAAI,EACxB,cAAc,EACd,OAAO,EACV,EAAE,EAAE;;IACD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC;IAE/B,uEAAuE;IACvE,MAAM,cAAc,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IACvD,MAAM,gBAAgB,GAAG,MAAM,CAAoB,IAAI,CAAC,CAAC;IAEzD,MAAM,gBAAgB,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,C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C,IACH,CACN,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"EditRecordPage.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordPage/EditRecordPage.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAA+B,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACrE,OAAO,EAAC,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAC1E,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAGpE,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,OAAO,EAAE,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAEzE,OAAO,EAAC,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAC,sBAAsB,EAAC,MAAM,iCAAiC,CAAC;AAevE,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;CASxB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EACpE,MAAM,EACN,OAAO,EACP,QAAQ,EACR,eAAe,EACf,aAAa,EACb,KAAK,EACL,iBAAiB,GAAG,IAAI,EACxB,aAAa,GAAG,CAAC,QAAQ,CAAC,EAC1B,cAAc,EACd,OAAO,EACV,EAAE,EAAE;;IACD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAA0C,MAAM,CAAC,CAAC;IACpG,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,QAAQ,CAA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AI,EAAC,KAAK,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC,gBAC7C,MAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,KAAK,mCAAI,CAAC,CAAC,2BAA2B,CAAC,IACrC,CACzB,EAED,MAAC,QAAQ,eACJ,iBAAiB,IAAI,CAClB,KAAC,SAAS,IACN,GAAG,EAAE,gBAAgB,gBACV,SAAS,EACpB,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,aAAa,GAAI,GAChD,CACL,EACD,KAAC,SAAS,kBAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,OAAO,GAAI,gBACrE,gBAAgB,IACT,EACZ,KAAC,QAAQ,cAAE,sBAAsB,GAAY,IACtC,IACN,EACT,KAAC,UAAU,IAAC,QAAQ,QAAC,KAAK,EAAC,WAAW,GAAG,EACzC,KAAC,UAAU,IACP,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,OAAO,EAChB,aAAa,EAAE,aAAa,EAC5B,QAAQ,EAAE,aAAa,EACvB,WAAW,EAAE,EAAC,OAAO,EAAE,gBAAgB,EAAC,EACxC,cAAc,EAAE,EAAC,MAAM,EAAE,mBAAmB,EAAC,EAC7C,cAAc,EAAE,cAAc,GAChC,IACH,CACN,CAAC;AACN,CAAC,CAAC"}
@@ -10,5 +10,5 @@ export declare type PropertiesListItem = IPropertiesListItemValue | IPropertiesL
10
10
  interface IPropertiesListProps {
11
11
  items: PropertiesListItem[];
12
12
  }
13
- declare function PropertiesList({items}: IPropertiesListProps): JSX.Element;
13
+ declare function PropertiesList({ items }: IPropertiesListProps): JSX.Element;
14
14
  export default PropertiesList;
@@ -1,32 +1,13 @@
1
- import {jsx as _jsx} from 'react/jsx-runtime';
1
+ import { jsx as _jsx } 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 {Descriptions, Divider} from 'antd';
6
- function PropertiesList({items}) {
7
- return _jsx(
8
- Descriptions,
9
- Object.assign(
10
- {layout: 'horizontal', column: 1},
11
- {
12
- children: items.map((item, index) => {
13
- const {title, value} = item;
14
- return _jsx(
15
- Descriptions.Item,
16
- Object.assign(
17
- {
18
- label: title,
19
- style: {paddingBottom: '5px'},
20
- labelStyle: {fontWeight: 'bold', width: '50%'}
21
- },
22
- {children: item.divider ? _jsx(Divider, {'data-testid': 'divider'}, index) : value}
23
- ),
24
- index
25
- );
26
- })
27
- }
28
- )
29
- );
5
+ import { Descriptions, Divider } from 'antd';
6
+ function PropertiesList({ items }) {
7
+ return (_jsx(Descriptions, Object.assign({ layout: "horizontal", column: 1 }, { children: items.map((item, index) => {
8
+ const { title, value } = item;
9
+ return (_jsx(Descriptions.Item, Object.assign({ label: title, style: { paddingBottom: '5px' }, labelStyle: { fontWeight: 'bold', width: '50%' } }, { children: item.divider ? (_jsx(Divider, { "data-testid": "divider" }, index)) : (value) }), index));
10
+ }) })));
30
11
  }
31
12
  export default PropertiesList;
32
- //# sourceMappingURL=PropertiesList.js.map
13
+ //# sourceMappingURL=PropertiesList.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import PropertiesList from './PropertiesList';
5
5
  export default PropertiesList;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -12,7 +12,7 @@ export declare const Wrapper: import("styled-components").IStyledComponent<"web"
12
12
  style?: import("react").CSSProperties;
13
13
  size?: import("antd/es/space").SpaceSize | [import("antd/es/space").SpaceSize, import("antd/es/space").SpaceSize];
14
14
  direction?: "horizontal" | "vertical";
15
- align?: "start" | "center" | "end" | "baseline";
15
+ align?: "start" | "end" | "center" | "baseline";
16
16
  split?: import("react").ReactNode;
17
17
  wrap?: boolean;
18
18
  classNames?: {
@@ -27,7 +27,7 @@ export declare const Wrapper: import("styled-components").IStyledComponent<"web"
27
27
  suppressHydrationWarning?: boolean;
28
28
  accessKey?: string;
29
29
  autoFocus?: boolean;
30
- contentEditable?: "inherit" | (boolean | "true" | "false");
30
+ contentEditable?: (boolean | "true" | "false") | "inherit";
31
31
  contextMenu?: string;
32
32
  dir?: string;
33
33
  draggable?: boolean | "true" | "false";
@@ -112,7 +112,7 @@ export declare const Wrapper: import("styled-components").IStyledComponent<"web"
112
112
  "aria-rowspan"?: number;
113
113
  "aria-selected"?: boolean | "true" | "false";
114
114
  "aria-setsize"?: number;
115
- "aria-sort"?: "none" | "ascending" | "descending" | "other";
115
+ "aria-sort"?: "none" | "other" | "ascending" | "descending";
116
116
  "aria-valuemax"?: number;
117
117
  "aria-valuemin"?: number;
118
118
  "aria-valuenow"?: number;
@@ -1,57 +1,37 @@
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
- import {localizedTranslation} from '@leav/utils';
6
- import {Space, theme} from 'antd';
5
+ import { localizedTranslation } from '@leav/utils';
6
+ import { Space, theme } from 'antd';
7
7
  import styled from 'styled-components';
8
- import {useSharedTranslation} from '../../../../hooks/useSharedTranslation';
9
- import {PreviewSize} from '../../../../constants';
10
- import {useLang} from '../../../../hooks';
11
- import {useGetRecordValuesQuery} from '../../../../hooks/useGetRecordValuesQuery/useGetRecordValuesQuery';
12
- import {ErrorDisplay} from '../../../ErrorDisplay';
13
- import {Loading} from '../../../Loading';
14
- import {RecordPreviewWithModal} from '../../../RecordPreviewWithModal';
8
+ import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
9
+ import { PreviewSize } from '../../../../constants';
10
+ import { useLang } from '../../../../hooks';
11
+ import { useGetRecordValuesQuery } from '../../../../hooks/useGetRecordValuesQuery/useGetRecordValuesQuery';
12
+ import { ErrorDisplay } from '../../../ErrorDisplay';
13
+ import { Loading } from '../../../Loading';
14
+ import { RecordPreviewWithModal } from '../../../RecordPreviewWithModal';
15
15
  import PropertiesList from '../PropertiesList';
16
- export const Wrapper = styled(Space)`
16
+ export const Wrapper = styled(Space) `
17
17
  padding: 1em;
18
18
  display: flex;
19
19
  `;
20
- function RecordSummary({record}) {
20
+ function RecordSummary({ record }) {
21
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
22
- const preview = (
23
- (_a = record === null || record === void 0 ? void 0 : record.preview) === null || _a === void 0
24
- ? void 0
25
- : _a.medium
26
- )
27
- ? String(
28
- (_b = record === null || record === void 0 ? void 0 : record.preview) === null || _b === void 0
29
- ? void 0
30
- : _b.medium
31
- )
32
- : null;
33
- const previewFile =
34
- (_c = record === null || record === void 0 ? void 0 : record.preview) === null || _c === void 0
35
- ? void 0
36
- : _c.file;
37
- const {token} = theme.useToken();
38
- const {t} = useSharedTranslation();
39
- const {lang} = useLang();
40
- const {loading, error, data} = useGetRecordValuesQuery(
41
- (_d = record === null || record === void 0 ? void 0 : record.library) === null || _d === void 0
42
- ? void 0
43
- : _d.id,
44
- ['created_at', 'created_by', 'modified_at', 'modified_by'],
45
- [record === null || record === void 0 ? void 0 : record.id]
46
- );
22
+ const preview = ((_a = record === null || record === void 0 ? void 0 : record.preview) === null || _a === void 0 ? void 0 : _a.medium) ? String((_b = record === null || record === void 0 ? void 0 : record.preview) === null || _b === void 0 ? void 0 : _b.medium) : null;
23
+ const previewFile = (_c = record === null || record === void 0 ? void 0 : record.preview) === null || _c === void 0 ? void 0 : _c.file;
24
+ const { token } = theme.useToken();
25
+ const { t } = useSharedTranslation();
26
+ const { lang } = useLang();
27
+ const { loading, error, data } = useGetRecordValuesQuery((_d = record === null || record === void 0 ? void 0 : record.library) === null || _d === void 0 ? void 0 : _d.id, ['created_at', 'created_by', 'modified_at', 'modified_by'], [record === null || record === void 0 ? void 0 : record.id]);
47
28
  if (loading) {
48
29
  return _jsx(Loading, {});
49
30
  }
50
31
  if (error) {
51
- return _jsx(ErrorDisplay, {message: error.message});
32
+ return _jsx(ErrorDisplay, { message: error.message });
52
33
  }
53
- const recordData =
54
- data === null || data === void 0 ? void 0 : data[record === null || record === void 0 ? void 0 : record.id];
34
+ const recordData = data === null || data === void 0 ? void 0 : data[record === null || record === void 0 ? void 0 : record.id];
55
35
  const summaryContent = [
56
36
  {
57
37
  title: t('record_summary.label'),
@@ -71,28 +51,9 @@ function RecordSummary({record}) {
71
51
  summaryContent.push({
72
52
  title: t('record_summary.created_at'),
73
53
  value: t('record_summary.created_at_value', {
74
- date: ((_f = recordData === null || recordData === void 0 ? void 0 : recordData.created_at) ===
75
- null || _f === void 0
76
- ? void 0
77
- : _f[0]
78
- ).value,
79
- user:
80
- (_k =
81
- (_j =
82
- (_h =
83
- (_g =
84
- recordData === null || recordData === void 0
85
- ? void 0
86
- : recordData.created_by) === null || _g === void 0
87
- ? void 0
88
- : _g[0]) === null || _h === void 0
89
- ? void 0
90
- : _h.linkValue) === null || _j === void 0
91
- ? void 0
92
- : _j.whoAmI) === null || _k === void 0
93
- ? void 0
94
- : _k.label,
95
- interpolation: {escapeValue: false}
54
+ date: ((_f = recordData === null || recordData === void 0 ? void 0 : recordData.created_at) === null || _f === void 0 ? void 0 : _f[0]).value,
55
+ user: (_k = (_j = (_h = (_g = recordData === null || recordData === void 0 ? void 0 : recordData.created_by) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.linkValue) === null || _j === void 0 ? void 0 : _j.whoAmI) === null || _k === void 0 ? void 0 : _k.label,
56
+ interpolation: { escapeValue: false }
96
57
  })
97
58
  });
98
59
  }
@@ -100,59 +61,14 @@ function RecordSummary({record}) {
100
61
  summaryContent.push({
101
62
  title: t('record_summary.modified_at'),
102
63
  value: t('record_summary.modified_at_value', {
103
- date: ((_m = recordData === null || recordData === void 0 ? void 0 : recordData.modified_at) ===
104
- null || _m === void 0
105
- ? void 0
106
- : _m[0]
107
- ).value,
108
- user:
109
- (_r =
110
- (_q =
111
- (_p =
112
- (_o =
113
- recordData === null || recordData === void 0
114
- ? void 0
115
- : recordData.modified_by) === null || _o === void 0
116
- ? void 0
117
- : _o[0]) === null || _p === void 0
118
- ? void 0
119
- : _p.linkValue) === null || _q === void 0
120
- ? void 0
121
- : _q.whoAmI) === null || _r === void 0
122
- ? void 0
123
- : _r.label,
124
- interpolation: {escapeValue: false}
64
+ date: ((_m = recordData === null || recordData === void 0 ? void 0 : recordData.modified_at) === null || _m === void 0 ? void 0 : _m[0]).value,
65
+ user: (_r = (_q = (_p = (_o = recordData === null || recordData === void 0 ? void 0 : recordData.modified_by) === null || _o === void 0 ? void 0 : _o[0]) === null || _p === void 0 ? void 0 : _p.linkValue) === null || _q === void 0 ? void 0 : _q.whoAmI) === null || _r === void 0 ? void 0 : _r.label,
66
+ interpolation: { escapeValue: false }
125
67
  })
126
68
  });
127
69
  }
128
70
  }
129
- return _jsxs(
130
- Wrapper,
131
- Object.assign(
132
- {direction: 'vertical'},
133
- {
134
- children: [
135
- _jsx(RecordPreviewWithModal, {
136
- label:
137
- (_s = record === null || record === void 0 ? void 0 : record.label) !== null &&
138
- _s !== void 0
139
- ? _s
140
- : record === null || record === void 0
141
- ? void 0
142
- : record.id,
143
- color: record === null || record === void 0 ? void 0 : record.color,
144
- image: preview !== null && preview !== void 0 ? preview : null,
145
- tile: true,
146
- size: PreviewSize.medium,
147
- style: {borderRadius: token.borderRadius},
148
- previewFile: previewFile,
149
- imageStyle: {borderRadius: token.borderRadius}
150
- }),
151
- _jsx(PropertiesList, {items: summaryContent})
152
- ]
153
- }
154
- )
155
- );
71
+ return (_jsxs(Wrapper, Object.assign({ direction: "vertical" }, { children: [_jsx(RecordPreviewWithModal, { label: (_s = record === null || record === void 0 ? void 0 : record.label) !== null && _s !== void 0 ? _s : record === null || record === void 0 ? void 0 : record.id, color: record === null || record === void 0 ? void 0 : record.color, image: preview !== null && preview !== void 0 ? preview : null, tile: true, size: PreviewSize.medium, style: { borderRadius: token.borderRadius }, previewFile: previewFile, imageStyle: { borderRadius: token.borderRadius } }), _jsx(PropertiesList, { items: summaryContent })] })));
156
72
  }
157
73
  export default RecordSummary;
158
- //# sourceMappingURL=RecordSummary.js.map
74
+ //# sourceMappingURL=RecordSummary.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import RecordSummary from './RecordSummary';
5
5
  export default RecordSummary;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import {RecordFormAttributeFragment} from '../../../../../_gqlTypes';
2
+ import { RecordFormAttributeFragment } from '../../../../../_gqlTypes';
3
3
  interface IAttributeDetailsProps {
4
4
  attribute: RecordFormAttributeFragment;
5
5
  }
6
- declare function AttributeDetails({attribute}: IAttributeDetailsProps): JSX.Element;
6
+ declare function AttributeDetails({ attribute }: IAttributeDetailsProps): JSX.Element;
7
7
  export default AttributeDetails;
@@ -1,14 +1,14 @@
1
- import {jsx as _jsx} from 'react/jsx-runtime';
1
+ import { jsx as _jsx } 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 {isTypeStandard} from '@leav/utils';
6
- import {Collapse, theme} from 'antd';
5
+ import { isTypeStandard } from '@leav/utils';
6
+ import { Collapse, theme } from 'antd';
7
7
  import styled from 'styled-components';
8
- import {useSharedTranslation} from '../../../../../hooks/useSharedTranslation';
9
- import {themeVars} from '../../../../../antdTheme';
8
+ import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
9
+ import { themeVars } from '../../../../../antdTheme';
10
10
  import PropertiesList from '../../PropertiesList';
11
- const AttributeDetailsCollapse = styled(Collapse)`
11
+ const AttributeDetailsCollapse = styled(Collapse) `
12
12
  &&& {
13
13
  margin: 1rem;
14
14
  background: none;
@@ -24,9 +24,9 @@ const AttributeDetailsCollapse = styled(Collapse)`
24
24
  }
25
25
  }
26
26
  `;
27
- function AttributeDetails({attribute}) {
28
- const {t} = useSharedTranslation();
29
- const {token} = theme.useToken();
27
+ function AttributeDetails({ attribute }) {
28
+ const { t } = useSharedTranslation();
29
+ const { token } = theme.useToken();
30
30
  const attributeDetailsContent = [
31
31
  {
32
32
  title: t('record_edition.attribute.id'),
@@ -47,16 +47,10 @@ function AttributeDetails({attribute}) {
47
47
  {
48
48
  key: 'attribute',
49
49
  label: t('record_edition.attribute_details_section'),
50
- children: _jsx(PropertiesList, {items: attributeDetailsContent})
50
+ children: _jsx(PropertiesList, { items: attributeDetailsContent })
51
51
  }
52
52
  ];
53
- return _jsx(AttributeDetailsCollapse, {
54
- items: collapseItems,
55
- destroyInactivePanel: true,
56
- bordered: false,
57
- ghost: true,
58
- $themeToken: token
59
- });
53
+ return (_jsx(AttributeDetailsCollapse, { items: collapseItems, destroyInactivePanel: true, bordered: false, ghost: true, "$themeToken": token }));
60
54
  }
61
55
  export default AttributeDetails;
62
- //# sourceMappingURL=AttributeDetails.js.map
56
+ //# sourceMappingURL=AttributeDetails.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import AttributeDetails from './AttributeDetails';
5
5
  export default AttributeDetails;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map