@leav/ui 1.4.1-a528774e → 1.4.1-a62cdebf

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 (1174) hide show
  1. package/dist/__mocks__/common/application.js +4 -4
  2. package/dist/__mocks__/common/application.js.map +1 -1
  3. package/dist/__mocks__/common/attribute.js +34 -34
  4. package/dist/__mocks__/common/attribute.js.map +1 -1
  5. package/dist/__mocks__/common/filter.js +4 -4
  6. package/dist/__mocks__/common/filter.js.map +1 -1
  7. package/dist/__mocks__/common/form.js +58 -58
  8. package/dist/__mocks__/common/form.js.map +1 -1
  9. package/dist/__mocks__/common/import.js +5 -5
  10. package/dist/__mocks__/common/import.js.map +1 -1
  11. package/dist/__mocks__/common/label.js +1 -1
  12. package/dist/__mocks__/common/label.js.map +1 -1
  13. package/dist/__mocks__/common/library.js +25 -25
  14. package/dist/__mocks__/common/library.js.map +1 -1
  15. package/dist/__mocks__/common/mockSearchContextProvider.js +1 -1
  16. package/dist/__mocks__/common/mockSearchContextProvider.js.map +1 -1
  17. package/dist/__mocks__/common/record.js +3 -3
  18. package/dist/__mocks__/common/record.js.map +1 -1
  19. package/dist/__mocks__/common/tree.js +7 -7
  20. package/dist/__mocks__/common/tree.js.map +1 -1
  21. package/dist/__mocks__/common/treeElements.js +14 -14
  22. package/dist/__mocks__/common/treeElements.js.map +1 -1
  23. package/dist/__mocks__/common/value.js +6 -6
  24. package/dist/__mocks__/common/value.js.map +1 -1
  25. package/dist/__mocks__/common/versionProfile.js +1 -1
  26. package/dist/__mocks__/common/versionProfile.js.map +1 -1
  27. package/dist/__mocks__/common/view.js +5 -5
  28. package/dist/__mocks__/common/view.js.map +1 -1
  29. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +10 -10
  30. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  31. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +5 -5
  32. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
  33. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +12 -12
  34. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  35. package/dist/__mocks__/react-i18next.js +6 -6
  36. package/dist/__mocks__/react-i18next.js.map +1 -1
  37. package/dist/_gqlTypes/index.d.ts +49 -5
  38. package/dist/_gqlTypes/index.js +45 -3
  39. package/dist/_gqlTypes/index.js.map +1 -1
  40. package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
  41. package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
  42. package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
  43. package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
  44. package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
  45. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  46. package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
  47. package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
  48. package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
  49. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
  50. package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
  51. package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
  52. package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
  53. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
  54. package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
  55. package/dist/_queries/export/exportQuery.js +2 -2
  56. package/dist/_queries/export/exportQuery.js.map +1 -1
  57. package/dist/_queries/files/createDirectory.js.map +1 -1
  58. package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
  59. package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
  60. package/dist/_queries/files/getUploadUpdates.js.map +1 -1
  61. package/dist/_queries/files/uploadMutation.js.map +1 -1
  62. package/dist/_queries/import/importExcel.js.map +1 -1
  63. package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
  64. package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
  65. package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
  66. package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
  67. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
  68. package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
  69. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
  70. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  71. package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
  72. package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
  73. package/dist/_queries/records/activateRecordsMutation.js.map +1 -1
  74. package/dist/_queries/records/createRecordMutation.js.map +1 -1
  75. package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
  76. package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
  77. package/dist/_queries/records/getFileDataQuery.js.map +1 -1
  78. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  79. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  80. package/dist/_queries/records/getRecordPropertiesQuery.js +1 -1
  81. package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
  82. package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
  83. package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
  84. package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
  85. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  86. package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
  87. package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
  88. package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
  89. package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
  90. package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
  91. package/dist/_queries/trees/getTreesQuery.js.map +1 -1
  92. package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
  93. package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
  94. package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
  95. package/dist/_queries/userData/getUserData.js.map +1 -1
  96. package/dist/_queries/userData/saveUserData.js.map +1 -1
  97. package/dist/_queries/values/deleteValueMutation.js.map +1 -1
  98. package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
  99. package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
  100. package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
  101. package/dist/_queries/views/deleteViewMutation.js.map +1 -1
  102. package/dist/_queries/views/getViewById.js.map +1 -1
  103. package/dist/_queries/views/getViewsListQuery.js.map +1 -1
  104. package/dist/_queries/views/saveViewMutation.js.map +1 -1
  105. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  106. package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
  107. package/dist/_utils/attributeType.js.map +1 -1
  108. package/dist/_utils/getFiltersFromRequest.js +9 -9
  109. package/dist/_utils/getFiltersFromRequest.js.map +1 -1
  110. package/dist/_utils/getRequestFromFilter.js +5 -5
  111. package/dist/_utils/getRequestFromFilter.js.map +1 -1
  112. package/dist/_utils/index.js +14 -14
  113. package/dist/_utils/index.js.map +1 -1
  114. package/dist/_utils/interleaveElement.js.map +1 -1
  115. package/dist/_utils/isDevEnv.js.map +1 -1
  116. package/dist/_utils/typeguards.js.map +1 -1
  117. package/dist/antdTheme/index.js +6 -6
  118. package/dist/antdTheme/index.js.map +1 -1
  119. package/dist/antdTheme/types.js.map +1 -1
  120. package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
  121. package/dist/components/AttributePicker/AttributePicker.js +1 -1
  122. package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
  123. package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
  124. package/dist/components/AttributePicker/AttributesList/AttributesList.js +30 -30
  125. package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
  126. package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
  127. package/dist/components/AttributePicker/index.js.map +1 -1
  128. package/dist/components/AttributesSelectionList/Attribute/Attribute.js +2 -2
  129. package/dist/components/AttributesSelectionList/Attribute/Attribute.js.map +1 -1
  130. package/dist/components/AttributesSelectionList/Attribute/index.js.map +1 -1
  131. package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
  132. package/dist/components/AttributesSelectionList/AttributesSelectionList.js +6 -6
  133. package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
  134. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
  135. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js.map +1 -1
  136. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js.map +1 -1
  137. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
  138. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js.map +1 -1
  139. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js.map +1 -1
  140. package/dist/components/AttributesSelectionList/_types.js.map +1 -1
  141. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
  142. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js.map +1 -1
  143. package/dist/components/AttributesSelectionList/index.js.map +1 -1
  144. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
  145. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js.map +1 -1
  146. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +3 -3
  147. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js.map +1 -1
  148. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
  149. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
  150. package/dist/components/AttributesSelectionList/sharedComponents.js.map +1 -1
  151. package/dist/components/BasicButton/BasicButton.js.map +1 -1
  152. package/dist/components/BasicButton/index.js.map +1 -1
  153. package/dist/components/CreateDirectory/CreateDirectory.js +15 -15
  154. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  155. package/dist/components/CreateDirectory/index.js.map +1 -1
  156. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
  157. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
  158. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
  159. package/dist/components/DeactivateRecordsModal/index.js.map +1 -1
  160. package/dist/components/Dimmer/Dimmer.js.map +1 -1
  161. package/dist/components/Dimmer/index.js.map +1 -1
  162. package/dist/components/EditApplication/EditApplication.d.ts +1 -1
  163. package/dist/components/EditApplication/EditApplication.js +5 -5
  164. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  165. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +18 -18
  166. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
  167. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +1 -1
  168. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +13 -13
  169. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
  170. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
  171. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
  172. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
  173. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
  174. package/dist/components/EditApplication/EditApplicationInfo/index.js.map +1 -1
  175. package/dist/components/EditApplication/_types.js.map +1 -1
  176. package/dist/components/EditApplication/index.js.map +1 -1
  177. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +4 -4
  178. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
  179. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +20 -20
  180. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
  181. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +1 -1
  182. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +12 -12
  183. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
  184. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +2 -2
  185. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
  186. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
  187. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +2 -2
  188. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
  189. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
  190. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +4 -4
  191. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
  192. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
  193. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
  194. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
  195. package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
  196. package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
  197. package/dist/components/EditAttributeModal/EditAttributeModal.js +9 -9
  198. package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
  199. package/dist/components/EditAttributeModal/index.js.map +1 -1
  200. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
  201. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +8 -8
  202. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
  203. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +4 -4
  204. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
  205. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
  206. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +20 -20
  207. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
  208. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
  209. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
  210. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
  211. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +6 -6
  212. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
  213. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
  214. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +9 -9
  215. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
  216. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
  217. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +19 -19
  218. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
  219. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +1 -1
  220. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +18 -18
  221. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
  222. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
  223. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
  224. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +6 -6
  225. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
  226. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
  227. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +12 -12
  228. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
  229. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +13 -13
  230. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
  231. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
  232. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
  233. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
  234. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +10 -10
  235. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
  236. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
  237. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
  238. package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
  239. package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
  240. package/dist/components/EditLibraryModal/EditLibraryModal.js +11 -11
  241. package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
  242. package/dist/components/EditLibraryModal/index.js.map +1 -1
  243. package/dist/components/EditTreeModal/EditTree/EditTree.js +4 -4
  244. package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
  245. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +20 -20
  246. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
  247. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
  248. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +8 -8
  249. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
  250. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +10 -10
  251. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
  252. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
  253. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
  254. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
  255. package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
  256. package/dist/components/EditTreeModal/EditTreeModal.js +8 -8
  257. package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
  258. package/dist/components/EditTreeModal/index.js.map +1 -1
  259. package/dist/components/EntityCard/EntityCard.d.ts +1 -1
  260. package/dist/components/EntityCard/EntityCard.js +5 -5
  261. package/dist/components/EntityCard/EntityCard.js.map +1 -1
  262. package/dist/components/EntityCard/_types.js.map +1 -1
  263. package/dist/components/EntityCard/index.js.map +1 -1
  264. package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
  265. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +2 -2
  266. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
  267. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
  268. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
  269. package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
  270. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
  271. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
  272. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
  273. package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
  274. package/dist/components/EntityPreview/_types.js.map +1 -1
  275. package/dist/components/EntityPreview/index.js.map +1 -1
  276. package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
  277. package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  278. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
  279. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
  280. package/dist/components/ErrorBoundary/index.js.map +1 -1
  281. package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
  282. package/dist/components/ErrorDisplay/ErrorDisplay.js +5 -5
  283. package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
  284. package/dist/components/ErrorDisplay/index.js.map +1 -1
  285. package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
  286. package/dist/components/ErrorMessage/index.js.map +1 -1
  287. package/dist/components/Explorer/DataView.js +8 -8
  288. package/dist/components/Explorer/DataView.js.map +1 -1
  289. package/dist/components/Explorer/Explorer.d.ts +3 -2
  290. package/dist/components/Explorer/Explorer.js +63 -45
  291. package/dist/components/Explorer/Explorer.js.map +1 -1
  292. package/dist/components/Explorer/ExplorerFiltersAndSorts.js +8 -12
  293. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
  294. package/dist/components/Explorer/ExplorerTitle.js +3 -3
  295. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  296. package/dist/components/Explorer/ExplorerToolbar.js +6 -3
  297. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  298. package/dist/components/Explorer/IdCard.js.map +1 -1
  299. package/dist/components/Explorer/TableCell.js +11 -11
  300. package/dist/components/Explorer/TableCell.js.map +1 -1
  301. package/dist/components/Explorer/TableNameCell.js +4 -4
  302. package/dist/components/Explorer/TableNameCell.js.map +1 -1
  303. package/dist/components/Explorer/TableTagGroup.js.map +1 -1
  304. package/dist/components/Explorer/_constants.d.ts +1 -0
  305. package/dist/components/Explorer/_constants.js +3 -2
  306. package/dist/components/Explorer/_constants.js.map +1 -1
  307. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
  308. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
  309. package/dist/components/Explorer/_queries/useExplorerData.d.ts +4 -3
  310. package/dist/components/Explorer/_queries/useExplorerData.js +20 -20
  311. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  312. package/dist/components/Explorer/_types.d.ts +4 -117
  313. package/dist/components/Explorer/_types.js +1 -12
  314. package/dist/components/Explorer/_types.js.map +1 -1
  315. package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
  316. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +45 -36
  317. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  318. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
  319. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
  320. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  321. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
  322. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +24 -17
  323. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  324. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +3 -1
  325. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +24 -17
  326. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  327. package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +17 -0
  328. package/dist/components/Explorer/actions-mass/useExportMassAction.js +100 -0
  329. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -0
  330. package/dist/components/Explorer/actions-mass/useMassActions.d.ts +3 -1
  331. package/dist/components/Explorer/actions-mass/useMassActions.js +16 -16
  332. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  333. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
  334. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
  335. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  336. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
  337. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
  338. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  339. package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
  340. package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
  341. package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
  342. package/dist/components/Explorer/conditionsHelper.js +1 -1
  343. package/dist/components/Explorer/conditionsHelper.js.map +1 -1
  344. package/dist/components/Explorer/index.js.map +1 -1
  345. package/dist/components/Explorer/link-item/LinkModal.js +11 -11
  346. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  347. package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
  348. package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
  349. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
  350. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
  351. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
  352. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
  353. package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
  354. package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
  355. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
  356. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
  357. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
  358. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  359. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
  360. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
  361. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
  362. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
  363. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
  364. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +15 -15
  365. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  366. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
  367. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  368. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
  369. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
  370. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  371. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
  372. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
  373. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
  374. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
  375. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
  376. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
  377. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  378. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
  379. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +3 -1
  380. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  381. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
  382. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
  383. package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
  384. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.d.ts +2 -1
  385. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +12 -12
  386. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  387. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +20 -8
  388. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  389. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
  390. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
  391. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
  392. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
  393. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +5 -1
  394. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  395. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +10 -8
  396. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  397. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +21 -9
  398. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
  399. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
  400. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  401. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
  402. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
  403. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
  404. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
  405. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
  406. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +3 -6
  407. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  408. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +8 -9
  409. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -147
  410. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  411. package/dist/components/Explorer/useColumnWidth.js +2 -2
  412. package/dist/components/Explorer/useColumnWidth.js.map +1 -1
  413. package/dist/components/Explorer/useLoadView.js +21 -14
  414. package/dist/components/Explorer/useLoadView.js.map +1 -1
  415. package/dist/components/Explorer/usePagination.js +3 -3
  416. package/dist/components/Explorer/usePagination.js.map +1 -1
  417. package/dist/components/Explorer/useSearchInput.d.ts +1 -1
  418. package/dist/components/Explorer/useSearchInput.js +3 -3
  419. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  420. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
  421. package/dist/components/Explorer/useViewSettingsReducer.js +21 -26
  422. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  423. package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
  424. package/dist/components/FieldsGroup/index.js.map +1 -1
  425. package/dist/components/Filters/FiltersProvider.d.ts +3 -0
  426. package/dist/components/Filters/FiltersProvider.js +8 -0
  427. package/dist/components/Filters/FiltersProvider.js.map +1 -0
  428. package/dist/components/Filters/_types.d.ts +130 -0
  429. package/dist/components/Filters/_types.js +14 -0
  430. package/dist/components/Filters/_types.js.map +1 -0
  431. package/dist/components/Filters/conditionsHelper.d.ts +2 -0
  432. package/dist/components/Filters/conditionsHelper.js +16 -0
  433. package/dist/components/Filters/conditionsHelper.js.map +1 -0
  434. package/dist/components/Filters/context/filtersContext.d.ts +6 -0
  435. package/dist/components/Filters/context/filtersContext.js +9 -0
  436. package/dist/components/Filters/context/filtersContext.js.map +1 -0
  437. package/dist/components/Filters/context/filtersInitialState.d.ts +2 -0
  438. package/dist/components/Filters/context/filtersInitialState.js +10 -0
  439. package/dist/components/Filters/context/filtersInitialState.js.map +1 -0
  440. package/dist/components/Filters/context/filtersReducer.d.ts +64 -0
  441. package/dist/components/Filters/context/filtersReducer.js +179 -0
  442. package/dist/components/Filters/context/filtersReducer.js.map +1 -0
  443. package/dist/components/Filters/context/useFiltersReducer.d.ts +13 -0
  444. package/dist/components/Filters/context/useFiltersReducer.js +68 -0
  445. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -0
  446. package/dist/components/Filters/filter-items/CommonFilterItem.d.ts +8 -0
  447. package/dist/components/{Explorer/manage-view-settings/_shared → Filters/filter-items}/CommonFilterItem.js +7 -7
  448. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -0
  449. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +35 -0
  450. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
  451. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ColorAttributeDropDown.js +2 -2
  452. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
  453. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateAttributeDropDown.js +6 -6
  454. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
  455. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateRangeAttributeDropDown.js +2 -2
  456. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
  457. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/EncryptedAttributeDropDown.js +2 -2
  458. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
  459. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ExtendedAttributeDropDown.js +2 -2
  460. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
  461. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.d.ts +3 -0
  462. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropDown.js +14 -14
  463. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -0
  464. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropdownContent.d.ts +3 -3
  465. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropdownContent.js +8 -8
  466. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -0
  467. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterValueListDropDown.d.ts +3 -3
  468. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterValueListDropDown.js +11 -11
  469. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
  470. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/LinkAttributeDropdown.js +13 -13
  471. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -0
  472. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/NumericAttributeDropDown.js +3 -3
  473. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
  474. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TextAttributeDropDown.js +3 -3
  475. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
  476. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TreeAttributeDropDown.js +12 -12
  477. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
  478. package/dist/components/Filters/filter-items/filter-type/_types.d.ts +18 -0
  479. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -0
  480. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/useConditionOptionsByType.d.ts +7 -7
  481. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/useConditionOptionsByType.js +27 -27
  482. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
  483. package/dist/components/Filters/index.d.ts +8 -0
  484. package/dist/components/Filters/index.js +12 -0
  485. package/dist/components/Filters/index.js.map +1 -0
  486. package/dist/components/Filters/prepareFiltersForRequest.d.ts +4 -0
  487. package/dist/components/{Explorer/_queries → Filters}/prepareFiltersForRequest.js +33 -32
  488. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -0
  489. package/dist/components/Filters/useFilters.d.ts +1724 -0
  490. package/dist/components/Filters/useFilters.js +28 -0
  491. package/dist/components/Filters/useFilters.js.map +1 -0
  492. package/dist/components/Filters/useFiltersContext.d.ts +4 -0
  493. package/dist/components/Filters/useFiltersContext.js +13 -0
  494. package/dist/components/Filters/useFiltersContext.js.map +1 -0
  495. package/dist/components/{Explorer/manage-view-settings/_shared → Filters}/useTransformFilters.d.ts +9 -9
  496. package/dist/components/{Explorer/manage-view-settings/_shared → Filters}/useTransformFilters.js +22 -22
  497. package/dist/components/Filters/useTransformFilters.js.map +1 -0
  498. package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
  499. package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
  500. package/dist/components/FloatingMenu/_types.js.map +1 -1
  501. package/dist/components/FloatingMenu/index.js.map +1 -1
  502. package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
  503. package/dist/components/ImageLoading/index.js.map +1 -1
  504. package/dist/components/ImageMissing/ImageMissing.js +1 -1
  505. package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
  506. package/dist/components/ImageMissing/index.js.map +1 -1
  507. package/dist/components/ImportModal/ImportModal.js +16 -16
  508. package/dist/components/ImportModal/ImportModal.js.map +1 -1
  509. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
  510. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
  511. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
  512. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
  513. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
  514. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  515. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
  516. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
  517. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  518. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
  519. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
  520. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
  521. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  522. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
  523. package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
  524. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
  525. package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
  526. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
  527. package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
  528. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
  529. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  530. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
  531. package/dist/components/ImportModal/_types.js.map +1 -1
  532. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
  533. package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
  534. package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
  535. package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
  536. package/dist/components/ImportModal/importReducer/index.js.map +1 -1
  537. package/dist/components/ImportModal/index.js.map +1 -1
  538. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
  539. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  540. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
  541. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
  542. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
  543. package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
  544. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
  545. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
  546. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
  547. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +23 -23
  548. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  549. package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
  550. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
  551. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  552. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
  553. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
  554. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
  555. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
  556. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
  557. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
  558. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
  559. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
  560. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
  561. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
  562. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
  563. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
  564. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
  565. package/dist/components/LibraryItemsList/FiltersPanel/Filter/filterUtils.js.map +1 -1
  566. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
  567. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
  568. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
  569. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
  570. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
  571. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
  572. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
  573. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
  574. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
  575. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
  576. package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
  577. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
  578. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
  579. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
  580. package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
  581. package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
  582. package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
  583. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
  584. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  585. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
  586. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
  587. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
  588. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
  589. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
  590. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
  591. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
  592. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
  593. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
  594. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
  595. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
  596. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
  597. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +2 -2
  598. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
  599. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
  600. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +1 -1
  601. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
  602. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
  603. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
  604. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
  605. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
  606. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
  607. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
  608. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
  609. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
  610. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
  611. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
  612. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
  613. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
  614. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.js.map +1 -1
  615. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
  616. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
  617. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
  618. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
  619. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
  620. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  621. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
  622. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
  623. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
  624. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
  625. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js +1 -1
  626. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
  627. package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
  628. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
  629. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
  630. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
  631. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +13 -13
  632. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
  633. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
  634. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +10 -10
  635. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
  636. package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
  637. package/dist/components/LibraryItemsList/MenuView/MenuView.js +26 -26
  638. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  639. package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
  640. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
  641. package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
  642. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +1 -1
  643. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
  644. package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
  645. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +6 -6
  646. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
  647. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
  648. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
  649. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
  650. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +3 -3
  651. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
  652. package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
  653. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
  654. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
  655. package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
  656. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
  657. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  658. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
  659. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
  660. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  661. package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
  662. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
  663. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
  664. package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
  665. package/dist/components/LibraryItemsList/constants.js +1 -1
  666. package/dist/components/LibraryItemsList/constants.js.map +1 -1
  667. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
  668. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +1 -1
  669. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +4 -4
  670. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
  671. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
  672. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
  673. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
  674. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
  675. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  676. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
  677. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
  678. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
  679. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  680. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js.map +1 -1
  681. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
  682. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
  683. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
  684. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  685. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
  686. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
  687. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
  688. package/dist/components/LibraryItemsList/index.js.map +1 -1
  689. package/dist/components/LibraryItemsList/manageItems.js +1 -1
  690. package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
  691. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
  692. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
  693. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
  694. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
  695. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
  696. package/dist/components/LibraryItemsList/shared/sharedUtils.js.map +1 -1
  697. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
  698. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +15 -15
  699. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  700. package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
  701. package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
  702. package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
  703. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  704. package/dist/components/LibraryPicker/index.js.map +1 -1
  705. package/dist/components/List/List.js +1 -1
  706. package/dist/components/List/List.js.map +1 -1
  707. package/dist/components/List/index.js.map +1 -1
  708. package/dist/components/Loading/Loading.js.map +1 -1
  709. package/dist/components/Loading/index.js.map +1 -1
  710. package/dist/components/Notifications/InitNotificationsSubscription.d.ts +2 -0
  711. package/dist/components/Notifications/InitNotificationsSubscription.js +7 -0
  712. package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -0
  713. package/dist/components/Notifications/hooks/useNotificationSubscription.d.ts +4 -0
  714. package/dist/components/Notifications/hooks/useNotificationSubscription.js +33 -0
  715. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -0
  716. package/dist/components/Notifications/index.d.ts +1 -0
  717. package/dist/components/{ExportModal → Notifications}/index.js +1 -1
  718. package/dist/components/Notifications/index.js.map +1 -0
  719. package/dist/components/RecordCard/RecordCard.d.ts +1 -1
  720. package/dist/components/RecordCard/RecordCard.js +6 -6
  721. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  722. package/dist/components/RecordCard/_types.js.map +1 -1
  723. package/dist/components/RecordCard/index.js.map +1 -1
  724. package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
  725. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  726. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
  727. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
  728. package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
  729. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
  730. package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
  731. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
  732. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
  733. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
  734. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
  735. package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
  736. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
  737. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  738. package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
  739. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  740. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  742. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  743. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
  744. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  745. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
  746. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
  748. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
  749. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
  750. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  751. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
  752. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
  753. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
  754. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
  755. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
  756. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
  757. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
  758. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
  759. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
  760. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
  761. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
  762. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
  763. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
  764. package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
  765. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
  766. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
  767. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
  768. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
  769. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
  770. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
  771. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
  772. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
  773. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
  774. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
  775. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
  776. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
  777. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  778. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
  779. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
  780. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
  781. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
  782. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
  783. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
  784. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
  785. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
  786. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
  787. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  788. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
  789. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
  790. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
  791. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
  792. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
  793. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  794. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
  795. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
  796. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
  797. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  798. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
  799. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
  800. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  801. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
  802. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
  803. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  804. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
  805. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +15 -8
  806. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  807. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
  808. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -1
  809. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
  810. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
  811. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
  812. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
  813. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +19 -16
  814. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
  815. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
  816. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +20 -12
  817. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  818. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
  819. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  820. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +2 -2
  821. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  822. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +2 -2
  823. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  824. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -2
  825. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  826. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +2 -2
  827. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  828. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -2
  829. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  830. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +4 -4
  831. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  832. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +2 -2
  833. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  834. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
  835. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
  836. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  837. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
  838. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  839. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
  840. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
  841. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
  842. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
  843. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
  844. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
  845. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
  846. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  847. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
  848. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +21 -9
  849. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  850. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
  851. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
  852. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  853. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +3 -1
  854. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  855. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
  856. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +6 -6
  857. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  858. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
  859. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
  860. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  861. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
  862. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
  863. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
  864. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
  865. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  866. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
  867. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
  868. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
  869. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
  870. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  871. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +2 -2
  872. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
  873. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  874. package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
  875. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
  876. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
  877. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -2
  878. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +17 -4
  879. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  880. package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
  881. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
  882. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
  883. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
  884. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
  885. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
  886. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  887. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
  888. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  889. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  890. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
  891. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
  892. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
  893. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
  894. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
  895. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  896. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
  897. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
  898. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  899. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
  900. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
  901. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  902. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
  903. package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
  904. package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
  905. package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
  906. package/dist/components/RecordEdition/_types.d.ts +2 -2
  907. package/dist/components/RecordEdition/_types.js.map +1 -1
  908. package/dist/components/RecordEdition/constants.js.map +1 -1
  909. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
  910. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  911. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
  912. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
  913. package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
  914. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
  915. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
  916. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
  917. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  918. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -2
  919. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  920. package/dist/components/RecordEdition/index.js.map +1 -1
  921. package/dist/components/RecordHistory/RecordHistory.js +2 -2
  922. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  923. package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
  924. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  925. package/dist/components/RecordHistory/_types.js.map +1 -1
  926. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
  927. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
  928. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  929. package/dist/components/RecordHistory/index.js.map +1 -1
  930. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
  931. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
  932. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
  933. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
  934. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
  935. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
  936. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +2 -2
  937. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
  938. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
  939. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
  940. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
  941. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
  942. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
  943. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
  944. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
  945. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
  946. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
  947. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
  948. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
  949. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
  950. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
  951. package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
  952. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
  953. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
  954. package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
  955. package/dist/components/SearchModal/SearchModal.js +1 -1
  956. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  957. package/dist/components/SearchModal/index.js.map +1 -1
  958. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
  959. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  960. package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
  961. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
  962. package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
  963. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  964. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
  965. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +14 -20
  966. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  967. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
  968. package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
  969. package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
  970. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  971. package/dist/components/SelectTreeNode/_types.js +1 -0
  972. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  973. package/dist/components/SelectTreeNode/index.js.map +1 -1
  974. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
  975. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
  976. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
  977. package/dist/components/ShowMore/ShowMore.js.map +1 -1
  978. package/dist/components/ShowMore/index.js.map +1 -1
  979. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
  980. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  981. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  982. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
  983. package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
  984. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
  985. package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
  986. package/dist/components/SubmitStateNotifier/index.js.map +1 -1
  987. package/dist/components/TreePicker/TreePicker.d.ts +1 -1
  988. package/dist/components/TreePicker/TreePicker.js +1 -1
  989. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  990. package/dist/components/TreePicker/TreesList/TreesList.js +13 -13
  991. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  992. package/dist/components/TreePicker/TreesList/index.js.map +1 -1
  993. package/dist/components/TreePicker/index.js.map +1 -1
  994. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
  995. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
  996. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  997. package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
  998. package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
  999. package/dist/components/UploadFiles/UploadFiles.js +25 -25
  1000. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  1001. package/dist/components/UploadFiles/index.js.map +1 -1
  1002. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
  1003. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
  1004. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  1005. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  1006. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
  1007. package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
  1008. package/dist/components/index.d.ts +2 -1
  1009. package/dist/components/index.js +2 -1
  1010. package/dist/components/index.js.map +1 -1
  1011. package/dist/constants.d.ts +6 -4
  1012. package/dist/constants.js +8 -6
  1013. package/dist/constants.js.map +1 -1
  1014. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
  1015. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
  1016. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
  1017. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
  1018. package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
  1019. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
  1020. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  1021. package/dist/contexts/LangContext/index.js.map +1 -1
  1022. package/dist/contexts/LangContext/types.js.map +1 -1
  1023. package/dist/contexts/UserContext/UserContext.js.map +1 -1
  1024. package/dist/contexts/UserContext/index.js.map +1 -1
  1025. package/dist/contexts/UserContext/types.js.map +1 -1
  1026. package/dist/contexts/index.js.map +1 -1
  1027. package/dist/gqlFragments/index.js.map +1 -1
  1028. package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
  1029. package/dist/gqlPossibleTypes/index.js +1 -1
  1030. package/dist/gqlPossibleTypes/index.js.map +1 -1
  1031. package/dist/hooks/index.d.ts +1 -0
  1032. package/dist/hooks/index.js +1 -0
  1033. package/dist/hooks/index.js.map +1 -1
  1034. package/dist/hooks/useAntdLocale/index.js.map +1 -1
  1035. package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
  1036. package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
  1037. package/dist/hooks/useAppLang/index.js.map +1 -1
  1038. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  1039. package/dist/hooks/useAuth/index.js.map +1 -1
  1040. package/dist/hooks/useAuth/useAuth.js +1 -1
  1041. package/dist/hooks/useAuth/useAuth.js.map +1 -1
  1042. package/dist/hooks/useCanEditRecord/index.js.map +1 -1
  1043. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
  1044. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  1045. package/dist/hooks/useDebouncedValue/index.js.map +1 -1
  1046. package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
  1047. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
  1048. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
  1049. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
  1050. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
  1051. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
  1052. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
  1053. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  1054. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
  1055. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
  1056. package/dist/hooks/useGetRecordForm/index.js.map +1 -1
  1057. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
  1058. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
  1059. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  1060. package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
  1061. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
  1062. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
  1063. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
  1064. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  1065. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +3 -3
  1066. package/dist/hooks/useIFrameMessenger/messageHandlers.js +16 -20
  1067. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  1068. package/dist/hooks/useIFrameMessenger/schema.d.ts +88 -5
  1069. package/dist/hooks/useIFrameMessenger/schema.js +49 -57
  1070. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  1071. package/dist/hooks/useIFrameMessenger/types.d.ts +33 -31
  1072. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  1073. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -2
  1074. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
  1075. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  1076. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
  1077. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +2 -2
  1078. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
  1079. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +2 -2
  1080. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
  1081. package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
  1082. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  1083. package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
  1084. package/dist/hooks/useLang/index.js.map +1 -1
  1085. package/dist/hooks/useLang/useLang.js.map +1 -1
  1086. package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
  1087. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
  1088. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
  1089. package/dist/hooks/useLocalStorage/index.js.map +1 -1
  1090. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
  1091. package/dist/hooks/useLoginChecker/index.js.map +1 -1
  1092. package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
  1093. package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
  1094. package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
  1095. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
  1096. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
  1097. package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
  1098. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  1099. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  1100. package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
  1101. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
  1102. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  1103. package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
  1104. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  1105. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
  1106. package/dist/hooks/useSharedTranslation/index.js.map +1 -1
  1107. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
  1108. package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
  1109. package/dist/hooks/useUser/index.js.map +1 -1
  1110. package/dist/hooks/useUser/useUser.js.map +1 -1
  1111. package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
  1112. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
  1113. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
  1114. package/dist/index.js.map +1 -1
  1115. package/dist/locales/en/shared.json +26 -4
  1116. package/dist/locales/fr/shared.json +26 -4
  1117. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
  1118. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
  1119. package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
  1120. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
  1121. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
  1122. package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
  1123. package/dist/testing/index.js.map +1 -1
  1124. package/dist/types/attributes.js.map +1 -1
  1125. package/dist/types/index.js.map +1 -1
  1126. package/dist/types/misc.js.map +1 -1
  1127. package/dist/types/records.js.map +1 -1
  1128. package/dist/types/scalars.js.map +1 -1
  1129. package/dist/types/search.d.ts +5 -5
  1130. package/dist/types/search.js +7 -7
  1131. package/dist/types/search.js.map +1 -1
  1132. package/dist/types/trees.js.map +1 -1
  1133. package/dist/types/values.js.map +1 -1
  1134. package/dist/types/views.js.map +1 -1
  1135. package/package.json +3 -3
  1136. package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +0 -4
  1137. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +0 -1
  1138. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +0 -6
  1139. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +0 -1
  1140. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +0 -1
  1141. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +0 -27
  1142. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +0 -1
  1143. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +0 -1
  1144. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +0 -1
  1145. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +0 -1
  1146. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +0 -1
  1147. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +0 -1
  1148. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +0 -3
  1149. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +0 -1
  1150. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +0 -1
  1151. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +0 -1
  1152. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.js.map +0 -1
  1153. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +0 -1
  1154. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +0 -1
  1155. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +0 -1
  1156. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +0 -18
  1157. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.js.map +0 -1
  1158. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +0 -1
  1159. package/dist/components/ExportModal/ExportModal.d.ts +0 -10
  1160. package/dist/components/ExportModal/ExportModal.js +0 -123
  1161. package/dist/components/ExportModal/ExportModal.js.map +0 -1
  1162. package/dist/components/ExportModal/index.d.ts +0 -1
  1163. package/dist/components/ExportModal/index.js.map +0 -1
  1164. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/BooleanAttributeDropdown.d.ts +0 -0
  1165. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ColorAttributeDropDown.d.ts +0 -0
  1166. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateAttributeDropDown.d.ts +0 -0
  1167. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +0 -0
  1168. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +0 -0
  1169. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +0 -0
  1170. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/LinkAttributeDropdown.d.ts +0 -0
  1171. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/NumericAttributeDropDown.d.ts +0 -0
  1172. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TextAttributeDropDown.d.ts +0 -0
  1173. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TreeAttributeDropDown.d.ts +0 -0
  1174. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/_types.js +0 -0
@@ -1,10 +1,10 @@
1
1
  import { type Override } from '@leav/utils';
2
- import { type AttributeFormat, type AttributePropertiesFragment, AttributeType, type LinkAttributeDetailsFragment, type PropertyValueFragment, type RecordFilterCondition, type RecordFilterInput, type RecordIdentityFragment, type StandardAttributeDetailsFragment, type ViewDetailsFilterFragment } from '../../_gqlTypes';
2
+ import { type AttributePropertiesFragment, type PropertyValueFragment, type RecordFilterInput, type RecordIdentityFragment } from '../../_gqlTypes';
3
3
  import { type Key, type ReactElement } from 'react';
4
4
  import { type IViewSettingsState } from './manage-view-settings';
5
- import { ThroughConditionFilter } from '../../types/search';
6
5
  import { type IView } from '../../types';
7
6
  import { type MASS_SELECTION_ALL } from './_constants';
7
+ import { type UIFilter, type ValidFilter } from '../Filters/_types';
8
8
  export type MassSelection = Key[] | typeof MASS_SELECTION_ALL;
9
9
  export interface IExplorerData {
10
10
  totalCount: number;
@@ -35,7 +35,6 @@ export interface IItemAction {
35
35
  callback: (item: IItemData) => void;
36
36
  icon: ReactElement | ((item: IItemData) => ReactElement);
37
37
  label: string | ((item: IItemData) => string);
38
- iconOnly?: boolean;
39
38
  isDanger?: boolean | ((item: IItemData) => boolean);
40
39
  disabled?: boolean | ((item: IItemData) => boolean);
41
40
  useItemActionOnRowClick?: boolean;
@@ -55,101 +54,9 @@ export type FeatureHook<T = {}> = {
55
54
  isEnabled: boolean;
56
55
  isVisible?: boolean;
57
56
  } & T;
58
- export interface IExplorerFilterBaseAttribute {
59
- type: AttributeType;
60
- /**
61
- * Used to display the label of the filter.
62
- *
63
- * > Not displayed when filter is hidden
64
- */
65
- label: string;
66
- /**
67
- * Used to verify unicity: one filter per attribute
68
- */
69
- id: string;
70
- format?: AttributeFormat | null | undefined;
71
- valuesList?: NonNullable<StandardAttributeDetailsFragment['valuesList']> | NonNullable<LinkAttributeDetailsFragment['valuesList']>;
72
- }
73
- export interface IExplorerFilterStandardAttribute extends IExplorerFilterBaseAttribute {
74
- format: AttributeFormat;
75
- }
76
- export interface IExplorerFilterLinkAttribute extends IExplorerFilterBaseAttribute {
77
- linkedLibrary?: {
78
- id: string;
79
- };
80
- }
81
- export interface IExplorerFilterTreeAttribute extends IExplorerFilterBaseAttribute {
82
- linkedTree?: {
83
- id: string;
84
- };
85
- }
86
- interface IExplorerBaseFilter {
87
- id: string;
88
- attribute: IExplorerFilterBaseAttribute;
89
- condition: RecordFilterCondition | ThroughConditionFilter | null;
90
- /**
91
- * Used to build filter field.
92
- *
93
- * - ex: `campaigns_id_pac`
94
- * - ex with **subField**: `campaigns_id_pac.id`
95
- */
96
- field: string;
97
- value: string | null;
98
- formattedValue?: string | null;
99
- hidden?: boolean | undefined;
100
- }
101
- export interface IExplorerFilterStandard extends IExplorerBaseFilter {
102
- attribute: IExplorerFilterStandardAttribute;
103
- condition: RecordFilterCondition | null;
104
- }
105
- export interface IExplorerFilterLink extends IExplorerBaseFilter {
106
- attribute: IExplorerFilterLinkAttribute;
107
- condition: RecordFilterCondition | null;
108
- }
109
- export interface IExplorerFilterThrough extends IExplorerBaseFilter {
110
- attribute: IExplorerFilterLinkAttribute;
111
- condition: ThroughConditionFilter.THROUGH | null;
112
- subCondition: RecordFilterCondition | null;
113
- subField: string | null;
114
- }
115
- export interface IExplorerFilterTree extends Omit<IExplorerBaseFilter, 'value' | 'formattedValue' | 'field'> {
116
- attribute: IExplorerFilterTreeAttribute;
117
- condition: RecordFilterCondition | null;
118
- value: string[] | null;
119
- formattedValue?: string[] | null;
120
- field: string[];
121
- }
122
- export interface IExplorerFilterValueList extends Omit<IExplorerBaseFilter, 'value' | 'formattedValue'> {
123
- attribute: (IExplorerFilterStandardAttribute | IExplorerFilterLinkAttribute) & {
124
- valuesList: NonNullable<StandardAttributeDetailsFragment['valuesList']> | NonNullable<LinkAttributeDetailsFragment['valuesList']>;
125
- };
126
- value: string[] | null;
127
- condition: RecordFilterCondition | null;
128
- }
129
- export interface IExplorerFilterStandardValueList extends Omit<IExplorerFilterStandard, 'attribute' | 'value'>, IExplorerFilterValueList {
130
- attribute: IExplorerFilterStandardAttribute & {
131
- valuesList: NonNullable<StandardAttributeDetailsFragment['valuesList']>;
132
- };
133
- }
134
- export interface IExplorerFilterLinkValueList extends Omit<IExplorerFilterLink, 'attribute' | 'value'>, IExplorerFilterValueList {
135
- attribute: IExplorerFilterLinkAttribute & {
136
- valuesList: NonNullable<LinkAttributeDetailsFragment['valuesList']>;
137
- };
138
- }
139
- export type ExplorerFilter = IExplorerFilterStandard | IExplorerFilterLink | IExplorerFilterThrough | IExplorerFilterValueList | IExplorerFilterTree;
140
- export declare const isExplorerFilterStandard: (filter: ExplorerFilter) => filter is IExplorerFilterStandard;
141
- export declare const isExplorerFilterLink: (filter: ExplorerFilter) => filter is IExplorerFilterLink;
142
- export declare const isExplorerFilterThrough: (filter: ExplorerFilter) => filter is IExplorerFilterThrough;
143
- export declare const isExplorerFilterValueList: (filter: ExplorerFilter) => filter is IExplorerFilterValueList;
144
- export declare const isExplorerFilterStandardWithValueList: (filter: ExplorerFilter) => filter is IExplorerFilterStandardValueList;
145
- export declare const isExplorerFilterLinkWithValueList: (filter: ExplorerFilter) => filter is IExplorerFilterLinkValueList;
146
- export declare const isExplorerFilterTree: (filter: ExplorerFilter) => filter is IExplorerFilterTree;
147
- export interface IFilterDropDownProps {
148
- filter: ExplorerFilter;
149
- }
150
57
  export type DefaultViewSettings = Override<Partial<IViewSettingsState>, {
151
58
  filtersOperator?: 'AND' | 'OR';
152
- filters?: ExplorerFilter[];
59
+ filters?: UIFilter[];
153
60
  }>;
154
61
  export interface IEntrypointTree {
155
62
  type: 'tree';
@@ -174,30 +81,11 @@ export interface IEntrypointLink {
174
81
  parentRecordId: string;
175
82
  linkAttributeId: string;
176
83
  }
177
- export type ValidFieldFilter = Override<ViewDetailsFilterFragment, {
178
- field: NonNullable<ViewDetailsFilterFragment['field']>;
179
- condition: NonNullable<ViewDetailsFilterFragment['condition']>;
180
- hidden: boolean;
181
- }>;
182
- export type ValidFieldFilterStandardValuesList = Override<ValidFieldFilter, {
183
- valuesList: StandardAttributeDetailsFragment['valuesList'];
184
- }>;
185
- export type ValidFieldFilterLinkValuesList = Override<ValidFieldFilter, {
186
- valuesList: LinkAttributeDetailsFragment['valuesList'];
187
- }>;
188
- export type ValidFieldFilterThrough = Override<ValidFieldFilter, {
189
- condition: ThroughConditionFilter.THROUGH;
190
- hidden: boolean;
191
- }> & {
192
- subField: NonNullable<ViewDetailsFilterFragment['field']>;
193
- subCondition?: ViewDetailsFilterFragment['condition'];
194
- };
195
- export type validFilter = ValidFieldFilter | ValidFieldFilterThrough | ValidFieldFilterStandardValuesList | ValidFieldFilterLinkValuesList;
196
84
  export type Entrypoint = IEntrypointTree | IEntrypointLibrary | IEntrypointLink;
197
85
  export interface IUserView extends Pick<IView, 'shared' | 'display' | 'sort' | 'attributes'> {
198
86
  label: Record<string, string>;
199
87
  id: IView['id'] | null;
200
- filters: validFilter[];
88
+ filters: ValidFilter[];
201
89
  ownerId: string | null;
202
90
  }
203
91
  export interface IDataViewOnAction {
@@ -205,4 +93,3 @@ export interface IDataViewOnAction {
205
93
  label: Record<string, string> | null;
206
94
  }
207
95
  export type SetNewPage = (newCurrentPage: number, ignoredPageSize: number) => void;
208
- export {};
@@ -1,13 +1,2 @@
1
- import { AttributeType } from '../../_gqlTypes';
2
- import { ThroughConditionFilter } from '../../types/search';
3
- export const isExplorerFilterStandard = (filter) => [AttributeType.simple, AttributeType.advanced].includes(filter.attribute.type);
4
- export const isExplorerFilterLink = (filter) => [AttributeType.simple_link, AttributeType.advanced_link].includes(filter.attribute.type) &&
5
- filter.condition !== ThroughConditionFilter.THROUGH;
6
- export const isExplorerFilterThrough = (filter) => [AttributeType.simple_link, AttributeType.advanced_link].includes(filter.attribute.type) &&
7
- filter.condition === ThroughConditionFilter.THROUGH;
8
- export const isExplorerFilterValueList = (filter) => (isExplorerFilterStandard(filter) || isExplorerFilterLink(filter)) && isValueList(filter);
9
- export const isExplorerFilterStandardWithValueList = (filter) => [AttributeType.simple, AttributeType.advanced].includes(filter.attribute.type) && isValueList(filter);
10
- export const isExplorerFilterLinkWithValueList = (filter) => [AttributeType.simple_link, AttributeType.advanced_link].includes(filter.attribute.type) && isValueList(filter);
11
- export const isExplorerFilterTree = (filter) => filter.attribute.type === AttributeType.tree;
12
- const isValueList = (filter) => !!filter.attribute?.valuesList && filter.attribute?.valuesList.enable;
1
+ export {};
13
2
  //# sourceMappingURL=_types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/Explorer/_types.ts"],"names":[],"mappings":"AAIA,OAAO,EAGH,aAAa,EAQhB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAC,sBAAsB,EAAC,MAAM,kBAAkB,CAAC;AAoKxD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,MAAsB,EAAqC,EAAE,CAClG,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAEnF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,MAAsB,EAAiC,EAAE,CAC1F,CAAC,aAAa,CAAC,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC;IACxF,MAAM,CAAC,SAAS,KAAK,sBAAsB,CAAC,OAAO,CAAC;AAExD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,MAAsB,EAAoC,EAAE,CAChG,CAAC,aAAa,CAAC,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC;IACxF,MAAM,CAAC,SAAS,KAAK,sBAAsB,CAAC,OAAO,CAAC;AAExD,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,MAAsB,EAAsC,EAAE,CACpG,CAAC,wBAAwB,CAAC,MAAM,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,qCAAqC,GAAG,CACjD,MAAsB,EACoB,EAAE,CAC5C,CAAC,aAAa,CAAC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;AAE1G,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,MAAsB,EAA0C,EAAE,CAChH,CAAC,aAAa,CAAC,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,CAAC;AAEpH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,MAAsB,EAAiC,EAAE,CAC1F,MAAM,CAAC,SAAS,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC;AAEjD,MAAM,WAAW,GAAG,CAAC,MAAsB,EAAyE,EAAE,CAClH,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,UAAU,IAAI,MAAM,CAAC,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC"}
1
+ {"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/Explorer/_types.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type Override} from '@leav/utils';\nimport {\n type AttributePropertiesFragment,\n type PropertyValueFragment,\n type RecordFilterInput,\n type RecordIdentityFragment,\n} from '_ui/_gqlTypes';\nimport {type Key, type ReactElement} from 'react';\nimport {type IViewSettingsState} from './manage-view-settings';\nimport {type IView} from '_ui/types';\nimport {type MASS_SELECTION_ALL} from './_constants';\nimport {type UIFilter, type ValidFilter} from '../Filters/_types';\n\nexport type MassSelection = Key[] | typeof MASS_SELECTION_ALL;\n\nexport interface IExplorerData {\n totalCount: number;\n attributes: {\n [attributeId: string]: Override<AttributePropertiesFragment, {label: string}>;\n };\n records: IItemData[];\n}\n\nexport interface IItemData {\n libraryId: string;\n key: string;\n itemId: string;\n whoAmI: Required<RecordIdentityFragment['whoAmI']>;\n canActivate: boolean;\n canDelete: boolean;\n active: boolean;\n propertiesById: {\n [attributeId: string]: PropertyValueFragment[];\n };\n /**\n * Can be named `linkId` too, but for historical reason we keep old name 👴🏼.\n */\n id_value?: string;\n}\n\nexport interface IItemAction {\n callback: (item: IItemData) => void;\n icon: ReactElement | ((item: IItemData) => ReactElement);\n label: string | ((item: IItemData) => string);\n isDanger?: boolean | ((item: IItemData) => boolean);\n disabled?: boolean | ((item: IItemData) => boolean);\n useItemActionOnRowClick?: boolean;\n}\n\nexport interface IPrimaryAction {\n callback: () => void;\n disabled?: boolean;\n icon: ReactElement;\n label: string;\n}\n\nexport interface IMassActions {\n callback: (massSelectedFilter: RecordFilterInput[], massSelection: MassSelection) => void | Promise<void>;\n icon: ReactElement;\n label: string;\n}\n\nexport type FeatureHook<T = {}> = {isEnabled: boolean; isVisible?: boolean} & T;\n\nexport type DefaultViewSettings = Override<\n Partial<IViewSettingsState>,\n {\n filtersOperator?: 'AND' | 'OR';\n filters?: UIFilter[];\n }\n>;\n\nexport interface IEntrypointTree {\n type: 'tree';\n treeId: string;\n nodeId: string;\n}\n\nexport interface IEntrypointLibrary {\n type: 'library';\n libraryId: string;\n /**\n * Used to display a list of values instead of all library records when adding a link\n */\n valuesList?: string[];\n /**\n * Used to allow free entry when adding a link with values list\n */\n allowFreeEntry?: boolean;\n}\n\nexport interface IEntrypointLink {\n type: 'link';\n parentLibraryId: string;\n parentRecordId: string;\n linkAttributeId: string;\n}\n\nexport type Entrypoint = IEntrypointTree | IEntrypointLibrary | IEntrypointLink;\n\nexport interface IUserView extends Pick<IView, 'shared' | 'display' | 'sort' | 'attributes'> {\n label: Record<string, string>;\n id: IView['id'] | null;\n filters: ValidFilter[];\n ownerId: string | null;\n}\n\nexport interface IDataViewOnAction {\n id: string | null;\n label: Record<string, string> | null;\n}\n\nexport type SetNewPage = (newCurrentPage: number, ignoredPageSize: number) => void;\n"]}
@@ -13,7 +13,7 @@ import { type IViewSettingsAction, type IViewSettingsState } from '../manage-vie
13
13
  * @param entrypoint - represent the current entrypoint
14
14
  * @param canDeleteLinkValues - check permission to delete link values
15
15
  */
16
- export declare const useEditStatusItemAction: ({ isEnabled, canDeleteLinkValues, store: { view, dispatch }, onRemove, entrypoint }: FeatureHook<{
16
+ export declare const useEditStatusItemAction: ({ isEnabled, canDeleteLinkValues, store: { view, dispatch }, onRemove, entrypoint, }: FeatureHook<{
17
17
  store: {
18
18
  view: IViewSettingsState;
19
19
  dispatch: Dispatch<IViewSettingsAction>;
@@ -5,11 +5,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { useMemo } from 'react';
6
6
  import { FaTrash, FaTrashRestore } from 'react-icons/fa';
7
7
  import { KitModal } from 'aristid-ds';
8
- import { useActivateRecordsMutation, useDeactivateRecordsMutation, useDeleteValueMutation } from '../../../_gqlTypes';
8
+ import { useActivateRecordsMutation, useDeactivateRecordsMutation, useDeleteValueMutation, } from '../../../_gqlTypes';
9
9
  import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
10
10
  import { useValuesCacheUpdate } from '../../../hooks/useValuesCacheUpdate';
11
11
  import { ViewSettingsActionTypes } from '../manage-view-settings';
12
- import { MASS_SELECTION_ALL } from '../_constants';
12
+ import { BREAK_TWO_LINES, MASS_SELECTION_ALL } from '../_constants';
13
13
  /**
14
14
  * Hook used to get the action for `<DataView />` component.
15
15
  *
@@ -22,69 +22,69 @@ import { MASS_SELECTION_ALL } from '../_constants';
22
22
  * @param entrypoint - represent the current entrypoint
23
23
  * @param canDeleteLinkValues - check permission to delete link values
24
24
  */
25
- export const useEditStatusItemAction = ({ isEnabled, canDeleteLinkValues, store: { view, dispatch }, onRemove, entrypoint }) => {
25
+ export const useEditStatusItemAction = ({ isEnabled, canDeleteLinkValues, store: { view, dispatch }, onRemove, entrypoint, }) => {
26
26
  const { t } = useSharedTranslation();
27
27
  const updateValuesCache = useValuesCacheUpdate();
28
28
  const [deactivateRecordsMutation] = useDeactivateRecordsMutation({
29
29
  update(cache, deactivatedRecords) {
30
30
  deactivatedRecords.data?.deactivateRecords.forEach(record => {
31
31
  cache.evict({
32
- id: cache.identify(record)
32
+ id: cache.identify(record),
33
33
  });
34
34
  });
35
35
  cache.modify({
36
36
  fields: {
37
37
  records: prev => ({
38
38
  ...prev,
39
- totalCount: prev.totalCount - 1
40
- })
39
+ totalCount: prev.totalCount - 1,
40
+ }),
41
41
  },
42
- broadcast: false
42
+ broadcast: false,
43
43
  });
44
44
  cache.gc();
45
- }
45
+ },
46
46
  });
47
47
  const [activateRecordsMutation] = useActivateRecordsMutation({
48
48
  update(cache, activatedRecords) {
49
49
  activatedRecords.data?.activateRecords.forEach(record => {
50
50
  cache.evict({
51
- id: cache.identify(record)
51
+ id: cache.identify(record),
52
52
  });
53
53
  });
54
54
  cache.modify({
55
55
  fields: {
56
56
  records: prev => ({
57
57
  ...prev,
58
- totalCount: prev.totalCount - 1
59
- })
58
+ totalCount: prev.totalCount - 1,
59
+ }),
60
60
  },
61
- broadcast: false
61
+ broadcast: false,
62
62
  });
63
63
  cache.gc();
64
- }
64
+ },
65
65
  });
66
66
  const [deleteRecordLinkMutation] = useDeleteValueMutation({
67
67
  update: (_, deletedRecord) => {
68
68
  const parentRecord = {
69
69
  id: entrypoint.parentRecordId,
70
70
  library: {
71
- id: entrypoint.parentLibraryId
72
- }
71
+ id: entrypoint.parentLibraryId,
72
+ },
73
73
  };
74
74
  updateValuesCache(parentRecord, deletedRecord.data?.deleteValue ?? []);
75
- }
75
+ },
76
76
  });
77
77
  const _deactivateItem = async (item) => {
78
78
  const libRes = await deactivateRecordsMutation({
79
79
  variables: {
80
80
  libraryId: item.libraryId,
81
- recordsIds: [item.itemId]
82
- }
81
+ recordsIds: [item.itemId],
82
+ },
83
83
  });
84
84
  if (view.massSelection !== MASS_SELECTION_ALL) {
85
85
  dispatch({
86
86
  type: ViewSettingsActionTypes.SET_SELECTED_KEYS,
87
- payload: view.massSelection.filter(key => key !== item.itemId)
87
+ payload: view.massSelection.filter(key => key !== item.itemId),
88
88
  });
89
89
  }
90
90
  onRemove?.(item);
@@ -94,13 +94,13 @@ export const useEditStatusItemAction = ({ isEnabled, canDeleteLinkValues, store:
94
94
  const libRes = await activateRecordsMutation({
95
95
  variables: {
96
96
  libraryId: item.libraryId,
97
- recordsIds: [item.itemId]
98
- }
97
+ recordsIds: [item.itemId],
98
+ },
99
99
  });
100
100
  if (view.massSelection !== MASS_SELECTION_ALL) {
101
101
  dispatch({
102
102
  type: ViewSettingsActionTypes.SET_SELECTED_KEYS,
103
- payload: view.massSelection.filter(key => key !== item.itemId)
103
+ payload: view.massSelection.filter(key => key !== item.itemId),
104
104
  });
105
105
  }
106
106
  return libRes;
@@ -116,15 +116,24 @@ export const useEditStatusItemAction = ({ isEnabled, canDeleteLinkValues, store:
116
116
  disabled: (item) => entrypoint.type === 'link' ? !canDeleteLinkValues : item.active ? !item.canDelete : !item.canActivate,
117
117
  callback: item => {
118
118
  const { itemId, id_value } = item;
119
+ const title = entrypoint.type === 'library'
120
+ ? item.active
121
+ ? t('explorer.deactivate_item_one')
122
+ : t('explorer.activate_item_one')
123
+ : t('explorer.delete_link_one');
124
+ const content = entrypoint.type === 'library'
125
+ ? item.active
126
+ ? t('explorer.deactivate_item_description_one')
127
+ : t('explorer.activate_item_description_one')
128
+ : t('explorer.delete_link_description_one');
119
129
  KitModal.confirm({
130
+ width: '100%',
131
+ style: { content: { width: '90vw', maxWidth: '656px' } },
120
132
  type: 'confirm',
121
- dangerConfirm: true,
122
- content: entrypoint.type === 'library'
123
- ? item.active
124
- ? t('records_deactivation.confirm_one')
125
- : t('records_activation.confirm_one')
126
- : t('record_edition.delete_link_confirm'),
127
- okText: t('global.submit') ?? undefined,
133
+ icon: false,
134
+ title,
135
+ content: content + BREAK_TWO_LINES + t('global.are_you_sure'),
136
+ okText: t('global.confirm') ?? undefined,
128
137
  cancelText: t('global.cancel') ?? undefined,
129
138
  onOk: async () => {
130
139
  switch (entrypoint.type) {
@@ -141,18 +150,18 @@ export const useEditStatusItemAction = ({ isEnabled, canDeleteLinkValues, store:
141
150
  recordId: entrypoint.parentRecordId,
142
151
  value: {
143
152
  payload: itemId,
144
- id_value
145
- }
146
- }
153
+ id_value,
154
+ },
155
+ },
147
156
  });
148
157
  onRemove?.(item);
149
158
  return linkRes;
150
159
  default:
151
160
  return;
152
161
  }
153
- }
162
+ },
154
163
  });
155
- }
164
+ },
156
165
  }), [
157
166
  t,
158
167
  deactivateRecordsMutation,
@@ -161,10 +170,10 @@ export const useEditStatusItemAction = ({ isEnabled, canDeleteLinkValues, store:
161
170
  canDeleteLinkValues,
162
171
  entrypoint.type,
163
172
  view.massSelection,
164
- dispatch
173
+ dispatch,
165
174
  ]);
166
175
  return {
167
- editStatusItemAction: isEnabled ? _editStatusItemAction : null
176
+ editStatusItemAction: isEnabled ? _editStatusItemAction : null,
168
177
  };
169
178
  };
170
179
  //# sourceMappingURL=useEditStatusItemAction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEditStatusItemAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-item/useEditStatusItemAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAgB,OAAO,EAAC,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAE,cAAc,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAGH,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,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,CAAC,IAAI,CAAC,CAAC;4BACjB,OAAO,OAAO,CAAC;wBACnB;4BACI,OAAO;oBACf,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC,EACF;QACI,CAAC;QACD,yBAAyB;QACzB,wBAAwB;QACxB,uBAAuB;QACvB,mBAAmB;QACnB,UAAU,CAAC,IAAI;QACf,IAAI,CAAC,aAAa;QAClB,QAAQ;KACX,CACJ,CAAC;IAEF,OAAO;QACH,oBAAoB,EAAE,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI;KACjE,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useEditStatusItemAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-item/useEditStatusItemAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAgB,OAAO,EAAC,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAE,cAAc,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAGH,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAoD,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AACnH,OAAO,EAAC,eAAe,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAGlE;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACpC,SAAS,EACT,mBAAmB,EACnB,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC,EACvB,QAAQ,EACR,UAAU,GASZ,EAAE,EAAE;IACF,MAAM,EAAC,CAAC,EAAC,G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K,EAAE;wCACH,OAAO,EAAE,MAAM;wCACf,QAAQ;qCACX;iCACJ;6BACJ,CAAC,CAAC;4BACH,QAAQ,EAAE,CAAC,IAAI,CAAC,CAAC;4BACjB,OAAO,OAAO,CAAC;wBACnB;4BACI,OAAO;oBACf,CAAC;gBACL,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC,EACF;QACI,CAAC;QACD,yBAAyB;QACzB,wBAAwB;QACxB,uBAAuB;QACvB,mBAAmB;QACnB,UAAU,CAAC,IAAI;QACf,IAAI,CAAC,aAAa;QAClB,QAAQ;KACX,CACJ,CAAC;IAEF,OAAO;QACH,oBAAoB,EAAE,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI;KACjE,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type Dispatch, useMemo} from 'react';\nimport {FaTrash, FaTrashRestore} from 'react-icons/fa';\nimport {KitModal} from 'aristid-ds';\nimport {\n type ActivateRecordsMutation,\n type DeactivateRecordsMutation,\n useActivateRecordsMutation,\n useDeactivateRecordsMutation,\n useDeleteValueMutation,\n} from '_ui/_gqlTypes';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useValuesCacheUpdate} from '_ui/hooks/useValuesCacheUpdate';\nimport {type FeatureHook, type Entrypoint, type IEntrypointLink, type IItemAction, type IItemData} from '../_types';\nimport {type IViewSettingsAction, type IViewSettingsState, ViewSettingsActionTypes} from '../manage-view-settings';\nimport {BREAK_TWO_LINES, MASS_SELECTION_ALL} from '../_constants';\nimport {type FetchResult} from '@apollo/client';\n\n/**\n * Hook used to get the action for `<DataView />` component.\n *\n * When the mutation for removing is done, the Apollo cache will be clean (`Record` and `RecordIdentity`)\n * from removed record.\n *\n * @param isEnabled - whether the action is present\n * @param view - represent the current view\n * @param dispatch - method to change the current view\n * @param entrypoint - represent the current entrypoint\n * @param canDeleteLinkValues - check permission to delete link values\n */\nexport const useEditStatusItemAction = ({\n isEnabled,\n canDeleteLinkValues,\n store: {view, dispatch},\n onRemove,\n entrypoint,\n}: FeatureHook<{\n store: {\n view: IViewSettingsState;\n dispatch: Dispatch<IViewSettingsAction>;\n };\n canDeleteLinkValues: boolean;\n onRemove?: IItemAction['callback'];\n entrypoint: Entrypoint;\n}>) => {\n const {t} = useSharedTranslation();\n const updateValuesCache = useValuesCacheUpdate();\n\n const [deactivateRecordsMutation] = useDeactivateRecordsMutation({\n update(cache, deactivatedRecords) {\n deactivatedRecords.data?.deactivateRecords.forEach(record => {\n cache.evict({\n id: cache.identify(record),\n });\n });\n cache.modify({\n fields: {\n records: prev => ({\n ...prev,\n totalCount: prev.totalCount - 1,\n }),\n },\n broadcast: false,\n });\n cache.gc();\n },\n });\n\n const [activateRecordsMutation] = useActivateRecordsMutation({\n update(cache, activatedRecords) {\n activatedRecords.data?.activateRecords.forEach(record => {\n cache.evict({\n id: cache.identify(record),\n });\n });\n cache.modify({\n fields: {\n records: prev => ({\n ...prev,\n totalCount: prev.totalCount - 1,\n }),\n },\n broadcast: false,\n });\n cache.gc();\n },\n });\n\n const [deleteRecordLinkMutation] = useDeleteValueMutation({\n update: (_, deletedRecord) => {\n const parentRecord = {\n id: (entrypoint as IEntrypointLink).parentRecordId,\n library: {\n id: (entrypoint as IEntrypointLink).parentLibraryId,\n },\n };\n updateValuesCache(parentRecord, deletedRecord.data?.deleteValue ?? []);\n },\n });\n\n const _deactivateItem = async (item: IItemData): Promise<FetchResult<DeactivateRecordsMutation>> => {\n const libRes = await deactivateRecordsMutation({\n variables: {\n libraryId: item.libraryId,\n recordsIds: [item.itemId],\n },\n });\n\n if (view.massSelection !== MASS_SELECTION_ALL) {\n dispatch({\n type: ViewSettingsActionTypes.SET_SELECTED_KEYS,\n payload: view.massSelection.filter(key => key !== item.itemId),\n });\n }\n\n onRemove?.(item);\n\n return libRes;\n };\n\n const _activateItem = async (item: IItemData): Promise<FetchResult<ActivateRecordsMutation>> => {\n const libRes = await activateRecordsMutation({\n variables: {\n libraryId: item.libraryId,\n recordsIds: [item.itemId],\n },\n });\n\n if (view.massSelection !== MASS_SELECTION_ALL) {\n dispatch({\n type: ViewSettingsActionTypes.SET_SELECTED_KEYS,\n payload: view.massSelection.filter(key => key !== item.itemId),\n });\n }\n\n return libRes;\n };\n\n const _editStatusItemAction: IItemAction = useMemo(\n () => ({\n label: (item: IItemData) =>\n entrypoint.type === 'library'\n ? item.active\n ? t('explorer.deactivate-item')\n : t('explorer.activate-item')\n : t('explorer.delete-item'),\n icon: (item: IItemData) =>\n entrypoint.type === 'library' ? item.active ? <FaTrash /> : <FaTrashRestore /> : <FaTrash />,\n isDanger: true,\n disabled: (item: IItemData) =>\n entrypoint.type === 'link' ? !canDeleteLinkValues : item.active ? !item.canDelete : !item.canActivate,\n callback: item => {\n const {itemId, id_value} = item;\n\n const title =\n entrypoint.type === 'library'\n ? item.active\n ? t('explorer.deactivate_item_one')\n : t('explorer.activate_item_one')\n : t('explorer.delete_link_one');\n\n const content =\n entrypoint.type === 'library'\n ? item.active\n ? t('explorer.deactivate_item_description_one')\n : t('explorer.activate_item_description_one')\n : t('explorer.delete_link_description_one');\n\n KitModal.confirm({\n width: '100%',\n style: {content: {width: '90vw', maxWidth: '656px'}},\n type: 'confirm',\n icon: false,\n title,\n content: content + BREAK_TWO_LINES + t('global.are_you_sure'),\n okText: t('global.confirm') ?? undefined,\n cancelText: t('global.cancel') ?? undefined,\n onOk: async () => {\n switch (entrypoint.type) {\n case 'library':\n if (item.active) {\n return _deactivateItem(item);\n }\n\n return _activateItem(item);\n case 'link':\n const linkRes = await deleteRecordLinkMutation({\n variables: {\n library: entrypoint.parentLibraryId,\n attribute: entrypoint.linkAttributeId,\n recordId: entrypoint.parentRecordId,\n value: {\n payload: itemId,\n id_value,\n },\n },\n });\n onRemove?.(item);\n return linkRes;\n default:\n return;\n }\n },\n });\n },\n }),\n [\n t,\n deactivateRecordsMutation,\n deleteRecordLinkMutation,\n activateRecordsMutation,\n canDeleteLinkValues,\n entrypoint.type,\n view.massSelection,\n dispatch,\n ],\n );\n\n return {\n editStatusItemAction: isEnabled ? _editStatusItemAction : null,\n };\n};\n"]}
@@ -12,7 +12,7 @@ import { type ISubmitMultipleResult } from '../../../components/RecordEdition/Ed
12
12
  * @param onReplace - callback to let outside world know about replacing feedback
13
13
  * @param canReplaceLinkValues - check permission to delete link values
14
14
  */
15
- export declare const useReplaceItemAction: ({ isEnabled, onReplace, isMultivalue, canReplaceLinkValues }: FeatureHook<{
15
+ export declare const useReplaceItemAction: ({ isEnabled, onReplace, isMultivalue, canReplaceLinkValues, }: FeatureHook<{
16
16
  isMultivalue: boolean;
17
17
  onReplace?: (replaceValuesResult: ISubmitMultipleResult) => void;
18
18
  canReplaceLinkValues: boolean;
@@ -18,7 +18,7 @@ import { LinkModal } from '../link-item/LinkModal';
18
18
  * @param onReplace - callback to let outside world know about replacing feedback
19
19
  * @param canReplaceLinkValues - check permission to delete link values
20
20
  */
21
- export const useReplaceItemAction = ({ isEnabled, onReplace, isMultivalue, canReplaceLinkValues }) => {
21
+ export const useReplaceItemAction = ({ isEnabled, onReplace, isMultivalue, canReplaceLinkValues, }) => {
22
22
  const { t } = useSharedTranslation();
23
23
  const [isReplaceModalOpen, setIsReplaceModalOpen] = useState(false);
24
24
  const [linkIdSelected, setLinkIdSelected] = useState();
@@ -29,13 +29,13 @@ export const useReplaceItemAction = ({ isEnabled, onReplace, isMultivalue, canRe
29
29
  callback: item => {
30
30
  setLinkIdSelected(item.id_value);
31
31
  setIsReplaceModalOpen(!isReplaceModalOpen);
32
- }
32
+ },
33
33
  }), [canReplaceLinkValues]);
34
34
  const replaceAction = useMemo(() => ({
35
35
  replaceItemAction: isEnabled ? _replaceItemAction : null,
36
36
  replaceItemModal: isEnabled && isReplaceModalOpen ? (_jsx(LinkModal, { open: true, linkId: linkIdSelected, isMultivalue: isMultivalue, onReplace: onReplace, onClose: () => {
37
37
  setIsReplaceModalOpen(false);
38
- } })) : null
38
+ } })) : null,
39
39
  }), [isEnabled, isReplaceModalOpen, _replaceItemAction]);
40
40
  return replaceAction;
41
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useReplaceItemAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-item/useReplaceItemAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAGjD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACjC,SAAS,EACT,SAAS,EACT,YAAY,EACZ,oBAAoB,EAKtB,EAAE,EAAE;IACF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,EAAsB,CAAC;IAE3E,MAAM,kBAAkB,GAAgB,OAAO,CAC3C,GAAG,EAAE,CAAC,CAAC;QACH,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAE;QAClC,IAAI,EAAE,KAAC,aAAa,KAAG;QACvB,QAAQ,EAAE,CAAC,oBAAoB;QAC/B,QAAQ,EAAE,IAAI,CAAC,EAAE;YACb,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACjC,qBAAqB,CAAC,CAAC,kBAAkB,CAAC,CAAC;QAC/C,CAAC;KACJ,CAAC,EACF,CAAC,oBAAoB,CAAC,CACzB,CAAC;IAEF,MAAM,aAAa,GAAG,OAAO,CACzB,GAAG,EAAE,CAAC,CAAC;QACH,iBAAiB,EAAE,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI;QACxD,gBAAgB,EACZ,SAAS,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAC9B,KAAC,SAAS,IACN,IAAI,QACJ,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;gBACV,qBAAqB,CAAC,KAAK,CAAC,CAAC;YACjC,CAAC,GACH,CACL,CAAC,CAAC,CAAC,IAAI;KACf,CAAC,EACF,CAAC,SAAS,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CACtD,CAAC;IAEF,OAAO,aAAa,CAAC;AACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"useReplaceItemAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-item/useReplaceItemAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAGjD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACjC,SAAS,EACT,SAAS,EACT,YAAY,EACZ,oBAAoB,GAKtB,EAAE,EAAE;IACF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpE,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,EAAsB,CAAC;IAE3E,MAAM,kBAAkB,GAAgB,OAAO,CAC3C,GAAG,EAAE,CAAC,CAAC;QACH,KAAK,EAAE,CAAC,CAAC,uBAAuB,CAAE;QAClC,IAAI,EAAE,KAAC,aAAa,KAAG;QACvB,QAAQ,EAAE,CAAC,oBAAoB;QAC/B,QAAQ,EAAE,IAAI,CAAC,EAAE;YACb,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YACjC,qBAAqB,CAAC,CAAC,kBAAkB,CAAC,CAAC;QAC/C,CAAC;KACJ,CAAC,EACF,CAAC,oBAAoB,CAAC,CACzB,CAAC;IAEF,MAAM,aAAa,GAAG,OAAO,CACzB,GAAG,EAAE,CAAC,CAAC;QACH,iBAAiB,EAAE,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI;QACxD,gBAAgB,EACZ,SAAS,IAAI,kBAAkB,CAAC,CAAC,CAAC,CAC9B,KAAC,SAAS,IACN,IAAI,QACJ,MAAM,EAAE,cAAc,EACtB,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;gBACV,qBAAqB,CAAC,KAAK,CAAC,CAAC;YACjC,CAAC,GACH,CACL,CAAC,CAAC,CAAC,IAAI;KACf,CAAC,EACF,CAAC,SAAS,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CACtD,CAAC;IAEF,OAAO,aAAa,CAAC;AACzB,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useMemo, useState} from 'react';\nimport {FaExchangeAlt} from 'react-icons/fa';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {type FeatureHook, type IItemAction} from '../_types';\nimport {LinkModal} from '../link-item/LinkModal';\nimport {type ISubmitMultipleResult} from '_ui/components/RecordEdition/EditRecordContent/_types';\n\n/**\n * Hook used to get the action for `<DataView />` component.\n *\n * When the mutation for replaceing is done, the Apollo cache will be refreshed (`Record` and `RecordIdentity`)\n * from only replaceed record.\n *\n * It returns also two parts : one for the action button call - one for displaying the modal required by the action.\n *\n * @param isEnabled - whether the action is present\n * @param onReplace - callback to let outside world know about replacing feedback\n * @param canReplaceLinkValues - check permission to delete link values\n */\nexport const useReplaceItemAction = ({\n isEnabled,\n onReplace,\n isMultivalue,\n canReplaceLinkValues,\n}: FeatureHook<{\n isMultivalue: boolean;\n onReplace?: (replaceValuesResult: ISubmitMultipleResult) => void;\n canReplaceLinkValues: boolean;\n}>) => {\n const {t} = useSharedTranslation();\n const [isReplaceModalOpen, setIsReplaceModalOpen] = useState(false);\n const [linkIdSelected, setLinkIdSelected] = useState<string | undefined>();\n\n const _replaceItemAction: IItemAction = useMemo(\n () => ({\n label: t('explorer.replace-item')!,\n icon: <FaExchangeAlt />,\n disabled: !canReplaceLinkValues,\n callback: item => {\n setLinkIdSelected(item.id_value);\n setIsReplaceModalOpen(!isReplaceModalOpen);\n },\n }),\n [canReplaceLinkValues],\n );\n\n const replaceAction = useMemo(\n () => ({\n replaceItemAction: isEnabled ? _replaceItemAction : null,\n replaceItemModal:\n isEnabled && isReplaceModalOpen ? (\n <LinkModal\n open\n linkId={linkIdSelected}\n isMultivalue={isMultivalue}\n onReplace={onReplace}\n onClose={() => {\n setIsReplaceModalOpen(false);\n }}\n />\n ) : null,\n }),\n [isEnabled, isReplaceModalOpen, _replaceItemAction],\n );\n\n return replaceAction;\n};\n"]}
@@ -15,7 +15,7 @@ import { type useExplorerData } from '../_queries/useExplorerData';
15
15
  * @param allVisibleKeys - list of all visible keys used to know if we need to change page
16
16
  * @param refetch - method to get fresh data when we delete last page
17
17
  */
18
- export declare const useDeactivateMassAction: ({ isEnabled, store: { view, dispatch }, allVisibleKeys, totalCount, onDeactivate, refetch }: FeatureHook<{
18
+ export declare const useDeactivateMassAction: ({ isEnabled, store: { view, dispatch }, allVisibleKeys, totalCount, onDeactivate, refetch, }: FeatureHook<{
19
19
  store: {
20
20
  view: IViewSettingsState;
21
21
  dispatch: Dispatch<IViewSettingsAction>;
@@ -8,7 +8,7 @@ import { KitAlert, KitModal } from 'aristid-ds';
8
8
  import { useDeactivateRecordsMutation } from '../../../_gqlTypes';
9
9
  import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
10
10
  import { ViewSettingsActionTypes } from '../manage-view-settings';
11
- import { MASS_SELECTION_ALL } from '../_constants';
11
+ import { BREAK_TWO_LINES, MASS_SELECTION_ALL } from '../_constants';
12
12
  import { SUCCESS_ALERT_DURATION } from '../../../constants';
13
13
  /**
14
14
  * Hook used to get the action for mass actions only available on selection.
@@ -23,7 +23,7 @@ import { SUCCESS_ALERT_DURATION } from '../../../constants';
23
23
  * @param allVisibleKeys - list of all visible keys used to know if we need to change page
24
24
  * @param refetch - method to get fresh data when we delete last page
25
25
  */
26
- export const useDeactivateMassAction = ({ isEnabled, store: { view, dispatch }, allVisibleKeys, totalCount, onDeactivate, refetch }) => {
26
+ export const useDeactivateMassAction = ({ isEnabled, store: { view, dispatch }, allVisibleKeys, totalCount, onDeactivate, refetch, }) => {
27
27
  const { t } = useSharedTranslation();
28
28
  const [deactivateRecordsMutation] = useDeactivateRecordsMutation();
29
29
  const _deactivateMassAction = useMemo(() => ({
@@ -31,19 +31,26 @@ export const useDeactivateMassAction = ({ isEnabled, store: { view, dispatch },
31
31
  icon: _jsx(FaTrash, {}),
32
32
  callback: massSelectionFilter => {
33
33
  KitModal.confirm({
34
+ width: '100%',
35
+ style: { content: { width: '90vw', maxWidth: '656px' } },
34
36
  type: 'confirm',
35
- dangerConfirm: true,
36
- content: t('records_deactivation.confirm', {
37
- count: view.massSelection === MASS_SELECTION_ALL ? Infinity : view.massSelection.length
38
- }),
39
- okText: t('global.submit') ?? undefined,
37
+ icon: false,
38
+ title: t('explorer.deactivate_item', {
39
+ count: view.massSelection === MASS_SELECTION_ALL ? Infinity : view.massSelection.length,
40
+ }) ?? undefined,
41
+ content: t('explorer.deactivate_item_description', {
42
+ count: view.massSelection === MASS_SELECTION_ALL ? Infinity : view.massSelection.length,
43
+ }) +
44
+ BREAK_TWO_LINES +
45
+ t('global.are_you_sure'),
46
+ okText: t('global.confirm') ?? undefined,
40
47
  cancelText: t('global.cancel') ?? undefined,
41
48
  onOk: async () => {
42
49
  const { data } = await deactivateRecordsMutation({
43
50
  variables: {
44
51
  libraryId: view.libraryId,
45
- filters: massSelectionFilter
46
- }
52
+ filters: massSelectionFilter,
53
+ },
47
54
  });
48
55
  const total = view.massSelection === MASS_SELECTION_ALL ? totalCount : view.massSelection.length;
49
56
  KitAlert.success({
@@ -52,17 +59,17 @@ export const useDeactivateMassAction = ({ isEnabled, store: { view, dispatch },
52
59
  message: t('explorer.massAction.deactivate_message'),
53
60
  description: t('explorer.massAction.deactivate_description', {
54
61
  count: data?.deactivateRecords.length,
55
- total
62
+ total,
56
63
  }),
57
- closable: true
64
+ closable: true,
58
65
  });
59
66
  if (view.massSelection === MASS_SELECTION_ALL ||
60
67
  allVisibleKeys.every(key => view.massSelection.includes(key))) {
61
68
  await refetch({
62
69
  pagination: {
63
70
  limit: view.pageSize,
64
- offset: 0
65
- }
71
+ offset: 0,
72
+ },
66
73
  });
67
74
  }
68
75
  else {
@@ -71,14 +78,14 @@ export const useDeactivateMassAction = ({ isEnabled, store: { view, dispatch },
71
78
  onDeactivate?.(massSelectionFilter, view.massSelection);
72
79
  dispatch({
73
80
  type: ViewSettingsActionTypes.SET_SELECTED_KEYS,
74
- payload: []
81
+ payload: [],
75
82
  });
76
- }
83
+ },
77
84
  });
78
- }
85
+ },
79
86
  }), [t, deactivateRecordsMutation, view.massSelection, dispatch, view.libraryId, allVisibleKeys, refetch]);
80
87
  return {
81
- deactivateMassAction: isEnabled ? _deactivateMassAction : null
88
+ deactivateMassAction: isEnabled ? _deactivateMassAction : null,
82
89
  };
83
90
  };
84
91
  //# sourceMappingURL=useDeactivateMassAction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDeactivateMassAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-mass/useDeactivateMassAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAgB,OAAO,EAAC,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAoD,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AACnH,OAAO,EAAC,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAEjD,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AAErD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACpC,SAAS,EACT,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC,EACvB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,OAAO,EAUT,EAAE,EAAE;IACF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,MAAM,CAAC,yBAAyB,CAAC,GAAG,4BAA4B,EAAE,CAAC;IAEnE,MAAM,qBAAqB,GAAiB,OAAO,CAC/C,GAAG,EAAE,CAAC,CAAC;QACH,KAAK,EAAE,CAAC,CAAC,gCAAgC,CAAC;QAC1C,IAAI,EAAE,KAAC,OAAO,KAAG;QACjB,QAAQ,EAAE,mBAAmB,CAAC,EAAE;YAC5B,QAAQ,CAAC,OAAO,CAAC;gBACb,IAAI,EAAE,SAAS;gBACf,aAAa,EAAE,IAAI;gBACnB,OAAO,EAAE,CAAC,CAAC,8BAA8B,EA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O,EAAE,CAAC;oBACpB,CAAC;oBACD,YAAY,EAAE,CAAC,mBAAmB,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;oBACxD,QAAQ,CAAC;wBACL,IAAI,EAAE,uBAAuB,CAAC,iBAAiB;wBAC/C,OAAO,EAAE,EAAE;qBACd,CAAC,CAAC;gBACP,CAAC;aACJ,CAAC,CAAC;QACP,CAAC;KACJ,CAAC,EACF,CAAC,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,cAAc,EAAE,OAAO,CAAC,CACxG,CAAC;IAEF,OAAO;QACH,oBAAoB,EAAE,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI;KACjE,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useDeactivateMassAction.js","sourceRoot":"","sources":["../../../../src/components/Explorer/actions-mass/useDeactivateMassAction.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAgB,OAAO,EAAC,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,OAAO,EAAoD,uBAAuB,EAAC,MAAM,yBAAyB,CAAC;AACnH,OAAO,EAAC,eAAe,EAAE,kBAAkB,EAAC,MAAM,eAAe,CAAC;AAElE,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAC;AAErD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACpC,SAAS,EACT,KAAK,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC,EACvB,cAA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AC;IAEF,OAAO;QACH,oBAAoB,EAAE,SAAS,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI;KACjE,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type Dispatch, useMemo} from 'react';\nimport {FaTrash} from 'react-icons/fa';\nimport {KitAlert, KitModal} from 'aristid-ds';\nimport {useDeactivateRecordsMutation} from '_ui/_gqlTypes';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {type FeatureHook, type IMassActions} from '../_types';\nimport {type IViewSettingsAction, type IViewSettingsState, ViewSettingsActionTypes} from '../manage-view-settings';\nimport {BREAK_TWO_LINES, MASS_SELECTION_ALL} from '../_constants';\nimport {type useExplorerData} from '../_queries/useExplorerData';\nimport {SUCCESS_ALERT_DURATION} from '_ui/constants';\n\n/**\n * Hook used to get the action for mass actions only available on selection.\n *\n * When the mutation for deactivation is done, the Apollo cache will be clean (`Record` and `RecordIdentity`)\n * from deactivated record.\n *\n * @param isEnabled - whether the action is present\n * @param view - represent the current view\n * @param dispatch - method to change the current view\n * @param libraryId - concerned library\n * @param allVisibleKeys - list of all visible keys used to know if we need to change page\n * @param refetch - method to get fresh data when we delete last page\n */\nexport const useDeactivateMassAction = ({\n isEnabled,\n store: {view, dispatch},\n allVisibleKeys,\n totalCount,\n onDeactivate,\n refetch,\n}: FeatureHook<{\n store: {\n view: IViewSettingsState;\n dispatch: Dispatch<IViewSettingsAction>;\n };\n allVisibleKeys: string[];\n totalCount: number;\n onDeactivate?: IMassActions['callback'];\n refetch: ReturnType<typeof useExplorerData>['refetch'];\n}>) => {\n const {t} = useSharedTranslation();\n\n const [deactivateRecordsMutation] = useDeactivateRecordsMutation();\n\n const _deactivateMassAction: IMassActions = useMemo(\n () => ({\n label: t('explorer.massAction.deactivate'),\n icon: <FaTrash />,\n callback: massSelectionFilter => {\n KitModal.confirm({\n width: '100%',\n style: {content: {width: '90vw', maxWidth: '656px'}},\n type: 'confirm',\n icon: false,\n title:\n t('explorer.deactivate_item', {\n count: view.massSelection === MASS_SELECTION_ALL ? Infinity : view.massSelection.length,\n }) ?? undefined,\n content:\n t('explorer.deactivate_item_description', {\n count: view.massSelection === MASS_SELECTION_ALL ? Infinity : view.massSelection.length,\n }) +\n BREAK_TWO_LINES +\n t('global.are_you_sure'),\n okText: t('global.confirm') ?? undefined,\n cancelText: t('global.cancel') ?? undefined,\n onOk: async () => {\n const {data} = await deactivateRecordsMutation({\n variables: {\n libraryId: view.libraryId,\n filters: massSelectionFilter,\n },\n });\n const total =\n view.massSelection === MASS_SELECTION_ALL ? totalCount : view.massSelection.length;\n KitAlert.success({\n showIcon: true,\n duration: SUCCESS_ALERT_DURATION,\n message: t('explorer.massAction.deactivate_message'),\n description: t('explorer.massAction.deactivate_description', {\n count: data?.deactivateRecords.length,\n total,\n }),\n closable: true,\n });\n if (\n view.massSelection === MASS_SELECTION_ALL ||\n allVisibleKeys.every(key => view.massSelection.includes(key))\n ) {\n await refetch({\n pagination: {\n limit: view.pageSize,\n offset: 0,\n },\n });\n } else {\n await refetch();\n }\n onDeactivate?.(massSelectionFilter, view.massSelection);\n dispatch({\n type: ViewSettingsActionTypes.SET_SELECTED_KEYS,\n payload: [],\n });\n },\n });\n },\n }),\n [t, deactivateRecordsMutation, view.massSelection, dispatch, view.libraryId, allVisibleKeys, refetch],\n );\n\n return {\n deactivateMassAction: isEnabled ? _deactivateMassAction : null,\n };\n};\n"]}
@@ -2,7 +2,8 @@ import { type FeatureHook, type IMassActions } from '../_types';
2
2
  import { type IViewSettingsAction, type IViewSettingsState } from '../manage-view-settings';
3
3
  import { type Dispatch } from 'react';
4
4
  import { useExplorerData } from '../_queries/useExplorerData';
5
- export declare const useDeleteLinkValues: ({ isEnabled, store: { view, dispatch }, pagination, allVisibleKeys, onDelete, refetch }: FeatureHook<{
5
+ import { type IUIFiltersState } from '../../../components/Filters/context/filtersReducer';
6
+ export declare const useDeleteLinkValues: ({ isEnabled, store: { view, dispatch }, filtersStore: { filters, filtersOperator }, pagination, allVisibleKeys, onDelete, refetch, }: FeatureHook<{
6
7
  pagination: null | {
7
8
  limit: number;
8
9
  offset: number;
@@ -11,6 +12,7 @@ export declare const useDeleteLinkValues: ({ isEnabled, store: { view, dispatch
11
12
  view: IViewSettingsState;
12
13
  dispatch: Dispatch<IViewSettingsAction>;
13
14
  };
15
+ filtersStore: IUIFiltersState;
14
16
  allVisibleKeys: string[];
15
17
  onDelete?: IMassActions["callback"];
16
18
  refetch: ReturnType<typeof useExplorerData>["refetch"];