@leav/ui 0.2.6 → 0.2.8

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 (983) 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 +8 -2
  4. package/dist/__mocks__/common/filter.d.ts +1 -1
  5. package/dist/__mocks__/common/filter.js +13 -9
  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 +3 -1
  9. package/dist/__mocks__/common/label.js +2 -2
  10. package/dist/__mocks__/common/library.d.ts +82 -67
  11. package/dist/__mocks__/common/library.js +11 -9
  12. package/dist/__mocks__/common/mockSearchContextProvider.d.ts +6 -3
  13. package/dist/__mocks__/common/mockSearchContextProvider.js +23 -10
  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 +6 -4
  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 +6 -1
  25. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +5 -5
  26. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +10 -3
  27. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +3 -3
  28. package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +6 -4
  29. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +11 -6
  30. package/dist/__mocks__/react-i18next.d.ts +5 -9
  31. package/dist/__mocks__/react-i18next.js +10 -11
  32. package/dist/_gqlTypes/index.d.ts +5169 -4482
  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 +13 -4
  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 +10 -7
  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 +10 -5
  109. package/dist/_queries/records/getRecordPropertiesQuery.js +13 -12
  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 +7 -4
  113. package/dist/_queries/records/getRecordsFromLibraryQuery.js +7 -8
  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 +7 -3
  159. package/dist/_utils/getFiltersFromRequest.js +76 -31
  160. package/dist/_utils/getRequestFromFilter.d.ts +2 -2
  161. package/dist/_utils/getRequestFromFilter.js +63 -42
  162. package/dist/_utils/index.d.ts +36 -13
  163. package/dist/_utils/index.js +93 -38
  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 +10 -2
  168. package/dist/components/AttributePicker/AttributePicker.js +46 -11
  169. package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +8 -2
  170. package/dist/components/AttributePicker/AttributesList/AttributesList.js +141 -47
  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 +38 -17
  177. package/dist/components/AttributesSelectionList/Attribute/index.js +1 -1
  178. package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +8 -2
  179. package/dist/components/AttributesSelectionList/AttributesSelectionList.js +97 -24
  180. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +2 -2
  181. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +41 -16
  182. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js +1 -1
  183. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +64 -10
  184. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js +1 -1
  185. package/dist/components/AttributesSelectionList/_types.d.ts +5 -1
  186. package/dist/components/AttributesSelectionList/_types.js +1 -1
  187. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +6 -3
  188. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +3 -2
  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 +28 -21
  193. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +13 -16
  194. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +2 -2
  195. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +7 -4
  196. package/dist/components/AttributesSelectionList/sharedComponents.d.ts +842 -803
  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 +19 -18
  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 +7 -2
  203. package/dist/components/CreateDirectory/CreateDirectory.js +125 -22
  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 +8 -2
  207. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +41 -18
  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 +8 -2
  214. package/dist/components/EditApplication/EditApplication.js +29 -17
  215. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +2 -2
  216. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +68 -34
  217. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +9 -3
  218. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +244 -72
  219. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +2 -2
  220. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +41 -26
  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 +6 -2
  230. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +28 -18
  231. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +2 -2
  232. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +102 -44
  233. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +10 -3
  234. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +389 -77
  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 +68 -21
  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 +68 -21
  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 +94 -16
  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 +9 -3
  254. package/dist/components/EditAttributeModal/EditAttributeModal.js +84 -34
  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 +7 -2
  258. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +48 -26
  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 +24 -13
  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 +14 -6
  264. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +118 -39
  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 +32 -11
  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 +27 -13
  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 +89 -22
  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 +85 -46
  281. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +10 -3
  282. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +245 -76
  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 +22 -18
  289. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +8 -2
  290. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +241 -34
  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 +114 -41
  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 +6 -2
  298. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +122 -34
  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 +10 -3
  306. package/dist/components/EditLibraryModal/EditLibraryModal.js +88 -33
  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 +28 -18
  311. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +2 -2
  312. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +85 -47
  313. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +10 -3
  314. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +169 -58
  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 +210 -30
  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 +84 -31
  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 +14 -4
  330. package/dist/components/EntityCard/EntityCard.js +99 -22
  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 +66 -23
  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 +9 -2
  343. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +48 -16
  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 +8 -4
  350. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +2 -2
  351. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +50 -12
  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 +22 -13
  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 +31 -10
  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 +116 -47
  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 +13 -7
  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 +84 -22
  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 +19 -7
  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 +8 -2
  384. package/dist/components/ImportModal/ImportModal.js +208 -75
  385. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +2 -2
  386. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +40 -11
  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 +40 -13
  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 +135 -58
  393. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +7 -1
  394. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +34 -7
  395. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js +1 -1
  396. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +10 -2
  397. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +149 -22
  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 +15 -10
  402. package/dist/components/ImportModal/ImportModalDoneStep/index.js +1 -1
  403. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +9 -6
  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 +70 -34
  407. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js +1 -1
  408. package/dist/components/ImportModal/_types.d.ts +14 -8
  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 +27 -22
  413. package/dist/components/ImportModal/importReducer/importReducer.js +32 -18
  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/DisplayOptions/DisplayOptions.js +58 -20
  418. package/dist/components/LibraryItemsList/DisplayOptions/index.js +1 -1
  419. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js +5 -5
  420. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js +1 -1
  421. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +14 -3
  422. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +128 -70
  423. package/dist/components/LibraryItemsList/FiltersDropdown/index.js +1 -1
  424. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +4 -4
  425. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +279 -102
  426. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +2 -2
  427. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +104 -43
  428. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js +1 -1
  429. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +2 -2
  430. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js +12 -7
  431. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js +1 -1
  432. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +2 -2
  433. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js +32 -11
  434. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js +1 -1
  435. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +2 -2
  436. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js +22 -9
  437. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js +1 -1
  438. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +2 -2
  439. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js +15 -9
  440. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js +1 -1
  441. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +2 -2
  442. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js +17 -10
  443. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js +1 -1
  444. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js +1 -1
  445. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +3 -3
  446. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js +37 -17
  447. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js +1 -1
  448. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +2 -2
  449. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +28 -14
  450. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js +1 -1
  451. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +11 -5
  452. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +45 -39
  453. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +166 -48
  454. package/dist/components/LibraryItemsList/FiltersPanel/index.js +1 -1
  455. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +1 -1
  456. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +3 -3
  457. package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +2 -2
  458. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js +8 -8
  459. package/dist/components/LibraryItemsList/IconViewType/index.js +1 -1
  460. package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +4 -4
  461. package/dist/components/LibraryItemsList/LibraryItemsList.js +16 -8
  462. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +5 -5
  463. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +140 -69
  464. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js +1 -1
  465. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +1 -1
  466. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js +1 -1
  467. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js +20 -8
  468. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js +1 -1
  469. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +3 -3
  470. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +39 -14
  471. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js +1 -1
  472. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +3 -3
  473. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js +1 -1
  474. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +2 -2
  475. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +67 -23
  476. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js +1 -1
  477. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +2 -2
  478. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +45 -17
  479. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +3 -3
  480. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +34 -14
  481. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js +1 -1
  482. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +1 -1
  483. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js +16 -8
  484. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js +1 -1
  485. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +1 -1
  486. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js +6 -6
  487. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +3 -3
  488. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +64 -25
  489. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js +1 -1
  490. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js +1 -1
  491. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +1 -1
  492. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +114 -35
  493. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js +1 -1
  494. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +2 -2
  495. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +105 -54
  496. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js +1 -1
  497. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +171 -75
  498. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js +1 -1
  499. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +2 -2
  500. package/dist/components/LibraryItemsList/MenuItemList/index.js +1 -1
  501. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +43 -24
  502. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js +1 -1
  503. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +1 -1
  504. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +86 -37
  505. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js +1 -1
  506. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +52 -26
  507. package/dist/components/LibraryItemsList/MenuSelection/index.js +1 -1
  508. package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +2 -2
  509. package/dist/components/LibraryItemsList/MenuView/MenuView.js +171 -42
  510. package/dist/components/LibraryItemsList/MenuView/index.js +1 -1
  511. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js +20 -11
  512. package/dist/components/LibraryItemsList/SearchItems/index.js +1 -1
  513. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +20 -8
  514. package/dist/components/LibraryItemsList/Sidebar/index.js +1 -1
  515. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +2 -2
  516. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js +1 -1
  517. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +31 -12
  518. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +1 -1
  519. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +3 -3
  520. package/dist/components/LibraryItemsList/TileDisplay/index.js +1 -1
  521. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +28 -14
  522. package/dist/components/LibraryItemsList/VersionsPanel/index.js +1 -1
  523. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +2 -2
  524. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +133 -21
  525. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js +1 -1
  526. package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +3 -3
  527. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +194 -52
  528. package/dist/components/LibraryItemsList/ViewPanel/View/index.js +1 -1
  529. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +226 -55
  530. package/dist/components/LibraryItemsList/ViewPanel/index.js +1 -1
  531. package/dist/components/LibraryItemsList/constants.d.ts +7 -7
  532. package/dist/components/LibraryItemsList/constants.js +5 -5
  533. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +2 -2
  534. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js +4 -4
  535. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +5 -3
  536. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +4 -4
  537. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +2 -2
  538. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +56 -52
  539. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +9 -4
  540. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +3 -3
  541. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +4 -4
  542. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js +7 -7
  543. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +1 -1
  544. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js +8 -6
  545. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +1 -1
  546. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js +3 -3
  547. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +5 -3
  548. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +35 -18
  549. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.d.ts +11 -8
  550. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js +1 -1
  551. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js +1 -1
  552. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +2 -2
  553. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js +3 -3
  554. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.d.ts +138 -110
  555. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +186 -92
  556. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +2 -2
  557. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js +3 -3
  558. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +13 -3
  559. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +16 -9
  560. package/dist/components/LibraryItemsList/index.d.ts +1 -1
  561. package/dist/components/LibraryItemsList/index.js +2 -2
  562. package/dist/components/LibraryItemsList/manageItems.d.ts +3 -3
  563. package/dist/components/LibraryItemsList/manageItems.js +14 -11
  564. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +3 -3
  565. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +31 -25
  566. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js +1 -1
  567. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +6 -6
  568. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +32 -24
  569. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +2 -2
  570. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +131 -51
  571. package/dist/components/LibraryPicker/LibrariesList/index.d.ts +1 -1
  572. package/dist/components/LibraryPicker/LibrariesList/index.js +2 -2
  573. package/dist/components/LibraryPicker/LibraryPicker.d.ts +9 -2
  574. package/dist/components/LibraryPicker/LibraryPicker.js +33 -10
  575. package/dist/components/LibraryPicker/index.d.ts +1 -1
  576. package/dist/components/LibraryPicker/index.js +2 -2
  577. package/dist/components/List/List.d.ts +10 -2
  578. package/dist/components/List/List.js +78 -38
  579. package/dist/components/List/index.js +1 -1
  580. package/dist/components/Loading/Loading.js +4 -4
  581. package/dist/components/Loading/index.d.ts +1 -1
  582. package/dist/components/Loading/index.js +2 -2
  583. package/dist/components/RecordCard/RecordCard.d.ts +13 -2
  584. package/dist/components/RecordCard/RecordCard.js +40 -10
  585. package/dist/components/RecordCard/_types.d.ts +3 -3
  586. package/dist/components/RecordCard/_types.js +1 -1
  587. package/dist/components/RecordCard/index.d.ts +1 -1
  588. package/dist/components/RecordCard/index.js +2 -2
  589. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +1 -0
  590. package/dist/components/RecordEdition/EditRecord/EditRecord.js +2 -2
  591. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  592. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.d.ts +1 -1
  593. package/dist/components/RecordEdition/EditRecord/EditRecordSkeleton.js +22 -5
  594. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +9 -0
  595. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js +37 -0
  596. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -0
  597. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.d.ts +2 -0
  598. package/dist/components/RecordEdition/EditRecord/{_hooks/useHandleSubmit → ValuesVersionSummary}/index.js +2 -1
  599. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -0
  600. package/dist/components/RecordEdition/EditRecord/_types.d.ts +57 -25
  601. package/dist/components/RecordEdition/EditRecord/_types.js +6 -6
  602. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.d.ts +2 -2
  603. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/extractFormElements.js +20 -10
  604. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.d.ts +1 -1
  605. package/dist/components/RecordEdition/EditRecord/helpers/extractFormElements/index.js +2 -2
  606. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +1 -1
  607. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/getActiveFieldValues.js +2 -2
  608. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.d.ts +1 -1
  609. package/dist/components/RecordEdition/EditRecord/helpers/getActiveFieldValues/index.js +2 -2
  610. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.d.ts +1 -1
  611. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/index.js +2 -2
  612. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.d.ts +1 -1
  613. package/dist/components/RecordEdition/EditRecord/helpers/isCurrentVersion/isCurrentVersion.js +8 -2
  614. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  615. package/dist/components/RecordEdition/EditRecord/hooks/__mocks__/useSaveValueMutation.js +1 -1
  616. package/dist/components/RecordEdition/EditRecord/hooks/helpers/getPropertyCacheFieldName.js +2 -2
  617. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.d.ts +2 -2
  618. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteDeleteValueMutation.js +17 -13
  619. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.d.ts +1 -1
  620. package/dist/components/RecordEdition/EditRecord/hooks/useExecuteSaveValueBatchMutation.js +29 -24
  621. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.d.ts +2 -2
  622. package/dist/components/RecordEdition/EditRecord/hooks/useRecordEditionContext.js +3 -3
  623. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/index.js +1 -1
  624. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.d.ts +55 -37
  625. package/dist/components/RecordEdition/EditRecord/reducers/linkFieldReducer/linkFieldReducer.js +96 -40
  626. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/index.js +1 -1
  627. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.d.ts +88 -68
  628. package/dist/components/RecordEdition/EditRecord/reducers/standardFieldReducer/standardFieldReducer.js +200 -58
  629. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.d.ts +3 -3
  630. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/AddValueBtn.js +42 -25
  631. package/dist/components/RecordEdition/EditRecord/shared/AddValueBtn/index.js +1 -1
  632. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +1 -1
  633. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +40 -10
  634. package/dist/components/RecordEdition/EditRecord/shared/DeleteAllValuesBtn/index.js +1 -1
  635. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.d.ts +2 -2
  636. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/DeleteValueBtn.js +45 -19
  637. package/dist/components/RecordEdition/EditRecord/shared/DeleteValueBtn/index.js +1 -1
  638. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.d.ts +2 -2
  639. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/FieldFooter.js +11 -8
  640. package/dist/components/RecordEdition/EditRecord/shared/FieldFooter/index.js +1 -1
  641. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +2 -2
  642. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js +11 -8
  643. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  644. package/dist/components/RecordEdition/EditRecord/shared/InheritedFieldLabel/index.js +1 -1
  645. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.d.ts +1 -1
  646. package/dist/components/RecordEdition/EditRecord/shared/NoValue/NoValue.js +37 -10
  647. package/dist/components/RecordEdition/EditRecord/shared/NoValue/index.js +1 -1
  648. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +13 -7
  649. package/dist/components/RecordEdition/EditRecord/shared/UpdatedFieldIcon/index.js +1 -1
  650. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +4 -4
  651. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/ValueDetailsBtn.js +39 -26
  652. package/dist/components/RecordEdition/EditRecord/shared/ValueDetailsBtn/index.js +1 -1
  653. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +10 -4
  654. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js +58 -30
  655. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  656. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionBtn/index.js +1 -1
  657. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +3 -3
  658. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +9 -9
  659. package/dist/components/RecordEdition/EditRecord/shared/ValuesVersionIndicator/index.js +1 -1
  660. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.d.ts +7 -2
  661. package/dist/components/RecordEdition/EditRecord/uiElements/Container/Container.js +35 -7
  662. package/dist/components/RecordEdition/EditRecord/uiElements/Container/index.js +1 -1
  663. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.d.ts +3 -3
  664. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/ErrorField.js +32 -15
  665. package/dist/components/RecordEdition/EditRecord/uiElements/ErrorField/index.js +1 -1
  666. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.d.ts +3 -3
  667. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/FormDivider.js +5 -5
  668. package/dist/components/RecordEdition/EditRecord/uiElements/FormDivider/index.js +1 -1
  669. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.d.ts +3 -3
  670. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/FormTabs.js +25 -24
  671. package/dist/components/RecordEdition/EditRecord/uiElements/FormTabs/index.js +1 -1
  672. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.d.ts +12 -5
  673. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +10 -10
  674. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/FloatingMenuHandler/index.js +1 -1
  675. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.d.ts +10 -5
  676. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/LinkField.js +289 -84
  677. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.d.ts +2 -2
  678. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +6 -6
  679. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/RecordIdentityCell/index.js +1 -1
  680. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.d.ts +3 -3
  681. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +22 -15
  682. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +1 -1
  683. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.d.ts +3 -3
  684. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/ValuesAdd.js +295 -54
  685. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/ValuesAdd/index.js +1 -1
  686. package/dist/components/RecordEdition/EditRecord/uiElements/LinkField/index.js +1 -1
  687. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.d.ts +9 -3
  688. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardField.js +178 -53
  689. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.d.ts +2 -2
  690. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +13 -7
  691. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.d.ts +2 -2
  692. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +17 -7
  693. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.d.ts +2 -2
  694. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateInput.js +48 -12
  695. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +2 -2
  696. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +52 -14
  697. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +1 -1
  698. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.d.ts +8 -2
  699. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +15 -6
  700. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.d.ts +9 -2
  701. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +19 -8
  702. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.d.ts +2 -2
  703. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +21 -7
  704. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.d.ts +9 -2
  705. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +21 -7
  706. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +16 -4
  707. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +342 -85
  708. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  709. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.d.ts +3 -3
  710. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +44 -17
  711. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +1 -1
  712. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/StandardFieldValue/index.js +1 -1
  713. package/dist/components/RecordEdition/EditRecord/uiElements/StandardField/index.js +1 -1
  714. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.d.ts +3 -3
  715. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/TextBlock.js +4 -4
  716. package/dist/components/RecordEdition/EditRecord/uiElements/TextBlock/index.js +1 -1
  717. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.d.ts +8 -3
  718. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeField.js +186 -49
  719. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.d.ts +3 -3
  720. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +18 -13
  721. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/TreeFieldValue/index.js +1 -1
  722. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.d.ts +3 -3
  723. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/ValuesAdd.js +118 -30
  724. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/ValuesAdd/index.js +1 -1
  725. package/dist/components/RecordEdition/EditRecord/uiElements/TreeField/index.js +1 -1
  726. package/dist/components/RecordEdition/EditRecord/uiElements/index.d.ts +2 -2
  727. package/dist/components/RecordEdition/EditRecord/uiElements/index.js +2 -2
  728. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +4 -4
  729. package/dist/components/RecordEdition/EditRecordBtn/index.js +1 -1
  730. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +3 -19
  731. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  732. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -19
  733. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  734. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -1
  735. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  736. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +1 -0
  737. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -2
  738. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  739. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/EditRecordModalHeader.js +61 -17
  740. package/dist/components/RecordEdition/EditRecordModal/EditRecordModalHeader/index.js +1 -1
  741. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.d.ts +2 -2
  742. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/ValuesVersionSummary.js +56 -20
  743. package/dist/components/RecordEdition/EditRecordModal/ValuesVersionSummary/index.js +1 -1
  744. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.d.ts +2 -2
  745. package/dist/components/RecordEdition/EditRecordModal/creationErrorContext.js +2 -2
  746. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
  747. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -2
  748. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  749. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.d.ts +1 -1
  750. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +27 -8
  751. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +1 -1
  752. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.d.ts +9 -9
  753. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +112 -28
  754. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +1 -1
  755. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.d.ts +2 -2
  756. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +18 -12
  757. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js +1 -1
  758. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.d.ts +3 -3
  759. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js +19 -11
  760. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js +1 -1
  761. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js +1 -1
  762. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js +1 -1
  763. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js +1 -1
  764. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +1 -1
  765. package/dist/components/RecordEdition/EditRecordSidebar/index.js +1 -1
  766. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.d.ts +53 -41
  767. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducer.js +61 -25
  768. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.d.ts +2 -2
  769. package/dist/components/RecordEdition/editRecordModalReducer/editRecordModalReducerContext.js +2 -2
  770. package/dist/components/RecordEdition/editRecordModalReducer/index.js +1 -1
  771. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.d.ts +1 -1
  772. package/dist/components/RecordEdition/editRecordModalReducer/useEditRecordModalReducer.js +3 -3
  773. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +1 -0
  774. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +2 -1
  775. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  776. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +1 -1
  777. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +49 -15
  778. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +2 -2
  779. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +21 -7
  780. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +1 -1
  781. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +2 -2
  782. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +28 -9
  783. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +1 -1
  784. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +2 -2
  785. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +34 -15
  786. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +2 -2
  787. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +97 -25
  788. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +1 -1
  789. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +2 -2
  790. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +32 -14
  791. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +1 -1
  792. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +2 -2
  793. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +39 -17
  794. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +1 -1
  795. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +2 -2
  796. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +22 -8
  797. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +1 -1
  798. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +2 -2
  799. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js +1 -1
  800. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js +1 -1
  801. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +1 -1
  802. package/dist/components/RecordPreviewWithModal/FileModal/index.js +1 -1
  803. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +3 -3
  804. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +66 -25
  805. package/dist/components/RecordPreviewWithModal/index.d.ts +1 -1
  806. package/dist/components/RecordPreviewWithModal/index.js +2 -2
  807. package/dist/components/SearchModal/SearchModal.d.ts +2 -2
  808. package/dist/components/SearchModal/SearchModal.js +60 -22
  809. package/dist/components/SearchModal/index.d.ts +1 -1
  810. package/dist/components/SearchModal/index.js +2 -2
  811. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +11 -3
  812. package/dist/components/SelectTreeNode/SelectTreeNode.js +63 -28
  813. package/dist/components/SelectTreeNode/index.d.ts +1 -1
  814. package/dist/components/SelectTreeNode/index.js +2 -2
  815. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.d.ts +10 -3
  816. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +45 -12
  817. package/dist/components/SelectTreeNodeModal/index.js +1 -1
  818. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +4 -4
  819. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +2 -2
  820. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +21 -7
  821. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +1 -1
  822. package/dist/components/SimpleErrorBoundary/index.d.ts +1 -1
  823. package/dist/components/SimpleErrorBoundary/index.js +2 -2
  824. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +2 -2
  825. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +26 -10
  826. package/dist/components/SubmitStateNotifier/_types.js +1 -1
  827. package/dist/components/SubmitStateNotifier/index.d.ts +1 -1
  828. package/dist/components/SubmitStateNotifier/index.js +2 -2
  829. package/dist/components/TreePicker/TreePicker.d.ts +2 -2
  830. package/dist/components/TreePicker/TreePicker.js +34 -10
  831. package/dist/components/TreePicker/TreesList/TreesList.d.ts +2 -2
  832. package/dist/components/TreePicker/TreesList/TreesList.js +110 -50
  833. package/dist/components/TreePicker/TreesList/index.d.ts +1 -1
  834. package/dist/components/TreePicker/TreesList/index.js +2 -2
  835. package/dist/components/TreePicker/index.d.ts +1 -1
  836. package/dist/components/TreePicker/index.js +2 -2
  837. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +8 -2
  838. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +90 -32
  839. package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -1
  840. package/dist/components/TriggerPreviewsGenerationModal/index.js +2 -2
  841. package/dist/components/UploadFiles/UploadFiles.d.ts +8 -2
  842. package/dist/components/UploadFiles/UploadFiles.js +244 -62
  843. package/dist/components/UploadFiles/index.d.ts +1 -1
  844. package/dist/components/UploadFiles/index.js +2 -2
  845. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +7 -2
  846. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +57 -19
  847. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +3 -3
  848. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +54 -20
  849. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +1 -1
  850. package/dist/components/ValuesVersionConfigurator/index.js +1 -1
  851. package/dist/components/index.js +1 -1
  852. package/dist/constants.d.ts +14 -14
  853. package/dist/constants.js +9 -9
  854. package/dist/contexts/LangContext/LangContext.d.ts +1 -1
  855. package/dist/contexts/LangContext/LangContext.js +1 -1
  856. package/dist/contexts/LangContext/index.d.ts +1 -1
  857. package/dist/contexts/LangContext/index.js +2 -2
  858. package/dist/contexts/LangContext/types.js +1 -1
  859. package/dist/contexts/UserContext/UserContext.d.ts +1 -1
  860. package/dist/contexts/UserContext/UserContext.js +1 -1
  861. package/dist/contexts/UserContext/index.d.ts +1 -1
  862. package/dist/contexts/UserContext/index.js +2 -2
  863. package/dist/contexts/UserContext/types.d.ts +1 -1
  864. package/dist/contexts/UserContext/types.js +1 -1
  865. package/dist/contexts/index.js +1 -1
  866. package/dist/gqlFragments/index.d.ts +1 -1
  867. package/dist/gqlFragments/index.js +2 -2
  868. package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -1
  869. package/dist/gqlFragments/recordIdentityFragment.js +3 -3
  870. package/dist/gqlPossibleTypes/index.d.ts +1 -1
  871. package/dist/gqlPossibleTypes/index.js +1 -1
  872. package/dist/hooks/index.d.ts +13 -13
  873. package/dist/hooks/index.js +14 -14
  874. package/dist/hooks/useAntdLocale/index.d.ts +1 -1
  875. package/dist/hooks/useAntdLocale/index.js +2 -2
  876. package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +1 -1
  877. package/dist/hooks/useAntdLocale/useAntdLocale.js +2 -2
  878. package/dist/hooks/useAppLang/index.d.ts +1 -1
  879. package/dist/hooks/useAppLang/index.js +2 -2
  880. package/dist/hooks/useAppLang/useAppLang.js +12 -11
  881. package/dist/hooks/useAuth/index.d.ts +1 -1
  882. package/dist/hooks/useAuth/index.js +2 -2
  883. package/dist/hooks/useAuth/useAuth.js +3 -3
  884. package/dist/hooks/useCanEditRecord/index.d.ts +1 -1
  885. package/dist/hooks/useCanEditRecord/index.js +2 -2
  886. package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +6 -3
  887. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +37 -15
  888. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.d.ts +2 -2
  889. package/dist/hooks/useExecuteAddViewMutation/useExecuteAddViewMutation.js +12 -8
  890. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +2 -2
  891. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +4 -4
  892. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +10 -2
  893. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +4 -4
  894. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +2 -2
  895. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +23 -10
  896. package/dist/hooks/useGetRecordForm/index.d.ts +1 -1
  897. package/dist/hooks/useGetRecordForm/index.js +2 -2
  898. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +75 -36
  899. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +38 -19
  900. package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -1
  901. package/dist/hooks/useGetRecordUpdatesSubscription/index.js +2 -2
  902. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +10 -4
  903. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +10 -7
  904. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.d.ts +14 -7
  905. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +30 -20
  906. package/dist/hooks/useLang/__mocks__/index.js +1 -1
  907. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  908. package/dist/hooks/useLang/index.js +1 -1
  909. package/dist/hooks/useLang/useLang.d.ts +1 -1
  910. package/dist/hooks/useLang/useLang.js +3 -3
  911. package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -1
  912. package/dist/hooks/useLibraryVersionTrees/index.js +2 -2
  913. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +2 -2
  914. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +26 -9
  915. package/dist/hooks/useLocalStorage/index.d.ts +1 -1
  916. package/dist/hooks/useLocalStorage/index.js +2 -2
  917. package/dist/hooks/useLocalStorage/useLocalStorage.js +2 -2
  918. package/dist/hooks/useRecordsConsultationHistory/index.js +1 -1
  919. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +5 -6
  920. package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -1
  921. package/dist/hooks/useRefreshFieldValues/index.js +2 -2
  922. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +7 -3
  923. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +31 -25
  924. package/dist/hooks/useRefreshToken/index.d.ts +1 -1
  925. package/dist/hooks/useRefreshToken/index.js +2 -2
  926. package/dist/hooks/useRefreshToken/useRefreshToken.js +5 -5
  927. package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -1
  928. package/dist/hooks/useSharedTranslation/__mocks__/index.js +2 -2
  929. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +1 -1
  930. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  931. package/dist/hooks/useSharedTranslation/index.d.ts +1 -1
  932. package/dist/hooks/useSharedTranslation/index.js +2 -2
  933. package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +1 -1
  934. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +29 -22
  935. package/dist/hooks/useUser/index.d.ts +1 -1
  936. package/dist/hooks/useUser/index.js +2 -2
  937. package/dist/hooks/useUser/useUser.d.ts +1 -1
  938. package/dist/hooks/useUser/useUser.js +3 -3
  939. package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -1
  940. package/dist/hooks/useValuesCacheUpdate/index.js +2 -2
  941. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +6 -3
  942. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +16 -11
  943. package/dist/index.js +1 -1
  944. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +1 -3
  945. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +5 -5
  946. package/dist/testing/MockedLangContextProvider/index.js +1 -1
  947. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +1 -3
  948. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +13 -8
  949. package/dist/testing/MockedUserContextProvider/index.js +1 -1
  950. package/dist/testing/index.d.ts +1 -1
  951. package/dist/testing/index.js +2 -2
  952. package/dist/types/attributes.d.ts +3 -3
  953. package/dist/types/attributes.js +1 -1
  954. package/dist/types/index.js +1 -1
  955. package/dist/types/misc.js +1 -1
  956. package/dist/types/records.d.ts +2 -2
  957. package/dist/types/records.js +1 -1
  958. package/dist/types/scalars.js +1 -1
  959. package/dist/types/search.d.ts +38 -27
  960. package/dist/types/search.js +19 -19
  961. package/dist/types/trees.d.ts +2 -2
  962. package/dist/types/trees.js +1 -1
  963. package/dist/types/values.js +1 -1
  964. package/dist/types/views.d.ts +4 -4
  965. package/dist/types/views.js +1 -1
  966. package/package.json +2 -2
  967. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.d.ts +0 -1
  968. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.js +0 -5
  969. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/index.js.map +0 -1
  970. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.d.ts +0 -13
  971. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.js +0 -47
  972. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleDeleteValues/useHandleDeleteValues.js.map +0 -1
  973. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.d.ts +0 -1
  974. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/index.js.map +0 -1
  975. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.d.ts +0 -15
  976. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.js +0 -206
  977. package/dist/components/RecordEdition/EditRecord/_hooks/useHandleSubmit/useHandleSubmit.js.map +0 -1
  978. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.d.ts +0 -4
  979. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js +0 -30
  980. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/DateRangeInput.js.map +0 -1
  981. package/dist/components/RecordEdition/_types.d.ts +0 -114
  982. package/dist/components/RecordEdition/_types.js +0 -12
  983. package/dist/components/RecordEdition/_types.js.map +0 -1
@@ -1,24 +1,24 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ var __rest =
2
+ (this && this.__rest) ||
3
+ function (s, e) {
4
+ var t = {};
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === 'function')
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import {jsx as _jsx, jsxs as _jsxs} from 'react/jsx-runtime';
13
13
  // Copyright LEAV Solutions 2017
14
14
  // This file is released under LGPL V3
15
15
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
16
- import { List as AntdList } from 'antd';
16
+ import {List as AntdList} from 'antd';
17
17
  import Checkbox from 'antd/lib/checkbox/Checkbox';
18
18
  import isEqual from 'lodash/isEqual';
19
19
  import styled from 'styled-components';
20
- import { themeVars } from '../../antdTheme';
21
- const Wrapper = styled.div `
20
+ import {themeVars} from '../../antdTheme';
21
+ const Wrapper = styled.div`
22
22
  background-color: ${themeVars.defaultBg};
23
23
  border-radius: 5px;
24
24
 
@@ -27,38 +27,78 @@ const Wrapper = styled.div `
27
27
  overflow-y: auto;
28
28
  }
29
29
  `;
30
- const ListItem = styled(AntdList.Item) `
30
+ const ListItem = styled(AntdList.Item)`
31
31
  cursor: ${p => (p.onClick ? 'pointer' : 'auto')};
32
32
  && {
33
33
  padding: 0;
34
34
  justify-content: flex-start;
35
35
  }
36
36
  `;
37
- const CheckboxWrapper = styled.div `
37
+ const CheckboxWrapper = styled.div`
38
38
  margin: 0 1em;
39
39
  `;
40
40
  function List(_a) {
41
- var { maxHeight, onItemClick, renderItemContent, selectable, selectedItems, onSelectionChange } = _a, listProps = __rest(_a, ["maxHeight", "onItemClick", "renderItemContent", "selectable", "selectedItems", "onSelectionChange"]);
42
- const props = Object.assign({ renderItem: item => {
43
- const _handleClick = onItemClick
44
- ? () => {
45
- onItemClick(item);
46
- }
47
- : null;
48
- const _handleCheck = (e) => {
49
- const newSelection = [...selectedItems];
50
- if (e.target.checked) {
51
- newSelection.push(item);
52
- }
53
- else {
54
- newSelection.splice(newSelection.indexOf(item), 1);
55
- }
56
- onSelectionChange(newSelection);
57
- };
58
- return (_jsxs(ListItem, Object.assign({ onClick: _handleClick }, { children: [selectable && (_jsx(CheckboxWrapper, Object.assign({ onClick: e => e.stopPropagation() }, { children: _jsx(Checkbox, { checked: selectedItems.some(selectedItem => isEqual(item, selectedItem)), onChange: _handleCheck }) }))), renderItemContent ? renderItemContent(item) : item] })));
59
- } }, listProps);
41
+ var {maxHeight, onItemClick, renderItemContent, selectable, selectedItems, onSelectionChange} = _a,
42
+ listProps = __rest(_a, [
43
+ 'maxHeight',
44
+ 'onItemClick',
45
+ 'renderItemContent',
46
+ 'selectable',
47
+ 'selectedItems',
48
+ 'onSelectionChange'
49
+ ]);
50
+ const props = Object.assign(
51
+ {
52
+ renderItem: item => {
53
+ const _handleClick = onItemClick
54
+ ? () => {
55
+ onItemClick(item);
56
+ }
57
+ : null;
58
+ const _handleCheck = e => {
59
+ const newSelection = [...selectedItems];
60
+ if (e.target.checked) {
61
+ newSelection.push(item);
62
+ } else {
63
+ newSelection.splice(newSelection.indexOf(item), 1);
64
+ }
65
+ onSelectionChange(newSelection);
66
+ };
67
+ return _jsxs(
68
+ ListItem,
69
+ Object.assign(
70
+ {onClick: _handleClick},
71
+ {
72
+ children: [
73
+ selectable &&
74
+ _jsx(
75
+ CheckboxWrapper,
76
+ Object.assign(
77
+ {onClick: e => e.stopPropagation()},
78
+ {
79
+ children: _jsx(Checkbox, {
80
+ checked: selectedItems.some(selectedItem =>
81
+ isEqual(item, selectedItem)
82
+ ),
83
+ onChange: _handleCheck
84
+ })
85
+ }
86
+ )
87
+ ),
88
+ renderItemContent ? renderItemContent(item) : item
89
+ ]
90
+ }
91
+ )
92
+ );
93
+ }
94
+ },
95
+ listProps
96
+ );
60
97
  const wrapperMaxHeight = typeof maxHeight === 'number' ? `${maxHeight}px` : String(maxHeight);
61
- return (_jsx(Wrapper, Object.assign({ "$maxHeight": wrapperMaxHeight }, { children: _jsx(AntdList, Object.assign({}, props)) })));
98
+ return _jsx(
99
+ Wrapper,
100
+ Object.assign({$maxHeight: wrapperMaxHeight}, {children: _jsx(AntdList, Object.assign({}, props))})
101
+ );
62
102
  }
63
103
  export default List;
64
- //# sourceMappingURL=List.js.map
104
+ //# sourceMappingURL=List.js.map
@@ -3,4 +3,4 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import List from './List';
5
5
  export default List;
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -1,10 +1,10 @@
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 { Spin } from 'antd';
5
+ import {Spin} from 'antd';
6
6
  import styled from 'styled-components';
7
- const LoadingElem = styled(Spin) `
7
+ const LoadingElem = styled(Spin)`
8
8
  && {
9
9
  display: block;
10
10
  margin: ${props => (props.compact ? '1em' : '3em')};
@@ -15,4 +15,4 @@ function Loading(props) {
15
15
  return _jsx(LoadingElem, Object.assign({}, props));
16
16
  }
17
17
  export default Loading;
18
- //# sourceMappingURL=Loading.js.map
18
+ //# sourceMappingURL=Loading.js.map
@@ -1 +1 @@
1
- export { default as Loading } from './Loading';
1
+ export {default as Loading} from './Loading';
@@ -1,5 +1,5 @@
1
1
  // Copyright LEAV Solutions 2017
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- export { default as Loading } from './Loading';
5
- //# sourceMappingURL=index.js.map
4
+ export {default as Loading} from './Loading';
5
+ //# sourceMappingURL=index.js.map
@@ -1,4 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { IRecordCardProps } from './_types';
3
- declare const RecordCard: ({ record, size, style, previewStyle, lang, withPreview, withLibrary, withColor, tile, simplistic }: IRecordCardProps) => JSX.Element;
2
+ import {IRecordCardProps} from './_types';
3
+ declare const RecordCard: ({
4
+ record,
5
+ size,
6
+ style,
7
+ previewStyle,
8
+ lang,
9
+ withPreview,
10
+ withLibrary,
11
+ withColor,
12
+ tile,
13
+ simplistic
14
+ }: IRecordCardProps) => JSX.Element;
4
15
  export default RecordCard;
@@ -1,11 +1,11 @@
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 { localizedTranslation } from '@leav/utils';
5
+ import {localizedTranslation} from '@leav/utils';
6
6
  import useLang from '../../hooks/useLang';
7
- import { PreviewSize } from '../../constants';
8
- import { EntityCard } from '../EntityCard';
7
+ import {PreviewSize} from '../../constants';
8
+ import {EntityCard} from '../EntityCard';
9
9
  const _getPreviewBySize = (preview, size) => {
10
10
  var _a;
11
11
  const fileSizeByPreviewSize = {
@@ -14,23 +14,53 @@ const _getPreviewBySize = (preview, size) => {
14
14
  [PreviewSize.medium]: 'small',
15
15
  [PreviewSize.big]: 'medium'
16
16
  };
17
- const previewPath = ((_a = preview === null || preview === void 0 ? void 0 : preview[fileSizeByPreviewSize[size]]) !== null && _a !== void 0 ? _a : preview === null || preview === void 0 ? void 0 : preview.small);
17
+ const previewPath =
18
+ (_a = preview === null || preview === void 0 ? void 0 : preview[fileSizeByPreviewSize[size]]) !== null &&
19
+ _a !== void 0
20
+ ? _a
21
+ : preview === null || preview === void 0
22
+ ? void 0
23
+ : preview.small;
18
24
  return previewPath !== null && previewPath !== void 0 ? previewPath : '';
19
25
  };
20
- const RecordCard = ({ record, size, style, previewStyle, lang, withPreview = true, withLibrary = true, withColor = true, tile = false, simplistic = false }) => {
26
+ const RecordCard = ({
27
+ record,
28
+ size,
29
+ style,
30
+ previewStyle,
31
+ lang,
32
+ withPreview = true,
33
+ withLibrary = true,
34
+ withColor = true,
35
+ tile = false,
36
+ simplistic = false
37
+ }) => {
21
38
  var _a, _b;
22
- const { lang: userLang } = useLang();
39
+ const {lang: userLang} = useLang();
23
40
  const label = record.label || record.id;
24
41
  const subLabel = record.subLabel
25
42
  ? record.subLabel
26
- : localizedTranslation((_a = record.library) === null || _a === void 0 ? void 0 : _a.label, lang !== null && lang !== void 0 ? lang : userLang) || ((_b = record.library) === null || _b === void 0 ? void 0 : _b.id);
43
+ : localizedTranslation(
44
+ (_a = record.library) === null || _a === void 0 ? void 0 : _a.label,
45
+ lang !== null && lang !== void 0 ? lang : userLang
46
+ ) || ((_b = record.library) === null || _b === void 0 ? void 0 : _b.id);
27
47
  const recordIdentity = {
28
48
  label,
29
49
  subLabel,
30
50
  preview: _getPreviewBySize(record.preview, size),
31
51
  color: record.color
32
52
  };
33
- return (_jsx(EntityCard, { entity: recordIdentity, style: style, size: size, withPreview: withPreview, withSubLabel: withLibrary, tile: tile, simplistic: simplistic, withColor: withColor, previewStyle: previewStyle }));
53
+ return _jsx(EntityCard, {
54
+ entity: recordIdentity,
55
+ style: style,
56
+ size: size,
57
+ withPreview: withPreview,
58
+ withSubLabel: withLibrary,
59
+ tile: tile,
60
+ simplistic: simplistic,
61
+ withColor: withColor,
62
+ previewStyle: previewStyle
63
+ });
34
64
  };
35
65
  export default RecordCard;
36
- //# sourceMappingURL=RecordCard.js.map
66
+ //# sourceMappingURL=RecordCard.js.map
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { CSSObject } from 'styled-components';
3
- import { PreviewSize } from '../../constants';
4
- import { IRecordIdentityWhoAmI } from '../../types/records';
2
+ import {CSSObject} from 'styled-components';
3
+ import {PreviewSize} from '../../constants';
4
+ import {IRecordIdentityWhoAmI} from '../../types/records';
5
5
  export interface IRecordCardProps {
6
6
  record: IRecordIdentityWhoAmI;
7
7
  size: PreviewSize;
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=_types.js.map
2
+ //# sourceMappingURL=_types.js.map
@@ -1,2 +1,2 @@
1
- export { default as RecordCard } from './RecordCard';
1
+ export {default as RecordCard} from './RecordCard';
2
2
  export * from './_types';
@@ -1,6 +1,6 @@
1
1
  // Copyright LEAV Solutions 2017
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- export { default as RecordCard } from './RecordCard';
4
+ export {default as RecordCard} from './RecordCard';
5
5
  export * from './_types';
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -10,6 +10,7 @@ interface IEditRecordProps {
10
10
  valuesVersion?: IValueVersion;
11
11
  showSidebar?: boolean;
12
12
  containerStyle?: CSSObject;
13
+ withInfoButton: boolean;
13
14
  buttonsRefs: {
14
15
  close?: React.RefObject<HTMLButtonElement>;
15
16
  refresh?: React.RefObject<HTMLButtonElement>;
@@ -42,9 +42,9 @@ const Sidebar = styled.div `
42
42
  border-top-right-radius: 3px;
43
43
  z-index: 1;
44
44
  `;
45
- export const EditRecord = ({ record, library, onClose, afterCreate: afterSave, valuesVersion, showSidebar = false, containerStyle, buttonsRefs }) => {
45
+ export const EditRecord = ({ record, library, onClose, afterCreate: afterSave, valuesVersion, showSidebar = false, containerStyle, withInfoButton, buttonsRefs }) => {
46
46
  const isCreationMode = !record;
47
- const [state, dispatch] = useReducer(editRecordReducer, Object.assign(Object.assign({}, initialState), { record, libraryId: library, valuesVersion, originValuesVersion: valuesVersion, sidebarContent: showSidebar ? 'summary' : 'none', sidebarDefaultHidden: !showSidebar }));
47
+ const [state, dispatch] = useReducer(editRecordReducer, Object.assign(Object.assign({}, initialState), { record, libraryId: library, valuesVersion, originValuesVersion: valuesVersion, sidebarContent: showSidebar ? 'summary' : 'none', sidebarDefaultHidden: !showSidebar, withInfoButton }));
48
48
  const { loading: permissionsLoading, canEdit, isReadOnly } = useCanEditRecord(Object.assign(Object.assign({}, record === null || record === void 0 ? void 0 : record.library), { id: library }), record === null || record === void 0 ? void 0 : record.id);
49
49
  const { saveValues } = useSaveValueBatchMutation();
50
50
  const { deleteValue } = useExecuteDeleteValueMutation(record);
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecord.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecord/EditRecord.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAoB,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACjF,OAAO,MAAmB,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EACH,aAAa,EAEb,uBAAuB,EAM1B,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAChD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AACzE,OAAO,6BAA6B,MAAM,0DAA0D,CAAC;AACrG,OAAO,yBAAyB,MAAM,6DAA6D,CAAC;AACpG,OAAO,EACH,aAAa,EAShB,MAAM,6BAA6B,CAAC;AACrC,OAAO,iBAAiB,EAAE,EAAC,6BAA6B,EAAE,YAAY,EAAC,MAAM,wCAAwC,CAAC;AACtH,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AACvF,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,oB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E,cAAc,iBAC3E,KAAC,OAAO,kBAAC,SAAS,EAAC,SAAS,gBACvB,kBAAkB,CAAC,CAAC,CAAC,CAClB,KAAC,kBAAkB,IAAC,IAAI,EAAE,CAAC,GAAI,CAClC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CACV,KAAC,iBAAiB,IACd,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,kBAAkB,EACjC,aAAa,EAAE,kBAAkB,EACjC,sBAAsB,EAAE,sBAAsB,EAC9C,QAAQ,EAAE,UAAU,GACtB,CACL,CAAC,CAAC,CAAC,CACA,KAAC,YAAY,IAAC,IAAI,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,KAAK,GAAI,CACtF,IACK,EACV,KAAC,OAAO,kBAAC,SAAS,EAAC,SAAS,gBACxB,KAAC,iBAAiB,IAAC,gBAAgB,EAAE,qBAAqB,GAAI,IACxD,KACF,IACgB,IACA,GACxB,CACnB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"EditRecord.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecord/EditRecord.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAoB,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACjF,OAAO,MAAmB,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EACH,aAAa,EAEb,uBAAuB,EAM1B,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EAAC,aAAa,EAAC,M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}
5
- declare function EditRecordSkeleton({ rows }: IEditRecordSkeletonProps): JSX.Element;
5
+ declare function EditRecordSkeleton({rows}: IEditRecordSkeletonProps): JSX.Element;
6
6
  export default EditRecordSkeleton;
@@ -1,13 +1,30 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import {jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment} 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 { Divider, Skeleton } from 'antd';
6
- function EditRecordSkeleton({ rows }) {
5
+ import {Divider, Skeleton} from 'antd';
6
+ function EditRecordSkeleton({rows}) {
7
7
  const rowsArray = Array(rows)
8
8
  .fill('')
9
9
  .map((_, i) => i);
10
- return (_jsx(_Fragment, { children: rowsArray.map(el => (_jsxs("div", Object.assign({ "data-testid": "edit-record-skeleton" }, { children: [_jsx(Skeleton.Input, { active: true, size: "large", style: { width: 100, margin: '0 .5rem' } }), _jsx(Skeleton.Input, { active: true, size: "large", style: { width: 450, margin: '0 .5rem' } }), _jsx(Divider, {})] }), el))) }));
10
+ return _jsx(_Fragment, {
11
+ children: rowsArray.map(el =>
12
+ _jsxs(
13
+ 'div',
14
+ Object.assign(
15
+ {'data-testid': 'edit-record-skeleton'},
16
+ {
17
+ children: [
18
+ _jsx(Skeleton.Input, {active: true, size: 'large', style: {width: 100, margin: '0 .5rem'}}),
19
+ _jsx(Skeleton.Input, {active: true, size: 'large', style: {width: 450, margin: '0 .5rem'}}),
20
+ _jsx(Divider, {})
21
+ ]
22
+ }
23
+ ),
24
+ el
25
+ )
26
+ )
27
+ });
11
28
  }
12
29
  export default EditRecordSkeleton;
13
- //# sourceMappingURL=EditRecordSkeleton.js.map
30
+ //# sourceMappingURL=EditRecordSkeleton.js.map
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { IValueVersion } from '../../../../types/values';
3
+ interface IValuesVersionSummaryProps {
4
+ libraryId: string;
5
+ version: IValueVersion;
6
+ onVersionClick: () => void;
7
+ }
8
+ declare function ValuesVersionSummary({ libraryId, version, onVersionClick }: IValuesVersionSummaryProps): JSX.Element;
9
+ export default ValuesVersionSummary;
@@ -0,0 +1,37 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ // Copyright LEAV Solutions 2017
3
+ // This file is released under LGPL V3
4
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
+ import { localizedTranslation } from '@leav/utils';
6
+ import { Space, Tag, Tooltip } from 'antd';
7
+ import styled from 'styled-components';
8
+ import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
9
+ import { useLang } from '../../../../hooks';
10
+ import useLibraryVersionTrees from '../../../../hooks/useLibraryVersionTrees';
11
+ import { ErrorDisplay } from '../../../ErrorDisplay';
12
+ import { Loading } from '../../../Loading';
13
+ const VersionTag = styled(Tag) `
14
+ cursor: pointer;
15
+ `;
16
+ function ValuesVersionSummary({ libraryId, version, onVersionClick }) {
17
+ const { t } = useSharedTranslation();
18
+ const { lang } = useLang();
19
+ const { loading, error, trees } = useLibraryVersionTrees(libraryId);
20
+ const _handleClick = () => {
21
+ onVersionClick();
22
+ };
23
+ if (loading) {
24
+ return _jsx(Loading, {});
25
+ }
26
+ if (error) {
27
+ return _jsx(ErrorDisplay, { message: "error.message" });
28
+ }
29
+ return (_jsxs(Space, Object.assign({ size: "small" }, { children: [_jsxs("span", { children: [t('values_version.version'), ":"] }), _jsx("div", { children: trees
30
+ .filter(tree => !!(version === null || version === void 0 ? void 0 : version[tree.id]))
31
+ .map(tree => {
32
+ var _a;
33
+ return (_jsx(Tooltip, Object.assign({ title: localizedTranslation(tree.label, lang) }, { children: _jsx(VersionTag, Object.assign({ onClick: _handleClick }, { children: (_a = version === null || version === void 0 ? void 0 : version[tree.id]) === null || _a === void 0 ? void 0 : _a.label })) }), tree.id));
34
+ }) })] })));
35
+ }
36
+ export default ValuesVersionSummary;
37
+ //# sourceMappingURL=ValuesVersionSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ValuesVersionSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,KAAK,EAAE,GAAG,EAAE,OAAO,EAAC,MAAM,MAAM,CAAC;AACzC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAC1C,OAAO,sBAAsB,MAAM,0CAA0C,CAAC;AAE9E,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AAEzC,MAAM,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;;CAE7B,CAAC;AAQF,SAAS,oBAAoB,CAAC,EAAC,SAAS,EAAE,OAAO,EAAE,cAAc,EAA6B;IAC1F,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,EAAE,CAAC;IACzB,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAElE,MAAM,YAAY,GAAG,GAAG,EAAE;QACtB,cAAc,EAAE,CAAC;IACrB,CAAC,CAAC;IAEF,IAAI,OAAO,EAAE;QACT,OAAO,KAAC,OAAO,KAAG,CAAC;KACtB;IAED,IAAI,KAAK,EAAE;QACP,OAAO,KAAC,YAAY,IAAC,OAAO,EAAC,eAAe,GAAG,CAAC;KACnD;IAED,OAAO,CACH,MAAC,KAAK,kBAAC,IAAI,EAAC,OAAO,iBACf,2BAAO,CAAC,CAAC,wBAAwB,CAAC,SAAS,EAC3C,wBACK,KAAK;qBACD,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,IAAI,CAAC,EAAE,CAAC,CAAA,CAAC;qBACpC,GAAG,CAAC,IAAI,CAAC,EAAE;;oBAAC,OAAA,CACT,KAAC,OAAO,kBAAe,KAAK,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,gBAChE,KAAC,UAAU,kBAAC,OAAO,EAAE,YAAY,gBAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,IAAI,CAAC,EAAE,CAAC,0CAAE,KAAK,IAAc,KADjE,IAAI,CAAC,EAAE,CAEX,CACb,CAAA;iBAAA,CAAC,GACJ,KACF,CACX,CAAC;AACN,CAAC;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import ValuesVersionSummary from './ValuesVersionSummary';
2
+ export default ValuesVersionSummary;
@@ -1,5 +1,6 @@
1
1
  // Copyright LEAV Solutions 2017
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- export { useHandleSubmit } from './useHandleSubmit';
4
+ import ValuesVersionSummary from './ValuesVersionSummary';
5
+ export default ValuesVersionSummary;
5
6
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecord/ValuesVersionSummary/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,eAAe,oBAAoB,CAAC"}
@@ -1,14 +1,27 @@
1
- import { AnyPrimitive, FormFieldTypes, FormUIElementTypes, ICommonFieldsSettings, IDateRangeValue, IKeyValue, Override } from '@leav/utils';
2
- import { Checkbox, DatePicker, InputRef } from 'antd';
3
- import { MutableRefObject } from 'react';
4
- import { RecordFormElementsValue } from '../../../hooks/useGetRecordForm';
5
- import { IRecordIdentity, IRecordIdentityWhoAmI } from '../../../types/records';
6
- import { ITreeNodeWithRecord } from '../../../types/trees';
7
- import { IValueVersion } from '../../../types/values';
8
- import { RecordFormAttributeFragment, SaveValueBatchMutation, ValueDetailsFragment, ValueInput } from '../../../_gqlTypes';
9
- import { IRecordPropertyAttribute, RecordProperty } from '../../../_queries/records/getRecordPropertiesQuery';
10
- import { RecordFormElementFragment } from '../../../_gqlTypes';
11
- import { IStandardFieldReducerState, IStandardFieldValue } from './reducers/standardFieldReducer/standardFieldReducer';
1
+ import {
2
+ AnyPrimitive,
3
+ FormFieldTypes,
4
+ FormUIElementTypes,
5
+ ICommonFieldsSettings,
6
+ IDateRangeValue,
7
+ IKeyValue,
8
+ Override
9
+ } from '@leav/utils';
10
+ import {Checkbox, DatePicker, InputRef} from 'antd';
11
+ import {MutableRefObject} from 'react';
12
+ import {RecordFormElementsValue} from '../../../hooks/useGetRecordForm';
13
+ import {IRecordIdentity, IRecordIdentityWhoAmI} from '../../../types/records';
14
+ import {ITreeNodeWithRecord} from '../../../types/trees';
15
+ import {IValueVersion} from '../../../types/values';
16
+ import {
17
+ RecordFormAttributeFragment,
18
+ SaveValueBatchMutation,
19
+ ValueDetailsFragment,
20
+ ValueInput
21
+ } from '../../../_gqlTypes';
22
+ import {IRecordPropertyAttribute, RecordProperty} from '../../../_queries/records/getRecordPropertiesQuery';
23
+ import {RecordFormElementFragment} from '../../../_gqlTypes';
24
+ import {IStandardFieldReducerState, IStandardFieldValue} from './reducers/standardFieldReducer/standardFieldReducer';
12
25
  export interface IValueToSubmit {
13
26
  attribute: string;
14
27
  value: AnyPrimitive | null;
@@ -16,11 +29,16 @@ export interface IValueToSubmit {
16
29
  metadata?: IKeyValue<AnyPrimitive>;
17
30
  }
18
31
  export declare enum APICallStatus {
19
- SUCCESS = "SUCCESS",
20
- ERROR = "ERROR",
21
- PARTIAL = "PARTIAL"
32
+ SUCCESS = 'SUCCESS',
33
+ ERROR = 'ERROR',
34
+ PARTIAL = 'PARTIAL'
22
35
  }
23
- export declare type FieldSubmitMultipleFunc = (record: IRecordIdentityWhoAmI, values: IValueToSubmit[], version?: IValueVersion, deleteEmpty?: boolean) => Promise<ISubmitMultipleResult>;
36
+ export declare type FieldSubmitMultipleFunc = (
37
+ record: IRecordIdentityWhoAmI,
38
+ values: IValueToSubmit[],
39
+ version?: IValueVersion,
40
+ deleteEmpty?: boolean
41
+ ) => Promise<ISubmitMultipleResult>;
24
42
  export interface ISubmitMultipleResult {
25
43
  status: APICallStatus;
26
44
  error?: string;
@@ -49,10 +67,21 @@ export interface ISubmittedValueTree extends ISubmittedValueBase {
49
67
  value: ITreeNodeWithRecord;
50
68
  }
51
69
  export declare type SubmittedValue = ISubmittedValueStandard | ISubmittedValueLink | ISubmittedValueTree;
52
- export declare type SubmitValueFunc = (values: SubmittedValue[], version: IValueVersion) => Promise<ISubmitMultipleResult>;
70
+ export declare type SubmitValueFunc = (
71
+ values: SubmittedValue[],
72
+ version: IValueVersion
73
+ ) => Promise<ISubmitMultipleResult>;
53
74
  export declare type DeleteValueFunc = (value: ValueInput | null, attribute: string) => Promise<IDeleteValueResult>;
54
- export declare type DeleteMultipleValuesFunc = (attribute: string, values: RecordProperty[], version: IValueVersion) => Promise<ISubmitMultipleResult>;
55
- export declare type MetadataSubmitValueFunc = (value: RecordProperty, attribute: RecordFormAttributeFragment, metadata: IKeyValue<AnyPrimitive>) => Promise<ISubmitMultipleResult>;
75
+ export declare type DeleteMultipleValuesFunc = (
76
+ attribute: string,
77
+ values: RecordProperty[],
78
+ version: IValueVersion
79
+ ) => Promise<ISubmitMultipleResult>;
80
+ export declare type MetadataSubmitValueFunc = (
81
+ value: RecordProperty,
82
+ attribute: RecordFormAttributeFragment,
83
+ metadata: IKeyValue<AnyPrimitive>
84
+ ) => Promise<ISubmitMultipleResult>;
56
85
  export interface ISubmittedValueBase {
57
86
  attribute: RecordFormAttributeFragment;
58
87
  idValue: string;
@@ -65,11 +94,14 @@ export interface IFormElementProps<SettingsType> {
65
94
  onDeleteMultipleValues?: DeleteMultipleValuesFunc;
66
95
  metadataEdit?: boolean;
67
96
  }
68
- export declare type FormElement<SettingsType> = Override<RecordFormElementFragment, {
69
- settings: SettingsType;
70
- uiElementType: FormUIElementTypes | FormFieldTypes;
71
- values: RecordFormElementsValue[];
72
- }> & {
97
+ export declare type FormElement<SettingsType> = Override<
98
+ RecordFormElementFragment,
99
+ {
100
+ settings: SettingsType;
101
+ uiElementType: FormUIElementTypes | FormFieldTypes;
102
+ values: RecordFormElementsValue[];
103
+ }
104
+ > & {
73
105
  uiElement: (props: IFormElementProps<unknown>) => JSX.Element;
74
106
  };
75
107
  export interface IDependencyValues {
@@ -91,8 +123,8 @@ export interface IStandardInputProps {
91
123
  export declare type InputRefPossibleTypes = InputRef | typeof DatePicker | typeof Checkbox;
92
124
  export declare type StandardValueTypes = AnyPrimitive | IDateRangeValue;
93
125
  export declare enum FieldScope {
94
- INHERITED = "INHERITED",
95
- CURRENT = "CURRENT"
126
+ INHERITED = 'INHERITED',
127
+ CURRENT = 'CURRENT'
96
128
  }
97
129
  export interface ICommonFieldsReducerState<ValuesType> {
98
130
  record: IRecordIdentityWhoAmI;