@leav/ui 1.4.1-11aaf57c → 1.4.1-13b47713

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 (1092) 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.d.ts +1 -0
  310. package/dist/components/Explorer/_types.js.map +1 -1
  311. package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
  312. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +28 -28
  313. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  314. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
  315. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
  316. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  317. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
  318. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +14 -13
  319. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  320. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +1 -1
  321. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +13 -12
  322. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  323. package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +1 -1
  324. package/dist/components/Explorer/actions-mass/useExportMassAction.js +19 -21
  325. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
  326. package/dist/components/Explorer/actions-mass/useMassActions.d.ts +1 -1
  327. package/dist/components/Explorer/actions-mass/useMassActions.js +19 -17
  328. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  329. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
  330. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
  331. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  332. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
  333. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
  334. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  335. package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
  336. package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
  337. package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
  338. package/dist/components/Explorer/conditionsHelper.js +1 -1
  339. package/dist/components/Explorer/conditionsHelper.js.map +1 -1
  340. package/dist/components/Explorer/index.js.map +1 -1
  341. package/dist/components/Explorer/link-item/LinkModal.js +11 -11
  342. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  343. package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
  344. package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
  345. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
  346. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
  347. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
  348. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
  349. package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
  350. package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
  351. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
  352. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
  353. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
  354. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  355. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
  356. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
  357. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
  358. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
  359. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
  360. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +13 -13
  361. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  362. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
  363. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  364. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
  365. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
  366. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  367. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
  368. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
  369. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
  370. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
  371. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
  372. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
  373. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  374. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
  375. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  376. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
  377. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
  378. package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
  379. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -6
  380. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  381. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +7 -7
  382. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  383. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
  384. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
  385. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
  386. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
  387. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
  388. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  389. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +6 -6
  390. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  391. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +8 -8
  392. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
  393. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
  394. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  395. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
  396. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
  397. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
  398. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
  399. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
  400. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +4 -4
  401. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  402. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -23
  403. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  404. package/dist/components/Explorer/useColumnWidth.js +2 -2
  405. package/dist/components/Explorer/useColumnWidth.js.map +1 -1
  406. package/dist/components/Explorer/useLoadView.js +11 -11
  407. package/dist/components/Explorer/useLoadView.js.map +1 -1
  408. package/dist/components/Explorer/usePagination.js +3 -3
  409. package/dist/components/Explorer/usePagination.js.map +1 -1
  410. package/dist/components/Explorer/useSearchInput.d.ts +1 -1
  411. package/dist/components/Explorer/useSearchInput.js +3 -3
  412. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  413. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
  414. package/dist/components/Explorer/useViewSettingsReducer.js +23 -23
  415. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  416. package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
  417. package/dist/components/FieldsGroup/index.js.map +1 -1
  418. package/dist/components/Filters/FiltersProvider.js.map +1 -1
  419. package/dist/components/Filters/_types.js +1 -1
  420. package/dist/components/Filters/_types.js.map +1 -1
  421. package/dist/components/Filters/conditionsHelper.js +1 -1
  422. package/dist/components/Filters/conditionsHelper.js.map +1 -1
  423. package/dist/components/Filters/context/filtersContext.js +1 -1
  424. package/dist/components/Filters/context/filtersContext.js.map +1 -1
  425. package/dist/components/Filters/context/filtersInitialState.js +1 -1
  426. package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
  427. package/dist/components/Filters/context/filtersReducer.js +16 -16
  428. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  429. package/dist/components/Filters/context/useFiltersReducer.d.ts +1 -1
  430. package/dist/components/Filters/context/useFiltersReducer.js +9 -9
  431. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
  432. package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
  433. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  434. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +6 -6
  435. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
  436. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +1 -1
  437. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
  438. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +3 -3
  439. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
  440. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -1
  441. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
  442. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js +1 -1
  443. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
  444. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js +1 -1
  445. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
  446. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +5 -5
  447. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
  448. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +3 -3
  449. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  450. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +7 -7
  451. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
  452. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +7 -7
  453. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
  454. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js +1 -1
  455. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
  456. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +1 -1
  457. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  458. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +2 -2
  459. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
  460. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
  461. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +14 -14
  462. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  463. package/dist/components/Filters/index.js.map +1 -1
  464. package/dist/components/Filters/prepareFiltersForRequest.js +22 -22
  465. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  466. package/dist/components/Filters/useFilters.js +4 -4
  467. package/dist/components/Filters/useFilters.js.map +1 -1
  468. package/dist/components/Filters/useFiltersContext.js.map +1 -1
  469. package/dist/components/Filters/useTransformFilters.d.ts +1 -1
  470. package/dist/components/Filters/useTransformFilters.js +23 -24
  471. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  472. package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
  473. package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
  474. package/dist/components/FloatingMenu/_types.js.map +1 -1
  475. package/dist/components/FloatingMenu/index.js.map +1 -1
  476. package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
  477. package/dist/components/ImageLoading/index.js.map +1 -1
  478. package/dist/components/ImageMissing/ImageMissing.js +1 -1
  479. package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
  480. package/dist/components/ImageMissing/index.js.map +1 -1
  481. package/dist/components/ImportModal/ImportModal.js +16 -16
  482. package/dist/components/ImportModal/ImportModal.js.map +1 -1
  483. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
  484. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
  485. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
  486. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
  487. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
  488. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  489. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
  490. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
  491. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  492. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
  493. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
  494. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
  495. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  496. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
  497. package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
  498. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
  499. package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
  500. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
  501. package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
  502. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
  503. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  504. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
  505. package/dist/components/ImportModal/_types.js.map +1 -1
  506. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
  507. package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
  508. package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
  509. package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
  510. package/dist/components/ImportModal/importReducer/index.js.map +1 -1
  511. package/dist/components/ImportModal/index.js.map +1 -1
  512. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
  513. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  514. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
  515. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
  516. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
  517. package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
  518. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
  519. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
  520. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
  521. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +22 -22
  522. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  523. package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
  524. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
  525. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  526. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
  527. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
  528. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
  529. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
  530. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
  531. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js +2 -2
  532. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
  533. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
  534. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
  535. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
  536. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
  537. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
  538. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
  539. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
  540. package/dist/components/LibraryItemsList/FiltersPanel/Filter/filterUtils.js.map +1 -1
  541. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
  542. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
  543. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
  544. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
  545. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
  546. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
  547. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
  548. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
  549. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
  550. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
  551. package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
  552. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
  553. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
  554. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
  555. package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
  556. package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
  557. package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
  558. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
  559. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  560. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
  561. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
  562. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
  563. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
  564. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
  565. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
  566. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
  567. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
  568. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
  569. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
  570. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
  571. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
  572. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
  573. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
  574. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
  575. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
  576. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
  577. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
  578. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
  579. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
  580. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
  581. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
  582. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
  583. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
  584. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
  585. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
  586. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
  587. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
  588. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.js.map +1 -1
  589. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
  590. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
  591. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
  592. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
  593. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
  594. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  595. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
  596. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
  597. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
  598. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
  599. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
  600. package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
  601. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
  602. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
  603. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
  604. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +11 -11
  605. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
  606. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
  607. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +9 -9
  608. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
  609. package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
  610. package/dist/components/LibraryItemsList/MenuView/MenuView.js +20 -20
  611. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  612. package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
  613. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
  614. package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
  615. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
  616. package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
  617. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +5 -5
  618. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
  619. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
  620. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
  621. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
  622. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
  623. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
  624. package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
  625. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
  626. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
  627. package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
  628. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
  629. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  630. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
  631. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
  632. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  633. package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
  634. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
  635. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
  636. package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
  637. package/dist/components/LibraryItemsList/constants.js +1 -1
  638. package/dist/components/LibraryItemsList/constants.js.map +1 -1
  639. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
  640. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
  641. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
  642. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
  643. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
  644. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
  645. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  646. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
  647. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
  648. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
  649. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  650. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js.map +1 -1
  651. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
  652. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
  653. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
  654. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  655. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
  656. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
  657. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
  658. package/dist/components/LibraryItemsList/index.js.map +1 -1
  659. package/dist/components/LibraryItemsList/manageItems.js +1 -1
  660. package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
  661. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
  662. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
  663. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
  664. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
  665. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
  666. package/dist/components/LibraryItemsList/shared/sharedUtils.js.map +1 -1
  667. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
  668. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +13 -13
  669. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  670. package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
  671. package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
  672. package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
  673. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  674. package/dist/components/LibraryPicker/index.js.map +1 -1
  675. package/dist/components/List/List.js +1 -1
  676. package/dist/components/List/List.js.map +1 -1
  677. package/dist/components/List/index.js.map +1 -1
  678. package/dist/components/Loading/Loading.js.map +1 -1
  679. package/dist/components/Loading/index.js.map +1 -1
  680. package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -1
  681. package/dist/components/Notifications/hooks/useNotificationSubscription.js +2 -2
  682. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
  683. package/dist/components/Notifications/index.js.map +1 -1
  684. package/dist/components/RecordCard/RecordCard.d.ts +1 -1
  685. package/dist/components/RecordCard/RecordCard.js +3 -3
  686. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  687. package/dist/components/RecordCard/_types.js.map +1 -1
  688. package/dist/components/RecordCard/index.js.map +1 -1
  689. package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
  690. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  691. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
  692. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
  693. package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
  694. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
  695. package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
  696. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
  697. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
  698. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
  699. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
  700. package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
  701. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
  702. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  703. package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
  704. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  705. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
  706. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  707. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  708. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
  709. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  710. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
  711. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -1
  712. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
  713. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
  714. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
  715. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  716. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
  717. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
  718. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
  719. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
  720. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
  721. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
  722. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
  723. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
  724. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
  725. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
  726. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
  727. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
  728. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
  729. package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
  730. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
  731. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
  732. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
  733. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
  734. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
  735. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
  736. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
  737. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
  738. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
  739. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
  740. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
  742. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  743. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
  744. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
  745. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
  746. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
  748. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
  749. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
  750. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
  751. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
  752. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  753. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
  754. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
  755. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
  756. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
  757. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
  758. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  759. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
  760. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
  761. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
  762. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  763. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
  764. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
  765. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  766. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
  767. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
  768. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  769. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
  770. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -6
  771. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  772. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
  773. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -1
  774. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
  775. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
  776. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
  777. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
  778. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +15 -15
  779. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
  780. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
  781. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +8 -8
  782. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  783. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
  784. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  785. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -1
  786. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  787. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -1
  788. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  789. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +1 -1
  790. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  791. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -1
  792. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  793. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -1
  794. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  795. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -3
  796. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  797. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
  798. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  799. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
  800. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
  801. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  802. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
  803. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  804. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
  805. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
  806. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
  807. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
  808. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
  809. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
  810. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
  811. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  812. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
  813. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +7 -7
  814. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  815. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
  816. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
  817. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  818. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
  819. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  820. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
  821. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
  822. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  823. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
  824. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
  825. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  826. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
  827. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
  828. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
  829. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
  830. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  831. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
  832. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
  833. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
  834. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
  835. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  836. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +5 -6
  837. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  838. package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
  839. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
  840. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
  841. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +4 -5
  842. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  843. package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
  844. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
  845. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
  846. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
  847. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
  848. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
  849. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  850. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
  851. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  852. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  853. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
  854. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
  855. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
  856. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
  857. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
  858. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  859. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
  860. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
  861. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  862. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
  863. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
  864. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  865. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
  866. package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
  867. package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
  868. package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
  869. package/dist/components/RecordEdition/_types.js.map +1 -1
  870. package/dist/components/RecordEdition/constants.js.map +1 -1
  871. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
  872. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  873. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
  874. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
  875. package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
  876. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
  877. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
  878. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
  879. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  880. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  881. package/dist/components/RecordEdition/index.js.map +1 -1
  882. package/dist/components/RecordHistory/RecordHistory.js +2 -2
  883. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  884. package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
  885. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  886. package/dist/components/RecordHistory/_types.js.map +1 -1
  887. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
  888. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
  889. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  890. package/dist/components/RecordHistory/index.js.map +1 -1
  891. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
  892. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
  893. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
  894. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
  895. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
  896. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
  897. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
  898. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
  899. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
  900. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
  901. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
  902. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
  903. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
  904. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
  905. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
  906. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
  907. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
  908. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
  909. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
  910. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
  911. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
  912. package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
  913. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
  914. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
  915. package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
  916. package/dist/components/SearchModal/SearchModal.js +1 -1
  917. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  918. package/dist/components/SearchModal/index.js.map +1 -1
  919. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +13 -12
  920. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  921. package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
  922. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
  923. package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
  924. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  925. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
  926. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +11 -11
  927. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  928. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
  929. package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
  930. package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
  931. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  932. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  933. package/dist/components/SelectTreeNode/index.js.map +1 -1
  934. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
  935. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
  936. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
  937. package/dist/components/ShowMore/ShowMore.js.map +1 -1
  938. package/dist/components/ShowMore/index.js.map +1 -1
  939. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
  940. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  941. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  942. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
  943. package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
  944. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
  945. package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
  946. package/dist/components/SubmitStateNotifier/index.js.map +1 -1
  947. package/dist/components/TreePicker/TreePicker.d.ts +1 -1
  948. package/dist/components/TreePicker/TreePicker.js +1 -1
  949. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  950. package/dist/components/TreePicker/TreesList/TreesList.js +12 -12
  951. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  952. package/dist/components/TreePicker/TreesList/index.js.map +1 -1
  953. package/dist/components/TreePicker/index.js.map +1 -1
  954. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
  955. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
  956. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  957. package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
  958. package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
  959. package/dist/components/UploadFiles/UploadFiles.js +26 -27
  960. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  961. package/dist/components/UploadFiles/index.js.map +1 -1
  962. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
  963. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
  964. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  965. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  966. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
  967. package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
  968. package/dist/components/index.d.ts +0 -1
  969. package/dist/components/index.js +0 -1
  970. package/dist/components/index.js.map +1 -1
  971. package/dist/constants.js +2 -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.js.map +1 -1
  991. package/dist/hooks/useAntdLocale/index.js.map +1 -1
  992. package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
  993. package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
  994. package/dist/hooks/useAppLang/index.js.map +1 -1
  995. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  996. package/dist/hooks/useAuth/index.js.map +1 -1
  997. package/dist/hooks/useAuth/useAuth.js +1 -1
  998. package/dist/hooks/useAuth/useAuth.js.map +1 -1
  999. package/dist/hooks/useCanEditRecord/index.js.map +1 -1
  1000. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
  1001. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  1002. package/dist/hooks/useDebouncedValue/index.js.map +1 -1
  1003. package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
  1004. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
  1005. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
  1006. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
  1007. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
  1008. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
  1009. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
  1010. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  1011. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
  1012. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
  1013. package/dist/hooks/useGetRecordForm/index.js.map +1 -1
  1014. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
  1015. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
  1016. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  1017. package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
  1018. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
  1019. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
  1020. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
  1021. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  1022. package/dist/hooks/useIFrameMessenger/messageHandlers.js +4 -4
  1023. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  1024. package/dist/hooks/useIFrameMessenger/schema.d.ts +8 -3
  1025. package/dist/hooks/useIFrameMessenger/schema.js +13 -15
  1026. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  1027. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  1028. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
  1029. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  1030. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
  1031. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
  1032. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
  1033. package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
  1034. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  1035. package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
  1036. package/dist/hooks/useLang/index.js.map +1 -1
  1037. package/dist/hooks/useLang/useLang.js.map +1 -1
  1038. package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
  1039. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
  1040. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
  1041. package/dist/hooks/useLocalStorage/index.js.map +1 -1
  1042. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
  1043. package/dist/hooks/useLoginChecker/index.js.map +1 -1
  1044. package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
  1045. package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
  1046. package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
  1047. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
  1048. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
  1049. package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
  1050. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  1051. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  1052. package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
  1053. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
  1054. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  1055. package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
  1056. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  1057. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
  1058. package/dist/hooks/useSharedTranslation/index.js.map +1 -1
  1059. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
  1060. package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
  1061. package/dist/hooks/useUser/index.js.map +1 -1
  1062. package/dist/hooks/useUser/useUser.js.map +1 -1
  1063. package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
  1064. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
  1065. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
  1066. package/dist/index.js.map +1 -1
  1067. package/dist/locales/en/shared.json +6 -3
  1068. package/dist/locales/fr/shared.json +6 -3
  1069. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
  1070. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
  1071. package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
  1072. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
  1073. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
  1074. package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
  1075. package/dist/testing/index.js.map +1 -1
  1076. package/dist/types/attributes.js.map +1 -1
  1077. package/dist/types/index.js.map +1 -1
  1078. package/dist/types/misc.js.map +1 -1
  1079. package/dist/types/records.js.map +1 -1
  1080. package/dist/types/scalars.js.map +1 -1
  1081. package/dist/types/search.js +2 -2
  1082. package/dist/types/search.js.map +1 -1
  1083. package/dist/types/trees.js.map +1 -1
  1084. package/dist/types/values.js.map +1 -1
  1085. package/dist/types/views.js.map +1 -1
  1086. package/package.json +1 -1
  1087. package/dist/components/ExportModal/ExportModal.d.ts +0 -10
  1088. package/dist/components/ExportModal/ExportModal.js +0 -123
  1089. package/dist/components/ExportModal/ExportModal.js.map +0 -1
  1090. package/dist/components/ExportModal/index.d.ts +0 -1
  1091. package/dist/components/ExportModal/index.js +0 -5
  1092. package/dist/components/ExportModal/index.js.map +0 -1
@@ -5,7 +5,7 @@ import dayjs from 'dayjs';
5
5
  import { AttributeFormat, RecordFilterCondition, RecordFilterOperator } from '../../_gqlTypes';
6
6
  import { interleaveElement } from '../../_utils/interleaveElement';
7
7
  import { AttributeConditionFilter } from '../../types';
8
- import { isUIFilterStandard, isUIFilterThrough, isUIFilterTree, isUIFilterValueList, isUIFilterLinkWithValueList } from './_types';
8
+ import { isUIFilterStandard, isUIFilterThrough, isUIFilterTree, isUIFilterValueList, isUIFilterLinkWithValueList, } from './_types';
9
9
  import { nullValueConditions } from './conditionsHelper';
10
10
  export const dateValuesSeparator = '\n';
11
11
  const _getDateAtNoon = (date) => dayjs.unix(Number(date)).add(12, 'hour').unix().toString();
@@ -19,33 +19,33 @@ const _getDateRequestFilters = ({ field, condition, value }) => {
19
19
  condition,
20
20
  value: JSON.stringify({
21
21
  from,
22
- to
23
- })
24
- }
22
+ to,
23
+ }),
24
+ },
25
25
  ];
26
26
  case RecordFilterCondition.NOT_EQUAL:
27
27
  return [
28
28
  {
29
29
  field,
30
30
  condition: RecordFilterCondition.NOT_EQUAL,
31
- value: _getDateAtNoon(Number(value))
32
- }
31
+ value: _getDateAtNoon(Number(value)),
32
+ },
33
33
  ];
34
34
  case RecordFilterCondition.EQUAL:
35
35
  return [
36
36
  {
37
37
  field,
38
38
  condition,
39
- value: _getDateAtNoon(Number(value))
40
- }
39
+ value: _getDateAtNoon(Number(value)),
40
+ },
41
41
  ];
42
42
  default:
43
43
  return [
44
44
  {
45
45
  field,
46
46
  condition,
47
- value
48
- }
47
+ value,
48
+ },
49
49
  ];
50
50
  }
51
51
  };
@@ -55,8 +55,8 @@ const _getBooleanRequestFilters = (filter) => {
55
55
  {
56
56
  field: filter.field,
57
57
  condition: AttributeConditionFilter.NOT_EQUAL,
58
- value: 'true'
59
- }
58
+ value: 'true',
59
+ },
60
60
  ];
61
61
  }
62
62
  return [{ field: filter.field, condition: filter.condition, value: filter.value }];
@@ -67,10 +67,10 @@ const _addValuesListForFilters = (valuesList) => [
67
67
  {
68
68
  field: 'id',
69
69
  condition: AttributeConditionFilter.EQUAL,
70
- value
71
- }
70
+ value,
71
+ },
72
72
  ])),
73
- { operator: RecordFilterOperator.CLOSE_BRACKET }
73
+ { operator: RecordFilterOperator.CLOSE_BRACKET },
74
74
  ];
75
75
  const _generateConditionsFromMultipleValues = (filter) => {
76
76
  if (!filter.value || filter.value.length === 0) {
@@ -84,13 +84,13 @@ const _generateConditionsFromMultipleValues = (filter) => {
84
84
  filtersWithOperators.push({
85
85
  value: recordId,
86
86
  condition: filter.condition,
87
- field: Array.isArray(filter.field) ? filter.field[idx] : filter.field
87
+ field: Array.isArray(filter.field) ? filter.field[idx] : filter.field,
88
88
  });
89
89
  if (filter.value && idx < filter.value.length - 1) {
90
90
  filtersWithOperators.push({
91
91
  operator: filter.condition === RecordFilterCondition.NOT_EQUAL
92
92
  ? RecordFilterOperator.AND
93
- : RecordFilterOperator.OR
93
+ : RecordFilterOperator.OR,
94
94
  });
95
95
  }
96
96
  if (filter.value && filter.value.length > 1 && idx >= filter.value.length - 1) {
@@ -135,8 +135,8 @@ export const prepareFiltersForRequest = (filters, filtersOperator, valuesList) =
135
135
  {
136
136
  field: Array.isArray(filter.field) ? filter.field[0] : filter.field,
137
137
  condition: filter.condition,
138
- value: null
139
- }
138
+ value: null,
139
+ },
140
140
  ];
141
141
  }
142
142
  return _generateConditionsFromMultipleValues(filter);
@@ -155,14 +155,14 @@ export const prepareFiltersForRequest = (filters, filtersOperator, valuesList) =
155
155
  {
156
156
  field: filter.field,
157
157
  condition: filter.condition,
158
- value: filter.value
159
- }
158
+ value: filter.value,
159
+ },
160
160
  ];
161
161
  }));
162
162
  return [
163
163
  ...interleaveFilter,
164
164
  ...(interleaveFilter.length > 0 && valuesList ? [{ operator: RecordFilterOperator.AND }] : []),
165
- ...(valuesList ? _addValuesListForFilters(valuesList) : [])
165
+ ...(valuesList ? _addValuesListForFilters(valuesList) : []),
166
166
  ];
167
167
  };
168
168
  //# sourceMappingURL=prepareFiltersForRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepareFiltersForRequest.js","sourceRoot":"","sources":["../../../src/components/Filters/prepareFiltersForRequest.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAE,qBAAqB,EAA0B,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAC,wBAAwB,EAAC,MAAM,WAAW,CAAC;AACnD,OAAO,EAIH,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EAGnB,2BAA2B,EAC9B,MAAM,UAAU,CAAC;AAClB,OAAO,EAAC,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AAEvD,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AAExC,MAAM,cAAc,GAAG,CAAC,IAAY,EAAU,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC;AAE5G,MAAM,sBAAsB,GAAG,CAAC,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAoB,EAAuB,EAAE;IACjG,QAAQ,SAAS,EAAE,CAAC;QAChB,KAAK,qBAAqB,CAAC,OAAO;YAC9B,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,KAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACrD,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AE,MAAM,CAAC,SAAS;wBAC3B,KAAK,EAAE,IAAI;qBACd;iBACJ,CAAC;YACN,CAAC;YACD,OAAO,qCAAqC,CAAC,MAA4C,CAAC,CAAC;QAC/F,CAAC;QAED,IAAI,kBAAkB,CAAC,MAAkB,CAAC,EAAE,CAAC;YACzC,QAAQ,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,CAAC;gBAC9B,KAAK,eAAe,CAAC,IAAI;oBACrB,OAAO,sBAAsB,CAAC,MAA2B,CAAC,CAAC;gBAC/D,KAAK,eAAe,CAAC,OAAO;oBACxB,OAAO,yBAAyB,CAAC,MAA2B,CAAC,CAAC;gBAClE;oBACI,MAAM;YACd,CAAC;QACL,CAAC;QACD,OAAO;YACH;gBACI,KAAK,EAAE,MAAM,CAAC,KAAe;gBAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,KAAK,EAAE,MAAM,CAAC,KAAK;aACtB;SACJ,CAAC;IACN,CAAC,CAAC,CACT,CAAC;IAEF,OAAO;QACH,GAAG,gBAAgB;QACnB,GAAG,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,EAAC,QAAQ,EAAE,oBAAoB,CAAC,GAAG,EAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5F,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAC9D,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"prepareFiltersForRequest.js","sourceRoot":"","sources":["../../../src/components/Filters/prepareFiltersForRequest.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,eAAe,EAAE,qBAAqB,EAA0B,oBAAoB,EAAC,MAAM,eAAe,CAAC;AACnH,OAAO,EAAC,iBAAiB,EAA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7B,SAAS,EAAE,MAAM,CAAC,SAAS;gBAC3B,KAAK,EAAE,MAAM,CAAC,KAAK;aACtB;SACJ,CAAC;IACN,CAAC,CAAC,CACT,CAAC;IAEF,OAAO;QACH,GAAG,gBAAgB;QACnB,GAAG,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,EAAC,QAAQ,EAAE,oBAAoB,CAAC,GAAG,EAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5F,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;KAC9D,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 dayjs from 'dayjs';\nimport {AttributeFormat, RecordFilterCondition, type RecordFilterInput, RecordFilterOperator} from '_ui/_gqlTypes';\nimport {interleaveElement} from '_ui/_utils/interleaveElement';\nimport {AttributeConditionFilter} from '_ui/types';\nimport {\n type UIFilter,\n type IUIFilterStandard,\n type IUIFilterTree,\n isUIFilterStandard,\n isUIFilterThrough,\n isUIFilterTree,\n isUIFilterValueList,\n type IUIFilterValueList,\n type FiltersOperator,\n isUIFilterLinkWithValueList,\n} from './_types';\nimport {nullValueConditions} from './conditionsHelper';\n\nexport const dateValuesSeparator = '\\n';\n\nconst _getDateAtNoon = (date: number): string => dayjs.unix(Number(date)).add(12, 'hour').unix().toString();\n\nconst _getDateRequestFilters = ({field, condition, value}: IUIFilterStandard): RecordFilterInput[] => {\n switch (condition) {\n case RecordFilterCondition.BETWEEN:\n const [from, to] = value!.split(dateValuesSeparator);\n return [\n {\n field,\n condition,\n value: JSON.stringify({\n from,\n to,\n }),\n },\n ];\n case RecordFilterCondition.NOT_EQUAL:\n return [\n {\n field,\n condition: RecordFilterCondition.NOT_EQUAL,\n value: _getDateAtNoon(Number(value)),\n },\n ];\n case RecordFilterCondition.EQUAL:\n return [\n {\n field,\n condition,\n value: _getDateAtNoon(Number(value)),\n },\n ];\n default:\n return [\n {\n field,\n condition,\n value,\n },\n ];\n }\n};\n\nconst _getBooleanRequestFilters = (filter: IUIFilterStandard): RecordFilterInput[] => {\n if (filter.value === 'false') {\n return [\n {\n field: filter.field,\n condition: AttributeConditionFilter.NOT_EQUAL,\n value: 'true',\n },\n ];\n }\n\n return [{field: filter.field, condition: filter.condition, value: filter.value}];\n};\n\nconst _addValuesListForFilters = (valuesList: string[]): RecordFilterInput[] => [\n {operator: RecordFilterOperator.OPEN_BRACKET},\n ...(interleaveElement(\n {operator: RecordFilterOperator.OR},\n valuesList.map(value => [\n {\n field: 'id',\n condition: AttributeConditionFilter.EQUAL,\n value,\n },\n ]),\n ) as RecordFilterInput[]),\n {operator: RecordFilterOperator.CLOSE_BRACKET},\n];\n\nconst _generateConditionsFromMultipleValues = (filter: IUIFilterTree | IUIFilterValueList): RecordFilterInput[] => {\n if (!filter.value || filter.value.length === 0) {\n return [];\n }\n const filtersWithOperators: RecordFilterInput[] = [];\n filter.value.forEach((recordId, idx) => {\n if (idx === 0 && filter.value && filter.value.length > 1) {\n filtersWithOperators.push({operator: RecordFilterOperator.OPEN_BRACKET});\n }\n filtersWithOperators.push({\n value: recordId,\n condition: filter.condition,\n field: Array.isArray(filter.field) ? filter.field[idx] : filter.field,\n });\n if (filter.value && idx < filter.value.length - 1) {\n filtersWithOperators.push({\n operator:\n filter.condition === RecordFilterCondition.NOT_EQUAL\n ? RecordFilterOperator.AND\n : RecordFilterOperator.OR,\n });\n }\n if (filter.value && filter.value.length > 1 && idx >= filter.value.length - 1) {\n filtersWithOperators.push({operator: RecordFilterOperator.CLOSE_BRACKET});\n }\n });\n return filtersWithOperators;\n};\n\nexport const prepareFiltersForRequest = (\n filters: UIFilter[],\n filtersOperator?: FiltersOperator,\n valuesList?: string[],\n): RecordFilterInput[] => {\n const interleaveFilter = interleaveElement(\n {operator: filtersOperator === 'OR' ? RecordFilterOperator.OR : RecordFilterOperator.AND},\n filters\n .filter(filter => {\n if (isUIFilterThrough(filter)) {\n return (\n filter.subField &&\n filter.subCondition &&\n (filter.value !== null || nullValueConditions.includes(filter.subCondition))\n );\n }\n\n if (isUIFilterValueList(filter)) {\n return (\n (!!filter.condition && filter.value?.length) ||\n (filter.condition && nullValueConditions.includes(filter.condition))\n );\n }\n\n return filter.value !== null || (filter.condition && nullValueConditions.includes(filter.condition));\n })\n .map(filter => {\n if (isUIFilterTree(filter)) {\n return filter;\n }\n const condition =\n filter.condition === AttributeConditionFilter.THROUGH ? filter.subCondition : filter.condition;\n let field =\n filter.condition === AttributeConditionFilter.THROUGH\n ? `${filter.field}.${filter.subField}`\n : filter.field;\n\n // When a link attribute has a values list, we must filter on the linked record id\n if (isUIFilterLinkWithValueList(filter) && typeof field === 'string' && !field.endsWith('.id')) {\n field = `${field}.id`;\n }\n\n return {...filter, condition, field};\n })\n .map(filter => {\n //@ts-ignore typscript does not recognize filter as a UIFilter\n if (isUIFilterValueList(filter) || isUIFilterTree(filter)) {\n if (filter.condition && nullValueConditions.includes(filter.condition)) {\n return [\n {\n field: Array.isArray(filter.field) ? filter.field[0] : filter.field,\n condition: filter.condition,\n value: null,\n },\n ];\n }\n return _generateConditionsFromMultipleValues(filter as IUIFilterTree | IUIFilterValueList);\n }\n\n if (isUIFilterStandard(filter as UIFilter)) {\n switch (filter.attribute.format) {\n case AttributeFormat.date:\n return _getDateRequestFilters(filter as IUIFilterStandard);\n case AttributeFormat.boolean:\n return _getBooleanRequestFilters(filter as IUIFilterStandard);\n default:\n break;\n }\n }\n return [\n {\n field: filter.field as string,\n condition: filter.condition,\n value: filter.value,\n },\n ];\n }),\n );\n\n return [\n ...interleaveFilter,\n ...(interleaveFilter.length > 0 && valuesList ? [{operator: RecordFilterOperator.AND}] : []),\n ...(valuesList ? _addValuesListForFilters(valuesList) : []),\n ];\n};\n"]}
@@ -14,15 +14,15 @@ export const useFilters = (pinFilters = false) => {
14
14
  ...filter,
15
15
  attribute: {
16
16
  ...filtersData.attributesDataById[filter?.attribute?.id],
17
- ...filter.attribute
18
- }
17
+ ...filter.attribute,
18
+ },
19
19
  },
20
- isPinned: pinFilters
20
+ isPinned: pinFilters,
21
21
  }))
22
22
  : [], [filtersData]);
23
23
  return {
24
24
  filtersProps: filtersToDisplay,
25
- filtersData: filtersData.filters
25
+ filtersData: filtersData.filters,
26
26
  };
27
27
  };
28
28
  //# sourceMappingURL=useFilters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFilters.js","sourceRoot":"","sources":["../../../src/components/Filters/useFilters.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,UAAU,GAAG,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAC,WAAW,EAAC,GAAG,iBAAiB,EAAE,CAAC;IAE1C,MAAM,gBAAgB,GAAG,OAAO,CAC5B,GAAG,EAAE,CACD,WAAW,IAAI,WAAW,CAAC,OAAO;QAC9B,CAAC,CAAC,WAAW,CAAC,OAAO;aACd,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC;aACxC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC,EAAE;YACd,MAAM,EAAE;gBACJ,GAAG,MAAM;gBACT,SAAS,EAAE;oBACP,GAAG,WAAW,CAAC,kBAAkB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,CAAC;oBACxD,GAAG,MAAM,CAAC,SAAS;iBACtB;aACJ;YACD,QAAQ,EAAE,UAAU;SACvB,CAAC,CAAC;QACT,CAAC,CAAC,EAAE,EACZ,CAAC,WAAW,CAAC,CAChB,CAAC;IAEF,OAAO;QACH,YAAY,EAAE,gBAAgB;QAC9B,WAAW,EAAE,WAAW,CAAC,OAAO;KACnC,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useFilters.js","sourceRoot":"","sources":["../../../src/components/Filters/useFilters.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,UAAU,GAAG,KAAK,EAAE,EAAE;IAC7C,MAAM,EAAC,WAAW,EAAC,GAAG,iBAAiB,EAAE,CAAC;IAE1C,MAAM,gBAAgB,GAAG,OAAO,CAC5B,GAAG,EAAE,CACD,WAAW,IAAI,WAAW,CAAC,OAAO;QAC9B,CAAC,CAAC,WAAW,CAAC,OAAO;aACd,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC;aACxC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;YACZ,GAAG,EAAE,MAAM,CAAC,EAAE;YACd,MAAM,EAAE;gBACJ,GAAG,MAAM;gBACT,SAAS,EAAE;oBACP,GAAG,WAAW,CAAC,kBAAkB,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,CAAC;oBACxD,GAAG,MAAM,CAAC,SAAS;iBACtB;aACJ;YACD,QAAQ,EAAE,UAAU;SACvB,CAAC,CAAC;QACT,CAAC,CAAC,EAAE,EACZ,CAAC,WAAW,CAAC,CAChB,CAAC;IAEF,OAAO;QACH,YAAY,EAAE,gBAAgB;QAC9B,WAAW,EAAE,WAAW,CAAC,OAAO;KACnC,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 {useMemo} from 'react';\nimport {useFiltersContext} from './useFiltersContext';\n\nexport const useFilters = (pinFilters = false) => {\n const {filtersData} = useFiltersContext();\n\n const filtersToDisplay = useMemo(\n () =>\n filtersData && filtersData.filters\n ? filtersData.filters\n .filter(filterItem => !filterItem.hidden)\n .map(filter => ({\n key: filter.id,\n filter: {\n ...filter,\n attribute: {\n ...filtersData.attributesDataById[filter?.attribute?.id],\n ...filter.attribute,\n },\n },\n isPinned: pinFilters,\n }))\n : [],\n [filtersData],\n );\n\n return {\n filtersProps: filtersToDisplay,\n filtersData: filtersData.filters,\n };\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"useFiltersContext.js","sourceRoot":"","sources":["../../../src/components/Filters/useFiltersContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,cAAc,EAAC,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;IAC3C,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC"}
1
+ {"version":3,"file":"useFiltersContext.js","sourceRoot":"","sources":["../../../src/components/Filters/useFiltersContext.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,UAAU,EAAC,MAAM,OAAO,CAAC;AACjC,OAAO,EAAC,cAAc,EAAC,MAAM,0BAA0B,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IAClC,MAAM,OAAO,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;IAC3C,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,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 {FiltersContext} from './context/filtersContext';\n\nexport const useFiltersContext = () => {\n const context = useContext(FiltersContext);\n if (!context) {\n throw new Error('FiltersContext must be used inside a <FiltersProvider />');\n }\n return context;\n};\n"]}
@@ -12,7 +12,7 @@ export type ValidFiltersArgument = GetViewsListQuery['views']['list'][number]['f
12
12
  export type AttributesById = Record<string, NonNullable<ExplorerAttributesQuery['attributes']>['list'][number]>;
13
13
  export declare const useTransformFilters: () => {
14
14
  toValidFilters: (filters: ValidFiltersArgument) => ValidFilter[];
15
- toUIFilters: ({ filters, attributesDataById }: {
15
+ toUIFilters: ({ filters, attributesDataById, }: {
16
16
  filters: ValidFilter[];
17
17
  attributesDataById: AttributesById;
18
18
  }) => UIFilter[];
@@ -1,12 +1,11 @@
1
1
  // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import { AttributeType, RecordFilterCondition } from '../../_gqlTypes';
4
+ import { AttributeType, RecordFilterCondition, } from '../../_gqlTypes';
5
5
  import { ThroughConditionFilter } from '../../types';
6
6
  import { isLinkAttribute, isStandardAttribute, isTreeAttribute } from '../../_utils/attributeType';
7
7
  import { localizedTranslation } from '@leav/utils';
8
8
  import { useLang } from '../../hooks';
9
- import { v4 as uuid } from 'uuid';
10
9
  import { valueListTextConditions } from './filter-items/filter-type/useConditionOptionsByType';
11
10
  const _isValidFieldFilter = (filter) => !!filter.field;
12
11
  const _isValidFieldFilterThrough = (filter) => filter.condition === ThroughConditionFilter.THROUGH && !!filter.subCondition && !!filter.subField;
@@ -34,7 +33,7 @@ export const useTransformFilters = () => {
34
33
  value: filter.value ?? null,
35
34
  hidden: filter.hidden ?? false,
36
35
  condition: ThroughConditionFilter.THROUGH,
37
- subCondition: filter.condition
36
+ subCondition: filter.condition,
38
37
  };
39
38
  acc.push(throughFilter);
40
39
  }
@@ -43,7 +42,7 @@ export const useTransformFilters = () => {
43
42
  }
44
43
  return acc;
45
44
  }, []);
46
- const toUIFilters = ({ filters, attributesDataById }) => (filters ?? []).reduce((acc, filter) => {
45
+ const toUIFilters = ({ filters, attributesDataById, }) => (filters ?? []).reduce((acc, filter) => {
47
46
  if (!attributesDataById[filter.field]) {
48
47
  console.warn(`Attribute ${filter.field} from user view not found in database.`);
49
48
  return acc;
@@ -51,7 +50,7 @@ export const useTransformFilters = () => {
51
50
  const filterAttributeBase = {
52
51
  id: attributesDataById[filter.field].id,
53
52
  label: localizedTranslation(attributesDataById[filter.field].label, lang),
54
- type: attributesDataById[filter.field].type
53
+ type: attributesDataById[filter.field].type,
55
54
  };
56
55
  // filter is standardFilter
57
56
  if (isStandardAttribute(filterAttributeBase.type)) {
@@ -62,13 +61,13 @@ export const useTransformFilters = () => {
62
61
  // TODO : save filter values as string[] when filter and handle fields with libraries
63
62
  value: filter.value ? [filter.value] : [],
64
63
  hidden: filter.hidden ?? false,
65
- id: uuid(),
64
+ id: window.crypto.randomUUID(),
66
65
  condition: filter.condition ?? null,
67
66
  attribute: {
68
67
  ...filterAttributeBase,
69
68
  format: attributeData.format,
70
- valuesList: attributeData.valuesList
71
- }
69
+ valuesList: attributeData.valuesList,
70
+ },
72
71
  };
73
72
  acc.push(newFilter);
74
73
  }
@@ -77,12 +76,12 @@ export const useTransformFilters = () => {
77
76
  field: filter.field,
78
77
  value: filter.value ?? null,
79
78
  hidden: filter.hidden ?? false,
80
- id: uuid(),
79
+ id: window.crypto.randomUUID(),
81
80
  condition: filter.condition ?? null,
82
81
  attribute: {
83
82
  ...filterAttributeBase,
84
- format: attributeData.format
85
- }
83
+ format: attributeData.format,
84
+ },
86
85
  };
87
86
  acc.push(newFilter);
88
87
  }
@@ -94,14 +93,14 @@ export const useTransformFilters = () => {
94
93
  field: filter.field,
95
94
  value: filter.value ?? null,
96
95
  hidden: filter.hidden ?? false,
97
- id: uuid(),
96
+ id: window.crypto.randomUUID(),
98
97
  condition: filter.condition,
99
98
  attribute: {
100
99
  ...filterAttributeBase,
101
- linkedLibrary: attributeData.linked_library
100
+ linkedLibrary: attributeData.linked_library,
102
101
  },
103
102
  subCondition: filter.subCondition ?? null,
104
- subField: filter.subField
103
+ subField: filter.subField,
105
104
  };
106
105
  acc.push(newFilter);
107
106
  }
@@ -111,13 +110,13 @@ export const useTransformFilters = () => {
111
110
  // TODO : save filter values as string[] when filter and handle fields with libraries
112
111
  value: filter.value ? [filter.value] : [],
113
112
  hidden: filter.hidden ?? false,
114
- id: uuid(),
113
+ id: window.crypto.randomUUID(),
115
114
  condition: filter.condition,
116
115
  attribute: {
117
116
  ...filterAttributeBase,
118
117
  linkedLibrary: attributeData.linked_library,
119
- valuesList: attributeData.valuesList
120
- }
118
+ valuesList: attributeData.valuesList,
119
+ },
121
120
  };
122
121
  acc.push(newFilter);
123
122
  }
@@ -126,12 +125,12 @@ export const useTransformFilters = () => {
126
125
  field: filter.field,
127
126
  value: filter.value ?? null,
128
127
  hidden: filter.hidden ?? false,
129
- id: uuid(),
128
+ id: window.crypto.randomUUID(),
130
129
  condition: filter.condition,
131
130
  attribute: {
132
131
  ...filterAttributeBase,
133
- linkedLibrary: attributeData.linked_library
134
- }
132
+ linkedLibrary: attributeData.linked_library,
133
+ },
135
134
  };
136
135
  acc.push(newFilter);
137
136
  }
@@ -143,12 +142,12 @@ export const useTransformFilters = () => {
143
142
  // TODO : save filter values as string[] when tree filter and handle fields with libraries
144
143
  value: filter.value ? [filter.value] : null,
145
144
  hidden: filter.hidden ?? false,
146
- id: uuid(),
145
+ id: window.crypto.randomUUID(),
147
146
  attribute: {
148
147
  ...filterAttributeBase,
149
- linkedTree: attributeData.linked_tree
148
+ linkedTree: attributeData.linked_tree,
150
149
  },
151
- condition: filter.condition ?? RecordFilterCondition.EQUAL
150
+ condition: filter.condition ?? RecordFilterCondition.EQUAL,
152
151
  };
153
152
  acc.push(newFilter);
154
153
  }
@@ -156,7 +155,7 @@ export const useTransformFilters = () => {
156
155
  }, []);
157
156
  return {
158
157
  toValidFilters,
159
- toUIFilters
158
+ toUIFilters,
160
159
  };
161
160
  };
162
161
  //# sourceMappingURL=useTransformFilters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTransformFilters.js","sourceRoot":"","sources":["../../../src/components/Filters/useTransformFilters.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAGH,aAAa,EAKb,qBAAqB,EAGxB,MAAM,eAAe,CAAC;AAgBvB,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW,CAAC;AACjD,OAAO,EAAC,eAAe,EAAE,mBAAmB,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAC/F,OAAO,EAAC,oBAAoB,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,EAAE,IAAI,IAAI,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,uBAAuB,EAAC,MAAM,sDAAsD,CAAC;AAE7F,MAAM,mBAAmB,GAAG,CAAC,MAA4C,EAA8B,EAAE,CACrG,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AAEnB,MAAM,0BAA0B,GAAG,CAAC,MAAmB,EAAqC,EAAE,CAC1F,MAAM,CAAC,SAAS,KAAK,sBAAsB,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,YAAY,IAAI,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC;AAEtG,MAAM,qCA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S,EAAE,MAAM,CAAC,SAAS;oBAC3B,SAAS,EAAE;wBACP,GAAG,mBAAmB;wBACtB,aAAa,EAAE,aAAa,CAAC,cAAe;qBAC/C;iBACJ,CAAC;gBAEF,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YACxB,CAAC;QACL,CAAC;QAED,IAAI,eAAe,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,0BAA0B,CAAC,MAAM,CAAC,EAAE,CAAC;YACnF,MAAM,aAAa,GAAG,kBAAkB,CACpC,MAAM,CAAC,KAAK,CACyC,CAAC;YAC1D,MAAM,SAAS,GAAkB;gBAC7B,KAAK,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;gBACrB,0FAA0F;gBAC1F,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI;gBAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,KAAK;gBAC9B,EAAE,EAAE,IAAI,EAAE;gBACV,SAAS,EAAE;oBACP,GAAG,mBAAmB;oBACtB,UAAU,EAAE,aAAa,CAAC,WAAY;iBACzC;gBACD,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,qBAAqB,CAAC,KAAK;aAC7D,CAAC;YACF,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACxB,CAAC;QAED,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEX,OAAO;QACH,cAAc;QACd,WAAW;KACd,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"useTransformFilters.js","sourceRoot":"","sources":["../../../src/components/Filters/useTransformFilters.tsx"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAGH,aAAa,EAKb,qBAAqB,GAGxB,MAAM,eAAe,CAAC;AAgBvB,OAAO,EAAC,sBAAsB,EAAC,MAAM,WAAW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IAAI;gBAC3C,MAAM,EAAE,MAAM,CAAC,MAAM,IAAI,KAAK;gBAC9B,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE;gBAC9B,SAAS,EAAE;oBACP,GAAG,mBAAmB;oBACtB,UAAU,EAAE,aAAa,CAAC,WAAY;iBACzC;gBACD,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,qBAAqB,CAAC,KAAK;aAC7D,CAAC;YACF,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACxB,CAAC;QAED,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;IAEX,OAAO;QACH,cAAc;QACd,WAAW;KACd,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 {\n type AttributeDetailsLinkAttributeFragment,\n type AttributeDetailsTreeAttributeFragment,\n AttributeType,\n type ExplorerAttributesQuery,\n type ExplorerLinkAttributeQuery,\n type GetViewsListQuery,\n type LinkAttributeDetailsFragment,\n RecordFilterCondition,\n type StandardAttributeDetailsFragment,\n type ViewDetailsFilterFragment,\n} from '_ui/_gqlTypes';\nimport {\n type UIFilter,\n type IUIFilterBaseAttribute,\n type IUIFilterLink,\n type IUIFilterLinkValueList,\n type IUIFilterStandard,\n type IUIFilterStandardValueList,\n type IUIFilterThrough,\n type IUIFilterTree,\n type ValidFieldFilter,\n type ValidFieldFilterLinkValuesList,\n type ValidFieldFilterStandardValuesList,\n type ValidFieldFilterThrough,\n type ValidFilter,\n} from './_types';\nimport {ThroughConditionFilter} from '_ui/types';\nimport {isLinkAttribute, isStandardAttribute, isTreeAttribute} from '_ui/_utils/attributeType';\nimport {localizedTranslation} from '@leav/utils';\nimport {useLang} from '_ui/hooks';\nimport {valueListTextConditions} from './filter-items/filter-type/useConditionOptionsByType';\n\nconst _isValidFieldFilter = (filter: ViewDetailsFilterFragment | UIFilter): filter is ValidFieldFilter =>\n !!filter.field;\n\nconst _isValidFieldFilterThrough = (filter: ValidFilter): filter is ValidFieldFilterThrough =>\n filter.condition === ThroughConditionFilter.THROUGH && !!filter.subCondition && !!filter.subField;\n\nconst _isValidFieldFilterStandardValuesList = (\n filter: ValidFilter,\n attribute: NonNullable<ExplorerAttributesQuery['attributes']>['list'][number],\n): filter is ValidFieldFilterStandardValuesList & {attribute: StandardAttributeDetailsFragment} =>\n valueListTextConditions.includes(filter.condition) &&\n [AttributeType.simple, AttributeType.advanced].includes(attribute.type) &&\n 'valuesList' in attribute &&\n !!attribute.valuesList?.enable;\n\nconst _isValidFieldFilterLinkValuesList = (\n filter: ValidFilter,\n attribute: NonNullable<ExplorerAttributesQuery['attributes']>['list'][number],\n): filter is ValidFieldFilterLinkValuesList & {attribute: LinkAttributeDetailsFragment} =>\n valueListTextConditions.includes(filter.condition) &&\n [AttributeType.simple_link, AttributeType.advanced_link].includes(attribute.type) &&\n 'valuesList' in attribute &&\n !!attribute.valuesList?.enable;\n\ntype AttributeDetailsLinkAttributeWithPermissionsFragment = AttributeDetailsLinkAttributeFragment & {\n permissions: {\n access_attribute: boolean;\n };\n};\ntype AttributeDetailsTreeAttributeWithPermissionsFragment = AttributeDetailsTreeAttributeFragment & {\n permissions: {\n access_attribute: boolean;\n };\n};\n\nexport const isLinkAttributeDetails = (\n linkAttributeData: NonNullable<ExplorerLinkAttributeQuery['attributes']>['list'][number],\n): linkAttributeData is LinkAttributeDetailsFragment & {\n id: string;\n multiple_values: boolean;\n permissions: {\n access_attribute: boolean;\n edit_value: boolean;\n };\n} => 'linked_library' in linkAttributeData;\n\nexport type ValidFiltersArgument = GetViewsListQuery['views']['list'][number]['filters'] | UIFilter[];\n\nexport type AttributesById = Record<string, NonNullable<ExplorerAttributesQuery['attributes']>['list'][number]>;\n\nexport const useTransformFilters = () => {\n const {lang} = useLang();\n\n const toValidFilters = (filters: ValidFiltersArgument): ValidFilter[] =>\n (filters ?? []).reduce<ValidFilter[]>((acc, filter) => {\n if (!_isValidFieldFilter(filter)) {\n return acc;\n }\n const _isThroughFilter = filter.field.includes('.');\n\n if (_isThroughFilter) {\n const [field, subField] = filter.field.split('.');\n const throughFilter: ValidFieldFilterThrough = {\n field,\n subField,\n value: filter.value ?? null,\n hidden: filter.hidden ?? false,\n condition: ThroughConditionFilter.THROUGH,\n subCondition: filter.condition,\n };\n acc.push(throughFilter);\n } else {\n acc.push(filter);\n }\n\n return acc;\n }, []);\n\n const toUIFilters = ({\n filters,\n attributesDataById,\n }: {\n filters: ValidFilter[];\n attributesDataById: AttributesById;\n }): UIFilter[] =>\n (filters ?? []).reduce<UIFilter[]>((acc, filter) => {\n if (!attributesDataById[filter.field]) {\n console.warn(`Attribute ${filter.field} from user view not found in database.`);\n return acc;\n }\n\n const filterAttributeBase: IUIFilterBaseAttribute = {\n id: attributesDataById[filter.field].id,\n label: localizedTranslation(attributesDataById[filter.field].label, lang),\n type: attributesDataById[filter.field].type,\n };\n\n // filter is standardFilter\n if (isStandardAttribute(filterAttributeBase.type)) {\n const attributeData = attributesDataById[filter.field];\n if (_isValidFieldFilterStandardValuesList(filter, attributeData)) {\n const newFilter: IUIFilterStandardValueList = {\n field: filter.field,\n // TODO : save filter values as string[] when filter and handle fields with libraries\n value: filter.value ? [filter.value] : [],\n hidden: filter.hidden ?? false,\n id: window.crypto.randomUUID(),\n condition: (filter.condition as RecordFilterCondition) ?? null,\n attribute: {\n ...filterAttributeBase,\n format: attributeData.format!,\n valuesList: (attributeData as StandardAttributeDetailsFragment).valuesList!,\n },\n };\n acc.push(newFilter);\n } else {\n const newFilter: IUIFilterStandard = {\n field: filter.field,\n value: filter.value ?? null,\n hidden: filter.hidden ?? false,\n id: window.crypto.randomUUID(),\n condition: (filter.condition as RecordFilterCondition) ?? null,\n attribute: {\n ...filterAttributeBase,\n format: attributeData.format!,\n },\n };\n acc.push(newFilter);\n }\n }\n\n if (isLinkAttribute(filterAttributeBase.type)) {\n const attributeData = attributesDataById[\n filter.field\n ] as AttributeDetailsLinkAttributeWithPermissionsFragment;\n if (_isValidFieldFilterThrough(filter)) {\n const newFilter: IUIFilterThrough = {\n field: filter.field,\n value: filter.value ?? null,\n hidden: filter.hidden ?? false,\n id: window.crypto.randomUUID(),\n condition: filter.condition,\n attribute: {\n ...filterAttributeBase,\n linkedLibrary: attributeData.linked_library!,\n },\n subCondition: filter.subCondition ?? null,\n subField: filter.subField,\n };\n acc.push(newFilter);\n } else if (_isValidFieldFilterLinkValuesList(filter, attributeData)) {\n const newFilter: IUIFilterLinkValueList = {\n field: filter.field,\n // TODO : save filter values as string[] when filter and handle fields with libraries\n value: filter.value ? [filter.value] : [],\n hidden: filter.hidden ?? false,\n id: window.crypto.randomUUID(),\n condition: filter.condition,\n attribute: {\n ...filterAttributeBase,\n linkedLibrary: attributeData.linked_library!,\n valuesList: (attributeData as LinkAttributeDetailsFragment).valuesList!,\n },\n };\n\n acc.push(newFilter);\n } else {\n const newFilter: IUIFilterLink = {\n field: filter.field,\n value: filter.value ?? null,\n hidden: filter.hidden ?? false,\n id: window.crypto.randomUUID(),\n condition: filter.condition,\n attribute: {\n ...filterAttributeBase,\n linkedLibrary: attributeData.linked_library!,\n },\n };\n\n acc.push(newFilter);\n }\n }\n\n if (isTreeAttribute(filterAttributeBase.type) && !_isValidFieldFilterThrough(filter)) {\n const attributeData = attributesDataById[\n filter.field\n ] as AttributeDetailsTreeAttributeWithPermissionsFragment;\n const newFilter: IUIFilterTree = {\n field: [filter.field],\n // TODO : save filter values as string[] when tree filter and handle fields with libraries\n value: filter.value ? [filter.value] : null,\n hidden: filter.hidden ?? false,\n id: window.crypto.randomUUID(),\n attribute: {\n ...filterAttributeBase,\n linkedTree: attributeData.linked_tree!,\n },\n condition: filter.condition ?? RecordFilterCondition.EQUAL,\n };\n acc.push(newFilter);\n }\n\n return acc;\n }, []);\n\n return {\n toValidFilters,\n toUIFilters,\n };\n};\n"]}
@@ -35,8 +35,8 @@ function FloatingMenu({ actions, moreActions, style, size = 'small' }) {
35
35
  items: moreActions.map(moreAction => ({
36
36
  key: moreAction.title,
37
37
  onClick: moreAction.onClick,
38
- label: (_jsxs(_Fragment, { children: [moreAction.icon, " ", moreAction.title] }))
39
- }))
38
+ label: (_jsxs(_Fragment, { children: [moreAction.icon, " ", moreAction.title] })),
39
+ })),
40
40
  }, children: _jsx(Button, { size: size, icon: _jsx(EllipsisOutlined, {}), "aria-label": t('floating_menu.more_actions'), title: t('floating_menu.more_actions'), shape: "circle" }) }) }, "more_actions"))] }));
41
41
  }
42
42
  export default FloatingMenu;
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingMenu.js","sourceRoot":"","sources":["../../../src/components/FloatingMenu/FloatingMenu.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,QAAQ,EAAE,OAAO,EAAC,MAAM,MAAM,CAAC;AACvC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,OAAO,MAAwB,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,oBAAoB,EAAC,MAAM,gCAAgC,CAAC;AAUpE,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAA6B;;;;;;;;;;;;;;;;MAgB7D,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa;CACzB,CAAC;AAEF,SAAS,YAAY,CAAC,EAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,IAAI,GAAG,OAAO,EAAqB;IACnF,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IAEnC,OAAO,CACH,MAAC,mBAAmB,mBACJ,eAAe,EAC3B,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,CAAC,CAAC,EAAE;YACT,CAAC,CAAC,eAAe,EAAE,CAAC;YACp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KAAK,EAAE,CAAC,CAAC,wCAAwC,CAAC,YACvD,KAAC,QAAQ,IACL,SAAS,EAAC,aAAa,EACvB,IAAI,EAAE;wBACF,SAAS,EAAE,uBAAuB;wBAClC,KAAK,EAAE,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;4BAClC,GAAG,EAAE,UAAU,CAAC,KAAK;4BACrB,OAAO,EAAE,UAAU,CAAC,OAAO;4BAC3B,KAAK,EAAE,CACH,8BACK,UAAU,CAAC,IAAI,OAAG,UAAU,CAAC,KAAK,IACpC,CACN;yBACJ,CAAC,CAAC;qBACN,YAED,KAAC,MAAM,IACH,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,KAAC,gBAAgB,KAAG,gBACd,CAAC,CAAC,4BAA4B,CAAC,EAC3C,KAAK,EAAE,CAAC,CAAC,4BAA4B,CAAC,EACtC,KAAK,EAAC,QAAQ,GAChB,GACK,IAvBkD,cAAc,CAwBrE,CACb,IACiB,CACzB,CAAC;AACN,CAAC;AAED,eAAe,YAAY,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {EllipsisOutlined} from '@ant-design/icons';\nimport {Dropdown, Tooltip} from 'antd';\nimport Button from 'antd/lib/button';\nimport {type SizeType} from 'antd/lib/config-provider/SizeContext';\nimport styled, {type CSSObject} from 'styled-components';\nimport {useSharedTranslation} from '_ui/hooks/useSharedTranslation';\nimport {type FloatingMenuAction, type IFloatingMenuActionWithBtn, type IFloatingMenuActionWithIcon} from './_types';\n\nexport interface IFloatingMenuProps {\n actions: FloatingMenuAction[];\n moreActions?: IFloatingMenuActionWithIcon[];\n size?: SizeType;\n style?: React.CSSProperties;\n}\n\nconst FloatingMenuWrapper = styled.div<{overrideStyle?: CSSObject}>`\n position: absolute;\n z-index: 1000;\n right: 0;\n top: 50%;\n transform: translateY(-50%); // center vertically\n\n display: flex;\n justify-content: space-around;\n padding: 0.5rem;\n\n & > * {\n margin: 0 0.2rem;\n box-shadow: 0px 2px 6px #0000002f;\n }\n\n ${p => p.overrideStyle}\n`;\n\nfunction FloatingMenu({actions, moreActions, style, size = 'small'}: IFloatingMenuProps): JSX.Element {\n const {t} = useSharedTranslation();\n\n return (\n <FloatingMenuWrapper\n data-testid=\"floating-menu\"\n className=\"floating-menu\"\n style={style}\n onClick={e => {\n e.stopPropagation();\n e.preventDefault();\n }}\n >\n {actions.map((action, i) => (\n <Tooltip title={action.title} key={action.title ?? i}>\n {(action as IFloatingMenuActionWithBtn).button ?? (\n <Button\n shape=\"circle\"\n size={(action as IFloatingMenuActionWithIcon).size}\n icon={(action as IFloatingMenuActionWithIcon).icon}\n onClick={(action as IFloatingMenuActionWithIcon).onClick}\n />\n )}\n </Tooltip>\n ))}\n {!!moreActions?.length && (\n <Tooltip title={t('items_list.table.actions-tooltips.more')} key=\"more_actions\">\n <Dropdown\n placement=\"bottomRight\"\n menu={{\n className: 'floating-menu-overlay',\n items: moreActions.map(moreAction => ({\n key: moreAction.title,\n onClick: moreAction.onClick,\n label: (\n <>\n {moreAction.icon} {moreAction.title}\n </>\n ),\n })),\n }}\n >\n <Button\n size={size}\n icon={<EllipsisOutlined />}\n aria-label={t('floating_menu.more_actions')}\n title={t('floating_menu.more_actions')}\n shape=\"circle\"\n />\n </Dropdown>\n </Tooltip>\n )}\n </FloatingMenuWrapper>\n );\n}\n\nexport default FloatingMenu;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/FloatingMenu/_types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../src/components/FloatingMenu/_types.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type ButtonSize} from 'antd/lib/button';\n\nexport interface IFloatingMenuActionWithBtn extends IFloatingMenuActionCommon {\n button?: React.ReactNode;\n}\n\nexport interface IFloatingMenuActionWithIcon extends IFloatingMenuActionCommon {\n icon?: React.ReactNode;\n onClick?: () => void;\n size?: ButtonSize;\n}\n\nexport interface IFloatingMenuActionCommon {\n title?: string;\n}\n\nexport type FloatingMenuAction = IFloatingMenuActionWithIcon | IFloatingMenuActionWithBtn;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/FloatingMenu/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/FloatingMenu/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,cAAc,UAAU,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\nexport {default as FloatingMenu} from './FloatingMenu';\nexport * from './_types';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ImageLoading.js","sourceRoot":"","sources":["../../../src/components/ImageLoading/ImageLoading.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,MAAM,CAAC;AAC9B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,mBAAmB,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;;;;;;;;;;;;;CAajD,CAAC;AAMF,SAAS,YAAY,CAAC,EAAC,KAAK,EAAqB;IAC7C,kHAAkH;IAClH,+EAA+E;IAC/E,OAAO,KAAC,mBAAmB,IAAC,KAAK,EAAE,EAAC,GAAG,KAAK,EAAC,EAAE,SAAS,EAAC,qBAAqB,GAAG,CAAC;AACtF,CAAC;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ImageLoading.js","sourceRoot":"","sources":["../../../src/components/ImageLoading/ImageLoading.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,QAAQ,EAAC,MAAM,MAAM,CAAC;AAC9B,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,mBAAmB,GAAG,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;;;;;;;;;;;;;CAajD,CAAC;AAMF,SAAS,YAAY,CAAC,EAAC,KAAK,EAAqB;IAC7C,kHAAkH;IAClH,+EAA+E;IAC/E,OAAO,KAAC,mBAAmB,IAAC,KAAK,EAAE,EAAC,GAAG,KAAK,EAAC,EAAE,SAAS,EAAC,qBAAqB,GAAG,CAAC;AACtF,CAAC;AAED,eAAe,YAAY,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {Skeleton} from 'antd';\nimport styled from 'styled-components';\n\nconst CustomSkeletonImage = styled(Skeleton.Image)`\n &&& {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n\n .ant-skeleton-image-svg {\n width: 30%;\n height: 30%;\n }\n }\n`;\n\ninterface IImageLoadingProps {\n style?: React.CSSProperties;\n}\n\nfunction ImageLoading({style}: IImageLoadingProps): JSX.Element {\n // Setting the className manually is a workaround for a probable bug in antd: the active flag is not allowed by TS\n // and ignored at runtime. Check this when upgrading antd (written at v4.20.4).\n return <CustomSkeletonImage style={{...style}} className=\"ant-skeleton-active\" />;\n}\n\nexport default ImageLoading;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ImageLoading/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ImageLoading/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,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\nexport {default as ImageLoading} from './ImageLoading';\n"]}
@@ -20,7 +20,7 @@ function ImageMissing({ style }) {
20
20
  justifyContent: 'center',
21
21
  fontSize: style.height ? `calc(${style.height} * 0.6)` : '120px',
22
22
  color: themeVars.secondaryTextColor,
23
- ...style
23
+ ...style,
24
24
  } }) }));
25
25
  }
26
26
  export default ImageMissing;
@@ -1 +1 @@
1
- {"version":3,"file":"ImageMissing.js","sourceRoot":"","sources":["../../../src/components/ImageMissing/ImageMissing.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAE1C,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;CAQzB,CAAC;AAMF,SAAS,YAAY,CAAC,EAAC,KAAK,EAAqB;IAC7C,OAAO,CACH,KAAC,OAAO,cACJ,KAAC,eAAe,IACZ,KAAK,EAAE;gBACH,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,OAAO;gBAChE,KAAK,EAAE,SAAS,CAAC,kBAAkB;gBACnC,GAAG,KAAK;aACX,GACH,GACI,CACb,CAAC;AACN,CAAC;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"ImageMissing.js","sourceRoot":"","sources":["../../../src/components/ImageMissing/ImageMissing.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAC;AAE1C,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;CAQzB,CAAC;AAMF,SAAS,YAAY,CAAC,EAAC,KAAK,EAAqB;IAC7C,OAAO,CACH,KAAC,OAAO,cACJ,KAAC,eAAe,IACZ,KAAK,EAAE;gBACH,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,OAAO;gBAChE,KAAK,EAAE,SAAS,CAAC,kBAAkB;gBACnC,GAAG,KAAK;aACX,GACH,GACI,CACb,CAAC;AACN,CAAC;AAED,eAAe,YAAY,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {PictureOutlined} from '@ant-design/icons';\nimport styled from 'styled-components';\nimport {themeVars} from '../../antdTheme';\n\nconst Wrapper = styled.div`\n &&& {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n }\n`;\n\ninterface IImageMissingProps {\n style?: React.CSSProperties;\n}\n\nfunction ImageMissing({style}: IImageMissingProps): JSX.Element {\n return (\n <Wrapper>\n <PictureOutlined\n style={{\n display: 'flex',\n justifyContent: 'center',\n fontSize: style.height ? `calc(${style.height} * 0.6)` : '120px',\n color: themeVars.secondaryTextColor,\n ...style,\n }}\n />\n </Wrapper>\n );\n}\n\nexport default ImageMissing;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ImageMissing/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ImageMissing/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,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\nexport {default as ImageMissing} from './ImageMissing';\n"]}
@@ -34,7 +34,7 @@ function ImportModal({ onClose, library, open, availableLibraries, resultExtraBu
34
34
  // Retrieve attributes list
35
35
  const [runGetAttributes] = useGetAttributesByLibLazyQuery({
36
36
  fetchPolicy: 'cache-and-network',
37
- onError: error => message.error(error.message)
37
+ onError: error => message.error(error.message),
38
38
  });
39
39
  const [runImport, { error: importError }] = useImportExcelMutation({
40
40
  fetchPolicy: 'no-cache',
@@ -50,7 +50,7 @@ function ImportModal({ onClose, library, open, availableLibraries, resultExtraBu
50
50
  }
51
51
  importDispatch({ type: ImportReducerActionTypes.SET_IMPORT_ERROR, importError: errorMessage });
52
52
  importDispatch({ type: ImportReducerActionTypes.SET_CURRENT_STEP, currentStep: ImportSteps.DONE });
53
- }
53
+ },
54
54
  });
55
55
  const _runImport = async () => {
56
56
  importDispatch({ type: ImportReducerActionTypes.SET_CURRENT_STEP, currentStep: ImportSteps.PROCESSING });
@@ -66,10 +66,10 @@ function ImportModal({ onClose, library, open, availableLibraries, resultExtraBu
66
66
  keyIndex: Number(sheet.keyColumnIndex),
67
67
  linkAttribute: sheet.linkAttribute,
68
68
  keyToIndex: Number(sheet.keyToColumnIndex),
69
- treeLinkLibrary: sheet.treeLinkLibrary
69
+ treeLinkLibrary: sheet.treeLinkLibrary,
70
70
  })),
71
- ...(!!scheduleDate && { startAt: scheduleDate.unix() })
72
- }
71
+ ...(!!scheduleDate && { startAt: scheduleDate.unix() }),
72
+ },
73
73
  });
74
74
  }
75
75
  catch (err) {
@@ -96,18 +96,18 @@ function ImportModal({ onClose, library, open, availableLibraries, resultExtraBu
96
96
  [ImportSteps.SELECT_FILE]: 'import.file_configuration',
97
97
  [ImportSteps.CONFIG]: 'import.start',
98
98
  [ImportSteps.PROCESSING]: 'global.close',
99
- [ImportSteps.DONE]: 'global.close'
99
+ [ImportSteps.DONE]: 'global.close',
100
100
  };
101
101
  const validateButtonIcon = {
102
102
  [ImportSteps.SELECT_FILE]: _jsx(RightOutlined, {}),
103
103
  [ImportSteps.CONFIG]: null,
104
104
  [ImportSteps.PROCESSING]: null,
105
- [ImportSteps.DONE]: null
105
+ [ImportSteps.DONE]: null,
106
106
  };
107
107
  const validateButtonLabel = (_jsxs(Space, { children: [t(validateButtonText[currentStep]), validateButtonIcon[currentStep]] }));
108
108
  const _handleGetAttributes = async (attributesLib) => {
109
109
  const { error, data } = await runGetAttributes({
110
- variables: { library: attributesLib }
110
+ variables: { library: attributesLib },
111
111
  });
112
112
  if (error) {
113
113
  message.error(error.message);
@@ -162,25 +162,25 @@ function ImportModal({ onClose, library, open, availableLibraries, resultExtraBu
162
162
  {
163
163
  label: t('import.import_schedule'),
164
164
  key: '1',
165
- icon: _jsx(FieldTimeOutlined, {})
166
- }
165
+ icon: _jsx(FieldTimeOutlined, {}),
166
+ },
167
167
  ],
168
- onClick: _onScheduleImportBtnClick
168
+ onClick: _onScheduleImportBtnClick,
169
169
  }, children: validateButtonLabel })) : (_jsx(Button, { disabled: !okBtn, className: "submit-btn", title: buttonTitle, type: "primary", onClick: _onOk, children: validateButtonLabel })), _jsx(Button, { disabled: currentStep === ImportSteps.DONE, onClick: onClose, children: t('global.cancel') })] }));
170
170
  const stepsItems = [
171
171
  {
172
- title: t('import.file_selection')
172
+ title: t('import.file_selection'),
173
173
  },
174
174
  {
175
- title: t('import.file_configuration')
175
+ title: t('import.file_configuration'),
176
176
  },
177
177
  {
178
- title: t('import.in_progress')
178
+ title: t('import.in_progress'),
179
179
  },
180
180
  {
181
181
  title: t('import.import_done'),
182
- status: importError ? 'error' : null
183
- }
182
+ status: importError ? 'error' : null,
183
+ },
184
184
  ];
185
185
  return (_jsxs(_Fragment, { children: [showImportScheduleModal && (_jsx(ImportScheduleModal, { scheduleDate: scheduleDate, isModalOpen: showImportScheduleModal, onChangeScheduleDate: _onChangeScheduleImport, onCancelImportScheduleModal: _onCancelScheduleImport, onValidateScheduleImport: _onValidateScheduleImport })), _jsx(ImportReducerContext.Provider, { value: { state, dispatch: importDispatch }, children: _jsxs(Modal, { title: t('import.title'), okText: validateButtonLabel, cancelText: t('global.cancel'), onOk: _onOk, onCancel: onClose, open: open, closable: true, width: "90vw", centered: true, confirmLoading: currentStep === ImportSteps.PROCESSING, styles: { body: { height: 'calc(100vh - 10rem)' } }, okButtonProps: { disabled: !okBtn, className: 'submit-btn', title: buttonTitle }, cancelButtonProps: { disabled: currentStep === ImportSteps.DONE }, destroyOnClose: true, footer: modalFooter, children: [_jsx(KitSteps, { current: currentStep, style: { marginBottom: '2em' }, items: stepsItems }), _jsx(Content, { children: _jsx(Suspense, { fallback: _jsx(Loading, {}), children: _getStepContent() }) })] }) })] }));
186
186
  }