@leav/ui 0.4.0 → 1.0.0-e073ed8e

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 (962) hide show
  1. package/README.md +1 -0
  2. package/dist/__mocks__/common/application.d.ts +3 -0
  3. package/dist/__mocks__/common/filter.d.ts +4 -0
  4. package/dist/__mocks__/common/form.js +5 -1
  5. package/dist/__mocks__/common/form.js.map +1 -1
  6. package/dist/__mocks__/common/import.d.ts +2 -0
  7. package/dist/__mocks__/common/label.d.ts +4 -0
  8. package/dist/__mocks__/common/library.d.ts +109 -0
  9. package/dist/__mocks__/common/mockSearchContextProvider.d.ts +6 -0
  10. package/dist/__mocks__/common/record.d.ts +15 -0
  11. package/dist/__mocks__/common/tree.d.ts +3 -0
  12. package/dist/__mocks__/common/treeElements.d.ts +11 -0
  13. package/dist/__mocks__/common/value.d.ts +4 -0
  14. package/dist/__mocks__/common/value.js +0 -11
  15. package/dist/__mocks__/common/value.js.map +1 -1
  16. package/dist/__mocks__/common/versionProfile.d.ts +2 -0
  17. package/dist/__mocks__/common/view.d.ts +2 -0
  18. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.d.ts +5 -0
  19. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.d.ts +5 -0
  20. package/dist/__mocks__/mockQuery/mockGetViewListQuery.d.ts +19 -0
  21. package/dist/__mocks__/react-i18next.d.ts +31 -0
  22. package/dist/_gqlTypes/index.d.ts +1753 -263
  23. package/dist/_gqlTypes/index.js +539 -42
  24. package/dist/_gqlTypes/index.js.map +1 -1
  25. package/dist/_queries/applications/applicationDetailsFragment.d.ts +1 -0
  26. package/dist/_queries/applications/checkApplicationExistence.d.ts +1 -0
  27. package/dist/_queries/applications/getApplicationDetails.d.ts +1 -0
  28. package/dist/_queries/applications/getApplicationsModulesQuery.d.ts +1 -0
  29. package/dist/_queries/applications/saveApplicationMutation.d.ts +1 -0
  30. package/dist/_queries/attributes/attributeDetailsFragment.d.ts +1 -0
  31. package/dist/_queries/attributes/attributeDetailsFragment.js +1 -0
  32. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  33. package/dist/_queries/attributes/checkAttributeExistenceQuery.d.ts +1 -0
  34. package/dist/_queries/attributes/deleteAttributeMutation.d.ts +1 -0
  35. package/dist/_queries/attributes/getAttributeByIdQuery.d.ts +1 -0
  36. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.d.ts +2 -0
  37. package/dist/_queries/attributes/getAttributesByLib.d.ts +1 -0
  38. package/dist/_queries/attributes/getAttributesQuery.d.ts +1 -0
  39. package/dist/_queries/attributes/getVersionProfilesQuery.d.ts +1 -0
  40. package/dist/_queries/attributes/getVersionableAttributesByLibrary.d.ts +1 -0
  41. package/dist/_queries/attributes/saveAttributeMutation.d.ts +1 -0
  42. package/dist/_queries/export/exportQuery.d.ts +1 -0
  43. package/dist/_queries/files/createDirectory.d.ts +1 -0
  44. package/dist/_queries/files/forcePreviewsGenerationMutation.d.ts +1 -0
  45. package/dist/_queries/files/getDirectoryDataQuery.d.ts +1 -0
  46. package/dist/_queries/files/getUploadUpdates.d.ts +1 -0
  47. package/dist/_queries/files/uploadMutation.d.ts +1 -0
  48. package/dist/_queries/import/importExcel.d.ts +1 -0
  49. package/dist/_queries/libraries/checkLibraryExistenceQuery.d.ts +1 -0
  50. package/dist/_queries/libraries/deleteLibraryMutation.d.ts +1 -0
  51. package/dist/_queries/libraries/getLibrariesQuery.d.ts +1 -0
  52. package/dist/_queries/libraries/getLibraryByIdQuery.d.ts +1 -0
  53. package/dist/_queries/libraries/getLibraryPermissionsQuery.d.ts +1 -0
  54. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.d.ts +1 -0
  55. package/dist/_queries/libraries/libraryDetailsFragment.d.ts +1 -0
  56. package/dist/_queries/libraries/saveLibraryMutation.d.ts +1 -0
  57. package/dist/_queries/permissions/isAllowedQuery.d.ts +1 -0
  58. package/dist/_queries/records/activateRecordsMutation.d.ts +1 -0
  59. package/dist/_queries/records/activateRecordsMutation.js +15 -0
  60. package/dist/_queries/records/activateRecordsMutation.js.map +1 -0
  61. package/dist/_queries/records/createRecordMutation.d.ts +2 -0
  62. package/dist/_queries/records/deactivateRecordsMutation.d.ts +1 -0
  63. package/dist/_queries/records/doesFileExistAsChild.d.ts +1 -0
  64. package/dist/_queries/records/getFileDataQuery.d.ts +14 -0
  65. package/dist/_queries/records/getRecordFormQuery.d.ts +1 -0
  66. package/dist/_queries/records/getRecordFormQuery.js +13 -0
  67. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  68. package/dist/_queries/records/getRecordPropertiesQuery.d.ts +83 -0
  69. package/dist/_queries/records/getRecordUpdatesSubscription.d.ts +1 -0
  70. package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +22 -0
  71. package/dist/_queries/records/indexRecordsMutation.d.ts +1 -0
  72. package/dist/_queries/records/recordFormAttributeFragment.d.ts +1 -0
  73. package/dist/_queries/tasks/cancelTaskMutation.d.ts +1 -0
  74. package/dist/_queries/trees/checkTreeExistenceQuery.d.ts +1 -0
  75. package/dist/_queries/trees/deleteTreeMutation.d.ts +1 -0
  76. package/dist/_queries/trees/getTreeByIdQuery.d.ts +1 -0
  77. package/dist/_queries/trees/getTreeLibraries.d.ts +1 -0
  78. package/dist/_queries/trees/getTreesQuery.d.ts +1 -0
  79. package/dist/_queries/trees/saveTreeMutation.d.ts +1 -0
  80. package/dist/_queries/trees/treeDetailsFragment.d.ts +1 -0
  81. package/dist/_queries/trees/treeNodeChildrenQuery.d.ts +1 -0
  82. package/dist/_queries/trees/treeNodeChildrenQuery.js +12 -2
  83. package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
  84. package/dist/_queries/userData/getUserData.d.ts +1 -0
  85. package/dist/_queries/userData/saveUserData.d.ts +1 -0
  86. package/dist/_queries/values/deleteValueMutation.d.ts +1 -0
  87. package/dist/_queries/values/saveValueBatchMutation.d.ts +1 -0
  88. package/dist/_queries/values/valueDetailsFragment.d.ts +1 -0
  89. package/dist/_queries/values/valuesVersionFragment.d.ts +1 -0
  90. package/dist/_queries/views/deleteViewMutation.d.ts +8 -0
  91. package/dist/_queries/views/getViewById.d.ts +1 -0
  92. package/dist/_queries/views/getViewsListQuery.d.ts +1 -0
  93. package/dist/_queries/views/saveViewMutation.d.ts +2 -0
  94. package/dist/_queries/views/viewDetailsFragment.d.ts +2 -0
  95. package/dist/_utils/__mocks__/isDevEnv.d.ts +1 -0
  96. package/dist/_utils/attributeType.d.ts +2 -1
  97. package/dist/_utils/attributeType.js +2 -1
  98. package/dist/_utils/attributeType.js.map +1 -1
  99. package/dist/_utils/getFiltersFromRequest.d.ts +3 -0
  100. package/dist/_utils/getRequestFromFilter.d.ts +3 -0
  101. package/dist/_utils/index.d.ts +33 -0
  102. package/dist/_utils/isDevEnv.d.ts +1 -0
  103. package/dist/_utils/typeguards.d.ts +2 -0
  104. package/dist/antdTheme/types.d.ts +2 -0
  105. package/dist/components/AttributePicker/AttributePicker.d.ts +12 -0
  106. package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +10 -0
  107. package/dist/components/AttributePicker/AttributesList/index.d.ts +1 -0
  108. package/dist/components/AttributePicker/index.d.ts +1 -0
  109. package/dist/components/AttributesSelectionList/Attribute/Attribute.d.ts +3 -0
  110. package/dist/components/AttributesSelectionList/Attribute/index.d.ts +2 -0
  111. package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +10 -0
  112. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.d.ts +7 -0
  113. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.d.ts +2 -0
  114. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.d.ts +2 -0
  115. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.d.ts +2 -0
  116. package/dist/components/AttributesSelectionList/_types.d.ts +8 -0
  117. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.d.ts +3 -0
  118. package/dist/components/AttributesSelectionList/index.d.ts +2 -0
  119. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.d.ts +11 -0
  120. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.d.ts +33 -0
  121. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.d.ts +10 -0
  122. package/dist/components/AttributesSelectionList/sharedComponents.d.ts +803 -0
  123. package/dist/components/BasicButton/BasicButton.d.ts +7 -0
  124. package/dist/components/BasicButton/index.d.ts +1 -0
  125. package/dist/components/CreateDirectory/CreateDirectory.d.ts +9 -0
  126. package/dist/components/CreateDirectory/CreateDirectory.js +4 -4
  127. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  128. package/dist/components/CreateDirectory/index.d.ts +1 -0
  129. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +10 -0
  130. package/dist/components/DeactivateRecordsModal/index.d.ts +1 -0
  131. package/dist/components/Dimmer/Dimmer.d.ts +5 -0
  132. package/dist/components/Dimmer/index.d.ts +2 -0
  133. package/dist/components/EditApplication/EditApplication.d.ts +3 -0
  134. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.d.ts +7 -0
  135. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +11 -0
  136. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.d.ts +6 -0
  137. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.d.ts +2 -0
  138. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.d.ts +2 -0
  139. package/dist/components/EditApplication/EditApplicationInfo/index.d.ts +1 -0
  140. package/dist/components/EditApplication/_types.d.ts +8 -0
  141. package/dist/components/EditApplication/index.d.ts +2 -0
  142. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.d.ts +8 -0
  143. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.d.ts +8 -0
  144. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +12 -0
  145. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.d.ts +9 -0
  146. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.d.ts +1 -0
  147. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.d.ts +9 -0
  148. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.d.ts +1 -0
  149. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.d.ts +9 -0
  150. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.d.ts +1 -0
  151. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.d.ts +1 -0
  152. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.d.ts +1 -0
  153. package/dist/components/EditAttributeModal/EditAttribute/index.d.ts +1 -0
  154. package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +11 -0
  155. package/dist/components/EditAttributeModal/index.d.ts +1 -0
  156. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +9 -0
  157. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.d.ts +6 -0
  158. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.d.ts +1 -0
  159. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.d.ts +15 -0
  160. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.d.ts +8 -0
  161. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js +3 -2
  162. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
  163. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.d.ts +1 -0
  164. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.d.ts +1 -0
  165. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.d.ts +7 -0
  166. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.d.ts +1 -0
  167. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.d.ts +8 -0
  168. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.d.ts +1 -0
  169. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.d.ts +8 -0
  170. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +12 -0
  171. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.d.ts +1 -0
  172. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.d.ts +1 -0
  173. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.d.ts +7 -0
  174. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +10 -0
  175. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.d.ts +8 -0
  176. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.d.ts +1 -0
  177. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.d.ts +1 -0
  178. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +8 -0
  179. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.d.ts +1 -0
  180. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.d.ts +1 -0
  181. package/dist/components/EditLibraryModal/EditLibrary/index.d.ts +1 -0
  182. package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +12 -0
  183. package/dist/components/EditLibraryModal/index.d.ts +1 -0
  184. package/dist/components/EditTreeModal/EditTree/EditTree.d.ts +8 -0
  185. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.d.ts +8 -0
  186. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.d.ts +9 -0
  187. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +8 -1
  188. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
  189. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.d.ts +1 -0
  190. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.d.ts +1 -0
  191. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.d.ts +1 -0
  192. package/dist/components/EditTreeModal/EditTree/index.d.ts +1 -0
  193. package/dist/components/EditTreeModal/EditTreeModal.d.ts +11 -0
  194. package/dist/components/EditTreeModal/index.d.ts +1 -0
  195. package/dist/components/EntityCard/EntityCard.d.ts +16 -0
  196. package/dist/components/EntityCard/_types.d.ts +6 -0
  197. package/dist/components/EntityCard/index.d.ts +2 -0
  198. package/dist/components/EntityPreview/EntityPreview.d.ts +4 -0
  199. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.d.ts +3 -0
  200. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.d.ts +5 -0
  201. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.d.ts +2 -0
  202. package/dist/components/EntityPreview/EntityPreviewList/index.d.ts +2 -0
  203. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +3 -0
  204. package/dist/components/EntityPreview/EntityPreviewTile/index.d.ts +2 -0
  205. package/dist/components/EntityPreview/_types.d.ts +20 -0
  206. package/dist/components/EntityPreview/index.d.ts +2 -0
  207. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +15 -0
  208. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.d.ts +9 -0
  209. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js +4 -3
  210. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
  211. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.d.ts +2 -0
  212. package/dist/components/ErrorBoundary/index.d.ts +1 -0
  213. package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +10 -0
  214. package/dist/components/ErrorDisplay/index.d.ts +1 -0
  215. package/dist/components/ErrorMessage/ErrorMessage.d.ts +6 -0
  216. package/dist/components/ErrorMessage/index.d.ts +2 -0
  217. package/dist/components/Explorer/DataView.d.ts +2 -1
  218. package/dist/components/Explorer/DataView.js +32 -12
  219. package/dist/components/Explorer/DataView.js.map +1 -1
  220. package/dist/components/Explorer/Explorer.d.ts +10 -6
  221. package/dist/components/Explorer/Explorer.js +40 -13
  222. package/dist/components/Explorer/Explorer.js.map +1 -1
  223. package/dist/components/Explorer/ExplorerToolbar.d.ts +2 -1
  224. package/dist/components/Explorer/ExplorerToolbar.js +15 -5
  225. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  226. package/dist/components/Explorer/IdCard.d.ts +7 -0
  227. package/dist/components/Explorer/IdCard.js +1 -1
  228. package/dist/components/Explorer/IdCard.js.map +1 -1
  229. package/dist/components/Explorer/TableCell.js +22 -11
  230. package/dist/components/Explorer/TableCell.js.map +1 -1
  231. package/dist/components/Explorer/TableTagGroup.d.ts +0 -1
  232. package/dist/components/Explorer/TableTagGroup.js +3 -16
  233. package/dist/components/Explorer/TableTagGroup.js.map +1 -1
  234. package/dist/components/Explorer/_constants.d.ts +3 -0
  235. package/dist/components/Explorer/_constants.js +3 -0
  236. package/dist/components/Explorer/_constants.js.map +1 -1
  237. package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +2 -2
  238. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js +99 -31
  239. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +1 -1
  240. package/dist/components/Explorer/_queries/useExplorerData.d.ts +4 -2
  241. package/dist/components/Explorer/_queries/useExplorerData.js +46 -31
  242. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  243. package/dist/components/Explorer/_types.d.ts +82 -10
  244. package/dist/components/Explorer/_types.js +5 -0
  245. package/dist/components/Explorer/_types.js.map +1 -1
  246. package/dist/components/Explorer/actions-item/useEditItemAction.d.ts +2 -1
  247. package/dist/components/Explorer/actions-item/useEditItemAction.js +6 -4
  248. package/dist/components/Explorer/actions-item/useEditItemAction.js.map +1 -1
  249. package/dist/components/Explorer/actions-item/{useRemoveItemAction.d.ts → useEditStatusItemAction.d.ts} +4 -2
  250. package/dist/components/Explorer/actions-item/{useRemoveItemAction.js → useEditStatusItemAction.js} +81 -24
  251. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -0
  252. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +22 -0
  253. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +42 -0
  254. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -0
  255. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +2 -1
  256. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +12 -3
  257. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  258. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +6 -5
  259. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  260. package/dist/components/Explorer/actions-mass/useMassActions.js +1 -1
  261. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  262. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +6 -1
  263. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +26 -21
  264. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  265. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +7 -1
  266. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +7 -5
  267. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  268. package/dist/components/Explorer/index.d.ts +9 -0
  269. package/dist/components/Explorer/link-item/LinkModal.d.ts +5 -0
  270. package/dist/components/Explorer/link-item/LinkModal.js +55 -5
  271. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  272. package/dist/components/Explorer/link-item/{useLinkMassAction.d.ts → useAddLinkMassAction.d.ts} +1 -1
  273. package/dist/components/Explorer/link-item/{useLinkMassAction.js → useAddLinkMassAction.js} +2 -2
  274. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -0
  275. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +23 -0
  276. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +35 -0
  277. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -0
  278. package/dist/components/Explorer/list-saved-views/SavedViews.js +32 -42
  279. package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
  280. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js +4 -4
  281. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +1 -1
  282. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +11 -9
  283. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  284. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.d.ts +13 -3
  285. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js +81 -12
  286. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +1 -1
  287. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.d.ts +6 -0
  288. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.d.ts +6 -0
  289. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.d.ts +8 -0
  290. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +21 -8
  291. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  292. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js +2 -2
  293. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +1 -1
  294. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js +9 -1
  295. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  296. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.d.ts +9 -0
  297. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js +131 -0
  298. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
  299. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.d.ts +3 -0
  300. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js +69 -0
  301. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
  302. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +6 -1
  303. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.d.ts +3 -0
  304. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js +43 -4
  305. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  306. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.d.ts +1 -1
  307. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  308. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.d.ts +2 -0
  309. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.d.ts +1 -0
  310. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +2 -2
  311. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  312. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.d.ts +9 -0
  313. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +1 -1
  314. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  315. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +1 -1
  316. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
  317. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +29 -8
  318. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  319. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +1 -1
  320. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  321. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.d.ts +5 -0
  322. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +47 -0
  323. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -0
  324. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.d.ts +5 -0
  325. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +48 -0
  326. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -0
  327. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
  328. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  329. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +1 -1
  330. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  331. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.d.ts +4 -0
  332. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.d.ts +10 -0
  333. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.d.ts +6 -0
  334. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.d.ts +4 -0
  335. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.d.ts +1 -0
  336. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +6 -3
  337. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  338. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +12 -3
  339. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +87 -14
  340. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  341. package/dist/components/Explorer/useColumnWidth.js +2 -1
  342. package/dist/components/Explorer/useColumnWidth.js.map +1 -1
  343. package/dist/components/Explorer/useLoadView.d.ts +1 -1
  344. package/dist/components/Explorer/useLoadView.js +31 -35
  345. package/dist/components/Explorer/useLoadView.js.map +1 -1
  346. package/dist/components/Explorer/usePagination.d.ts +2 -1
  347. package/dist/components/Explorer/usePagination.js.map +1 -1
  348. package/dist/components/Explorer/useSearchInput.d.ts +3 -1
  349. package/dist/components/Explorer/useSearchInput.js +4 -1
  350. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  351. package/dist/components/Explorer/useViewSettingsReducer.d.ts +1 -1
  352. package/dist/components/Explorer/useViewSettingsReducer.js +44 -19
  353. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  354. package/dist/components/ExportModal/ExportModal.d.ts +10 -0
  355. package/dist/components/ExportModal/index.d.ts +1 -0
  356. package/dist/components/FieldsGroup/FieldsGroup.d.ts +9 -0
  357. package/dist/components/FieldsGroup/index.d.ts +2 -0
  358. package/dist/components/FloatingMenu/FloatingMenu.d.ts +10 -0
  359. package/dist/components/FloatingMenu/_types.d.ts +13 -0
  360. package/dist/components/FloatingMenu/index.d.ts +2 -0
  361. package/dist/components/ImageLoading/ImageLoading.d.ts +5 -0
  362. package/dist/components/ImageLoading/index.d.ts +1 -0
  363. package/dist/components/ImageMissing/ImageMissing.d.ts +5 -0
  364. package/dist/components/ImageMissing/index.d.ts +1 -0
  365. package/dist/components/ImportModal/ImportModal.d.ts +10 -0
  366. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.d.ts +8 -0
  367. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.d.ts +2 -0
  368. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.d.ts +6 -0
  369. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.d.ts +2 -0
  370. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.d.ts +7 -0
  371. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +1 -1
  372. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  373. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +10 -0
  374. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.d.ts +2 -0
  375. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +12 -0
  376. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.d.ts +2 -0
  377. package/dist/components/ImportModal/ImportModalConfigStep/index.d.ts +2 -0
  378. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.d.ts +5 -0
  379. package/dist/components/ImportModal/ImportModalDoneStep/index.d.ts +2 -0
  380. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.d.ts +2 -0
  381. package/dist/components/ImportModal/ImportModalProcessingStep/index.d.ts +2 -0
  382. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.d.ts +6 -0
  383. package/dist/components/ImportModal/ImportModalSelectFileStep/index.d.ts +2 -0
  384. package/dist/components/ImportModal/_types.d.ts +34 -0
  385. package/dist/components/ImportModal/importReducer/ImportReducerContext.d.ts +10 -0
  386. package/dist/components/ImportModal/importReducer/importReducer.d.ts +38 -0
  387. package/dist/components/ImportModal/importReducer/index.d.ts +2 -0
  388. package/dist/components/ImportModal/index.d.ts +1 -0
  389. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.d.ts +13 -0
  390. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -0
  391. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  392. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.d.ts +2 -0
  393. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.d.ts +2 -0
  394. package/dist/components/LibraryItemsList/DisplayOptions/index.d.ts +2 -0
  395. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.d.ts +2 -0
  396. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.d.ts +2 -0
  397. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +13 -0
  398. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +1 -12
  399. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  400. package/dist/components/LibraryItemsList/FiltersDropdown/index.d.ts +2 -0
  401. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.d.ts +13 -0
  402. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +3 -3
  403. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  404. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.d.ts +2 -0
  405. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js +2 -2
  406. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.utils.js.map +1 -1
  407. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.d.ts +7 -0
  408. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.d.ts +2 -0
  409. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.d.ts +3 -0
  410. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.d.ts +2 -0
  411. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.d.ts +3 -0
  412. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.d.ts +2 -0
  413. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.d.ts +3 -0
  414. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.d.ts +2 -0
  415. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.d.ts +3 -0
  416. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.d.ts +2 -0
  417. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.d.ts +3 -0
  418. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.d.ts +2 -0
  419. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.d.ts +2 -0
  420. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.d.ts +8 -0
  421. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.d.ts +2 -0
  422. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.d.ts +6 -0
  423. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.d.ts +2 -0
  424. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.d.ts +14 -0
  425. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.d.ts +2 -0
  426. package/dist/components/LibraryItemsList/FiltersPanel/index.d.ts +2 -0
  427. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.d.ts +3 -0
  428. package/dist/components/LibraryItemsList/IconViewType/IconViewType.d.ts +8 -0
  429. package/dist/components/LibraryItemsList/IconViewType/index.d.ts +2 -0
  430. package/dist/components/LibraryItemsList/LibraryItemsList.d.ts +14 -0
  431. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.d.ts +16 -0
  432. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.d.ts +2 -0
  433. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.d.ts +6 -0
  434. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.d.ts +2 -0
  435. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.d.ts +2 -0
  436. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.d.ts +2 -0
  437. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.d.ts +8 -0
  438. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.d.ts +2 -0
  439. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.d.ts +7 -0
  440. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.d.ts +2 -0
  441. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.d.ts +8 -0
  442. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.d.ts +2 -0
  443. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.d.ts +8 -0
  444. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.d.ts +9 -0
  445. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.d.ts +2 -0
  446. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.d.ts +5 -0
  447. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.d.ts +2 -0
  448. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.d.ts +5 -0
  449. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.d.ts +3 -0
  450. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.d.ts +2 -0
  451. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.d.ts +2 -0
  452. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.d.ts +12 -0
  453. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +4 -1
  454. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
  455. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.d.ts +12 -0
  456. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.d.ts +2 -0
  457. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.d.ts +6 -0
  458. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.d.ts +2 -0
  459. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.d.ts +9 -0
  460. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.d.ts +2 -0
  461. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.d.ts +2 -0
  462. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.d.ts +2 -0
  463. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.d.ts +9 -0
  464. package/dist/components/LibraryItemsList/MenuItemList/index.d.ts +2 -0
  465. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.d.ts +2 -0
  466. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.d.ts +2 -0
  467. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.d.ts +5 -0
  468. package/dist/components/LibraryItemsList/MenuItemListSelected/index.d.ts +2 -0
  469. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.d.ts +2 -0
  470. package/dist/components/LibraryItemsList/MenuSelection/index.d.ts +2 -0
  471. package/dist/components/LibraryItemsList/MenuView/MenuView.d.ts +6 -0
  472. package/dist/components/LibraryItemsList/MenuView/index.d.ts +2 -0
  473. package/dist/components/LibraryItemsList/SearchItems/SearchItems.d.ts +2 -0
  474. package/dist/components/LibraryItemsList/SearchItems/index.d.ts +2 -0
  475. package/dist/components/LibraryItemsList/Sidebar/Sidebar.d.ts +2 -0
  476. package/dist/components/LibraryItemsList/Sidebar/index.d.ts +2 -0
  477. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.d.ts +6 -0
  478. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.d.ts +2 -0
  479. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.d.ts +2 -0
  480. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.d.ts +3 -0
  481. package/dist/components/LibraryItemsList/TileDisplay/index.d.ts +2 -0
  482. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.d.ts +2 -0
  483. package/dist/components/LibraryItemsList/VersionsPanel/index.d.ts +2 -0
  484. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.d.ts +9 -0
  485. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.d.ts +2 -0
  486. package/dist/components/LibraryItemsList/ViewPanel/View/View.d.ts +9 -0
  487. package/dist/components/LibraryItemsList/ViewPanel/View/index.d.ts +2 -0
  488. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.d.ts +2 -0
  489. package/dist/components/LibraryItemsList/ViewPanel/index.d.ts +2 -0
  490. package/dist/components/LibraryItemsList/constants.d.ts +12 -0
  491. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.d.ts +3 -0
  492. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +3 -0
  493. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.d.ts +4 -0
  494. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.d.ts +5 -0
  495. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.d.ts +6 -0
  496. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.d.ts +2 -0
  497. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.d.ts +2 -0
  498. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.d.ts +8 -0
  499. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.d.ts +2 -0
  500. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.d.ts +7 -0
  501. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.d.ts +5 -0
  502. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.d.ts +7 -0
  503. package/dist/components/LibraryItemsList/index.d.ts +1 -0
  504. package/dist/components/LibraryItemsList/manageItems.d.ts +11 -0
  505. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.d.ts +7 -0
  506. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
  507. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
  508. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.d.ts +2 -0
  509. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.d.ts +12 -0
  510. package/dist/components/LibraryItemsList/shared/shared.utils.d.ts +4 -0
  511. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +9 -0
  512. package/dist/components/LibraryPicker/LibrariesList/index.d.ts +1 -0
  513. package/dist/components/LibraryPicker/LibraryPicker.d.ts +11 -0
  514. package/dist/components/LibraryPicker/index.d.ts +1 -0
  515. package/dist/components/List/List.d.ts +12 -0
  516. package/dist/components/List/index.d.ts +2 -0
  517. package/dist/components/Loading/Loading.d.ts +5 -0
  518. package/dist/components/Loading/index.d.ts +1 -0
  519. package/dist/components/RecordCard/RecordCard.d.ts +3 -0
  520. package/dist/components/RecordCard/_types.d.ts +15 -0
  521. package/dist/components/RecordCard/index.d.ts +2 -0
  522. package/dist/components/RecordEdition/EditRecord/EditRecord.d.ts +4 -5
  523. package/dist/components/RecordEdition/EditRecord/EditRecord.js +55 -238
  524. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  525. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.d.ts +8 -0
  526. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.d.ts +2 -0
  527. package/dist/components/RecordEdition/EditRecord/index.d.ts +1 -0
  528. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.d.ts +9 -0
  529. package/dist/components/RecordEdition/EditRecordBtn/index.d.ts +2 -0
  530. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.d.ts +2 -0
  531. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +43 -0
  532. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -0
  533. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.d.ts +2 -0
  534. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +25 -0
  535. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -0
  536. package/dist/components/RecordEdition/EditRecordButtons/index.d.ts +2 -0
  537. package/dist/components/RecordEdition/{EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList → EditRecordButtons}/index.js +2 -2
  538. package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -0
  539. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.d.ts +3 -1
  540. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +25 -23
  541. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  542. package/dist/components/RecordEdition/EditRecordContent/_types.d.ts +6 -11
  543. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  544. package/dist/components/RecordEdition/EditRecordContent/formConstants.d.ts +2 -0
  545. package/dist/components/RecordEdition/EditRecordContent/formConstants.js +1 -0
  546. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  547. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.d.ts +2 -0
  548. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.d.ts +3 -0
  549. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.d.ts +1 -0
  550. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.d.ts +1 -0
  551. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.d.ts +7 -0
  552. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.d.ts +3 -0
  553. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.d.ts +3 -0
  554. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.d.ts +2 -0
  555. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.d.ts +5 -0
  556. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +28 -0
  557. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -0
  558. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.d.ts +6 -0
  559. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.d.ts +6 -0
  560. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.d.ts +3 -0
  561. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.d.ts +11 -0
  562. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +35 -0
  563. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -0
  564. package/dist/components/RecordEdition/EditRecordContent/index.d.ts +2 -0
  565. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.d.ts +2 -0
  566. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.d.ts +52 -0
  567. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.d.ts +9 -0
  568. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.d.ts +2 -0
  569. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.d.ts +5 -0
  570. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.d.ts +2 -0
  571. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.d.ts +6 -0
  572. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.d.ts +2 -0
  573. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.d.ts +9 -0
  574. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.d.ts +2 -0
  575. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.d.ts +6 -0
  576. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.d.ts +2 -0
  577. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.d.ts +7 -0
  578. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.d.ts +2 -0
  579. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.d.ts +2 -0
  580. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.d.ts +2 -0
  581. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.d.ts +10 -0
  582. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.d.ts +2 -0
  583. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.d.ts +13 -0
  584. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.d.ts +2 -0
  585. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.d.ts +8 -0
  586. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.d.ts +2 -0
  587. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
  588. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +2 -2
  589. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  590. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.d.ts +2 -0
  591. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.d.ts +4 -0
  592. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.d.ts +2 -0
  593. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.d.ts +4 -0
  594. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  595. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.d.ts +2 -0
  596. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.d.ts +5 -0
  597. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +6 -9
  598. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  599. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.d.ts +2 -0
  600. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.d.ts +1 -1
  601. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +40 -12
  602. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  603. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.d.ts +14 -0
  604. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +76 -92
  605. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  606. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.d.ts +2 -0
  607. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.d.ts +3 -0
  608. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js +9 -0
  609. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -0
  610. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +22 -0
  611. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +85 -0
  612. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -0
  613. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +24 -0
  614. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +76 -0
  615. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -0
  616. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.d.ts +265 -0
  617. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js +13 -0
  618. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -0
  619. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +47 -55
  620. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  621. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.d.ts +4 -0
  622. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -2
  623. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  624. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.d.ts +4 -0
  625. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -2
  626. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  627. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.d.ts +4 -0
  628. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -2
  629. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  630. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.d.ts +4 -0
  631. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -5
  632. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  633. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.d.ts +4 -0
  634. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -2
  635. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  636. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.d.ts +4 -0
  637. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -2
  638. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  639. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.d.ts +4 -0
  640. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +1 -2
  641. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  642. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.d.ts +4 -0
  643. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -2
  644. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  645. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +2 -3
  646. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +2 -3
  647. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  648. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +5 -8
  649. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  650. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.d.ts +1 -2
  651. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.d.ts +2 -0
  652. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.d.ts +2 -0
  653. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.d.ts +4 -0
  654. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  655. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.d.ts +2 -0
  656. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.d.ts +6 -0
  657. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +64 -217
  658. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  659. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.d.ts +265 -0
  660. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js +13 -0
  661. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -0
  662. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.d.ts +11 -0
  663. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +51 -0
  664. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -0
  665. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.d.ts +11 -0
  666. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +5 -0
  667. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -0
  668. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.d.ts +2 -0
  669. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.d.ts +27 -0
  670. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +43 -0
  671. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -0
  672. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +25 -0
  673. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +133 -0
  674. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -0
  675. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.d.ts +5 -0
  676. package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.d.ts +4 -2
  677. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -0
  678. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.d.ts +8 -0
  679. package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/DeleteAllValuesButton.js +2 -2
  680. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -0
  681. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -0
  682. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +15 -0
  683. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +72 -0
  684. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -0
  685. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +4 -0
  686. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +88 -50
  687. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  688. package/dist/components/RecordEdition/EditRecordModal/index.d.ts +1 -0
  689. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -1
  690. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +53 -13
  691. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  692. package/dist/components/RecordEdition/EditRecordPage/index.d.ts +1 -0
  693. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +2 -2
  694. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  695. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.d.ts +0 -1
  696. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js +18 -12
  697. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  698. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.d.ts +2 -0
  699. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.d.ts +2 -0
  700. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +3 -0
  701. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  702. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.d.ts +2 -0
  703. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +2 -2
  704. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  705. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.d.ts +2 -0
  706. package/dist/components/RecordEdition/EditRecordSidebar/index.d.ts +2 -0
  707. package/dist/components/RecordEdition/_types.d.ts +2 -0
  708. package/dist/components/RecordEdition/constants.d.ts +2 -0
  709. package/dist/components/RecordEdition/constants.js +6 -0
  710. package/dist/components/RecordEdition/constants.js.map +1 -0
  711. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.d.ts +30 -7
  712. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +66 -6
  713. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  714. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.d.ts +7 -0
  715. package/dist/components/RecordEdition/editRecordReducer/index.d.ts +2 -0
  716. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.d.ts +1 -0
  717. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.d.ts +1 -0
  718. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.d.ts +2 -0
  719. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -0
  720. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js +3 -3
  721. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  722. package/dist/components/RecordEdition/index.d.ts +3 -0
  723. package/dist/components/RecordEdition/index.js +3 -0
  724. package/dist/components/RecordEdition/index.js.map +1 -1
  725. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.d.ts +8 -0
  726. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.d.ts +3 -0
  727. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.d.ts +2 -0
  728. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.d.ts +3 -0
  729. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.d.ts +2 -0
  730. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.d.ts +6 -0
  731. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.d.ts +6 -0
  732. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.d.ts +2 -0
  733. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.d.ts +3 -0
  734. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.d.ts +2 -0
  735. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.d.ts +6 -0
  736. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.d.ts +2 -0
  737. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.d.ts +3 -0
  738. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.d.ts +2 -0
  739. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.d.ts +7 -0
  740. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.d.ts +2 -0
  741. package/dist/components/RecordPreviewWithModal/FileModal/_constants.d.ts +2 -0
  742. package/dist/components/RecordPreviewWithModal/FileModal/index.d.ts +2 -0
  743. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.d.ts +9 -0
  744. package/dist/components/RecordPreviewWithModal/index.d.ts +1 -0
  745. package/dist/components/SearchModal/SearchModal.d.ts +10 -0
  746. package/dist/components/SearchModal/index.d.ts +1 -0
  747. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.d.ts +6 -1
  748. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -8
  749. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  750. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +8 -2
  751. package/dist/components/SelectTreeNode/SelectTreeNode.js +4 -5
  752. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  753. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +8 -2
  754. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +73 -51
  755. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  756. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.d.ts +2 -0
  757. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js +17 -0
  758. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -0
  759. package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +9 -0
  760. package/dist/components/SelectTreeNode/TreeNodeTitle.js +8 -0
  761. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -0
  762. package/dist/components/SelectTreeNode/_types.d.ts +18 -0
  763. package/dist/components/SelectTreeNode/_types.js +2 -0
  764. package/dist/components/SelectTreeNode/_types.js.map +1 -0
  765. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.d.ts → SelectTreeNodeModalOld/SelectTreeNodeModalOld.d.ts} +1 -1
  766. package/dist/components/{SelectTreeNodeModal/SelectTreeNodeModal.js → SelectTreeNodeModalOld/SelectTreeNodeModalOld.js} +5 -3
  767. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -0
  768. package/dist/components/SelectTreeNodeModalOld/index.d.ts +1 -0
  769. package/dist/components/{RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd → SelectTreeNodeModalOld}/index.js +1 -2
  770. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -0
  771. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.d.ts +14 -0
  772. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  773. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.d.ts +7 -0
  774. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js +6 -3
  775. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  776. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.d.ts +2 -0
  777. package/dist/components/SimpleErrorBoundary/index.d.ts +1 -0
  778. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.d.ts +7 -0
  779. package/dist/components/SubmitStateNotifier/_types.d.ts +1 -0
  780. package/dist/components/SubmitStateNotifier/index.d.ts +2 -0
  781. package/dist/components/TreePicker/TreePicker.d.ts +11 -0
  782. package/dist/components/TreePicker/TreesList/TreesList.d.ts +9 -0
  783. package/dist/components/TreePicker/TreesList/index.d.ts +1 -0
  784. package/dist/components/TreePicker/index.d.ts +1 -0
  785. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +10 -0
  786. package/dist/components/TriggerPreviewsGenerationModal/index.d.ts +1 -0
  787. package/dist/components/UploadFiles/UploadFiles.d.ts +13 -0
  788. package/dist/components/UploadFiles/UploadFiles.js +4 -4
  789. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  790. package/dist/components/UploadFiles/index.d.ts +1 -0
  791. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +9 -0
  792. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.d.ts +10 -0
  793. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js +2 -2
  794. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  795. package/dist/components/ValuesVersionConfigurator/VersionTree/index.d.ts +2 -0
  796. package/dist/components/ValuesVersionConfigurator/index.d.ts +2 -0
  797. package/dist/components/index.d.ts +38 -0
  798. package/dist/components/index.js +1 -2
  799. package/dist/components/index.js.map +1 -1
  800. package/dist/constants.d.ts +3 -1
  801. package/dist/constants.js +3 -1
  802. package/dist/constants.js.map +1 -1
  803. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.d.ts +5 -0
  804. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.d.ts +2 -0
  805. package/dist/contexts/EditRecordModalContext/index.d.ts +2 -0
  806. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.d.ts +1 -0
  807. package/dist/contexts/LangContext/LangContext.d.ts +2 -0
  808. package/dist/contexts/LangContext/LangContext.js +2 -2
  809. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  810. package/dist/contexts/LangContext/index.d.ts +2 -0
  811. package/dist/contexts/LangContext/types.d.ts +6 -0
  812. package/dist/contexts/UserContext/UserContext.d.ts +3 -0
  813. package/dist/contexts/UserContext/index.d.ts +2 -0
  814. package/dist/contexts/UserContext/types.d.ts +9 -0
  815. package/dist/contexts/index.d.ts +2 -0
  816. package/dist/gqlFragments/index.d.ts +1 -0
  817. package/dist/gqlFragments/recordIdentityFragment.d.ts +1 -0
  818. package/dist/gqlPossibleTypes/index.d.ts +20 -0
  819. package/dist/hooks/index.d.ts +17 -0
  820. package/dist/hooks/index.js +3 -0
  821. package/dist/hooks/index.js.map +1 -1
  822. package/dist/hooks/useAntdLocale/index.d.ts +1 -0
  823. package/dist/hooks/useAntdLocale/useAntdLocale.d.ts +3 -0
  824. package/dist/hooks/useAppLang/index.d.ts +1 -0
  825. package/dist/hooks/useAppLang/useAppLang.d.ts +5 -0
  826. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  827. package/dist/hooks/useAuth/index.d.ts +1 -0
  828. package/dist/hooks/useAuth/useAuth.d.ts +5 -0
  829. package/dist/hooks/useCanEditRecord/index.d.ts +1 -0
  830. package/dist/hooks/useCanEditRecord/useCanEditRecord.d.ts +8 -0
  831. package/dist/hooks/useDebouncedValue/index.d.ts +1 -0
  832. package/dist/hooks/useDebouncedValue/useDebouncedValue.d.ts +1 -0
  833. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.d.ts +6 -0
  834. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.d.ts +5 -0
  835. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.d.ts +8 -0
  836. package/dist/hooks/useGetRecordForm/index.d.ts +2 -0
  837. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +55 -0
  838. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +3 -3
  839. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  840. package/dist/hooks/useGetRecordUpdatesSubscription/index.d.ts +1 -0
  841. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.d.ts +4 -0
  842. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +15 -0
  843. package/dist/hooks/useIFrameMessenger/messageHandlers.js +121 -0
  844. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -0
  845. package/dist/hooks/useIFrameMessenger/schema.d.ts +21 -0
  846. package/dist/hooks/useIFrameMessenger/schema.js +76 -0
  847. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -0
  848. package/dist/hooks/useIFrameMessenger/types.d.ts +120 -0
  849. package/dist/hooks/useIFrameMessenger/types.js +2 -0
  850. package/dist/hooks/useIFrameMessenger/types.js.map +1 -0
  851. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +19 -0
  852. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +108 -0
  853. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -0
  854. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.d.ts +7 -0
  855. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +13 -0
  856. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -0
  857. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +13 -0
  858. package/dist/{components/RecordEdition/EditRecord/creationErrorContext.js → hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js} +2 -3
  859. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -0
  860. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +13 -0
  861. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js +13 -0
  862. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -0
  863. package/dist/hooks/useLang/__mocks__/index.d.ts +2 -0
  864. package/dist/hooks/useLang/__mocks__/useLang.d.ts +6 -0
  865. package/dist/hooks/useLang/index.d.ts +2 -0
  866. package/dist/hooks/useLang/useLang.d.ts +3 -0
  867. package/dist/hooks/useLibraryVersionTrees/index.d.ts +1 -0
  868. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.d.ts +10 -0
  869. package/dist/hooks/useLocalStorage/index.d.ts +1 -0
  870. package/dist/hooks/useLocalStorage/useLocalStorage.d.ts +2 -0
  871. package/dist/hooks/useLoginChecker/index.d.ts +1 -0
  872. package/dist/hooks/useLoginChecker/useLoginChecker.d.ts +3 -0
  873. package/dist/hooks/useRecordsConsultationHistory/index.d.ts +2 -0
  874. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.d.ts +1 -0
  875. package/dist/hooks/useRedirectToLogin/index.d.ts +1 -0
  876. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.d.ts +3 -0
  877. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  878. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  879. package/dist/hooks/useRefreshFieldValues/index.d.ts +1 -0
  880. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.d.ts +7 -0
  881. package/dist/hooks/useSharedTranslation/__mocks__/index.d.ts +1 -0
  882. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.d.ts +7 -0
  883. package/dist/hooks/useSharedTranslation/index.d.ts +1 -0
  884. package/dist/hooks/useSharedTranslation/useSharedTranslation.d.ts +2 -0
  885. package/dist/hooks/useUser/index.d.ts +1 -0
  886. package/dist/hooks/useUser/useUser.d.ts +1 -0
  887. package/dist/hooks/useValuesCacheUpdate/index.d.ts +1 -0
  888. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.d.ts +4 -0
  889. package/dist/index.d.ts +9 -0
  890. package/dist/locales/en/shared.json +34 -13
  891. package/dist/locales/fr/shared.json +33 -12
  892. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.d.ts +4 -0
  893. package/dist/testing/MockedLangContextProvider/index.d.ts +2 -0
  894. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.d.ts +4 -0
  895. package/dist/testing/MockedUserContextProvider/index.d.ts +2 -0
  896. package/dist/testing/index.d.ts +1 -0
  897. package/dist/types/attributes.d.ts +22 -0
  898. package/dist/types/index.d.ts +8 -0
  899. package/dist/types/misc.d.ts +2 -0
  900. package/dist/types/records.d.ts +25 -0
  901. package/dist/types/scalars.d.ts +1 -0
  902. package/dist/types/search.d.ts +205 -0
  903. package/dist/types/trees.d.ts +18 -0
  904. package/dist/types/values.d.ts +7 -0
  905. package/package.json +23 -8
  906. package/dist/components/Explorer/actions-item/useRemoveItemAction.js.map +0 -1
  907. package/dist/components/Explorer/link-item/useLinkMassAction.js.map +0 -1
  908. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.d.ts +0 -10
  909. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js +0 -75
  910. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.js.map +0 -1
  911. package/dist/components/RecordEdition/EditRecord/creationErrorContext.js.map +0 -1
  912. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.d.ts +0 -5
  913. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js +0 -28
  914. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.js.map +0 -1
  915. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js +0 -31
  916. package/dist/components/RecordEdition/EditRecordContent/hooks/useRunActionsListAndFormatOnValue.js.map +0 -1
  917. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js +0 -29
  918. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.js.map +0 -1
  919. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js +0 -6
  920. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.js.map +0 -1
  921. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.d.ts +0 -20
  922. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js +0 -53
  923. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.js.map +0 -1
  924. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js +0 -111
  925. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.js.map +0 -1
  926. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.d.ts +0 -20
  927. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js +0 -71
  928. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.js.map +0 -1
  929. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js +0 -58
  930. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.js.map +0 -1
  931. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js +0 -11
  932. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.js.map +0 -1
  933. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js +0 -6
  934. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/index.js.map +0 -1
  935. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js +0 -50
  936. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/QuickSearch.js.map +0 -1
  937. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js +0 -6
  938. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/QuickSearch/index.js.map +0 -1
  939. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js +0 -215
  940. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/ValuesAdd.js.map +0 -1
  941. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/ValuesAdd/index.js.map +0 -1
  942. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/ComputeIndicator.js.map +0 -1
  943. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/DeleteAllValuesButton.js.map +0 -1
  944. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js +0 -35
  945. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/ValuesList.js.map +0 -1
  946. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/index.js.map +0 -1
  947. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/calculatedInheritedFlags.js.map +0 -1
  948. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js +0 -50
  949. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/TreeFieldValue.js.map +0 -1
  950. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js +0 -6
  951. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeFieldValue/index.js.map +0 -1
  952. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js +0 -106
  953. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/ValuesAdd.js.map +0 -1
  954. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js +0 -6
  955. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/ValuesAdd/index.js.map +0 -1
  956. package/dist/components/SelectTreeNodeModal/SelectTreeNodeModal.js.map +0 -1
  957. package/dist/components/SelectTreeNodeModal/index.d.ts +0 -1
  958. package/dist/components/SelectTreeNodeModal/index.js +0 -5
  959. package/dist/components/SelectTreeNodeModal/index.js.map +0 -1
  960. /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/ComputeIndicator.js +0 -0
  961. /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.d.ts +0 -0
  962. /package/dist/components/RecordEdition/EditRecordContent/uiElements/{StandardField → shared}/calculatedInheritedFlags.js +0 -0
@@ -3,26 +3,23 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
5
  import isEqual from 'lodash/isEqual';
6
- import { useEffect, useReducer, useRef, useState } from 'react';
6
+ import { useEffect, useReducer } from 'react';
7
7
  import styled from 'styled-components';
8
8
  import { ErrorDisplayTypes } from '../../../constants';
9
9
  import { useCanEditRecord } from '../../../hooks/useCanEditRecord';
10
- import { AttributeType } from '../../../_gqlTypes';
10
+ import { AttributeType, useActivateNewRecordMutation } from '../../../_gqlTypes';
11
11
  import { ErrorBoundary } from '../../ErrorBoundary';
12
12
  import { ErrorDisplay } from '../../ErrorDisplay';
13
13
  import EditRecordContent from '../EditRecordContent';
14
14
  import useExecuteDeleteValueMutation from '../EditRecordContent/hooks/useExecuteDeleteValueMutation';
15
15
  import useSaveValueBatchMutation from '../EditRecordContent/hooks/useExecuteSaveValueBatchMutation';
16
- import { APICallStatus } from '../EditRecordContent/_types';
17
16
  import editRecordReducer, { EditRecordReducerActionsTypes, initialState } from '../editRecordReducer/editRecordReducer';
18
17
  import { EditRecordReducerContext } from '../editRecordReducer/editRecordReducerContext';
19
- import CreationErrorContext from './creationErrorContext';
20
- import { useRunActionsListAndFormatOnValue } from '../EditRecordContent/hooks/useRunActionsListAndFormatOnValue';
21
18
  import EditRecordSidebar from '../EditRecordSidebar';
22
19
  import EditRecordSkeleton from '../EditRecordSkeleton';
23
20
  import { useQuery } from '@apollo/client';
24
21
  import { getLibraryByIdQuery } from '../../../_queries/libraries/getLibraryByIdQuery';
25
- import useExecuteCreateRecordMutation from '../EditRecordContent/hooks/useCreateRecordMutation';
22
+ import EditRecordButtons from '../EditRecordButtons';
26
23
  const sidebarWidth = '352px';
27
24
  const Container = styled.div `
28
25
  display: grid;
@@ -37,8 +34,7 @@ const Content = styled.div `
37
34
  overflow-y: scroll;
38
35
  border-right: ${props => props.$shouldUseLayoutWithSidebar ? '1px solid var(--general-utilities-border)' : 'none'};
39
36
  `;
40
- export const EditRecord = ({ antdForm, formId, record, library: libraryId, onCreate, valuesVersion, showSidebar = false, sidebarContainer, containerStyle, withInfoButton, buttonsRefs }) => {
41
- const isCreationMode = !record;
37
+ export const EditRecord = ({ antdForm, formId, isFormCreationMode, formElementId, record, library: libraryId, onCreate, valuesVersion, enableSidebar = false, showSidebar = false, sidebarContainer, containerStyle, withInfoButton }) => {
42
38
  const [state, dispatch] = useReducer(editRecordReducer, {
43
39
  ...initialState,
44
40
  record,
@@ -46,8 +42,6 @@ export const EditRecord = ({ antdForm, formId, record, library: libraryId, onCre
46
42
  libraryLabel: null,
47
43
  valuesVersion,
48
44
  originValuesVersion: valuesVersion,
49
- sidebarContent: showSidebar ? 'summary' : 'none',
50
- sidebarDefaultHidden: !showSidebar,
51
45
  withInfoButton
52
46
  });
53
47
  const { loading: permissionsLoading, canEdit, isReadOnly } = useCanEditRecord({ ...record?.library, id: libraryId }, record?.id);
@@ -56,12 +50,7 @@ export const EditRecord = ({ antdForm, formId, record, library: libraryId, onCre
56
50
  });
57
51
  const { saveValues } = useSaveValueBatchMutation();
58
52
  const { deleteValue } = useExecuteDeleteValueMutation(record);
59
- const { createRecord } = useExecuteCreateRecordMutation();
60
- const [creationErrors, setCreationErrors] = useState({});
61
- const [pendingValues, setPendingValues] = useState({});
62
- // As _handleRecordSubmit is called via the callback of an event listener, it won't have access to the latest state.
63
- // We use a ref to store the latest state and access it in the callback
64
- const pendingValuesRef = useRef(pendingValues);
53
+ const [activateNewRecordMutation] = useActivateNewRecordMutation();
65
54
  // Update record in reducer when it changes. Might happen on record identity change (after value save)
66
55
  useEffect(() => {
67
56
  if (libraryData) {
@@ -79,145 +68,37 @@ export const EditRecord = ({ antdForm, formId, record, library: libraryId, onCre
79
68
  });
80
69
  }
81
70
  }, [record]);
82
- // Add events listeners on buttons (submit, close, refresh...)
83
71
  useEffect(() => {
84
- for (const buttonName of Object.keys(buttonsRefs)) {
85
- buttonsRefs[buttonName]?.current?.addEventListener('click', listenersByButtonsName[buttonName]);
86
- }
87
- return () => {
88
- for (const buttonName of Object.keys(buttonsRefs)) {
89
- buttonsRefs[buttonName]?.current?.removeEventListener('click', listenersByButtonsName[buttonName]);
90
- }
91
- };
92
- }, [buttonsRefs]);
93
- // Keep pendingValuesRef in sync with the state
72
+ dispatch({
73
+ type: EditRecordReducerActionsTypes.SET_ENABLE_SIDEBAR,
74
+ enabled: enableSidebar
75
+ });
76
+ }, [enableSidebar]);
94
77
  useEffect(() => {
95
- pendingValuesRef.current = pendingValues;
96
- }, [pendingValues]);
97
- const { runActionsListAndFormatOnValue } = useRunActionsListAndFormatOnValue();
98
- const _handleValueSubmit = async (values, version) => {
99
- if (!isCreationMode) {
100
- // In Edition mode, submit values immediately and send result back to children
101
- return saveValues(record, values.map(val => {
102
- const savableValue = { ...val, attribute: val.attribute.id, metadata: val.metadata };
103
- if (val.value) {
104
- switch (val.attribute.type) {
105
- case AttributeType.advanced_link:
106
- case AttributeType.simple_link:
107
- savableValue.value = val.value.id;
108
- break;
109
- case AttributeType.tree:
110
- savableValue.value = val.value.id;
111
- break;
112
- default:
113
- savableValue.value = val.value;
114
- break;
115
- }
116
- }
117
- return savableValue;
118
- }), version, true // deleteEmpty
119
- );
120
- }
121
- // In creation mode, all values are stored until we submit the whole record
122
- const newPendingValues = { ...pendingValues };
123
- const storedValues = [];
124
- for (const value of values) {
125
- const valueToProcess = { ...value, attribute: value.attribute.id, metadata: value.metadata };
126
- if (valueToProcess.value) {
127
- switch (value.attribute.type) {
128
- case AttributeType.advanced_link:
129
- case AttributeType.simple_link:
130
- valueToProcess.value = value.value.id;
131
- break;
132
- case AttributeType.tree:
133
- valueToProcess.value = value.value.id;
134
- break;
135
- default:
136
- valueToProcess.value = value.value;
137
- break;
138
- }
139
- }
140
- const valueAfterActionsListAndFormat = await runActionsListAndFormatOnValue(libraryId, valueToProcess, version);
141
- const attributeId = value.attribute.id;
142
- if (!newPendingValues[attributeId]) {
143
- newPendingValues[attributeId] = {};
144
- }
145
- // Each value is affected a fake id to handle updates
146
- let newIdValue = value.idValue;
147
- if (!newIdValue &&
148
- value.attribute.type !== AttributeType.simple &&
149
- value.attribute.type !== AttributeType.simple_link) {
150
- newIdValue = `pending_${Object.keys(newPendingValues[attributeId]).length + 1}`;
151
- }
152
- // const valueToStore: Partial<SAVE_VALUE_BATCH_saveValueBatch_values> = {
153
- const valueToStore = {
154
- id_value: newIdValue,
155
- modified_at: null,
156
- modified_by: null,
157
- created_at: null,
158
- created_by: null,
159
- version: null,
160
- attribute: value.attribute,
161
- metadata: value.metadata
162
- ? Object.keys(value.metadata).reduce((metadata, metadataAttributeId) => {
163
- const metadataValue = {
164
- id_value: null,
165
- modified_at: null,
166
- modified_by: null,
167
- created_at: null,
168
- created_by: null,
169
- version: null,
170
- value: value.metadata[metadataAttributeId],
171
- raw_value: value.metadata[metadataAttributeId]
172
- };
173
- // If we find an existing metadata value, update it, otherwise add a new one
174
- const existingMetataIndex = metadata.findIndex(existingMetadata => existingMetadata.name === metadataAttributeId);
175
- if (existingMetataIndex !== -1) {
176
- metadata[existingMetataIndex].value = metadataValue;
177
- }
178
- else {
179
- metadata.push({
180
- name: metadataAttributeId,
181
- value: metadataValue
182
- });
183
- }
184
- return metadata;
185
- }, newPendingValues?.[attributeId]?.[newIdValue]?.metadata ?? [])
186
- : null
187
- };
188
- // Format value to get all props clean, based on attribute type
189
- switch (value.attribute.type) {
78
+ dispatch({
79
+ type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN,
80
+ isOpen: showSidebar
81
+ });
82
+ }, [showSidebar]);
83
+ const _handleValueSubmit = async (values, version) => saveValues(record, values.map(val => {
84
+ const savableValue = { ...val, attribute: val.attribute.id, metadata: val.metadata };
85
+ if (val.value) {
86
+ switch (val.attribute.type) {
190
87
  case AttributeType.advanced_link:
191
88
  case AttributeType.simple_link:
192
- valueToStore.linkValue = value.value;
89
+ savableValue.value = val.value.id;
193
90
  break;
194
91
  case AttributeType.tree:
195
- const treeValue = value.value;
196
- const valueRecord = treeValue.record;
197
- valueToStore.treeValue = {
198
- id: treeValue.id,
199
- record: valueRecord,
200
- ancestors: [{ record: valueRecord }]
201
- };
92
+ savableValue.value = val.value.id;
202
93
  break;
203
94
  default:
204
- valueToStore.payload =
205
- valueAfterActionsListAndFormat.payload ?? value.value;
206
- valueToStore.raw_payload = value.value;
95
+ savableValue.value = val.value;
207
96
  break;
208
97
  }
209
- newPendingValues[attributeId][valueToStore.id_value] = {
210
- ...valueToStore
211
- };
212
- storedValues.push(valueToStore);
213
98
  }
214
- // Store values
215
- setPendingValues(newPendingValues);
216
- return {
217
- status: APICallStatus.SUCCESS,
218
- values: storedValues
219
- };
220
- };
99
+ return savableValue;
100
+ }), version, true // deleteEmpty
101
+ );
221
102
  const _handleMetadataSubmit = (value, attribute, metadata) => {
222
103
  let valueContent;
223
104
  switch (attribute.type) {
@@ -246,106 +127,42 @@ export const EditRecord = ({ antdForm, formId, record, library: libraryId, onCre
246
127
  * Submit the whole record: create record and batch save all stored values
247
128
  */
248
129
  const _handleRecordSubmit = async (attributes) => {
249
- const currentPendingValues = pendingValuesRef.current ?? {};
250
- if (state.record) {
251
- return;
252
- }
253
- const valuesToSave = Object.values(currentPendingValues).reduce((allValues, valuesById) => {
254
- const attributeValues = Object.values(valuesById).map(val => {
255
- let actualValue;
256
- switch (val.attribute.type) {
257
- case AttributeType.advanced_link:
258
- case AttributeType.simple_link:
259
- actualValue = val.linkValue.id;
260
- break;
261
- case AttributeType.tree:
262
- const treeValue = val.treeValue;
263
- actualValue = treeValue.id;
264
- break;
265
- default:
266
- actualValue = val.raw_payload;
267
- break;
268
- }
269
- return {
270
- payload: actualValue,
271
- id_value: val.id_value ?? null,
272
- attribute: val.attribute.id,
273
- metadata: val.metadata
274
- ? val.metadata.map(metadataValue => ({
275
- name: metadataValue.name,
276
- value: metadataValue.value.raw_payload
277
- }))
278
- : null
279
- };
280
- });
281
- return [...allValues, ...attributeValues];
282
- }, []);
283
- const creationResult = await createRecord(libraryId, valuesToSave);
284
- if (creationResult.status === APICallStatus.SUCCESS) {
130
+ const activateNewRecordResult = await activateNewRecordMutation({
131
+ fetchPolicy: 'network-only',
132
+ variables: {
133
+ libraryId,
134
+ recordId: record.id,
135
+ formId
136
+ }
137
+ });
138
+ const errors = activateNewRecordResult?.data?.activateNewRecord.valuesErrors;
139
+ if (errors?.length === 0) {
285
140
  if (onCreate) {
286
- onCreate(creationResult.record);
141
+ onCreate(activateNewRecordResult?.data?.activateNewRecord?.record?.whoAmI);
287
142
  }
288
143
  return;
289
144
  }
290
- // Extract errors by field
291
- const errorsByField = creationResult.errors.reduce((errors, error) => {
292
- if (!errors[error.attribute]) {
293
- errors[error.attribute] = [];
294
- }
295
- errors[error.attribute].push(error);
296
- return errors;
297
- }, {});
298
- setCreationErrors(errorsByField);
299
- antdForm.setFields(creationResult.errors.map(error => ({
300
- name: attributes.find(attribute => attribute.id === error.attribute)?.multiple_values &&
301
- error.type === 'REQUIRED_ATTRIBUTE'
302
- ? [error.attribute, 0]
303
- : error.attribute,
304
- errors: [error.message]
305
- })));
306
- return;
307
- };
308
- const _handleDeleteValue = async (value, attribute) => {
309
- if (!isCreationMode) {
310
- return deleteValue(value, attribute);
311
- }
312
- const newPendingValues = { ...pendingValues };
313
- delete newPendingValues[attribute][value.id_value];
314
- setPendingValues(newPendingValues);
315
- return {
316
- status: APICallStatus.SUCCESS
317
- };
145
+ antdForm.setFields(errors.map(error => {
146
+ const attributeInError = attributes.find(attribute => attribute.id === error.attribute);
147
+ const doesAttributeHaveMultipleFields = attributeInError?.multiple_values &&
148
+ ![AttributeType.simple_link, AttributeType.advanced_link].includes(attributeInError.type);
149
+ return {
150
+ name: doesAttributeHaveMultipleFields && error.type === 'REQUIRED_ATTRIBUTE'
151
+ ? [error.attribute, 0]
152
+ : error.attribute,
153
+ errors: [error.message]
154
+ };
155
+ }));
318
156
  };
319
157
  const _handleDeleteAllValues = async (attribute, values, version) => {
320
- if (!isCreationMode) {
321
- const valuesToSave = values.map(value => ({
322
- idValue: value.id_value,
323
- attribute,
324
- value: null
325
- }));
326
- return saveValues(record, valuesToSave, version, true);
327
- }
328
- const newPendingValues = { ...pendingValues };
329
- newPendingValues[attribute] = {};
330
- setPendingValues(newPendingValues);
331
- return {
332
- status: APICallStatus.SUCCESS
333
- };
334
- };
335
- const listenersByButtonsName = {
336
- refresh: () => {
337
- dispatch({
338
- type: EditRecordReducerActionsTypes.REQUEST_REFRESH
339
- });
340
- },
341
- valuesVersions: () => {
342
- dispatch({
343
- type: EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT,
344
- content: state.sidebarContent === 'valuesVersions' ? 'summary' : 'valuesVersions'
345
- });
346
- }
158
+ const valuesToSave = values.map(value => ({
159
+ idValue: value.id_value,
160
+ attribute,
161
+ value: null
162
+ }));
163
+ return saveValues(record, valuesToSave, version, true);
347
164
  };
348
- const shouldUseLayoutWithSidebar = state.sidebarContent !== 'none' && sidebarContainer === undefined && showSidebar;
349
- return (_jsx(ErrorBoundary, { children: _jsx(EditRecordReducerContext.Provider, { value: { state, dispatch }, children: _jsx(CreationErrorContext.Provider, { value: creationErrors, children: _jsxs(Container, { "$shouldUseLayoutWithSidebar": shouldUseLayoutWithSidebar, style: containerStyle, children: [_jsx(Content, { "$shouldUseLayoutWithSidebar": shouldUseLayoutWithSidebar, children: permissionsLoading ? (_jsx(EditRecordSkeleton, { rows: 5 })) : canEdit ? (_jsx(EditRecordContent, { antdForm: antdForm, formId: formId, record: record, library: libraryId, onRecordSubmit: _handleRecordSubmit, onValueSubmit: _handleValueSubmit, onValueDelete: _handleDeleteValue, onDeleteMultipleValues: _handleDeleteAllValues, readonly: isReadOnly })) : (_jsx(ErrorDisplay, { type: ErrorDisplayTypes.PERMISSION_ERROR, showActionButton: false })) }), _jsx(EditRecordSidebar, { onMetadataSubmit: _handleMetadataSubmit, open: showSidebar, sidebarContainer: sidebarContainer })] }) }) }) }));
165
+ const shouldUseLayoutWithSidebar = state.enableSidebar && state.isOpenSidebar && sidebarContainer === undefined;
166
+ return (_jsx(ErrorBoundary, { children: _jsx(EditRecordReducerContext.Provider, { value: { state, dispatch }, children: _jsxs(Container, { "$shouldUseLayoutWithSidebar": shouldUseLayoutWithSidebar, style: containerStyle, children: [_jsx(EditRecordButtons, {}), _jsx(Content, { "$shouldUseLayoutWithSidebar": shouldUseLayoutWithSidebar, children: permissionsLoading ? (_jsx(EditRecordSkeleton, { rows: 5 })) : canEdit ? (_jsx(EditRecordContent, { antdForm: antdForm, formId: formId, isFormCreationMode: isFormCreationMode, formElementId: formElementId, record: record, library: libraryId, onRecordSubmit: _handleRecordSubmit, onValueSubmit: _handleValueSubmit, onValueDelete: deleteValue, onDeleteMultipleValues: _handleDeleteAllValues, readonly: isReadOnly })) : (_jsx(ErrorDisplay, { type: ErrorDisplayTypes.PERMISSION_ERROR, showActionButton: false })) }), _jsx(EditRecordSidebar, { onMetadataSubmit: _handleMetadataSubmit, sidebarContainer: sidebarContainer })] }) }) }));
350
167
  };
351
168
  //# sourceMappingURL=EditRecord.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditRecord.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecord/EditRecord.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAoB,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACjF,OAAO,MAAmB,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,iBAAiB,EAAC,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EACH,aAAa,EAQhB,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAChD,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,6BAA6B,MAAM,0DAA0D,CAAC;AACrG,OAAO,yBAAyB,MAAM,6DAA6D,CAAC;AACpG,OAAO,EACH,aAAa,EAShB,MAAM,6BAA6B,CAAC;AACrC,OAAO,iBAAiB,EAAE,EAAC,6BAA6B,EAAE,YAAY,EAAC,MAAM,wCAAwC,CAAC;AACtH,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AACvF,OAAO,oBAA6C,MAAM,wBAAwB,CAAC;AAEnF,OAAO,EAAC,iCAAiC,EAAC,MAAM,8DAA8D,CAAC;AAC/G,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CA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cAAc,KAAK,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,gBAAgB;aACpF,CAAC,CAAC;QACP,CAAC;KACJ,CAAC;IAEF,MAAM,0BAA0B,GAAG,KAAK,CAAC,cAAc,KAAK,MAAM,IAAI,gBAAgB,KAAK,SAAS,IAAI,WAAW,CAAC;IAEpH,OAAO,CACH,KAAC,aAAa,cACV,KAAC,wBAAwB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC,YACvD,KAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,cAAc,YAChD,MAAC,SAAS,mCAA8B,0BAA0B,EAAE,KAAK,EAAE,cAAc,aACrF,KAAC,OAAO,mCAA8B,0BAA0B,YAC3D,kBAAkB,CAAC,CAAC,CAAC,CAClB,KAAC,kBAAkB,IAAC,IAAI,EAAE,CAAC,GAAI,CAClC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CACV,KAAC,iBAAiB,IACd,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,SAAS,EAClB,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,kBAAkB,EACjC,aAAa,EAAE,kBAAkB,EACjC,sBAAsB,EAAE,sBAAsB,EAC9C,QAAQ,EAAE,UAAU,GACtB,CACL,CAAC,CAAC,CAAC,CACA,KAAC,YAAY,IAAC,IAAI,EAAE,iBAAiB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,KAAK,GAAI,CACtF,GACK,EACV,KAAC,iBAAiB,IACd,gBAAgB,EAAE,qBAAqB,EACvC,IAAI,EAAE,WAAW,EACjB,gBAAgB,EAAE,gBAAgB,GACpC,IACM,GACgB,GACA,GACxB,CACnB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"EditRecord.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecord/EditRecord.tsx"],"names":[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xB,CACnB,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { IValueVersion } from '../../../../types/values';
2
+ interface IValuesVersionSummaryProps {
3
+ libraryId: string;
4
+ version: IValueVersion;
5
+ onVersionClick: () => void;
6
+ }
7
+ declare function ValuesVersionSummary({ libraryId, version, onVersionClick }: IValuesVersionSummaryProps): JSX.Element;
8
+ export default ValuesVersionSummary;
@@ -0,0 +1,2 @@
1
+ import ValuesVersionSummary from './ValuesVersionSummary';
2
+ export default ValuesVersionSummary;
@@ -0,0 +1 @@
1
+ export { EditRecord } from './EditRecord';
@@ -0,0 +1,9 @@
1
+ import { ButtonProps } from 'antd';
2
+ import { IRecordIdentityWhoAmI } from '../../../types/records';
3
+ import { IValueVersion } from '../../../types/values';
4
+ interface IEditRecordBtnProps extends ButtonProps {
5
+ record: IRecordIdentityWhoAmI;
6
+ valuesVersion?: IValueVersion;
7
+ }
8
+ declare function EditRecordBtn({ record, valuesVersion, ...buttonProps }: IEditRecordBtnProps): JSX.Element;
9
+ export default EditRecordBtn;
@@ -0,0 +1,2 @@
1
+ import EditRecordBtn from './EditRecordBtn';
2
+ export default EditRecordBtn;
@@ -0,0 +1,2 @@
1
+ declare const EditRecordButtons: () => import("react").ReactPortal;
2
+ export default EditRecordButtons;
@@ -0,0 +1,43 @@
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
+ import { KitButton, KitSpace } from 'aristid-ds';
6
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
7
+ import { faRotateRight, faLayerGroup } from '@fortawesome/free-solid-svg-icons';
8
+ import { createPortal } from 'react-dom';
9
+ import { useEffect, useState } from 'react';
10
+ import { EDIT_RECORD_MODAL_HEADER_CONTAINER_BUTTONS } from '../constants';
11
+ import { ToggleSidebarButton } from './SidebarButton';
12
+ import { EditRecordReducerActionsTypes, EditRecordSidebarContentTypeMap } from '../editRecordReducer/editRecordReducer';
13
+ import { useEditRecordReducer } from '../editRecordReducer/useEditRecordReducer';
14
+ const EditRecordButtons = () => {
15
+ const [buttonsContainer, setButtonsContainer] = useState();
16
+ const { state, dispatch } = useEditRecordReducer();
17
+ useEffect(() => {
18
+ const element = document.getElementById(EDIT_RECORD_MODAL_HEADER_CONTAINER_BUTTONS);
19
+ if (element) {
20
+ setButtonsContainer(element);
21
+ }
22
+ }, []);
23
+ if (!buttonsContainer) {
24
+ return null;
25
+ }
26
+ const handleRefreshClick = () => {
27
+ dispatch({
28
+ type: EditRecordReducerActionsTypes.REQUEST_REFRESH
29
+ });
30
+ };
31
+ const handleValuesVersionClick = () => {
32
+ dispatch({
33
+ type: EditRecordReducerActionsTypes.SET_SIDEBAR_CONTENT,
34
+ content: state.sidebarContent === EditRecordSidebarContentTypeMap.VALUES_VERSIONS
35
+ ? EditRecordSidebarContentTypeMap.SUMMARY
36
+ : EditRecordSidebarContentTypeMap.VALUES_VERSIONS
37
+ });
38
+ };
39
+ const buttons = (_jsxs(KitSpace, { size: "xxs", children: [_jsx(KitButton, { type: "tertiary", icon: _jsx(FontAwesomeIcon, { icon: faLayerGroup }), onClick: handleValuesVersionClick }), _jsx(KitButton, { type: "tertiary", icon: _jsx(FontAwesomeIcon, { icon: faRotateRight }), onClick: handleRefreshClick }), _jsx(ToggleSidebarButton, {})] }));
40
+ return createPortal(buttons, buttonsContainer);
41
+ };
42
+ export default EditRecordButtons;
43
+ //# sourceMappingURL=EditRecordButtons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditRecordButtons.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordButtons/EditRecordButtons.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;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+BAA+B,CAAC,OAAO;gBACzC,CAAC,CAAC,+BAA+B,CAAC,eAAe;SAC5D,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,MAAM,OAAO,GAAG,CACZ,MAAC,QAAQ,IAAC,IAAI,EAAC,KAAK,aAChB,KAAC,SAAS,IACN,IAAI,EAAC,UAAU,EACf,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,YAAY,GAAI,EAC7C,OAAO,EAAE,wBAAwB,GACnC,EACF,KAAC,SAAS,IAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,aAAa,GAAI,EAAE,OAAO,EAAE,kBAAkB,GAAI,EAC1G,KAAC,mBAAmB,KAAG,IAChB,CACd,CAAC;IAEF,OAAO,YAAY,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAC;AACnD,CAAC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { type FunctionComponent } from 'react';
2
+ export declare const ToggleSidebarButton: FunctionComponent;
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { KitButton, KitTooltip } from 'aristid-ds';
3
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
4
+ import { faAngleLeft, faAngleRight } from '@fortawesome/free-solid-svg-icons';
5
+ import { useEditRecordReducer } from '../editRecordReducer/useEditRecordReducer';
6
+ import { EditRecordReducerActionsTypes } from '../editRecordReducer/editRecordReducer';
7
+ import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
8
+ import { EDIT_RECORD_SIDEBAR_TOGGLE_BUTON_ID } from '../constants';
9
+ export const ToggleSidebarButton = () => {
10
+ const { t } = useSharedTranslation();
11
+ const { state, dispatch } = useEditRecordReducer();
12
+ const isOpen = state.isOpenSidebar ?? false;
13
+ const toggleSidebar = () => {
14
+ dispatch({
15
+ type: EditRecordReducerActionsTypes.SET_SIDEBAR_IS_OPEN,
16
+ isOpen: !isOpen
17
+ });
18
+ };
19
+ const buttonLabel = isOpen ? t('record_edition.close_sidebar') : t('record_edition.open_sidebar');
20
+ if (!state.enableSidebar) {
21
+ return null;
22
+ }
23
+ return (_jsx(KitTooltip, { title: buttonLabel, mouseEnterDelay: 1, children: _jsx(KitButton, { id: EDIT_RECORD_SIDEBAR_TOGGLE_BUTON_ID, type: "tertiary", icon: _jsx(FontAwesomeIcon, { icon: isOpen ? faAngleRight : faAngleLeft }), onClick: toggleSidebar, "aria-label": buttonLabel }) }));
24
+ };
25
+ //# sourceMappingURL=SidebarButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SidebarButton.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordButtons/SidebarButton.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,YAAY,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAE,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAC,oBAAoB,EAAC,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAC,6BAA6B,EAAC,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,mCAAmC,EAAC,MAAM,cAAc,CAAC;AAEjE,MAAM,CAAC,MAAM,mBAAmB,GAAsB,GAAG,EAAE;IACvD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,KAAK,EAAE,QAAQ,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACjD,MAAM,MAAM,GAAG,KAAK,CAAC,aAAa,IAAI,KAAK,CAAC;IAE5C,MAAM,aAAa,GAAG,GAAG,EAAE;QACvB,QAAQ,CAAC;YACL,IAAI,EAAE,6BAA6B,CAAC,mBAAmB;YACvD,MAAM,EAAE,CAAC,MAAM;SAClB,CAAC,CAAC;IACP,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAC,CAAC;IAElG,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,KAAC,UAAU,IAAC,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC,YAC9C,KAAC,SAAS,IACN,EAAE,EAAE,mCAAmC,EACvC,IAAI,EAAC,UAAU,EACf,IAAI,EAAE,KAAC,eAAe,IAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,GAAI,EACpE,OAAO,EAAE,aAAa,gBACV,WAAW,GACzB,GACO,CAChB,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import EditRecordButtons from './EditRecordButtons';
2
+ export default EditRecordButtons;
@@ -1,6 +1,6 @@
1
1
  // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import ValuesList from './ValuesList';
5
- export default ValuesList;
4
+ import EditRecordButtons from './EditRecordButtons';
5
+ export default EditRecordButtons;
6
6
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecordButtons/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,eAAe,iBAAiB,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import { FunctionComponent } from 'react';
2
+ import { FormInstance } from 'antd';
2
3
  import { IRecordIdentityWhoAmI } from '../../../types/records';
3
4
  import { RecordFormAttributeStandardAttributeFragment } from '../../../_gqlTypes';
4
5
  import { DeleteMultipleValuesFunc, DeleteValueFunc, SubmitValueFunc } from './_types';
5
- import { FormInstance } from 'antd';
6
6
  interface IEditRecordContentProps {
7
7
  antdForm: FormInstance;
8
8
  formId?: string;
9
+ isFormCreationMode: boolean;
10
+ formElementId?: string;
9
11
  record: IRecordIdentityWhoAmI | null;
10
12
  library: string;
11
13
  onRecordSubmit: (attributes: RecordFormAttributeStandardAttributeFragment[]) => void;