@leav/ui 1.4.1-e0350ae1 → 1.4.1-e9a7d5f9

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 (1094) 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 +0 -5
  38. package/dist/_gqlTypes/index.js +2 -8
  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 +10 -10
  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 +29 -29
  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 +1 -1
  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 +1 -1
  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 +3 -3
  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 +7 -7
  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 +9 -9
  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 +2 -2
  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 +1 -1
  290. package/dist/components/Explorer/Explorer.js +19 -19
  291. package/dist/components/Explorer/Explorer.js.map +1 -1
  292. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
  293. package/dist/components/Explorer/ExplorerTitle.js +3 -3
  294. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  295. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  296. package/dist/components/Explorer/IdCard.js.map +1 -1
  297. package/dist/components/Explorer/TableCell.js +11 -11
  298. package/dist/components/Explorer/TableCell.js.map +1 -1
  299. package/dist/components/Explorer/TableNameCell.js +4 -4
  300. package/dist/components/Explorer/TableNameCell.js.map +1 -1
  301. package/dist/components/Explorer/TableTagGroup.js.map +1 -1
  302. package/dist/components/Explorer/_constants.js +2 -2
  303. package/dist/components/Explorer/_constants.js.map +1 -1
  304. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
  305. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
  306. package/dist/components/Explorer/_queries/useExplorerData.d.ts +1 -1
  307. package/dist/components/Explorer/_queries/useExplorerData.js +19 -19
  308. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  309. package/dist/components/Explorer/_types.js.map +1 -1
  310. package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
  311. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +28 -28
  312. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  313. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
  314. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
  315. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  316. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
  317. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +13 -13
  318. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  319. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +1 -1
  320. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +12 -12
  321. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  322. package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +1 -1
  323. package/dist/components/Explorer/actions-mass/useExportMassAction.js +20 -15
  324. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
  325. package/dist/components/Explorer/actions-mass/useMassActions.d.ts +1 -1
  326. package/dist/components/Explorer/actions-mass/useMassActions.js +13 -13
  327. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  328. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
  329. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
  330. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  331. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
  332. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
  333. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  334. package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
  335. package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
  336. package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
  337. package/dist/components/Explorer/conditionsHelper.js +1 -1
  338. package/dist/components/Explorer/conditionsHelper.js.map +1 -1
  339. package/dist/components/Explorer/index.js.map +1 -1
  340. package/dist/components/Explorer/link-item/LinkModal.js +11 -11
  341. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  342. package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
  343. package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
  344. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
  345. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
  346. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
  347. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
  348. package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
  349. package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
  350. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
  351. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
  352. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
  353. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  354. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
  355. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
  356. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
  357. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
  358. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
  359. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +13 -13
  360. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  361. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
  362. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  363. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
  364. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
  365. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  366. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
  367. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
  368. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
  369. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
  370. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
  371. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
  372. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  373. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
  374. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  375. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
  376. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
  377. package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
  378. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -6
  379. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  380. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +7 -7
  381. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  382. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
  383. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
  384. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
  385. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
  386. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
  387. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  388. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +6 -6
  389. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  390. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +8 -8
  391. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
  392. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
  393. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  394. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
  395. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
  396. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
  397. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
  398. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
  399. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +4 -4
  400. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  401. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -23
  402. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  403. package/dist/components/Explorer/useColumnWidth.js +2 -2
  404. package/dist/components/Explorer/useColumnWidth.js.map +1 -1
  405. package/dist/components/Explorer/useLoadView.js +11 -11
  406. package/dist/components/Explorer/useLoadView.js.map +1 -1
  407. package/dist/components/Explorer/usePagination.js +3 -3
  408. package/dist/components/Explorer/usePagination.js.map +1 -1
  409. package/dist/components/Explorer/useSearchInput.d.ts +1 -1
  410. package/dist/components/Explorer/useSearchInput.js +3 -3
  411. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  412. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
  413. package/dist/components/Explorer/useViewSettingsReducer.js +23 -23
  414. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  415. package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
  416. package/dist/components/FieldsGroup/index.js.map +1 -1
  417. package/dist/components/Filters/FiltersProvider.js.map +1 -1
  418. package/dist/components/Filters/_types.js +1 -1
  419. package/dist/components/Filters/_types.js.map +1 -1
  420. package/dist/components/Filters/conditionsHelper.js +1 -1
  421. package/dist/components/Filters/conditionsHelper.js.map +1 -1
  422. package/dist/components/Filters/context/filtersContext.js +1 -1
  423. package/dist/components/Filters/context/filtersContext.js.map +1 -1
  424. package/dist/components/Filters/context/filtersInitialState.js +1 -1
  425. package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
  426. package/dist/components/Filters/context/filtersReducer.js +16 -16
  427. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  428. package/dist/components/Filters/context/useFiltersReducer.d.ts +1 -1
  429. package/dist/components/Filters/context/useFiltersReducer.js +9 -9
  430. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
  431. package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
  432. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  433. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +6 -6
  434. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
  435. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +1 -1
  436. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
  437. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +3 -3
  438. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
  439. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -1
  440. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
  441. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js +1 -1
  442. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
  443. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js +1 -1
  444. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
  445. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +5 -5
  446. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
  447. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +3 -3
  448. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  449. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +7 -7
  450. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
  451. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +7 -7
  452. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
  453. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js +1 -1
  454. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
  455. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +1 -1
  456. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  457. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +2 -2
  458. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
  459. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
  460. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +14 -14
  461. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  462. package/dist/components/Filters/index.js.map +1 -1
  463. package/dist/components/Filters/prepareFiltersForRequest.js +22 -22
  464. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  465. package/dist/components/Filters/useFilters.js +4 -4
  466. package/dist/components/Filters/useFilters.js.map +1 -1
  467. package/dist/components/Filters/useFiltersContext.js.map +1 -1
  468. package/dist/components/Filters/useTransformFilters.d.ts +1 -1
  469. package/dist/components/Filters/useTransformFilters.js +17 -17
  470. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  471. package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
  472. package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
  473. package/dist/components/FloatingMenu/_types.js.map +1 -1
  474. package/dist/components/FloatingMenu/index.js.map +1 -1
  475. package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
  476. package/dist/components/ImageLoading/index.js.map +1 -1
  477. package/dist/components/ImageMissing/ImageMissing.js +1 -1
  478. package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
  479. package/dist/components/ImageMissing/index.js.map +1 -1
  480. package/dist/components/ImportModal/ImportModal.js +16 -16
  481. package/dist/components/ImportModal/ImportModal.js.map +1 -1
  482. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
  483. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
  484. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
  485. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
  486. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
  487. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  488. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
  489. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
  490. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  491. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
  492. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
  493. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
  494. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  495. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
  496. package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
  497. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
  498. package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
  499. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
  500. package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
  501. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
  502. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  503. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
  504. package/dist/components/ImportModal/_types.js.map +1 -1
  505. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
  506. package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
  507. package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
  508. package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
  509. package/dist/components/ImportModal/importReducer/index.js.map +1 -1
  510. package/dist/components/ImportModal/index.js.map +1 -1
  511. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
  512. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  513. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
  514. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
  515. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
  516. package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
  517. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
  518. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
  519. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
  520. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +22 -22
  521. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  522. package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
  523. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
  524. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  525. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
  526. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
  527. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
  528. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
  529. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
  530. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
  531. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
  532. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
  533. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
  534. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
  535. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
  536. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
  537. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
  538. package/dist/components/LibraryItemsList/FiltersPanel/Filter/filterUtils.js.map +1 -1
  539. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
  540. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
  541. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
  542. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
  543. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
  544. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
  545. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
  546. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
  547. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
  548. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
  549. package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
  550. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
  551. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
  552. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
  553. package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
  554. package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
  555. package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
  556. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
  557. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  558. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
  559. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
  560. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
  561. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
  562. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
  563. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
  564. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
  565. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
  566. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
  567. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
  568. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
  569. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
  570. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
  571. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
  572. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
  573. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
  574. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
  575. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
  576. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
  577. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
  578. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
  579. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
  580. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
  581. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
  582. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
  583. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
  584. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
  585. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
  586. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.js.map +1 -1
  587. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
  588. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
  589. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
  590. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
  591. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
  592. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  593. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
  594. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
  595. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
  596. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
  597. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
  598. package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
  599. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
  600. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
  601. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
  602. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +11 -11
  603. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
  604. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
  605. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +9 -9
  606. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
  607. package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
  608. package/dist/components/LibraryItemsList/MenuView/MenuView.js +20 -20
  609. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  610. package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
  611. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
  612. package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
  613. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
  614. package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
  615. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +5 -5
  616. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
  617. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
  618. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
  619. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
  620. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
  621. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
  622. package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
  623. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
  624. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
  625. package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
  626. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
  627. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  628. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
  629. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
  630. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  631. package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
  632. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
  633. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
  634. package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
  635. package/dist/components/LibraryItemsList/constants.js +1 -1
  636. package/dist/components/LibraryItemsList/constants.js.map +1 -1
  637. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
  638. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
  639. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
  640. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
  641. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
  642. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
  643. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  644. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
  645. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
  646. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
  647. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  648. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js.map +1 -1
  649. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
  650. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
  651. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
  652. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  653. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
  654. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
  655. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
  656. package/dist/components/LibraryItemsList/index.js.map +1 -1
  657. package/dist/components/LibraryItemsList/manageItems.js +1 -1
  658. package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
  659. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
  660. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
  661. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
  662. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
  663. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
  664. package/dist/components/LibraryItemsList/shared/sharedUtils.js.map +1 -1
  665. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
  666. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +13 -13
  667. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  668. package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
  669. package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
  670. package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
  671. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  672. package/dist/components/LibraryPicker/index.js.map +1 -1
  673. package/dist/components/List/List.js +1 -1
  674. package/dist/components/List/List.js.map +1 -1
  675. package/dist/components/List/index.js.map +1 -1
  676. package/dist/components/Loading/Loading.js.map +1 -1
  677. package/dist/components/Loading/index.js.map +1 -1
  678. package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -1
  679. package/dist/components/Notifications/hooks/useNotificationSubscription.js +2 -2
  680. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
  681. package/dist/components/Notifications/index.js.map +1 -1
  682. package/dist/components/RecordCard/RecordCard.d.ts +1 -1
  683. package/dist/components/RecordCard/RecordCard.js +3 -3
  684. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  685. package/dist/components/RecordCard/_types.js.map +1 -1
  686. package/dist/components/RecordCard/index.js.map +1 -1
  687. package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
  688. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  689. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
  690. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
  691. package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
  692. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
  693. package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
  694. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
  695. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
  696. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
  697. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
  698. package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
  699. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
  700. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  701. package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
  702. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  703. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
  704. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  705. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  706. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
  707. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  708. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
  709. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -1
  710. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
  711. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
  712. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
  713. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  714. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
  715. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
  716. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
  717. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
  718. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
  719. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
  720. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
  721. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
  722. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
  723. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
  724. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
  725. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
  726. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
  727. package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
  728. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
  729. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
  730. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
  731. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
  732. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
  733. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
  734. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
  735. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
  736. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
  737. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
  738. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
  739. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
  740. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
  742. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
  743. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
  744. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
  745. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
  746. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
  748. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
  749. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
  750. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  751. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
  752. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
  753. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
  754. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
  755. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
  756. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  757. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
  758. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
  759. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
  760. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  761. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
  762. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
  763. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  764. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
  765. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
  766. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  767. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
  768. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -6
  769. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  770. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
  771. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -1
  772. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
  773. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
  774. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
  775. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
  776. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +15 -15
  777. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
  778. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
  779. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +8 -8
  780. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  781. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
  782. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  783. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -1
  784. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  785. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -1
  786. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  787. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +1 -1
  788. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  789. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -1
  790. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  791. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -1
  792. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  793. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -3
  794. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  795. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
  796. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  797. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
  798. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
  799. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  800. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
  801. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  802. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
  803. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
  804. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
  805. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
  806. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
  807. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
  808. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
  809. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  810. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
  811. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +7 -7
  812. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  813. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
  814. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
  815. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  816. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
  817. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  818. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
  819. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
  820. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  821. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
  822. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
  823. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  824. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
  825. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
  826. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
  827. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
  828. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  829. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
  830. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
  831. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
  832. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
  833. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  834. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
  835. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  836. package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
  837. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
  838. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
  839. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
  840. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +17 -4
  841. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  842. package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
  843. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
  844. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
  845. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
  846. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
  847. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
  848. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  849. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
  850. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  851. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  852. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
  853. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
  854. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
  855. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
  856. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
  857. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  858. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
  859. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
  860. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  861. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
  862. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
  863. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  864. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
  865. package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
  866. package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
  867. package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
  868. package/dist/components/RecordEdition/_types.js.map +1 -1
  869. package/dist/components/RecordEdition/constants.js.map +1 -1
  870. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
  871. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  872. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
  873. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
  874. package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
  875. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
  876. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
  877. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
  878. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  879. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  880. package/dist/components/RecordEdition/index.js.map +1 -1
  881. package/dist/components/RecordHistory/RecordHistory.js +2 -2
  882. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  883. package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
  884. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  885. package/dist/components/RecordHistory/_types.js.map +1 -1
  886. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
  887. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
  888. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  889. package/dist/components/RecordHistory/index.js.map +1 -1
  890. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
  891. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
  892. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
  893. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
  894. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
  895. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
  896. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
  897. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
  898. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
  899. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
  900. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
  901. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
  902. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
  903. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
  904. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
  905. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
  906. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
  907. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
  908. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
  909. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
  910. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
  911. package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
  912. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
  913. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
  914. package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
  915. package/dist/components/SearchModal/SearchModal.js +1 -1
  916. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  917. package/dist/components/SearchModal/index.js.map +1 -1
  918. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
  919. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  920. package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
  921. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
  922. package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
  923. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  924. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
  925. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +11 -11
  926. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  927. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
  928. package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
  929. package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
  930. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  931. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  932. package/dist/components/SelectTreeNode/index.js.map +1 -1
  933. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
  934. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
  935. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
  936. package/dist/components/ShowMore/ShowMore.js.map +1 -1
  937. package/dist/components/ShowMore/index.js.map +1 -1
  938. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
  939. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  940. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  941. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
  942. package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
  943. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
  944. package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
  945. package/dist/components/SubmitStateNotifier/index.js.map +1 -1
  946. package/dist/components/TreePicker/TreePicker.d.ts +1 -1
  947. package/dist/components/TreePicker/TreePicker.js +1 -1
  948. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  949. package/dist/components/TreePicker/TreesList/TreesList.js +12 -12
  950. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  951. package/dist/components/TreePicker/TreesList/index.js.map +1 -1
  952. package/dist/components/TreePicker/index.js.map +1 -1
  953. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
  954. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
  955. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  956. package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
  957. package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
  958. package/dist/components/UploadFiles/UploadFiles.js +25 -25
  959. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  960. package/dist/components/UploadFiles/index.js.map +1 -1
  961. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
  962. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
  963. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  964. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  965. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
  966. package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
  967. package/dist/components/index.d.ts +0 -1
  968. package/dist/components/index.js +0 -1
  969. package/dist/components/index.js.map +1 -1
  970. package/dist/constants.d.ts +2 -0
  971. package/dist/constants.js +4 -2
  972. package/dist/constants.js.map +1 -1
  973. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
  974. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
  975. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
  976. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
  977. package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
  978. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
  979. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  980. package/dist/contexts/LangContext/index.js.map +1 -1
  981. package/dist/contexts/LangContext/types.js.map +1 -1
  982. package/dist/contexts/UserContext/UserContext.js.map +1 -1
  983. package/dist/contexts/UserContext/index.js.map +1 -1
  984. package/dist/contexts/UserContext/types.js.map +1 -1
  985. package/dist/contexts/index.js.map +1 -1
  986. package/dist/gqlFragments/index.js.map +1 -1
  987. package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
  988. package/dist/gqlPossibleTypes/index.js +1 -1
  989. package/dist/gqlPossibleTypes/index.js.map +1 -1
  990. package/dist/hooks/index.d.ts +1 -0
  991. package/dist/hooks/index.js +1 -0
  992. package/dist/hooks/index.js.map +1 -1
  993. package/dist/hooks/useAntdLocale/index.js.map +1 -1
  994. package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
  995. package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
  996. package/dist/hooks/useAppLang/index.js.map +1 -1
  997. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  998. package/dist/hooks/useAuth/index.js.map +1 -1
  999. package/dist/hooks/useAuth/useAuth.js +1 -1
  1000. package/dist/hooks/useAuth/useAuth.js.map +1 -1
  1001. package/dist/hooks/useCanEditRecord/index.js.map +1 -1
  1002. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
  1003. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  1004. package/dist/hooks/useDebouncedValue/index.js.map +1 -1
  1005. package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
  1006. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
  1007. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
  1008. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
  1009. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
  1010. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
  1011. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
  1012. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  1013. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
  1014. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
  1015. package/dist/hooks/useGetRecordForm/index.js.map +1 -1
  1016. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
  1017. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
  1018. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  1019. package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
  1020. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
  1021. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
  1022. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
  1023. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  1024. package/dist/hooks/useIFrameMessenger/messageHandlers.js +4 -4
  1025. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  1026. package/dist/hooks/useIFrameMessenger/schema.d.ts +15 -3
  1027. package/dist/hooks/useIFrameMessenger/schema.js +15 -16
  1028. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  1029. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  1030. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
  1031. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  1032. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
  1033. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
  1034. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
  1035. package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
  1036. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  1037. package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
  1038. package/dist/hooks/useLang/index.js.map +1 -1
  1039. package/dist/hooks/useLang/useLang.js.map +1 -1
  1040. package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
  1041. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
  1042. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
  1043. package/dist/hooks/useLocalStorage/index.js.map +1 -1
  1044. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
  1045. package/dist/hooks/useLoginChecker/index.js.map +1 -1
  1046. package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
  1047. package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
  1048. package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
  1049. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
  1050. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
  1051. package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
  1052. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  1053. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  1054. package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
  1055. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
  1056. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  1057. package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
  1058. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  1059. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
  1060. package/dist/hooks/useSharedTranslation/index.js.map +1 -1
  1061. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
  1062. package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
  1063. package/dist/hooks/useUser/index.js.map +1 -1
  1064. package/dist/hooks/useUser/useUser.js.map +1 -1
  1065. package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
  1066. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
  1067. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
  1068. package/dist/index.js.map +1 -1
  1069. package/dist/locales/en/shared.json +4 -1
  1070. package/dist/locales/fr/shared.json +4 -1
  1071. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
  1072. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
  1073. package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
  1074. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
  1075. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
  1076. package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
  1077. package/dist/testing/index.js.map +1 -1
  1078. package/dist/types/attributes.js.map +1 -1
  1079. package/dist/types/index.js.map +1 -1
  1080. package/dist/types/misc.js.map +1 -1
  1081. package/dist/types/records.js.map +1 -1
  1082. package/dist/types/scalars.js.map +1 -1
  1083. package/dist/types/search.js +2 -2
  1084. package/dist/types/search.js.map +1 -1
  1085. package/dist/types/trees.js.map +1 -1
  1086. package/dist/types/values.js.map +1 -1
  1087. package/dist/types/views.js.map +1 -1
  1088. package/package.json +1 -1
  1089. package/dist/components/ExportModal/ExportModal.d.ts +0 -10
  1090. package/dist/components/ExportModal/ExportModal.js +0 -123
  1091. package/dist/components/ExportModal/ExportModal.js.map +0 -1
  1092. package/dist/components/ExportModal/index.d.ts +0 -1
  1093. package/dist/components/ExportModal/index.js +0 -5
  1094. package/dist/components/ExportModal/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"useEditLabelView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useEditLabelView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AAEnF,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AACxD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAEpE,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAA;;CAEjC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACjC,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,UAAU,EAAC,GAAG,4BAA4B,EAAE,CAAC;IACpD,MAAM,EAAC,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAC5C,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CAAoB,EAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,CAAC;IAErG,MAAM,YAAY,GAAG,KAAK,EAAE,KAA6B,EAAE,EAAE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,EAAE,CAAC;YACP,QAAQ,CAAC;gBACL,IAAI,EAAE,uBAAuB,CAAC,WAAW;gBACzC,OAAO,EAAE;oBACL,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE;oBACtB,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;iBAC/B;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,CAAC,QAAmB,EAAE,EAAE,CAAC,CAC3C,KAAC,YAAY,IACT,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,CAAC,CAAC,6BAA6B,CAAC,EACvC,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAC,EAAE,EAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAC,CAAC,YAE5E,KAAC,MAAM,KAAG,GACC,CAClB,CAAC;IAEF,OAAO;QACH,aAAa;QACb,aAAa,EAAE,gBAAgB,CAAC,EAAE,IAAI,gBAAgB,CAAC,KAAK,IAAI,CAC5D,KAAC,kBAAkB,IACf,QAAQ,EAAE,gBAAgB,CAAC,KAAK,EAChC,MAAM,QACN,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAC,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,GAC7D,CACL;KACJ,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {FaEdit} from 'react-icons/fa';\nimport {useViewSettingsContext} from '../store-view-settings/useViewSettingsContext';\nimport {useState} from 'react';\nimport {ViewSettingsActionTypes} from '../store-view-settings/viewSettingsReducer';\nimport {type IDataViewOnAction, type IUserView} from '../../_types';\nimport useExecuteUpdateViewMutation from '../../_queries/useExecuteUpdateViewMutation';\nimport {LabelViewFormModal} from './LabelViewFormModal';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\n\nconst StyledButton = styled.button`\n all: unset;\n`;\n\nexport const useEditLabelView = () => {\n const {t} = useSharedTranslation();\n const {updateView} = useExecuteUpdateViewMutation();\n const {dispatch} = useViewSettingsContext();\n const [dataViewOnAction, setDataViewOnAction] = useState<IDataViewOnAction>({id: null, label: null});\n\n const _onEditLabel = async (label: Record<string, string>) => {\n if (!dataViewOnAction.id) {\n return;\n }\n const mappedView = {\n id: dataViewOnAction.id,\n label,\n };\n\n const {data} = await updateView({\n view: mappedView,\n });\n\n if (data) {\n dispatch({\n type: ViewSettingsActionTypes.RENAME_VIEW,\n payload: {\n id: data.updateView.id,\n label: data.updateView.label,\n },\n });\n }\n };\n\n const iconEditLabel = (viewItem: IUserView) => (\n <StyledButton\n className=\"edit\"\n title={t('explorer.viewList.edit-view')}\n onClick={() => setDataViewOnAction({id: viewItem.id, label: viewItem.label})}\n >\n <FaEdit />\n </StyledButton>\n );\n\n return {\n iconEditLabel,\n editViewModal: dataViewOnAction.id && dataViewOnAction.label && (\n <LabelViewFormModal\n viewData={dataViewOnAction.label}\n isOpen\n onSubmit={_onEditLabel}\n onClose={() => setDataViewOnAction({id: null, label: null})}\n />\n ),\n };\n};\n"]}
@@ -18,7 +18,7 @@ export const useResetView = () => {
18
18
  filtersDispatch({ type: FiltersActionTypes.RESTORE_INITIAL_VIEW_SETTINGS });
19
19
  };
20
20
  return {
21
- resetViewButton: (_jsx(KitButton, { type: "action", icon: _jsx(FaUndo, {}), onClick: _resetView, children: t('explorer.viewList.reinit-view') }))
21
+ resetViewButton: (_jsx(KitButton, { type: "action", icon: _jsx(FaUndo, {}), onClick: _resetView, children: t('explorer.viewList.reinit-view') })),
22
22
  };
23
23
  };
24
24
  //# sourceMappingURL=useResetView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useResetView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useResetView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,iBAAiB,EAAC,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAC,kBAAkB,EAAC,MAAM,+CAA+C,CAAC;AAEjF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC7B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAC5C,MAAM,EAAC,QAAQ,EAAE,eAAe,EAAC,GAAG,iBAAiB,EAAE,CAAC;IAExD,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,QAAQ,CAAC,EAAC,IAAI,EAAE,uBAAuB,CAAC,6BAA6B,EAAC,CAAC,CAAC;QACxE,eAAe,CAAC,EAAC,IAAI,EAAE,kBAAkB,CAAC,6BAA6B,EAAC,CAAC,CAAC;IAC9E,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EAAE,CACb,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,MAAM,KAAG,EAAE,OAAO,EAAE,UAAU,YACzD,CAAC,CAAC,+BAA+B,CAAC,GAC3B,CACf;KACJ,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useResetView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useResetView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,iBAAiB,EAAC,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAC,kBAAkB,EAAC,MAAM,+CAA+C,CAAC;AAEjF,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC7B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAC5C,MAAM,EAAC,QAAQ,EAAE,eAAe,EAAC,GAAG,iBAAiB,EAAE,CAAC;IAExD,MAAM,UAAU,GAAG,GAAG,EAAE;QACpB,QAAQ,CAAC,EAAC,IAAI,EAAE,uBAAuB,CAAC,6BAA6B,EAAC,CAAC,CAAC;QACxE,eAAe,CAAC,EAAC,IAAI,EAAE,kBAAkB,CAAC,6BAA6B,EAAC,CAAC,CAAC;IAC9E,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EAAE,CACb,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,MAAM,KAAG,EAAE,OAAO,EAAE,UAAU,YACzD,CAAC,CAAC,+BAA+B,CAAC,GAC3B,CACf;KACJ,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {KitButton} from 'aristid-ds';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useViewSettingsContext} from '../store-view-settings/useViewSettingsContext';\nimport {ViewSettingsActionTypes} from '../store-view-settings/viewSettingsReducer';\nimport {FaUndo} from 'react-icons/fa';\nimport {useFiltersContext} from '_ui/components/Filters/useFiltersContext';\nimport {FiltersActionTypes} from '_ui/components/Filters/context/filtersReducer';\n\nexport const useResetView = () => {\n const {t} = useSharedTranslation();\n const {dispatch} = useViewSettingsContext();\n const {dispatch: filtersDispatch} = useFiltersContext();\n\n const _resetView = () => {\n dispatch({type: ViewSettingsActionTypes.RESTORE_INITIAL_VIEW_SETTINGS});\n filtersDispatch({type: FiltersActionTypes.RESTORE_INITIAL_VIEW_SETTINGS});\n };\n\n return {\n resetViewButton: (\n <KitButton type=\"action\" icon={<FaUndo />} onClick={_resetView}>\n {t('explorer.viewList.reinit-view')}\n </KitButton>\n ),\n };\n};\n"]}
@@ -35,10 +35,10 @@ export const useShareView = () => {
35
35
  const mappedView = {
36
36
  ...prepareViewForRequest(view, filtersData.filters, view.viewLabels),
37
37
  shared: !isSharedView,
38
- id: view.viewId
38
+ id: view.viewId,
39
39
  };
40
40
  const { data } = await saveView({
41
- view: mappedView
41
+ view: mappedView,
42
42
  });
43
43
  setIsSharedView(!isSharedView);
44
44
  if (data) {
@@ -52,15 +52,15 @@ export const useShareView = () => {
52
52
  filters: toValidFilters(data.saveView.filters),
53
53
  sort: data.saveView.sort ?? [],
54
54
  display: data.saveView.display ?? {
55
- type: mapViewTypeFromExplorerToLegacy[view.viewType]
55
+ type: mapViewTypeFromExplorerToLegacy[view.viewType],
56
56
  },
57
- attributes: data.saveView?.attributes?.map(({ id }) => id) ?? []
58
- }
57
+ attributes: data.saveView?.attributes?.map(({ id }) => id) ?? [],
58
+ },
59
59
  });
60
60
  }
61
61
  };
62
62
  return {
63
- shareViewButton: !view.viewId || (isSharedView && !isOwnerView) ? null : (_jsx(KitButton, { type: "action", icon: _jsx(FaShare, {}), onClick: _toggleShareView, children: isSharedView ? t('explorer.viewList.unshare-view') : t('explorer.viewList.share-view') }))
63
+ shareViewButton: !view.viewId || (isSharedView && !isOwnerView) ? null : (_jsx(KitButton, { type: "action", icon: _jsx(FaShare, {}), onClick: _toggleShareView, children: isSharedView ? t('explorer.viewList.unshare-view') : t('explorer.viewList.share-view') })),
64
64
  };
65
65
  };
66
66
  //# sourceMappingURL=useShareView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useShareView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useShareView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,0BAA0B,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAC,+BAA+B,EAAC,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,mBAAmB,EAAC,MAAM,4CAA4C,CAAC;AAC/E,OAAO,EAAC,iBAAiB,EAAC,MAAM,wBAAwB,CAAC;AAEzD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,EAAE;IAC7B,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,IAAI,EAAE,QAAQ,EAAC,GAAG,sBAAsB,EAAE,CAAC;IAClD,MAAM,EAAC,WAAW,EAAC,GAAG,iBAAiB,EAAE,CAAC;IAC1C,MAAM,EAAC,QAAQ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gBAC1C,OAAO,EAAE;oBACL,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE;oBACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;oBACpC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,KAAK;oBAC1B,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM;oBAC5B,OAAO,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;oBAC9C,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE;oBAC9B,OAAO,EAAG,IAAI,CAAC,QAAQ,CAAC,OAAwB,IAAI;wBAChD,IAAI,EAAE,+BAA+B,CAAC,IAAI,CAAC,QAAQ,CAAC;qBACvD;oBACD,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE;iBACjE;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EACX,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,YAAY,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACpD,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,OAAO,KAAG,EAAE,OAAO,EAAE,gBAAgB,YAChE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,8BAA8B,CAAC,GAC/E,CACf;KACR,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useShareView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useShareView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,oBAAoB,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,OAAO,EAAG,IAAI,CAAC,QAAQ,CAAC,OAAwB,IAAI;wBAChD,IAAI,EAAE,+BAA+B,CAAC,IAAI,CAAC,QAAQ,CAAC;qBACvD;oBACD,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE;iBACjE;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,OAAO;QACH,eAAe,EACX,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,YAAY,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACpD,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,OAAO,KAAG,EAAE,OAAO,EAAE,gBAAgB,YAChE,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,8BAA8B,CAAC,GAC/E,CACf;KACR,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {KitButton} from 'aristid-ds';\nimport {FaShare} from 'react-icons/fa';\nimport {useViewSettingsContext} from '../store-view-settings/useViewSettingsContext';\nimport {useEffect, useState} from 'react';\nimport useExecuteSaveViewMutation from '_ui/hooks/useExecuteSaveViewMutation';\nimport {ViewSettingsActionTypes} from '../store-view-settings/viewSettingsReducer';\nimport {prepareViewForRequest} from './prepareViewForRequest';\nimport {type IViewDisplay} from '_ui/types';\nimport {mapViewTypeFromExplorerToLegacy} from '../../_constants';\nimport {useMeQuery} from '_ui/_gqlTypes';\nimport {useTransformFilters} from '_ui/components/Filters/useTransformFilters';\nimport {useFiltersContext} from '_ui/components/Filters';\n\nexport const useShareView = () => {\n const {t} = useSharedTranslation();\n const {view, dispatch} = useViewSettingsContext();\n const {filtersData} = useFiltersContext();\n const {saveView} = useExecuteSaveViewMutation();\n const {toValidFilters} = useTransformFilters();\n const [isSharedView, setIsSharedView] = useState(false);\n const [isOwnerView, setIsOwnerView] = useState(false);\n\n const {data: userData} = useMeQuery();\n\n useEffect(() => {\n const currentView = view.savedViews.find(v => v.id === view.viewId);\n if (currentView === undefined) {\n return;\n }\n setIsSharedView(currentView.shared ?? false);\n setIsOwnerView(currentView.ownerId === userData?.me?.whoAmI?.id);\n }, [view.viewId]);\n\n const _toggleShareView = async () => {\n const mappedView = {\n ...prepareViewForRequest(view, filtersData.filters, view.viewLabels),\n shared: !isSharedView,\n id: view.viewId,\n };\n\n const {data} = await saveView({\n view: mappedView,\n });\n\n setIsSharedView(!isSharedView);\n if (data) {\n dispatch({\n type: ViewSettingsActionTypes.UPDATE_VIEWS,\n payload: {\n id: data.saveView.id,\n ownerId: data.saveView.created_by.id,\n label: data.saveView.label,\n shared: data.saveView.shared,\n filters: toValidFilters(data.saveView.filters),\n sort: data.saveView.sort ?? [],\n display: (data.saveView.display as IViewDisplay) ?? {\n type: mapViewTypeFromExplorerToLegacy[view.viewType],\n },\n attributes: data.saveView?.attributes?.map(({id}) => id) ?? [],\n },\n });\n }\n };\n\n return {\n shareViewButton:\n !view.viewId || (isSharedView && !isOwnerView) ? null : (\n <KitButton type=\"action\" icon={<FaShare />} onClick={_toggleShareView}>\n {isSharedView ? t('explorer.viewList.unshare-view') : t('explorer.viewList.share-view')}\n </KitButton>\n ),\n };\n};\n"]}
@@ -38,10 +38,10 @@ export const useUpdateView = () => {
38
38
  const mappedView = {
39
39
  ...prepareViewForRequest(view, filtersData.filters, view.viewLabels),
40
40
  id: view.viewId,
41
- shared: currentView.current?.shared ?? false
41
+ shared: currentView.current?.shared ?? false,
42
42
  };
43
43
  const { data } = await updateView({
44
- view: mappedView
44
+ view: mappedView,
45
45
  });
46
46
  if (data) {
47
47
  const validFilters = toValidFilters(data.updateView.filters);
@@ -55,23 +55,23 @@ export const useUpdateView = () => {
55
55
  filters: validFilters,
56
56
  sort: data.updateView.sort ?? [],
57
57
  display: data.updateView.display ?? {
58
- type: mapViewTypeFromExplorerToLegacy[view.viewType]
58
+ type: mapViewTypeFromExplorerToLegacy[view.viewType],
59
59
  },
60
- attributes: data.updateView?.attributes?.map(({ id }) => id) ?? []
61
- }
60
+ attributes: data.updateView?.attributes?.map(({ id }) => id) ?? [],
61
+ },
62
62
  });
63
63
  filtersDispatch({
64
64
  type: FiltersActionTypes.UPDATE_VIEWS,
65
65
  payload: {
66
66
  ...filtersData,
67
67
  viewId: data.updateView.id,
68
- filters: data.updateView.filters
69
- }
68
+ filters: data.updateView.filters,
69
+ },
70
70
  });
71
71
  }
72
72
  };
73
73
  return {
74
- updateViewButton: !view.viewId || !view.savedViews.length || !isOwnerView ? null : (_jsx(KitButton, { type: "action", icon: _jsx(FaSave, {}), onClick: _updateView, children: t('global.save') }))
74
+ updateViewButton: !view.viewId || !view.savedViews.length || !isOwnerView ? null : (_jsx(KitButton, { type: "action", icon: _jsx(FaSave, {}), onClick: _updateView, children: t('global.save') })),
75
75
  };
76
76
  };
77
77
  //# sourceMappingURL=useUpdateView.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUpdateView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useUpdateView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OA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I,CAAC,UAAU,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,EAAC,EAAE,EAAC,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE;iBACnE;aACJ,CAAC,CAAC;YACH,eAAe,CAAC;gBACZ,IAAI,EAAE,kBAAkB,CAAC,YAAY;gBACrC,OAAO,EAAE;oBACL,GAAG,WAAW;oBACd,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE;oBAC1B,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,OAAqB;iBACjD;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,OAAO;QACH,gBAAgB,EACZ,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC7D,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,MAAM,KAAG,EAAE,OAAO,EAAE,WAAW,YAC1D,CAAC,CAAC,aAAa,CAAC,GACT,CACf;KACR,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useUpdateView.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/save-view/useUpdateView.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,SAAS,EAAC,MAAM,YAAY,CAAC;AACrC,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,4BAA4B,MAAM,6CAA6C,CAAC;AACvF,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAC,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EAAE;iBACnE;aACJ,CAAC,CAAC;YACH,eAAe,CAAC;gBACZ,IAAI,EAAE,kBAAkB,CAAC,YAAY;gBACrC,OAAO,EAAE;oBACL,GAAG,WAAW;oBACd,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,EAAE;oBAC1B,OAAO,EAAE,IAAI,CAAC,UAAU,CAAC,OAAqB;iBACjD;aACJ,CAAC,CAAC;QACP,CAAC;IACL,CAAC,CAAC;IAEF,OAAO;QACH,gBAAgB,EACZ,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC7D,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,KAAC,MAAM,KAAG,EAAE,OAAO,EAAE,WAAW,YAC1D,CAAC,CAAC,aAAa,CAAC,GACT,CACf;KACR,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {KitButton} from 'aristid-ds';\nimport {FaSave} from 'react-icons/fa';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {useViewSettingsContext} from '../store-view-settings/useViewSettingsContext';\nimport {ViewSettingsActionTypes} from '../store-view-settings/viewSettingsReducer';\nimport useExecuteUpdateViewMutation from '../../_queries/useExecuteUpdateViewMutation';\nimport {prepareViewForRequest} from './prepareViewForRequest';\nimport {type IViewDisplay} from '_ui/types';\nimport {mapViewTypeFromExplorerToLegacy} from '../../_constants';\nimport {useEffect, useRef, useState} from 'react';\nimport {useMeQuery} from '_ui/_gqlTypes';\nimport {type IUserView} from '../../_types';\nimport {useTransformFilters} from '_ui/components/Filters/useTransformFilters';\nimport {useFiltersContext} from '_ui/components/Filters/useFiltersContext';\nimport {FiltersActionTypes} from '_ui/components/Filters/context/filtersReducer';\nimport {type UIFilter} from '_ui/components/Filters/_types';\n\nexport const useUpdateView = () => {\n const {t} = useSharedTranslation();\n const {toValidFilters} = useTransformFilters();\n const {view, dispatch} = useViewSettingsContext();\n const {filtersData, dispatch: filtersDispatch} = useFiltersContext();\n const {updateView} = useExecuteUpdateViewMutation();\n const [isOwnerView, setIsOwnerView] = useState(false);\n const currentView = useRef<IUserView | undefined>();\n\n const {data: userData} = useMeQuery();\n\n useEffect(() => {\n currentView.current = view.savedViews.find(v => v.id === view.viewId);\n if (currentView.current === undefined) {\n return;\n }\n setIsOwnerView(currentView.current.ownerId === userData?.me?.whoAmI?.id);\n }, [view.viewId]);\n\n const _updateView = async () => {\n if (!view.viewId) {\n return;\n }\n const mappedView = {\n ...prepareViewForRequest(view, filtersData.filters, view.viewLabels),\n id: view.viewId,\n shared: currentView.current?.shared ?? false,\n };\n\n const {data} = await updateView({\n view: mappedView,\n });\n\n if (data) {\n const validFilters = toValidFilters(data.updateView.filters);\n dispatch({\n type: ViewSettingsActionTypes.UPDATE_VIEWS,\n payload: {\n id: data.updateView.id,\n ownerId: data.updateView.created_by.id,\n label: data.updateView.label,\n shared: data.updateView.shared,\n filters: validFilters,\n sort: data.updateView.sort ?? [],\n display: (data.updateView.display as IViewDisplay) ?? {\n type: mapViewTypeFromExplorerToLegacy[view.viewType],\n },\n attributes: data.updateView?.attributes?.map(({id}) => id) ?? [],\n },\n });\n filtersDispatch({\n type: FiltersActionTypes.UPDATE_VIEWS,\n payload: {\n ...filtersData,\n viewId: data.updateView.id,\n filters: data.updateView.filters as UIFilter[],\n },\n });\n }\n };\n\n return {\n updateViewButton:\n !view.viewId || !view.savedViews.length || !isOwnerView ? null : (\n <KitButton type=\"action\" icon={<FaSave />} onClick={_updateView}>\n {t('global.save')}\n </KitButton>\n ),\n };\n};\n"]}
@@ -4,7 +4,7 @@ import { KitInput, KitTypography } from 'aristid-ds';
4
4
  import styled from 'styled-components';
5
5
  import { useSharedTranslation } from '../../../../hooks/useSharedTranslation';
6
6
  import { SortOrder } from '../../../../_gqlTypes';
7
- import { closestCenter, DndContext, KeyboardSensor, PointerSensor, useSensor, useSensors } from '@dnd-kit/core';
7
+ import { closestCenter, DndContext, KeyboardSensor, PointerSensor, useSensor, useSensors, } from '@dnd-kit/core';
8
8
  import { SortableContext, sortableKeyboardCoordinates, verticalListSortingStrategy } from '@dnd-kit/sortable';
9
9
  import { useAttributeDetailsData } from '../_shared/useAttributeDetailsData';
10
10
  import { ViewSettingsActionTypes } from '../store-view-settings/viewSettingsReducer';
@@ -31,7 +31,7 @@ export const SortItems = ({ libraryId }) => {
31
31
  const { view, dispatch } = useViewSettingsContext();
32
32
  const { onSearchChanged, searchFilteredColumnsIds, attributeDetailsById } = useAttributeDetailsData(libraryId);
33
33
  const sensors = useSensors(useSensor(PointerSensor), useSensor(KeyboardSensor, {
34
- coordinateGetter: sortableKeyboardCoordinates
34
+ coordinateGetter: sortableKeyboardCoordinates,
35
35
  }));
36
36
  const _toggleColumnVisibility = (field) => () => {
37
37
  const isAttributeAlreadySorting = view.sort.some(sortItem => sortItem.field === field);
@@ -39,8 +39,8 @@ export const SortItems = ({ libraryId }) => {
39
39
  dispatch({
40
40
  type: ViewSettingsActionTypes.REMOVE_SORT,
41
41
  payload: {
42
- field
43
- }
42
+ field,
43
+ },
44
44
  });
45
45
  }
46
46
  else {
@@ -48,8 +48,8 @@ export const SortItems = ({ libraryId }) => {
48
48
  type: ViewSettingsActionTypes.ADD_SORT,
49
49
  payload: {
50
50
  order: SortOrder.asc,
51
- field
52
- }
51
+ field,
52
+ },
53
53
  });
54
54
  }
55
55
  };
@@ -57,8 +57,8 @@ export const SortItems = ({ libraryId }) => {
57
57
  type: ViewSettingsActionTypes.CHANGE_SORT_ORDER,
58
58
  payload: {
59
59
  field,
60
- order
61
- }
60
+ order,
61
+ },
62
62
  });
63
63
  const _handleDragEnd = ({ active: draggedElement, over: dropTarget }) => {
64
64
  const indexFrom = activeFilters.findIndex(({ field }) => field === String(draggedElement.id));
@@ -75,7 +75,7 @@ export const SortItems = ({ libraryId }) => {
75
75
  values: [
76
76
  order === SortOrder.asc
77
77
  ? t('explorer.sort-ascending')
78
- : t('explorer.sort-descending')
78
+ : t('explorer.sort-descending'),
79
79
  ],
80
80
  expandable: true,
81
81
  dropDownProps: {
@@ -85,27 +85,27 @@ export const SortItems = ({ libraryId }) => {
85
85
  items: [
86
86
  {
87
87
  key: SortOrder.asc,
88
- label: t('explorer.sort-ascending')
88
+ label: t('explorer.sort-ascending'),
89
89
  },
90
90
  {
91
91
  key: SortOrder.desc,
92
- label: t('explorer.sort-descending')
93
- }
92
+ label: t('explorer.sort-descending'),
93
+ },
94
94
  ],
95
95
  onSelect: ({ selectedKeys: [newOrder] }) => _changeOrderActiveFilterTo(field)(newOrder),
96
- onDeselect: ({ selectedKeys: [newOrder] }) => _changeOrderActiveFilterTo(field)(newOrder)
97
- }
98
- }
96
+ onDeselect: ({ selectedKeys: [newOrder] }) => _changeOrderActiveFilterTo(field)(newOrder),
97
+ },
98
+ },
99
99
  }, visibilityButtonProps: {
100
100
  icon: _jsx(StyledFaEye, {}),
101
101
  title: String(t('explorer.hide')),
102
- onClick: _toggleColumnVisibility(field)
102
+ onClick: _toggleColumnVisibility(field),
103
103
  } }, field))) }) }) })), _jsx(KitTypography.Title, { level: "h4", children: t('explorer.available-attributes') }), _jsx(KitInput, { placeholder: String(t('global.search')), onChange: onSearchChanged, allowClear: true, prefix: _jsx(FaSearch, {}) }), _jsx(StyledList, { "aria-label": t('explorer.sort-list.inactive'), children: inactiveFilters.map(field => (_jsx(SortListItem, { attributeId: field, filterChipProps: {
104
- label: attributeDetailsById[field].label
104
+ label: attributeDetailsById[field].label,
105
105
  }, visibilityButtonProps: {
106
106
  icon: _jsx(StyledEyeSlash, {}),
107
107
  title: String(t('explorer.show')),
108
- onClick: _toggleColumnVisibility(field)
108
+ onClick: _toggleColumnVisibility(field),
109
109
  } }, field))) })] }));
110
110
  };
111
111
  //# sourceMappingURL=SortItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SortItems.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/sort-items/SortItems.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACnD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EACH,aAAa,EACb,UAAU,EAEV,cAAc,EACd,aAAa,EACb,SAAS,EACT,UAAU,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,eAAe,EAAE,2BAA2B,EAAE,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AAC5G,OAAO,EAAC,uBAAuB,EAAC,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAC,uBAAuB,EAAC,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAC,sBAAsB,EAAC,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAGrC,CAAC;AAEF,MAAM,UAAU,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;CAK3B,CAAC;AAEF,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;;CAExC,CAAC;AAEF,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;;CAEhC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAA2C,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE;IAC7E,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,EAAC,IAAI,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,IAAI,YAAE,CAAC,CAAC,+BAA+B,CAAC,GAAuB,EAC1F,KAAC,QAAQ,IACL,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EACvC,QAAQ,EAAE,eAAe,EACzB,UAAU,QACV,MAAM,EAAE,KAAC,QAAQ,KAAG,GACtB,EACF,KAAC,UAAU,kBAAa,CAAC,CAAC,6BAA6B,CAAC,YACnD,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAC1B,KAAC,YAAY,IAET,WAAW,EAAE,KAAK,EAClB,eAAe,EAAE;wBACb,KAAK,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC,KAAK;qBAC3C,EACD,qBAAqB,EAAE;wBACnB,IAAI,EAAE,KAAC,cAAc,KAAG;wBACxB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;wBACjC,OAAO,EAAE,uBAAuB,CAAC,KAAK,CAAC;qBAC1C,IATI,KAAK,CAUZ,CACL,CAAC,GACO,IACK,CACzB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"SortItems.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/sort-items/SortItems.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAC,QAAQ,EAAE,aAAa,EAAC,MAAM,YAAY,CAAC;AACnD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EACH,aAAa,EACb,UAAU,EAEV,cAAc,EACd,aAAa,EACb,SAAS,EACT,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,eAAe,EAAE,2BAA2B,EAAE,2BAA2B,EAAC,MAAM,mBAAmB,CAA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CAAC;qBAC1C,IATI,KAAK,CAUZ,CACL,CAAC,GACO,IACK,CACzB,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type FunctionComponent} from 'react';\nimport {FaEye, FaEyeSlash, FaSearch} from 'react-icons/fa';\nimport {KitInput, KitTypography} from 'aristid-ds';\nimport styled from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {SortOrder} from '_ui/_gqlTypes';\nimport {\n closestCenter,\n DndContext,\n type DragEndEvent,\n KeyboardSensor,\n PointerSensor,\n useSensor,\n useSensors,\n} from '@dnd-kit/core';\nimport {SortableContext, sortableKeyboardCoordinates, verticalListSortingStrategy} from '@dnd-kit/sortable';\nimport {useAttributeDetailsData} from '../_shared/useAttributeDetailsData';\nimport {ViewSettingsActionTypes} from '../store-view-settings/viewSettingsReducer';\nimport {useViewSettingsContext} from '../store-view-settings/useViewSettingsContext';\nimport {SortListItem} from './SortListItem';\n\nconst StyledListContainer = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nconst StyledList = styled.ul`\n padding: calc(var(--general-spacing-s) * 1px) 0;\n margin: 0;\n list-style: none;\n color: var(--general-utilities-text-primary);\n`;\n\nconst StyledEyeSlash = styled(FaEyeSlash)`\n color: var(--general-utilities-neutral-dark);\n`;\n\nconst StyledFaEye = styled(FaEye)`\n color: var(--general-utilities-neutral-deepDark);\n`;\n\nexport const SortItems: FunctionComponent<{libraryId: string}> = ({libraryId}) => {\n const {t} = useSharedTranslation();\n const {view, dispatch} = useViewSettingsContext();\n\n const {onSearchChanged, searchFilteredColumnsIds, attributeDetailsById} = useAttributeDetailsData(libraryId);\n\n const sensors = useSensors(\n useSensor(PointerSensor),\n useSensor(KeyboardSensor, {\n coordinateGetter: sortableKeyboardCoordinates,\n }),\n );\n\n const _toggleColumnVisibility = (field: string) => () => {\n const isAttributeAlreadySorting = view.sort.some(sortItem => sortItem.field === field);\n if (isAttributeAlreadySorting) {\n dispatch({\n type: ViewSettingsActionTypes.REMOVE_SORT,\n payload: {\n field,\n },\n });\n } else {\n dispatch({\n type: ViewSettingsActionTypes.ADD_SORT,\n payload: {\n order: SortOrder.asc,\n field,\n },\n });\n }\n };\n\n const _changeOrderActiveFilterTo = (field: string) => (order: SortOrder) =>\n dispatch({\n type: ViewSettingsActionTypes.CHANGE_SORT_ORDER,\n payload: {\n field,\n order,\n },\n });\n\n const _handleDragEnd = ({active: draggedElement, over: dropTarget}: DragEndEvent) => {\n const indexFrom = activeFilters.findIndex(({field}) => field === String(draggedElement.id));\n const indexTo = activeFilters.findIndex(({field}) => field === String(dropTarget?.id));\n\n if (!dropTarget || indexFrom === indexTo || indexTo === -1) {\n return;\n }\n\n dispatch({type: ViewSettingsActionTypes.MOVE_SORT, payload: {indexFrom, indexTo}});\n };\n\n const activeFilters = view.sort.filter(({field}) => searchFilteredColumnsIds.includes(field));\n const inactiveFilters = searchFilteredColumnsIds.filter(field =>\n view.sort.every(sortItem => sortItem.field !== field),\n );\n\n return (\n <StyledListContainer>\n {activeFilters.length > 0 && (\n <StyledList aria-label={t('explorer.sort-list.active')}>\n <DndContext sensors={sensors} collisionDetection={closestCenter} onDragEnd={_handleDragEnd}>\n <SortableContext\n items={activeFilters.map(({field}) => ({id: field}))}\n strategy={verticalListSortingStrategy}\n >\n {activeFilters.map(({field, order}) => (\n <SortListItem\n key={field}\n attributeId={field}\n isDraggable\n filterChipProps={{\n label: attributeDetailsById[field].label,\n values: [\n order === SortOrder.asc\n ? t('explorer.sort-ascending')\n : t('explorer.sort-descending'),\n ],\n expandable: true,\n dropDownProps: {\n menu: {\n selectable: true,\n selectedKeys: [order],\n items: [\n {\n key: SortOrder.asc,\n label: t('explorer.sort-ascending'),\n },\n {\n key: SortOrder.desc,\n label: t('explorer.sort-descending'),\n },\n ],\n onSelect: ({selectedKeys: [newOrder]}) =>\n _changeOrderActiveFilterTo(field)(newOrder as SortOrder),\n onDeselect: ({selectedKeys: [newOrder]}) =>\n _changeOrderActiveFilterTo(field)(newOrder as SortOrder),\n },\n },\n }}\n visibilityButtonProps={{\n icon: <StyledFaEye />,\n title: String(t('explorer.hide')),\n onClick: _toggleColumnVisibility(field),\n }}\n />\n ))}\n </SortableContext>\n </DndContext>\n </StyledList>\n )}\n <KitTypography.Title level=\"h4\">{t('explorer.available-attributes')}</KitTypography.Title>\n <KitInput\n placeholder={String(t('global.search'))}\n onChange={onSearchChanged}\n allowClear\n prefix={<FaSearch />}\n />\n <StyledList aria-label={t('explorer.sort-list.inactive')}>\n {inactiveFilters.map(field => (\n <SortListItem\n key={field}\n attributeId={field}\n filterChipProps={{\n label: attributeDetailsById[field].label,\n }}\n visibilityButtonProps={{\n icon: <StyledEyeSlash />,\n title: String(t('explorer.show')),\n onClick: _toggleColumnVisibility(field),\n }}\n />\n ))}\n </StyledList>\n </StyledListContainer>\n );\n};\n"]}
@@ -21,11 +21,11 @@ const StyledDragHandle = styled.span `
21
21
  align-items: center;
22
22
  cursor: ${props => (props.$isDragging ? 'grabbing' : 'grab')};
23
23
  `;
24
- export const SortListItem = ({ attributeId, isDraggable, visibilityButtonProps, filterChipProps }) => {
24
+ export const SortListItem = ({ attributeId, isDraggable, visibilityButtonProps, filterChipProps, }) => {
25
25
  const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({ id: attributeId });
26
26
  const style = {
27
27
  transform: CSS.Transform.toString(transform),
28
- transition
28
+ transition,
29
29
  };
30
30
  return (_jsxs(StyledSortListItem, { ref: setNodeRef, style: style, children: [_jsxs("div", { children: [isDraggable && (_jsx(StyledDragHandle, { ...attributes, ...listeners, "$isDragging": isDragging, children: _jsx(FaGripLines, {}) })), _jsx(KitFilter, { ...filterChipProps }, attributeId)] }), _jsx(KitButton, { size: "m", type: "tertiary", ...visibilityButtonProps })] }));
31
31
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SortListItem.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/sort-items/SortListItem.tsx"],"names":[],"mappings":";AAIA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,SAAS,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAChD,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,oBAAoB,CAAC;AAEvC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;CAWnC,CAAC;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAwB;;;cAG9C,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;CAC/D,CAAC;AASF,MAAM,CAAC,MAAM,YAAY,GAAkD,CAAC,EACxE,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,eAAe,EAClB,EAAE,EAAE;IACD,MAAM,EAAC,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAC,GAAG,WAAW,CAAC,EAAC,EAAE,EAAE,WAAW,EAAC,CAAC,CAAC;IAC9G,MAAM,KAAK,GAAG;QACV,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC5C,UAAU;KACb,CAAC;IAEF,OAAO,CACH,MAAC,kBAAkB,IAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,aAC7C,0BACK,WAAW,IAAI,CACZ,KAAC,gBAAgB,OAAK,UAAU,KAAM,SAAS,iBAAe,UAAU,YACpE,KAAC,WAAW,KAAG,GACA,CACtB,EACD,KAAC,SAAS,OAAuB,eAAe,IAAhC,WAAW,CAAyB,IAClD,EACN,KAAC,SAAS,IAAC,IAAI,EAAC,GAAG,EAAC,IAAI,EAAC,UAAU,KAAK,qBAAqB,GAAI,IAChD,CACxB,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"SortListItem.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/sort-items/SortListItem.tsx"],"names":[],"mappings":";AAIA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,SAAS,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAChD,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,GAAG,EAAC,MAAM,oBAAoB,CAAC;AAEvC,MAAM,kBAAkB,GAAG,MAAM,CAAC,EAAE,CAAA;;;;;;;;;;;CAWnC,CAAC;AAEF,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAwB;;;cAG9C,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC;CAC/D,CAAC;AASF,MAAM,CAAC,MAAM,YAAY,GAAkD,CAAC,EACxE,WAAW,EACX,WAAW,EACX,qBAAqB,EACrB,eAAe,GAClB,EAAE,EAAE;IACD,MAAM,EAAC,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAC,GAAG,WAAW,CAAC,EAAC,EAAE,EAAE,WAAW,EAAC,CAAC,CAAC;IAC9G,MAAM,KAAK,GAAG;QACV,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC5C,UAAU;KACb,CAAC;IAEF,OAAO,CACH,MAAC,kBAAkB,IAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,aAC7C,0BACK,WAAW,IAAI,CACZ,KAAC,gBAAgB,OAAK,UAAU,KAAM,SAAS,iBAAe,UAAU,YACpE,KAAC,WAAW,KAAG,GACA,CACtB,EACD,KAAC,SAAS,OAAuB,eAAe,IAAhC,WAAW,CAAyB,IAClD,EACN,KAAC,SAAS,IAAC,IAAI,EAAC,GAAG,EAAC,IAAI,EAAC,UAAU,KAAK,qBAAqB,GAAI,IAChD,CACxB,CAAC;AACN,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type ComponentProps, type FunctionComponent} from 'react';\nimport styled from 'styled-components';\nimport {FaGripLines} from 'react-icons/fa';\nimport {KitButton, KitFilter} from 'aristid-ds';\nimport {useSortable} from '@dnd-kit/sortable';\nimport {CSS} from '@dnd-kit/utilities';\n\nconst StyledSortListItem = styled.li`\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n div {\n display: flex;\n justify-content: center;\n align-items: center;\n gap: calc(var(--general-spacing-xs) * 1px);\n }\n`;\n\nconst StyledDragHandle = styled.span<{$isDragging: boolean}>`\n display: flex;\n align-items: center;\n cursor: ${props => (props.$isDragging ? 'grabbing' : 'grab')};\n`;\n\ninterface IActiveFilterListItemProps {\n attributeId: string;\n isDraggable?: true;\n filterChipProps: Pick<ComponentProps<typeof KitFilter>, 'label' | 'values' | 'expandable' | 'dropDownProps'>;\n visibilityButtonProps: Pick<ComponentProps<typeof KitButton>, 'onClick' | 'icon' | 'title'>;\n}\n\nexport const SortListItem: FunctionComponent<IActiveFilterListItemProps> = ({\n attributeId,\n isDraggable,\n visibilityButtonProps,\n filterChipProps,\n}) => {\n const {attributes, listeners, setNodeRef, transform, transition, isDragging} = useSortable({id: attributeId});\n const style = {\n transform: CSS.Transform.toString(transform),\n transition,\n };\n\n return (\n <StyledSortListItem ref={setNodeRef} style={style}>\n <div>\n {isDraggable && (\n <StyledDragHandle {...attributes} {...listeners} $isDragging={isDragging}>\n <FaGripLines />\n </StyledDragHandle>\n )}\n <KitFilter key={attributeId} {...filterChipProps} />\n </div>\n <KitButton size=\"m\" type=\"tertiary\" {...visibilityButtonProps} />\n </StyledSortListItem>\n );\n};\n"]}
@@ -6,6 +6,6 @@ export const ViewSettingsContext = createContext({
6
6
  view: null,
7
7
  dispatch: () => {
8
8
  throw new Error('useViewSettingsContext must be used inside a <ViewSettingsContext.Provider />');
9
- }
9
+ },
10
10
  });
11
11
  //# sourceMappingURL=ViewSettingsContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ViewSettingsContext.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAgB,MAAM,OAAO,CAAC;AAGnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAG7C;IACC,IAAI,EAAE,IAAW;IACjB,QAAQ,EAAE,GAAG,EAAE;QACX,MAAM,IAAI,KAAK,CAAC,+EAA+E,CAAC,CAAC;IACrG,CAAC;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"ViewSettingsContext.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAgB,MAAM,OAAO,CAAC;AAGnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAG7C;IACC,IAAI,EAAE,IAAW;IACjB,QAAQ,EAAE,GAAG,EAAE;QACX,MAAM,IAAI,KAAK,CAAC,+EAA+E,CAAC,CAAC;IACrG,CAAC;CACJ,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 {createContext, type Dispatch} from 'react';\nimport {type IViewSettingsAction, type IViewSettingsState} from './viewSettingsReducer';\n\nexport const ViewSettingsContext = createContext<{\n view: IViewSettingsState;\n dispatch: Dispatch<IViewSettingsAction>;\n}>({\n view: null as any,\n dispatch: () => {\n throw new Error('useViewSettingsContext must be used inside a <ViewSettingsContext.Provider />');\n },\n});\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useViewSettingsContext.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC"}
1
+ {"version":3,"file":"useViewSettingsContext.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {useContext} from 'react';\nimport {ViewSettingsContext} from './ViewSettingsContext';\n\nexport const useViewSettingsContext = () => useContext(ViewSettingsContext);\n"]}
@@ -9,7 +9,7 @@ export const viewSettingsInitialState = {
9
9
  savedViews: [],
10
10
  entrypoint: {
11
11
  type: 'library',
12
- libraryId: ''
12
+ libraryId: '',
13
13
  },
14
14
  attributesIds: [],
15
15
  fulltextSearch: '',
@@ -20,14 +20,14 @@ export const viewSettingsInitialState = {
20
20
  viewType: 'table',
21
21
  attributesIds: [],
22
22
  sort: [],
23
- pageSize: defaultPageSizeOptions[0]
23
+ pageSize: defaultPageSizeOptions[0],
24
24
  },
25
25
  defaultViewSettings: {
26
26
  viewType: 'table',
27
27
  attributesIds: [],
28
28
  sort: [],
29
- filters: []
29
+ filters: [],
30
30
  },
31
- enableConfigureView: false
31
+ enableConfigureView: false,
32
32
  };
33
33
  //# sourceMappingURL=viewSettingsInitialState.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"viewSettingsInitialState.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAElC,MAAM,CAAC,MAAM,wBAAwB,GAAuB;IACxD,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,aAAa;IACrB,YAAY,EAAE,KAAK;IACnB,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,UAAU,EAAE;QACR,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,EAAE;KAChB;IACD,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACnC,aAAa,EAAE,EAAE;IACjB,mBAAmB,EAAE;QACjB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,sBAAsB,CAAC,CAAC,CAAC;KACtC;IACD,mBAAmB,EAAE;QACjB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,EAAE;KACd;IACD,mBAAmB,EAAE,KAAK;CAC7B,CAAC"}
1
+ {"version":3,"file":"viewSettingsInitialState.js","sourceRoot":"","sources":["../../../../../src/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAElC,MAAM,CAAC,MAAM,wBAAwB,GAAuB;IACxD,SAAS,EAAE,EAAE;IACb,QAAQ,EAAE,OAAO;IACjB,MAAM,EAAE,aAAa;IACrB,YAAY,EAAE,KAAK;IACnB,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,UAAU,EAAE;QACR,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,EAAE;KAChB;IACD,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE,EAAE;IACR,QAAQ,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACnC,aAAa,EAAE,EAAE;IACjB,mBAAmB,EAAE;QACjB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,sBAAsB,CAAC,CAAC,CAAC;KACtC;IACD,mBAAmB,EAAE;QACjB,QAAQ,EAAE,OAAO;QACjB,aAAa,EAAE,EAAE;QACjB,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,EAAE;KACd;IACD,mBAAmB,EAAE,KAAK;CAC7B,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.txtexport\nimport {type IViewSettingsState} from './viewSettingsReducer';\n\nexport const defaultPageSizeOptions = [20, 50];\n\nexport const DefaultViewId = null;\n\nexport const viewSettingsInitialState: IViewSettingsState = {\n libraryId: '',\n viewType: 'table',\n viewId: DefaultViewId,\n viewModified: false,\n viewLabels: {},\n savedViews: [],\n entrypoint: {\n type: 'library',\n libraryId: '',\n },\n attributesIds: [],\n fulltextSearch: '',\n sort: [],\n pageSize: defaultPageSizeOptions[0],\n massSelection: [],\n initialViewSettings: {\n viewType: 'table',\n attributesIds: [],\n sort: [],\n pageSize: defaultPageSizeOptions[0],\n },\n defaultViewSettings: {\n viewType: 'table',\n attributesIds: [],\n sort: [],\n filters: [],\n },\n enableConfigureView: false,\n};\n"]}
@@ -23,21 +23,21 @@ export const ViewSettingsActionTypes = {
23
23
  UPDATE_VIEWS: 'UPDATE_VIEWS',
24
24
  RENAME_VIEW: 'RENAME_VIEW',
25
25
  DELETE_VIEW: 'DELETE_VIEW',
26
- LOAD_VIEW: 'LOAD_VIEW'
26
+ LOAD_VIEW: 'LOAD_VIEW',
27
27
  };
28
28
  const changePageSize = (state, payload) => ({
29
29
  ...state,
30
- pageSize: payload.pageSize
30
+ pageSize: payload.pageSize,
31
31
  });
32
32
  const addAttribute = (state, payload) => ({
33
33
  ...state,
34
34
  attributesIds: [...state.attributesIds, payload.attributeId],
35
- viewModified: true
35
+ viewModified: true,
36
36
  });
37
37
  const removeAttribute = (state, payload) => ({
38
38
  ...state,
39
39
  attributesIds: state.attributesIds.filter(attributesId => attributesId !== payload.attributeId),
40
- viewModified: true
40
+ viewModified: true,
41
41
  });
42
42
  const moveAttribute = (state, payload) => {
43
43
  const attributesIds = [...state.attributesIds];
@@ -47,32 +47,32 @@ const moveAttribute = (state, payload) => {
47
47
  return {
48
48
  ...state,
49
49
  attributesIds,
50
- viewModified: true
50
+ viewModified: true,
51
51
  };
52
52
  };
53
53
  const resetAttributes = state => ({
54
54
  ...state,
55
- attributesIds: []
55
+ attributesIds: [],
56
56
  });
57
57
  const changeViewType = (state, payload) => ({
58
58
  ...state,
59
59
  viewType: payload.viewType,
60
- viewModified: true
60
+ viewModified: true,
61
61
  });
62
62
  const addSort = (state, payload) => ({
63
63
  ...state,
64
64
  sort: [...state.sort, { field: payload.field, order: payload.order }],
65
- viewModified: true
65
+ viewModified: true,
66
66
  });
67
67
  const removeSort = (state, payload) => ({
68
68
  ...state,
69
69
  sort: state.sort.filter(({ field: attributeId }) => attributeId !== payload.field),
70
- viewModified: true
70
+ viewModified: true,
71
71
  });
72
72
  const changeSortOrder = (state, payload) => ({
73
73
  ...state,
74
74
  sort: state.sort.map(sort => (sort.field === payload.field ? { ...sort, order: payload.order } : sort)),
75
- viewModified: true
75
+ viewModified: true,
76
76
  });
77
77
  const moveSort = (state, payload) => {
78
78
  const attributesUsedToSort = [...state.sort];
@@ -81,26 +81,26 @@ const moveSort = (state, payload) => {
81
81
  return {
82
82
  ...state,
83
83
  sort: attributesUsedToSort,
84
- viewModified: true
84
+ viewModified: true,
85
85
  };
86
86
  };
87
87
  const changeFulltextSearch = (state, payload) => ({
88
88
  ...state,
89
- fulltextSearch: payload.search
89
+ fulltextSearch: payload.search,
90
90
  });
91
91
  export const clearFulltextSearch = state => ({
92
92
  ...state,
93
- fulltextSearch: ''
93
+ fulltextSearch: '',
94
94
  });
95
95
  const reset = (_, payload) => payload;
96
96
  const setSelectedKeys = (state, payload) => ({
97
97
  ...state,
98
- massSelection: payload
98
+ massSelection: payload,
99
99
  });
100
100
  const restoreInitialViewSettings = state => ({
101
101
  ...state,
102
102
  ...state.initialViewSettings,
103
- viewModified: false
103
+ viewModified: false,
104
104
  });
105
105
  const updateViewListAndCurrentView = (state, payload) => ({
106
106
  ...state,
@@ -113,14 +113,14 @@ const updateViewListAndCurrentView = (state, payload) => ({
113
113
  viewType: state.viewType,
114
114
  attributesIds: state.attributesIds,
115
115
  sort: state.sort,
116
- pageSize: state.pageSize
116
+ pageSize: state.pageSize,
117
117
  },
118
- viewModified: false
118
+ viewModified: false,
119
119
  });
120
120
  const renameView = (state, payload) => ({
121
121
  ...state,
122
122
  viewLabels: payload.label,
123
- savedViews: state.savedViews.map(view => (view.id === payload.id ? { ...view, label: payload?.label } : view))
123
+ savedViews: state.savedViews.map(view => (view.id === payload.id ? { ...view, label: payload?.label } : view)),
124
124
  });
125
125
  const deleteView = (state, payload) => {
126
126
  const newSavedViews = [...state.savedViews];
@@ -134,17 +134,17 @@ const deleteView = (state, payload) => {
134
134
  ...state.defaultViewSettings,
135
135
  viewId: DefaultViewId,
136
136
  viewLabels: {},
137
- viewModified: false
137
+ viewModified: false,
138
138
  };
139
139
  return {
140
140
  ...state,
141
141
  ...defaultViewSettings,
142
- savedViews: newSavedViews
142
+ savedViews: newSavedViews,
143
143
  };
144
144
  }
145
145
  return {
146
146
  ...state,
147
- savedViews: newSavedViews
147
+ savedViews: newSavedViews,
148
148
  };
149
149
  };
150
150
  const loadView = (state, payload) => ({
@@ -154,9 +154,9 @@ const loadView = (state, payload) => ({
154
154
  viewType: payload.viewType,
155
155
  attributesIds: payload.attributesIds,
156
156
  sort: payload.sort,
157
- pageSize: state.pageSize
157
+ pageSize: state.pageSize,
158
158
  },
159
- viewModified: false
159
+ viewModified: false,
160
160
  });
161
161
  export const viewSettingsReducer = (state, action) => {
162
162
  switch (action.type) {