@leav/ui 0.3.6-ab9e5bd → 0.3.6-c780e07

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 (1182) hide show
  1. package/dist/__mocks__/common/attribute.js +0 -1
  2. package/dist/__mocks__/common/attribute.js.map +1 -1
  3. package/dist/__mocks__/common/filter.js +1 -1
  4. package/dist/__mocks__/common/filter.js.map +1 -1
  5. package/dist/__mocks__/common/form.js +3 -1
  6. package/dist/__mocks__/common/form.js.map +1 -1
  7. package/dist/__mocks__/common/import.js +1 -1
  8. package/dist/__mocks__/common/import.js.map +1 -1
  9. package/dist/__mocks__/common/label.js +1 -1
  10. package/dist/__mocks__/common/label.js.map +1 -1
  11. package/dist/__mocks__/common/library.js +1 -1
  12. package/dist/__mocks__/common/library.js.map +1 -1
  13. package/dist/__mocks__/common/tree.js +1 -1
  14. package/dist/__mocks__/common/tree.js.map +1 -1
  15. package/dist/__mocks__/common/view.js +1 -1
  16. package/dist/__mocks__/common/view.js.map +1 -1
  17. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +1 -1
  18. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  19. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +1 -1
  20. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
  21. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +1 -1
  22. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  23. package/dist/__mocks__/react-i18next.js +1 -1
  24. package/dist/__mocks__/react-i18next.js.map +1 -1
  25. package/dist/_gqlTypes/index.d.ts +357 -50
  26. package/dist/_gqlTypes/index.js +102 -8
  27. package/dist/_gqlTypes/index.js.map +1 -1
  28. package/dist/_queries/applications/applicationDetailsFragment.js +1 -1
  29. package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
  30. package/dist/_queries/applications/checkApplicationExistence.js +1 -1
  31. package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
  32. package/dist/_queries/applications/getApplicationDetails.js +1 -1
  33. package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
  34. package/dist/_queries/applications/getApplicationsModulesQuery.js +1 -1
  35. package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
  36. package/dist/_queries/applications/saveApplicationMutation.js +1 -1
  37. package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
  38. package/dist/_queries/attributes/attributeDetailsFragment.js +1 -2
  39. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  40. package/dist/_queries/attributes/checkAttributeExistenceQuery.js +1 -1
  41. package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
  42. package/dist/_queries/attributes/deleteAttributeMutation.js +1 -1
  43. package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
  44. package/dist/_queries/attributes/getAttributeByIdQuery.js +1 -1
  45. package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
  46. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js +1 -1
  47. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
  48. package/dist/_queries/attributes/getAttributesByLib.js +1 -1
  49. package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
  50. package/dist/_queries/attributes/getAttributesQuery.js +1 -1
  51. package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
  52. package/dist/_queries/attributes/getVersionProfilesQuery.js +1 -1
  53. package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
  54. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js +1 -1
  55. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
  56. package/dist/_queries/attributes/saveAttributeMutation.js +1 -1
  57. package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
  58. package/dist/_queries/export/exportQuery.js +1 -1
  59. package/dist/_queries/export/exportQuery.js.map +1 -1
  60. package/dist/_queries/files/createDirectory.js +1 -1
  61. package/dist/_queries/files/createDirectory.js.map +1 -1
  62. package/dist/_queries/files/forcePreviewsGenerationMutation.js +1 -1
  63. package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
  64. package/dist/_queries/files/getDirectoryDataQuery.js +1 -1
  65. package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
  66. package/dist/_queries/files/getUploadUpdates.js +1 -1
  67. package/dist/_queries/files/getUploadUpdates.js.map +1 -1
  68. package/dist/_queries/files/uploadMutation.js +1 -1
  69. package/dist/_queries/files/uploadMutation.js.map +1 -1
  70. package/dist/_queries/import/importExcel.js +1 -1
  71. package/dist/_queries/import/importExcel.js.map +1 -1
  72. package/dist/_queries/libraries/checkLibraryExistenceQuery.js +1 -1
  73. package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
  74. package/dist/_queries/libraries/deleteLibraryMutation.js +1 -1
  75. package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
  76. package/dist/_queries/libraries/getLibrariesQuery.js +1 -1
  77. package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
  78. package/dist/_queries/libraries/getLibraryByIdQuery.js +1 -1
  79. package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
  80. package/dist/_queries/libraries/getLibraryPermissionsQuery.js +1 -1
  81. package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
  82. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js +1 -1
  83. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
  84. package/dist/_queries/libraries/libraryDetailsFragment.js +1 -1
  85. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  86. package/dist/_queries/libraries/saveLibraryMutation.js +1 -1
  87. package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
  88. package/dist/_queries/permissions/isAllowedQuery.js +1 -1
  89. package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
  90. package/dist/_queries/records/createRecordMutation.js +1 -1
  91. package/dist/_queries/records/createRecordMutation.js.map +1 -1
  92. package/dist/_queries/records/deactivateRecordsMutation.js +1 -1
  93. package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
  94. package/dist/_queries/records/doesFileExistAsChild.js +1 -1
  95. package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
  96. package/dist/_queries/records/getFileDataQuery.js +1 -1
  97. package/dist/_queries/records/getFileDataQuery.js.map +1 -1
  98. package/dist/_queries/records/getRecordColumnsValues.js +1 -1
  99. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  100. package/dist/_queries/records/getRecordFormQuery.js +1 -1
  101. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  102. package/dist/_queries/records/getRecordPropertiesQuery.d.ts +21 -11
  103. package/dist/_queries/records/getRecordPropertiesQuery.js +9 -1
  104. package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
  105. package/dist/_queries/records/getRecordUpdatesSubscription.js +1 -1
  106. package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
  107. package/dist/_queries/records/getRecordsFromLibraryQuery.js +2 -1
  108. package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
  109. package/dist/_queries/records/indexRecordsMutation.js +1 -1
  110. package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
  111. package/dist/_queries/records/recordFormAttributeFragment.js +1 -1
  112. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  113. package/dist/_queries/tasks/cancelTaskMutation.js +1 -1
  114. package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
  115. package/dist/_queries/trees/checkTreeExistenceQuery.js +1 -1
  116. package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
  117. package/dist/_queries/trees/deleteTreeMutation.js +1 -1
  118. package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
  119. package/dist/_queries/trees/getTreeByIdQuery.js +1 -1
  120. package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
  121. package/dist/_queries/trees/getTreeLibraries.js +1 -1
  122. package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
  123. package/dist/_queries/trees/getTreesQuery.js +1 -1
  124. package/dist/_queries/trees/getTreesQuery.js.map +1 -1
  125. package/dist/_queries/trees/saveTreeMutation.js +1 -1
  126. package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
  127. package/dist/_queries/trees/treeDetailsFragment.js +1 -1
  128. package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
  129. package/dist/_queries/trees/treeNodeChildrenQuery.js +1 -1
  130. package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
  131. package/dist/_queries/userData/getUserData.js +1 -1
  132. package/dist/_queries/userData/getUserData.js.map +1 -1
  133. package/dist/_queries/userData/saveUserData.js +1 -1
  134. package/dist/_queries/userData/saveUserData.js.map +1 -1
  135. package/dist/_queries/values/deleteValueMutation.js +1 -1
  136. package/dist/_queries/values/deleteValueMutation.js.map +1 -1
  137. package/dist/_queries/values/saveValueBatchMutation.js +1 -1
  138. package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
  139. package/dist/_queries/values/valueDetailsFragment.js +2 -1
  140. package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
  141. package/dist/_queries/values/valuesVersionFragment.js +1 -1
  142. package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
  143. package/dist/_queries/views/deleteViewMutation.js +1 -1
  144. package/dist/_queries/views/deleteViewMutation.js.map +1 -1
  145. package/dist/_queries/views/getViewById.js +1 -1
  146. package/dist/_queries/views/getViewById.js.map +1 -1
  147. package/dist/_queries/views/getViewsListQuery.js +1 -1
  148. package/dist/_queries/views/getViewsListQuery.js.map +1 -1
  149. package/dist/_queries/views/saveViewMutation.js +1 -1
  150. package/dist/_queries/views/saveViewMutation.js.map +1 -1
  151. package/dist/_queries/views/viewDetailsFragment.js +1 -1
  152. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  153. package/dist/_utils/__mocks__/isDevEnv.js +1 -1
  154. package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
  155. package/dist/_utils/getFiltersFromRequest.js +2 -2
  156. package/dist/_utils/getFiltersFromRequest.js.map +1 -1
  157. package/dist/_utils/getRequestFromFilter.js +1 -1
  158. package/dist/_utils/getRequestFromFilter.js.map +1 -1
  159. package/dist/_utils/index.d.ts +2 -0
  160. package/dist/_utils/index.js +5 -1
  161. package/dist/_utils/index.js.map +1 -1
  162. package/dist/_utils/isDevEnv.js +1 -1
  163. package/dist/_utils/isDevEnv.js.map +1 -1
  164. package/dist/_utils/typeguards.d.ts +2 -0
  165. package/dist/_utils/typeguards.js +2 -0
  166. package/dist/_utils/typeguards.js.map +1 -0
  167. package/dist/antdTheme/index.js +1 -1
  168. package/dist/antdTheme/index.js.map +1 -1
  169. package/dist/components/AttributePicker/AttributePicker.js +1 -1
  170. package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
  171. package/dist/components/AttributePicker/AttributesList/AttributesList.js +1 -1
  172. package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
  173. package/dist/components/AttributePicker/AttributesList/index.js +1 -1
  174. package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
  175. package/dist/components/AttributePicker/index.js +1 -1
  176. package/dist/components/AttributePicker/index.js.map +1 -1
  177. package/dist/components/AttributesSelectionList/Attribute/Attribute.js +1 -1
  178. package/dist/components/AttributesSelectionList/Attribute/Attribute.js.map +1 -1
  179. package/dist/components/AttributesSelectionList/Attribute/index.js +1 -1
  180. package/dist/components/AttributesSelectionList/Attribute/index.js.map +1 -1
  181. package/dist/components/AttributesSelectionList/AttributesSelectionList.js +1 -1
  182. package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
  183. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
  184. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js.map +1 -1
  185. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js +1 -1
  186. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js.map +1 -1
  187. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
  188. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js.map +1 -1
  189. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js +1 -1
  190. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js.map +1 -1
  191. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
  192. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js.map +1 -1
  193. package/dist/components/AttributesSelectionList/index.js +1 -1
  194. package/dist/components/AttributesSelectionList/index.js.map +1 -1
  195. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
  196. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js.map +1 -1
  197. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +1 -1
  198. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js.map +1 -1
  199. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
  200. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
  201. package/dist/components/AttributesSelectionList/sharedComponents.js +1 -1
  202. package/dist/components/AttributesSelectionList/sharedComponents.js.map +1 -1
  203. package/dist/components/BasicButton/BasicButton.js +1 -1
  204. package/dist/components/BasicButton/BasicButton.js.map +1 -1
  205. package/dist/components/BasicButton/index.js +1 -1
  206. package/dist/components/BasicButton/index.js.map +1 -1
  207. package/dist/components/CreateDirectory/CreateDirectory.js +1 -1
  208. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  209. package/dist/components/CreateDirectory/index.js +1 -1
  210. package/dist/components/CreateDirectory/index.js.map +1 -1
  211. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +1 -1
  212. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
  213. package/dist/components/DeactivateRecordsModal/index.js +1 -1
  214. package/dist/components/DeactivateRecordsModal/index.js.map +1 -1
  215. package/dist/components/Dimmer/index.js +1 -1
  216. package/dist/components/Dimmer/index.js.map +1 -1
  217. package/dist/components/EditApplication/EditApplication.js +1 -1
  218. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  219. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +1 -1
  220. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
  221. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +1 -1
  222. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
  223. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
  224. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
  225. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js +1 -1
  226. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
  227. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js +1 -1
  228. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
  229. package/dist/components/EditApplication/EditApplicationInfo/index.js +1 -1
  230. package/dist/components/EditApplication/EditApplicationInfo/index.js.map +1 -1
  231. package/dist/components/EditApplication/index.js +1 -1
  232. package/dist/components/EditApplication/index.js.map +1 -1
  233. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +1 -1
  234. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
  235. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +1 -1
  236. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
  237. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +1 -1
  238. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
  239. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +1 -1
  240. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
  241. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js +1 -1
  242. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
  243. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +1 -1
  244. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
  245. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js +1 -1
  246. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
  247. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +1 -1
  248. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
  249. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js +1 -1
  250. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
  251. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js +1 -1
  252. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
  253. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js +1 -1
  254. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
  255. package/dist/components/EditAttributeModal/EditAttribute/index.js +1 -1
  256. package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
  257. package/dist/components/EditAttributeModal/EditAttributeModal.js +1 -1
  258. package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
  259. package/dist/components/EditAttributeModal/index.js +1 -1
  260. package/dist/components/EditAttributeModal/index.js.map +1 -1
  261. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +1 -1
  262. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
  263. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +1 -1
  264. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
  265. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js +1 -1
  266. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
  267. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +1 -1
  268. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
  269. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +1 -1
  270. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
  271. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js +1 -1
  272. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
  273. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js +1 -1
  274. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
  275. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +1 -1
  276. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
  277. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js +1 -1
  278. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
  279. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +1 -1
  280. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
  281. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js +1 -1
  282. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
  283. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +1 -1
  284. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
  285. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js +1 -1
  286. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
  287. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js +1 -1
  288. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
  289. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +1 -1
  290. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
  291. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +1 -1
  292. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
  293. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +1 -1
  294. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
  295. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js +1 -1
  296. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
  297. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js +1 -1
  298. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
  299. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +1 -1
  300. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
  301. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js +1 -1
  302. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
  303. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js +1 -1
  304. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
  305. package/dist/components/EditLibraryModal/EditLibrary/index.js +1 -1
  306. package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
  307. package/dist/components/EditLibraryModal/EditLibraryModal.js +1 -1
  308. package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
  309. package/dist/components/EditLibraryModal/index.js +1 -1
  310. package/dist/components/EditLibraryModal/index.js.map +1 -1
  311. package/dist/components/EditTreeModal/EditTree/EditTree.js +1 -1
  312. package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
  313. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +1 -1
  314. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
  315. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +1 -1
  316. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
  317. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +1 -1
  318. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
  319. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js +1 -1
  320. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
  321. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js +1 -1
  322. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
  323. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js +1 -1
  324. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
  325. package/dist/components/EditTreeModal/EditTree/index.js +1 -1
  326. package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
  327. package/dist/components/EditTreeModal/EditTreeModal.js +1 -1
  328. package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
  329. package/dist/components/EditTreeModal/index.js +1 -1
  330. package/dist/components/EditTreeModal/index.js.map +1 -1
  331. package/dist/components/EntityCard/EntityCard.js +1 -1
  332. package/dist/components/EntityCard/EntityCard.js.map +1 -1
  333. package/dist/components/EntityCard/index.js +1 -1
  334. package/dist/components/EntityCard/index.js.map +1 -1
  335. package/dist/components/EntityPreview/EntityPreview.js +1 -1
  336. package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
  337. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +1 -1
  338. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
  339. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js +1 -1
  340. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
  341. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js +1 -1
  342. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
  343. package/dist/components/EntityPreview/EntityPreviewList/index.js +1 -1
  344. package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
  345. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
  346. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
  347. package/dist/components/EntityPreview/EntityPreviewTile/index.js +1 -1
  348. package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
  349. package/dist/components/EntityPreview/index.js +1 -1
  350. package/dist/components/EntityPreview/index.js.map +1 -1
  351. package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
  352. package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  353. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +1 -1
  354. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
  355. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js +1 -1
  356. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
  357. package/dist/components/ErrorBoundary/index.js +1 -1
  358. package/dist/components/ErrorBoundary/index.js.map +1 -1
  359. package/dist/components/ErrorDisplay/ErrorDisplay.js +1 -1
  360. package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
  361. package/dist/components/ErrorDisplay/index.js +1 -1
  362. package/dist/components/ErrorDisplay/index.js.map +1 -1
  363. package/dist/components/ErrorMessage/ErrorMessage.js +1 -1
  364. package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
  365. package/dist/components/ErrorMessage/index.js +1 -1
  366. package/dist/components/ErrorMessage/index.js.map +1 -1
  367. package/dist/components/Explorer/DataView.d.ts +9 -0
  368. package/dist/components/Explorer/DataView.js +74 -0
  369. package/dist/components/Explorer/DataView.js.map +1 -0
  370. package/dist/components/Explorer/Explorer.d.ts +10 -0
  371. package/dist/components/Explorer/Explorer.js +32 -0
  372. package/dist/components/Explorer/Explorer.js.map +1 -0
  373. package/dist/components/Explorer/index.d.ts +1 -0
  374. package/dist/components/Explorer/index.js +5 -0
  375. package/dist/components/Explorer/index.js.map +1 -0
  376. package/dist/components/Explorer/tsconfig.json +6 -0
  377. package/dist/components/Explorer/types.d.ts +21 -0
  378. package/dist/components/Explorer/types.js +2 -0
  379. package/dist/components/Explorer/types.js.map +1 -0
  380. package/dist/components/Explorer/useCreateMainAction.d.ts +19 -0
  381. package/dist/components/Explorer/useCreateMainAction.js +36 -0
  382. package/dist/components/Explorer/useCreateMainAction.js.map +1 -0
  383. package/dist/components/Explorer/useDeactivateAction.d.ts +12 -0
  384. package/dist/components/Explorer/useDeactivateAction.js +51 -0
  385. package/dist/components/Explorer/useDeactivateAction.js.map +1 -0
  386. package/dist/components/Explorer/useEditAction.d.ts +15 -0
  387. package/dist/components/Explorer/useEditAction.js +52 -0
  388. package/dist/components/Explorer/useEditAction.js.map +1 -0
  389. package/dist/components/Explorer/useExplorerData.d.ts +11 -0
  390. package/dist/components/Explorer/useExplorerData.js +23 -0
  391. package/dist/components/Explorer/useExplorerData.js.map +1 -0
  392. package/dist/components/ExportModal/ExportModal.js +1 -1
  393. package/dist/components/ExportModal/ExportModal.js.map +1 -1
  394. package/dist/components/ExportModal/index.js +1 -1
  395. package/dist/components/ExportModal/index.js.map +1 -1
  396. package/dist/components/FieldsGroup/FieldsGroup.js +1 -1
  397. package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
  398. package/dist/components/FieldsGroup/index.js +1 -1
  399. package/dist/components/FieldsGroup/index.js.map +1 -1
  400. package/dist/components/FloatingMenu/FloatingMenu.js +1 -1
  401. package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
  402. package/dist/components/FloatingMenu/index.js +1 -1
  403. package/dist/components/FloatingMenu/index.js.map +1 -1
  404. package/dist/components/ImageLoading/ImageLoading.js +1 -1
  405. package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
  406. package/dist/components/ImageLoading/index.js +1 -1
  407. package/dist/components/ImageLoading/index.js.map +1 -1
  408. package/dist/components/ImageMissing/ImageMissing.js +1 -1
  409. package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
  410. package/dist/components/ImageMissing/index.js +1 -1
  411. package/dist/components/ImageMissing/index.js.map +1 -1
  412. package/dist/components/ImportModal/ImportModal.js +1 -1
  413. package/dist/components/ImportModal/ImportModal.js.map +1 -1
  414. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +1 -1
  415. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
  416. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js +1 -1
  417. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
  418. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js +1 -1
  419. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
  420. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js +1 -1
  421. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
  422. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +1 -1
  423. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  424. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
  425. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  426. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js +1 -1
  427. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
  428. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +1 -1
  429. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  430. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js +1 -1
  431. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
  432. package/dist/components/ImportModal/ImportModalConfigStep/index.js +1 -1
  433. package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
  434. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js +1 -1
  435. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
  436. package/dist/components/ImportModal/ImportModalDoneStep/index.js +1 -1
  437. package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
  438. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +1 -1
  439. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
  440. package/dist/components/ImportModal/ImportModalProcessingStep/index.js +1 -1
  441. package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
  442. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +1 -1
  443. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  444. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js +1 -1
  445. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
  446. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
  447. package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
  448. package/dist/components/ImportModal/importReducer/importReducer.js +1 -1
  449. package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
  450. package/dist/components/ImportModal/importReducer/index.js +1 -1
  451. package/dist/components/ImportModal/importReducer/index.js.map +1 -1
  452. package/dist/components/ImportModal/index.js +1 -1
  453. package/dist/components/ImportModal/index.js.map +1 -1
  454. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
  455. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  456. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js +1 -1
  457. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
  458. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +1 -1
  459. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
  460. package/dist/components/LibraryItemsList/DisplayOptions/index.js +1 -1
  461. package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
  462. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js +1 -1
  463. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
  464. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js +1 -1
  465. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
  466. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -1
  467. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  468. package/dist/components/LibraryItemsList/FiltersDropdown/index.js +1 -1
  469. package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
  470. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +1 -1
  471. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  472. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +1 -1
  473. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
  474. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +1 -1
  475. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
  476. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js +1 -1
  477. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
  478. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js +1 -1
  479. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
  480. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js +1 -1
  481. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
  482. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js +1 -1
  483. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
  484. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js +1 -1
  485. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
  486. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js +1 -1
  487. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
  488. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js +1 -1
  489. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
  490. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js +1 -1
  491. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
  492. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js +1 -1
  493. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
  494. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js +1 -1
  495. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
  496. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js +1 -1
  497. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
  498. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js +1 -1
  499. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
  500. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js +1 -1
  501. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
  502. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +1 -1
  503. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
  504. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js +1 -1
  505. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
  506. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +1 -1
  507. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
  508. package/dist/components/LibraryItemsList/FiltersPanel/index.js +1 -1
  509. package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
  510. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
  511. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
  512. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js +1 -1
  513. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
  514. package/dist/components/LibraryItemsList/IconViewType/index.js +1 -1
  515. package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
  516. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +1 -1
  517. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  518. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js +1 -1
  519. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
  520. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +1 -1
  521. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
  522. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js +1 -1
  523. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
  524. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js +1 -1
  525. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
  526. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js +1 -1
  527. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
  528. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js +1 -1
  529. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
  530. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +1 -1
  531. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
  532. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js +1 -1
  533. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
  534. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
  535. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
  536. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js +1 -1
  537. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
  538. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +1 -1
  539. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
  540. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +1 -1
  541. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
  542. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js +1 -1
  543. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
  544. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js +1 -1
  545. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
  546. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js +1 -1
  547. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
  548. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js +1 -1
  549. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
  550. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +1 -1
  551. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
  552. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js +1 -1
  553. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
  554. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js +1 -1
  555. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
  556. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js +1 -1
  557. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
  558. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +1 -1
  559. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
  560. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js +1 -1
  561. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
  562. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +1 -1
  563. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  564. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js +1 -1
  565. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
  566. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +2 -2
  567. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
  568. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js +1 -1
  569. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
  570. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js +1 -1
  571. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
  572. package/dist/components/LibraryItemsList/MenuItemList/index.js +1 -1
  573. package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
  574. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +1 -1
  575. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
  576. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js +1 -1
  577. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
  578. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +1 -1
  579. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
  580. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js +1 -1
  581. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
  582. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +1 -1
  583. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
  584. package/dist/components/LibraryItemsList/MenuSelection/index.js +1 -1
  585. package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
  586. package/dist/components/LibraryItemsList/MenuView/MenuView.js +1 -1
  587. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  588. package/dist/components/LibraryItemsList/MenuView/index.js +1 -1
  589. package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
  590. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js +1 -1
  591. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
  592. package/dist/components/LibraryItemsList/SearchItems/index.js +1 -1
  593. package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
  594. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +1 -1
  595. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
  596. package/dist/components/LibraryItemsList/Sidebar/index.js +1 -1
  597. package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
  598. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +1 -1
  599. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
  600. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js +1 -1
  601. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
  602. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
  603. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
  604. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
  605. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
  606. package/dist/components/LibraryItemsList/TileDisplay/index.js +1 -1
  607. package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
  608. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +1 -1
  609. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
  610. package/dist/components/LibraryItemsList/VersionsPanel/index.js +1 -1
  611. package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
  612. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +1 -1
  613. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  614. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js +1 -1
  615. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
  616. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +1 -1
  617. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  618. package/dist/components/LibraryItemsList/ViewPanel/View/index.js +1 -1
  619. package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
  620. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +1 -1
  621. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
  622. package/dist/components/LibraryItemsList/ViewPanel/index.js +1 -1
  623. package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
  624. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js +1 -1
  625. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
  626. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +1 -1
  627. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
  628. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +1 -1
  629. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
  630. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +1 -1
  631. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
  632. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js +1 -1
  633. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
  634. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +1 -1
  635. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  636. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js +1 -1
  637. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
  638. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js +1 -1
  639. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
  640. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js +1 -1
  641. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
  642. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +1 -1
  643. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
  644. package/dist/components/LibraryItemsList/index.js +1 -1
  645. package/dist/components/LibraryItemsList/index.js.map +1 -1
  646. package/dist/components/LibraryItemsList/manageItems.js +1 -1
  647. package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
  648. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +1 -1
  649. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
  650. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js +1 -1
  651. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
  652. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +1 -1
  653. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
  654. package/dist/components/LibraryItemsList/shared/shared.utils.js +1 -1
  655. package/dist/components/LibraryItemsList/shared/shared.utils.js.map +1 -1
  656. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +1 -1
  657. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  658. package/dist/components/LibraryPicker/LibrariesList/index.js +1 -1
  659. package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
  660. package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
  661. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  662. package/dist/components/LibraryPicker/index.js +1 -1
  663. package/dist/components/LibraryPicker/index.js.map +1 -1
  664. package/dist/components/List/List.js +1 -1
  665. package/dist/components/List/List.js.map +1 -1
  666. package/dist/components/List/index.js +1 -1
  667. package/dist/components/List/index.js.map +1 -1
  668. package/dist/components/Loading/Loading.js +1 -1
  669. package/dist/components/Loading/Loading.js.map +1 -1
  670. package/dist/components/Loading/index.js +1 -1
  671. package/dist/components/Loading/index.js.map +1 -1
  672. package/dist/components/RecordCard/RecordCard.js +1 -1
  673. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  674. package/dist/components/RecordCard/index.js +1 -1
  675. package/dist/components/RecordCard/index.js.map +1 -1
  676. package/dist/components/RecordEdition/EditRecord/EditRecord.js +22 -4
  677. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  678. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js +1 -1
  679. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
  680. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js +1 -1
  681. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
  682. package/dist/components/RecordEdition/EditRecord/creationErrorContext.js +1 -1
  683. package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +1 -1
  684. package/dist/components/RecordEdition/EditRecord/index.js +1 -1
  685. package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
  686. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js +1 -1
  687. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
  688. package/dist/components/RecordEdition/EditRecordBtn/index.js +1 -1
  689. package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
  690. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +1 -1
  691. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  692. package/dist/components/RecordEdition/EditRecordContent/EditRecordSkeleton.js +1 -1
  693. package/dist/components/RecordEdition/EditRecordContent/EditRecordSkeleton.js.map +1 -1
  694. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +6 -6
  695. package/dist/components/RecordEdition/EditRecordContent/_types.js +5 -5
  696. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  697. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +15 -11
  698. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  699. package/dist/components/RecordEdition/EditRecordContent/formConstants.js +1 -1
  700. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  701. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js +1 -1
  702. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
  703. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js +1 -1
  704. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
  705. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js +1 -1
  706. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
  707. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  708. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
  709. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
  710. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
  711. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js +1 -1
  712. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
  713. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +1 -1
  714. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
  715. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +1 -1
  716. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
  717. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.d.ts +121 -0
  718. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +28 -0
  719. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +1 -0
  720. package/dist/components/RecordEdition/EditRecordContent/index.js +1 -1
  721. package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
  722. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js +1 -1
  723. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
  724. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.d.ts +2 -2
  725. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +9 -9
  726. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
  727. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js +1 -1
  728. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/index.js.map +1 -1
  729. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.d.ts +24 -5
  730. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js +65 -18
  731. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducer.js.map +1 -1
  732. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.d.ts +7 -0
  733. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js +9 -0
  734. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/standardFieldReducerContext.js.map +1 -0
  735. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.d.ts +1 -0
  736. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js +7 -0
  737. package/dist/components/RecordEdition/EditRecordContent/reducers/standardFieldReducer/useStandardFieldReducer.js.map +1 -0
  738. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.d.ts +2 -2
  739. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +3 -3
  740. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js +1 -1
  742. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
  743. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js +1 -1
  744. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
  745. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js +1 -1
  746. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js +1 -1
  748. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
  749. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js +1 -1
  750. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
  751. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js +1 -1
  752. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
  753. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js +1 -1
  754. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
  755. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js +1 -1
  756. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  757. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js +1 -1
  758. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
  759. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js +1 -1
  760. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
  761. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js +1 -1
  762. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
  763. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js +1 -1
  764. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
  765. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js +1 -1
  766. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
  767. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
  768. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
  769. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js +1 -1
  770. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
  771. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js +1 -1
  772. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton.js.map +1 -1
  773. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +4 -4
  774. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +9 -9
  775. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  776. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js +1 -1
  777. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
  778. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +2 -2
  779. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js +3 -3
  780. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
  781. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js +1 -1
  782. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
  783. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
  784. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  785. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js +1 -1
  786. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
  787. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js +1 -1
  788. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
  789. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js +1 -1
  790. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
  791. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js +1 -1
  792. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
  793. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +1 -1
  794. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  795. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js +1 -1
  796. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
  797. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js +1 -1
  798. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js.map +1 -1
  799. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +1 -1
  800. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  801. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +1 -1
  802. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +1 -1
  803. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js +1 -1
  804. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +1 -1
  805. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +1 -1
  806. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +1 -1
  807. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js +1 -1
  808. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +1 -1
  809. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +1 -1
  810. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +1 -1
  811. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js +1 -1
  812. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js.map +1 -1
  813. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +1 -1
  814. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +1 -1
  815. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +1 -1
  816. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +1 -1
  817. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +1 -1
  818. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +1 -1
  819. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js +1 -1
  820. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js.map +1 -1
  821. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js +1 -1
  822. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
  823. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +10 -7
  824. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  825. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +25 -8
  826. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  827. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +15 -0
  828. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +79 -0
  829. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -0
  830. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +1 -0
  831. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +44 -10
  832. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  833. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +15 -0
  834. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +94 -0
  835. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -0
  836. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +1 -0
  837. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +37 -13
  838. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  839. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +1 -0
  840. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +45 -15
  841. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  842. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +1 -0
  843. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +56 -10
  844. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  845. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/{DSInputPasswordWrapper.d.ts → DSRichTextWrapper.d.ts} +3 -2
  846. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +85 -0
  847. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -0
  848. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js +1 -1
  849. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/CheckboxInput.js.map +1 -1
  850. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js +1 -1
  851. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/ColorInput.js.map +1 -1
  852. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js +1 -1
  853. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/EncryptedInput.js.map +1 -1
  854. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js +1 -1
  855. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/NumberInput.js.map +1 -1
  856. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js +1 -1
  857. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/RichTextEditorInput.js.map +1 -1
  858. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js +1 -1
  859. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/Inputs/TextInput.js.map +1 -1
  860. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +3 -3
  861. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +13 -21
  862. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  863. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.d.ts +13 -0
  864. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js +89 -0
  865. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueDisplayHandler.js.map +1 -0
  866. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.d.ts +7 -0
  867. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js +45 -0
  868. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/ColorPickerBlock.js.map +1 -0
  869. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.d.ts +9 -0
  870. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js +141 -0
  871. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/StandardFieldValueRead/StandardFieldValueRead.js.map +1 -0
  872. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.d.ts +1 -0
  873. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js +5 -0
  874. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValueDisplayHandler/index.js.map +1 -0
  875. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.d.ts +3 -0
  876. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js +105 -0
  877. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/MonoValueSelect.js.map +1 -0
  878. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +1 -1
  879. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +1 -1
  880. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.d.ts +14 -0
  881. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js +2 -0
  882. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -0
  883. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js +1 -1
  884. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +1 -1
  885. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js +1 -1
  886. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
  887. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js +1 -1
  888. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
  889. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js +1 -1
  890. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
  891. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +5 -5
  892. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  893. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +1 -1
  894. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +1 -1
  895. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js +1 -1
  896. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js.map +1 -1
  897. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +1 -1
  898. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +1 -1
  899. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js +1 -1
  900. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js.map +1 -1
  901. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js +1 -1
  902. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
  903. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
  904. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
  905. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
  906. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  907. package/dist/components/RecordEdition/EditRecordModal/index.js +1 -1
  908. package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
  909. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +1 -1
  910. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  911. package/dist/components/RecordEdition/EditRecordPage/index.js +1 -1
  912. package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
  913. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +1 -1
  914. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  915. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +1 -1
  916. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
  917. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +1 -1
  918. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  919. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +1 -1
  920. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
  921. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js +1 -1
  922. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/AttributeDetails.js.map +1 -1
  923. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js +1 -1
  924. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/AttributeDetails/index.js.map +1 -1
  925. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js +1 -1
  926. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/TreeValuePath.js.map +1 -1
  927. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js +1 -1
  928. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/TreeValuePath/index.js.map +1 -1
  929. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js +1 -1
  930. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueDetails.js.map +1 -1
  931. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.js +1 -1
  932. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/ValueInfo.js.map +1 -1
  933. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js +1 -1
  934. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueInfo/index.js.map +1 -1
  935. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.d.ts +2 -1
  936. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.js +3 -8
  937. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/ValueMetadata.js.map +1 -1
  938. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js +1 -1
  939. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/ValueMetadata/index.js.map +1 -1
  940. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js +1 -1
  941. package/dist/components/RecordEdition/EditRecordSidebar/ValueDetails/index.js.map +1 -1
  942. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +1 -1
  943. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  944. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +1 -1
  945. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
  946. package/dist/components/RecordEdition/EditRecordSidebar/index.js +1 -1
  947. package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
  948. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
  949. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
  950. package/dist/components/RecordEdition/editRecordReducer/index.js +1 -1
  951. package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
  952. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js +1 -1
  953. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
  954. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js +1 -1
  955. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
  956. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
  957. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  958. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +1 -1
  959. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  960. package/dist/components/RecordEdition/index.js +1 -1
  961. package/dist/components/RecordEdition/index.js.map +1 -1
  962. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
  963. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
  964. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +1 -1
  965. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
  966. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +1 -1
  967. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
  968. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +1 -1
  969. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
  970. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +1 -1
  971. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
  972. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
  973. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
  974. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +1 -1
  975. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
  976. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +1 -1
  977. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
  978. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +1 -1
  979. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
  980. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +1 -1
  981. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
  982. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +1 -1
  983. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
  984. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +1 -1
  985. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
  986. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +1 -1
  987. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
  988. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +1 -1
  989. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
  990. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js +1 -1
  991. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
  992. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +1 -1
  993. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
  994. package/dist/components/RecordPreviewWithModal/FileModal/index.js +1 -1
  995. package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
  996. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
  997. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
  998. package/dist/components/RecordPreviewWithModal/index.js +1 -1
  999. package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
  1000. package/dist/components/SearchModal/SearchModal.js +1 -1
  1001. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  1002. package/dist/components/SearchModal/index.js +1 -1
  1003. package/dist/components/SearchModal/index.js.map +1 -1
  1004. package/dist/components/SelectTreeNode/SelectTreeNode.js +1 -1
  1005. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  1006. package/dist/components/SelectTreeNode/index.js +1 -1
  1007. package/dist/components/SelectTreeNode/index.js.map +1 -1
  1008. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js +1 -1
  1009. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +1 -1
  1010. package/dist/components/SelectTreeNodeModal/index.js +1 -1
  1011. package/dist/components/SelectTreeNodeModal/index.js.map +1 -1
  1012. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +6 -6
  1013. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +3 -3
  1014. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  1015. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +1 -1
  1016. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  1017. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +1 -1
  1018. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
  1019. package/dist/components/SimpleErrorBoundary/index.js +1 -1
  1020. package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
  1021. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +1 -1
  1022. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
  1023. package/dist/components/SubmitStateNotifier/index.js +1 -1
  1024. package/dist/components/SubmitStateNotifier/index.js.map +1 -1
  1025. package/dist/components/TreePicker/TreePicker.js +1 -1
  1026. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  1027. package/dist/components/TreePicker/TreesList/TreesList.js +1 -1
  1028. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  1029. package/dist/components/TreePicker/TreesList/index.js +1 -1
  1030. package/dist/components/TreePicker/TreesList/index.js.map +1 -1
  1031. package/dist/components/TreePicker/index.js +1 -1
  1032. package/dist/components/TreePicker/index.js.map +1 -1
  1033. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +1 -1
  1034. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  1035. package/dist/components/TriggerPreviewsGenerationModal/index.js +1 -1
  1036. package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
  1037. package/dist/components/UploadFiles/UploadFiles.js +1 -1
  1038. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  1039. package/dist/components/UploadFiles/index.js +1 -1
  1040. package/dist/components/UploadFiles/index.js.map +1 -1
  1041. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +1 -1
  1042. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  1043. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +1 -1
  1044. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  1045. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +1 -1
  1046. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
  1047. package/dist/components/ValuesVersionConfigurator/index.js +1 -1
  1048. package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
  1049. package/dist/components/index.d.ts +1 -0
  1050. package/dist/components/index.js +2 -1
  1051. package/dist/components/index.js.map +1 -1
  1052. package/dist/constants.js +1 -1
  1053. package/dist/constants.js.map +1 -1
  1054. package/dist/{components/LibraryItemsList/LibraryItemsListTable → contexts/EditRecordModalContext}/EditRecordModalContext.d.ts +1 -1
  1055. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +7 -0
  1056. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -0
  1057. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.d.ts +2 -0
  1058. package/dist/{components/LibraryItemsList/LibraryItemsListTable → contexts/EditRecordModalContext}/EditRecordModalProvider.js +5 -5
  1059. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -0
  1060. package/dist/contexts/EditRecordModalContext/index.d.ts +2 -0
  1061. package/dist/contexts/EditRecordModalContext/index.js +6 -0
  1062. package/dist/contexts/EditRecordModalContext/index.js.map +1 -0
  1063. package/dist/contexts/EditRecordModalContext/tsconfig.json +6 -0
  1064. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.d.ts +1 -0
  1065. package/dist/{components/LibraryItemsList/LibraryItemsListTable → contexts/EditRecordModalContext}/useEditRecordModalContext.js +2 -2
  1066. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -0
  1067. package/dist/contexts/LangContext/LangContext.js +1 -1
  1068. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  1069. package/dist/contexts/LangContext/index.js +1 -1
  1070. package/dist/contexts/LangContext/index.js.map +1 -1
  1071. package/dist/contexts/UserContext/UserContext.js +1 -1
  1072. package/dist/contexts/UserContext/UserContext.js.map +1 -1
  1073. package/dist/contexts/UserContext/index.js +1 -1
  1074. package/dist/contexts/UserContext/index.js.map +1 -1
  1075. package/dist/contexts/index.js +1 -1
  1076. package/dist/contexts/index.js.map +1 -1
  1077. package/dist/gqlFragments/index.js +1 -1
  1078. package/dist/gqlFragments/index.js.map +1 -1
  1079. package/dist/gqlFragments/recordIdentityFragment.js +1 -1
  1080. package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
  1081. package/dist/hooks/index.js +1 -1
  1082. package/dist/hooks/index.js.map +1 -1
  1083. package/dist/hooks/useAntdLocale/index.js +1 -1
  1084. package/dist/hooks/useAntdLocale/index.js.map +1 -1
  1085. package/dist/hooks/useAppLang/index.js +1 -1
  1086. package/dist/hooks/useAppLang/index.js.map +1 -1
  1087. package/dist/hooks/useAppLang/useAppLang.js +1 -1
  1088. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  1089. package/dist/hooks/useAuth/index.js +1 -1
  1090. package/dist/hooks/useAuth/index.js.map +1 -1
  1091. package/dist/hooks/useAuth/useAuth.js +2 -2
  1092. package/dist/hooks/useAuth/useAuth.js.map +1 -1
  1093. package/dist/hooks/useCanEditRecord/index.js +1 -1
  1094. package/dist/hooks/useCanEditRecord/index.js.map +1 -1
  1095. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +1 -1
  1096. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  1097. package/dist/hooks/useDebouncedValue/useDebouncedValue.js +1 -1
  1098. package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
  1099. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +1 -1
  1100. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  1101. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +1 -1
  1102. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
  1103. package/dist/hooks/useGetRecordForm/index.js +1 -1
  1104. package/dist/hooks/useGetRecordForm/index.js.map +1 -1
  1105. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +3 -0
  1106. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  1107. package/dist/hooks/useGetRecordUpdatesSubscription/index.js +1 -1
  1108. package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
  1109. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
  1110. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
  1111. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +1 -1
  1112. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  1113. package/dist/hooks/useLang/__mocks__/index.js +1 -1
  1114. package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
  1115. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  1116. package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
  1117. package/dist/hooks/useLang/index.js +1 -1
  1118. package/dist/hooks/useLang/index.js.map +1 -1
  1119. package/dist/hooks/useLang/useLang.d.ts +1 -1
  1120. package/dist/hooks/useLang/useLang.js +3 -3
  1121. package/dist/hooks/useLang/useLang.js.map +1 -1
  1122. package/dist/hooks/useLibraryVersionTrees/index.js +1 -1
  1123. package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
  1124. package/dist/hooks/useLocalStorage/index.js +1 -1
  1125. package/dist/hooks/useLocalStorage/index.js.map +1 -1
  1126. package/dist/hooks/useLocalStorage/useLocalStorage.js +1 -1
  1127. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
  1128. package/dist/hooks/useLoginChecker/index.js +1 -1
  1129. package/dist/hooks/useLoginChecker/index.js.map +1 -1
  1130. package/dist/hooks/useLoginChecker/useLoginChecker.js +1 -1
  1131. package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
  1132. package/dist/hooks/useRecordsConsultationHistory/index.js +1 -1
  1133. package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
  1134. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +1 -1
  1135. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
  1136. package/dist/hooks/useRedirectToLogin/index.js +1 -1
  1137. package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
  1138. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  1139. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  1140. package/dist/hooks/useRefreshFieldValues/index.js +1 -1
  1141. package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
  1142. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -3
  1143. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  1144. package/dist/hooks/useSharedTranslation/__mocks__/index.js +1 -1
  1145. package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
  1146. package/dist/hooks/useSharedTranslation/index.js +1 -1
  1147. package/dist/hooks/useSharedTranslation/index.js.map +1 -1
  1148. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +1 -1
  1149. package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
  1150. package/dist/hooks/useUser/index.js +1 -1
  1151. package/dist/hooks/useUser/index.js.map +1 -1
  1152. package/dist/hooks/useUser/useUser.js +1 -1
  1153. package/dist/hooks/useUser/useUser.js.map +1 -1
  1154. package/dist/hooks/useValuesCacheUpdate/index.js +1 -1
  1155. package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
  1156. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +1 -1
  1157. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
  1158. package/dist/index.js +1 -1
  1159. package/dist/index.js.map +1 -1
  1160. package/dist/locales/en/shared.json +12 -1
  1161. package/dist/locales/fr/shared.json +12 -1
  1162. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
  1163. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
  1164. package/dist/testing/MockedLangContextProvider/index.js +1 -1
  1165. package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
  1166. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +1 -1
  1167. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
  1168. package/dist/testing/MockedUserContextProvider/index.js +1 -1
  1169. package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
  1170. package/dist/testing/index.js +1 -1
  1171. package/dist/testing/index.js.map +1 -1
  1172. package/dist/types/index.js +1 -1
  1173. package/dist/types/index.js.map +1 -1
  1174. package/package.json +3 -2
  1175. package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.js +0 -8
  1176. package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalContext.js.map +0 -1
  1177. package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalProvider.d.ts +0 -6
  1178. package/dist/components/LibraryItemsList/LibraryItemsListTable/EditRecordModalProvider.js.map +0 -1
  1179. package/dist/components/LibraryItemsList/LibraryItemsListTable/useEditRecordModalContext.d.ts +0 -1
  1180. package/dist/components/LibraryItemsList/LibraryItemsListTable/useEditRecordModalContext.js.map +0 -1
  1181. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputPasswordWrapper.js +0 -63
  1182. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputPasswordWrapper.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,eAAe,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
5
  import { ErrorTypes } from '@leav/utils';
@@ -18,8 +18,9 @@ import AddValueBtn from '../../shared/AddValueBtn';
18
18
  import DeleteAllValuesBtn from '../../shared/DeleteAllValuesBtn';
19
19
  import FieldFooter from '../../shared/FieldFooter';
20
20
  import ValuesVersionBtn from '../../shared/ValuesVersionBtn';
21
- import { APICallStatus, FieldScope } from '../../_types';
21
+ import { APICallStatus, VersionFieldScope } from '../../_types';
22
22
  import StandardFieldValue from './StandardFieldValue';
23
+ import { StandardFieldReducerContext } from '../../reducers/standardFieldReducer/standardFieldReducerContext';
23
24
  const Wrapper = styled.div `
24
25
  margin-bottom: ${props => (props.$metadataEdit ? 0 : '1.5em')};
25
26
  `;
@@ -213,12 +214,14 @@ const StandardField = ({ element, antdForm, onValueSubmit, onValueDelete, onDele
213
214
  const canDeleteAllValues = !state.isReadOnly && hasValue && valuesToDisplay.length > 1;
214
215
  const isAttributeVersionable = attribute?.versions_conf?.versionable;
215
216
  const versions = {
216
- [FieldScope.CURRENT]: state.values[FieldScope.CURRENT]?.version ?? null,
217
- [FieldScope.INHERITED]: state.values[FieldScope.INHERITED]?.version ?? null
217
+ [VersionFieldScope.CURRENT]: state.values[VersionFieldScope.CURRENT]?.version ?? null,
218
+ [VersionFieldScope.INHERITED]: state.values[VersionFieldScope.INHERITED]?.version ?? null
218
219
  };
219
- return (_jsxs(Wrapper, { "$metadataEdit": metadataEdit, children: [valuesToDisplay.map(value => (_jsx(StandardFieldValue, { value: value, state: state, dispatch: dispatch, onSubmit: _handleSubmit, onDelete: _handleDelete, onScopeChange: _handleScopeChange }, value.idValue))), (canDeleteAllValues || canAddAnotherValue || attribute?.versions_conf?.versionable) && (_jsxs(FieldFooter, { bordered: true, style: {
220
- flexDirection: canAddAnotherValue && !canDeleteAllValues && !isAttributeVersionable ? 'row' : 'row-reverse'
221
- }, children: [_jsxs("div", { children: [isAttributeVersionable && (_jsx(ValuesVersionBtn, { basic: true, versions: versions, activeScope: state.activeScope, onScopeChange: _handleScopeChange })), canDeleteAllValues && _jsx(DeleteAllValuesBtn, { onDelete: _handleDeleteAllValues })] }), canAddAnotherValue && _jsx(AddValueBtn, { activeScope: state.activeScope, onClick: _handleAddValue })] }))] }));
220
+ return (_jsx(StandardFieldReducerContext.Provider, { value: { state, dispatch }, children: _jsxs(Wrapper, { "$metadataEdit": metadataEdit, children: [valuesToDisplay.map(value => (_jsx(StandardFieldValue, { value: value, state: state, dispatch: dispatch, onSubmit: _handleSubmit, onDelete: _handleDelete, onScopeChange: _handleScopeChange }, value.idValue))), (canDeleteAllValues || canAddAnotherValue || attribute?.versions_conf?.versionable) && (_jsxs(FieldFooter, { bordered: true, style: {
221
+ flexDirection: canAddAnotherValue && !canDeleteAllValues && !isAttributeVersionable
222
+ ? 'row'
223
+ : 'row-reverse'
224
+ }, children: [_jsxs("div", { children: [isAttributeVersionable && (_jsx(ValuesVersionBtn, { basic: true, versions: versions, activeScope: state.activeScope, onScopeChange: _handleScopeChange })), canDeleteAllValues && _jsx(DeleteAllValuesBtn, { onDelete: _handleDeleteAllValues })] }), canAddAnotherValue && (_jsx(AddValueBtn, { activeScope: state.activeScope, onClick: _handleAddValue }))] }))] }) }));
222
225
  };
223
226
  export default StandardField;
224
227
  //# sourceMappingURL=StandardField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardField.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAe,UAAU,EAAwB,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAoB,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AACpF,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,oBAAoB,MAAM,8DAA8D,CAAC;AAChG,OAAO,EAAC,6BAA6B,EAAC,MAAM,kEAAkE,CAAC;AAC/G,OAAO,EAAC,oBAAoB,EAAC,MAAM,qEAAqE,CAAC;AAEzG,OAAO,EAAC,qBAAqB,EAAC,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAC,eAAe,EAA4B,MAAM,eAAe,CAAC;AACzE,OAAO,EAAC,uBAAuB,EAAC,MA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AC,kBAAkB,IAAI,kBAAkB,IAAI,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC,IAAI,CACpF,MAAC,WAAW,IACR,QAAQ,QACR,KAAK,EAAE;oBACH,aAAa,EACT,kBAAkB,IAAI,CAAC,kBAAkB,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa;iBACnG,aAED,0BACK,sBAAsB,IAAI,CACvB,KAAC,gBAAgB,IACb,KAAK,QACL,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,aAAa,EAAE,kBAAkB,GACnC,CACL,EACA,kBAAkB,IAAI,KAAC,kBAAkB,IAAC,QAAQ,EAAE,sBAAsB,GAAI,IAC7E,EACL,kBAAkB,IAAI,KAAC,WAAW,IAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,eAAe,GAAI,IACtF,CACjB,IACK,CACb,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"StandardField.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAe,UAAU,EAAwB,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAoB,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AACpF,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,oBAAoB,MAAM,8DAA8D,CAAC;AAChG,OAAO,EAAC,6BAA6B,EAAC,MAAM,kEAAkE,CAAC;AAC/G,OAAO,EAAC,oBAAoB,EAAC,MAAM,qEAAqE,CAAC;AAEzG,OAAO,E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eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAC1B,KAAC,kBAAkB,IAEf,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,aAAa,EACvB,QAAQ,EAAE,aAAa,EACvB,aAAa,EAAE,kBAAkB,IAN5B,KAAK,CAAC,OAAO,CAOpB,CACL,CAAC,EACD,CAAC,kBAAkB,IAAI,kBAAkB,IAAI,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC,IAAI,CACpF,MAAC,WAAW,IACR,QAAQ,QACR,KAAK,EAAE;wBACH,aAAa,EACT,kBAAkB,IAAI,CAAC,kBAAkB,IAAI,CAAC,sBAAsB;4BAChE,CAAC,CAAC,KAAK;4BACP,CAAC,CAAC,aAAa;qBAC1B,aAED,0BACK,sBAAsB,IAAI,CACvB,KAAC,gBAAgB,IACb,KAAK,QACL,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,aAAa,EAAE,kBAAkB,GACnC,CACL,EACA,kBAAkB,IAAI,KAAC,kBAAkB,IAAC,QAAQ,EAAE,sBAAsB,GAAI,IAC7E,EACL,kBAAkB,IAAI,CACnB,KAAC,WAAW,IAAC,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,EAAE,eAAe,GAAI,CAC5E,IACS,CACjB,IACK,GACyB,CAC1C,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
5
  import { KitInputWrapper, KitSwitch, KitTypography } from 'aristid-ds';
@@ -23,22 +23,39 @@ const FontAwesomeIconStyled = styled(FontAwesomeIcon) `
23
23
  `;
24
24
  const _getBooleanValueAsStringForTranslation = (value) => (value ? 'global.yes' : 'global.no');
25
25
  export const DSBooleanWrapper = ({ value, onChange, state, handleSubmit }) => {
26
+ if (!onChange) {
27
+ throw Error('DSBooleanWrapper should be used inside a antd Form.Item');
28
+ }
26
29
  const { t } = useSharedTranslation();
27
30
  const { errors } = Form.Item.useStatus();
28
31
  const { lang: availableLang } = useLang();
29
- const _resetOverrideValue = () => {
30
- onChange(state.inheritedValue.raw_value, undefined);
32
+ const _resetToInheritedOrCalculatedValue = () => {
33
+ if (state.isInheritedValue) {
34
+ onChange(state.inheritedValue.raw_value, undefined);
35
+ }
36
+ else if (state.isCalculatedValue) {
37
+ onChange(state.calculatedValue.raw_value, undefined);
38
+ }
31
39
  handleSubmit('', state.attribute.id);
32
40
  };
33
41
  const _handleOnChange = (checked, event) => {
34
42
  handleSubmit(String(checked), state.attribute.id);
35
43
  onChange(checked, event);
36
44
  };
37
- const label = localizedTranslation(state.formElement.settings.label, availableLang);
38
- return (_jsxs(KitInputWrapper, { label: label, helper: state.isInheritedOverrideValue
39
- ? t('record_edition.inherited_input_helper', {
45
+ const _getHelper = () => {
46
+ if (state.isInheritedOverrideValue) {
47
+ return t('record_edition.inherited_input_helper', {
40
48
  inheritedValue: t(_getBooleanValueAsStringForTranslation(state.inheritedValue.raw_value))
41
- })
42
- : undefined, status: errors.length > 0 ? 'error' : undefined, disabled: state.isReadOnly, children: [_jsxs("label", { children: [_jsx(KitSwitch, { checked: value, disabled: state.isReadOnly, onChange: _handleOnChange }), _jsx(KitTypographyTextStyled, { size: "fontSize5", weight: "medium", "$shouldHighlightColor": state.isInheritedNotOverrideValue, children: t(_getBooleanValueAsStringForTranslation(value)) })] }), state.isInheritedOverrideValue && (_jsx("span", { role: "button", onClick: _resetOverrideValue, children: _jsx(FontAwesomeIconStyled, { "aria-label": "clear", icon: faCircleXmark }) }))] }));
49
+ });
50
+ }
51
+ else if (state.isCalculatedOverrideValue) {
52
+ return t('record_edition.calculated_input_helper', {
53
+ calculatedValue: t(_getBooleanValueAsStringForTranslation(state.calculatedValue.raw_value))
54
+ });
55
+ }
56
+ return undefined;
57
+ };
58
+ const label = localizedTranslation(state.formElement.settings.label, availableLang);
59
+ return (_jsxs(KitInputWrapper, { label: label, helper: _getHelper(), status: errors.length > 0 ? 'error' : undefined, disabled: state.isReadOnly, children: [_jsxs("label", { children: [_jsx(KitSwitch, { checked: value, disabled: state.isReadOnly, onChange: _handleOnChange }), _jsx(KitTypographyTextStyled, { size: "fontSize5", weight: "medium", "$shouldHighlightColor": state.isInheritedNotOverrideValue || state.isCalculatedNotOverrideValue, children: t(_getBooleanValueAsStringForTranslation(value)) })] }), (state.isInheritedOverrideValue || state.isCalculatedOverrideValue) && (_jsx("span", { role: "button", onClick: _resetToInheritedOrCalculatedValue, children: _jsx(FontAwesomeIconStyled, { "aria-label": "clear", icon: faCircleXmark }) }))] }));
43
60
  };
44
61
  //# sourceMappingURL=DSBooleanWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSBooleanWrapper.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.tsx"],"names":[],"mappings":";AAAA,gCAAgC;AAChC,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAE,SAAS,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAGrE,OAAO,EAAC,IAAI,EAAC,MAAM,MAAM,CAAC;AAE1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAEjD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,aAAa,EAAC,MAAM,mCA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AAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAEpF,OAAO,CACH,MAAC,eAAe,IACZ,KAAK,EAAE,KAAK,EACZ,MAAM,EACF,KAAK,CAAC,wBAAwB;YAC1B,CAAC,CAAC,CAAC,CAAC,uCAAuC,EAAE;gBACvC,cAAc,EAAE,CAAC,CAAC,sCAAsC,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;aAC5F,CAAC;YACJ,CAAC,CAAC,SAAS,EAEnB,MAAM,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EAC/C,QAAQ,EAAE,KAAK,CAAC,UAAU,aAE1B,4BACI,KAAC,SAAS,IAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,eAAe,GAAI,EACpF,KAAC,uBAAuB,IACpB,IAAI,EAAC,WAAW,EAChB,MAAM,EAAC,QAAQ,2BACQ,KAAK,CAAC,2BAA2B,YAEvD,CAAC,CAAC,sCAAsC,CAAC,KAAK,CAAC,CAAC,GAC3B,IACtB,EACP,KAAK,CAAC,wBAAwB,IAAI,CAC/B,eAAM,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,mBAAmB,YAC5C,KAAC,qBAAqB,kBAAY,OAAO,EAAC,IAAI,EAAE,aAAa,GAAI,GAC9D,CACV,IACa,CACrB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"DSBooleanWrapper.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAE,SAAS,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAGrE,OAAO,EAAC,IAAI,EAAC,MAAM,MAAM,CAAC;AAE1B,OAAO,MA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CAAC,SAAS,EAC/C,QAAQ,EAAE,KAAK,CAAC,UAAU,aAE1B,4BACI,KAAC,SAAS,IAAC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,eAAe,GAAI,EACpF,KAAC,uBAAuB,IACpB,IAAI,EAAC,WAAW,EAChB,MAAM,EAAC,QAAQ,2BACQ,KAAK,CAAC,2BAA2B,IAAI,KAAK,CAAC,4BAA4B,YAE7F,CAAC,CAAC,sCAAsC,CAAC,KAAK,CAAC,CAAC,GAC3B,IACtB,EACP,CAAC,KAAK,CAAC,wBAAwB,IAAI,KAAK,CAAC,yBAAyB,CAAC,IAAI,CACpE,eAAM,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,kCAAkC,YAC3D,KAAC,qBAAqB,kBAAY,OAAO,EAAC,IAAI,EAAE,aAAa,GAAI,GAC9D,CACV,IACa,CACrB,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IStandardFieldReducerState, IStandardFieldValue } from '../../../reducers/standardFieldReducer/standardFieldReducer';
3
+ import { IProvidedByAntFormItem } from '../../../../../../components/RecordEdition/EditRecordContent/_types';
4
+ import { RecordFormAttributeFragment } from '../../../../../../_gqlTypes';
5
+ import { KitColorPickerProps } from 'aristid-ds/dist/Kit/DataEntry/ColorPicker/types';
6
+ interface IDSColorPickerWrapperProps extends IProvidedByAntFormItem<KitColorPickerProps> {
7
+ state: IStandardFieldReducerState;
8
+ attribute: RecordFormAttributeFragment;
9
+ fieldValue: IStandardFieldValue;
10
+ handleSubmit: (value: string, id?: string) => void;
11
+ handleBlur: () => void;
12
+ shouldShowValueDetailsButton?: boolean;
13
+ }
14
+ export declare const DSColorPickerWrapper: FunctionComponent<IDSColorPickerWrapperProps>;
15
+ export {};
@@ -0,0 +1,79 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
+ // This file is released under LGPL V3
4
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
+ import { KitColorPicker } from 'aristid-ds';
6
+ import { useEffect, useRef, useState } from 'react';
7
+ import styled from 'styled-components';
8
+ import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
9
+ import { useLang } from '../../../../../../hooks';
10
+ import { localizedTranslation } from '@leav/utils';
11
+ import { useValueDetailsButton } from '../../../shared/ValueDetailsBtn/useValueDetailsButton';
12
+ const KitColorPickerStyled = styled(KitColorPicker) `
13
+ .ant-color-picker-trigger-text {
14
+ color: ${({ $shouldHighlightColor }) => $shouldHighlightColor ? 'var(--general-colors-primary-400)' : 'var(--general-utilities-text-primary)'};
15
+
16
+ svg {
17
+ color: var(--general-utilities-text-primary);
18
+ }
19
+ }
20
+ `;
21
+ export const DSColorPickerWrapper = ({ value, state, attribute, fieldValue, onChange, handleSubmit, handleBlur, shouldShowValueDetailsButton = false }) => {
22
+ if (!onChange) {
23
+ throw Error('DSColorPickerWrapper should be used inside a antd Form.Item');
24
+ }
25
+ const { t } = useSharedTranslation();
26
+ const { lang: availableLang } = useLang();
27
+ const [hasChanged, setHasChanged] = useState(false);
28
+ const [currentColor, setCurrentColor] = useState();
29
+ const [currentHex, setCurrentHex] = useState(value ?? '');
30
+ const colorPickerRef = useRef(null);
31
+ const { onValueDetailsButtonClick } = useValueDetailsButton({
32
+ value: fieldValue?.value,
33
+ attribute
34
+ });
35
+ useEffect(() => {
36
+ if (fieldValue.isEditing) {
37
+ colorPickerRef.current.focus();
38
+ }
39
+ }, [fieldValue.isEditing]);
40
+ const _handleOnOpenChange = (open) => {
41
+ if (!open) {
42
+ if (!hasChanged) {
43
+ handleBlur();
44
+ return;
45
+ }
46
+ handleSubmit(currentColor.toHex(), state.attribute.id);
47
+ onChange(currentColor, currentHex);
48
+ }
49
+ };
50
+ const _handleOnChange = (color, hex) => {
51
+ setHasChanged(true);
52
+ setCurrentHex(hex);
53
+ setCurrentColor(color);
54
+ onChange(color, hex);
55
+ };
56
+ const _handleOnClear = () => {
57
+ setHasChanged(false);
58
+ if (state.isInheritedValue) {
59
+ onChange(undefined, state.inheritedValue.raw_value);
60
+ }
61
+ else if (state.isCalculatedValue) {
62
+ onChange(undefined, state.calculatedValue.raw_value);
63
+ }
64
+ onChange(null, '');
65
+ handleSubmit('', state.attribute.id);
66
+ };
67
+ const _getHelper = () => {
68
+ if (state.isInheritedOverrideValue) {
69
+ return t('record_edition.inherited_input_helper', { inheritedValue: state.inheritedValue.raw_value });
70
+ }
71
+ else if (state.isCalculatedOverrideValue) {
72
+ return t('record_edition.calculated_input_helper', { calculatedValue: state.calculatedValue.raw_value });
73
+ }
74
+ return;
75
+ };
76
+ const label = localizedTranslation(state.formElement.settings.label, availableLang);
77
+ return (_jsx(KitColorPickerStyled, { ref: colorPickerRef, value: currentHex, "aria-label": label, label: label, helper: _getHelper(), required: state.formElement.settings.required, onInfoClick: shouldShowValueDetailsButton ? onValueDetailsButtonClick : null, disabled: state.isReadOnly, disabledAlpha: true, showText: true, allowClear: !state.isInheritedNotOverrideValue && !state.isCalculatedNotOverrideValue, onOpenChange: _handleOnOpenChange, onChange: _handleOnChange, onClear: _handleOnClear, "$shouldHighlightColor": !hasChanged && (state.isInheritedNotOverrideValue || state.isCalculatedNotOverrideValue) }));
78
+ };
79
+ //# sourceMappingURL=DSColorPickerWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSColorPickerWrapper.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAMrE,OAAO,MAAM,MAAM,m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Submit: (value: StandardValueTypes, id?: string) => void;
11
+ handleBlur: () => void;
11
12
  shouldShowValueDetailsButton?: boolean;
12
13
  }
13
14
  export declare const DSDatePickerWrapper: FunctionComponent<IDSDatePickerWrapperProps>;
@@ -1,5 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
+ // This file is released under LGPL V3
4
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
2
5
  import { KitDatePicker } from 'aristid-ds';
6
+ import { useEffect, useRef } from 'react';
3
7
  import { Form } from 'antd';
4
8
  import dayjs from 'dayjs';
5
9
  import styled from 'styled-components';
@@ -7,10 +11,14 @@ import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslati
7
11
  import { useValueDetailsButton } from '../../../../../../components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton';
8
12
  import { useLang } from '../../../../../../hooks';
9
13
  import { localizedTranslation } from '@leav/utils';
14
+ import { setDateToUTCNoon } from '../../../../../../_utils';
10
15
  const KitDatePickerStyled = styled(KitDatePicker) `
11
16
  color: ${({ $shouldHighlightColor }) => ($shouldHighlightColor ? 'var(--general-colors-primary-400)' : 'initial')};
12
17
  `;
13
- export const DSDatePickerWrapper = ({ value, onChange, state, attribute, fieldValue, handleSubmit, shouldShowValueDetailsButton = false }) => {
18
+ export const DSDatePickerWrapper = ({ value, onChange, handleBlur, state, attribute, fieldValue, handleSubmit, shouldShowValueDetailsButton = false }) => {
19
+ if (!onChange) {
20
+ throw Error('DSDatePickerWrapper should be used inside a antd Form.Item');
21
+ }
14
22
  const { t } = useSharedTranslation();
15
23
  const { lang: availableLangs } = useLang();
16
24
  const { errors } = Form.Item.useStatus();
@@ -18,28 +26,54 @@ export const DSDatePickerWrapper = ({ value, onChange, state, attribute, fieldVa
18
26
  value: fieldValue?.value,
19
27
  attribute
20
28
  });
21
- const _handleDateChange = (datePickerDate, ...antOnChangeParams) => {
22
- if (state.isInheritedValue && datePickerDate === null) {
29
+ const inputRef = useRef(null);
30
+ useEffect(() => {
31
+ if (fieldValue.isEditing && inputRef.current) {
32
+ inputRef.current.nativeElement.click(); // To automatically open the date picker
33
+ }
34
+ }, [fieldValue.isEditing]);
35
+ const _resetToInheritedOrCalculatedValue = () => {
36
+ if (state.isInheritedValue) {
23
37
  onChange(dayjs.unix(Number(state.inheritedValue.raw_value)), state.inheritedValue.raw_value);
24
- handleSubmit('', state.attribute.id);
38
+ }
39
+ else if (state.isCalculatedValue) {
40
+ onChange(dayjs.unix(Number(state.calculatedValue.raw_value)), state.calculatedValue.raw_value);
41
+ }
42
+ handleSubmit('', state.attribute.id);
43
+ };
44
+ const _handleDateChange = (datePickerDate, ...antOnChangeParams) => {
45
+ if ((state.isInheritedValue || state.isCalculatedValue) && datePickerDate === null) {
46
+ _resetToInheritedOrCalculatedValue();
25
47
  return;
26
48
  }
49
+ if (!!datePickerDate) {
50
+ datePickerDate = setDateToUTCNoon(datePickerDate);
51
+ }
27
52
  onChange(datePickerDate, ...antOnChangeParams);
28
53
  // TODO : validate form with await form.validateFields(state.attribute.id)
29
54
  if (state.formElement.settings.required && datePickerDate === null) {
30
55
  return;
31
56
  }
32
57
  let dateToSave = null;
33
- if (datePickerDate !== null) {
58
+ if (!!datePickerDate) {
34
59
  dateToSave = String(datePickerDate.unix());
35
60
  }
36
61
  handleSubmit(dateToSave, state.attribute.id);
37
62
  };
38
- const label = localizedTranslation(state.formElement.settings.label, availableLangs);
39
- return (_jsx(KitDatePickerStyled, { value: value, onChange: _handleDateChange, label: label, required: state.formElement.settings.required, disabled: state.isReadOnly, allowClear: !state.isInheritedNotOverrideValue, status: errors.length > 0 ? 'error' : undefined, onInfoClick: shouldShowValueDetailsButton ? onValueDetailsButtonClick : null, helper: state.isInheritedOverrideValue
40
- ? t('record_edition.inherited_input_helper', {
63
+ const _getHelper = () => {
64
+ if (state.isInheritedOverrideValue) {
65
+ return t('record_edition.inherited_input_helper', {
41
66
  inheritedValue: state.inheritedValue.value
42
- })
43
- : undefined, "$shouldHighlightColor": state.isInheritedNotOverrideValue }));
67
+ });
68
+ }
69
+ else if (state.isCalculatedOverrideValue) {
70
+ return t('record_edition.calculated_input_helper', {
71
+ calculatedValue: state.calculatedValue.value
72
+ });
73
+ }
74
+ return;
75
+ };
76
+ const label = localizedTranslation(state.formElement.settings.label, availableLangs);
77
+ return (_jsx(KitDatePickerStyled, { ref: inputRef, value: value, onChange: _handleDateChange, label: label, required: state.formElement.settings.required, disabled: state.isReadOnly, allowClear: !state.isInheritedNotOverrideValue && !state.isCalculatedNotOverrideValue, status: errors.length > 0 ? 'error' : undefined, onInfoClick: shouldShowValueDetailsButton ? onValueDetailsButtonClick : null, helper: _getHelper(), onBlur: handleBlur, "$shouldHighlightColor": state.isInheritedNotOverrideValue || state.isCalculatedNotOverrideValue }));
44
78
  };
45
79
  //# sourceMappingURL=DSDatePickerWrapper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSDatePickerWrapper.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AAMzC,OAAO,EAAC,IAAI,EAAC,MAAM,MAAM,CAAC;AAC1B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,qBAAqB,EAAC,MAAM,6FAA6F,CAAC;AAClI,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAUjD,MAAM,mBAAmB,GAAG,MAAM,CAAC,aAAa,CAAC,CAAkC;aACtE,CAAC,EAAC,qBAAqB,EAAC,EAAE,EAAE,CA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AAM,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC;QAC/C,CAAC;QAED,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC,CAAC;IAEF,MAAM,KAAK,GAAG,oBAAoB,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC;IAErF,OAAO,CACH,KAAC,mBAAmB,IAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,QAAQ,EAC7C,QAAQ,EAAE,KAAK,CAAC,UAAU,EAC1B,UAAU,EAAE,CAAC,KAAK,CAAC,2BAA2B,EAC9C,MAAM,EAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,EAC/C,WAAW,EAAE,4BAA4B,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,IAAI,EAC5E,MAAM,EACF,KAAK,CAAC,wBAAwB;YAC1B,CAAC,CAAC,CAAC,CAAC,uCAAuC,EAAE;gBACvC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK;aAC7C,CAAC;YACJ,CAAC,CAAC,SAAS,2BAEI,KAAK,CAAC,2BAA2B,GAC1D,CACL,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"DSDatePickerWrapper.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AACzC,OAAO,EAAoB,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAAC,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B,CAAC,CAAC,CAAC,IAAI,EAC5E,MAAM,EAAE,UAAU,EAAE,EACpB,MAAM,EAAE,UAAU,2BACK,KAAK,CAAC,2BAA2B,IAAI,KAAK,CAAC,4BAA4B,GAChG,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IStandardFieldReducerState, IStandardFieldValue } from '../../../reducers/standardFieldReducer/standardFieldReducer';
3
+ import { InputProps } from 'antd';
4
+ import { IProvidedByAntFormItem } from '../../../../../../components/RecordEdition/EditRecordContent/_types';
5
+ import { RecordFormAttributeFragment } from '../../../../../../_gqlTypes';
6
+ interface IDSInputEncryptedWrapper extends IProvidedByAntFormItem<InputProps> {
7
+ state: IStandardFieldReducerState;
8
+ attribute: RecordFormAttributeFragment;
9
+ fieldValue: IStandardFieldValue;
10
+ handleSubmit: (value: string, id?: string) => void;
11
+ handleBlur: () => void;
12
+ shouldShowValueDetailsButton?: boolean;
13
+ }
14
+ export declare const DSInputEncryptedWrapper: FunctionComponent<IDSInputEncryptedWrapper>;
15
+ export {};
@@ -0,0 +1,94 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
+ // This file is released under LGPL V3
4
+ // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
+ import { KitInput } from 'aristid-ds';
6
+ import { useEffect, useRef, useState } from 'react';
7
+ import { Form } from 'antd';
8
+ import styled from 'styled-components';
9
+ import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
10
+ import { useValueDetailsButton } from '../../../../../../components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/useValueDetailsButton';
11
+ import { useLang } from '../../../../../../hooks';
12
+ import { localizedTranslation } from '@leav/utils';
13
+ const KitInputPasswordStyled = styled(KitInput.Password) `
14
+ color: ${({ $shouldHighlightColor }) => ($shouldHighlightColor ? 'var(--general-colors-primary-400)' : 'initial')};
15
+
16
+ .kit-input-wrapper-helper {
17
+ white-space: nowrap;
18
+ text-overflow: ellipsis;
19
+ overflow: hidden;
20
+ }
21
+ `;
22
+ export const DSInputEncryptedWrapper = ({ value, onChange, state, attribute, fieldValue, handleSubmit, handleBlur, shouldShowValueDetailsButton = false }) => {
23
+ if (!onChange) {
24
+ throw Error('DSInputEncryptedWrapper should be used inside a antd Form.Item');
25
+ }
26
+ const { t } = useSharedTranslation();
27
+ const { errors } = Form.Item.useStatus();
28
+ const { onValueDetailsButtonClick } = useValueDetailsButton({
29
+ value: fieldValue?.value,
30
+ attribute
31
+ });
32
+ const [hasChanged, setHasChanged] = useState(false);
33
+ const { lang: availableLang } = useLang();
34
+ const inputRef = useRef(null);
35
+ useEffect(() => {
36
+ if (fieldValue.isEditing && inputRef.current) {
37
+ inputRef.current.focus();
38
+ }
39
+ }, [fieldValue.isEditing]);
40
+ const _resetToInheritedOrCalculatedValue = () => {
41
+ setHasChanged(false);
42
+ if (state.isInheritedValue) {
43
+ onChange(state.inheritedValue.raw_value);
44
+ }
45
+ else if (state.isCalculatedValue) {
46
+ onChange(state.calculatedValue.raw_value);
47
+ }
48
+ handleSubmit('', state.attribute.id);
49
+ };
50
+ const _handleOnBlur = (event) => {
51
+ if (!hasChanged) {
52
+ handleBlur();
53
+ return;
54
+ }
55
+ const valueToSubmit = event.target.value;
56
+ if (valueToSubmit === '' && (state.isInheritedValue || state.isCalculatedValue)) {
57
+ _resetToInheritedOrCalculatedValue();
58
+ return;
59
+ }
60
+ if (!state.isInheritedValue && !state.isCalculatedValue) {
61
+ handleSubmit(valueToSubmit, state.attribute.id);
62
+ }
63
+ onChange(event);
64
+ };
65
+ const _handleOnChange = (event) => {
66
+ setHasChanged(true);
67
+ const inputValue = event.target.value;
68
+ if ((state.isInheritedValue || state.isCalculatedValue) && inputValue === '' && event.type === 'click') {
69
+ _resetToInheritedOrCalculatedValue();
70
+ return;
71
+ }
72
+ onChange(event);
73
+ };
74
+ const _getHelper = () => {
75
+ if (state.isInheritedOverrideValue) {
76
+ return t('record_edition.inherited_input_helper', {
77
+ inheritedValue: state.inheritedValue.raw_value
78
+ });
79
+ }
80
+ else if (state.isCalculatedOverrideValue) {
81
+ return t('record_edition.calculated_input_helper', {
82
+ calculatedValue: state.calculatedValue.raw_value
83
+ });
84
+ }
85
+ return;
86
+ };
87
+ const label = localizedTranslation(state.formElement.settings.label, availableLang);
88
+ return (_jsx(KitInputPasswordStyled
89
+ // @ts-expect-error - ref is not a valid prop for Input.Password but works at runtime
90
+ , {
91
+ // @ts-expect-error - ref is not a valid prop for Input.Password but works at runtime
92
+ ref: inputRef, autoComplete: "new-password", "data-testid": "kit-input-password", label: label, required: state.formElement.settings.required, status: errors.length > 0 ? 'error' : undefined, onInfoClick: shouldShowValueDetailsButton ? onValueDetailsButtonClick : null, helper: _getHelper(), value: value, disabled: state.isReadOnly, allowClear: !state.isInheritedNotOverrideValue && !state.isCalculatedNotOverrideValue, onBlur: _handleOnBlur, onChange: _handleOnChange, "$shouldHighlightColor": !hasChanged && (state.isInheritedNotOverrideValue || state.isCalculatedNotOverrideValue) }));
93
+ };
94
+ //# sourceMappingURL=DSInputEncryptedWrapper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSInputEncryptedWrapper.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAA6C,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAK9F,OAAO,EAAC,IAAI,EAAa,MAAM,MAAM,CAAC;AAEtC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,qBAAqB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EACrF,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,eAAe,2BAErB,CAAC,UAAU,IAAI,CAAC,KAAK,CAAC,2BAA2B,IAAI,KAAK,CAAC,4BAA4B,CAAC,GAE9F,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -8,6 +8,7 @@ interface IDSInputWrapperProps extends IProvidedByAntFormItem<InputNumberProps>
8
8
  attribute: RecordFormAttributeFragment;
9
9
  fieldValue: IStandardFieldValue;
10
10
  handleSubmit: (value: string, id?: string) => void;
11
+ handleBlur: () => void;
11
12
  shouldShowValueDetailsButton?: boolean;
12
13
  }
13
14
  export declare const DSInputNumberWrapper: FunctionComponent<IDSInputWrapperProps>;
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017
2
+ // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
5
  import { KitInputNumber } from 'aristid-ds';
6
- import { useState } from 'react';
6
+ import { useEffect, useRef, useState } from 'react';
7
7
  import { Form } from 'antd';
8
8
  import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
9
9
  import styled from 'styled-components';
@@ -15,7 +15,7 @@ const KitInputNumberStyled = styled(KitInputNumber) `
15
15
  color: ${({ $shouldHighlightColor }) => $shouldHighlightColor ? 'var(--general-colors-primary-400)' : 'initial'};
16
16
  }
17
17
  `;
18
- export const DSInputNumberWrapper = ({ value, onChange, state, attribute, fieldValue, handleSubmit, shouldShowValueDetailsButton = false }) => {
18
+ export const DSInputNumberWrapper = ({ value, onChange, state, attribute, fieldValue, handleSubmit, handleBlur, shouldShowValueDetailsButton = false }) => {
19
19
  if (!onChange) {
20
20
  throw Error('DSInputNumberWrapper should be used inside a antd Form.Item');
21
21
  }
@@ -27,18 +27,33 @@ export const DSInputNumberWrapper = ({ value, onChange, state, attribute, fieldV
27
27
  attribute
28
28
  });
29
29
  const [hasChanged, setHasChanged] = useState(false);
30
- const _resetToInheritedValue = () => {
30
+ const inputRef = useRef(null);
31
+ useEffect(() => {
32
+ if (fieldValue.isEditing && inputRef.current) {
33
+ inputRef.current.focus(); // To automatically open the date picker
34
+ }
35
+ }, [fieldValue.isEditing]);
36
+ const _resetToInheritedOrCalculatedValue = () => {
31
37
  setHasChanged(false);
32
- onChange(state.inheritedValue.raw_value);
38
+ if (state.isInheritedValue) {
39
+ onChange(state.inheritedValue.raw_value);
40
+ }
41
+ else if (state.isCalculatedValue) {
42
+ onChange(state.calculatedValue.raw_value);
43
+ }
33
44
  handleSubmit('', state.attribute.id);
34
45
  };
35
46
  const _handleOnBlur = (event) => {
47
+ if (!hasChanged) {
48
+ handleBlur();
49
+ return;
50
+ }
36
51
  const valueToSubmit = event.target.value;
37
- if (valueToSubmit === '' && state.isInheritedValue) {
38
- _resetToInheritedValue();
52
+ if (valueToSubmit === '' && (state.isInheritedValue || state.isCalculatedValue)) {
53
+ _resetToInheritedOrCalculatedValue();
39
54
  return;
40
55
  }
41
- if (hasChanged || !state.isInheritedValue) {
56
+ if (hasChanged || (!state.isInheritedValue && !state.isCalculatedValue)) {
42
57
  handleSubmit(valueToSubmit, state.attribute.id);
43
58
  }
44
59
  onChange(valueToSubmit);
@@ -47,11 +62,20 @@ export const DSInputNumberWrapper = ({ value, onChange, state, attribute, fieldV
47
62
  setHasChanged(true);
48
63
  onChange(inputValue);
49
64
  };
50
- const label = localizedTranslation(state.formElement.settings.label, lang);
51
- return (_jsx(KitInputNumberStyled, { required: state.formElement.settings.required, label: label, onInfoClick: shouldShowValueDetailsButton ? onValueDetailsButtonClick : null, status: errors.length > 0 ? 'error' : undefined, helper: state.isInheritedOverrideValue
52
- ? t('record_edition.inherited_input_helper', {
65
+ const _getHelper = () => {
66
+ if (state.isInheritedOverrideValue) {
67
+ return t('record_edition.inherited_input_helper', {
53
68
  inheritedValue: state.inheritedValue.raw_value
54
- })
55
- : undefined, value: value, onChange: _handleOnChange, disabled: state.isReadOnly, onBlur: _handleOnBlur, "$shouldHighlightColor": !hasChanged && state.isInheritedNotOverrideValue }));
69
+ });
70
+ }
71
+ else if (state.isCalculatedOverrideValue) {
72
+ return t('record_edition.calculated_input_helper', {
73
+ calculatedValue: state.calculatedValue.raw_value
74
+ });
75
+ }
76
+ return;
77
+ };
78
+ const label = localizedTranslation(state.formElement.settings.label, lang);
79
+ return (_jsx(KitInputNumberStyled, { ref: inputRef, required: state.formElement.settings.required, label: label, onInfoClick: shouldShowValueDetailsButton ? onValueDetailsButtonClick : null, status: errors.length > 0 ? 'error' : undefined, helper: _getHelper(), value: value, onChange: _handleOnChange, disabled: state.isReadOnly, onBlur: _handleOnBlur, "$shouldHighlightColor": !hasChanged && (state.isInheritedNotOverrideValue || state.isCalculatedNotOverrideValue) }));
56
80
  };
57
81
  //# sourceMappingURL=DSInputNumberWrapper.js.map