@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 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,eAAe,SAAS,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 CellInfos from './CellInfos';\n\nexport default CellInfos;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"CellSelection.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,iBAAiB,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACzE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;CAMzB,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAoB;;mBAEnC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;iBACtC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC;;;;;;;;;;;CAWtF,CAAC;AAMF,SAAS,aAAa,CAAC,EAAC,QAAQ,EAAsB;IAClD,OAAO,CACH,KAAC,OAAO,cACJ,KAAC,cAAc,IAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAC,UAAU,YAC7C,QAAQ,CAAC,CAAC,CAAC,KAAC,iBAAiB,KAAG,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,GAC9C,GACX,CACb,CAAC;AACN,CAAC;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"CellSelection.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,iBAAiB,EAAE,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACzE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;CAMzB,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAoB;;mBAEnC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;iBACtC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC;;;;;;;;;;;CAWtF,CAAC;AAMF,SAAS,aAAa,CAAC,EAAC,QAAQ,EAAsB;IAClD,OAAO,CACH,KAAC,OAAO,cACJ,KAAC,cAAc,IAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAC,UAAU,YAC7C,QAAQ,CAAC,CAAC,CAAC,KAAC,iBAAiB,KAAG,CAAC,CAAC,CAAC,KAAC,mBAAmB,KAAG,GAC9C,GACX,CACb,CAAC;AACN,CAAC;AAED,eAAe,aAAa,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {CheckCircleFilled, CheckCircleOutlined} from '@ant-design/icons';\nimport styled from 'styled-components';\nimport {themeVars} from '_ui/antdTheme';\n\nconst Wrapper = styled.div`\n display: grid;\n place-items: center;\n position: relative;\n height: 100%;\n width: 100%;\n`;\n\nconst CustomCheckbox = styled.span<{checked: boolean}>`\n && {\n display: ${p => (!p.checked ? 'none' : 'block')};\n color: ${p => (p.checked ? themeVars.primaryColor : themeVars.defaultTextColor)};\n font-size: 1.5em;\n\n .ant-checkbox-checked::after {\n border: none;\n }\n }\n\n [role='row']:hover & {\n display: block;\n }\n`;\n\ninterface ICellSelectionProps {\n selected: boolean;\n}\n\nfunction CellSelection({selected}: ICellSelectionProps): JSX.Element {\n return (\n <Wrapper>\n <CustomCheckbox checked={selected} role=\"checkbox\">\n {selected ? <CheckCircleFilled /> : <CheckCircleOutlined />}\n </CustomCheckbox>\n </Wrapper>\n );\n}\n\nexport default CellSelection;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,eAAe,aAAa,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport CellSelection from './CellSelection';\n\nexport default CellSelection;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextDisplay.js","sourceRoot":"","sources":["../../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,gBAAgB,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,MAAM,yBAAyB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;;;;CAMzD,CAAC;AAMF,SAAS,eAAe,CAAC,EAAC,cAAc,EAAwB;IAC5D,MAAM,uBAAuB,GAAG,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IACnE,MAAM,UAAU,GAAG,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAElD,OAAO,CACH,KAAC,OAAO,IAAC,OAAO,EAAE,UAAU,YACxB,KAAC,yBAAyB,KAAG,GACvB,CACb,CAAC;AACN,CAAC;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"RichTextDisplay.js","sourceRoot":"","sources":["../../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,gBAAgB,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,MAAM,mBAAmB,CAAC;AACtC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,SAAS,MAAM,WAAW,CAAC;AAElC,MAAM,yBAAyB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;;;;;;CAMzD,CAAC;AAMF,SAAS,eAAe,CAAC,EAAC,cAAc,EAAwB;IAC5D,MAAM,uBAAuB,GAAG,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;IACnE,MAAM,UAAU,GAAG,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAElD,OAAO,CACH,KAAC,OAAO,IAAC,OAAO,EAAE,UAAU,YACxB,KAAC,yBAAyB,KAAG,GACvB,CACb,CAAC;AACN,CAAC;AAED,eAAe,eAAe,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 EllipsisOutlined from '@ant-design/icons/lib/icons/EllipsisOutlined';\nimport {Tooltip} from 'antd';\nimport parse from 'html-react-parser';\nimport styled from 'styled-components';\nimport DOMPurify from 'dompurify';\n\nconst EllipsisOutlinedComponent = styled(EllipsisOutlined)`\n border-width: 1px;\n border-style: solid;\n border-color: #d9d9d9;\n background: white;\n border-radius: 10px;\n`;\n\nexport interface IRichTextDisplayProps {\n displayedValue: string;\n}\n\nfunction RichTextDisplay({displayedValue}: IRichTextDisplayProps): JSX.Element {\n const sanitizedDisplayedValue = DOMPurify.sanitize(displayedValue);\n const parseValue = parse(sanitizedDisplayedValue);\n\n return (\n <Tooltip overlay={parseValue}>\n <EllipsisOutlinedComponent />\n </Tooltip>\n );\n}\n\nexport default RichTextDisplay;\n"]}
@@ -23,7 +23,7 @@ const alignmentByFormat = {
23
23
  [AttributeFormat.extended]: 'left',
24
24
  [AttributeFormat.encrypted]: 'left',
25
25
  [AttributeFormat.color]: 'left',
26
- [AttributeFormat.rich_text]: 'center'
26
+ [AttributeFormat.rich_text]: 'center',
27
27
  };
28
28
  const Wrapper = styled.div `
29
29
  padding: 5px;
@@ -73,7 +73,7 @@ function StandardCell({ cellData, values }) {
73
73
  };
74
74
  return (_jsx(Wrapper, { "$format": cellData.format, children: cellData.format === AttributeFormat.extended ? (_jsx(Tooltip, { overlay: formattedValuesToDisplay, children: _jsx(FileTextOutlined, { size: 256, style: { fontSize: '2em' } }) })) : (_jsx(Typography.Paragraph, { ellipsis: {
75
75
  rows: 1,
76
- tooltip: formattedValuesToDisplay
76
+ tooltip: formattedValuesToDisplay,
77
77
  }, style: { margin: 0 }, children: _getElementToDisplay() })) }));
78
78
  }
79
79
  export default StandardCell;
@@ -1 +1 @@
1
- {"version":3,"file":"StandardCell.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAC,cAAc,EAAuB,MAAM,aAAa,CAAC;AACjE,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,MAAM,CAAC;AACtD,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAC,uBAAuB,EAAC,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAC,wBAAwB,EAAC,MAAM,UAAU,CAAC;AAClD,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAE5D,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,EAA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,OAAO,wBAAwB,CAAC;QACxC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,OAAO,eAAU,QAAQ,CAAC,MAAM,YAC5B,QAAQ,CAAC,MAAM,KAAK,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAC5C,KAAC,OAAO,IAAC,OAAO,EAAE,wBAAwB,YACtC,KAAC,gBAAgB,IAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAC,QAAQ,EAAE,KAAK,EAAC,GAAI,GACnD,CACb,CAAC,CAAC,CAAC,CACA,KAAC,UAAU,CAAC,SAAS,IACjB,QAAQ,EAAE;gBACN,IAAI,EAAE,CAAC;gBACP,OAAO,EAAE,wBAAwB;aACpC,EACD,KAAK,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC,YAEjB,oBAAoB,EAAE,GACJ,CAC1B,GACK,CACb,CAAC;AACN,CAAC;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"StandardCell.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACjF,OAAO,EAAC,cAAc,EAAuB,MAAM,aAAa,CAAC;AACjE,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,MAAM,CAAC;AACtD,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAC,uBAAuB,EAAC,MAAM,YAAY,CAAC;AAEnD,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C,EAAE,CAAC;oBACpC,OAAO,wBAAwB,CAAC;gBACpC,CAAC;qBAAM,CAAC;oBACJ,OAAO,KAAC,eAAe,IAAC,cAAc,EAAE,wBAAwB,GAAI,CAAC;gBACzE,CAAC;YAEL;gBACI,OAAO,wBAAwB,CAAC;QACxC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,OAAO,eAAU,QAAQ,CAAC,MAAM,YAC5B,QAAQ,CAAC,MAAM,KAAK,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC,CAC5C,KAAC,OAAO,IAAC,OAAO,EAAE,wBAAwB,YACtC,KAAC,gBAAgB,IAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAC,QAAQ,EAAE,KAAK,EAAC,GAAI,GACnD,CACb,CAAC,CAAC,CAAC,CACA,KAAC,UAAU,CAAC,SAAS,IACjB,QAAQ,EAAE;gBACN,IAAI,EAAE,CAAC;gBACP,OAAO,EAAE,wBAAwB;aACpC,EACD,KAAK,EAAE,EAAC,MAAM,EAAE,CAAC,EAAC,YAEjB,oBAAoB,EAAE,GACJ,CAC1B,GACK,CACb,CAAC;AACN,CAAC;AAED,eAAe,YAAY,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 {CheckOutlined, CloseOutlined, FileTextOutlined} from '@ant-design/icons';\nimport {getInvertColor, type IDateRangeValue} from '@leav/utils';\nimport {Switch, Tag, Tooltip, Typography} from 'antd';\nimport isEmpty from 'lodash/isEmpty';\nimport React from 'react';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {AttributeFormat} from '_ui/_gqlTypes';\nimport {stringifyDateRangeValue} from '_ui/_utils';\nimport {type ISimpleCellProps} from '../types';\nimport {getValuesToDisplayInCell} from '../utils';\nimport {AggregationColor} from 'antd/es/color-picker/color';\n\nconst RichTextDisplay = React.lazy(() => import('./ElementsToDisplay/RichTextDisplay'));\n\nconst alignmentByFormat: Record<AttributeFormat, 'left' | 'right' | 'center'> = {\n [AttributeFormat.text]: 'left',\n [AttributeFormat.numeric]: 'right',\n [AttributeFormat.boolean]: 'center',\n [AttributeFormat.date]: 'left',\n [AttributeFormat.date_range]: 'left',\n [AttributeFormat.extended]: 'left',\n [AttributeFormat.encrypted]: 'left',\n [AttributeFormat.color]: 'left',\n [AttributeFormat.rich_text]: 'center',\n};\n\nconst Wrapper = styled.div<{$format: AttributeFormat}>`\n padding: 5px;\n width: 100%;\n text-align: ${props => alignmentByFormat[props.$format]};\n`;\n\nfunction StandardCell({cellData, values}: ISimpleCellProps): JSX.Element {\n const {t} = useSharedTranslation();\n\n const _getValueByFormat = (cellValue: any): string => {\n switch (cellData.format) {\n case AttributeFormat.date_range:\n const rangeValue = cellValue as IDateRangeValue;\n return stringifyDateRangeValue(rangeValue, t);\n default:\n return cellValue;\n }\n };\n\n const formattedValuesToDisplay = getValuesToDisplayInCell(values)\n .map(valueData => _getValueByFormat(valueData?.value))\n .join(', ');\n\n const _getTagStyle = (hexColor: string) => ({color: getInvertColor(hexColor)});\n\n const _getElementToDisplay = () => {\n switch (cellData.format) {\n case AttributeFormat.boolean:\n return (\n <Switch\n disabled\n checked={values[0]?.value}\n checkedChildren={<CheckOutlined />}\n unCheckedChildren={<CloseOutlined />}\n />\n );\n case AttributeFormat.color:\n if (!isEmpty(values)) {\n return (\n <>\n {values.map((colorData, index) => {\n const color = new AggregationColor(colorData.raw_value);\n const hexColor = color.toHexString();\n\n return (\n <Tag key={index} bordered={true} color={hexColor} style={_getTagStyle(hexColor)}>\n {colorData.value}\n </Tag>\n );\n })}\n </>\n );\n } else {\n return formattedValuesToDisplay;\n }\n case AttributeFormat.rich_text:\n if (isEmpty(formattedValuesToDisplay)) {\n return formattedValuesToDisplay;\n } else {\n return <RichTextDisplay displayedValue={formattedValuesToDisplay} />;\n }\n\n default:\n return formattedValuesToDisplay;\n }\n };\n\n return (\n <Wrapper $format={cellData.format}>\n {cellData.format === AttributeFormat.extended ? (\n <Tooltip overlay={formattedValuesToDisplay}>\n <FileTextOutlined size={256} style={{fontSize: '2em'}} />\n </Tooltip>\n ) : (\n <Typography.Paragraph\n ellipsis={{\n rows: 1,\n tooltip: formattedValuesToDisplay,\n }}\n style={{margin: 0}}\n >\n {_getElementToDisplay()}\n </Typography.Paragraph>\n )}\n </Wrapper>\n );\n}\n\nexport default StandardCell;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,eAAe,YAAY,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 StandardCell from './StandardCell';\n\nexport default StandardCell;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,eAAe,IAAI,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 Cell from './Cell';\n\nexport default Cell;\n"]}
@@ -6,6 +6,6 @@ export const TypeGuards = {
6
6
  isTreeCellValues: (values) => values.length > 0 && TypeGuards.isTreeCellValue(values[0]),
7
7
  isRecordFormElementsValueStandardValue: (value) => value && 'value' in value,
8
8
  isRecordFormElementsValuesLinkValue: (value) => value && 'linkValue' in value,
9
- isRecordFormElementsValuesTreeValue: (value) => value && 'treeValue' in value
9
+ isRecordFormElementsValuesTreeValue: (value) => value && 'treeValue' in value,
10
10
  };
11
11
  //# sourceMappingURL=typeGuards.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"typeGuards.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,kBAAkB,EAAE,CAAC,MAA0D,EAA8B,EAAE,CAC3G,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC;IAC7C,eAAe,EAAE,CAAC,KAAsD,EAA0B,EAAE,CAChG,WAAW,IAAI,KAAK;IACxB,gBAAgB,EAAE,CAAC,MAA0D,EAA4B,EAAE,CACvG,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,eAAe,EAAE,CAAC,KAAsD,EAA0B,EAAE,CAChG,WAAW,IAAI,KAAK;IACxB,gBAAgB,EAAE,CAAC,MAA0D,EAA4B,EAAE,CACvG,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,sCAAsC,EAAE,CACpC,KAGsC,EACO,EAAE,CAAC,KAAK,IAAI,OAAO,IAAI,KAAK;IAC7E,mCAAmC,EAAE,CACjC,KAGsC,EACG,EAAE,CAAC,KAAK,IAAI,WAAW,IAAI,KAAK;IAC7E,mCAAmC,EAAE,CACjC,KAGsC,EACG,EAAE,CAAC,KAAK,IAAI,WAAW,IAAI,KAAK;CAChF,CAAC"}
1
+ {"version":3,"file":"typeGuards.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,kBAAkB,EAAE,CAAC,MAA0D,EAA8B,EAAE,CAC3G,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,IAAI,MAAM,CAAC,CAAC,CAAC;IAC7C,eAAe,EAAE,CAAC,KAAsD,EAA0B,EAAE,CAChG,WAAW,IAAI,KAAK;IACxB,gBAAgB,EAAE,CAAC,MAA0D,EAA4B,EAAE,CACvG,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,eAAe,EAAE,CAAC,KAAsD,EAA0B,EAAE,CAChG,WAAW,IAAI,KAAK;IACxB,gBAAgB,EAAE,CAAC,MAA0D,EAA4B,EAAE,CACvG,MAAM,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,sCAAsC,EAAE,CACpC,KAGsC,EACO,EAAE,CAAC,KAAK,IAAI,OAAO,IAAI,KAAK;IAC7E,mCAAmC,EAAE,CACjC,KAGsC,EACG,EAAE,CAAC,KAAK,IAAI,WAAW,IAAI,KAAK;IAC7E,mCAAmC,EAAE,CACjC,KAGsC,EACG,EAAE,CAAC,KAAK,IAAI,WAAW,IAAI,KAAK;CAChF,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 {\n type RecordFormElementsValueLinkValue,\n type RecordFormElementsValueStandardValue,\n type RecordFormElementsValueTreeValue,\n} from '_ui/hooks/useGetRecordForm';\nimport {\n type LinkCellValue,\n type LinkCellValues,\n type SimpleCellValue,\n type SimpleCellValues,\n type TreeCellValue,\n type TreeCellValues,\n} from './types';\n\nexport const TypeGuards = {\n isSimpleCellValues: (values: SimpleCellValues | LinkCellValues | TreeCellValues): values is SimpleCellValues =>\n values.length > 0 && 'value' in values[0],\n isLinkCellValue: (value: SimpleCellValue | LinkCellValue | TreeCellValue): value is LinkCellValue =>\n 'linkValue' in value,\n isLinkCellValues: (values: SimpleCellValues | LinkCellValues | TreeCellValues): values is LinkCellValues =>\n values.length > 0 && TypeGuards.isLinkCellValue(values[0]),\n isTreeCellValue: (value: SimpleCellValue | LinkCellValue | TreeCellValue): value is TreeCellValue =>\n 'treeValue' in value,\n isTreeCellValues: (values: SimpleCellValues | LinkCellValues | TreeCellValues): values is TreeCellValues =>\n values.length > 0 && TypeGuards.isTreeCellValue(values[0]),\n isRecordFormElementsValueStandardValue: (\n value:\n | RecordFormElementsValueStandardValue\n | RecordFormElementsValueLinkValue\n | RecordFormElementsValueTreeValue,\n ): value is RecordFormElementsValueStandardValue => value && 'value' in value,\n isRecordFormElementsValuesLinkValue: (\n value:\n | RecordFormElementsValueStandardValue\n | RecordFormElementsValueLinkValue\n | RecordFormElementsValueTreeValue,\n ): value is RecordFormElementsValueLinkValue => value && 'linkValue' in value,\n isRecordFormElementsValuesTreeValue: (\n value:\n | RecordFormElementsValueStandardValue\n | RecordFormElementsValueLinkValue\n | RecordFormElementsValueTreeValue,\n ): value is RecordFormElementsValueTreeValue => value && 'treeValue' in value,\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/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 {\n type ValueDetailsLinkValueFragment,\n type ValueDetailsTreeValueFragment,\n type ValueDetailsValueFragment,\n} from '_ui/_gqlTypes';\nimport {type ITableCell} from '_ui/types';\n\nexport type SimpleCellValue = ValueDetailsValueFragment;\nexport type SimpleCellValues = SimpleCellValue[];\n\nexport type LinkCellValue = ValueDetailsLinkValueFragment;\nexport type LinkCellValues = LinkCellValue[];\n\nexport type TreeCellValue = ValueDetailsTreeValueFragment;\nexport type TreeCellValues = TreeCellValue[];\n\nexport interface ISimpleCellProps {\n cellData: ITableCell;\n values: SimpleCellValues;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAGxC,MAAM,mBAAmB,GAAG,CAAC,MAA0D,EAAE,EAAE;IACvF,IAAI,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;QACxC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACtD,CAAC;IAED,IAAI,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WA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AC,MAAM,CAAC,CAAC;IAEpD,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC;IAC3B,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC,CAAC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAGxC,MAAM,mBAAmB,GAAG,CAAC,MAA0D,EAAE,EAAE;IACvF,IAAI,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;QACxC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACtD,CAAC;IAED,IAAI,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACtD,CAAC;IAED,IAAI,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACtD,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,gCAAgC,GAAG,CAAC,MAA0D,EAAE,EAAE;IACpG,IAAI,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC;QACxC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC;IACvF,CAAC;IAED,IAAI,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC;IAC3F,CAAC;IAED,IAAI,UAAU,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;QACtC,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,SAAS,KAAK,IAAI,CAAC,CAAC;IAC3F,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACpC,MAA0D,EACR,EAAE;IACpD,MAAM,4BAA4B,GAAG,gCAAgC,CAAC,MAAM,CAAC,CAAC;IAE9E,IAAI,4BAA4B,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1C,OAAO,4BAA4B,CAAC;IACxC,CAAC;IAED,MAAM,eAAe,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAEpD,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC7B,OAAO,eAAe,CAAC;IAC3B,CAAC;IAED,OAAO,EAAE,CAAC;AACd,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 {TypeGuards} from './typeGuards';\nimport {type LinkCellValues, type SimpleCellValues, type TreeCellValues} from './types';\n\nconst _getInheritedValues = (values: SimpleCellValues | LinkCellValues | TreeCellValues) => {\n if (TypeGuards.isSimpleCellValues(values)) {\n return values.filter(value => value?.isInherited);\n }\n\n if (TypeGuards.isLinkCellValues(values)) {\n return values.filter(value => value?.isInherited);\n }\n\n if (TypeGuards.isTreeCellValues(values)) {\n return values.filter(value => value?.isInherited);\n }\n\n return [];\n};\n\nconst _getNotInheritedOrOverrideValues = (values: SimpleCellValues | LinkCellValues | TreeCellValues) => {\n if (TypeGuards.isSimpleCellValues(values)) {\n return values.filter(value => value && !value.isInherited && value.value !== null);\n }\n\n if (TypeGuards.isLinkCellValues(values)) {\n return values.filter(value => value && !value.isInherited && value.linkValue !== null);\n }\n\n if (TypeGuards.isTreeCellValues(values)) {\n return values.filter(value => value && !value.isInherited && value.treeValue !== null);\n }\n\n return [];\n};\n\nexport const getValuesToDisplayInCell = (\n values: SimpleCellValues | LinkCellValues | TreeCellValues,\n): SimpleCellValues | LinkCellValues | TreeCellValues => {\n const notInheritedOrOverrideValues = _getNotInheritedOrOverrideValues(values);\n\n if (notInheritedOrOverrideValues.length > 0) {\n return notInheritedOrOverrideValues;\n }\n\n const inheritedValues = _getInheritedValues(values);\n\n if (inheritedValues.length > 0) {\n return inheritedValues;\n }\n\n return [];\n};\n"]}
@@ -22,7 +22,7 @@ function ChooseTableColumns({ visible, onClose }) {
22
22
  ...col,
23
23
  path: col.key,
24
24
  label: currentAttribute?.label ?? null,
25
- multiple_values: !!col.multipleValues
25
+ multiple_values: !!col.multipleValues,
26
26
  };
27
27
  }));
28
28
  const handleSubmit = () => {
@@ -32,7 +32,7 @@ function ChooseTableColumns({ visible, onClose }) {
32
32
  ...a,
33
33
  isLink: a.type === AttributeType.tree,
34
34
  isMultiple: a.multiple_values,
35
- format: a.format ?? undefined
35
+ format: a.format ?? undefined,
36
36
  }));
37
37
  const allAttributes = [...(searchState?.attributes ?? []), ...noDuplicateNewAttribute];
38
38
  searchDispatch({ type: SearchActionTypes.SET_ATTRIBUTES, attributes: allAttributes });
@@ -45,7 +45,7 @@ function ChooseTableColumns({ visible, onClose }) {
45
45
  const label = typeof attribute.label === 'string' ? attribute.label : localizedTranslation(attribute.label, lang);
46
46
  const embeddedData = selectedAttribute.embeddedFieldData && {
47
47
  format: selectedAttribute.embeddedFieldData?.format ?? AttributeFormat.text,
48
- path: selectedAttribute.path
48
+ path: selectedAttribute.path,
49
49
  };
50
50
  const field = {
51
51
  id: selectedAttribute.id,
@@ -59,13 +59,13 @@ function ChooseTableColumns({ visible, onClose }) {
59
59
  embeddedData,
60
60
  recordLibrary: selectedAttribute?.parentAttributeData?.type === AttributeType.tree
61
61
  ? selectedAttribute.path.split('.')[1]
62
- : null
62
+ : null,
63
63
  };
64
64
  return [...acc, field];
65
65
  }, []);
66
66
  searchDispatch({
67
67
  type: SearchActionTypes.SET_FIELDS,
68
- fields: newFields
68
+ fields: newFields,
69
69
  });
70
70
  onClose();
71
71
  };
@@ -80,7 +80,7 @@ function ChooseTableColumns({ visible, onClose }) {
80
80
  }
81
81
  return (_jsx(Modal, { open: visible, onCancel: _handleCancel, title: t('table-columns-selection.header'), width: "70rem", centered: true, footer: [
82
82
  _jsx(Button, { onClick: _handleCancel, children: t('table-columns-selection.cancel') }, "Cancel"),
83
- _jsx(Button, { type: "primary", onClick: handleSubmit, children: t('table-columns-selection.submit') }, "Submit")
83
+ _jsx(Button, { type: "primary", onClick: handleSubmit, children: t('table-columns-selection.submit') }, "Submit"),
84
84
  ], children: _jsx(AttributesSelectionList, { library: searchState.library.id, selectedAttributes: selectedAttributes, onSelectionChange: setSelectedAttributes }) }));
85
85
  }
86
86
  export default ChooseTableColumns;
@@ -1 +1 @@
1
- {"version":3,"file":"ChooseTableColumns.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACnC,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E,OAAO,g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AAa,EACvB,KAAK,EAAE,CAAC,CAAC,gCAAgC,CAAC,EAC1C,KAAK,EAAC,OAAO,EACb,QAAQ,QACR,MAAM,EAAE;YACJ,KAAC,MAAM,IAAc,OAAO,EAAE,aAAa,YACtC,CAAC,CAAC,gCAAgC,CAAC,IAD5B,QAAQ,CAEX;YACT,KAAC,MAAM,IAAC,IAAI,EAAC,SAAS,EAAc,OAAO,EAAE,YAAY,YACpD,CAAC,CAAC,gCAAgC,CAAC,IADb,QAAQ,CAE1B;SACZ,YAED,KAAC,uBAAuB,IACpB,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,EAC/B,kBAAkB,EAAE,kBAAkB,EACtC,iBAAiB,EAAE,qBAAqB,GAC1C,GACE,CACX,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"ChooseTableColumns.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AACnC,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,wDAAwD,CAAC;AACtF,OAAO,EAAC,iBAAiB,EAAC,MAAM,sEAAsE,CAAC;AACvG,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAGpE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAC,yBAAyB,EAAC,MAAM,yCAAyC,CAAC;AAOlF,SAAS,kBAAkB,CAAC,EAAC,OAAO,EAAE,OAAO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B,IACpB,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,EAC/B,kBAAkB,EAAE,kBAAkB,EACtC,iBAAiB,EAAE,qBAAqB,GAC1C,GACE,CACX,CAAC;AACN,CAAC;AAED,eAAe,kBAAkB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {localizedTranslation} from '@leav/utils';\nimport {Button, Modal} from 'antd';\nimport {useState} from 'react';\nimport AttributesSelectionList from '_ui/components/AttributesSelectionList';\nimport useSearchReducer from '_ui/components/LibraryItemsList/hooks/useSearchReducer';\nimport {SearchActionTypes} from '_ui/components/LibraryItemsList/hooks/useSearchReducer/searchReducer';\nimport useLang from '_ui/hooks/useLang';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {type ISelectedAttribute} from '_ui/types/attributes';\nimport {type IAttribute, type IField} from '_ui/types/search';\nimport {AttributeFormat, AttributeType} from '_ui/_gqlTypes';\nimport {getFieldsKeyFromAttribute} from '../../helpers/getFieldsKeyFromAttribute';\n\ninterface IChooseTableColumnsProps {\n visible: boolean;\n onClose: () => void;\n}\n\nfunction ChooseTableColumns({visible, onClose}: IChooseTableColumnsProps): JSX.Element {\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n const {state: searchState, dispatch: searchDispatch} = useSearchReducer();\n const [selectedAttributes, setSelectedAttributes] = useState<ISelectedAttribute[]>(\n (searchState?.fields ?? []).map(col => {\n const currentAttribute = searchState.attributes.find(\n attribute => attribute.id === col.id && attribute.library === col.library,\n );\n\n return {\n ...col,\n path: col.key,\n label: currentAttribute?.label ?? null,\n multiple_values: !!col.multipleValues,\n };\n }),\n );\n\n const handleSubmit = () => {\n const noDuplicateNewAttribute: IAttribute[] = selectedAttributes\n .filter(\n selectedAttribute =>\n !searchState.attributes.some(\n attribute =>\n attribute.id === selectedAttribute.id && attribute.library === selectedAttribute.library,\n ),\n )\n .map(a => ({\n ...a,\n isLink: a.type === AttributeType.tree,\n isMultiple: a.multiple_values,\n format: a.format ?? undefined,\n }));\n\n const allAttributes = [...(searchState?.attributes ?? []), ...noDuplicateNewAttribute];\n\n searchDispatch({type: SearchActionTypes.SET_ATTRIBUTES, attributes: allAttributes});\n\n const newFields: IField[] = selectedAttributes.reduce((acc, selectedAttribute) => {\n const attribute = allAttributes.find(\n currentAttr =>\n currentAttr.id === selectedAttribute.id && currentAttr.library === selectedAttribute.library,\n );\n\n if (!attribute) {\n return acc;\n }\n\n const key = getFieldsKeyFromAttribute(selectedAttribute);\n\n const label =\n typeof attribute.label === 'string' ? attribute.label : localizedTranslation(attribute.label, lang);\n\n const embeddedData = selectedAttribute.embeddedFieldData && {\n format: selectedAttribute.embeddedFieldData?.format ?? AttributeFormat.text,\n path: selectedAttribute.path,\n };\n\n const field: IField = {\n id: selectedAttribute.id,\n library: selectedAttribute.library,\n label,\n key,\n type: selectedAttribute.type,\n format: attribute.format,\n parentAttributeData: selectedAttribute?.parentAttributeData,\n treeData: selectedAttribute.treeData,\n embeddedData,\n recordLibrary:\n selectedAttribute?.parentAttributeData?.type === AttributeType.tree\n ? selectedAttribute.path.split('.')[1]\n : null,\n };\n\n return [...acc, field];\n }, []);\n\n searchDispatch({\n type: SearchActionTypes.SET_FIELDS,\n fields: newFields,\n });\n\n onClose();\n };\n\n const _handleCancel = () => {\n onClose();\n };\n\n // hack to disable warning \"Droppable: unsupported nested scroll container\" from react-beautiful-dnd,\n // remove \"overflow: auto\" on class \"ant-modal-wrap\"\n const elements: any = document.getElementsByClassName('ant-modal-wrap');\n if (elements.length) {\n elements[0].style.overflow = 'initial';\n }\n\n return (\n <Modal\n open={visible}\n onCancel={_handleCancel}\n title={t('table-columns-selection.header')}\n width=\"70rem\"\n centered\n footer={[\n <Button key=\"Cancel\" onClick={_handleCancel}>\n {t('table-columns-selection.cancel')}\n </Button>,\n <Button type=\"primary\" key=\"Submit\" onClick={handleSubmit}>\n {t('table-columns-selection.submit')}\n </Button>,\n ]}\n >\n <AttributesSelectionList\n library={searchState.library.id}\n selectedAttributes={selectedAttributes}\n onSelectionChange={setSelectedAttributes}\n />\n </Modal>\n );\n}\n\nexport default ChooseTableColumns;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,eAAe,kBAAkB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport ChooseTableColumns from './ChooseTableColumns';\n\nexport default ChooseTableColumns;\n"]}
@@ -79,9 +79,9 @@ const Header = ({ id, children, type }) => {
79
79
  sort: [
80
80
  {
81
81
  field: newSortField,
82
- order
83
- }
84
- ]
82
+ order,
83
+ },
84
+ ],
85
85
  });
86
86
  searchDispatch({ type: SearchActionTypes.SET_LOADING, loading: true });
87
87
  };
@@ -93,13 +93,13 @@ const Header = ({ id, children, type }) => {
93
93
  };
94
94
  const cancelSort = () => {
95
95
  searchDispatch({
96
- type: SearchActionTypes.CANCEL_SORT
96
+ type: SearchActionTypes.CANCEL_SORT,
97
97
  });
98
98
  };
99
99
  const handleHideColumn = (attId) => {
100
100
  searchDispatch({
101
101
  type: SearchActionTypes.SET_FIELDS,
102
- fields: searchState.fields.filter(f => f.id !== attId)
102
+ fields: searchState.fields.filter(f => f.id !== attId),
103
103
  });
104
104
  };
105
105
  const _handleCloseChooseTableColumns = () => setOpenChangeColumns(false);
@@ -111,31 +111,31 @@ const Header = ({ id, children, type }) => {
111
111
  {
112
112
  key: 'sort-ascend',
113
113
  onClick: () => handleAsc(id, type),
114
- label: t('items_list.table.header-cell-menu.sort-ascend')
114
+ label: t('items_list.table.header-cell-menu.sort-ascend'),
115
115
  },
116
116
  {
117
117
  key: 'sort-descend',
118
118
  onClick: () => handleDesc(id, type),
119
- label: t('items_list.table.header-cell-menu.sort-descend')
119
+ label: t('items_list.table.header-cell-menu.sort-descend'),
120
120
  },
121
121
  {
122
122
  key: 'cancel-sort',
123
123
  onClick: cancelSort,
124
- label: t('items_list.table.header-cell-menu.cancel-sort')
124
+ label: t('items_list.table.header-cell-menu.cancel-sort'),
125
125
  },
126
126
  id !== infosCol
127
127
  ? {
128
128
  key: 'hide-column',
129
129
  onClick: () => handleHideColumn(id),
130
- label: t('items_list.table.header-cell-menu.hide-column')
130
+ label: t('items_list.table.header-cell-menu.hide-column'),
131
131
  }
132
132
  : null,
133
133
  {
134
134
  key: 'choose-columns',
135
135
  onClick: () => setOpenChangeColumns(true),
136
- label: t('items_list.table.header-cell-menu.choose-columns')
137
- }
138
- ]
136
+ label: t('items_list.table.header-cell-menu.choose-columns'),
137
+ },
138
+ ],
139
139
  }, children: _jsx(DropdownContent, { children: _jsxs(WrapperArrow, { className: "wrapper-arrow", "data-testid": `wrapper-arrow-${searchState.sort?.[0]?.order}`, "$filterDirection": searchState.sort?.[0]?.order, "$filterActive": searchState.sort?.[0]?.field === id, style: { fontSize: '130%' }, children: [_jsx(CaretUpOutlined, {}), _jsx(CaretDownOutlined, {})] }) }) }), openChangeColumns && (_jsx(ChooseTableColumns, { visible: openChangeColumns, onClose: _handleCloseChooseTableColumns }))] }));
140
140
  };
141
141
  export default Header;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../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nC,KAAK,EAAE,CAAC,CAAC,gDAAgD,CAAC;yBAC7D;wBACD;4BACI,GAAG,EAAE,aAAa;4BAClB,OAAO,EAAE,UAAU;4BACnB,KAAK,EAAE,CAAC,CAAC,+CAA+C,CAAC;yBAC5D;wBACD,EAAE,KAAK,QAAQ;4BACX,CAAC,CAAC;gCACI,GAAG,EAAE,aAAa;gCAClB,OAAO,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;gCACnC,KAAK,EAAE,CAAC,CAAC,+CAA+C,CAAC;6BAC5D;4BACH,CAAC,CAAC,IAAI;wBACV;4BACI,GAAG,EAAE,gBAAgB;4BACrB,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC;4BACzC,KAAK,EAAE,CAAC,CAAC,kDAAkD,CAAC;yBAC/D;qBACJ;iBACJ,YAED,KAAC,eAAe,cACZ,MAAC,YAAY,IACT,SAAS,EAAC,eAAe,iBACZ,iBAAiB,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,sBAC1C,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,mBAC/B,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,EAAE,EAClD,KAAK,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,aAEzB,KAAC,eAAe,KAAG,EACnB,KAAC,iBAAiB,KAAG,IACV,GACD,GACX,EACV,iBAAiB,IAAI,CAClB,KAAC,kBAAkB,IAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,8BAA8B,GAAI,CAC9F,IACK,CACb,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Header/Header.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACt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U;4BACnB,KAAK,EAAE,CAAC,CAAC,+CAA+C,CAAC;yBAC5D;wBACD,EAAE,KAAK,QAAQ;4BACX,CAAC,CAAC;gCACI,GAAG,EAAE,aAAa;gCAClB,OAAO,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;gCACnC,KAAK,EAAE,CAAC,CAAC,+CAA+C,CAAC;6BAC5D;4BACH,CAAC,CAAC,IAAI;wBACV;4BACI,GAAG,EAAE,gBAAgB;4BACrB,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC;4BACzC,KAAK,EAAE,CAAC,CAAC,kDAAkD,CAAC;yBAC/D;qBACJ;iBACJ,YAED,KAAC,eAAe,cACZ,MAAC,YAAY,IACT,SAAS,EAAC,eAAe,iBACZ,iBAAiB,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,sBAC1C,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,mBAC/B,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,EAAE,EAClD,KAAK,EAAE,EAAC,QAAQ,EAAE,MAAM,EAAC,aAEzB,KAAC,eAAe,KAAG,EACnB,KAAC,iBAAiB,KAAG,IACV,GACD,GACX,EACV,iBAAiB,IAAI,CAClB,KAAC,kBAAkB,IAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,8BAA8B,GAAI,CAC9F,IACK,CACb,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,MAAM,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 {CaretDownOutlined, CaretUpOutlined} from '@ant-design/icons';\nimport {Dropdown} from 'antd';\nimport React, {useState} from 'react';\nimport styled from 'styled-components';\nimport {themeVars} from '_ui/antdTheme';\nimport useSearchReducer from '_ui/components/LibraryItemsList/hooks/useSearchReducer';\nimport {SearchActionTypes} from '_ui/components/LibraryItemsList/hooks/useSearchReducer/searchReducer';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {type AttributeType, SortOrder} from '_ui/_gqlTypes';\nimport {infosCol} from '../../constants';\nimport {getSortFieldByAttributeType} from '../../helpers/getSortFieldByAttributeType';\nimport ChooseTableColumns from '../ChooseTableColumns';\n\ninterface IWrapperProps {\n $isHover: boolean;\n $isInfoColumn: boolean;\n}\n\nconst Wrapper = styled.div<IWrapperProps>`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n\n &:hover {\n border-left: ${themeVars.primaryColor} 3px solid;\n border-right: ${themeVars.primaryColor} 3px solid;\n box-shadow: 0px 3px 6px #00000029;\n\n .wrapper-arrow {\n background: ${themeVars.defaultBg};\n box-shadow: 0px 3px 6px #00000029;\n border: 1px solid ${themeVars.borderLightColor};\n }\n }\n`;\n\nconst DropdownContent = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.3rem 0.3rem;\n\n word-break: 'keep-all';\n user-select: 'none';\n`;\n\ninterface IWrapperArrowProps {\n $filterDirection?: SortOrder;\n $filterActive: boolean;\n}\n\nconst WrapperArrow = styled.div<IWrapperArrowProps>`\n border-radius: 50%;\n cursor: pointer;\n border: 1px solid transparent;\n height: 2rem;\n width: 2rem;\n display: grid;\n grid-template-rows: 8px 8px;\n place-items: center;\n align-content: center;\n margin: 0 8px;\n flex-shrink: 0;\n\n & > * {\n transform: scale(0.7);\n }\n\n & > span:first-child {\n opacity: ${({$filterDirection: filterDirection, $filterActive: filterActive}) =>\n filterActive && filterDirection === SortOrder.asc ? 1 : 0.5};\n }\n\n & > span:last-child {\n opacity: ${({$filterDirection: filterDirection, $filterActive: filterActive}) =>\n filterActive && filterDirection === SortOrder.desc ? 1 : 0.5};\n }\n`;\n\nWrapperArrow.displayName = 'WrapperArrow';\n\ninterface IHeaderProps {\n children: React.ReactNode;\n id: string;\n type: AttributeType;\n}\n\nconst Header = ({id, children, type}: IHeaderProps) => {\n const {t} = useSharedTranslation();\n\n const {state: searchState, dispatch: searchDispatch} = useSearchReducer();\n const [openChangeColumns, setOpenChangeColumns] = useState(false);\n const [isHover, setIsHover] = useState<boolean>(false);\n\n const handleSort = (attId: string, order: SortOrder, attType: AttributeType) => {\n const newSortField = getSortFieldByAttributeType(attId, attType);\n\n searchDispatch({\n type: SearchActionTypes.SET_SORT,\n sort: [\n {\n field: newSortField,\n order,\n },\n ],\n });\n\n searchDispatch({type: SearchActionTypes.SET_LOADING, loading: true});\n };\n\n const handleDesc = (attId: string, attType: AttributeType) => {\n handleSort(attId, SortOrder.desc, attType);\n };\n\n const handleAsc = (attId: string, attType: AttributeType) => {\n handleSort(attId, SortOrder.asc, attType);\n };\n\n const cancelSort = () => {\n searchDispatch({\n type: SearchActionTypes.CANCEL_SORT,\n });\n };\n\n const handleHideColumn = (attId: string) => {\n searchDispatch({\n type: SearchActionTypes.SET_FIELDS,\n fields: searchState.fields.filter(f => f.id !== attId),\n });\n };\n\n const _handleCloseChooseTableColumns = () => setOpenChangeColumns(false);\n\n return (\n <Wrapper $isHover={isHover} $isInfoColumn={infosCol === id} id={id}>\n {children}\n <Dropdown\n placement=\"bottom\"\n trigger={['click']}\n menu={{\n style: {transform: 'translateY(-8px)'}, // move overlay to avoid trigger css transition\n onMouseEnter: () => setIsHover(true),\n onMouseLeave: () => setIsHover(false),\n items: [\n {\n key: 'sort-ascend',\n onClick: () => handleAsc(id, type),\n label: t('items_list.table.header-cell-menu.sort-ascend'),\n },\n {\n key: 'sort-descend',\n onClick: () => handleDesc(id, type),\n label: t('items_list.table.header-cell-menu.sort-descend'),\n },\n {\n key: 'cancel-sort',\n onClick: cancelSort,\n label: t('items_list.table.header-cell-menu.cancel-sort'),\n },\n id !== infosCol\n ? {\n key: 'hide-column',\n onClick: () => handleHideColumn(id),\n label: t('items_list.table.header-cell-menu.hide-column'),\n }\n : null,\n {\n key: 'choose-columns',\n onClick: () => setOpenChangeColumns(true),\n label: t('items_list.table.header-cell-menu.choose-columns'),\n },\n ],\n }}\n >\n <DropdownContent>\n <WrapperArrow\n className=\"wrapper-arrow\"\n data-testid={`wrapper-arrow-${searchState.sort?.[0]?.order}`}\n $filterDirection={searchState.sort?.[0]?.order}\n $filterActive={searchState.sort?.[0]?.field === id}\n style={{fontSize: '130%'}}\n >\n <CaretUpOutlined />\n <CaretDownOutlined />\n </WrapperArrow>\n </DropdownContent>\n </Dropdown>\n {openChangeColumns && (\n <ChooseTableColumns visible={openChangeColumns} onClose={_handleCloseChooseTableColumns} />\n )}\n </Wrapper>\n );\n};\n\nexport default Header;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Header/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/LibraryItemsList/LibraryItemsListTable/Header/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe,MAAM,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 Header from './Header';\n\nexport default Header;\n"]}
@@ -120,14 +120,14 @@ const Table = () => {
120
120
  sticky: 'left',
121
121
  width: 35,
122
122
  maxWidth: 35,
123
- minWidth: 30
123
+ minWidth: 30,
124
124
  },
125
125
  {
126
126
  Header: t('items_list.table.infos'),
127
127
  accessor: infosCol,
128
128
  key: infosCol,
129
- sticky: 'left'
130
- }
129
+ sticky: 'left',
130
+ },
131
131
  ];
132
132
  let columnsFromFields = [];
133
133
  if (searchState.attributes.length && searchState.fields.length) {
@@ -136,14 +136,14 @@ const Table = () => {
136
136
  return {
137
137
  Header: (_jsx(Paragraph, { ellipsis: {
138
138
  rows: 2,
139
- tooltip: field.label
139
+ tooltip: field.label,
140
140
  }, style: { marginBottom: 0, textAlign: 'center' }, children: field.label })),
141
141
  accessor: validAccessor,
142
142
  key: field.key,
143
143
  type: field.type,
144
144
  format: field.embeddedData?.format || field.format,
145
145
  embeddedPath: field.embeddedData?.path,
146
- width: _getFieldColumWidth(field)
146
+ width: _getFieldColumWidth(field),
147
147
  };
148
148
  });
149
149
  }
@@ -203,7 +203,7 @@ const Table = () => {
203
203
  };
204
204
  const tableInstance = useTable({
205
205
  columns: tableColumns,
206
- data: tableData
206
+ data: tableData,
207
207
  }, useFlexLayout, useSticky);
208
208
  const { getTableProps, getTableBodyProps, headerGroups, prepareRow, rows, data } = tableInstance;
209
209
  // It means we're still computing columns and data,
@@ -218,7 +218,7 @@ const Table = () => {
218
218
  headerCellProps.style = {
219
219
  ...headerCellProps.style,
220
220
  minWidth: INFOS_COLUMN_WIDTH,
221
- maxWidth: INFOS_COLUMN_WIDTH
221
+ maxWidth: INFOS_COLUMN_WIDTH,
222
222
  };
223
223
  }
224
224
  return (_jsx(HeaderCell, { ...headerCellProps, id: column.id, children: column.key !== selectionColumn && (_jsx(Header, { id: column.key, type: AttributeType.simple, children: column.render('Header') })) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/LibraryItemsListTable/Table.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,SAAS,MAAM,+BAA+B,CAAC;AACtD,OAAO,GAAG,MAAM,YAAY,CAAC;AAC7B,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAc,EAAC,SAAS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,KAAK,QAAQ,EAAE,CAAC;oCACzB,+BAA+B;oCAC/B,eAAe,CAAC,KAAK,GAAG;wCACpB,GAAG,eAAe,CAAC,KAAK;wCACxB,QAAQ,EAAE,kBAAkB;wCAC5B,QAAQ,EAAE,kBAAkB;qCAC/B,CAAC;gCACN,CAAC;gCAED,OAAO,CACH,KAAC,UAAU,OAAK,eAAe,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,YACxC,MAAkC,CAAC,GAAG,KAAK,eAAe,IAAI,CAC5D,KAAC,MAAM,IACH,EAAE,EAAG,MAAkC,CAAC,GAAG,EAC3C,IAAI,EAAE,aAAa,CAAC,MAAM,YAEzB,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,GACnB,CACZ,GACQ,CAChB,CAAC;4BACN,CAAC,CAAC,GACM,CACf,CAAC,GACM,EACZ,KAAC,SAAS,OAAK,iBAAiB,EAAE,EAAE,SAAS,EAAC,aAAa,YACtD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;4BACZ,8BAA8B;4BAC9B,UAAU,CAAC,GAAG,CAAC,CAAC;4BAEhB,OAAO,KAAC,OAAO,IAAc,GAAG,EAAE,GAAG,IAAhB,GAAG,CAAC,EAAE,CAAc,CAAC;wBAC9C,CAAC,CAAC,GACM,IACF,EACd,KAAC,UAAU,cACP,KAAC,0BAA0B,KAAG,GACrB,IACS,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Table.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/LibraryItemsListTable/Table.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,SAAS,MAAM,+BAA+B,CAAC;AACtD,OAAO,GAAG,MAAM,YAAY,CAAC;AAC7B,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAc,EAAC,SA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AE,KAAK,QAAQ,EAAE,CAAC;oCACzB,+BAA+B;oCAC/B,eAAe,CAAC,KAAK,GAAG;wCACpB,GAAG,eAAe,CAAC,KAAK;wCACxB,QAAQ,EAAE,kBAAkB;wCAC5B,QAAQ,EAAE,kBAAkB;qCAC/B,CAAC;gCACN,CAAC;gCAED,OAAO,CACH,KAAC,UAAU,OAAK,eAAe,EAAE,EAAE,EAAE,MAAM,CAAC,EAAE,YACxC,MAAkC,CAAC,GAAG,KAAK,eAAe,IAAI,CAC5D,KAAC,MAAM,IACH,EAAE,EAAG,MAAkC,CAAC,GAAG,EAC3C,IAAI,EAAE,aAAa,CAAC,MAAM,YAEzB,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,GACnB,CACZ,GACQ,CAChB,CAAC;4BACN,CAAC,CAAC,GACM,CACf,CAAC,GACM,EACZ,KAAC,SAAS,OAAK,iBAAiB,EAAE,EAAE,SAAS,EAAC,aAAa,YACtD,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;4BACZ,8BAA8B;4BAC9B,UAAU,CAAC,GAAG,CAAC,CAAC;4BAEhB,OAAO,KAAC,OAAO,IAAc,GAAG,EAAE,GAAG,IAAhB,GAAG,CAAC,EAAE,CAAc,CAAC;wBAC9C,CAAC,CAAC,GACM,IACF,EACd,KAAC,UAAU,cACP,KAAC,0BAA0B,KAAG,GACrB,IACS,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,KAAK,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 {isTypeStandard} from '@leav/utils';\nimport Paragraph from 'antd/lib/typography/Paragraph';\nimport get from 'lodash/get';\nimport isEqual from 'lodash/isEqual';\nimport React, {useEffect, useState} from 'react';\nimport {type ColumnWithLooseAccessor, useFlexLayout, useTable, type UseTableColumnOptions} from 'react-table';\nimport {useSticky} from 'react-table-sticky';\nimport styled from 'styled-components';\nimport {themeVars} from '_ui/antdTheme';\nimport {Loading} from '_ui/components';\nimport useSearchReducer from '_ui/components/LibraryItemsList/hooks/useSearchReducer';\nimport useLang from '_ui/hooks/useLang';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {type IField, type ITableCell, type ITableRow} from '_ui/types/search';\nimport {AttributeFormat, AttributeType} from '_ui/_gqlTypes';\nimport {infosCol, INFOS_COLUMN_WIDTH, selectionColumn} from '../constants';\nimport LibraryItemsListPagination from '../LibraryItemsListPagination';\nimport BodyRow from './BodyRow';\nimport Header from './Header';\nimport {EditRecordModalProvider} from '_ui/contexts/EditRecordModalContext';\n\ninterface ITableColumn extends UseTableColumnOptions<ITableRow> {\n accessor: string | ((row, rowIndex) => string);\n key: string;\n sticky?: 'left' | 'right';\n type?: AttributeType;\n format?: AttributeFormat;\n embeddedPath?: string;\n}\n\ninterface ICustomTableProps {\n $scrollHorizontalActive: boolean;\n}\n\nenum FieldColumnWidth {\n TINY = 125,\n SMALL = 150,\n MEDIUM = 250,\n LARGE = 300,\n}\n\nconst CustomTable = styled.div<ICustomTableProps>`\n grid-area: data;\n height: 100%;\n min-width: 0px;\n width: 100%;\n border: 1px solid ${themeVars.borderLightColor};\n overflow-y: scroll;\n\n &.sticky {\n overflow: scroll;\n\n .header {\n position: sticky;\n top: 0;\n z-index: 1;\n }\n\n .body {\n position: relative;\n z-index: 0;\n }\n\n [data-sticky-td] {\n position: sticky;\n }\n }\n`;\n\nCustomTable.displayName = 'CustomTable';\n\nconst TableHead = styled.div`\n background: ${themeVars.headerBg};\n width: fit-content;\n min-width: 100%;\n`;\n\nconst HeaderRow = styled.div`\n margin-left: 1px; // For better alignment with rows\n`;\n\nconst HeaderCell = styled.div<{id: string}>`\n background: ${themeVars.headerBg};\n border-right: 1px solid ${themeVars.borderLightColor};\n min-width: 35px;\n max-width: ${p => (p.id === selectionColumn ? '35px' : 'auto')};\n\n &:last-child {\n border-right: none;\n }\n`;\n\nconst TableBody = styled.div`\n width: fit-content;\n min-width: 100%;\n`;\n\nconst Pagination = styled.div`\n align-self: start;\n grid-area: pagination;\n display: flex;\n justify-content: center;\n align-items: center;\n border-top: 1px solid ${themeVars.borderLightColor};\n padding-top: 8px;\n`;\n\nconst _getFieldColumWidth = (field: IField): FieldColumnWidth => {\n if (!isTypeStandard(field.type) || field.multipleValues) {\n return FieldColumnWidth.LARGE;\n }\n\n switch (field.format) {\n case AttributeFormat.boolean:\n return FieldColumnWidth.TINY;\n case AttributeFormat.numeric:\n case AttributeFormat.date:\n return FieldColumnWidth.SMALL;\n case AttributeFormat.date_range:\n return FieldColumnWidth.LARGE;\n default:\n return FieldColumnWidth.MEDIUM;\n }\n};\n\nconst Table = () => {\n const {t} = useSharedTranslation();\n const {lang} = useLang();\n\n const {state: searchState} = useSearchReducer();\n const [tableColumns, setTableColumns] = useState<ITableColumn[]>([]);\n const [tableData, setTableData] = useState<ITableRow[]>([]);\n const [scrollHorizontalActive, setScrollHorizontalActive] = useState(false);\n\n //columns\n useEffect(() => {\n const startColumns: ITableColumn[] = [\n {\n Header: '',\n accessor: selectionColumn,\n key: selectionColumn,\n sticky: 'left',\n width: 35,\n maxWidth: 35,\n minWidth: 30,\n },\n {\n Header: t('items_list.table.infos'),\n accessor: infosCol,\n key: infosCol,\n sticky: 'left',\n },\n ];\n\n let columnsFromFields: ITableColumn[] = [];\n if (searchState.attributes.length && searchState.fields.length) {\n columnsFromFields = searchState.fields.map(field => {\n const validAccessor = field.key.replaceAll('.', '');\n\n return {\n Header: (\n <Paragraph\n ellipsis={{\n rows: 2,\n tooltip: field.label,\n }}\n style={{marginBottom: 0, textAlign: 'center'}}\n >\n {field.label}\n </Paragraph>\n ),\n accessor: validAccessor,\n key: field.key,\n type: field.type,\n format: field.embeddedData?.format || field.format,\n embeddedPath: field.embeddedData?.path,\n width: _getFieldColumWidth(field),\n };\n });\n }\n\n const columns = [...startColumns, ...columnsFromFields];\n\n setTableColumns(currentColumns => (!isEqual(currentColumns, columns) ? columns : currentColumns));\n }, [searchState.fields, searchState.attributes, t]);\n\n // data\n useEffect(() => {\n if (!tableColumns.length) {\n return;\n }\n\n const data: ITableRow[] = searchState.records.reduce((allData, record, index) => {\n if (index < searchState.pagination) {\n const tableItem: ITableRow = tableColumns.reduce(\n (acc, column) => {\n // handle selection and infos column\n if (!column.type) {\n if (column.accessor === infosCol) {\n const value = record.whoAmI;\n\n const cellData: ITableCell = {value, type: column.type};\n acc[column.accessor] = cellData;\n\n return acc;\n }\n }\n\n const key = column.key;\n const value = (record.fields?.[key] ?? []).map(v => {\n if (column.embeddedPath && column.embeddedPath.length) {\n const pathWithoutRoot = column.embeddedPath.split('.').slice(1).join('.');\n try {\n const content = JSON.parse(record.fields[key]);\n return get(content, pathWithoutRoot);\n } catch (e) {\n return 'error';\n }\n }\n\n return v;\n });\n\n acc[column.accessor as string] = {value, type: column.type, format: column.format};\n\n return acc;\n },\n {[selectionColumn]: null, record: record.whoAmI},\n );\n\n return [...allData, tableItem];\n }\n return allData;\n }, []);\n\n if (data) {\n setTableData([...data]);\n }\n }, [searchState.records, searchState.pagination, tableColumns, lang]);\n\n const handleScroll = (e: React.UIEvent<HTMLDivElement, UIEvent>) => {\n const scrollValue = (e.target as HTMLDivElement).scrollLeft;\n\n if (scrollValue > 0) {\n setScrollHorizontalActive(true);\n } else {\n setScrollHorizontalActive(false);\n }\n };\n\n const tableInstance = useTable<ITableRow>(\n {\n columns: tableColumns as Array<ColumnWithLooseAccessor<ITableRow>>,\n data: tableData,\n },\n useFlexLayout,\n useSticky,\n );\n\n const {getTableProps, getTableBodyProps, headerGroups, prepareRow, rows, data} = tableInstance;\n\n // It means we're still computing columns and data,\n // so we don't want to render the table to avoid a first render with empty cells\n if (searchState.records.length && !data.length) {\n return <Loading />;\n }\n\n return (\n <EditRecordModalProvider>\n <CustomTable\n {...getTableProps()}\n className=\"table sticky\"\n data-testid=\"table\"\n onScroll={handleScroll}\n $scrollHorizontalActive={scrollHorizontalActive}\n >\n <TableHead className=\"header sticky\">\n {headerGroups.map(headerGroup => (\n <HeaderRow {...headerGroup.getHeaderGroupProps()}>\n {headerGroup.headers.map(column => {\n const headerCellProps = column.getHeaderProps();\n\n if (column.id === infosCol) {\n // define info column row style\n headerCellProps.style = {\n ...headerCellProps.style,\n minWidth: INFOS_COLUMN_WIDTH,\n maxWidth: INFOS_COLUMN_WIDTH,\n };\n }\n\n return (\n <HeaderCell {...headerCellProps} id={column.id}>\n {(column as unknown as ITableColumn).key !== selectionColumn && (\n <Header\n id={(column as unknown as ITableColumn).key}\n type={AttributeType.simple}\n >\n {column.render('Header')}\n </Header>\n )}\n </HeaderCell>\n );\n })}\n </HeaderRow>\n ))}\n </TableHead>\n <TableBody {...getTableBodyProps()} className=\"body sticky\">\n {rows.map(row => {\n // Prepare the row for display\n prepareRow(row);\n\n return <BodyRow key={row.id} row={row} />;\n })}\n </TableBody>\n </CustomTable>\n <Pagination>\n <LibraryItemsListPagination />\n </Pagination>\n </EditRecordModalProvider>\n );\n};\n\nexport default Table;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/LibraryItemsListTable/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/LibraryItemsListTable/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,eAAe,KAAK,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 Table from './Table';\n\nexport default Table;\n"]}
@@ -20,7 +20,7 @@ const MenuItemList = ({ refetch, library, notifyNewCreation }) => {
20
20
  const { t } = useSharedTranslation();
21
21
  const { state: searchState } = useSearchReducer();
22
22
  const canCreateRecord = library.permissions.create_record;
23
- const selectionMode = searchState.mode === SearchMode.select;
23
+ const selectionMode = searchState.mode === SearchMode.SELECT;
24
24
  return (_jsxs(Wrapper, { children: [library?.id && _jsx(MenuView, { library: library }), _jsxs(Space, { size: "large", children: [_jsx(MenuSelection, {}), _jsx(SearchItems, {})] }), _jsxs(Space, { size: "large", children: [!selectionMode && canCreateRecord && (_jsx(CreateNewRecordButton, { label: t('items_list.new'), notifyNewCreation: notifyNewCreation, libraryBehavior: library.behavior, libraryId: library.id, valuesVersions: searchState.valuesVersions })), _jsxs(Space, { size: "small", children: [_jsx(DisplayOptions, {}), _jsx(Button, { icon: _jsx(RedoOutlined, {}), onClick: () => refetch && refetch() })] })] })] }));
25
25
  };
26
26
  export default MenuItemList;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItemList.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/MenuItemList/MenuItemList.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,MAAM,CAAC;AAEnC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,gBAAgB,MAAM,wDAAwD,CAAC;AACtF,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,QAAQ,MAAM,aAAa,CAAC;AACnC,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAC,qBAAqB,EAAC,MAAM,gDAAgD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AC,OAAO,aACd,CAAC,aAAa,IAAI,eAAe,IAAI,CAClC,KAAC,qBAAqB,IAClB,KAAK,EAAE,CAAC,CAAC,gBAAgB,CAAC,EAC1B,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,OAAO,CAAC,QAAQ,EACjC,SAAS,EAAE,OAAO,CAAC,EAAE,EACrB,cAAc,EAAE,WAAW,CAAC,cAAc,GAC5C,CACL,EAED,MAAC,KAAK,IAAC,IAAI,EAAC,OAAO,aACf,KAAC,cAAc,KAAG,EAClB,KAAC,MAAM,IAAC,IAAI,EAAE,KAAC,YAAY,KAAG,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,IAAI,OAAO,EAAE,GAAI,IACnE,IACJ,IACF,CACb,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,YAAY,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 {RedoOutlined} from '@ant-design/icons';\nimport {Button, Space} from 'antd';\nimport {type FunctionComponent} from 'react';\nimport styled from 'styled-components';\nimport useSearchReducer from '_ui/components/LibraryItemsList/hooks/useSearchReducer';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {SearchMode} from '_ui/types/search';\nimport {type ILibraryDetailExtended} from '_ui/_queries/libraries/getLibraryDetailExtendQuery';\nimport DisplayOptions from '../DisplayOptions';\nimport MenuSelection from '../MenuSelection';\nimport MenuView from '../MenuView';\nimport SearchItems from '../SearchItems';\nimport {CreateNewRecordButton} from '../CreateNewRecordButton/CreateNewRecordButton';\n\ninterface IMenuItemListProps {\n library: ILibraryDetailExtended;\n refetch?: () => void;\n notifyNewCreation: () => void;\n}\n\nconst Wrapper = styled(Space)`\n width: 100%;\n`;\n\nconst MenuItemList: FunctionComponent<IMenuItemListProps> = ({refetch, library, notifyNewCreation}) => {\n const {t} = useSharedTranslation();\n const {state: searchState} = useSearchReducer();\n\n const canCreateRecord = library.permissions.create_record;\n\n const selectionMode = searchState.mode === SearchMode.SELECT;\n\n return (\n <Wrapper>\n {library?.id && <MenuView library={library} />}\n\n <Space size=\"large\">\n <MenuSelection />\n <SearchItems />\n </Space>\n\n <Space size=\"large\">\n {!selectionMode && canCreateRecord && (\n <CreateNewRecordButton\n label={t('items_list.new')}\n notifyNewCreation={notifyNewCreation}\n libraryBehavior={library.behavior}\n libraryId={library.id}\n valuesVersions={searchState.valuesVersions}\n />\n )}\n\n <Space size=\"small\">\n <DisplayOptions />\n <Button icon={<RedoOutlined />} onClick={() => refetch && refetch()} />\n </Space>\n </Space>\n </Wrapper>\n );\n};\n\nexport default MenuItemList;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/MenuItemList/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/LibraryItemsList/MenuItemList/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,eAAe,YAAY,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 MenuItemList from './MenuItemList';\n\nexport default MenuItemList;\n"]}
@@ -2,11 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { DeleteOutlined, DownOutlined, ExportOutlined, PictureOutlined } from '@ant-design/icons';
5
+ import { DeleteOutlined, DownOutlined, PictureOutlined } from '@ant-design/icons';
6
6
  import { Button, Dropdown } from 'antd';
7
7
  import { useState } from 'react';
8
8
  import { DeactivateRecordsModal } from '../../../../components/DeactivateRecordsModal';
9
- import { ExportModal } from '../../../../components/ExportModal';
10
9
  import { TriggerPreviewsGenerationModal } from '../../../../components/TriggerPreviewsGenerationModal';
11
10
  import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
12
11
  import { LibraryBehavior } from '../../../../_gqlTypes';
@@ -18,18 +17,6 @@ function ActionsMenu() {
18
17
  const selectedIds = searchState.selection.selected.map(r => r.id);
19
18
  const filters = searchState.filters;
20
19
  const actions = [
21
- {
22
- key: 'export',
23
- icon: _jsx(ExportOutlined, { rotate: 270 }),
24
- title: t('export.title'),
25
- modalComp: ExportModal,
26
- modalProps: {
27
- library: searchState.library.id,
28
- selection: searchState.selection,
29
- filters: searchState.filters
30
- },
31
- display: true
32
- },
33
20
  {
34
21
  key: 'deactivate',
35
22
  icon: _jsx(DeleteOutlined, {}),
@@ -38,9 +25,9 @@ function ActionsMenu() {
38
25
  modalProps: {
39
26
  library: searchState.library.id,
40
27
  selection: searchState.selection,
41
- filters: searchState.filters
28
+ filters: searchState.filters,
42
29
  },
43
- display: true
30
+ display: true,
44
31
  },
45
32
  {
46
33
  key: 'generate_previews',
@@ -51,9 +38,9 @@ function ActionsMenu() {
51
38
  modalProps: {
52
39
  libraryId: searchState.library.id,
53
40
  recordIds: selectedIds,
54
- filters
55
- }
56
- }
41
+ filters,
42
+ },
43
+ },
57
44
  ].filter(a => a.display);
58
45
  const _handleClick = (actionKey) => () => {
59
46
  setActiveAction(actionKey);
@@ -65,8 +52,8 @@ function ActionsMenu() {
65
52
  key: a.key,
66
53
  title: a.title,
67
54
  label: a.title,
68
- onClick: _handleClick(a.key)
69
- }))
55
+ onClick: _handleClick(a.key),
56
+ })),
70
57
  }, children: _jsxs(Button, { children: [t('menu-selection.actions'), " ", _jsx(DownOutlined, {})] }) }), actions
71
58
  .filter(a => activeAction === a.key)
72
59
  .map(a => (_jsx(a.modalComp, { open: activeAction === a.key, onClose: _handleCloseModal, ...a.modalProps }, a.key)))] }));