@leav/ui 1.13.0-fd41c66e → 1.14.0-2fd28db5

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 (1148) hide show
  1. package/dist/__mocks__/common/application.js.map +1 -1
  2. package/dist/__mocks__/common/attribute.js.map +1 -1
  3. package/dist/__mocks__/common/filter.js +0 -3
  4. package/dist/__mocks__/common/filter.js.map +1 -1
  5. package/dist/__mocks__/common/form.js +0 -3
  6. package/dist/__mocks__/common/form.js.map +1 -1
  7. package/dist/__mocks__/common/import.js +0 -3
  8. package/dist/__mocks__/common/import.js.map +1 -1
  9. package/dist/__mocks__/common/label.js +0 -3
  10. package/dist/__mocks__/common/label.js.map +1 -1
  11. package/dist/__mocks__/common/library.js +0 -3
  12. package/dist/__mocks__/common/library.js.map +1 -1
  13. package/dist/__mocks__/common/record.js.map +1 -1
  14. package/dist/__mocks__/common/tree.js +0 -3
  15. package/dist/__mocks__/common/tree.js.map +1 -1
  16. package/dist/__mocks__/common/treeElements.js.map +1 -1
  17. package/dist/__mocks__/common/value.js.map +1 -1
  18. package/dist/__mocks__/common/versionProfile.js.map +1 -1
  19. package/dist/__mocks__/common/view.js +0 -3
  20. package/dist/__mocks__/common/view.js.map +1 -1
  21. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +0 -3
  22. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  23. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +0 -3
  24. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
  25. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +0 -3
  26. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  27. package/dist/__mocks__/react-i18next.js +0 -3
  28. package/dist/__mocks__/react-i18next.js.map +1 -1
  29. package/dist/__mocks__/utils.js.map +1 -1
  30. package/dist/_gqlTypes/index.d.ts +41 -78
  31. package/dist/_gqlTypes/index.js +11 -42
  32. package/dist/_gqlTypes/index.js.map +1 -1
  33. package/dist/_queries/applications/applicationDetailsFragment.js +0 -3
  34. package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
  35. package/dist/_queries/applications/checkApplicationExistence.js +0 -3
  36. package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
  37. package/dist/_queries/applications/getApplicationDetails.js +0 -3
  38. package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
  39. package/dist/_queries/applications/getApplicationsModulesQuery.js +0 -3
  40. package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
  41. package/dist/_queries/applications/saveApplicationMutation.js +0 -3
  42. package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
  43. package/dist/_queries/attributes/attributeDetailsFragment.js +0 -3
  44. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  45. package/dist/_queries/attributes/checkAttributeExistenceQuery.js +0 -3
  46. package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
  47. package/dist/_queries/attributes/deleteAttributeMutation.js +0 -3
  48. package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
  49. package/dist/_queries/attributes/getAttributeByIdQuery.js +0 -3
  50. package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
  51. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js +0 -3
  52. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
  53. package/dist/_queries/attributes/getAttributesByLib.js +0 -3
  54. package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
  55. package/dist/_queries/attributes/getAttributesQuery.js +0 -3
  56. package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
  57. package/dist/_queries/attributes/getVersionProfilesQuery.js +0 -3
  58. package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
  59. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js +0 -3
  60. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
  61. package/dist/_queries/attributes/saveAttributeMutation.js +0 -3
  62. package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
  63. package/dist/_queries/export/exportQuery.js +0 -3
  64. package/dist/_queries/export/exportQuery.js.map +1 -1
  65. package/dist/_queries/files/createDirectory.js +0 -3
  66. package/dist/_queries/files/createDirectory.js.map +1 -1
  67. package/dist/_queries/files/forcePreviewsGenerationMutation.js +0 -3
  68. package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
  69. package/dist/_queries/files/getDirectoryDataQuery.js +0 -3
  70. package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
  71. package/dist/_queries/files/getUploadUpdates.js +0 -3
  72. package/dist/_queries/files/getUploadUpdates.js.map +1 -1
  73. package/dist/_queries/files/uploadMutation.js +0 -3
  74. package/dist/_queries/files/uploadMutation.js.map +1 -1
  75. package/dist/_queries/import/importExcel.js +0 -3
  76. package/dist/_queries/import/importExcel.js.map +1 -1
  77. package/dist/_queries/libraries/checkLibraryExistenceQuery.js +0 -3
  78. package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
  79. package/dist/_queries/libraries/deleteLibraryMutation.js +0 -3
  80. package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
  81. package/dist/_queries/libraries/getLibrariesQuery.js +0 -3
  82. package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
  83. package/dist/_queries/libraries/getLibraryByIdQuery.js +0 -3
  84. package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
  85. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
  86. package/dist/_queries/libraries/getLibraryPermissionsQuery.js +0 -3
  87. package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
  88. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js +0 -3
  89. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
  90. package/dist/_queries/libraries/libraryDetailsFragment.js +0 -3
  91. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  92. package/dist/_queries/libraries/saveLibraryMutation.js +0 -3
  93. package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
  94. package/dist/_queries/permissions/isAllowedQuery.js +0 -3
  95. package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
  96. package/dist/_queries/records/activateRecordsMutation.js +0 -3
  97. package/dist/_queries/records/activateRecordsMutation.js.map +1 -1
  98. package/dist/_queries/records/createRecordMutation.js +0 -3
  99. package/dist/_queries/records/createRecordMutation.js.map +1 -1
  100. package/dist/_queries/records/deactivateRecordsMutation.js +0 -3
  101. package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
  102. package/dist/_queries/records/doesFileExistAsChild.js +0 -3
  103. package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
  104. package/dist/_queries/records/getFileDataQuery.js +0 -3
  105. package/dist/_queries/records/getFileDataQuery.js.map +1 -1
  106. package/dist/_queries/records/getRecordColumnsValues.js +0 -3
  107. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  108. package/dist/_queries/records/getRecordFormQuery.js +0 -3
  109. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  110. package/dist/_queries/records/getRecordPropertiesQuery.js +0 -3
  111. package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
  112. package/dist/_queries/records/getRecordUpdatesSubscription.js +0 -3
  113. package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
  114. package/dist/_queries/records/getRecordsFromLibraryQuery.js +0 -3
  115. package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
  116. package/dist/_queries/records/indexRecordsMutation.js +0 -3
  117. package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
  118. package/dist/_queries/records/recordFormAttributeFragment.js +0 -3
  119. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  120. package/dist/_queries/tasks/cancelTaskMutation.js +0 -3
  121. package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
  122. package/dist/_queries/trees/checkTreeExistenceQuery.js +0 -3
  123. package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
  124. package/dist/_queries/trees/deleteTreeMutation.js +0 -3
  125. package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
  126. package/dist/_queries/trees/getTreeByIdQuery.js +0 -3
  127. package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
  128. package/dist/_queries/trees/getTreeLibraries.js +0 -3
  129. package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
  130. package/dist/_queries/trees/getTreesQuery.js +0 -3
  131. package/dist/_queries/trees/getTreesQuery.js.map +1 -1
  132. package/dist/_queries/trees/saveTreeMutation.js +0 -3
  133. package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
  134. package/dist/_queries/trees/treeDetailsFragment.js +0 -3
  135. package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
  136. package/dist/_queries/trees/treeNodeChildrenQuery.js +0 -3
  137. package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
  138. package/dist/_queries/userData/getUserData.js +0 -3
  139. package/dist/_queries/userData/getUserData.js.map +1 -1
  140. package/dist/_queries/userData/saveUserData.js +0 -3
  141. package/dist/_queries/userData/saveUserData.js.map +1 -1
  142. package/dist/_queries/values/deleteValueMutation.js +0 -3
  143. package/dist/_queries/values/deleteValueMutation.js.map +1 -1
  144. package/dist/_queries/values/saveValueBatchMutation.js +0 -3
  145. package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
  146. package/dist/_queries/values/valueDetailsFragment.js +0 -3
  147. package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
  148. package/dist/_queries/values/valuesVersionFragment.js +0 -3
  149. package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
  150. package/dist/_queries/views/deleteViewMutation.js +0 -3
  151. package/dist/_queries/views/deleteViewMutation.js.map +1 -1
  152. package/dist/_queries/views/getViewById.js +0 -3
  153. package/dist/_queries/views/getViewById.js.map +1 -1
  154. package/dist/_queries/views/getViewsListQuery.js +0 -3
  155. package/dist/_queries/views/getViewsListQuery.js.map +1 -1
  156. package/dist/_queries/views/saveViewMutation.js +0 -3
  157. package/dist/_queries/views/saveViewMutation.js.map +1 -1
  158. package/dist/_queries/views/viewDetailsFragment.js +0 -3
  159. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  160. package/dist/_utils/__mocks__/isDevEnv.js +0 -3
  161. package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
  162. package/dist/_utils/attributeType.js +0 -3
  163. package/dist/_utils/attributeType.js.map +1 -1
  164. package/dist/_utils/getFiltersFromRequest.js +0 -3
  165. package/dist/_utils/getFiltersFromRequest.js.map +1 -1
  166. package/dist/_utils/getRequestFromFilter.js +0 -3
  167. package/dist/_utils/getRequestFromFilter.js.map +1 -1
  168. package/dist/_utils/index.js +0 -3
  169. package/dist/_utils/index.js.map +1 -1
  170. package/dist/_utils/interleaveElement.js +0 -3
  171. package/dist/_utils/interleaveElement.js.map +1 -1
  172. package/dist/_utils/isDevEnv.js +0 -3
  173. package/dist/_utils/isDevEnv.js.map +1 -1
  174. package/dist/_utils/typeguards.js.map +1 -1
  175. package/dist/antdTheme/index.js +0 -3
  176. package/dist/antdTheme/index.js.map +1 -1
  177. package/dist/antdTheme/types.js.map +1 -1
  178. package/dist/components/AttributePicker/AttributePicker.js +0 -3
  179. package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
  180. package/dist/components/AttributePicker/AttributesList/AttributesList.js +0 -3
  181. package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
  182. package/dist/components/AttributePicker/AttributesList/index.js +0 -3
  183. package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
  184. package/dist/components/AttributePicker/index.js +0 -3
  185. package/dist/components/AttributePicker/index.js.map +1 -1
  186. package/dist/components/BasicButton/BasicButton.js +0 -3
  187. package/dist/components/BasicButton/BasicButton.js.map +1 -1
  188. package/dist/components/BasicButton/index.js +0 -3
  189. package/dist/components/BasicButton/index.js.map +1 -1
  190. package/dist/components/CreateDirectory/CreateDirectory.js +0 -3
  191. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  192. package/dist/components/CreateDirectory/index.js +0 -3
  193. package/dist/components/CreateDirectory/index.js.map +1 -1
  194. package/dist/components/Dimmer/Dimmer.js.map +1 -1
  195. package/dist/components/Dimmer/index.js +0 -3
  196. package/dist/components/Dimmer/index.js.map +1 -1
  197. package/dist/components/EditApplication/EditApplication.js +0 -3
  198. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  199. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +0 -3
  200. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
  201. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +0 -3
  202. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
  203. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +0 -3
  204. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
  205. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js +0 -3
  206. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
  207. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js +0 -3
  208. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
  209. package/dist/components/EditApplication/EditApplicationInfo/index.js +0 -3
  210. package/dist/components/EditApplication/EditApplicationInfo/index.js.map +1 -1
  211. package/dist/components/EditApplication/_types.js.map +1 -1
  212. package/dist/components/EditApplication/index.js +0 -3
  213. package/dist/components/EditApplication/index.js.map +1 -1
  214. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +0 -3
  215. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
  216. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +0 -3
  217. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
  218. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +0 -3
  219. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
  220. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +0 -3
  221. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
  222. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js +0 -3
  223. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
  224. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +0 -3
  225. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
  226. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js +0 -3
  227. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
  228. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +0 -3
  229. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
  230. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js +0 -3
  231. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
  232. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js +0 -3
  233. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
  234. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js +0 -3
  235. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
  236. package/dist/components/EditAttributeModal/EditAttribute/index.js +0 -3
  237. package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
  238. package/dist/components/EditAttributeModal/EditAttributeModal.js +0 -3
  239. package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
  240. package/dist/components/EditAttributeModal/index.js +0 -3
  241. package/dist/components/EditAttributeModal/index.js.map +1 -1
  242. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +0 -3
  243. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
  244. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +0 -3
  245. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
  246. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js +0 -3
  247. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
  248. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +0 -3
  249. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
  250. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +0 -3
  251. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
  252. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js +0 -3
  253. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
  254. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js +0 -3
  255. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
  256. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +0 -3
  257. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
  258. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js +0 -3
  259. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
  260. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +0 -3
  261. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
  262. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js +0 -3
  263. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
  264. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
  265. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +0 -3
  266. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
  267. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js +0 -3
  268. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
  269. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js +0 -3
  270. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
  271. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +0 -3
  272. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
  273. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +0 -3
  274. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
  275. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +0 -3
  276. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
  277. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js +0 -3
  278. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
  279. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js +0 -3
  280. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
  281. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +0 -3
  282. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
  283. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js +0 -3
  284. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
  285. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js +0 -3
  286. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
  287. package/dist/components/EditLibraryModal/EditLibrary/index.js +0 -3
  288. package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
  289. package/dist/components/EditLibraryModal/EditLibraryModal.js +0 -3
  290. package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
  291. package/dist/components/EditLibraryModal/index.js +0 -3
  292. package/dist/components/EditLibraryModal/index.js.map +1 -1
  293. package/dist/components/EditTreeModal/EditTree/EditTree.js +0 -3
  294. package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
  295. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +0 -3
  296. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
  297. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +0 -3
  298. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
  299. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +0 -3
  300. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
  301. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js +0 -3
  302. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
  303. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js +0 -3
  304. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
  305. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js +0 -3
  306. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
  307. package/dist/components/EditTreeModal/EditTree/index.js +0 -3
  308. package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
  309. package/dist/components/EditTreeModal/EditTreeModal.js +0 -3
  310. package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
  311. package/dist/components/EditTreeModal/index.js +0 -3
  312. package/dist/components/EditTreeModal/index.js.map +1 -1
  313. package/dist/components/EntityCard/EntityCard.js +0 -3
  314. package/dist/components/EntityCard/EntityCard.js.map +1 -1
  315. package/dist/components/EntityCard/_types.js.map +1 -1
  316. package/dist/components/EntityCard/index.js +0 -3
  317. package/dist/components/EntityCard/index.js.map +1 -1
  318. package/dist/components/EntityPreview/EntityPreview.js +0 -3
  319. package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
  320. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +0 -3
  321. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
  322. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js +0 -3
  323. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
  324. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js +0 -3
  325. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
  326. package/dist/components/EntityPreview/EntityPreviewList/index.js +0 -3
  327. package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
  328. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +0 -3
  329. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
  330. package/dist/components/EntityPreview/EntityPreviewTile/index.js +0 -3
  331. package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
  332. package/dist/components/EntityPreview/_types.js.map +1 -1
  333. package/dist/components/EntityPreview/index.js +0 -3
  334. package/dist/components/EntityPreview/index.js.map +1 -1
  335. package/dist/components/ErrorBoundary/ErrorBoundary.js +0 -3
  336. package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  337. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +0 -3
  338. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
  339. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js +0 -3
  340. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
  341. package/dist/components/ErrorBoundary/index.js +0 -3
  342. package/dist/components/ErrorBoundary/index.js.map +1 -1
  343. package/dist/components/ErrorDisplay/ErrorDisplay.js +0 -3
  344. package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
  345. package/dist/components/ErrorDisplay/index.js +0 -3
  346. package/dist/components/ErrorDisplay/index.js.map +1 -1
  347. package/dist/components/ErrorMessage/ErrorMessage.js +0 -3
  348. package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
  349. package/dist/components/ErrorMessage/index.js +0 -3
  350. package/dist/components/ErrorMessage/index.js.map +1 -1
  351. package/dist/components/Explorer/DataView.js +0 -3
  352. package/dist/components/Explorer/DataView.js.map +1 -1
  353. package/dist/components/Explorer/Explorer.js +0 -3
  354. package/dist/components/Explorer/Explorer.js.map +1 -1
  355. package/dist/components/Explorer/ExplorerFiltersAndSorts.js +0 -3
  356. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
  357. package/dist/components/Explorer/ExplorerTitle.js +0 -3
  358. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  359. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  360. package/dist/components/Explorer/IdCard.js +0 -3
  361. package/dist/components/Explorer/IdCard.js.map +1 -1
  362. package/dist/components/Explorer/TableCell.js +0 -3
  363. package/dist/components/Explorer/TableCell.js.map +1 -1
  364. package/dist/components/Explorer/TableNameCell.js +0 -3
  365. package/dist/components/Explorer/TableNameCell.js.map +1 -1
  366. package/dist/components/Explorer/TableTagGroup.js +0 -3
  367. package/dist/components/Explorer/TableTagGroup.js.map +1 -1
  368. package/dist/components/Explorer/_constants.js +0 -3
  369. package/dist/components/Explorer/_constants.js.map +1 -1
  370. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
  371. package/dist/components/Explorer/_queries/useExplorerCountData.js +0 -3
  372. package/dist/components/Explorer/_queries/useExplorerCountData.js.map +1 -1
  373. package/dist/components/Explorer/_queries/useExplorerData.js +0 -3
  374. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  375. package/dist/components/Explorer/_types.js.map +1 -1
  376. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +0 -3
  377. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  378. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +0 -3
  379. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  380. package/dist/components/Explorer/actions-mass/ResultsCount.js.map +1 -1
  381. package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -1
  382. package/dist/components/Explorer/actions-mass/edit-attribute/EditMonoDependencyWorkflowTreeAttribute.js.map +1 -1
  383. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +0 -3
  384. package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
  385. package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js.map +1 -1
  386. package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -1
  387. package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.js +0 -3
  388. package/dist/components/Explorer/actions-mass/edit-attribute/useDependencyValues.js.map +1 -1
  389. package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.js +0 -3
  390. package/dist/components/Explorer/actions-mass/edit-attribute/useEditionMappingState.js.map +1 -1
  391. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +0 -3
  392. package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -1
  393. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.js +0 -3
  394. package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodesCandidates.js.map +1 -1
  395. package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.js +0 -3
  396. package/dist/components/Explorer/actions-mass/export/ExportProfileSelectionModal.js.map +1 -1
  397. package/dist/components/Explorer/actions-mass/export/content/NoProfiles.js +0 -3
  398. package/dist/components/Explorer/actions-mass/export/content/NoProfiles.js.map +1 -1
  399. package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.js +0 -3
  400. package/dist/components/Explorer/actions-mass/export/content/ProfilesSelection.js.map +1 -1
  401. package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.js +0 -3
  402. package/dist/components/Explorer/actions-mass/export/useGetLibraryExportProfiles.js.map +1 -1
  403. package/dist/components/Explorer/actions-mass/generate-previews/GeneratePreviewsModal.js +0 -3
  404. package/dist/components/Explorer/actions-mass/generate-previews/GeneratePreviewsModal.js.map +1 -1
  405. package/dist/components/Explorer/actions-mass/generate-previews/useGetPreviewSizesData.js +0 -3
  406. package/dist/components/Explorer/actions-mass/generate-previews/useGetPreviewSizesData.js.map +1 -1
  407. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +0 -3
  408. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  409. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +0 -3
  410. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  411. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +0 -3
  412. package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
  413. package/dist/components/Explorer/actions-mass/useExportMassAction.js +0 -3
  414. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
  415. package/dist/components/Explorer/actions-mass/useGeneratePreviewsMassAction.js +0 -3
  416. package/dist/components/Explorer/actions-mass/useGeneratePreviewsMassAction.js.map +1 -1
  417. package/dist/components/Explorer/actions-mass/useMassActions.js +0 -3
  418. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  419. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +0 -3
  420. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  421. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +0 -3
  422. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  423. package/dist/components/Explorer/actions-primary/usePrimaryActions.js +0 -3
  424. package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
  425. package/dist/components/Explorer/conditionsHelper.js +0 -3
  426. package/dist/components/Explorer/conditionsHelper.js.map +1 -1
  427. package/dist/components/Explorer/index.js +0 -3
  428. package/dist/components/Explorer/index.js.map +1 -1
  429. package/dist/components/Explorer/link-item/LinkModal.js +0 -3
  430. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  431. package/dist/components/Explorer/link-item/useAddLinkMassAction.js +0 -3
  432. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
  433. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
  434. package/dist/components/Explorer/list-saved-views/SavedViews.js +0 -3
  435. package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
  436. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +0 -3
  437. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
  438. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +0 -3
  439. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  440. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
  441. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +0 -3
  442. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
  443. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js +0 -3
  444. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
  445. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  446. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  447. package/dist/components/Explorer/manage-view-settings/index.d.ts +1 -0
  448. package/dist/components/Explorer/manage-view-settings/index.js +1 -3
  449. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
  450. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +0 -3
  451. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  452. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +0 -3
  453. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
  454. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
  455. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js +0 -3
  456. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
  457. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +0 -3
  458. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  459. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js +0 -3
  460. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
  461. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +0 -3
  462. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  463. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
  464. package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js +0 -3
  465. package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
  466. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  467. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +0 -3
  468. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  469. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +0 -3
  470. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
  471. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +0 -3
  472. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
  473. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +0 -3
  474. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  475. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +0 -3
  476. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  477. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +0 -3
  478. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
  479. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  480. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
  481. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +0 -3
  482. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
  483. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js +0 -3
  484. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
  485. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  486. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  487. package/dist/components/Explorer/useColumnWidth.js +0 -3
  488. package/dist/components/Explorer/useColumnWidth.js.map +1 -1
  489. package/dist/components/Explorer/useLoadView.js +0 -3
  490. package/dist/components/Explorer/useLoadView.js.map +1 -1
  491. package/dist/components/Explorer/useNotifyFiltersChange.js +0 -3
  492. package/dist/components/Explorer/useNotifyFiltersChange.js.map +1 -1
  493. package/dist/components/Explorer/usePagination.js +0 -3
  494. package/dist/components/Explorer/usePagination.js.map +1 -1
  495. package/dist/components/Explorer/useSearchInput.js +0 -3
  496. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  497. package/dist/components/Explorer/useTableScrollableHeight.js +0 -3
  498. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
  499. package/dist/components/Explorer/useViewSettingsReducer.js +0 -3
  500. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  501. package/dist/components/FieldsGroup/FieldsGroup.js +0 -3
  502. package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
  503. package/dist/components/FieldsGroup/index.js +0 -3
  504. package/dist/components/FieldsGroup/index.js.map +1 -1
  505. package/dist/components/Filters/FiltersProvider.js.map +1 -1
  506. package/dist/components/Filters/_queries/treeFiltersDataQuery.js +0 -3
  507. package/dist/components/Filters/_queries/treeFiltersDataQuery.js.map +1 -1
  508. package/dist/components/Filters/_types.js.map +1 -1
  509. package/dist/components/Filters/conditionsHelper.js +0 -3
  510. package/dist/components/Filters/conditionsHelper.js.map +1 -1
  511. package/dist/components/Filters/context/filtersContext.js +0 -3
  512. package/dist/components/Filters/context/filtersContext.js.map +1 -1
  513. package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
  514. package/dist/components/Filters/context/filtersReducer.js +51 -46
  515. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  516. package/dist/components/Filters/context/useFiltersReducer.js +12 -24
  517. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
  518. package/dist/components/Filters/context/useGetTreeFilters.js +0 -3
  519. package/dist/components/Filters/context/useGetTreeFilters.js.map +1 -1
  520. package/dist/components/Filters/filter-items/CommonFilterItem.js +7 -11
  521. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  522. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
  523. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
  524. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +0 -3
  525. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
  526. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
  527. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
  528. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
  529. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +0 -3
  530. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
  531. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +0 -3
  532. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  533. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +0 -3
  534. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
  535. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +0 -3
  536. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
  537. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
  538. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +0 -3
  539. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  540. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
  541. package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js +0 -3
  542. package/dist/components/Filters/filter-items/filter-type/smart-filter/SmartFilterAttributeDropdown.js.map +1 -1
  543. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js +0 -3
  544. package/dist/components/Filters/filter-items/filter-type/smart-filter/useGetSmartFilterData.js.map +1 -1
  545. package/dist/components/Filters/filter-items/filter-type/smart-filter/useSmartFilerSearch.js +0 -3
  546. package/dist/components/Filters/filter-items/filter-type/smart-filter/useSmartFilerSearch.js.map +1 -1
  547. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js +14 -4
  548. package/dist/components/Filters/filter-items/filter-type/tree/TreeAttributeDropDown.js.map +1 -1
  549. package/dist/components/Filters/filter-items/filter-type/tree/_queries/filterTreeDataQuery.js +0 -3
  550. package/dist/components/Filters/filter-items/filter-type/tree/_queries/filterTreeDataQuery.js.map +1 -1
  551. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js +0 -3
  552. package/dist/components/Filters/filter-items/filter-type/tree/useGetTreeData.js.map +1 -1
  553. package/dist/components/Filters/filter-items/filter-type/tree/useTreeNodeSelection.js.map +1 -1
  554. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js +1 -4
  555. package/dist/components/Filters/filter-items/filter-type/tree/useTreePermissions.js.map +1 -1
  556. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js +0 -3
  557. package/dist/components/Filters/filter-items/filter-type/tree/useTreesSearch.js.map +1 -1
  558. package/dist/components/Filters/filter-items/filter-type/tree/utils/buildFlattenTreeMap.js.map +1 -1
  559. package/dist/components/Filters/filter-items/filter-type/tree/utils/countSelectedTreeChildren.js.map +1 -1
  560. package/dist/components/Filters/filter-items/filter-type/tree/utils/filterTreeByPermission.js.map +1 -1
  561. package/dist/components/Filters/filter-items/filter-type/tree/utils/getSelectAllState.js.map +1 -1
  562. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +3 -19
  563. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  564. package/dist/components/Filters/filter-items/shared/EmptyValueCheckbox.js.map +1 -1
  565. package/dist/components/Filters/filter-items/shared/FilterTreeNodeTitle.js +0 -3
  566. package/dist/components/Filters/filter-items/shared/FilterTreeNodeTitle.js.map +1 -1
  567. package/dist/components/Filters/filter-items/shared/SelectAllCheckbox.js.map +1 -1
  568. package/dist/components/Filters/index.js +0 -3
  569. package/dist/components/Filters/index.js.map +1 -1
  570. package/dist/components/Filters/prepareFiltersForRequest.js +115 -151
  571. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  572. package/dist/components/Filters/useFilters.js +0 -3
  573. package/dist/components/Filters/useFilters.js.map +1 -1
  574. package/dist/components/Filters/useFiltersContext.js +0 -3
  575. package/dist/components/Filters/useFiltersContext.js.map +1 -1
  576. package/dist/components/Filters/useTransformFilters.d.ts +3 -1
  577. package/dist/components/Filters/useTransformFilters.js +133 -138
  578. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  579. package/dist/components/FloatingMenu/FloatingMenu.js +0 -3
  580. package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
  581. package/dist/components/FloatingMenu/_types.js.map +1 -1
  582. package/dist/components/FloatingMenu/index.js +0 -3
  583. package/dist/components/FloatingMenu/index.js.map +1 -1
  584. package/dist/components/ImageLoading/ImageLoading.js +0 -3
  585. package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
  586. package/dist/components/ImageLoading/index.js +0 -3
  587. package/dist/components/ImageLoading/index.js.map +1 -1
  588. package/dist/components/ImageMissing/ImageMissing.js +0 -3
  589. package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
  590. package/dist/components/ImageMissing/index.js +0 -3
  591. package/dist/components/ImageMissing/index.js.map +1 -1
  592. package/dist/components/ImportModal/ImportModal.js +0 -3
  593. package/dist/components/ImportModal/ImportModal.js.map +1 -1
  594. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js +0 -3
  595. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
  596. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js +0 -3
  597. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
  598. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js +0 -3
  599. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
  600. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js +0 -3
  601. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
  602. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +0 -3
  603. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  604. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +0 -3
  605. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  606. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js +0 -3
  607. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
  608. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +0 -3
  609. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  610. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js +0 -3
  611. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
  612. package/dist/components/ImportModal/ImportModalConfigStep/index.js +0 -3
  613. package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
  614. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js +0 -3
  615. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
  616. package/dist/components/ImportModal/ImportModalDoneStep/index.js +0 -3
  617. package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
  618. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js +0 -3
  619. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
  620. package/dist/components/ImportModal/ImportModalProcessingStep/index.js +0 -3
  621. package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
  622. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +0 -3
  623. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  624. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js +0 -3
  625. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
  626. package/dist/components/ImportModal/_types.js.map +1 -1
  627. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +0 -3
  628. package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
  629. package/dist/components/ImportModal/importReducer/importReducer.js +0 -3
  630. package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
  631. package/dist/components/ImportModal/importReducer/index.js +0 -3
  632. package/dist/components/ImportModal/importReducer/index.js.map +1 -1
  633. package/dist/components/ImportModal/index.js +0 -3
  634. package/dist/components/ImportModal/index.js.map +1 -1
  635. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +0 -3
  636. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  637. package/dist/components/LibraryPicker/LibrariesList/index.js +0 -3
  638. package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
  639. package/dist/components/LibraryPicker/LibraryPicker.js +0 -3
  640. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  641. package/dist/components/LibraryPicker/index.js +0 -3
  642. package/dist/components/LibraryPicker/index.js.map +1 -1
  643. package/dist/components/List/List.js +0 -3
  644. package/dist/components/List/List.js.map +1 -1
  645. package/dist/components/List/index.js +0 -3
  646. package/dist/components/List/index.js.map +1 -1
  647. package/dist/components/Loading/Loading.js +0 -3
  648. package/dist/components/Loading/Loading.js.map +1 -1
  649. package/dist/components/Loading/index.js +0 -3
  650. package/dist/components/Loading/index.js.map +1 -1
  651. package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -1
  652. package/dist/components/Notifications/hooks/useNotificationSubscription.js +0 -3
  653. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
  654. package/dist/components/Notifications/index.js +0 -3
  655. package/dist/components/Notifications/index.js.map +1 -1
  656. package/dist/components/RecordCard/RecordCard.js +0 -3
  657. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  658. package/dist/components/RecordCard/_types.js.map +1 -1
  659. package/dist/components/RecordCard/index.js +0 -3
  660. package/dist/components/RecordCard/index.js.map +1 -1
  661. package/dist/components/RecordEdition/EditRecord/EditRecord.js +0 -3
  662. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  663. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js +0 -3
  664. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
  665. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js +0 -3
  666. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
  667. package/dist/components/RecordEdition/EditRecord/index.js +0 -3
  668. package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
  669. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js +0 -3
  670. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
  671. package/dist/components/RecordEdition/EditRecordBtn/index.js +0 -3
  672. package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
  673. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +0 -3
  674. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
  675. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
  676. package/dist/components/RecordEdition/EditRecordButtons/index.js +0 -3
  677. package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
  678. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +0 -3
  679. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  680. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +0 -1
  681. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  682. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  683. package/dist/components/RecordEdition/EditRecordContent/formConstants.js +0 -3
  684. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  685. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  686. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js +0 -3
  687. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
  688. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +0 -3
  689. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
  690. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +0 -3
  691. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
  692. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js +0 -3
  693. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
  694. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
  695. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
  696. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js +0 -3
  697. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
  698. package/dist/components/RecordEdition/EditRecordContent/index.js +0 -3
  699. package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
  700. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +0 -3
  701. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  702. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js +0 -3
  703. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
  704. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js +0 -3
  705. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
  706. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js +0 -3
  707. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
  708. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  709. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js +0 -3
  710. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
  711. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  712. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js +0 -3
  713. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
  714. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  715. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js +0 -3
  716. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
  717. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  718. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/_types.js.map +1 -1
  719. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/LinkFieldExplorer.js +0 -3
  720. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/LinkFieldExplorer.js.map +1 -1
  721. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/link-record/useExplorerLinkRecords.js.map +1 -1
  722. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/link-record/useLinkRecords.js +0 -3
  723. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/explorer/link-record/useLinkRecords.js.map +1 -1
  724. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js +0 -3
  725. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
  726. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputExtraAlignLeft.js +0 -3
  727. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputExtraAlignLeft.js.map +1 -1
  728. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputWrapper.js +0 -3
  729. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/InputWrapper.js.map +1 -1
  730. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/Wrapper.js +0 -3
  731. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/Wrapper.js.map +1 -1
  732. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/LinkFieldTags.js +0 -3
  733. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/LinkFieldTags.js.map +1 -1
  734. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/link-record/useLinkRecord.js +0 -3
  735. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/link-record/useLinkRecord.js.map +1 -1
  736. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js +0 -3
  737. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js.map +1 -1
  738. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/unlink-all-records/useUnlinkAllRecords.js.map +1 -1
  739. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +0 -3
  740. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +0 -3
  742. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  743. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +0 -3
  744. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  745. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +0 -3
  746. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +0 -3
  748. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  749. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +0 -3
  750. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  751. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +0 -3
  752. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  753. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +0 -3
  754. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  755. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +0 -3
  756. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  757. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  758. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +0 -3
  759. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  760. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
  761. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
  762. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js +0 -3
  763. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
  764. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js +0 -3
  765. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
  766. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +0 -3
  767. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
  768. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  769. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js +0 -3
  770. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
  771. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +0 -3
  772. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  773. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +0 -3
  774. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
  775. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  776. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  777. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js +0 -3
  778. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
  779. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +0 -3
  780. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  781. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +0 -3
  782. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  783. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +0 -3
  784. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
  785. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
  786. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +0 -3
  787. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  788. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
  789. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  790. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +2 -5
  791. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  792. package/dist/components/RecordEdition/EditRecordModal/index.js +0 -3
  793. package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
  794. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +0 -3
  795. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
  796. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +2 -5
  797. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  798. package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.js +0 -3
  799. package/dist/components/RecordEdition/EditRecordPage/ErrorComponent.js.map +1 -1
  800. package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.js +0 -3
  801. package/dist/components/RecordEdition/EditRecordPage/getInitialRecordValues.js.map +1 -1
  802. package/dist/components/RecordEdition/EditRecordPage/index.js +0 -3
  803. package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
  804. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
  805. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js +0 -3
  806. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
  807. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +0 -3
  808. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
  809. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +0 -3
  810. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  811. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js +0 -3
  812. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
  813. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +0 -3
  814. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  815. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js +0 -3
  816. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  817. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js +0 -3
  818. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
  819. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
  820. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +0 -3
  821. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
  822. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +0 -3
  823. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  824. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js +0 -3
  825. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
  826. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  827. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js +0 -3
  828. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
  829. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +0 -3
  830. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  831. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js +0 -3
  832. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
  833. package/dist/components/RecordEdition/EditRecordSidebar/index.js +0 -3
  834. package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
  835. package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js +0 -3
  836. package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
  837. package/dist/components/RecordEdition/EditRecordSkeleton/index.js +0 -3
  838. package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
  839. package/dist/components/RecordEdition/_types.js.map +1 -1
  840. package/dist/components/RecordEdition/constants.js +0 -3
  841. package/dist/components/RecordEdition/constants.js.map +1 -1
  842. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  843. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +0 -3
  844. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
  845. package/dist/components/RecordEdition/editRecordReducer/index.js +0 -3
  846. package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
  847. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js +0 -3
  848. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
  849. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js +0 -3
  850. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
  851. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +0 -3
  852. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  853. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +0 -3
  854. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  855. package/dist/components/RecordEdition/index.d.ts +0 -1
  856. package/dist/components/RecordEdition/index.js +0 -4
  857. package/dist/components/RecordEdition/index.js.map +1 -1
  858. package/dist/components/RecordHistory/RecordHistory.js +0 -3
  859. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  860. package/dist/components/RecordHistory/RecordHistoryGoUpButton.js +0 -3
  861. package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
  862. package/dist/components/RecordHistory/RecordHistoryLogEntry.js +0 -3
  863. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  864. package/dist/components/RecordHistory/_queries/recordHistoryQuery.js +0 -3
  865. package/dist/components/RecordHistory/_queries/recordHistoryQuery.js.map +1 -1
  866. package/dist/components/RecordHistory/_types.js.map +1 -1
  867. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +0 -3
  868. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  869. package/dist/components/RecordHistory/index.js +0 -3
  870. package/dist/components/RecordHistory/index.js.map +1 -1
  871. package/dist/components/RecordHistory/utils/extendedAttribute.js.map +1 -1
  872. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +0 -3
  873. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
  874. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js +0 -3
  875. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
  876. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js +0 -3
  877. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
  878. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js +0 -3
  879. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
  880. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js +0 -3
  881. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
  882. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +0 -3
  883. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
  884. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +0 -3
  885. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
  886. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js +0 -3
  887. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
  888. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +0 -3
  889. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
  890. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js +0 -3
  891. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
  892. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js +0 -3
  893. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
  894. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js +0 -3
  895. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
  896. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js +0 -3
  897. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
  898. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js +0 -3
  899. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
  900. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
  901. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js +0 -3
  902. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
  903. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js +0 -3
  904. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
  905. package/dist/components/RecordPreviewWithModal/FileModal/index.js +0 -3
  906. package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
  907. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +0 -3
  908. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
  909. package/dist/components/RecordPreviewWithModal/index.js +0 -3
  910. package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
  911. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  912. package/dist/components/SearchModal/index.js +0 -3
  913. package/dist/components/SearchModal/index.js.map +1 -1
  914. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +0 -3
  915. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  916. package/dist/components/SelectRecordForLinkModal/index.js +0 -3
  917. package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
  918. package/dist/components/SelectTreeNode/SelectTreeNode.js +0 -3
  919. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  920. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +0 -3
  921. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  922. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
  923. package/dist/components/SelectTreeNode/TreeNodeTitle.js +0 -3
  924. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  925. package/dist/components/SelectTreeNode/_queries/treeContentDataQuery.js +0 -3
  926. package/dist/components/SelectTreeNode/_queries/treeContentDataQuery.js.map +1 -1
  927. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  928. package/dist/components/SelectTreeNode/index.js +0 -3
  929. package/dist/components/SelectTreeNode/index.js.map +1 -1
  930. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +0 -3
  931. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
  932. package/dist/components/SelectTreeNodeModalOld/index.js +0 -3
  933. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
  934. package/dist/components/ShowMore/ShowMore.js +0 -3
  935. package/dist/components/ShowMore/ShowMore.js.map +1 -1
  936. package/dist/components/ShowMore/index.js +0 -3
  937. package/dist/components/ShowMore/index.js.map +1 -1
  938. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +0 -3
  939. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  940. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +0 -3
  941. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  942. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js +0 -3
  943. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
  944. package/dist/components/SimpleErrorBoundary/index.js +0 -3
  945. package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
  946. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js +0 -3
  947. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
  948. package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
  949. package/dist/components/SubmitStateNotifier/index.js +0 -3
  950. package/dist/components/SubmitStateNotifier/index.js.map +1 -1
  951. package/dist/components/TreePicker/TreePicker.js +0 -3
  952. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  953. package/dist/components/TreePicker/TreesList/TreesList.js +0 -3
  954. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  955. package/dist/components/TreePicker/TreesList/index.js +0 -3
  956. package/dist/components/TreePicker/TreesList/index.js.map +1 -1
  957. package/dist/components/TreePicker/index.js +0 -3
  958. package/dist/components/TreePicker/index.js.map +1 -1
  959. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +0 -3
  960. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  961. package/dist/components/TriggerPreviewsGenerationModal/index.js +0 -3
  962. package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
  963. package/dist/components/UploadFiles/UploadFiles.js +0 -3
  964. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  965. package/dist/components/UploadFiles/index.js +0 -3
  966. package/dist/components/UploadFiles/index.js.map +1 -1
  967. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +0 -3
  968. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  969. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +0 -3
  970. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  971. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js +0 -3
  972. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
  973. package/dist/components/ValuesVersionConfigurator/index.js +0 -3
  974. package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
  975. package/dist/components/index.js +0 -3
  976. package/dist/components/index.js.map +1 -1
  977. package/dist/constants.js +0 -3
  978. package/dist/constants.js.map +1 -1
  979. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
  980. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +0 -3
  981. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
  982. package/dist/contexts/EditRecordModalContext/index.js +0 -3
  983. package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
  984. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js +0 -3
  985. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
  986. package/dist/contexts/LangContext/LangContext.js +0 -3
  987. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  988. package/dist/contexts/LangContext/index.js +0 -3
  989. package/dist/contexts/LangContext/index.js.map +1 -1
  990. package/dist/contexts/LangContext/types.js.map +1 -1
  991. package/dist/contexts/UserContext/UserContext.js +0 -3
  992. package/dist/contexts/UserContext/UserContext.js.map +1 -1
  993. package/dist/contexts/UserContext/index.js +0 -3
  994. package/dist/contexts/UserContext/index.js.map +1 -1
  995. package/dist/contexts/UserContext/types.js.map +1 -1
  996. package/dist/contexts/index.js +0 -3
  997. package/dist/contexts/index.js.map +1 -1
  998. package/dist/gqlFragments/index.js +0 -3
  999. package/dist/gqlFragments/index.js.map +1 -1
  1000. package/dist/gqlFragments/recordIdentityFragment.js +0 -3
  1001. package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
  1002. package/dist/gqlPossibleTypes/index.js.map +1 -1
  1003. package/dist/hooks/index.js +0 -3
  1004. package/dist/hooks/index.js.map +1 -1
  1005. package/dist/hooks/useAntdLocale/index.js +0 -3
  1006. package/dist/hooks/useAntdLocale/index.js.map +1 -1
  1007. package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
  1008. package/dist/hooks/useAppLang/index.js +0 -3
  1009. package/dist/hooks/useAppLang/index.js.map +1 -1
  1010. package/dist/hooks/useAppLang/useAppLang.js +0 -3
  1011. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  1012. package/dist/hooks/useAuth/index.js +0 -3
  1013. package/dist/hooks/useAuth/index.js.map +1 -1
  1014. package/dist/hooks/useAuth/useAuth.js +0 -3
  1015. package/dist/hooks/useAuth/useAuth.js.map +1 -1
  1016. package/dist/hooks/useCanEditRecord/index.js +0 -3
  1017. package/dist/hooks/useCanEditRecord/index.js.map +1 -1
  1018. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +0 -3
  1019. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  1020. package/dist/hooks/useConfirmModal/__mocks__/index.js +0 -3
  1021. package/dist/hooks/useConfirmModal/__mocks__/index.js.map +1 -1
  1022. package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js +0 -3
  1023. package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js.map +1 -1
  1024. package/dist/hooks/useConfirmModal/index.js +0 -3
  1025. package/dist/hooks/useConfirmModal/index.js.map +1 -1
  1026. package/dist/hooks/useConfirmModal/useConfirmModal.js +0 -3
  1027. package/dist/hooks/useConfirmModal/useConfirmModal.js.map +1 -1
  1028. package/dist/hooks/useDebouncedValue/index.js +0 -3
  1029. package/dist/hooks/useDebouncedValue/index.js.map +1 -1
  1030. package/dist/hooks/useDebouncedValue/useDebouncedValue.js +0 -3
  1031. package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
  1032. package/dist/hooks/useDelayedLoading/index.js +0 -3
  1033. package/dist/hooks/useDelayedLoading/index.js.map +1 -1
  1034. package/dist/hooks/useDelayedLoading/useDelayedLoading.js +0 -3
  1035. package/dist/hooks/useDelayedLoading/useDelayedLoading.js.map +1 -1
  1036. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
  1037. package/dist/hooks/useExecuteSaveViewMutation/index.js +0 -3
  1038. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
  1039. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
  1040. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +0 -3
  1041. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  1042. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +0 -3
  1043. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
  1044. package/dist/hooks/useGetRecordForm/index.js +0 -3
  1045. package/dist/hooks/useGetRecordForm/index.js.map +1 -1
  1046. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  1047. package/dist/hooks/useGetRecordIdCard/index.js +0 -3
  1048. package/dist/hooks/useGetRecordIdCard/index.js.map +1 -1
  1049. package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js +0 -3
  1050. package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js.map +1 -1
  1051. package/dist/hooks/useGetRecordUpdatesSubscription/index.js +0 -3
  1052. package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
  1053. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +0 -3
  1054. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
  1055. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +0 -3
  1056. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  1057. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js +0 -3
  1058. package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js.map +1 -1
  1059. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  1060. package/dist/hooks/useIFrameMessenger/schema.js +0 -3
  1061. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  1062. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  1063. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +0 -3
  1064. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  1065. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js +0 -3
  1066. package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js.map +1 -1
  1067. package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js +0 -3
  1068. package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js.map +1 -1
  1069. package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.js +0 -3
  1070. package/dist/hooks/useIFrameMessenger/useNativePanelMessengerHandlers.js.map +1 -1
  1071. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +0 -3
  1072. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
  1073. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js +0 -3
  1074. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
  1075. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +0 -3
  1076. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
  1077. package/dist/hooks/useLang/__mocks__/index.js +0 -3
  1078. package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
  1079. package/dist/hooks/useLang/__mocks__/useLang.js +0 -3
  1080. package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
  1081. package/dist/hooks/useLang/index.js +0 -3
  1082. package/dist/hooks/useLang/index.js.map +1 -1
  1083. package/dist/hooks/useLang/useLang.js +0 -3
  1084. package/dist/hooks/useLang/useLang.js.map +1 -1
  1085. package/dist/hooks/useLibraryVersionTrees/index.js +0 -3
  1086. package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
  1087. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
  1088. package/dist/hooks/useLocalStorage/index.js +0 -3
  1089. package/dist/hooks/useLocalStorage/index.js.map +1 -1
  1090. package/dist/hooks/useLocalStorage/useLocalStorage.js +0 -3
  1091. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
  1092. package/dist/hooks/useLoginChecker/index.js +0 -3
  1093. package/dist/hooks/useLoginChecker/index.js.map +1 -1
  1094. package/dist/hooks/useLoginChecker/useLoginChecker.js +0 -3
  1095. package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
  1096. package/dist/hooks/useRecordsConsultationHistory/index.js +0 -3
  1097. package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
  1098. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +0 -3
  1099. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
  1100. package/dist/hooks/useRedirectToLogin/index.js +0 -3
  1101. package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
  1102. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +0 -3
  1103. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  1104. package/dist/hooks/useRefreshFieldValues/index.js +0 -3
  1105. package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
  1106. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +0 -3
  1107. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  1108. package/dist/hooks/useSharedTranslation/__mocks__/index.js +0 -3
  1109. package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
  1110. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
  1111. package/dist/hooks/useSharedTranslation/index.js +0 -3
  1112. package/dist/hooks/useSharedTranslation/index.js.map +1 -1
  1113. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +0 -3
  1114. package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
  1115. package/dist/hooks/useUser/index.js +0 -3
  1116. package/dist/hooks/useUser/index.js.map +1 -1
  1117. package/dist/hooks/useUser/useUser.js +0 -3
  1118. package/dist/hooks/useUser/useUser.js.map +1 -1
  1119. package/dist/hooks/useValuesCacheUpdate/index.js +0 -3
  1120. package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
  1121. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +0 -3
  1122. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
  1123. package/dist/index.js +0 -3
  1124. package/dist/index.js.map +1 -1
  1125. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +0 -3
  1126. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
  1127. package/dist/testing/MockedLangContextProvider/index.js +0 -3
  1128. package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
  1129. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +0 -3
  1130. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
  1131. package/dist/testing/MockedUserContextProvider/index.js +0 -3
  1132. package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
  1133. package/dist/testing/index.js +0 -3
  1134. package/dist/testing/index.js.map +1 -1
  1135. package/dist/types/attributes.js.map +1 -1
  1136. package/dist/types/index.js +0 -3
  1137. package/dist/types/index.js.map +1 -1
  1138. package/dist/types/misc.js.map +1 -1
  1139. package/dist/types/records.js.map +1 -1
  1140. package/dist/types/scalars.js.map +1 -1
  1141. package/dist/types/search.js.map +1 -1
  1142. package/dist/types/trees.js.map +1 -1
  1143. package/dist/types/values.js.map +1 -1
  1144. package/dist/types/views.js.map +1 -1
  1145. package/package.json +5 -10
  1146. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +0 -5
  1147. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +0 -20
  1148. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +0 -1
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import Breadcrumb from './Breadcrumb';
5
2
  export default Breadcrumb;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/Breacrumb/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,eAAe,UAAU,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport Breadcrumb from './Breadcrumb';\n\nexport default Breadcrumb;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/Breacrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,eAAe,UAAU,CAAC","sourcesContent":["import Breadcrumb from './Breadcrumb';\n\nexport default Breadcrumb;\n"]}
@@ -1,7 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } 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
2
  import { useEffect, useRef } from 'react';
6
3
  import { useEditRecordReducer } from '../editRecordReducer/useEditRecordReducer';
7
4
  import RecordSummary from './RecordSummary';
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecordSidebar.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAyB,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,EAAC,+BAA+B,EAA+B,MAAM,wCAAwC,CAAC;AACrH,OAAO,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;AAExC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AAOjD,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;CAKzC,CAAC;AAEF,MAAM,wBAAwB,GAAG,CAAC,KAA8B,EAAE,yBAAkC,KAAK,EAAE,EAAE;IACzG,6D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CAAC,CAAC,EAAC,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,eAAe,EAAE,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,EAAC;QAC7E,CAAC,CAAC,SAAS,CAAC;IAEpB,MAAM,wBAAwB,GAAG,CAC7B,KAAC,kBAAkB,IACf,GAAG,EAAE,YAAY,EACjB,WAAW,EAAE,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC,aAAa,EACvD,WAAW,EAAE,WAAW,EACxB,EAAE,EAAE,sBAAsB,EAC1B,WAAW,EAAE,KAAC,UAAU,KAAG,oBACX,CAAC,gBAAgB,aACxB,KAAK,CAAC,aAAa,YAE3B,wBAAwB,CAAC,KAAK,EAAE,sBAAsB,CAAC,GACvC,CACxB,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,YAAY,CAAC,OAAO,IAAI,KAAK,CAAC,aAAa,EAAE,CAAC;YAC9C,IAAI,KAAK,CAAC,aAAa,EAAE,CAAC;gBACtB,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACJ,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;YACjC,CAAC;QACL,CAAC;IACL,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IAErE,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,gBAAgB,KAAK,SAAS;QACjC,CAAC,CAAC,wBAAwB;QAC1B,CAAC,CAAC,YAAY,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,CAAC;AACnE,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type FunctionComponent, useEffect, useRef} from 'react';\nimport {useEditRecordReducer} from '../editRecordReducer/useEditRecordReducer';\nimport RecordSummary from './RecordSummary';\nimport ValuesVersions from './ValuesVersions';\nimport {createPortal} from 'react-dom';\nimport {EditRecordSidebarContentTypeMap, type IEditRecordReducerState} from '../editRecordReducer/editRecordReducer';\nimport {KitSidePanel} from 'aristid-ds';\nimport {type KitSidePanelRef} from 'aristid-ds/dist/Kit/Navigation/SidePanel/types';\nimport {EDIT_RECORD_SIDEBAR_ID} from '_ui/constants';\nimport Breadcrumb from './Breacrumb';\nimport AttributeSummary from './AttributeSummary';\nimport ValuesSummary from './ValuesSummary';\nimport styled from 'styled-components';\nimport {useLang} from '_ui/hooks';\nimport {localizedTranslation} from '@leav/utils';\n\ninterface IEditRecordSidebarProps {\n sidebarContainer?: HTMLElement;\n scrollAllRecordSummary?: boolean;\n}\n\nconst StyledDivContentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: calc(var(--general-spacing-s) * 1px);\n height: 100%;\n`;\n\nconst _getRecordSidebarContent = (state: IEditRecordReducerState, scrollAllRecordSummary: boolean = false) => {\n // TODO: ValuesVersions should be removed or refactored later\n switch (state.sidebarContent) {\n case 'none':\n return null;\n case 'valueDetails':\n return (\n <StyledDivContentWrapper>\n <AttributeSummary attribute={state.activeAttribute.attribute} />\n <ValuesSummary\n record={state.record}\n attributeId={state.activeAttribute.attribute.id}\n globalValues={state.activeAttribute.globalValues}\n calculatedValues={state.activeAttribute.calculatedValues}\n />\n </StyledDivContentWrapper>\n );\n case 'valuesVersions':\n return <ValuesVersions />;\n default:\n return <RecordSummary record={state.record} scrollAll={scrollAllRecordSummary} />;\n }\n};\n\nconst StyledKitSidePanel = styled(KitSidePanel)<{$hideBoxShadow: boolean; $isOpen: boolean}>`\n ${({$hideBoxShadow}) =>\n $hideBoxShadow &&\n `&&& section {\n box-shadow: none;\n }`}\n grid-area: sidebar;\n display: ${({$isOpen}) => ($isOpen ? 'block' : 'none')};\n`;\n\nexport const EditRecordSidebar: FunctionComponent<IEditRecordSidebarProps> = ({\n sidebarContainer,\n scrollAllRecordSummary,\n}) => {\n const {lang} = useLang();\n const {state} = useEditRecordReducer();\n const sidePanelRef = useRef<KitSidePanelRef | null>(null);\n const idCardProps =\n state.sidebarContent === EditRecordSidebarContentTypeMap.VALUE_DETAILS\n ? {title: localizedTranslation(state.activeAttribute?.attribute.label, lang)}\n : undefined;\n\n const editRecordSidebarContent = (\n <StyledKitSidePanel\n ref={sidePanelRef}\n initialOpen={state.isOpenSidebar && state.enableSidebar}\n idCardProps={idCardProps}\n id={EDIT_RECORD_SIDEBAR_ID}\n headerExtra={<Breadcrumb />}\n $hideBoxShadow={!sidebarContainer}\n $isOpen={state.isOpenSidebar}\n >\n {_getRecordSidebarContent(state, scrollAllRecordSummary)}\n </StyledKitSidePanel>\n );\n\n useEffect(() => {\n if (sidePanelRef.current && state.enableSidebar) {\n if (state.isOpenSidebar) {\n sidePanelRef.current.open();\n } else {\n sidePanelRef.current.close();\n }\n }\n }, [state.enableSidebar, state.isOpenSidebar, sidePanelRef.current]);\n\n if (!state.enableSidebar) {\n return null;\n }\n\n return sidebarContainer === undefined\n ? editRecordSidebarContent\n : createPortal(editRecordSidebarContent, sidebarContainer);\n};\n\nexport default EditRecordSidebar;\n"]}
1
+ {"version":3,"file":"EditRecordSidebar.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAyB,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,EAAC,+BAA+B,EAA+B,MAAM,wCAAwC,CAAC;AACrH,OAAO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,CAAC;QACL,CAAC;IACL,CAAC,EAAE,CAAC,KAAK,CAAC,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IAErE,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,gBAAgB,KAAK,SAAS;QACjC,CAAC,CAAC,wBAAwB;QAC1B,CAAC,CAAC,YAAY,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,CAAC;AACnE,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["import {type FunctionComponent, useEffect, useRef} from 'react';\nimport {useEditRecordReducer} from '../editRecordReducer/useEditRecordReducer';\nimport RecordSummary from './RecordSummary';\nimport ValuesVersions from './ValuesVersions';\nimport {createPortal} from 'react-dom';\nimport {EditRecordSidebarContentTypeMap, type IEditRecordReducerState} from '../editRecordReducer/editRecordReducer';\nimport {KitSidePanel} from 'aristid-ds';\nimport {type KitSidePanelRef} from 'aristid-ds/dist/Kit/Navigation/SidePanel/types';\nimport {EDIT_RECORD_SIDEBAR_ID} from '_ui/constants';\nimport Breadcrumb from './Breacrumb';\nimport AttributeSummary from './AttributeSummary';\nimport ValuesSummary from './ValuesSummary';\nimport styled from 'styled-components';\nimport {useLang} from '_ui/hooks';\nimport {localizedTranslation} from '@leav/utils';\n\ninterface IEditRecordSidebarProps {\n sidebarContainer?: HTMLElement;\n scrollAllRecordSummary?: boolean;\n}\n\nconst StyledDivContentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n gap: calc(var(--general-spacing-s) * 1px);\n height: 100%;\n`;\n\nconst _getRecordSidebarContent = (state: IEditRecordReducerState, scrollAllRecordSummary: boolean = false) => {\n // TODO: ValuesVersions should be removed or refactored later\n switch (state.sidebarContent) {\n case 'none':\n return null;\n case 'valueDetails':\n return (\n <StyledDivContentWrapper>\n <AttributeSummary attribute={state.activeAttribute.attribute} />\n <ValuesSummary\n record={state.record}\n attributeId={state.activeAttribute.attribute.id}\n globalValues={state.activeAttribute.globalValues}\n calculatedValues={state.activeAttribute.calculatedValues}\n />\n </StyledDivContentWrapper>\n );\n case 'valuesVersions':\n return <ValuesVersions />;\n default:\n return <RecordSummary record={state.record} scrollAll={scrollAllRecordSummary} />;\n }\n};\n\nconst StyledKitSidePanel = styled(KitSidePanel)<{$hideBoxShadow: boolean; $isOpen: boolean}>`\n ${({$hideBoxShadow}) =>\n $hideBoxShadow &&\n `&&& section {\n box-shadow: none;\n }`}\n grid-area: sidebar;\n display: ${({$isOpen}) => ($isOpen ? 'block' : 'none')};\n`;\n\nexport const EditRecordSidebar: FunctionComponent<IEditRecordSidebarProps> = ({\n sidebarContainer,\n scrollAllRecordSummary,\n}) => {\n const {lang} = useLang();\n const {state} = useEditRecordReducer();\n const sidePanelRef = useRef<KitSidePanelRef | null>(null);\n const idCardProps =\n state.sidebarContent === EditRecordSidebarContentTypeMap.VALUE_DETAILS\n ? {title: localizedTranslation(state.activeAttribute?.attribute.label, lang)}\n : undefined;\n\n const editRecordSidebarContent = (\n <StyledKitSidePanel\n ref={sidePanelRef}\n initialOpen={state.isOpenSidebar && state.enableSidebar}\n idCardProps={idCardProps}\n id={EDIT_RECORD_SIDEBAR_ID}\n headerExtra={<Breadcrumb />}\n $hideBoxShadow={!sidebarContainer}\n $isOpen={state.isOpenSidebar}\n >\n {_getRecordSidebarContent(state, scrollAllRecordSummary)}\n </StyledKitSidePanel>\n );\n\n useEffect(() => {\n if (sidePanelRef.current && state.enableSidebar) {\n if (state.isOpenSidebar) {\n sidePanelRef.current.open();\n } else {\n sidePanelRef.current.close();\n }\n }\n }, [state.enableSidebar, state.isOpenSidebar, sidePanelRef.current]);\n\n if (!state.enableSidebar) {\n return null;\n }\n\n return sidebarContainer === undefined\n ? editRecordSidebarContent\n : createPortal(editRecordSidebarContent, sidebarContainer);\n};\n\nexport default EditRecordSidebar;\n"]}
@@ -1,7 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } 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
2
  import { KitSpace, KitTypography } from 'aristid-ds';
6
3
  export const PropertiesList = ({ items }) => (_jsx(KitSpace, { size: "s", direction: "vertical", children: items.map((item, index) => {
7
4
  const { title, value } = item;
@@ -1 +1 @@
1
- {"version":3,"file":"PropertiesList.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAYnD,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAChF,KAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,UAAU,YAClC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACvB,MAAM,EAAC,KAAK,EAAE,KAAK,EAAC,GAAG,IAAI,CAAC;QAE5B,OAAO,CACH,MAAC,QAAQ,IAAa,IAAI,EAAC,MAAM,EAAC,SAAS,EAAC,UAAU,aAClD,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,YAAE,KAAK,GAAsB,EACjE,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,YAC7C,KAAK,GACW,KAJV,KAAK,CAKT,CACd,CAAC;IACN,CAAC,CAAC,GACK,CACd,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {KitSpace, KitTypography} from 'aristid-ds';\nimport {type FunctionComponent} from 'react';\n\ninterface IPropertiesListItemValue {\n title: string;\n value: string;\n}\n\ninterface IPropertiesListProps {\n items: IPropertiesListItemValue[];\n}\n\nexport const PropertiesList: FunctionComponent<IPropertiesListProps> = ({items}) => (\n <KitSpace size=\"s\" direction=\"vertical\">\n {items.map((item, index) => {\n const {title, value} = item;\n\n return (\n <KitSpace key={index} size=\"none\" direction=\"vertical\">\n <KitTypography.Text size=\"fontSize7\">{title}</KitTypography.Text>\n <KitTypography.Text size=\"fontSize5\" weight=\"bold\">\n {value}\n </KitTypography.Text>\n </KitSpace>\n );\n })}\n </KitSpace>\n);\n\nexport default PropertiesList;\n"]}
1
+ {"version":3,"file":"PropertiesList.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAYnD,MAAM,CAAC,MAAM,cAAc,GAA4C,CAAC,EAAC,KAAK,EAAC,EAAE,EAAE,CAAC,CAChF,KAAC,QAAQ,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,UAAU,YAClC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QACvB,MAAM,EAAC,KAAK,EAAE,KAAK,EAAC,GAAG,IAAI,CAAC;QAE5B,OAAO,CACH,MAAC,QAAQ,IAAa,IAAI,EAAC,MAAM,EAAC,SAAS,EAAC,UAAU,aAClD,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,YAAE,KAAK,GAAsB,EACjE,KAAC,aAAa,CAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,YAC7C,KAAK,GACW,KAJV,KAAK,CAKT,CACd,CAAC;IACN,CAAC,CAAC,GACK,CACd,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["import {KitSpace, KitTypography} from 'aristid-ds';\nimport {type FunctionComponent} from 'react';\n\ninterface IPropertiesListItemValue {\n title: string;\n value: string;\n}\n\ninterface IPropertiesListProps {\n items: IPropertiesListItemValue[];\n}\n\nexport const PropertiesList: FunctionComponent<IPropertiesListProps> = ({items}) => (\n <KitSpace size=\"s\" direction=\"vertical\">\n {items.map((item, index) => {\n const {title, value} = item;\n\n return (\n <KitSpace key={index} size=\"none\" direction=\"vertical\">\n <KitTypography.Text size=\"fontSize7\">{title}</KitTypography.Text>\n <KitTypography.Text size=\"fontSize5\" weight=\"bold\">\n {value}\n </KitTypography.Text>\n </KitSpace>\n );\n })}\n </KitSpace>\n);\n\nexport default PropertiesList;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import PropertiesList from './PropertiesList';
5
2
  export default PropertiesList;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/PropertiesList/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,cAAc,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport PropertiesList from './PropertiesList';\n\nexport default PropertiesList;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/PropertiesList/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,cAAc,CAAC","sourcesContent":["import PropertiesList from './PropertiesList';\n\nexport default PropertiesList;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"RecordInformations.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.tsx"],"names":[],"mappings":";AAMA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAO9D,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAErC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA0C,CAAC,EAAC,MAAM,EAAE,UAAU,EAAC,EAAE,EAAE;IAC9F,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAErE,OAAO,CACH,KAAC,mBAAmB,cAChB,KAAC,cAAc,IAAC,KAAK,EAAE,kBAAkB,GAAI,GAC3B,CACzB,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type FunctionComponent} from 'react';\nimport {type IRecordIdentityWhoAmI} from '_ui/types';\nimport {type GetRecordColumnsValuesRecord} from '_ui/_queries/records/getRecordColumnsValues';\nimport styled from 'styled-components';\nimport PropertiesList from '../../PropertiesList';\nimport {useRecordInformations} from './useRecordInformations';\n\ninterface IInformationsProps {\n record: IRecordIdentityWhoAmI;\n recordData: GetRecordColumnsValuesRecord;\n}\n\nconst InformationsWrapper = styled.div`\n margin-top: calc(var(--general-spacing-s) * 1px);\n`;\n\nexport const RecordInformations: FunctionComponent<IInformationsProps> = ({record, recordData}) => {\n const recordInformations = useRecordInformations(record, recordData);\n\n return (\n <InformationsWrapper>\n <PropertiesList items={recordInformations} />\n </InformationsWrapper>\n );\n};\n"]}
1
+ {"version":3,"file":"RecordInformations.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.tsx"],"names":[],"mappings":";AAGA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,cAAc,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAO9D,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAErC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA0C,CAAC,EAAC,MAAM,EAAE,UAAU,EAAC,EAAE,EAAE;IAC9F,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IAErE,OAAO,CACH,KAAC,mBAAmB,cAChB,KAAC,cAAc,IAAC,KAAK,EAAE,kBAAkB,GAAI,GAC3B,CACzB,CAAC;AACN,CAAC,CAAC","sourcesContent":["import {type FunctionComponent} from 'react';\nimport {type IRecordIdentityWhoAmI} from '_ui/types';\nimport {type GetRecordColumnsValuesRecord} from '_ui/_queries/records/getRecordColumnsValues';\nimport styled from 'styled-components';\nimport PropertiesList from '../../PropertiesList';\nimport {useRecordInformations} from './useRecordInformations';\n\ninterface IInformationsProps {\n record: IRecordIdentityWhoAmI;\n recordData: GetRecordColumnsValuesRecord;\n}\n\nconst InformationsWrapper = styled.div`\n margin-top: calc(var(--general-spacing-s) * 1px);\n`;\n\nexport const RecordInformations: FunctionComponent<IInformationsProps> = ({record, recordData}) => {\n const recordInformations = useRecordInformations(record, recordData);\n\n return (\n <InformationsWrapper>\n <PropertiesList items={recordInformations} />\n </InformationsWrapper>\n );\n};\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
5
2
  import { localizedTranslation } from '@leav/utils';
6
3
  import { useLang } from '../../../../../hooks';
@@ -1 +1 @@
1
- {"version":3,"file":"useRecordInformations.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAOpE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,qEAAqE,CAAC;AAEzG,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAA6B,EAAE,UAAwC,EAAE,EAAE;IAC7G,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,EAAE,CAAC;IACzB,MAAM,EAAC,KAAK,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEvC,MAAM,kBAAkB,GAAG;QACvB;YACI,KAAK,EAAE,CAAC,CAAC,0BAA0B,CAAC;YACpC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,GAAG;SAC3B;QACD;YACI,KAAK,EAAE,CAAC,CAAC,wBAAwB,CAAC;YAClC,KAAK,EAAE,CAAC,CAAC,uBAAuB,EAAE;gBAC9B,MAAM,EAAE,oBAAoB,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC;aACzD,CAAC;SACL;KACJ,CAAC;IAEF,IAAI,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9B,kBAAkB,CAAC,IAAI,CAAC;YACpB,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC;YACnC,KAAK,EAAE,CAAC,CAAC,6BAA6B,EAAE;gBACpC,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAAgC,CAAA,CAAC,OAAO;gBACzE,IAAI,EAAG,UAAU,EAAE,UAAU,EAAE,CAAC,CAAC,CAA4B,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK;gBACvF,aAAa,EAAE,EAAC,WAAW,EAAE,KAAK,EAAC;aACtC,CAAC;SACL,CAAC,CAAC;IACP,CAAC;IAED,IAAI,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/B,kBAAkB,CAAC,IAAI,CAAC;YACpB,KAAK,EAAE,CAAC,CAAC,kCAAkC,CAAC;YAC5C,KAAK,EAAE,CAAC,CAAC,6BAA6B,EAAE;gBACpC,IAAI,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC,CAAgC,CAAA,CAAC,OAAO;gBAC1E,IAAI,EAAG,UAAU,EAAE,WAAW,EAAE,CAAC,CAAC,CAA4B,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK;gBACxF,aAAa,EAAE,EAAC,WAAW,EAAE,KAAK,EAAC;aACtC,CAAC;SACL,CAAC,CAAC;IACP,CAAC;IAED,OAAO,kBAAkB,CAAC;AAC9B,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {\n type GetRecordColumnsValuesRecord,\n type IRecordColumnValueLink,\n type IRecordColumnValueStandard,\n} from '_ui/_queries/records/getRecordColumnsValues';\nimport {type IRecordIdentityWhoAmI} from '_ui/types';\nimport {localizedTranslation} from '@leav/utils';\nimport {useLang} from '_ui/hooks';\nimport {useEditRecordReducer} from '_ui/components/RecordEdition/editRecordReducer/useEditRecordReducer';\n\nexport const useRecordInformations = (record: IRecordIdentityWhoAmI, recordData: GetRecordColumnsValuesRecord) => {\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const {state} = useEditRecordReducer();\n\n const recordInformations = [\n {\n title: t('record_summary.id_entity'),\n value: record?.id ?? '-',\n },\n {\n title: t('record_summary.library'),\n value: t('record_summary.entity', {\n entity: localizedTranslation(state.libraryLabel, lang),\n }),\n },\n ];\n\n if (recordData?.created_at?.[0]) {\n recordInformations.push({\n title: t('record_summary.creation'),\n value: t('record_summary.date_by_user', {\n date: (recordData?.created_at?.[0] as IRecordColumnValueStandard).payload,\n user: (recordData?.created_by?.[0] as IRecordColumnValueLink)?.linkValue?.whoAmI?.label,\n interpolation: {escapeValue: false},\n }),\n });\n }\n\n if (recordData?.modified_at?.[0]) {\n recordInformations.push({\n title: t('record_summary.last_modification'),\n value: t('record_summary.date_by_user', {\n date: (recordData?.modified_at?.[0] as IRecordColumnValueStandard).payload,\n user: (recordData?.modified_by?.[0] as IRecordColumnValueLink)?.linkValue?.whoAmI?.label,\n interpolation: {escapeValue: false},\n }),\n });\n }\n\n return recordInformations;\n};\n"]}
1
+ {"version":3,"file":"useRecordInformations.js","sourceRoot":"","sources":["../../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAOpE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,oBAAoB,EAAC,MAAM,qEAAqE,CAAC;AAEzG,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAA6B,EAAE,UAAwC,EAAE,EAAE;IAC7G,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,IAAI,EAAC,GAAG,OAAO,EAAE,CAAC;IACzB,MAAM,EAAC,KAAK,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEvC,MAAM,kBAAkB,GAAG;QACvB;YACI,KAAK,EAAE,CAAC,C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,CAAC","sourcesContent":["import {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {\n type GetRecordColumnsValuesRecord,\n type IRecordColumnValueLink,\n type IRecordColumnValueStandard,\n} from '_ui/_queries/records/getRecordColumnsValues';\nimport {type IRecordIdentityWhoAmI} from '_ui/types';\nimport {localizedTranslation} from '@leav/utils';\nimport {useLang} from '_ui/hooks';\nimport {useEditRecordReducer} from '_ui/components/RecordEdition/editRecordReducer/useEditRecordReducer';\n\nexport const useRecordInformations = (record: IRecordIdentityWhoAmI, recordData: GetRecordColumnsValuesRecord) => {\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const {state} = useEditRecordReducer();\n\n const recordInformations = [\n {\n title: t('record_summary.id_entity'),\n value: record?.id ?? '-',\n },\n {\n title: t('record_summary.library'),\n value: t('record_summary.entity', {\n entity: localizedTranslation(state.libraryLabel, lang),\n }),\n },\n ];\n\n if (recordData?.created_at?.[0]) {\n recordInformations.push({\n title: t('record_summary.creation'),\n value: t('record_summary.date_by_user', {\n date: (recordData?.created_at?.[0] as IRecordColumnValueStandard).payload,\n user: (recordData?.created_by?.[0] as IRecordColumnValueLink)?.linkValue?.whoAmI?.label,\n interpolation: {escapeValue: false},\n }),\n });\n }\n\n if (recordData?.modified_at?.[0]) {\n recordInformations.push({\n title: t('record_summary.last_modification'),\n value: t('record_summary.date_by_user', {\n date: (recordData?.modified_at?.[0] as IRecordColumnValueStandard).payload,\n user: (recordData?.modified_by?.[0] as IRecordColumnValueLink)?.linkValue?.whoAmI?.label,\n interpolation: {escapeValue: false},\n }),\n });\n }\n\n return recordInformations;\n};\n"]}
@@ -1,7 +1,4 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } 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
2
  import { useGetRecordValuesQuery } from '../../../../hooks/useGetRecordValuesQuery/useGetRecordValuesQuery';
6
3
  import { KitAlert, KitButton, KitDivider, KitEmpty, KitSkeleton, KitTypography } from 'aristid-ds';
7
4
  import { RecordInformations } from './RecordInformations/RecordInformations';
@@ -1 +1 @@
1
- {"version":3,"file":"RecordSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,uBAAuB,EAAC,MAAM,mEAAmE,CAAC;AAE1G,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAY,WAAW,EAAW,aAAa,EAAC,MAAM,YAAY,CAAC;AACpH,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;AACnE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,uBAAuB,MAAM,sDAAsD,CAAC;AAO3F,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA2C,CAAC,EAAC,MAAM,EAAE,SAAS,EAAC,EAAE,EAAE;IACzF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAC,GAAG,uBAAuB,CAC3D,MAAM,EAAE,OAAO,EAAE,EAAE,EACnB,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,CAAC,EAC1D,CAAC,MAAM,EAAE,EAAE,CAA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ACJ,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useGetRecordValuesQuery} from '../../../../hooks/useGetRecordValuesQuery/useGetRecordValuesQuery';\nimport {type IRecordIdentityWhoAmI} from '../../../../types/records';\nimport {KitAlert, KitButton, KitDivider, KitEmpty, KitError, KitSkeleton, KitTabs, KitTypography} from 'aristid-ds';\nimport {RecordInformations} from './RecordInformations/RecordInformations';\nimport {type FunctionComponent} from 'react';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faRotateRight} from '@fortawesome/free-solid-svg-icons';\nimport {RecordHistory} from '../../../RecordHistory/RecordHistory';\nimport styled from 'styled-components';\nimport RecordHistoryGoUpButton from '_ui/components/RecordHistory/RecordHistoryGoUpButton';\n\ninterface IRecordSummaryProps {\n record: IRecordIdentityWhoAmI | null;\n scrollAll?: boolean;\n}\n\nconst StyledDivContentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n`;\n\nexport const RecordSummary: FunctionComponent<IRecordSummaryProps> = ({record, scrollAll}) => {\n const {t} = useSharedTranslation();\n const {loading, error, data, refetch} = useGetRecordValuesQuery(\n record?.library?.id,\n ['created_at', 'created_by', 'modified_at', 'modified_by'],\n [record?.id],\n );\n\n if (loading) {\n return (\n <span data-testid=\"record-summary-skeleton\">\n <KitSkeleton.KitItemCardSkeleton />\n </span>\n );\n }\n\n if (error) {\n return (\n <>\n <KitAlert\n type=\"error\"\n message={t('record_summary.error.title')}\n description={t('record_summary.error.description')}\n details={error.message}\n customContent={\n record?.id && (\n <KitButton\n onClick={() => refetch([record?.id])}\n type=\"action\"\n icon={<FontAwesomeIcon icon={faRotateRight} />}\n danger\n >\n {t('record_summary.error.refresh')}\n </KitButton>\n )\n }\n />\n <KitEmpty image={KitEmpty.ASSET_TASKS_ERROR} />\n </>\n );\n }\n\n return (\n <StyledDivContentWrapper>\n <RecordHistoryGoUpButton disabled={!scrollAll}>\n <KitTypography.Text weight=\"bold\">{t('record_summary.informations')}</KitTypography.Text>\n <RecordInformations record={record} recordData={data?.[record?.id]} />\n <KitDivider />\n <KitTypography.Text weight=\"bold\">{t('record_summary.history')}</KitTypography.Text>\n {record && <RecordHistory record={record} noScroll={scrollAll} />}\n </RecordHistoryGoUpButton>\n </StyledDivContentWrapper>\n );\n};\n\nexport default RecordSummary;\n"]}
1
+ {"version":3,"file":"RecordSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,mEAAmE,CAAC;AAE1G,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAY,WAAW,EAAW,aAAa,EAAC,MAAM,YAAY,CAAC;AACpH,OAAO,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AAE3E,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;AACnE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,uBAAuB,MAAM,sDAAsD,CAAC;AAO3F,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAA2C,CAAC,EAAC,MAAM,EAAE,SAAS,EAAC,EAAE,EAAE;IACzF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,OAAO,EAA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ACd,KAAC,aAAa,CAAC,IAAI,IAAC,MAAM,EAAC,MAAM,YAAE,CAAC,CAAC,wBAAwB,CAAC,GAAsB,EACnF,MAAM,IAAI,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,GAAI,IAC3C,GACJ,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import {useGetRecordValuesQuery} from '../../../../hooks/useGetRecordValuesQuery/useGetRecordValuesQuery';\nimport {type IRecordIdentityWhoAmI} from '../../../../types/records';\nimport {KitAlert, KitButton, KitDivider, KitEmpty, KitError, KitSkeleton, KitTabs, KitTypography} from 'aristid-ds';\nimport {RecordInformations} from './RecordInformations/RecordInformations';\nimport {type FunctionComponent} from 'react';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faRotateRight} from '@fortawesome/free-solid-svg-icons';\nimport {RecordHistory} from '../../../RecordHistory/RecordHistory';\nimport styled from 'styled-components';\nimport RecordHistoryGoUpButton from '_ui/components/RecordHistory/RecordHistoryGoUpButton';\n\ninterface IRecordSummaryProps {\n record: IRecordIdentityWhoAmI | null;\n scrollAll?: boolean;\n}\n\nconst StyledDivContentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n`;\n\nexport const RecordSummary: FunctionComponent<IRecordSummaryProps> = ({record, scrollAll}) => {\n const {t} = useSharedTranslation();\n const {loading, error, data, refetch} = useGetRecordValuesQuery(\n record?.library?.id,\n ['created_at', 'created_by', 'modified_at', 'modified_by'],\n [record?.id],\n );\n\n if (loading) {\n return (\n <span data-testid=\"record-summary-skeleton\">\n <KitSkeleton.KitItemCardSkeleton />\n </span>\n );\n }\n\n if (error) {\n return (\n <>\n <KitAlert\n type=\"error\"\n message={t('record_summary.error.title')}\n description={t('record_summary.error.description')}\n details={error.message}\n customContent={\n record?.id && (\n <KitButton\n onClick={() => refetch([record?.id])}\n type=\"action\"\n icon={<FontAwesomeIcon icon={faRotateRight} />}\n danger\n >\n {t('record_summary.error.refresh')}\n </KitButton>\n )\n }\n />\n <KitEmpty image={KitEmpty.ASSET_TASKS_ERROR} />\n </>\n );\n }\n\n return (\n <StyledDivContentWrapper>\n <RecordHistoryGoUpButton disabled={!scrollAll}>\n <KitTypography.Text weight=\"bold\">{t('record_summary.informations')}</KitTypography.Text>\n <RecordInformations record={record} recordData={data?.[record?.id]} />\n <KitDivider />\n <KitTypography.Text weight=\"bold\">{t('record_summary.history')}</KitTypography.Text>\n {record && <RecordHistory record={record} noScroll={scrollAll} />}\n </RecordHistoryGoUpButton>\n </StyledDivContentWrapper>\n );\n};\n\nexport default RecordSummary;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import RecordSummary from './RecordSummary';
5
2
  export default RecordSummary;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,eAAe,aAAa,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport RecordSummary from './RecordSummary';\n\nexport default RecordSummary;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/RecordSummary/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,eAAe,aAAa,CAAC","sourcesContent":["import RecordSummary from './RecordSummary';\n\nexport default RecordSummary;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ValuesSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAC,MAAM,YAAY,CAAC;AACtD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAChF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;AAEnE,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAErC,CAAC;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzC,CAAC;AASF,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAC/B,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B,8FAA8F;AAC9F,MAAM,SAAS,GAAG,CAAC,IAAY,EAAU,EAAE;IACvC,MAAM,GAAG,GAAG,IAAI,SAAS,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IAC/D,OAAO,GAAG,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,KAAU,EAAuC,EAAE,CAC1E,CAAC,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,CAAC;AAE7E,MAAM,CAAC,MAAM,aAAa,GAA2C,CAAC,EAClE,MAAM,EACN,WAAW,EACX,YAAY,GAAG,EAAE,EACjB,gBAAgB,GAAG,EAAE,GACxB,EAAE,EAAE;IACD,MAAM,E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EAAE,GAAG,cAAc,IAAI,KAAK,EAAE;4CACjC,KAAK,EAAE,KAAK;yCACf,CAAC,CAAC;wCACL,CAAC,CAAC;4CACI;gDACI,GAAG,EAAE,GAAG,cAAc,IAAI,CAAC,EAAE;gDAC7B,KAAK,EAAE,sBAAI,CAAC,CAAC,yBAAyB,CAAC,GAAK;6CAC/C;yCACJ;iCACd;6BACJ,GACH,GACgB,CACzB;iBACJ;gBACD;oBACI,GAAG,EAAE,SAAS;oBACd,KAAK,EAAE,CAAC,CAAC,wBAAwB,CAAC;oBAClC,UAAU,EAAE,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI;iBAC1E;aACJ,GACH,GACoB,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type FunctionComponent} from 'react';\nimport {type RecordFormElementsValueStandardValue} from '_ui/hooks/useGetRecordForm';\nimport {KitBadge, KitTabs, KitTree} from 'aristid-ds';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faLayerGroup, faSquareRootAlt} from '@fortawesome/free-solid-svg-icons';\nimport styled from 'styled-components';\nimport {type IRecordIdentityWhoAmI} from '_ui/types';\nimport {RecordHistory} from '../../../RecordHistory/RecordHistory';\n\nconst InformationsWrapper = styled.div`\n margin-top: calc(var(--general-spacing-s) * 1px);\n`;\n\nconst StyledDivContentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n`;\n\ninterface IValuesSummaryProps {\n record: IRecordIdentityWhoAmI | null;\n attributeId: string;\n globalValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n calculatedValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n}\n\nconst calculatedValueKey = '0';\nconst globalValueKey = '1';\n\n// https://stackoverflow.com/questions/822452/strip-html-tags-from-text-using-plain-javascript\nconst stripHtml = (html: string): string => {\n const doc = new DOMParser().parseFromString(html, 'text/html');\n return doc.body.textContent || '';\n};\n\nconst _isDateRangeValue = (value: any): value is {from: string; to: string} =>\n !!value && typeof value === 'object' && 'from' in value && 'to' in value;\n\nexport const ValuesSummary: FunctionComponent<IValuesSummaryProps> = ({\n record,\n attributeId,\n globalValues = [],\n calculatedValues = [],\n}) => {\n const {t} = useSharedTranslation();\n\n const stringifyValue = (value: RecordFormElementsValueStandardValue['payload']): string => {\n if (typeof value === 'string') {\n return stripHtml(value);\n }\n\n if (typeof value === 'boolean') {\n return value ? t('global.yes') : t('global.no');\n }\n\n if (_isDateRangeValue(value)) {\n return t('record_edition.date_range_value', {\n from: value.from,\n to: value.to,\n interpolation: {\n escapeValue: false,\n },\n });\n }\n\n return value;\n };\n\n const stripedGlobalValues = globalValues.map(stringifyValue);\n const stripedCalculatedValues = calculatedValues.map(stringifyValue);\n\n return (\n <StyledDivContentWrapper>\n <KitTabs\n items={[\n {\n key: 'version_values',\n label: t('record_summary.values_version'),\n tabContent: (\n <InformationsWrapper>\n <KitTree\n defaultExpandAll\n selectedKeys={\n calculatedValues.length > 0 && globalValues.length === 0\n ? [calculatedValueKey]\n : [globalValueKey]\n }\n treeData={[\n {\n key: calculatedValueKey,\n title: (\n <div\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n }}\n >\n <span>\n <FontAwesomeIcon icon={faSquareRootAlt} />{' '}\n {t('record_summary.calculated_value')}\n </span>\n <KitBadge count={stripedCalculatedValues.length} color=\"primary\" />\n </div>\n ),\n children:\n stripedCalculatedValues.length > 0\n ? stripedCalculatedValues.map((calculatedValue, index) => ({\n key: `${calculatedValueKey}-${index}`,\n title: calculatedValue,\n }))\n : [\n {\n key: `${calculatedValueKey}-${0}`,\n title: <i>{t('record_summary.no_value')}</i>,\n },\n ],\n },\n {\n key: globalValueKey,\n title: (\n <div\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n }}\n >\n <span>\n <FontAwesomeIcon icon={faLayerGroup} />{' '}\n {t('record_summary.global')}\n </span>\n <KitBadge count={stripedGlobalValues.length} color=\"primary\" />\n </div>\n ),\n children:\n stripedGlobalValues.length > 0\n ? stripedGlobalValues.map((value, index) => ({\n key: `${globalValueKey}-${index}`,\n title: value,\n }))\n : [\n {\n key: `${globalValueKey}-${0}`,\n title: <i>{t('record_summary.no_value')}</i>,\n },\n ],\n },\n ]}\n />\n </InformationsWrapper>\n ),\n },\n {\n key: 'history',\n label: t('record_summary.history'),\n tabContent: <RecordHistory record={record} attributeId={attributeId} />,\n },\n ]}\n />\n </StyledDivContentWrapper>\n );\n};\n\nexport default ValuesSummary;\n"]}
1
+ {"version":3,"file":"ValuesSummary.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAC,MAAM,YAAY,CAAC;AACtD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,mCAAmC,CAAC;AAChF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,aAAa,EAAC,MAAM,sCAAsC,CAAC;AAEnE,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAErC,CAAC;AAEF,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAIzC,CAAC;AASF,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAC/B,MAAM,cAAc,GAAG,GAAG,CAAC;AAE3B,8FAA8F;AAC9F,MAAM,SAAS,GAAG,CAAC,IAAY,EAAU,EAAE;IACvC,MA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AE,CACH,eACI,KAAK,EAAE;4CACH,OAAO,EAAE,MAAM;4CACf,UAAU,EAAE,QAAQ;4CACpB,cAAc,EAAE,eAAe;yCAClC,aAED,2BACI,KAAC,eAAe,IAAC,IAAI,EAAE,YAAY,GAAI,EAAC,GAAG,EAC1C,CAAC,CAAC,uBAAuB,CAAC,IACxB,EACP,KAAC,QAAQ,IAAC,KAAK,EAAE,mBAAmB,CAAC,MAAM,EAAE,KAAK,EAAC,SAAS,GAAG,IAC7D,CACT;oCACD,QAAQ,EACJ,mBAAmB,CAAC,MAAM,GAAG,CAAC;wCAC1B,CAAC,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;4CACvC,GAAG,EAAE,GAAG,cAAc,IAAI,KAAK,EAAE;4CACjC,KAAK,EAAE,KAAK;yCACf,CAAC,CAAC;wCACL,CAAC,CAAC;4CACI;gDACI,GAAG,EAAE,GAAG,cAAc,IAAI,CAAC,EAAE;gDAC7B,KAAK,EAAE,sBAAI,CAAC,CAAC,yBAAyB,CAAC,GAAK;6CAC/C;yCACJ;iCACd;6BACJ,GACH,GACgB,CACzB;iBACJ;gBACD;oBACI,GAAG,EAAE,SAAS;oBACd,KAAK,EAAE,CAAC,CAAC,wBAAwB,CAAC;oBAClC,UAAU,EAAE,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI;iBAC1E;aACJ,GACH,GACoB,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import {type FunctionComponent} from 'react';\nimport {type RecordFormElementsValueStandardValue} from '_ui/hooks/useGetRecordForm';\nimport {KitBadge, KitTabs, KitTree} from 'aristid-ds';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faLayerGroup, faSquareRootAlt} from '@fortawesome/free-solid-svg-icons';\nimport styled from 'styled-components';\nimport {type IRecordIdentityWhoAmI} from '_ui/types';\nimport {RecordHistory} from '../../../RecordHistory/RecordHistory';\n\nconst InformationsWrapper = styled.div`\n margin-top: calc(var(--general-spacing-s) * 1px);\n`;\n\nconst StyledDivContentWrapper = styled.div`\n display: flex;\n flex-direction: column;\n height: 100%;\n`;\n\ninterface IValuesSummaryProps {\n record: IRecordIdentityWhoAmI | null;\n attributeId: string;\n globalValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n calculatedValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n}\n\nconst calculatedValueKey = '0';\nconst globalValueKey = '1';\n\n// https://stackoverflow.com/questions/822452/strip-html-tags-from-text-using-plain-javascript\nconst stripHtml = (html: string): string => {\n const doc = new DOMParser().parseFromString(html, 'text/html');\n return doc.body.textContent || '';\n};\n\nconst _isDateRangeValue = (value: any): value is {from: string; to: string} =>\n !!value && typeof value === 'object' && 'from' in value && 'to' in value;\n\nexport const ValuesSummary: FunctionComponent<IValuesSummaryProps> = ({\n record,\n attributeId,\n globalValues = [],\n calculatedValues = [],\n}) => {\n const {t} = useSharedTranslation();\n\n const stringifyValue = (value: RecordFormElementsValueStandardValue['payload']): string => {\n if (typeof value === 'string') {\n return stripHtml(value);\n }\n\n if (typeof value === 'boolean') {\n return value ? t('global.yes') : t('global.no');\n }\n\n if (_isDateRangeValue(value)) {\n return t('record_edition.date_range_value', {\n from: value.from,\n to: value.to,\n interpolation: {\n escapeValue: false,\n },\n });\n }\n\n return value;\n };\n\n const stripedGlobalValues = globalValues.map(stringifyValue);\n const stripedCalculatedValues = calculatedValues.map(stringifyValue);\n\n return (\n <StyledDivContentWrapper>\n <KitTabs\n items={[\n {\n key: 'version_values',\n label: t('record_summary.values_version'),\n tabContent: (\n <InformationsWrapper>\n <KitTree\n defaultExpandAll\n selectedKeys={\n calculatedValues.length > 0 && globalValues.length === 0\n ? [calculatedValueKey]\n : [globalValueKey]\n }\n treeData={[\n {\n key: calculatedValueKey,\n title: (\n <div\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n }}\n >\n <span>\n <FontAwesomeIcon icon={faSquareRootAlt} />{' '}\n {t('record_summary.calculated_value')}\n </span>\n <KitBadge count={stripedCalculatedValues.length} color=\"primary\" />\n </div>\n ),\n children:\n stripedCalculatedValues.length > 0\n ? stripedCalculatedValues.map((calculatedValue, index) => ({\n key: `${calculatedValueKey}-${index}`,\n title: calculatedValue,\n }))\n : [\n {\n key: `${calculatedValueKey}-${0}`,\n title: <i>{t('record_summary.no_value')}</i>,\n },\n ],\n },\n {\n key: globalValueKey,\n title: (\n <div\n style={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n }}\n >\n <span>\n <FontAwesomeIcon icon={faLayerGroup} />{' '}\n {t('record_summary.global')}\n </span>\n <KitBadge count={stripedGlobalValues.length} color=\"primary\" />\n </div>\n ),\n children:\n stripedGlobalValues.length > 0\n ? stripedGlobalValues.map((value, index) => ({\n key: `${globalValueKey}-${index}`,\n title: value,\n }))\n : [\n {\n key: `${globalValueKey}-${0}`,\n title: <i>{t('record_summary.no_value')}</i>,\n },\n ],\n },\n ]}\n />\n </InformationsWrapper>\n ),\n },\n {\n key: 'history',\n label: t('record_summary.history'),\n tabContent: <RecordHistory record={record} attributeId={attributeId} />,\n },\n ]}\n />\n </StyledDivContentWrapper>\n );\n};\n\nexport default ValuesSummary;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import ValuesSummary from './ValuesSummary';
5
2
  export default ValuesSummary;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,eAAe,aAAa,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport ValuesSummary from './ValuesSummary';\n\nexport default ValuesSummary;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,eAAe,aAAa,CAAC","sourcesContent":["import ValuesSummary from './ValuesSummary';\n\nexport default ValuesSummary;\n"]}
@@ -1,7 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } 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
2
  import { CloseOutlined } from '@ant-design/icons';
6
3
  import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
7
4
  import { faUndo } from '@fortawesome/free-solid-svg-icons';
@@ -1 +1 @@
1
- {"version":3,"file":"ValuesVersions.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AACzD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAC,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sB,CAAC,GAAQ,EACxC,2BACK,CAAC,YAAY,IAAI,CACd,KAAC,WAAW,IACR,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAChC,KAAK,EAAC,QAAQ,EACd,QAAQ,QACR,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,MAAM,GAAI,EACvC,OAAO,EAAE,iBAAiB,GAC5B,CACL,EACD,KAAC,WAAW,IAAC,OAAO,EAAE,iBAAiB,GAAI,IACxC,IACF,EACT,KAAC,yBAAyB,IACtB,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,eAAe,EAAE,KAAK,CAAC,aAAa,EACpC,eAAe,EAAE,oBAAoB,EACrC,QAAQ,EAAE,YAAY,GACxB,IACI,CACb,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {CloseOutlined} from '@ant-design/icons';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faUndo} from '@fortawesome/free-solid-svg-icons';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {themeVars} from '../../../../antdTheme';\nimport {type IValueVersion} from '../../../../types/values';\nimport {BasicButton} from '../../../BasicButton';\nimport ValuesVersionConfigurator from '../../../ValuesVersionConfigurator';\nimport {EditRecordReducerActionsTypes} from '../../editRecordReducer/editRecordReducer';\nimport {useEditRecordReducer} from '../../editRecordReducer/useEditRecordReducer';\n\nconst Wrapper = styled.div`\n display: grid;\n grid-template-rows: 3em 1fr 3em;\n height: 100%;\n`;\n\nconst Header = styled.div`\n background-color: ${themeVars.headerBg};\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.3rem 0.3rem 0.3rem 1rem;\n font-weight: 700;\n border-bottom: 1px solid ${themeVars.borderLightColor};\n`;\n\nconst CloseButton = styled(CloseOutlined)`\n cursor: pointer;\n background: none;\n box-shadow: none;\n margin: 0.5rem;\n`;\n\nfunction ValuesVersions(): JSX.Element {\n const {t} = useSharedTranslation();\n const {state, dispatch} = useEditRecordReducer();\n const isInCreation = !state?.record;\n\n const _handleVersionChange = (version: IValueVersion) => {\n dispatch({\n type: EditRecordReducerActionsTypes.SET_VALUES_VERSION,\n valuesVersion: version,\n });\n };\n\n const _handleClosePanel = () => {\n dispatch({\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN,\n isOpen: !state.isOpenSidebar,\n });\n };\n\n const _handleClickReset = () => {\n dispatch({\n type: EditRecordReducerActionsTypes.SET_VALUES_VERSION,\n valuesVersion: state.originValuesVersion,\n });\n };\n\n return (\n <Wrapper>\n <Header>\n <span>{t('values_version.title')}</span>\n <span>\n {!isInCreation && (\n <BasicButton\n title={t('values_version.reset')}\n shape=\"circle\"\n centered\n icon={<FontAwesomeIcon icon={faUndo} />}\n onClick={_handleClickReset}\n />\n )}\n <CloseButton onClick={_handleClosePanel} />\n </span>\n </Header>\n <ValuesVersionConfigurator\n libraryId={state.libraryId}\n selectedVersion={state.valuesVersion}\n onVersionChange={_handleVersionChange}\n readOnly={isInCreation}\n />\n </Wrapper>\n );\n}\n\nexport default ValuesVersions;\n"]}
1
+ {"version":3,"file":"ValuesVersions.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,MAAM,EAAC,MAAM,mCAAmC,CAAC;AACzD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAC,WAA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CAAC,GAAQ,EACxC,2BACK,CAAC,YAAY,IAAI,CACd,KAAC,WAAW,IACR,KAAK,EAAE,CAAC,CAAC,sBAAsB,CAAC,EAChC,KAAK,EAAC,QAAQ,EACd,QAAQ,QACR,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,MAAM,GAAI,EACvC,OAAO,EAAE,iBAAiB,GAC5B,CACL,EACD,KAAC,WAAW,IAAC,OAAO,EAAE,iBAAiB,GAAI,IACxC,IACF,EACT,KAAC,yBAAyB,IACtB,SAAS,EAAE,KAAK,CAAC,SAAS,EAC1B,eAAe,EAAE,KAAK,CAAC,aAAa,EACpC,eAAe,EAAE,oBAAoB,EACrC,QAAQ,EAAE,YAAY,GACxB,IACI,CACb,CAAC;AACN,CAAC;AAED,eAAe,cAAc,CAAC","sourcesContent":["import {CloseOutlined} from '@ant-design/icons';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport {faUndo} from '@fortawesome/free-solid-svg-icons';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {themeVars} from '../../../../antdTheme';\nimport {type IValueVersion} from '../../../../types/values';\nimport {BasicButton} from '../../../BasicButton';\nimport ValuesVersionConfigurator from '../../../ValuesVersionConfigurator';\nimport {EditRecordReducerActionsTypes} from '../../editRecordReducer/editRecordReducer';\nimport {useEditRecordReducer} from '../../editRecordReducer/useEditRecordReducer';\n\nconst Wrapper = styled.div`\n display: grid;\n grid-template-rows: 3em 1fr 3em;\n height: 100%;\n`;\n\nconst Header = styled.div`\n background-color: ${themeVars.headerBg};\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.3rem 0.3rem 0.3rem 1rem;\n font-weight: 700;\n border-bottom: 1px solid ${themeVars.borderLightColor};\n`;\n\nconst CloseButton = styled(CloseOutlined)`\n cursor: pointer;\n background: none;\n box-shadow: none;\n margin: 0.5rem;\n`;\n\nfunction ValuesVersions(): JSX.Element {\n const {t} = useSharedTranslation();\n const {state, dispatch} = useEditRecordReducer();\n const isInCreation = !state?.record;\n\n const _handleVersionChange = (version: IValueVersion) => {\n dispatch({\n type: EditRecordReducerActionsTypes.SET_VALUES_VERSION,\n valuesVersion: version,\n });\n };\n\n const _handleClosePanel = () => {\n dispatch({\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN,\n isOpen: !state.isOpenSidebar,\n });\n };\n\n const _handleClickReset = () => {\n dispatch({\n type: EditRecordReducerActionsTypes.SET_VALUES_VERSION,\n valuesVersion: state.originValuesVersion,\n });\n };\n\n return (\n <Wrapper>\n <Header>\n <span>{t('values_version.title')}</span>\n <span>\n {!isInCreation && (\n <BasicButton\n title={t('values_version.reset')}\n shape=\"circle\"\n centered\n icon={<FontAwesomeIcon icon={faUndo} />}\n onClick={_handleClickReset}\n />\n )}\n <CloseButton onClick={_handleClosePanel} />\n </span>\n </Header>\n <ValuesVersionConfigurator\n libraryId={state.libraryId}\n selectedVersion={state.valuesVersion}\n onVersionChange={_handleVersionChange}\n readOnly={isInCreation}\n />\n </Wrapper>\n );\n}\n\nexport default ValuesVersions;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import ValuesVersions from './ValuesVersions';
5
2
  export default ValuesVersions;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,cAAc,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport ValuesVersions from './ValuesVersions';\n\nexport default ValuesVersions;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,eAAe,cAAc,CAAC","sourcesContent":["import ValuesVersions from './ValuesVersions';\n\nexport default ValuesVersions;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import EditRecordSidebar from './EditRecordSidebar';
5
2
  export default EditRecordSidebar;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSidebar/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,eAAe,iBAAiB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport EditRecordSidebar from './EditRecordSidebar';\n\nexport default EditRecordSidebar;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,eAAe,iBAAiB,CAAC","sourcesContent":["import EditRecordSidebar from './EditRecordSidebar';\n\nexport default EditRecordSidebar;\n"]}
@@ -1,7 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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
2
  import { Divider, Skeleton } from 'antd';
6
3
  const EditRecordSkeleton = ({ rows }) => {
7
4
  const rowsArray = Array(rows)
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecordSkeleton.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,MAAM,CAAC;AAMvC,MAAM,kBAAkB,GAAG,CAAC,EAAC,IAAI,EAA2B,EAAe,EAAE;IACzE,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC;SACxB,IAAI,CAAC,EAAE,CAAC;SACR,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAEtB,OAAO,CACH,4BACK,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CACjB,8BAA0B,sBAAsB,aAC5C,KAAC,QAAQ,CAAC,KAAK,IAAC,MAAM,QAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAI,EAC9E,KAAC,QAAQ,CAAC,KAAK,IAAC,MAAM,QAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAI,EAC9E,KAAC,OAAO,KAAG,KAHL,EAAE,CAIN,CACT,CAAC,GACH,CACN,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {Divider, Skeleton} from 'antd';\n\ninterface IEditRecordSkeletonProps {\n rows: number;\n}\n\nconst EditRecordSkeleton = ({rows}: IEditRecordSkeletonProps): JSX.Element => {\n const rowsArray = Array(rows)\n .fill('')\n .map((_, i) => i);\n\n return (\n <>\n {rowsArray.map(el => (\n <div key={el} data-testid=\"edit-record-skeleton\">\n <Skeleton.Input active size=\"large\" style={{width: 100, margin: '0 .5rem'}} />\n <Skeleton.Input active size=\"large\" style={{width: 450, margin: '0 .5rem'}} />\n <Divider />\n </div>\n ))}\n </>\n );\n};\n\nexport default EditRecordSkeleton;\n"]}
1
+ {"version":3,"file":"EditRecordSkeleton.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,MAAM,CAAC;AAMvC,MAAM,kBAAkB,GAAG,CAAC,EAAC,IAAI,EAA2B,EAAe,EAAE;IACzE,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC;SACxB,IAAI,CAAC,EAAE,CAAC;SACR,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IAEtB,OAAO,CACH,4BACK,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CACjB,8BAA0B,sBAAsB,aAC5C,KAAC,QAAQ,CAAC,KAAK,IAAC,MAAM,QAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAI,EAC9E,KAAC,QAAQ,CAAC,KAAK,IAAC,MAAM,QAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAI,EAC9E,KAAC,OAAO,KAAG,KAHL,EAAE,CAIN,CACT,CAAC,GACH,CACN,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import {Divider, Skeleton} from 'antd';\n\ninterface IEditRecordSkeletonProps {\n rows: number;\n}\n\nconst EditRecordSkeleton = ({rows}: IEditRecordSkeletonProps): JSX.Element => {\n const rowsArray = Array(rows)\n .fill('')\n .map((_, i) => i);\n\n return (\n <>\n {rowsArray.map(el => (\n <div key={el} data-testid=\"edit-record-skeleton\">\n <Skeleton.Input active size=\"large\" style={{width: 100, margin: '0 .5rem'}} />\n <Skeleton.Input active size=\"large\" style={{width: 450, margin: '0 .5rem'}} />\n <Divider />\n </div>\n ))}\n </>\n );\n};\n\nexport default EditRecordSkeleton;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import EditRecordSkeleton from './EditRecordSkeleton';
5
2
  export default EditRecordSkeleton;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSkeleton/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,eAAe,kBAAkB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport EditRecordSkeleton from './EditRecordSkeleton';\n\nexport default EditRecordSkeleton;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordSkeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,eAAe,kBAAkB,CAAC","sourcesContent":["import EditRecordSkeleton from './EditRecordSkeleton';\n\nexport default EditRecordSkeleton;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/RecordEdition/_types.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nexport type SubmitButtonsName = 'create' | 'createAndEdit' | 'closeCancel';\nexport type PossibleSubmitButtons = SubmitButtonsName[];\n"]}
1
+ {"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/RecordEdition/_types.ts"],"names":[],"mappings":"","sourcesContent":["export type SubmitButtonsName = 'create' | 'createAndEdit' | 'closeCancel';\nexport type PossibleSubmitButtons = SubmitButtonsName[];\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  export const EDIT_RECORD_SIDEBAR_TOGGLE_BUTON_ID = 'edit-record-side-bar-toggle-button';
5
2
  export const EDIT_RECORD_MODAL_HEADER_CONTAINER_BUTTONS = 'edit-record-modal-header-container-buttons';
6
3
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/RecordEdition/constants.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,mCAAmC,GAAG,oCAAoC,CAAC;AAExF,MAAM,CAAC,MAAM,0CAA0C,GAAG,4CAA4C,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nexport const EDIT_RECORD_SIDEBAR_TOGGLE_BUTON_ID = 'edit-record-side-bar-toggle-button';\n\nexport const EDIT_RECORD_MODAL_HEADER_CONTAINER_BUTTONS = 'edit-record-modal-header-container-buttons';\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/RecordEdition/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mCAAmC,GAAG,oCAAoC,CAAC;AAExF,MAAM,CAAC,MAAM,0CAA0C,GAAG,4CAA4C,CAAC","sourcesContent":["export const EDIT_RECORD_SIDEBAR_TOGGLE_BUTON_ID = 'edit-record-side-bar-toggle-button';\n\nexport const EDIT_RECORD_MODAL_HEADER_CONTAINER_BUTTONS = 'edit-record-modal-header-container-buttons';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"editRecordReducer.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/editRecordReducer.ts"],"names":[],"mappings":"AAcA,OAAO,EAAC,kCAAkC,EAAE,mCAAmC,EAAC,MAAM,uBAAuB,CAAC;AAQ9G,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,cAAc;IAC7B,eAAe,EAAE,gBAAgB;IACjC,IAAI,EAAE,MAAM;CACN,CAAC;AA0BX,MAAM,CAAN,IAAY,6BAcX;AAdD,WAAY,6BAA6B;IACrC,0DAAyB,CAAA;IACzB,wEAAuC,CAAA;IACvC,sEAAqC,CAAA;IACrC,0EAAyC,CAAA;IACzC,0EAAyC,CAAA;IACzC,4EAA2C,CAAA;IAC3C,4EAA2C,CAAA;IAC3C,0FAAyD,CAAA;IACzD,0EAAyC,CAAA;IACzC,oEAAmC,CAAA;IACnC,8DAA6B,CAAA;IAC7B,4EAA2C,CAAA;IAC3C,gFAA+C,CAAA;AACnD,CAAC,EAdW,6BAA6B,KAA7B,6BAA6B,QAcxC;AA2DD,MAAM,CAAC,MAAM,YAAY,GAA4B;IACjD,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,IAAI;IACf,YAAY,EAAE,IAAI;IAClB,eAAe,EAAE,IAAI;IACrB,aAAa,EAA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;AACL,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type IRecordIdentityWhoAmI, type SystemTranslation, type IValueVersion} from '_ui/types';\nimport {\n type RecordFormAttributeFragment,\n type RecordUpdateSubscription,\n type ValueDetailsFragment,\n} from '_ui/_gqlTypes';\nimport {\n type RecordFormElementsValueLinkValue,\n type RecordFormElementsValueStandardValue,\n type RecordFormElementsValueTreeValue,\n} from '_ui/hooks/useGetRecordForm';\nimport {isRecordFormElementsValueLinkValue, isRecordFormElementsValuesTreeValue} from '_ui/_utils/typeguards';\n\nexport interface IRecordPropertyWithAttribute {\n attribute: RecordFormAttributeFragment;\n globalValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n calculatedValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n}\n\nexport const EditRecordSidebarContentTypeMap = {\n SUMMARY: 'summary',\n VALUE_DETAILS: 'valueDetails',\n VALUES_VERSIONS: 'valuesVersions',\n NONE: 'none',\n} as const;\n\ntype EditRecordSidebarContentType =\n (typeof EditRecordSidebarContentTypeMap)[keyof typeof EditRecordSidebarContentTypeMap];\n\nexport interface IEditRecordReducerState {\n record: IRecordIdentityWhoAmI;\n libraryId: string;\n libraryLabel: SystemTranslation | null;\n activeAttribute: IRecordPropertyWithAttribute;\n sidebarContent: EditRecordSidebarContentType;\n enableSidebar: boolean;\n isOpenSidebar: boolean;\n sidebarDefaultHidden?: boolean;\n valuesVersion: IValueVersion;\n originValuesVersion: IValueVersion;\n refreshRequested: boolean;\n externalUpdate: {\n modifiers: IRecordIdentityWhoAmI[];\n updatedValues: {\n [attribute: string]: ValueDetailsFragment[];\n };\n };\n withInfoButton: boolean;\n}\n\nexport enum EditRecordReducerActionsTypes {\n SET_RECORD = 'SET_RECORD',\n SET_LIBRARY_LABEL = 'SET_LIBRARY_LABEL',\n SET_ACTIVE_VALUE = 'SET_ACTIVE_VALUE',\n INITIALIZE_SIDEBAR = 'INITIALIZE_SIDEBAR',\n SET_ENABLE_SIDEBAR = 'SET_ENABLE_SIDEBAR',\n SET_SIDEBAR_CONTENT = 'SET_SIDEBAR_CONTENT',\n SET_SIDEBAR_IS_OPEN = 'SET_SIDEBAR_IS_OPEN',\n SET_SIDEBAR_DEFAULT_HIDDEN = 'SET_SIDEBAR_DEFAULT_HIDDEN',\n SET_VALUES_VERSION = 'SET_VALUES_VERSION',\n REQUEST_REFRESH = 'REQUEST_REFRESH',\n REFRESH_DONE = 'REFRESH_DONE',\n ADD_EXTERNAL_UPDATE = 'ADD_EXTERNAL_UPDATE',\n CLEAR_EXTERNAL_UPDATE = 'CLEAR_EXTERNAL_UPDATE',\n}\n\nexport type IEditRecordReducerActions =\n | {\n type: EditRecordReducerActionsTypes.SET_RECORD;\n record: IEditRecordReducerState['record'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_LIBRARY_LABEL;\n label: SystemTranslation;\n }\n | {\n type: EditRecordReducerActionsTypes.SET_ACTIVE_VALUE;\n attribute?: IEditRecordReducerState['activeAttribute']['attribute'];\n values?:\n | RecordFormElementsValueStandardValue[]\n | RecordFormElementsValueLinkValue[]\n | RecordFormElementsValueTreeValue[];\n }\n | {\n type: EditRecordReducerActionsTypes.INITIALIZE_SIDEBAR;\n enabled: IEditRecordReducerState['enableSidebar'];\n isOpenByDefault: IEditRecordReducerState['sidebarDefaultHidden'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR;\n enabled: IEditRecordReducerState['enableSidebar'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN;\n isOpen: IEditRecordReducerState['isOpenSidebar'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT;\n content: IEditRecordReducerState['sidebarContent'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_DEFAULT_HIDDEN;\n value: IEditRecordReducerState['sidebarDefaultHidden'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_VALUES_VERSION;\n valuesVersion: IEditRecordReducerState['valuesVersion'];\n }\n | {\n type: EditRecordReducerActionsTypes.REQUEST_REFRESH;\n }\n | {\n type: EditRecordReducerActionsTypes.REFRESH_DONE;\n }\n | {\n type: EditRecordReducerActionsTypes.ADD_EXTERNAL_UPDATE;\n modifier: IRecordIdentityWhoAmI;\n updatedValues: RecordUpdateSubscription['recordUpdate']['updatedValues'];\n }\n | {\n type: EditRecordReducerActionsTypes.CLEAR_EXTERNAL_UPDATE;\n };\n\nexport const initialState: IEditRecordReducerState = {\n record: null,\n libraryId: null,\n libraryLabel: null,\n activeAttribute: null,\n enableSidebar: false,\n isOpenSidebar: false,\n sidebarContent: EditRecordSidebarContentTypeMap.NONE,\n sidebarDefaultHidden: false,\n valuesVersion: null,\n originValuesVersion: null,\n refreshRequested: false,\n externalUpdate: {\n modifiers: [],\n updatedValues: {},\n },\n withInfoButton: false,\n};\n\nconst editRecordReducer = (\n state: IEditRecordReducerState,\n action: IEditRecordReducerActions,\n): IEditRecordReducerState => {\n switch (action.type) {\n case EditRecordReducerActionsTypes.SET_RECORD:\n return {...state, record: action.record};\n case EditRecordReducerActionsTypes.SET_LIBRARY_LABEL:\n return {...state, libraryLabel: action.label};\n case EditRecordReducerActionsTypes.INITIALIZE_SIDEBAR: {\n const {enabled, isOpenByDefault} = action;\n // If the sidebar is not enabled, don't check for isOpenByDefault\n const isOpen = enabled && isOpenByDefault;\n return {\n ...state,\n enableSidebar: enabled,\n sidebarDefaultHidden: !isOpenByDefault,\n sidebarContent: isOpen ? EditRecordSidebarContentTypeMap.SUMMARY : EditRecordSidebarContentTypeMap.NONE,\n isOpenSidebar: isOpen,\n };\n }\n case EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR:\n return {...state, enableSidebar: action.enabled};\n case EditRecordReducerActionsTypes.SET_SIDEBAR_DEFAULT_HIDDEN:\n return {...state, sidebarDefaultHidden: action.value};\n case EditRecordReducerActionsTypes.SET_ACTIVE_VALUE:\n const newSidebarContent =\n action.attribute !== null\n ? EditRecordSidebarContentTypeMap.VALUE_DETAILS\n : state.sidebarDefaultHidden\n ? EditRecordSidebarContentTypeMap.NONE\n : EditRecordSidebarContentTypeMap.SUMMARY;\n\n const attribute = action.attribute ?? state.activeAttribute?.attribute ?? null;\n return {\n ...state,\n activeAttribute: {\n attribute,\n globalValues: action.values\n ?.filter(value => !value.isCalculated && !value.isInherited)\n .map(value => {\n if (isRecordFormElementsValueLinkValue(value, attribute)) {\n return value.linkValue.whoAmI.label ?? value.linkValue.whoAmI.id;\n }\n\n if (isRecordFormElementsValuesTreeValue(value, attribute)) {\n return value.treeValue.record.whoAmI.label ?? value.treeValue.record.whoAmI.id;\n }\n\n return value?.payload;\n }),\n calculatedValues:\n action.values\n ?.filter(value => value.isCalculated || value.isInherited)\n .map(calculatedOrInheritedValue => {\n if (isRecordFormElementsValueLinkValue(calculatedOrInheritedValue, attribute)) {\n return (\n calculatedOrInheritedValue.linkValue.whoAmI.label ??\n calculatedOrInheritedValue.linkValue.whoAmI.id\n );\n }\n\n if (isRecordFormElementsValuesTreeValue(calculatedOrInheritedValue, attribute)) {\n return (\n calculatedOrInheritedValue.treeValue.record.whoAmI.label ??\n calculatedOrInheritedValue.treeValue.record.whoAmI.id\n );\n }\n\n return calculatedOrInheritedValue?.payload;\n }) ?? [],\n },\n sidebarContent: newSidebarContent,\n };\n case EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT:\n return {...state, sidebarContent: action.content};\n case EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN:\n return {\n ...state,\n sidebarContent: action.isOpen\n ? EditRecordSidebarContentTypeMap.SUMMARY\n : EditRecordSidebarContentTypeMap.NONE,\n isOpenSidebar: action.isOpen,\n };\n case EditRecordReducerActionsTypes.SET_VALUES_VERSION:\n return {...state, valuesVersion: action.valuesVersion};\n case EditRecordReducerActionsTypes.REQUEST_REFRESH:\n return {...state, refreshRequested: true};\n case EditRecordReducerActionsTypes.REFRESH_DONE:\n return {...state, refreshRequested: false};\n case EditRecordReducerActionsTypes.ADD_EXTERNAL_UPDATE:\n const newState = {...state};\n const newModifiers = state.externalUpdate?.modifiers.find(({id}) => id === action.modifier.id)\n ? (newState.externalUpdate?.modifiers ?? [])\n : [...(newState.externalUpdate?.modifiers ?? []), action.modifier];\n\n const newValues = action.updatedValues.reduce(\n (acc, updatedValue) => ({\n ...acc,\n [updatedValue.attribute]: [\n ...(newState.externalUpdate?.[updatedValue.attribute] ?? []),\n updatedValue.value,\n ],\n }),\n {},\n );\n\n newState.externalUpdate = {\n modifiers: newModifiers,\n updatedValues: {...(state.externalUpdate?.updatedValues ?? {}), ...newValues},\n };\n\n return newState;\n case EditRecordReducerActionsTypes.CLEAR_EXTERNAL_UPDATE:\n return {...state, externalUpdate: {...initialState.externalUpdate}};\n default:\n console.warn('Unknown action type in editRecordReducer:', action);\n return state;\n }\n};\n\nexport default editRecordReducer;\n"]}
1
+ {"version":3,"file":"editRecordReducer.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/editRecordReducer.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,kCAAkC,EAAE,mCAAmC,EAAC,MAAM,uBAAuB,CAAC;AAQ9G,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,cAAc;IAC7B,eAAe,EAAE,gBAAgB;IACjC,IAAI,EAAE,MAAM;CACN,CAAC;AA0BX,MAAM,CAAN,IAAY,6BAcX;AAdD,WAAY,6BAA6B;IACrC,0DAAyB,CAAA;IACzB,wEAAuC,CAAA;IACvC,sEAAqC,CAAA;IACrC,0EAAyC,CAAA;IACzC,0EAAyC,CAAA;IACzC,4EAA2C,CAAA;IAC3C,4EAA2C,CAAA;IAC3C,0FAAyD,CAAA;IACzD,0EAAyC,CAAA;IACzC,oEAAmC,CAAA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AAC;YAEF,OAAO,QAAQ,CAAC;QACpB,KAAK,6BAA6B,CAAC,qBAAqB;YACpD,OAAO,EAAC,GAAG,KAAK,EAAE,cAAc,EAAE,EAAC,GAAG,YAAY,CAAC,cAAc,EAAC,EAAC,CAAC;QACxE;YACI,OAAO,CAAC,IAAI,CAAC,2CAA2C,EAAE,MAAM,CAAC,CAAC;YAClE,OAAO,KAAK,CAAC;IACrB,CAAC;AACL,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["import {type IRecordIdentityWhoAmI, type SystemTranslation, type IValueVersion} from '_ui/types';\nimport {\n type RecordFormAttributeFragment,\n type RecordUpdateSubscription,\n type ValueDetailsFragment,\n} from '_ui/_gqlTypes';\nimport {\n type RecordFormElementsValueLinkValue,\n type RecordFormElementsValueStandardValue,\n type RecordFormElementsValueTreeValue,\n} from '_ui/hooks/useGetRecordForm';\nimport {isRecordFormElementsValueLinkValue, isRecordFormElementsValuesTreeValue} from '_ui/_utils/typeguards';\n\nexport interface IRecordPropertyWithAttribute {\n attribute: RecordFormAttributeFragment;\n globalValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n calculatedValues?: Array<RecordFormElementsValueStandardValue['payload']>;\n}\n\nexport const EditRecordSidebarContentTypeMap = {\n SUMMARY: 'summary',\n VALUE_DETAILS: 'valueDetails',\n VALUES_VERSIONS: 'valuesVersions',\n NONE: 'none',\n} as const;\n\ntype EditRecordSidebarContentType =\n (typeof EditRecordSidebarContentTypeMap)[keyof typeof EditRecordSidebarContentTypeMap];\n\nexport interface IEditRecordReducerState {\n record: IRecordIdentityWhoAmI;\n libraryId: string;\n libraryLabel: SystemTranslation | null;\n activeAttribute: IRecordPropertyWithAttribute;\n sidebarContent: EditRecordSidebarContentType;\n enableSidebar: boolean;\n isOpenSidebar: boolean;\n sidebarDefaultHidden?: boolean;\n valuesVersion: IValueVersion;\n originValuesVersion: IValueVersion;\n refreshRequested: boolean;\n externalUpdate: {\n modifiers: IRecordIdentityWhoAmI[];\n updatedValues: {\n [attribute: string]: ValueDetailsFragment[];\n };\n };\n withInfoButton: boolean;\n}\n\nexport enum EditRecordReducerActionsTypes {\n SET_RECORD = 'SET_RECORD',\n SET_LIBRARY_LABEL = 'SET_LIBRARY_LABEL',\n SET_ACTIVE_VALUE = 'SET_ACTIVE_VALUE',\n INITIALIZE_SIDEBAR = 'INITIALIZE_SIDEBAR',\n SET_ENABLE_SIDEBAR = 'SET_ENABLE_SIDEBAR',\n SET_SIDEBAR_CONTENT = 'SET_SIDEBAR_CONTENT',\n SET_SIDEBAR_IS_OPEN = 'SET_SIDEBAR_IS_OPEN',\n SET_SIDEBAR_DEFAULT_HIDDEN = 'SET_SIDEBAR_DEFAULT_HIDDEN',\n SET_VALUES_VERSION = 'SET_VALUES_VERSION',\n REQUEST_REFRESH = 'REQUEST_REFRESH',\n REFRESH_DONE = 'REFRESH_DONE',\n ADD_EXTERNAL_UPDATE = 'ADD_EXTERNAL_UPDATE',\n CLEAR_EXTERNAL_UPDATE = 'CLEAR_EXTERNAL_UPDATE',\n}\n\nexport type IEditRecordReducerActions =\n | {\n type: EditRecordReducerActionsTypes.SET_RECORD;\n record: IEditRecordReducerState['record'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_LIBRARY_LABEL;\n label: SystemTranslation;\n }\n | {\n type: EditRecordReducerActionsTypes.SET_ACTIVE_VALUE;\n attribute?: IEditRecordReducerState['activeAttribute']['attribute'];\n values?:\n | RecordFormElementsValueStandardValue[]\n | RecordFormElementsValueLinkValue[]\n | RecordFormElementsValueTreeValue[];\n }\n | {\n type: EditRecordReducerActionsTypes.INITIALIZE_SIDEBAR;\n enabled: IEditRecordReducerState['enableSidebar'];\n isOpenByDefault: IEditRecordReducerState['sidebarDefaultHidden'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR;\n enabled: IEditRecordReducerState['enableSidebar'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN;\n isOpen: IEditRecordReducerState['isOpenSidebar'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT;\n content: IEditRecordReducerState['sidebarContent'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_SIDEBAR_DEFAULT_HIDDEN;\n value: IEditRecordReducerState['sidebarDefaultHidden'];\n }\n | {\n type: EditRecordReducerActionsTypes.SET_VALUES_VERSION;\n valuesVersion: IEditRecordReducerState['valuesVersion'];\n }\n | {\n type: EditRecordReducerActionsTypes.REQUEST_REFRESH;\n }\n | {\n type: EditRecordReducerActionsTypes.REFRESH_DONE;\n }\n | {\n type: EditRecordReducerActionsTypes.ADD_EXTERNAL_UPDATE;\n modifier: IRecordIdentityWhoAmI;\n updatedValues: RecordUpdateSubscription['recordUpdate']['updatedValues'];\n }\n | {\n type: EditRecordReducerActionsTypes.CLEAR_EXTERNAL_UPDATE;\n };\n\nexport const initialState: IEditRecordReducerState = {\n record: null,\n libraryId: null,\n libraryLabel: null,\n activeAttribute: null,\n enableSidebar: false,\n isOpenSidebar: false,\n sidebarContent: EditRecordSidebarContentTypeMap.NONE,\n sidebarDefaultHidden: false,\n valuesVersion: null,\n originValuesVersion: null,\n refreshRequested: false,\n externalUpdate: {\n modifiers: [],\n updatedValues: {},\n },\n withInfoButton: false,\n};\n\nconst editRecordReducer = (\n state: IEditRecordReducerState,\n action: IEditRecordReducerActions,\n): IEditRecordReducerState => {\n switch (action.type) {\n case EditRecordReducerActionsTypes.SET_RECORD:\n return {...state, record: action.record};\n case EditRecordReducerActionsTypes.SET_LIBRARY_LABEL:\n return {...state, libraryLabel: action.label};\n case EditRecordReducerActionsTypes.INITIALIZE_SIDEBAR: {\n const {enabled, isOpenByDefault} = action;\n // If the sidebar is not enabled, don't check for isOpenByDefault\n const isOpen = enabled && isOpenByDefault;\n return {\n ...state,\n enableSidebar: enabled,\n sidebarDefaultHidden: !isOpenByDefault,\n sidebarContent: isOpen ? EditRecordSidebarContentTypeMap.SUMMARY : EditRecordSidebarContentTypeMap.NONE,\n isOpenSidebar: isOpen,\n };\n }\n case EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR:\n return {...state, enableSidebar: action.enabled};\n case EditRecordReducerActionsTypes.SET_SIDEBAR_DEFAULT_HIDDEN:\n return {...state, sidebarDefaultHidden: action.value};\n case EditRecordReducerActionsTypes.SET_ACTIVE_VALUE:\n const newSidebarContent =\n action.attribute !== null\n ? EditRecordSidebarContentTypeMap.VALUE_DETAILS\n : state.sidebarDefaultHidden\n ? EditRecordSidebarContentTypeMap.NONE\n : EditRecordSidebarContentTypeMap.SUMMARY;\n\n const attribute = action.attribute ?? state.activeAttribute?.attribute ?? null;\n return {\n ...state,\n activeAttribute: {\n attribute,\n globalValues: action.values\n ?.filter(value => !value.isCalculated && !value.isInherited)\n .map(value => {\n if (isRecordFormElementsValueLinkValue(value, attribute)) {\n return value.linkValue.whoAmI.label ?? value.linkValue.whoAmI.id;\n }\n\n if (isRecordFormElementsValuesTreeValue(value, attribute)) {\n return value.treeValue.record.whoAmI.label ?? value.treeValue.record.whoAmI.id;\n }\n\n return value?.payload;\n }),\n calculatedValues:\n action.values\n ?.filter(value => value.isCalculated || value.isInherited)\n .map(calculatedOrInheritedValue => {\n if (isRecordFormElementsValueLinkValue(calculatedOrInheritedValue, attribute)) {\n return (\n calculatedOrInheritedValue.linkValue.whoAmI.label ??\n calculatedOrInheritedValue.linkValue.whoAmI.id\n );\n }\n\n if (isRecordFormElementsValuesTreeValue(calculatedOrInheritedValue, attribute)) {\n return (\n calculatedOrInheritedValue.treeValue.record.whoAmI.label ??\n calculatedOrInheritedValue.treeValue.record.whoAmI.id\n );\n }\n\n return calculatedOrInheritedValue?.payload;\n }) ?? [],\n },\n sidebarContent: newSidebarContent,\n };\n case EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT:\n return {...state, sidebarContent: action.content};\n case EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN:\n return {\n ...state,\n sidebarContent: action.isOpen\n ? EditRecordSidebarContentTypeMap.SUMMARY\n : EditRecordSidebarContentTypeMap.NONE,\n isOpenSidebar: action.isOpen,\n };\n case EditRecordReducerActionsTypes.SET_VALUES_VERSION:\n return {...state, valuesVersion: action.valuesVersion};\n case EditRecordReducerActionsTypes.REQUEST_REFRESH:\n return {...state, refreshRequested: true};\n case EditRecordReducerActionsTypes.REFRESH_DONE:\n return {...state, refreshRequested: false};\n case EditRecordReducerActionsTypes.ADD_EXTERNAL_UPDATE:\n const newState = {...state};\n const newModifiers = state.externalUpdate?.modifiers.find(({id}) => id === action.modifier.id)\n ? (newState.externalUpdate?.modifiers ?? [])\n : [...(newState.externalUpdate?.modifiers ?? []), action.modifier];\n\n const newValues = action.updatedValues.reduce(\n (acc, updatedValue) => ({\n ...acc,\n [updatedValue.attribute]: [\n ...(newState.externalUpdate?.[updatedValue.attribute] ?? []),\n updatedValue.value,\n ],\n }),\n {},\n );\n\n newState.externalUpdate = {\n modifiers: newModifiers,\n updatedValues: {...(state.externalUpdate?.updatedValues ?? {}), ...newValues},\n };\n\n return newState;\n case EditRecordReducerActionsTypes.CLEAR_EXTERNAL_UPDATE:\n return {...state, externalUpdate: {...initialState.externalUpdate}};\n default:\n console.warn('Unknown action type in editRecordReducer:', action);\n return state;\n }\n};\n\nexport default editRecordReducer;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import React from 'react';
5
2
  import { initialState } from './editRecordReducer';
6
3
  export const EditRecordReducerContext = React.createContext({
@@ -1 +1 @@
1
- {"version":3,"file":"editRecordReducerContext.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/editRecordReducerContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAA+D,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAO/G,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,CAAC,aAAa,CAA4B;IACnF,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY;CAC/B,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport React, {type Dispatch} from 'react';\nimport {type IEditRecordReducerActions, type IEditRecordReducerState, initialState} from './editRecordReducer';\n\nexport interface IEditRecordReducerContext {\n state: IEditRecordReducerState;\n dispatch: Dispatch<IEditRecordReducerActions>;\n}\n\nexport const EditRecordReducerContext = React.createContext<IEditRecordReducerContext>({\n state: initialState,\n dispatch: () => initialState,\n});\n"]}
1
+ {"version":3,"file":"editRecordReducerContext.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/editRecordReducerContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAA+D,YAAY,EAAC,MAAM,qBAAqB,CAAC;AAO/G,MAAM,CAAC,MAAM,wBAAwB,GAAG,KAAK,CAAC,aAAa,CAA4B;IACnF,KAAK,EAAE,YAAY;IACnB,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY;CAC/B,CAAC,CAAC","sourcesContent":["import React, {type Dispatch} from 'react';\nimport {type IEditRecordReducerActions, type IEditRecordReducerState, initialState} from './editRecordReducer';\n\nexport interface IEditRecordReducerContext {\n state: IEditRecordReducerState;\n dispatch: Dispatch<IEditRecordReducerActions>;\n}\n\nexport const EditRecordReducerContext = React.createContext<IEditRecordReducerContext>({\n state: initialState,\n dispatch: () => initialState,\n});\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import editRecordReducer from './editRecordReducer';
5
2
  export default editRecordReducer;
6
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,eAAe,iBAAiB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport editRecordReducer from './editRecordReducer';\n\nexport default editRecordReducer;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/index.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD,eAAe,iBAAiB,CAAC","sourcesContent":["import editRecordReducer from './editRecordReducer';\n\nexport default editRecordReducer;\n"]}
@@ -1,6 +1,3 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  import { useContext } from 'react';
5
2
  import { EditRecordReducerContext } from './editRecordReducerContext';
6
3
  export const useEditRecordReducer = () => useContext(EditRecordReducerContext);
@@ -1 +1 @@
1
- {"version":3,"file":"useEditRecordReducer.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/useEditRecordReducer.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAEpE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useContext} from 'react';\nimport {EditRecordReducerContext} from './editRecordReducerContext';\n\nexport const useEditRecordReducer = () => useContext(EditRecordReducerContext);\n"]}
1
+ {"version":3,"file":"useEditRecordReducer.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/editRecordReducer/useEditRecordReducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAC;AAEpE,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAAC","sourcesContent":["import {useContext} from 'react';\nimport {EditRecordReducerContext} from './editRecordReducerContext';\n\nexport const useEditRecordReducer = () => useContext(EditRecordReducerContext);\n"]}
@@ -1,5 +1,2 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
1
  export { useCreateCancelConfirm } from './useCreateCancelConfirm';
5
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/hooks/useCreateCancelConfirm/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nexport {useCreateCancelConfirm} from './useCreateCancelConfirm';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/hooks/useCreateCancelConfirm/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC","sourcesContent":["export {useCreateCancelConfirm} from './useCreateCancelConfirm';\n"]}
@@ -1,7 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } 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
2
  import { KitSpace, KitTypography } from 'aristid-ds';
6
3
  import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
7
4
  import { useConfirmModal } from '../../../../hooks/useConfirmModal';
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateCancelConfirm.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACnD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAI1D,MAAM,CAAC,MAAM,sBAAsB,GAA+B,SAAS,CAAC,EAAE;IAC1E,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,gBAAgB,EAAC,GAAG,eAAe,EAAE,CAAC;IAE7C,MAAM,cAAc,GAAG,CACnB,MAAC,QAAQ,IAAC,SAAS,EAAC,UAAU,aAC1B,yBAAO,CAAC,CAAC,6CAA6C,CAAC,GAAQ,EAC/D,KAAC,aAAa,CAAC,IAAI,IAAC,MAAM,EAAC,QAAQ,YAAE,CAAC,CAAC,8CAA8C,CAAC,GAAsB,IACrG,CACd,CAAC;IAEF,OAAO,GAAG,EAAE;QACR,gBAAgB,CAAC;YACb,KAAK,EAAE,CAAC,CAAC,2CAA2C,CAAC;YACrD,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,IAAI;YACnB,IAAI,EAAE,SAAS;SAClB,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {KitSpace, KitTypography} from 'aristid-ds';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useConfirmModal} from '_ui/hooks/useConfirmModal';\n\nexport type UseCreateCancelConfirmHook = (onConfirm: () => void) => () => void;\n\nexport const useCreateCancelConfirm: UseCreateCancelConfirmHook = onConfirm => {\n const {t} = useSharedTranslation();\n const {openConfirmModal} = useConfirmModal();\n\n const confirmContent = (\n <KitSpace direction=\"vertical\">\n <span>{t('record_edition.cancel_confirm_modal_content')}</span>\n <KitTypography.Text weight=\"medium\">{t('record_edition.cancel_confirm_modal_question')}</KitTypography.Text>\n </KitSpace>\n );\n\n return () => {\n openConfirmModal({\n title: t('record_edition.cancel_confirm_modal_title'),\n content: confirmContent,\n dangerConfirm: true,\n onOk: onConfirm,\n });\n };\n};\n"]}
1
+ {"version":3,"file":"useCreateCancelConfirm.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACnD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAI1D,MAAM,CAAC,MAAM,sBAAsB,GAA+B,SAAS,CAAC,EAAE;IAC1E,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,gBAAgB,EAAC,GAAG,eAAe,EAAE,CAAC;IAE7C,MAAM,cAAc,GAAG,CACnB,MAAC,QAAQ,IAAC,SAAS,EAAC,UAAU,aAC1B,yBAAO,CAAC,CAAC,6CAA6C,CAAC,GAAQ,EAC/D,KAAC,aAAa,CAAC,IAAI,IAAC,MAAM,EAAC,QAAQ,YAAE,CAAC,CAAC,8CAA8C,CAAC,GAAsB,IACrG,CACd,CAAC;IAEF,OAAO,GAAG,EAAE;QACR,gBAAgB,CAAC;YACb,KAAK,EAAE,CAAC,CAAC,2CAA2C,CAAC;YACrD,OAAO,EAAE,cAAc;YACvB,aAAa,EAAE,IAAI;YACnB,IAAI,EAAE,SAAS;SAClB,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC,CAAC","sourcesContent":["import {KitSpace, KitTypography} from 'aristid-ds';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useConfirmModal} from '_ui/hooks/useConfirmModal';\n\nexport type UseCreateCancelConfirmHook = (onConfirm: () => void) => () => void;\n\nexport const useCreateCancelConfirm: UseCreateCancelConfirmHook = onConfirm => {\n const {t} = useSharedTranslation();\n const {openConfirmModal} = useConfirmModal();\n\n const confirmContent = (\n <KitSpace direction=\"vertical\">\n <span>{t('record_edition.cancel_confirm_modal_content')}</span>\n <KitTypography.Text weight=\"medium\">{t('record_edition.cancel_confirm_modal_question')}</KitTypography.Text>\n </KitSpace>\n );\n\n return () => {\n openConfirmModal({\n title: t('record_edition.cancel_confirm_modal_title'),\n content: confirmContent,\n dangerConfirm: true,\n onOk: onConfirm,\n });\n };\n};\n"]}