@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
@@ -1,10 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- interface IFilterValueListProps {
3
- values: string[];
4
- selectedValues: string[];
5
- multiple: boolean;
6
- freeEntry: boolean;
7
- onSelectionChanged: (value: string[]) => void;
8
- }
9
- export declare const FilterValueList: FunctionComponent<IFilterValueListProps>;
10
- export {};
@@ -1,75 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { useDebouncedValue } from '../../../../../hooks/useDebouncedValue';
6
- import { useSharedTranslation } from '../../../../../hooks/useSharedTranslation';
7
- import { KitInput, KitTypography } from 'aristid-ds';
8
- import { useMemo, useState } from 'react';
9
- import { FaCheck, FaSearch } from 'react-icons/fa';
10
- import styled from 'styled-components';
11
- const FilterValueListStyledUl = styled.ul `
12
- padding: 0;
13
- margin: 0;
14
- list-style: none;
15
- `;
16
- const ValueListItemValueLi = styled.li `
17
- display: flex;
18
- align-items: center;
19
- min-height: 32px;
20
- height: 32px;
21
- border-radius: calc(var(--general-border-radius-s) * 1px);
22
- cursor: pointer;
23
-
24
- &.selected,
25
- &:hover {
26
- color: var(--components-Icon-colors-icon-on, var(--general-utilities-main-default));
27
- background-color: var(--components-Icon-colors-background-on, var(--general-utilities-main-light));
28
- }
29
-
30
- .label {
31
- flex: 1;
32
- padding: 0 calc(var(--general-spacing-xs) * 1px);
33
- }
34
-
35
- .check {
36
- flex: 0;
37
- padding: 0 calc(var(--general-spacing-xs) * 1px);
38
- }
39
- `;
40
- export const FilterValueList = ({ values, selectedValues, multiple, onSelectionChanged }) => {
41
- const { t } = useSharedTranslation();
42
- const [searchInput, setSearchInput] = useState('');
43
- const debouncedSearchInput = useDebouncedValue(searchInput, 300);
44
- const searchFilteredValues = useMemo(() => {
45
- if (debouncedSearchInput === '' || debouncedSearchInput.length < 3) {
46
- return values;
47
- }
48
- return values.filter(value => value.includes(debouncedSearchInput));
49
- }, [debouncedSearchInput, values]);
50
- const onSearchChanged = (event) => {
51
- const shouldIgnoreInputChange = event.target.value.length < 3 && debouncedSearchInput.length < 3;
52
- if (shouldIgnoreInputChange) {
53
- return;
54
- }
55
- setSearchInput(() => {
56
- if (event.target.value.length > 2) {
57
- return event.target.value;
58
- }
59
- return '';
60
- });
61
- };
62
- const onClickItem = (value) => {
63
- if (selectedValues.includes(value)) {
64
- onSelectionChanged(selectedValues.filter(selectedValue => selectedValue !== value));
65
- }
66
- else {
67
- onSelectionChanged(multiple ? [...selectedValues, value] : [value]);
68
- }
69
- };
70
- return (_jsxs(_Fragment, { children: [_jsx(KitInput, { placeholder: String(t('global.search')), onChange: onSearchChanged, allowClear: true, prefix: _jsx(FaSearch, {}) }), _jsx(FilterValueListStyledUl, { children: searchFilteredValues.map(value => {
71
- const isSelected = selectedValues.includes(value);
72
- return (_jsxs(ValueListItemValueLi, { className: isSelected ? 'selected' : '', onClick: () => onClickItem(value), children: [_jsx(KitTypography.Text, { className: "label", ellipsis: true, size: "fontSize5", children: value }), isSelected && (_jsx(KitTypography.Text, { className: "check", size: "fontSize5", children: _jsx(FaCheck, {}) }))] }, value));
73
- }) })] }));
74
- };
75
- //# sourceMappingURL=FilterValueList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FilterValueList.js","sourceRoot":"","sources":["../../../../../../src/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACnD,OAAO,EAAiC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxE,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACjD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAWvC,MAAM,uBAAuB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;CAIxC,CAAC;AAEF,MAAM,oBAAoB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;;;;;;;;;;;;;CAuBrC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAA6C,CAAC,EACtE,MAAM,EACN,cAAc,EACd,QAAQ,EACR,kBAAkB,EACrB,EAAE,EAAE;IACD,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACnD,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,WAAW,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AEF,OAAO,CACH,8BACI,KAAC,QAAQ,IACL,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EACvC,QAAQ,EAAE,eAAe,EACzB,UAAU,QACV,MAAM,EAAE,KAAC,QAAQ,KAAG,GACtB,EACF,KAAC,uBAAuB,cACnB,oBAAoB,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;oBAC9B,MAAM,UAAU,GAAG,cAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;oBAClD,OAAO,CACH,MAAC,oBAAoB,IAEjB,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EACvC,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,aAEjC,KAAC,aAAa,CAAC,IAAI,IAAC,SAAS,EAAC,OAAO,EAAC,QAAQ,QAAC,IAAI,EAAC,WAAW,YAC1D,KAAK,GACW,EACpB,UAAU,IAAI,CACX,KAAC,aAAa,CAAC,IAAI,IAAC,SAAS,EAAC,OAAO,EAAC,IAAI,EAAC,WAAW,YAClD,KAAC,OAAO,KAAG,GACM,CACxB,KAXI,KAAK,CAYS,CAC1B,CAAC;gBACN,CAAC,CAAC,GACoB,IAC3B,CACN,CAAC;AACN,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"creationErrorContext.js","sourceRoot":"","sources":["../../../../src/components/RecordEdition/EditRecord/creationErrorContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAMpC,MAAM,oBAAoB,GAAG,aAAa,CAAwB,EAAE,CAAC,CAAC;AAEtE,eAAe,oBAAoB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { CreateRecordFunc } from '../_types';
2
- export interface ICreateRecordHook {
3
- createRecord: CreateRecordFunc;
4
- }
5
- export default function useExecuteCreateRecordMutation(): ICreateRecordHook;
@@ -1,28 +0,0 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import { useCreateRecordMutation } from '../../../../_gqlTypes';
5
- import { APICallStatus } from '../_types';
6
- export default function useExecuteCreateRecordMutation() {
7
- const [executeCreateRecord] = useCreateRecordMutation();
8
- return {
9
- createRecord: async (libraryId, values) => {
10
- const creationResult = await executeCreateRecord({
11
- variables: { library: libraryId, data: { values } }
12
- });
13
- if (creationResult.data.createRecord.valuesErrors?.length > 0) {
14
- return {
15
- status: APICallStatus.ERROR,
16
- errors: creationResult.data.createRecord.valuesErrors
17
- };
18
- }
19
- else {
20
- return {
21
- status: APICallStatus.SUCCESS,
22
- record: creationResult.data.createRecord.record.whoAmI
23
- };
24
- }
25
- }
26
- };
27
- }
28
- //# sourceMappingURL=useCreateRecordMutation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCreateRecordMutation.js","sourceRoot":"","sources":["../../../../../src/components/RecordEdition/EditRecordContent/hooks/useCreateRecordMutation.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,uBAAuB,EAAC,MAAM,eAAe,CAAC;AACtD,OAAO,EAAC,aAAa,EAAmB,MAAM,WAAW,CAAC;AAM1D,MAAM,CAAC,OAAO,UAAU,8BAA8B;IAClD,MAAM,CAAC,mBAAmB,CAAC,GAAG,uBAAuB,EAAE,CAAC;IAExD,OAAO;QACH,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;YACtC,MAAM,cAAc,GAAG,MAAM,mBAAmB,CAAC;gBAC7C,SAAS,EAAE,EAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,EAAC,MAAM,EAAC,EAAC;aAClD,CAAC,CAAC;YACH,IAAI,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC5D,OAAO;oBACH,MAAM,EAAE,aAAa,CAAC,KAAK;oBAC3B,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,YAAY;iBACxD,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,OAAO;oBACH,MAAM,EAAE,aAAa,CAAC,OAAO;oBAC7B,MAAM,EAAE,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM;iBACzD,CAAC;YACN,CAAC;QACL,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,31 +0,0 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import { useRunActionsListAndFormatOnValueLazyQuery } from '../../../../_gqlTypes';
5
- import { objectToNameValueArray } from '@leav/utils';
6
- export const useRunActionsListAndFormatOnValue = () => {
7
- const [runActionsListAndFormatOnValueLazyQuery, { loading, error }] = useRunActionsListAndFormatOnValueLazyQuery();
8
- const runActionsListAndFormatOnValue = async (library, valueToProcess, version) => {
9
- const result = await runActionsListAndFormatOnValueLazyQuery({
10
- variables: {
11
- library,
12
- value: {
13
- attribute: valueToProcess.attribute,
14
- payload: valueToProcess.value !== null ? String(valueToProcess.value) : null,
15
- metadata: valueToProcess.metadata
16
- ? objectToNameValueArray(valueToProcess.metadata).map(({ name, value }) => ({
17
- name,
18
- value: String(value)
19
- }))
20
- : null
21
- },
22
- version: version
23
- ? objectToNameValueArray(version).map(v => ({ treeId: v.name, treeNodeId: v.value.id }))
24
- : null
25
- }
26
- });
27
- return result.data.runActionsListAndFormatOnValue?.[0] ?? null;
28
- };
29
- return { runActionsListAndFormatOnValue, loading, error };
30
- };
31
- //# sourceMappingURL=useRunActionsListAndFormatOnValue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRunActionsListAndFormatOnValue.js","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CAAC,CAAC,IAAI;aACb;SACJ,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC;IACnE,CAAC,CAAC;IAEF,OAAO,EAAC,8BAA8B,EAAE,OAAO,EAAE,KAAK,EAAC,CAAC;AAC5D,CAAC,CAAC"}
@@ -1,29 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FloatingMenu } from '../../../../../../components';
3
- import DeleteValueBtn from '../../../../../../components/RecordEdition/EditRecordContent/shared/DeleteValueBtn';
4
- import ValueDetailsBtn from '../../../../../../components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn';
5
- import EditRecordBtn from '../../../../../../components/RecordEdition/EditRecordBtn';
6
- import { useSharedTranslation } from '../../../../../../hooks/useSharedTranslation';
7
- function FloatingMenuHandler({ record, onDelete, value, attribute, isReadOnly, children }) {
8
- const { t } = useSharedTranslation();
9
- const _handleDelete = () => onDelete(record);
10
- const menuActions = [
11
- {
12
- title: t('global.edit'),
13
- button: _jsx(EditRecordBtn, { record: record, shape: "circle" })
14
- },
15
- {
16
- title: t('record_edition.value_details'),
17
- button: _jsx(ValueDetailsBtn, { value: value, attribute: attribute })
18
- }
19
- ];
20
- if (!isReadOnly) {
21
- menuActions.push({
22
- title: t('global.delete'),
23
- button: _jsx(DeleteValueBtn, { onDelete: _handleDelete })
24
- });
25
- }
26
- return (_jsxs("div", { children: [children, _jsx(FloatingMenu, { actions: menuActions })] }));
27
- }
28
- export default FloatingMenuHandler;
29
- //# sourceMappingURL=FloatingMenuHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FloatingMenuHandler.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/FloatingMenuHandler.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,YAAY,EAAqB,MAAM,gBAAgB,CAAC;AAChE,OAAO,cAAc,MAAM,sEAAsE,CAAC;AAClG,OAAO,eAAe,MAAM,uEAAuE,CAAC;AACpG,OAAO,aAAa,MAAM,4CAA4C,CAAC;AACvE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAcpE,SAAS,mBAAmB,CAAC,EACzB,MAAM,EACN,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACgB;IACxB,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,aAAa,GAAG,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAE7C,MAAM,WAAW,GAAyB;QACtC;YACI,KAAK,EAAE,CAAC,CAAC,aAAa,CAAC;YACvB,MAAM,EAAE,KAAC,aAAa,IAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAC,QAAQ,GAAG;SAC3D;QACD;YACI,KAAK,EAAE,CAAC,CAAC,8BAA8B,CAAC;YACxC,MAAM,EAAE,KAAC,eAAe,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAI;SAClE;KACJ,CAAC;IAEF,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,WAAW,CAAC,IAAI,CAAC;YACb,KAAK,EAAE,CAAC,CAAC,eAAe,CAAC;YACzB,MAAM,EAAE,KAAC,cAAc,IAAC,QAAQ,EAAE,aAAa,GAAI;SACtD,CAAC,CAAC;IACP,CAAC;IAED,OAAO,CACH,0BACK,QAAQ,EACT,KAAC,YAAY,IAAC,OAAO,EAAE,WAAW,GAAI,IACpC,CACT,CAAC;AACN,CAAC;AAED,eAAe,mBAAmB,CAAC"}
@@ -1,6 +0,0 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import FloatingMenuHandler from './FloatingMenuHandler';
5
- export default FloatingMenuHandler;
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/FloatingMenuHandler/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,eAAe,mBAAmB,CAAC"}
@@ -1,20 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { RecordFormElementsValueLinkValue } from '../../../../../../hooks/useGetRecordForm';
3
- import { RecordFormAttributeLinkAttributeFragment } from '../../../../../../_gqlTypes';
4
- import { SelectProps } from 'antd';
5
- import { IRecordIdentity } from '../../../../../../types';
6
- import { IRecordPropertyLink } from '../../../../../../_queries/records/getRecordPropertiesQuery';
7
- import { IProvidedByAntFormItem } from '../../../../../../components/RecordEdition/EditRecordContent/_types';
8
- interface IMonoValueSelectProps extends IProvidedByAntFormItem<SelectProps<string[]>, SelectProps<string>> {
9
- activeValue: RecordFormElementsValueLinkValue | undefined;
10
- attribute: RecordFormAttributeLinkAttributeFragment;
11
- label: string;
12
- onSelectClear: (value: IRecordPropertyLink) => void;
13
- onSelectChange: (values: Array<{
14
- value: IRecordIdentity;
15
- idValue: string;
16
- }>) => void;
17
- required?: boolean;
18
- }
19
- export declare const MonoValueSelect: FunctionComponent<IMonoValueSelectProps>;
20
- export {};
@@ -1,53 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { useEffect, useState } from 'react';
6
- import { AntForm, KitSelect, KitTypography } from 'aristid-ds';
7
- import useSharedTranslation from '../../../../../../hooks/useSharedTranslation/useSharedTranslation';
8
- import { useGetOptionsQuery } from './useGetOptionsQuery';
9
- import { useDebouncedValue } from '../../../../../../hooks/useDebouncedValue/useDebouncedValue';
10
- import styled from 'styled-components';
11
- const ResultsCount = styled(KitTypography.Text) `
12
- margin-bottom: calc(var(--general-spacing-s) * 1px);
13
- `;
14
- export const MonoValueSelect = ({ value, onChange, activeValue, attribute, label, onSelectChange, onSelectClear, required = false }) => {
15
- if (!onChange) {
16
- throw Error('MonoValueSelect should be used inside a antd Form.Item');
17
- }
18
- const { t } = useSharedTranslation();
19
- const { errors } = AntForm.Item.useStatus();
20
- const form = AntForm.useFormInstance();
21
- const [searchInput, setSearchInput] = useState('');
22
- const debouncedSearchInput = useDebouncedValue(searchInput, 300);
23
- const { loading, selectOptions, updateLeavField, runFullTextSearch, searchResultCount, suggestionsCount, optionsType } = useGetOptionsQuery({
24
- activeValue,
25
- linkedLibraryId: attribute.linked_library.id,
26
- onSelectChange
27
- });
28
- const handleSelect = async (optionValue, ...antOnChangeParams) => {
29
- onChange(optionValue, antOnChangeParams);
30
- await form.validateFields([attribute.id]);
31
- updateLeavField(optionValue);
32
- };
33
- const handleClear = async () => {
34
- form.setFieldValue(attribute.id, undefined);
35
- onSelectClear(activeValue);
36
- };
37
- const handleSearch = async (val) => setSearchInput(val);
38
- useEffect(() => {
39
- runFullTextSearch(debouncedSearchInput);
40
- }, [debouncedSearchInput]);
41
- return (_jsx(KitSelect, { htmlFor: attribute.id, loading: loading, value: value, required: required, label: label, options: selectOptions, status: errors.length > 0 && 'error', showSearch: true, optionFilterProp: "label", placeholder: t('record_edition.placeholder.record_select'), onSelect: handleSelect, onChange: onChange, onClear: required ? undefined : handleClear, allowClear: !required, onSearch: handleSearch, filterOption: false, dropdownRender: menu => {
42
- if (loading) {
43
- return menu;
44
- }
45
- return (_jsxs(_Fragment, { children: [_jsx(ResultsCount, { weight: "bold", children: optionsType === 'search'
46
- ? t('record_edition.link_search_result_count', {
47
- count: searchResultCount > suggestionsCount ? suggestionsCount : searchResultCount,
48
- total: searchResultCount
49
- })
50
- : t('record_edition.suggestions_count', { count: suggestionsCount }) }), menu] }));
51
- } }));
52
- };
53
- //# sourceMappingURL=MonoValueSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MonoValueSelect.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/MonoValueSelect.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoB,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAC,OAAO,EAAE,SAAS,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AAE7D,OAAO,oBAAoB,MAAM,qDAAqD,CAAC;AAIvF,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAC,iBAAiB,EAAC,MAAM,+CAA+C,CAAC;AAChF,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,MAAM,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;;CAE9C,CAAC;AAgBF,MAAM,CAAC,MAAM,eAAe,GAA6C,CAAC,EACtE,KAAK,EACL,QAAQ,EACR,WAAW,EACX,SAAS,EACT,KAAK,EACL,cAAc,EACd,aAAa,EACb,QAAQ,GAAG,KAAK,EACnB,EAAE,EAAE;IACD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,MAAM,KAAK,CAAC,wDAAwD,CAAC,CAAC;IAC1E,CAAC;IAED,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,MAAM,EAAC,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;IAC1C,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAEvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACnD,MAAM,oBAAoB,GAAG,iBAAiB,C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D,QAAQ,EAAE,YAAY,EACtB,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,EAC3C,UAAU,EAAE,CAAC,QAAQ,EACrB,QAAQ,EAAE,YAAY,EACtB,YAAY,EAAE,KAAK,EACnB,cAAc,EAAE,IAAI,CAAC,EAAE;YACnB,IAAI,OAAO,EAAE,CAAC;gBACV,OAAO,IAAI,CAAC;YAChB,CAAC;YAED,OAAO,CACH,8BACI,KAAC,YAAY,IAAC,MAAM,EAAC,MAAM,YACtB,WAAW,KAAK,QAAQ;4BACrB,CAAC,CAAC,CAAC,CAAC,yCAAyC,EAAE;gCACzC,KAAK,EACD,iBAAiB,GAAG,gBAAgB,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,iBAAiB;gCAC/E,KAAK,EAAE,iBAAiB;6BAC3B,CAAC;4BACJ,CAAC,CAAC,CAAC,CAAC,kCAAkC,EAAE,EAAC,KAAK,EAAE,gBAAgB,EAAC,CAAC,GAC3D,EACd,IAAI,IACN,CACN,CAAC;QACN,CAAC,GACH,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1,111 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { useQuery } from '@apollo/client';
6
- import { SortOrder } from '../../../../../../_gqlTypes';
7
- import { getRecordsFromLibraryQuery } from '../../../../../../_queries/records/getRecordsFromLibraryQuery';
8
- import sortBy from 'lodash/sortBy';
9
- import { AntSkeleton } from 'aristid-ds';
10
- import { useState, useMemo } from 'react';
11
- const RECORDS_LIMIT = 20; // TODO: should be configurable
12
- const MINIMAL_SEARCH_LENGTH = 2;
13
- export const useGetOptionsQuery = ({ activeValue, linkedLibraryId, onSelectChange }) => {
14
- const initialSearchVariables = {
15
- library: linkedLibraryId,
16
- limit: RECORDS_LIMIT,
17
- sort: {
18
- field: 'created_at',
19
- order: SortOrder.desc
20
- }
21
- };
22
- const [isSearchLoading, setIsSearchLoading] = useState(false);
23
- const [initialQueryTotalCount, setInitialQueryTotalCount] = useState(0);
24
- const [optionsType, setOptionsType] = useState('suggestions');
25
- const { loading: isQueryLoading, data, refetch } = useQuery(getRecordsFromLibraryQuery([], true), {
26
- fetchPolicy: 'network-only',
27
- variables: initialSearchVariables,
28
- onCompleted: queryData => {
29
- // This is called only after the first fetch, so we can store the total count without searching.
30
- setInitialQueryTotalCount(queryData?.records?.totalCount ?? 0);
31
- }
32
- });
33
- // const recordList = useMemo(() => data?.records?.list.toSorted() ?? [], [data]); // TODO: when toSorted method available (ie. TS >= 5.2.0)
34
- const recordList = useMemo(() => sortBy(data?.records?.list, 'whoAmI.label'), [data]);
35
- const selectOptions = useMemo(() => isSearchLoading // Might become unnecessary when DS handles loading better
36
- ? Array.from({ length: 10 }).map((_, index) => ({
37
- value: `skeleton-${index}`,
38
- idCard: {
39
- //@ts-expect-error KitIdCard doesn't allow a ReactNode as title, but it's fine at runtime
40
- title: _jsx(AntSkeleton.Input, { active: true }),
41
- avatarProps: {
42
- src: _jsx(AntSkeleton.Avatar, { active: true })
43
- }
44
- }
45
- }))
46
- : recordList.map(recordItem => {
47
- const recordLabel = recordItem.whoAmI.label ?? recordItem.whoAmI.id;
48
- return {
49
- value: recordItem.whoAmI.id,
50
- label: recordLabel,
51
- idCard: {
52
- title: recordLabel,
53
- avatarProps: {
54
- size: 'small',
55
- shape: 'square',
56
- imageFit: 'contain',
57
- src: recordItem.whoAmI.preview?.small,
58
- label: recordLabel
59
- }
60
- }
61
- };
62
- }), [recordList, isSearchLoading]);
63
- const augmentedSelectOptionsWithActive = [...selectOptions];
64
- if (activeValue && recordList.findIndex(record => record.id === activeValue.linkValue.id) === -1) {
65
- augmentedSelectOptionsWithActive.push({
66
- value: activeValue.linkValue.whoAmI.id,
67
- label: activeValue.linkValue.whoAmI.label,
68
- idCard: {
69
- title: activeValue.linkValue.whoAmI.label,
70
- avatarProps: {
71
- size: 'small',
72
- shape: 'square',
73
- imageFit: 'contain',
74
- src: activeValue.linkValue.whoAmI.preview?.small,
75
- label: activeValue.linkValue.whoAmI.label
76
- }
77
- }
78
- });
79
- }
80
- const updateLeavField = (value) => {
81
- const selectedLinkValue = recordList.find(record => record.id === value);
82
- return onSelectChange([{ value: selectedLinkValue ?? activeValue.linkValue, idValue: null }]);
83
- };
84
- const runFullTextSearch = async (searchText) => {
85
- const isSearchTextEmpty = searchText === '';
86
- if (!isSearchTextEmpty && searchText.length < MINIMAL_SEARCH_LENGTH) {
87
- return;
88
- }
89
- setIsSearchLoading(true);
90
- await refetch(isSearchTextEmpty
91
- ? { ...initialSearchVariables, fullText: undefined }
92
- : {
93
- ...initialSearchVariables,
94
- sort: undefined,
95
- fullText: searchText
96
- });
97
- setOptionsType(isSearchTextEmpty ? 'suggestions' : 'search');
98
- setIsSearchLoading(false);
99
- };
100
- return {
101
- loading: isQueryLoading || isSearchLoading,
102
- selectOptions: augmentedSelectOptionsWithActive,
103
- updateLeavField,
104
- runFullTextSearch,
105
- totalCount: initialQueryTotalCount,
106
- searchResultCount: data?.records?.totalCount ?? 0,
107
- suggestionsCount: Math.min(RECORDS_LIMIT, initialQueryTotalCount),
108
- optionsType
109
- };
110
- };
111
- //# sourceMappingURL=useGetOptionsQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useGetOptionsQuery.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/MonoValueSelect/useGetOptionsQuery.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAGH,0BAA0B,EAC7B,MAAM,i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gBACI,GAAG,sBAAsB;gBACzB,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,UAAU;aACvB,CACV,CAAC;QACF,cAAc,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC7D,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC,CAAC;IAEF,OAAO;QACH,OAAO,EAAE,cAAc,IAAI,eAAe;QAC1C,aAAa,EAAE,gCAAgC;QAC/C,eAAe;QACf,iBAAiB;QACjB,UAAU,EAAE,sBAAsB;QAClC,iBAAiB,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,IAAI,CAAC;QACjD,gBAAgB,EAAE,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,sBAAsB,CAAC;QACjE,WAAW;KACd,CAAC;AACN,CAAC,CAAC"}
@@ -1,20 +0,0 @@
1
- import { FunctionComponent } from 'react';
2
- import { RecordFormElementsValueLinkValue } from '../../../../../../hooks/useGetRecordForm';
3
- import { RecordFormAttributeLinkAttributeFragment } from '../../../../../../_gqlTypes';
4
- import { SelectProps } from 'antd';
5
- import { IRecordIdentity } from '../../../../../../types';
6
- import { IRecordPropertyLink } from '../../../../../../_queries/records/getRecordPropertiesQuery';
7
- import { IProvidedByAntFormItem } from '../../../../../../components/RecordEdition/EditRecordContent/_types';
8
- interface IMultiValueSelectProps extends IProvidedByAntFormItem<SelectProps<string[]>, SelectProps> {
9
- activeValues: RecordFormElementsValueLinkValue[] | undefined;
10
- attribute: RecordFormAttributeLinkAttributeFragment;
11
- label: string;
12
- onValueDeselect: (value: IRecordPropertyLink) => void;
13
- onSelectChange: (values: Array<{
14
- value: IRecordIdentity;
15
- idValue: string;
16
- }>) => void;
17
- required?: boolean;
18
- }
19
- export declare const MultiValueSelect: FunctionComponent<IMultiValueSelectProps>;
20
- export {};
@@ -1,71 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { useState } from 'react';
6
- import { AntForm, KitSelect } from 'aristid-ds';
7
- import useSharedTranslation from '../../../../../../hooks/useSharedTranslation/useSharedTranslation';
8
- import { useGetOptionsQuery } from './useGetOptionsQuery';
9
- export const MultiValueSelect = ({ value, onChange, activeValues, attribute, label, onValueDeselect, onSelectChange, required = false }) => {
10
- if (!onChange) {
11
- throw Error('MultiValueSelect should be used inside a antd Form.Item');
12
- }
13
- const { t } = useSharedTranslation();
14
- const form = AntForm.useFormInstance();
15
- const [addedValues, setAddedValues] = useState([]);
16
- const [clearedValues, setClearedValues] = useState([]);
17
- const { loading, selectOptions, updateLeavField } = useGetOptionsQuery({
18
- attribute,
19
- onSelectChange
20
- });
21
- const _handleSelect = (optionValue, ...antOnChangeParams) => {
22
- const newValues = Array.isArray(value) ? [...value, optionValue] : [optionValue];
23
- onChange(newValues, antOnChangeParams);
24
- if (antOnChangeParams.find(optionType => optionType.value === optionValue && !optionType.disabled)) {
25
- _addValue(optionValue);
26
- }
27
- };
28
- const _addValue = (valueToAdd) => {
29
- setAddedValues(values => Array.from(new Set([...values, valueToAdd])));
30
- setClearedValues(values => values.filter(v => v !== valueToAdd));
31
- };
32
- const _deleteValue = (valueToDelete, clear) => {
33
- setAddedValues(values => values.filter(v => v !== valueToDelete));
34
- if (clear) {
35
- setClearedValues(values => Array.from(new Set([...values, valueToDelete])));
36
- }
37
- };
38
- const _clearValues = () => {
39
- value.forEach(v => _deleteValue(v, true));
40
- form.setFieldValue(attribute.id, undefined);
41
- };
42
- const _handleBlur = () => {
43
- const activeValuesId = activeValues.map(av => av.linkValue.id);
44
- const combinedValues = required && !addedValues.length ? clearedValues : addedValues;
45
- const valuesToAdd = combinedValues.filter(v => !activeValuesId.includes(v));
46
- const shouldRemoveNone = required &&
47
- !addedValues.length &&
48
- clearedValues.length === activeValues.length &&
49
- clearedValues.every(e => activeValuesId.includes(e));
50
- const valuesToRemove = shouldRemoveNone
51
- ? []
52
- : activeValues.filter(av => clearedValues.includes(av.linkValue.id));
53
- if (valuesToAdd.length || valuesToRemove.length) {
54
- updateLeavField(valuesToAdd, valuesToRemove);
55
- }
56
- };
57
- const _handleDeselect = (valueToDeselect) => {
58
- if (value.length === 1 && required) {
59
- return _deleteValue(valueToDeselect, true);
60
- }
61
- _deleteValue(valueToDeselect, false);
62
- const newValues = value.filter(val => val !== valueToDeselect);
63
- form.setFieldValue(attribute.id, newValues);
64
- const activeLinkValueToDeselect = activeValues.find(val => val.linkValue.id === valueToDeselect);
65
- if (activeLinkValueToDeselect) {
66
- onValueDeselect(activeLinkValueToDeselect);
67
- }
68
- };
69
- return (_jsx(KitSelect, { htmlFor: attribute.id, loading: loading, value: value, required: required, mode: "multiple", label: label, options: selectOptions, showSearch: true, optionFilterProp: "label", placeholder: t('record_edition.placeholder.record_select'), onSelect: _handleSelect, onClear: _clearValues, onBlur: _handleBlur, onDeselect: _handleDeselect, onChange: onChange }));
70
- };
71
- //# sourceMappingURL=MultiValueSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MultiValueSelect.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/MultiValueSelect.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAoB,QAAQ,EAAC,MAAM,OAAO,CAAC;AAClD,OAAO,EAAC,OAAO,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAE9C,OAAO,oBAAoB,MAAM,qDAAqD,CAAC;AAIvF,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAcxD,MAAM,CAAC,MAAM,gBAAgB,GAA8C,CAAC,EACxE,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,KAAK,EACL,eAAe,EACf,cAAc,EACd,QAAQ,GA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ClB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,aAAa,EACtB,UAAU,QACV,gBAAgB,EAAC,OAAO,EACxB,WAAW,EAAE,CAAC,CAAC,0CAA0C,CAAC,EAC1D,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE,YAAY,EACrB,MAAM,EAAE,WAAW,EACnB,UAAU,EAAE,eAAe,EAC3B,QAAQ,EAAE,QAAQ,GACpB,CACL,CAAC;AACN,CAAC,CAAC"}
@@ -1,58 +0,0 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import { useQuery } from '@apollo/client';
5
- import { SortOrder } from '../../../../../../_gqlTypes';
6
- import { getRecordsFromLibraryQuery } from '../../../../../../_queries/records/getRecordsFromLibraryQuery';
7
- import { useMemo } from 'react';
8
- export const useGetOptionsQuery = ({ attribute, onSelectChange }) => {
9
- let loading;
10
- let data;
11
- if (attribute.linkValuesList?.enable) {
12
- loading = false;
13
- data = { records: { list: attribute.linkValuesList.values, totalCount: attribute.linkValuesList.values.length } };
14
- }
15
- else {
16
- ({ loading, data } = useQuery(getRecordsFromLibraryQuery(), {
17
- fetchPolicy: 'network-only',
18
- variables: {
19
- library: attribute.linked_library.id,
20
- limit: 1000,
21
- sort: {
22
- field: 'label',
23
- order: SortOrder.asc
24
- }
25
- }
26
- }));
27
- }
28
- const recordList = useMemo(() => data?.records?.list ?? [], [data]);
29
- const selectOptions = useMemo(() => recordList.map(recordItem => {
30
- const recordLabel = recordItem.whoAmI.label ?? recordItem.whoAmI.id;
31
- return {
32
- value: recordItem.whoAmI.id,
33
- label: recordLabel,
34
- idCard: {
35
- description: recordLabel,
36
- avatarProps: {
37
- size: 'small',
38
- shape: 'square',
39
- imageFit: 'contain',
40
- src: recordItem.whoAmI.preview?.small,
41
- label: recordLabel
42
- }
43
- }
44
- };
45
- }), [recordList]);
46
- const updateLeavField = (valuesToAdd, valuesToRemove) => {
47
- const formattedValuesToAdd = recordList
48
- .filter(record => valuesToAdd.includes(record.id))
49
- .map(value => ({ value, idValue: null }));
50
- const formattedValuesToRemove = valuesToRemove.map(cv => ({
51
- idValue: cv.id_value,
52
- value: null
53
- }));
54
- return onSelectChange([...formattedValuesToAdd, ...formattedValuesToRemove]);
55
- };
56
- return { loading, selectOptions, updateLeavField };
57
- };
58
- //# sourceMappingURL=useGetOptionsQuery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useGetOptionsQuery.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/MultiValueSelect/useGetOptionsQuery.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAA2C,SAAS,EAAC,MAAM,eAAe,CAAC;AAClF,OAAO,EAGH,0BAA0B,EAC7B,MAAM,iDAAiD,CAAC;AAIzD,OAAO,EAAiB,OAAO,EAAC,MAAM,OAAO,CAAC;AAE9C,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAC/B,SAAS,EACT,cAAc,EAIjB,EAAE,EAAE;IACD,IAAI,OAAgB,CAAC;IACrB,IAAI,IAAiC,CAAC;IAEtC,IAAI,SAAS,CAAC,cAAc,EAAE,MAAM,EAAE,CAAC;QACnC,OAAO,GAAG,KAAK,CAAC;QAChB,IAAI,GAAG,EAAC,OAAO,EAAE,EAAC,IAAI,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAC,EAAC,CAAC;IAClH,CAAC;SAAM,CAAC;QACJ,CAAC,EAAC,OAAO,EAAE,IAAI,EAAC,GAAG,QAAQ,CACvB,0BAA0B,EAAE,EAC5B;YACI,WAAW,EAAE,cAAc;YA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C,MAAM,uBAAuB,GAAG,cAAc,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;YACtD,OAAO,EAAE,EAAE,CAAC,QAAQ;YACpB,KAAK,EAAE,IAAI;SACd,CAAC,CAAC,CAAC;QAEJ,OAAO,cAAc,CAAC,CAAC,GAAG,oBAAoB,EAAE,GAAG,uBAAuB,CAAC,CAAC,CAAC;IACjF,CAAC,CAAC;IAEF,OAAO,EAAC,OAAO,EAAE,aAAa,EAAE,eAAe,EAAC,CAAC;AACrD,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
- // This file is released under LGPL V3
4
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { RecordCard } from '../../../../../../components';
6
- import { PreviewSize } from '../../../../../../constants';
7
- function RecordIdentityCell({ record }) {
8
- return _jsx(RecordCard, { record: record, size: PreviewSize.small });
9
- }
10
- export default RecordIdentityCell;
11
- //# sourceMappingURL=RecordIdentityCell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RecordIdentityCell.js","sourceRoot":"","sources":["../../../../../../../src/components/RecordEdition/EditRecordContent/uiElements/LinkField/RecordIdentityCell/RecordIdentityCell.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAO1C,SAAS,kBAAkB,CAAC,EAAC,MAAM,EAA2B;IAC1D,OAAO,KAAC,UAAU,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,KAAK,GAAI,CAAC;AACnE,CAAC;AAED,eAAe,kBAAkB,CAAC"}
@@ -1,6 +0,0 @@
1
- // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
- // This file is released under LGPL V3
3
- // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import RecordIdentityCell from './RecordIdentityCell';
5
- export default RecordIdentityCell;
6
- //# sourceMappingURL=index.js.map