@leav/ui 1.4.1-e0350ae1 → 1.4.1-e9a7d5f9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1094) hide show
  1. package/dist/__mocks__/common/application.js +4 -4
  2. package/dist/__mocks__/common/application.js.map +1 -1
  3. package/dist/__mocks__/common/attribute.js +34 -34
  4. package/dist/__mocks__/common/attribute.js.map +1 -1
  5. package/dist/__mocks__/common/filter.js +4 -4
  6. package/dist/__mocks__/common/filter.js.map +1 -1
  7. package/dist/__mocks__/common/form.js +58 -58
  8. package/dist/__mocks__/common/form.js.map +1 -1
  9. package/dist/__mocks__/common/import.js +5 -5
  10. package/dist/__mocks__/common/import.js.map +1 -1
  11. package/dist/__mocks__/common/label.js +1 -1
  12. package/dist/__mocks__/common/label.js.map +1 -1
  13. package/dist/__mocks__/common/library.js +25 -25
  14. package/dist/__mocks__/common/library.js.map +1 -1
  15. package/dist/__mocks__/common/mockSearchContextProvider.js +1 -1
  16. package/dist/__mocks__/common/mockSearchContextProvider.js.map +1 -1
  17. package/dist/__mocks__/common/record.js +3 -3
  18. package/dist/__mocks__/common/record.js.map +1 -1
  19. package/dist/__mocks__/common/tree.js +7 -7
  20. package/dist/__mocks__/common/tree.js.map +1 -1
  21. package/dist/__mocks__/common/treeElements.js +14 -14
  22. package/dist/__mocks__/common/treeElements.js.map +1 -1
  23. package/dist/__mocks__/common/value.js +6 -6
  24. package/dist/__mocks__/common/value.js.map +1 -1
  25. package/dist/__mocks__/common/versionProfile.js +1 -1
  26. package/dist/__mocks__/common/versionProfile.js.map +1 -1
  27. package/dist/__mocks__/common/view.js +5 -5
  28. package/dist/__mocks__/common/view.js.map +1 -1
  29. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +10 -10
  30. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js.map +1 -1
  31. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +5 -5
  32. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js.map +1 -1
  33. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +12 -12
  34. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js.map +1 -1
  35. package/dist/__mocks__/react-i18next.js +6 -6
  36. package/dist/__mocks__/react-i18next.js.map +1 -1
  37. package/dist/_gqlTypes/index.d.ts +0 -5
  38. package/dist/_gqlTypes/index.js +2 -8
  39. package/dist/_gqlTypes/index.js.map +1 -1
  40. package/dist/_queries/applications/applicationDetailsFragment.js.map +1 -1
  41. package/dist/_queries/applications/checkApplicationExistence.js.map +1 -1
  42. package/dist/_queries/applications/getApplicationDetails.js.map +1 -1
  43. package/dist/_queries/applications/getApplicationsModulesQuery.js.map +1 -1
  44. package/dist/_queries/applications/saveApplicationMutation.js.map +1 -1
  45. package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
  46. package/dist/_queries/attributes/checkAttributeExistenceQuery.js.map +1 -1
  47. package/dist/_queries/attributes/deleteAttributeMutation.js.map +1 -1
  48. package/dist/_queries/attributes/getAttributeByIdQuery.js.map +1 -1
  49. package/dist/_queries/attributes/getAttributeWithEmbeddedFields.js.map +1 -1
  50. package/dist/_queries/attributes/getAttributesByLib.js.map +1 -1
  51. package/dist/_queries/attributes/getAttributesQuery.js.map +1 -1
  52. package/dist/_queries/attributes/getVersionProfilesQuery.js.map +1 -1
  53. package/dist/_queries/attributes/getVersionableAttributesByLibrary.js.map +1 -1
  54. package/dist/_queries/attributes/saveAttributeMutation.js.map +1 -1
  55. package/dist/_queries/export/exportQuery.js +2 -2
  56. package/dist/_queries/export/exportQuery.js.map +1 -1
  57. package/dist/_queries/files/createDirectory.js.map +1 -1
  58. package/dist/_queries/files/forcePreviewsGenerationMutation.js.map +1 -1
  59. package/dist/_queries/files/getDirectoryDataQuery.js.map +1 -1
  60. package/dist/_queries/files/getUploadUpdates.js.map +1 -1
  61. package/dist/_queries/files/uploadMutation.js.map +1 -1
  62. package/dist/_queries/import/importExcel.js.map +1 -1
  63. package/dist/_queries/libraries/checkLibraryExistenceQuery.js.map +1 -1
  64. package/dist/_queries/libraries/deleteLibraryMutation.js.map +1 -1
  65. package/dist/_queries/libraries/getLibrariesQuery.js.map +1 -1
  66. package/dist/_queries/libraries/getLibraryByIdQuery.js.map +1 -1
  67. package/dist/_queries/libraries/getLibraryDetailExtendQuery.js.map +1 -1
  68. package/dist/_queries/libraries/getLibraryPermissionsQuery.js.map +1 -1
  69. package/dist/_queries/libraries/getLibraryPreviewsSettingsQuery.js.map +1 -1
  70. package/dist/_queries/libraries/libraryDetailsFragment.js.map +1 -1
  71. package/dist/_queries/libraries/saveLibraryMutation.js.map +1 -1
  72. package/dist/_queries/permissions/isAllowedQuery.js.map +1 -1
  73. package/dist/_queries/records/activateRecordsMutation.js.map +1 -1
  74. package/dist/_queries/records/createRecordMutation.js.map +1 -1
  75. package/dist/_queries/records/deactivateRecordsMutation.js.map +1 -1
  76. package/dist/_queries/records/doesFileExistAsChild.js.map +1 -1
  77. package/dist/_queries/records/getFileDataQuery.js.map +1 -1
  78. package/dist/_queries/records/getRecordColumnsValues.js.map +1 -1
  79. package/dist/_queries/records/getRecordFormQuery.js.map +1 -1
  80. package/dist/_queries/records/getRecordPropertiesQuery.js +1 -1
  81. package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
  82. package/dist/_queries/records/getRecordUpdatesSubscription.js.map +1 -1
  83. package/dist/_queries/records/getRecordsFromLibraryQuery.js.map +1 -1
  84. package/dist/_queries/records/indexRecordsMutation.js.map +1 -1
  85. package/dist/_queries/records/recordFormAttributeFragment.js.map +1 -1
  86. package/dist/_queries/tasks/cancelTaskMutation.js.map +1 -1
  87. package/dist/_queries/trees/checkTreeExistenceQuery.js.map +1 -1
  88. package/dist/_queries/trees/deleteTreeMutation.js.map +1 -1
  89. package/dist/_queries/trees/getTreeByIdQuery.js.map +1 -1
  90. package/dist/_queries/trees/getTreeLibraries.js.map +1 -1
  91. package/dist/_queries/trees/getTreesQuery.js.map +1 -1
  92. package/dist/_queries/trees/saveTreeMutation.js.map +1 -1
  93. package/dist/_queries/trees/treeDetailsFragment.js.map +1 -1
  94. package/dist/_queries/trees/treeNodeChildrenQuery.js.map +1 -1
  95. package/dist/_queries/userData/getUserData.js.map +1 -1
  96. package/dist/_queries/userData/saveUserData.js.map +1 -1
  97. package/dist/_queries/values/deleteValueMutation.js.map +1 -1
  98. package/dist/_queries/values/saveValueBatchMutation.js.map +1 -1
  99. package/dist/_queries/values/valueDetailsFragment.js.map +1 -1
  100. package/dist/_queries/values/valuesVersionFragment.js.map +1 -1
  101. package/dist/_queries/views/deleteViewMutation.js.map +1 -1
  102. package/dist/_queries/views/getViewById.js.map +1 -1
  103. package/dist/_queries/views/getViewsListQuery.js.map +1 -1
  104. package/dist/_queries/views/saveViewMutation.js.map +1 -1
  105. package/dist/_queries/views/viewDetailsFragment.js.map +1 -1
  106. package/dist/_utils/__mocks__/isDevEnv.js.map +1 -1
  107. package/dist/_utils/attributeType.js.map +1 -1
  108. package/dist/_utils/getFiltersFromRequest.js +9 -9
  109. package/dist/_utils/getFiltersFromRequest.js.map +1 -1
  110. package/dist/_utils/getRequestFromFilter.js +5 -5
  111. package/dist/_utils/getRequestFromFilter.js.map +1 -1
  112. package/dist/_utils/index.js +10 -10
  113. package/dist/_utils/index.js.map +1 -1
  114. package/dist/_utils/interleaveElement.js.map +1 -1
  115. package/dist/_utils/isDevEnv.js.map +1 -1
  116. package/dist/_utils/typeguards.js.map +1 -1
  117. package/dist/antdTheme/index.js +6 -6
  118. package/dist/antdTheme/index.js.map +1 -1
  119. package/dist/antdTheme/types.js.map +1 -1
  120. package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
  121. package/dist/components/AttributePicker/AttributePicker.js +1 -1
  122. package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
  123. package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
  124. package/dist/components/AttributePicker/AttributesList/AttributesList.js +29 -29
  125. package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
  126. package/dist/components/AttributePicker/AttributesList/index.js.map +1 -1
  127. package/dist/components/AttributePicker/index.js.map +1 -1
  128. package/dist/components/AttributesSelectionList/Attribute/Attribute.js +2 -2
  129. package/dist/components/AttributesSelectionList/Attribute/Attribute.js.map +1 -1
  130. package/dist/components/AttributesSelectionList/Attribute/index.js.map +1 -1
  131. package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
  132. package/dist/components/AttributesSelectionList/AttributesSelectionList.js +6 -6
  133. package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
  134. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
  135. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js.map +1 -1
  136. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/index.js.map +1 -1
  137. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
  138. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js.map +1 -1
  139. package/dist/components/AttributesSelectionList/SelectedAttributesList/index.js.map +1 -1
  140. package/dist/components/AttributesSelectionList/_types.js.map +1 -1
  141. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
  142. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js.map +1 -1
  143. package/dist/components/AttributesSelectionList/index.js.map +1 -1
  144. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
  145. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js.map +1 -1
  146. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +3 -3
  147. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js.map +1 -1
  148. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
  149. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
  150. package/dist/components/AttributesSelectionList/sharedComponents.js.map +1 -1
  151. package/dist/components/BasicButton/BasicButton.js.map +1 -1
  152. package/dist/components/BasicButton/index.js.map +1 -1
  153. package/dist/components/CreateDirectory/CreateDirectory.js +15 -15
  154. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  155. package/dist/components/CreateDirectory/index.js.map +1 -1
  156. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
  157. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
  158. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
  159. package/dist/components/DeactivateRecordsModal/index.js.map +1 -1
  160. package/dist/components/Dimmer/Dimmer.js.map +1 -1
  161. package/dist/components/Dimmer/index.js.map +1 -1
  162. package/dist/components/EditApplication/EditApplication.d.ts +1 -1
  163. package/dist/components/EditApplication/EditApplication.js +5 -5
  164. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  165. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +18 -18
  166. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
  167. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +1 -1
  168. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +13 -13
  169. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
  170. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
  171. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js.map +1 -1
  172. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/index.js.map +1 -1
  173. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/index.js.map +1 -1
  174. package/dist/components/EditApplication/EditApplicationInfo/index.js.map +1 -1
  175. package/dist/components/EditApplication/_types.js.map +1 -1
  176. package/dist/components/EditApplication/index.js.map +1 -1
  177. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +4 -4
  178. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js.map +1 -1
  179. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +20 -20
  180. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
  181. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +1 -1
  182. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +12 -12
  183. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
  184. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +1 -1
  185. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js.map +1 -1
  186. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/index.js.map +1 -1
  187. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +1 -1
  188. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js.map +1 -1
  189. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/index.js.map +1 -1
  190. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +4 -4
  191. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
  192. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/index.js.map +1 -1
  193. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/index.js.map +1 -1
  194. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/index.js.map +1 -1
  195. package/dist/components/EditAttributeModal/EditAttribute/index.js.map +1 -1
  196. package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
  197. package/dist/components/EditAttributeModal/EditAttributeModal.js +9 -9
  198. package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
  199. package/dist/components/EditAttributeModal/index.js.map +1 -1
  200. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
  201. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +8 -8
  202. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
  203. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +3 -3
  204. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js.map +1 -1
  205. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/index.js.map +1 -1
  206. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +20 -20
  207. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
  208. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/DeleteButton.js.map +1 -1
  209. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/DeleteButton/index.js.map +1 -1
  210. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/index.js.map +1 -1
  211. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +6 -6
  212. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js.map +1 -1
  213. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/index.js.map +1 -1
  214. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +9 -9
  215. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
  216. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/index.js.map +1 -1
  217. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +19 -19
  218. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
  219. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +1 -1
  220. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +18 -18
  221. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
  222. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/index.js.map +1 -1
  223. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/index.js.map +1 -1
  224. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +6 -6
  225. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
  226. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
  227. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +7 -7
  228. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
  229. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +13 -13
  230. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js.map +1 -1
  231. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/index.js.map +1 -1
  232. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/index.js.map +1 -1
  233. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
  234. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +10 -10
  235. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
  236. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/index.js.map +1 -1
  237. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/index.js.map +1 -1
  238. package/dist/components/EditLibraryModal/EditLibrary/index.js.map +1 -1
  239. package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
  240. package/dist/components/EditLibraryModal/EditLibraryModal.js +11 -11
  241. package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
  242. package/dist/components/EditLibraryModal/index.js.map +1 -1
  243. package/dist/components/EditTreeModal/EditTree/EditTree.js +4 -4
  244. package/dist/components/EditTreeModal/EditTree/EditTree.js.map +1 -1
  245. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +20 -20
  246. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
  247. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
  248. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +8 -8
  249. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
  250. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +9 -9
  251. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js.map +1 -1
  252. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/index.js.map +1 -1
  253. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/index.js.map +1 -1
  254. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/index.js.map +1 -1
  255. package/dist/components/EditTreeModal/EditTree/index.js.map +1 -1
  256. package/dist/components/EditTreeModal/EditTreeModal.js +8 -8
  257. package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
  258. package/dist/components/EditTreeModal/index.js.map +1 -1
  259. package/dist/components/EntityCard/EntityCard.d.ts +1 -1
  260. package/dist/components/EntityCard/EntityCard.js +2 -2
  261. package/dist/components/EntityCard/EntityCard.js.map +1 -1
  262. package/dist/components/EntityCard/_types.js.map +1 -1
  263. package/dist/components/EntityCard/index.js.map +1 -1
  264. package/dist/components/EntityPreview/EntityPreview.js.map +1 -1
  265. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +2 -2
  266. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js.map +1 -1
  267. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/SimplisticEntityPreview.js.map +1 -1
  268. package/dist/components/EntityPreview/EntityPreviewList/SimplisticEntityPreview/index.js.map +1 -1
  269. package/dist/components/EntityPreview/EntityPreviewList/index.js.map +1 -1
  270. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
  271. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
  272. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
  273. package/dist/components/EntityPreview/EntityPreviewTile/index.js.map +1 -1
  274. package/dist/components/EntityPreview/_types.js.map +1 -1
  275. package/dist/components/EntityPreview/index.js.map +1 -1
  276. package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
  277. package/dist/components/ErrorBoundary/ErrorBoundary.js.map +1 -1
  278. package/dist/components/ErrorBoundary/ErrorBoundaryContent/ErrorBoundaryContent.js.map +1 -1
  279. package/dist/components/ErrorBoundary/ErrorBoundaryContent/index.js.map +1 -1
  280. package/dist/components/ErrorBoundary/index.js.map +1 -1
  281. package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
  282. package/dist/components/ErrorDisplay/ErrorDisplay.js +5 -5
  283. package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
  284. package/dist/components/ErrorDisplay/index.js.map +1 -1
  285. package/dist/components/ErrorMessage/ErrorMessage.js.map +1 -1
  286. package/dist/components/ErrorMessage/index.js.map +1 -1
  287. package/dist/components/Explorer/DataView.js +8 -8
  288. package/dist/components/Explorer/DataView.js.map +1 -1
  289. package/dist/components/Explorer/Explorer.d.ts +1 -1
  290. package/dist/components/Explorer/Explorer.js +19 -19
  291. package/dist/components/Explorer/Explorer.js.map +1 -1
  292. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -1
  293. package/dist/components/Explorer/ExplorerTitle.js +3 -3
  294. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  295. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  296. package/dist/components/Explorer/IdCard.js.map +1 -1
  297. package/dist/components/Explorer/TableCell.js +11 -11
  298. package/dist/components/Explorer/TableCell.js.map +1 -1
  299. package/dist/components/Explorer/TableNameCell.js +4 -4
  300. package/dist/components/Explorer/TableNameCell.js.map +1 -1
  301. package/dist/components/Explorer/TableTagGroup.js.map +1 -1
  302. package/dist/components/Explorer/_constants.js +2 -2
  303. package/dist/components/Explorer/_constants.js.map +1 -1
  304. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
  305. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js.map +1 -1
  306. package/dist/components/Explorer/_queries/useExplorerData.d.ts +1 -1
  307. package/dist/components/Explorer/_queries/useExplorerData.js +19 -19
  308. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  309. package/dist/components/Explorer/_types.js.map +1 -1
  310. package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
  311. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +28 -28
  312. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  313. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
  314. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
  315. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  316. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
  317. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +13 -13
  318. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  319. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +1 -1
  320. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +12 -12
  321. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  322. package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +1 -1
  323. package/dist/components/Explorer/actions-mass/useExportMassAction.js +20 -15
  324. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -1
  325. package/dist/components/Explorer/actions-mass/useMassActions.d.ts +1 -1
  326. package/dist/components/Explorer/actions-mass/useMassActions.js +13 -13
  327. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  328. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
  329. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
  330. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  331. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
  332. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
  333. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  334. package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +1 -1
  335. package/dist/components/Explorer/actions-primary/usePrimaryActions.js +3 -3
  336. package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
  337. package/dist/components/Explorer/conditionsHelper.js +1 -1
  338. package/dist/components/Explorer/conditionsHelper.js.map +1 -1
  339. package/dist/components/Explorer/index.js.map +1 -1
  340. package/dist/components/Explorer/link-item/LinkModal.js +11 -11
  341. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  342. package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
  343. package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
  344. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
  345. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
  346. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
  347. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
  348. package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
  349. package/dist/components/Explorer/list-saved-views/SavedViews.js.map +1 -1
  350. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
  351. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
  352. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
  353. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  354. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
  355. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js.map +1 -1
  356. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
  357. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
  358. package/dist/components/Explorer/manage-view-settings/configure-display/view-type/SelectViewType.js.map +1 -1
  359. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +13 -13
  360. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  361. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
  362. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  363. package/dist/components/Explorer/manage-view-settings/index.js.map +1 -1
  364. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
  365. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js.map +1 -1
  366. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
  367. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
  368. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
  369. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js.map +1 -1
  370. package/dist/components/Explorer/manage-view-settings/open-view-settings/useEditSettings.js.map +1 -1
  371. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +3 -3
  372. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  373. package/dist/components/Explorer/manage-view-settings/router-menu/SettingItem.js.map +1 -1
  374. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  375. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
  376. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js.map +1 -1
  377. package/dist/components/Explorer/manage-view-settings/save-view/ViewActionsButtons.js.map +1 -1
  378. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -6
  379. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  380. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +7 -7
  381. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  382. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
  383. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js.map +1 -1
  384. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
  385. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js.map +1 -1
  386. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +1 -1
  387. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  388. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +6 -6
  389. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  390. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +8 -8
  391. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
  392. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
  393. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  394. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
  395. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
  396. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
  397. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js.map +1 -1
  398. package/dist/components/Explorer/manage-view-settings/store-view-settings/useViewSettingsContext.js.map +1 -1
  399. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +4 -4
  400. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  401. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -23
  402. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  403. package/dist/components/Explorer/useColumnWidth.js +2 -2
  404. package/dist/components/Explorer/useColumnWidth.js.map +1 -1
  405. package/dist/components/Explorer/useLoadView.js +11 -11
  406. package/dist/components/Explorer/useLoadView.js.map +1 -1
  407. package/dist/components/Explorer/usePagination.js +3 -3
  408. package/dist/components/Explorer/usePagination.js.map +1 -1
  409. package/dist/components/Explorer/useSearchInput.d.ts +1 -1
  410. package/dist/components/Explorer/useSearchInput.js +3 -3
  411. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  412. package/dist/components/Explorer/useTableScrollableHeight.js.map +1 -1
  413. package/dist/components/Explorer/useViewSettingsReducer.js +23 -23
  414. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  415. package/dist/components/FieldsGroup/FieldsGroup.js.map +1 -1
  416. package/dist/components/FieldsGroup/index.js.map +1 -1
  417. package/dist/components/Filters/FiltersProvider.js.map +1 -1
  418. package/dist/components/Filters/_types.js +1 -1
  419. package/dist/components/Filters/_types.js.map +1 -1
  420. package/dist/components/Filters/conditionsHelper.js +1 -1
  421. package/dist/components/Filters/conditionsHelper.js.map +1 -1
  422. package/dist/components/Filters/context/filtersContext.js +1 -1
  423. package/dist/components/Filters/context/filtersContext.js.map +1 -1
  424. package/dist/components/Filters/context/filtersInitialState.js +1 -1
  425. package/dist/components/Filters/context/filtersInitialState.js.map +1 -1
  426. package/dist/components/Filters/context/filtersReducer.js +16 -16
  427. package/dist/components/Filters/context/filtersReducer.js.map +1 -1
  428. package/dist/components/Filters/context/useFiltersReducer.d.ts +1 -1
  429. package/dist/components/Filters/context/useFiltersReducer.js +9 -9
  430. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -1
  431. package/dist/components/Filters/filter-items/CommonFilterItem.js +1 -1
  432. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
  433. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +6 -6
  434. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -1
  435. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js +1 -1
  436. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -1
  437. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js +3 -3
  438. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -1
  439. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js +1 -1
  440. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -1
  441. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js +1 -1
  442. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -1
  443. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js +1 -1
  444. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -1
  445. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js +5 -5
  446. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -1
  447. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js +3 -3
  448. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -1
  449. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js +7 -7
  450. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -1
  451. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js +7 -7
  452. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -1
  453. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js +1 -1
  454. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -1
  455. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js +1 -1
  456. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -1
  457. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js +2 -2
  458. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -1
  459. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -1
  460. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js +14 -14
  461. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
  462. package/dist/components/Filters/index.js.map +1 -1
  463. package/dist/components/Filters/prepareFiltersForRequest.js +22 -22
  464. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -1
  465. package/dist/components/Filters/useFilters.js +4 -4
  466. package/dist/components/Filters/useFilters.js.map +1 -1
  467. package/dist/components/Filters/useFiltersContext.js.map +1 -1
  468. package/dist/components/Filters/useTransformFilters.d.ts +1 -1
  469. package/dist/components/Filters/useTransformFilters.js +17 -17
  470. package/dist/components/Filters/useTransformFilters.js.map +1 -1
  471. package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
  472. package/dist/components/FloatingMenu/FloatingMenu.js.map +1 -1
  473. package/dist/components/FloatingMenu/_types.js.map +1 -1
  474. package/dist/components/FloatingMenu/index.js.map +1 -1
  475. package/dist/components/ImageLoading/ImageLoading.js.map +1 -1
  476. package/dist/components/ImageLoading/index.js.map +1 -1
  477. package/dist/components/ImageMissing/ImageMissing.js +1 -1
  478. package/dist/components/ImageMissing/ImageMissing.js.map +1 -1
  479. package/dist/components/ImageMissing/index.js.map +1 -1
  480. package/dist/components/ImportModal/ImportModal.js +16 -16
  481. package/dist/components/ImportModal/ImportModal.js.map +1 -1
  482. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/ImportKeysSelector.js.map +1 -1
  483. package/dist/components/ImportModal/ImportModalConfigStep/ImportKeysSelector/index.js.map +1 -1
  484. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/ImportMappingRowTitle.js.map +1 -1
  485. package/dist/components/ImportModal/ImportModalConfigStep/ImportMappingRowTitle/index.js.map +1 -1
  486. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
  487. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  488. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
  489. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
  490. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  491. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/index.js.map +1 -1
  492. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
  493. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
  494. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  495. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/index.js.map +1 -1
  496. package/dist/components/ImportModal/ImportModalConfigStep/index.js.map +1 -1
  497. package/dist/components/ImportModal/ImportModalDoneStep/ImportModalDoneStep.js.map +1 -1
  498. package/dist/components/ImportModal/ImportModalDoneStep/index.js.map +1 -1
  499. package/dist/components/ImportModal/ImportModalProcessingStep/ImportModalProcessingStep.js.map +1 -1
  500. package/dist/components/ImportModal/ImportModalProcessingStep/index.js.map +1 -1
  501. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
  502. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  503. package/dist/components/ImportModal/ImportModalSelectFileStep/index.js.map +1 -1
  504. package/dist/components/ImportModal/_types.js.map +1 -1
  505. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
  506. package/dist/components/ImportModal/importReducer/ImportReducerContext.js.map +1 -1
  507. package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
  508. package/dist/components/ImportModal/importReducer/importReducer.js.map +1 -1
  509. package/dist/components/ImportModal/importReducer/index.js.map +1 -1
  510. package/dist/components/ImportModal/index.js.map +1 -1
  511. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
  512. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  513. package/dist/components/LibraryItemsList/CreateNewRecordButton/index.js.map +1 -1
  514. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
  515. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js.map +1 -1
  516. package/dist/components/LibraryItemsList/DisplayOptions/index.js.map +1 -1
  517. package/dist/components/LibraryItemsList/DisplayTypeSelector/DisplayTypeSelector.js.map +1 -1
  518. package/dist/components/LibraryItemsList/DisplayTypeSelector/index.js.map +1 -1
  519. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
  520. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +22 -22
  521. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  522. package/dist/components/LibraryItemsList/FiltersDropdown/index.js.map +1 -1
  523. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
  524. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  525. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
  526. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
  527. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/index.js.map +1 -1
  528. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/BooleanFilter.js.map +1 -1
  529. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/BooleanFilter/index.js.map +1 -1
  530. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/DateBetweenFilter.js.map +1 -1
  531. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateBetweenFilter/index.js.map +1 -1
  532. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/DateFilter.js.map +1 -1
  533. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/DateFilter/index.js.map +1 -1
  534. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/NumericFilter.js.map +1 -1
  535. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/NumericFilter/index.js.map +1 -1
  536. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/TextFilter.js.map +1 -1
  537. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterInput/TextFilter/index.js.map +1 -1
  538. package/dist/components/LibraryItemsList/FiltersPanel/Filter/filterUtils.js.map +1 -1
  539. package/dist/components/LibraryItemsList/FiltersPanel/Filter/index.js.map +1 -1
  540. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/FilterDropdownButton.js.map +1 -1
  541. package/dist/components/LibraryItemsList/FiltersPanel/FilterDropdownButton/index.js.map +1 -1
  542. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
  543. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js.map +1 -1
  544. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/index.js.map +1 -1
  545. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
  546. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
  547. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
  548. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js.map +1 -1
  549. package/dist/components/LibraryItemsList/FiltersPanel/index.js.map +1 -1
  550. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
  551. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js.map +1 -1
  552. package/dist/components/LibraryItemsList/IconViewType/IconViewType.js.map +1 -1
  553. package/dist/components/LibraryItemsList/IconViewType/index.js.map +1 -1
  554. package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
  555. package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
  556. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
  557. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  558. package/dist/components/LibraryItemsList/LibraryItemsListContent/index.js.map +1 -1
  559. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
  560. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js.map +1 -1
  561. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/index.js.map +1 -1
  562. package/dist/components/LibraryItemsList/LibraryItemsListPagination/LibraryItemsListPagination.js.map +1 -1
  563. package/dist/components/LibraryItemsList/LibraryItemsListPagination/index.js.map +1 -1
  564. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
  565. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js.map +1 -1
  566. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/index.js.map +1 -1
  567. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
  568. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js.map +1 -1
  569. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/index.js.map +1 -1
  570. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +1 -1
  571. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js.map +1 -1
  572. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/index.js.map +1 -1
  573. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js.map +1 -1
  574. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
  575. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js.map +1 -1
  576. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/index.js.map +1 -1
  577. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/CellSelection.js.map +1 -1
  578. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellSelection/index.js.map +1 -1
  579. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/ElementsToDisplay/RichTextDisplay.js.map +1 -1
  580. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
  581. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js.map +1 -1
  582. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/index.js.map +1 -1
  583. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/index.js.map +1 -1
  584. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
  585. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js.map +1 -1
  586. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/types.js.map +1 -1
  587. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/utils.js.map +1 -1
  588. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
  589. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js.map +1 -1
  590. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/index.js.map +1 -1
  591. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
  592. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js.map +1 -1
  593. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/index.js.map +1 -1
  594. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
  595. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js.map +1 -1
  596. package/dist/components/LibraryItemsList/LibraryItemsListTable/index.js.map +1 -1
  597. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js.map +1 -1
  598. package/dist/components/LibraryItemsList/MenuItemList/index.js.map +1 -1
  599. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
  600. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
  601. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/index.js.map +1 -1
  602. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +11 -11
  603. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js.map +1 -1
  604. package/dist/components/LibraryItemsList/MenuItemListSelected/index.js.map +1 -1
  605. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +9 -9
  606. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js.map +1 -1
  607. package/dist/components/LibraryItemsList/MenuSelection/index.js.map +1 -1
  608. package/dist/components/LibraryItemsList/MenuView/MenuView.js +20 -20
  609. package/dist/components/LibraryItemsList/MenuView/MenuView.js.map +1 -1
  610. package/dist/components/LibraryItemsList/MenuView/index.js.map +1 -1
  611. package/dist/components/LibraryItemsList/SearchItems/SearchItems.js.map +1 -1
  612. package/dist/components/LibraryItemsList/SearchItems/index.js.map +1 -1
  613. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js.map +1 -1
  614. package/dist/components/LibraryItemsList/Sidebar/index.js.map +1 -1
  615. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +5 -5
  616. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js.map +1 -1
  617. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/index.js.map +1 -1
  618. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
  619. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js.map +1 -1
  620. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +1 -1
  621. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js.map +1 -1
  622. package/dist/components/LibraryItemsList/TileDisplay/index.js.map +1 -1
  623. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
  624. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js.map +1 -1
  625. package/dist/components/LibraryItemsList/VersionsPanel/index.js.map +1 -1
  626. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
  627. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js.map +1 -1
  628. package/dist/components/LibraryItemsList/ViewPanel/EditView/index.js.map +1 -1
  629. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
  630. package/dist/components/LibraryItemsList/ViewPanel/View/View.js.map +1 -1
  631. package/dist/components/LibraryItemsList/ViewPanel/View/index.js.map +1 -1
  632. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
  633. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js.map +1 -1
  634. package/dist/components/LibraryItemsList/ViewPanel/index.js.map +1 -1
  635. package/dist/components/LibraryItemsList/constants.js +1 -1
  636. package/dist/components/LibraryItemsList/constants.js.map +1 -1
  637. package/dist/components/LibraryItemsList/helpers/defaultFilterConditionByAttributeFormat.js.map +1 -1
  638. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js.map +1 -1
  639. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
  640. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js.map +1 -1
  641. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
  642. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js.map +1 -1
  643. package/dist/components/LibraryItemsList/helpers/getFieldsFromView.js.map +1 -1
  644. package/dist/components/LibraryItemsList/helpers/getFieldsKeyFromAttribute.js.map +1 -1
  645. package/dist/components/LibraryItemsList/helpers/getSortFieldByAttributeType.js.map +1 -1
  646. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
  647. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js.map +1 -1
  648. package/dist/components/LibraryItemsList/hooks/useSearchReducer/_types.js.map +1 -1
  649. package/dist/components/LibraryItemsList/hooks/useSearchReducer/index.js.map +1 -1
  650. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchContext.js.map +1 -1
  651. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
  652. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  653. package/dist/components/LibraryItemsList/hooks/useSearchReducer/useSearchReducer.js.map +1 -1
  654. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
  655. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
  656. package/dist/components/LibraryItemsList/index.js.map +1 -1
  657. package/dist/components/LibraryItemsList/manageItems.js +1 -1
  658. package/dist/components/LibraryItemsList/manageItems.js.map +1 -1
  659. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
  660. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js.map +1 -1
  661. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/index.js.map +1 -1
  662. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
  663. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js.map +1 -1
  664. package/dist/components/LibraryItemsList/shared/sharedUtils.js.map +1 -1
  665. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
  666. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +13 -13
  667. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  668. package/dist/components/LibraryPicker/LibrariesList/index.js.map +1 -1
  669. package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
  670. package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
  671. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  672. package/dist/components/LibraryPicker/index.js.map +1 -1
  673. package/dist/components/List/List.js +1 -1
  674. package/dist/components/List/List.js.map +1 -1
  675. package/dist/components/List/index.js.map +1 -1
  676. package/dist/components/Loading/Loading.js.map +1 -1
  677. package/dist/components/Loading/index.js.map +1 -1
  678. package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -1
  679. package/dist/components/Notifications/hooks/useNotificationSubscription.js +2 -2
  680. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -1
  681. package/dist/components/Notifications/index.js.map +1 -1
  682. package/dist/components/RecordCard/RecordCard.d.ts +1 -1
  683. package/dist/components/RecordCard/RecordCard.js +3 -3
  684. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  685. package/dist/components/RecordCard/_types.js.map +1 -1
  686. package/dist/components/RecordCard/index.js.map +1 -1
  687. package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
  688. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  689. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/ValuesVersionSummary.js.map +1 -1
  690. package/dist/components/RecordEdition/EditRecord/ValuesVersionSummary/index.js.map +1 -1
  691. package/dist/components/RecordEdition/EditRecord/index.js.map +1 -1
  692. package/dist/components/RecordEdition/EditRecordBtn/EditRecordBtn.js.map +1 -1
  693. package/dist/components/RecordEdition/EditRecordBtn/index.js.map +1 -1
  694. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
  695. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js.map +1 -1
  696. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
  697. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js.map +1 -1
  698. package/dist/components/RecordEdition/EditRecordButtons/index.js.map +1 -1
  699. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
  700. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  701. package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
  702. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  703. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
  704. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js.map +1 -1
  705. package/dist/components/RecordEdition/EditRecordContent/formConstants.js.map +1 -1
  706. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
  707. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js.map +1 -1
  708. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/index.js.map +1 -1
  709. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/getActiveFieldValues.js.map +1 -1
  710. package/dist/components/RecordEdition/EditRecordContent/helpers/getActiveFieldValues/index.js.map +1 -1
  711. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/index.js.map +1 -1
  712. package/dist/components/RecordEdition/EditRecordContent/helpers/isCurrentVersion/isCurrentVersion.js.map +1 -1
  713. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  714. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js.map +1 -1
  715. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
  716. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js.map +1 -1
  717. package/dist/components/RecordEdition/EditRecordContent/hooks/helpers/getPropertyCacheFieldName.js.map +1 -1
  718. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
  719. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js.map +1 -1
  720. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
  721. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js.map +1 -1
  722. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
  723. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js.map +1 -1
  724. package/dist/components/RecordEdition/EditRecordContent/hooks/useRecordEditionContext.js.map +1 -1
  725. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
  726. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js.map +1 -1
  727. package/dist/components/RecordEdition/EditRecordContent/index.js.map +1 -1
  728. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/index.js.map +1 -1
  729. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
  730. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
  731. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
  732. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js.map +1 -1
  733. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/index.js.map +1 -1
  734. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/DeleteAllValuesBtn.js.map +1 -1
  735. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteAllValuesBtn/index.js.map +1 -1
  736. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/DeleteValueBtn.js.map +1 -1
  737. package/dist/components/RecordEdition/EditRecordContent/shared/DeleteValueBtn/index.js.map +1 -1
  738. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/FieldFooter.js.map +1 -1
  739. package/dist/components/RecordEdition/EditRecordContent/shared/FieldFooter/index.js.map +1 -1
  740. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/InheritedFieldLabel.js.map +1 -1
  741. package/dist/components/RecordEdition/EditRecordContent/shared/InheritedFieldLabel/index.js.map +1 -1
  742. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/NoValue.js.map +1 -1
  743. package/dist/components/RecordEdition/EditRecordContent/shared/NoValue/index.js.map +1 -1
  744. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/UpdatedFieldIcon.js.map +1 -1
  745. package/dist/components/RecordEdition/EditRecordContent/shared/UpdatedFieldIcon/index.js.map +1 -1
  746. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
  747. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js.map +1 -1
  748. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/index.js.map +1 -1
  749. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
  750. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js.map +1 -1
  751. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/index.js.map +1 -1
  752. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/ValuesVersionIndicator.js.map +1 -1
  753. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionIndicator/index.js.map +1 -1
  754. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
  755. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
  756. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  757. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/index.js.map +1 -1
  758. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/ErrorField.js.map +1 -1
  759. package/dist/components/RecordEdition/EditRecordContent/uiElements/ErrorField/index.js.map +1 -1
  760. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/FormDivider.js.map +1 -1
  761. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormDivider/index.js.map +1 -1
  762. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
  763. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js.map +1 -1
  764. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/index.js.map +1 -1
  765. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
  766. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js.map +1 -1
  767. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/index.js.map +1 -1
  768. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +6 -6
  769. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  770. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/index.js.map +1 -1
  771. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/ActionButton.js.map +1 -1
  772. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
  773. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
  774. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
  775. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
  776. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +15 -15
  777. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
  778. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/shared/ExplorerWrapper.js.map +1 -1
  779. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +8 -8
  780. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  781. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
  782. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  783. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +1 -1
  784. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  785. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +1 -1
  786. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  787. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +1 -1
  788. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  789. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +1 -1
  790. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  791. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +1 -1
  792. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  793. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +3 -3
  794. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  795. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +1 -1
  796. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  797. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
  798. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
  799. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  800. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
  801. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  802. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/_types.js.map +1 -1
  803. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/_types.js.map +1 -1
  804. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/index.js.map +1 -1
  805. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/index.js.map +1 -1
  806. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
  807. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
  808. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
  809. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/TextBlock.js.map +1 -1
  810. package/dist/components/RecordEdition/EditRecordContent/uiElements/TextBlock/index.js.map +1 -1
  811. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +7 -7
  812. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  813. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeFieldWrapper.js.map +1 -1
  814. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
  815. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js.map +1 -1
  816. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +1 -1
  817. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  818. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/index.js.map +1 -1
  819. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +2 -2
  820. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  821. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
  822. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
  823. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  824. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
  825. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js.map +1 -1
  826. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/ComputeIndicator.js.map +1 -1
  827. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
  828. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  829. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
  830. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js.map +1 -1
  831. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
  832. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
  833. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  834. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
  835. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  836. package/dist/components/RecordEdition/EditRecordModal/index.js.map +1 -1
  837. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +1 -1
  838. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
  839. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +1 -0
  840. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +17 -4
  841. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  842. package/dist/components/RecordEdition/EditRecordPage/index.js.map +1 -1
  843. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/AttributeSummary.js.map +1 -1
  844. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/index.js.map +1 -1
  845. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
  846. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js.map +1 -1
  847. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
  848. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  849. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/index.js.map +1 -1
  850. package/dist/components/RecordEdition/EditRecordSidebar/EditRecordSidebar.js.map +1 -1
  851. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/PropertiesList.js.map +1 -1
  852. package/dist/components/RecordEdition/EditRecordSidebar/PropertiesList/index.js.map +1 -1
  853. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/RecordInformations.js.map +1 -1
  854. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
  855. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js.map +1 -1
  856. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
  857. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js.map +1 -1
  858. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/index.js.map +1 -1
  859. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
  860. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  861. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/index.js.map +1 -1
  862. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
  863. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js.map +1 -1
  864. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/index.js.map +1 -1
  865. package/dist/components/RecordEdition/EditRecordSidebar/index.js.map +1 -1
  866. package/dist/components/RecordEdition/EditRecordSkeleton/EditRecordSkeleton.js.map +1 -1
  867. package/dist/components/RecordEdition/EditRecordSkeleton/index.js.map +1 -1
  868. package/dist/components/RecordEdition/_types.js.map +1 -1
  869. package/dist/components/RecordEdition/constants.js.map +1 -1
  870. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
  871. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js.map +1 -1
  872. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
  873. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js.map +1 -1
  874. package/dist/components/RecordEdition/editRecordReducer/index.js.map +1 -1
  875. package/dist/components/RecordEdition/editRecordReducer/useEditRecordReducer.js.map +1 -1
  876. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/index.js.map +1 -1
  877. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
  878. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
  879. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.js.map +1 -1
  880. package/dist/components/RecordEdition/index.js.map +1 -1
  881. package/dist/components/RecordHistory/RecordHistory.js +2 -2
  882. package/dist/components/RecordHistory/RecordHistory.js.map +1 -1
  883. package/dist/components/RecordHistory/RecordHistoryGoUpButton.js.map +1 -1
  884. package/dist/components/RecordHistory/RecordHistoryLogEntry.js.map +1 -1
  885. package/dist/components/RecordHistory/_types.js.map +1 -1
  886. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
  887. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
  888. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  889. package/dist/components/RecordHistory/index.js.map +1 -1
  890. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
  891. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js.map +1 -1
  892. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/AudioFile.js.map +1 -1
  893. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/AudioFile/index.js.map +1 -1
  894. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/DocumentFile.js.map +1 -1
  895. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/DocumentFile/index.js.map +1 -1
  896. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +1 -1
  897. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js.map +1 -1
  898. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
  899. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js.map +1 -1
  900. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/index.js.map +1 -1
  901. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
  902. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js.map +1 -1
  903. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/index.js.map +1 -1
  904. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/NoDisplayFile.js.map +1 -1
  905. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/NoDisplayFile/index.js.map +1 -1
  906. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/VideoFile.js.map +1 -1
  907. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/VideoFile/index.js.map +1 -1
  908. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/_types.js.map +1 -1
  909. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/index.js.map +1 -1
  910. package/dist/components/RecordPreviewWithModal/FileModal/_constants.js.map +1 -1
  911. package/dist/components/RecordPreviewWithModal/FileModal/index.js.map +1 -1
  912. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
  913. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js.map +1 -1
  914. package/dist/components/RecordPreviewWithModal/index.js.map +1 -1
  915. package/dist/components/SearchModal/SearchModal.js +1 -1
  916. package/dist/components/SearchModal/SearchModal.js.map +1 -1
  917. package/dist/components/SearchModal/index.js.map +1 -1
  918. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
  919. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  920. package/dist/components/SelectRecordForLinkModal/index.js.map +1 -1
  921. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
  922. package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
  923. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  924. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
  925. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +11 -11
  926. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  927. package/dist/components/SelectTreeNode/SelectTreeNodeContentSkeleton.js.map +1 -1
  928. package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +1 -0
  929. package/dist/components/SelectTreeNode/TreeNodeTitle.js +2 -2
  930. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  931. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  932. package/dist/components/SelectTreeNode/index.js.map +1 -1
  933. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
  934. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
  935. package/dist/components/SelectTreeNodeModalOld/index.js.map +1 -1
  936. package/dist/components/ShowMore/ShowMore.js.map +1 -1
  937. package/dist/components/ShowMore/index.js.map +1 -1
  938. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
  939. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js.map +1 -1
  940. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/SimpleErrorBoundaryContent.js.map +1 -1
  941. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundaryContent/index.js.map +1 -1
  942. package/dist/components/SimpleErrorBoundary/index.js.map +1 -1
  943. package/dist/components/SubmitStateNotifier/SubmitStateNotifier.js.map +1 -1
  944. package/dist/components/SubmitStateNotifier/_types.js.map +1 -1
  945. package/dist/components/SubmitStateNotifier/index.js.map +1 -1
  946. package/dist/components/TreePicker/TreePicker.d.ts +1 -1
  947. package/dist/components/TreePicker/TreePicker.js +1 -1
  948. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  949. package/dist/components/TreePicker/TreesList/TreesList.js +12 -12
  950. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  951. package/dist/components/TreePicker/TreesList/index.js.map +1 -1
  952. package/dist/components/TreePicker/index.js.map +1 -1
  953. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
  954. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
  955. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  956. package/dist/components/TriggerPreviewsGenerationModal/index.js.map +1 -1
  957. package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
  958. package/dist/components/UploadFiles/UploadFiles.js +25 -25
  959. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  960. package/dist/components/UploadFiles/index.js.map +1 -1
  961. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
  962. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
  963. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  964. package/dist/components/ValuesVersionConfigurator/VersionTree/VersionTree.js.map +1 -1
  965. package/dist/components/ValuesVersionConfigurator/VersionTree/index.js.map +1 -1
  966. package/dist/components/ValuesVersionConfigurator/index.js.map +1 -1
  967. package/dist/components/index.d.ts +0 -1
  968. package/dist/components/index.js +0 -1
  969. package/dist/components/index.js.map +1 -1
  970. package/dist/constants.d.ts +2 -0
  971. package/dist/constants.js +4 -2
  972. package/dist/constants.js.map +1 -1
  973. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
  974. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js.map +1 -1
  975. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
  976. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
  977. package/dist/contexts/EditRecordModalContext/index.js.map +1 -1
  978. package/dist/contexts/EditRecordModalContext/useEditRecordModalContext.js.map +1 -1
  979. package/dist/contexts/LangContext/LangContext.js.map +1 -1
  980. package/dist/contexts/LangContext/index.js.map +1 -1
  981. package/dist/contexts/LangContext/types.js.map +1 -1
  982. package/dist/contexts/UserContext/UserContext.js.map +1 -1
  983. package/dist/contexts/UserContext/index.js.map +1 -1
  984. package/dist/contexts/UserContext/types.js.map +1 -1
  985. package/dist/contexts/index.js.map +1 -1
  986. package/dist/gqlFragments/index.js.map +1 -1
  987. package/dist/gqlFragments/recordIdentityFragment.js.map +1 -1
  988. package/dist/gqlPossibleTypes/index.js +1 -1
  989. package/dist/gqlPossibleTypes/index.js.map +1 -1
  990. package/dist/hooks/index.d.ts +1 -0
  991. package/dist/hooks/index.js +1 -0
  992. package/dist/hooks/index.js.map +1 -1
  993. package/dist/hooks/useAntdLocale/index.js.map +1 -1
  994. package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
  995. package/dist/hooks/useAntdLocale/useAntdLocale.js.map +1 -1
  996. package/dist/hooks/useAppLang/index.js.map +1 -1
  997. package/dist/hooks/useAppLang/useAppLang.js.map +1 -1
  998. package/dist/hooks/useAuth/index.js.map +1 -1
  999. package/dist/hooks/useAuth/useAuth.js +1 -1
  1000. package/dist/hooks/useAuth/useAuth.js.map +1 -1
  1001. package/dist/hooks/useCanEditRecord/index.js.map +1 -1
  1002. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
  1003. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  1004. package/dist/hooks/useDebouncedValue/index.js.map +1 -1
  1005. package/dist/hooks/useDebouncedValue/useDebouncedValue.js.map +1 -1
  1006. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
  1007. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js.map +1 -1
  1008. package/dist/hooks/useExecuteSaveViewMutation/index.js.map +1 -1
  1009. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
  1010. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
  1011. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
  1012. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  1013. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
  1014. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js.map +1 -1
  1015. package/dist/hooks/useGetRecordForm/index.js.map +1 -1
  1016. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
  1017. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
  1018. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  1019. package/dist/hooks/useGetRecordUpdatesSubscription/index.js.map +1 -1
  1020. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
  1021. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js.map +1 -1
  1022. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
  1023. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  1024. package/dist/hooks/useIFrameMessenger/messageHandlers.js +4 -4
  1025. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  1026. package/dist/hooks/useIFrameMessenger/schema.d.ts +15 -3
  1027. package/dist/hooks/useIFrameMessenger/schema.js +15 -16
  1028. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  1029. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  1030. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
  1031. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  1032. package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
  1033. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.js.map +1 -1
  1034. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.js.map +1 -1
  1035. package/dist/hooks/useLang/__mocks__/index.js.map +1 -1
  1036. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  1037. package/dist/hooks/useLang/__mocks__/useLang.js.map +1 -1
  1038. package/dist/hooks/useLang/index.js.map +1 -1
  1039. package/dist/hooks/useLang/useLang.js.map +1 -1
  1040. package/dist/hooks/useLibraryVersionTrees/index.js.map +1 -1
  1041. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
  1042. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js.map +1 -1
  1043. package/dist/hooks/useLocalStorage/index.js.map +1 -1
  1044. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -1
  1045. package/dist/hooks/useLoginChecker/index.js.map +1 -1
  1046. package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
  1047. package/dist/hooks/useLoginChecker/useLoginChecker.js.map +1 -1
  1048. package/dist/hooks/useRecordsConsultationHistory/index.js.map +1 -1
  1049. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
  1050. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js.map +1 -1
  1051. package/dist/hooks/useRedirectToLogin/index.js.map +1 -1
  1052. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  1053. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js.map +1 -1
  1054. package/dist/hooks/useRefreshFieldValues/index.js.map +1 -1
  1055. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
  1056. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  1057. package/dist/hooks/useSharedTranslation/__mocks__/index.js.map +1 -1
  1058. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  1059. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
  1060. package/dist/hooks/useSharedTranslation/index.js.map +1 -1
  1061. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
  1062. package/dist/hooks/useSharedTranslation/useSharedTranslation.js.map +1 -1
  1063. package/dist/hooks/useUser/index.js.map +1 -1
  1064. package/dist/hooks/useUser/useUser.js.map +1 -1
  1065. package/dist/hooks/useValuesCacheUpdate/index.js.map +1 -1
  1066. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
  1067. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js.map +1 -1
  1068. package/dist/index.js.map +1 -1
  1069. package/dist/locales/en/shared.json +4 -1
  1070. package/dist/locales/fr/shared.json +4 -1
  1071. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
  1072. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js.map +1 -1
  1073. package/dist/testing/MockedLangContextProvider/index.js.map +1 -1
  1074. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
  1075. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js.map +1 -1
  1076. package/dist/testing/MockedUserContextProvider/index.js.map +1 -1
  1077. package/dist/testing/index.js.map +1 -1
  1078. package/dist/types/attributes.js.map +1 -1
  1079. package/dist/types/index.js.map +1 -1
  1080. package/dist/types/misc.js.map +1 -1
  1081. package/dist/types/records.js.map +1 -1
  1082. package/dist/types/scalars.js.map +1 -1
  1083. package/dist/types/search.js +2 -2
  1084. package/dist/types/search.js.map +1 -1
  1085. package/dist/types/trees.js.map +1 -1
  1086. package/dist/types/values.js.map +1 -1
  1087. package/dist/types/views.js.map +1 -1
  1088. package/package.json +1 -1
  1089. package/dist/components/ExportModal/ExportModal.d.ts +0 -10
  1090. package/dist/components/ExportModal/ExportModal.js +0 -123
  1091. package/dist/components/ExportModal/ExportModal.js.map +0 -1
  1092. package/dist/components/ExportModal/index.d.ts +0 -1
  1093. package/dist/components/ExportModal/index.js +0 -5
  1094. package/dist/components/ExportModal/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"deleteViewMutation.js","sourceRoot":"","sources":["../../../src/_queries/views/deleteViewMutation.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AAUnC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;CAO7B,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"deleteViewMutation.js","sourceRoot":"","sources":["../../../src/_queries/views/deleteViewMutation.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AAUnC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;CAO7B,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {gql} from '@apollo/client';\n\nexport interface IDeleteViewMutation {\n id: string;\n}\n\nexport interface IDeleteViewMutationVariables {\n viewId: string;\n}\n\nconst deleteViewMutation = gql`\n mutation DELETE_VIEW($viewId: String!) {\n deleteView(viewId: $viewId) {\n id\n library\n }\n }\n`;\n\nexport default deleteViewMutation;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"getViewById.js","sourceRoot":"","sources":["../../../src/_queries/views/getViewById.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,yCAAyC,CAAC;AAC/E,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;MAC7B,sBAAsB;MACtB,mBAAmB;;;;;;CAMxB,CAAC"}
1
+ {"version":3,"file":"getViewById.js","sourceRoot":"","sources":["../../../src/_queries/views/getViewById.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,yCAAyC,CAAC;AAC/E,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;MAC7B,sBAAsB;MACtB,mBAAmB;;;;;;CAMxB,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 {gql} from '@apollo/client';\nimport {recordIdentityFragment} from '_ui/gqlFragments/recordIdentityFragment';\nimport viewDetailsFragment from './viewDetailsFragment';\n\nexport const getViewByIdQuery = gql`\n ${recordIdentityFragment}\n ${viewDetailsFragment}\n query GET_VIEW($viewId: String!) {\n view(viewId: $viewId) {\n ...ViewDetails\n }\n }\n`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"getViewsListQuery.js","sourceRoot":"","sources":["../../../src/_queries/views/getViewsListQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;MAC9B,mBAAmB;;;;;;;;;CASxB,CAAC"}
1
+ {"version":3,"file":"getViewsListQuery.js","sourceRoot":"","sources":["../../../src/_queries/views/getViewsListQuery.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;MAC9B,mBAAmB;;;;;;;;;CASxB,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 {gql} from '@apollo/client';\nimport viewDetailsFragment from './viewDetailsFragment';\n\nexport const getViewsListQuery = gql`\n ${viewDetailsFragment}\n query GET_VIEWS_LIST($libraryId: String!) {\n views(library: $libraryId) {\n totalCount\n list {\n ...ViewDetails\n }\n }\n }\n`;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"saveViewMutation.js","sourceRoot":"","sources":["../../../src/_queries/views/saveViewMutation.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,gBAAgB,GAAG,GAAG,CAAA;MACtB,mBAAmB;;;;;;CAMxB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"saveViewMutation.js","sourceRoot":"","sources":["../../../src/_queries/views/saveViewMutation.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,gBAAgB,GAAG,GAAG,CAAA;MACtB,mBAAmB;;;;;;CAMxB,CAAC;AAEF,eAAe,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\nimport {gql} from '@apollo/client';\nimport viewDetailsFragment from './viewDetailsFragment';\n\nconst saveViewMutation = gql`\n ${viewDetailsFragment}\n mutation SAVE_VIEW($view: ViewInput!) {\n saveView(view: $view) {\n ...ViewDetails\n }\n }\n`;\n\nexport default saveViewMutation;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"viewDetailsFragment.js","sourceRoot":"","sources":["../../../src/_queries/views/viewDetailsFragment.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,kBAAkB,CAAC;AAExD,MAAM,mBAAmB,GAAG,GAAG,CAAA;MACzB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD3B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"viewDetailsFragment.js","sourceRoot":"","sources":["../../../src/_queries/views/viewDetailsFragment.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,kBAAkB,CAAC;AAExD,MAAM,mBAAmB,GAAG,GAAG,CAAA;MACzB,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD3B,CAAC;AAEF,eAAe,mBAAmB,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 {gql} from '@apollo/client';\nimport {recordIdentityFragment} from '_ui/gqlFragments';\n\nconst viewDetailsFragment = gql`\n ${recordIdentityFragment}\n fragment ViewDetailsFilter on RecordFilter {\n field\n value\n tree {\n id\n label\n }\n condition\n operator\n }\n\n fragment ViewDetails on View {\n id\n display {\n size\n type\n }\n shared\n created_by {\n id\n whoAmI {\n id\n label\n library {\n id\n }\n }\n }\n label\n description\n color\n filters {\n ...ViewDetailsFilter\n }\n sort {\n field\n order\n }\n valuesVersions {\n treeId\n treeNode {\n id\n record {\n ...RecordIdentity\n }\n }\n }\n attributes {\n id\n }\n }\n`;\n\nexport default viewDetailsFragment;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"isDevEnv.js","sourceRoot":"","sources":["../../../src/_utils/__mocks__/isDevEnv.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC"}
1
+ {"version":3,"file":"isDevEnv.js","sourceRoot":"","sources":["../../../src/_utils/__mocks__/isDevEnv.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nexport const isDevEnv = () => false;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"attributeType.js","sourceRoot":"","sources":["../../src/_utils/attributeType.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAE5C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAmB,EAAE,EAAE,CACnD,IAAI,KAAK,aAAa,CAAC,WAAW,IAAI,IAAI,KAAK,aAAa,CAAC,aAAa,CAAC;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAmB,EAAE,EAAE,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC;AAEpF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAmB,EAAE,EAAE,CACvD,IAAI,KAAK,aAAa,CAAC,MAAM,IAAI,IAAI,KAAK,aAAa,CAAC,QAAQ,CAAC"}
1
+ {"version":3,"file":"attributeType.js","sourceRoot":"","sources":["../../src/_utils/attributeType.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAE5C,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAmB,EAAE,EAAE,CACnD,IAAI,KAAK,aAAa,CAAC,WAAW,IAAI,IAAI,KAAK,aAAa,CAAC,aAAa,CAAC;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAmB,EAAE,EAAE,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI,CAAC;AAEpF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAmB,EAAE,EAAE,CACvD,IAAI,KAAK,aAAa,CAAC,MAAM,IAAI,IAAI,KAAK,aAAa,CAAC,QAAQ,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 {AttributeType} from '_ui/_gqlTypes';\n\nexport const isLinkAttribute = (type: AttributeType) =>\n type === AttributeType.simple_link || type === AttributeType.advanced_link;\n\nexport const isTreeAttribute = (type: AttributeType) => type === AttributeType.tree;\n\nexport const isStandardAttribute = (type: AttributeType) =>\n type === AttributeType.simple || type === AttributeType.advanced;\n"]}
@@ -3,7 +3,7 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  import { isTypeLink } from '@leav/utils';
5
5
  import { defaultLinkAttributeFilterFormat } from '../components/LibraryItemsList/constants';
6
- import { AttributeConditionFilter, FilterType, TreeConditionFilter } from '../types/search';
6
+ import { AttributeConditionFilter, FilterType, TreeConditionFilter, } from '../types/search';
7
7
  import { AttributeType, RecordFilterCondition } from '../_gqlTypes';
8
8
  const _isConditionWithNoValue = (condition) => condition === RecordFilterCondition.IS_EMPTY ||
9
9
  condition === RecordFilterCondition.IS_NOT_EMPTY ||
@@ -26,11 +26,11 @@ export const getFiltersFromRequest = (queryFilters, library, attributes) => {
26
26
  ? {
27
27
  value: queryFilter.condition === AttributeConditionFilter.BETWEEN
28
28
  ? String(JSON.parse(queryFilter.value))
29
- : queryFilter.value
29
+ : queryFilter.value,
30
30
  }
31
31
  : null,
32
32
  active: true,
33
- condition: AttributeConditionFilter[queryFilter.condition] || TreeConditionFilter[queryFilter.condition]
33
+ condition: AttributeConditionFilter[queryFilter.condition] || TreeConditionFilter[queryFilter.condition],
34
34
  };
35
35
  // Get root attribute by first key part
36
36
  const rootAttribute = attributes.find(attr => attr.library === library && attr.id === splitKey[0]);
@@ -44,7 +44,7 @@ export const getFiltersFromRequest = (queryFilters, library, attributes) => {
44
44
  const linkedAttribute = attributes.find(attr => attr.library === rootAttribute?.linkedLibrary?.id && attr.id === linkedAttributeId);
45
45
  filter.attribute = {
46
46
  ...linkedAttribute,
47
- parentAttribute: { ...rootAttribute, format: defaultLinkAttributeFilterFormat }
47
+ parentAttribute: { ...rootAttribute, format: defaultLinkAttributeFilterFormat },
48
48
  };
49
49
  }
50
50
  else {
@@ -57,7 +57,7 @@ export const getFiltersFromRequest = (queryFilters, library, attributes) => {
57
57
  // Only root attribute => search on tree
58
58
  filter.attribute = {
59
59
  ...rootAttribute,
60
- format: defaultLinkAttributeFilterFormat
60
+ format: defaultLinkAttributeFilterFormat,
61
61
  };
62
62
  }
63
63
  else if (libraryId && !linkedTreeAttribute) {
@@ -65,12 +65,12 @@ export const getFiltersFromRequest = (queryFilters, library, attributes) => {
65
65
  filter.type = FilterType.LIBRARY;
66
66
  filter.parentAttribute = {
67
67
  ...rootAttribute,
68
- format: defaultLinkAttributeFilterFormat
68
+ format: defaultLinkAttributeFilterFormat,
69
69
  };
70
70
  filter.library = {
71
71
  id: libraryId,
72
72
  label: rootAttribute.linkedTree.libraries.filter(l => l.library.id === libraryId)?.[0].library
73
- .label ?? null
73
+ .label ?? null,
74
74
  };
75
75
  }
76
76
  else {
@@ -85,9 +85,9 @@ export const getFiltersFromRequest = (queryFilters, library, attributes) => {
85
85
  label: rootAttribute?.linkedTree?.libraries
86
86
  ? rootAttribute.linkedTree.libraries.filter(l => l.library.id === libraryId)?.[0]
87
87
  .library.label
88
- : null
88
+ : null,
89
89
  },
90
- parentAttribute: { ...rootAttribute, format: defaultLinkAttributeFilterFormat }
90
+ parentAttribute: { ...rootAttribute, format: defaultLinkAttributeFilterFormat },
91
91
  };
92
92
  }
93
93
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getFiltersFromRequest.js","sourceRoot":"","sources":["../../src/_utils/getFiltersFromRequest.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,OAAO,EAAC,UAAU,EAAC,MAAM,aAAa,CAAC;AACvC,OAAO,EAAC,gCAAgC,EAAC,MAAM,2CAA2C,CAAC;AAC3F,OAAO,EACH,wBAAwB,EACxB,UAAU,EAMV,mBAAmB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,aAAa,EAAE,qBAAqB,EAAyB,MAAM,eAAe,CAAC;AAE3F,MAAM,uBAAuB,GAAG,CAAC,SAAgC,EAAW,EAAE,CAC1E,SAAS,KAAK,qBAAqB,CAAC,QAAQ;IAC5C,SAAS,KAAK,qBAAqB,CAAC,YAAY;IAChD,SAAS,KAAK,qBAAqB,CAAC,UAAU;I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AAC,CAAC,CAAC,CAAC,OAAO;iCAClF,KAAK,IAAI,IAAI;yBACzB,CAAC;oBACN,CAAC;yBAAM,CAAC;wBACJ,oDAAoD;wBACpD,MAAM,eAAe,GAAG,UAAU,CAAC,IAAI,CACnC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,EAAE,KAAK,mBAAmB,CACxE,CAAC;wBAED,MAA2B,CAAC,SAAS,GAAG,eAAe,CAAC;wBACxD,MAA2B,CAAC,iBAAiB,GAAG;4BAC7C,GAAG,MAAM;4BACT,IAAI,EAAE,UAAU,CAAC,OAAO;4BACxB,OAAO,EAAE;gCACL,EAAE,EAAE,SAAS;gCACb,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS;oCACvC,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,KAAK,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;yCAC1E,OAAO,CAAC,KAAK;oCACpB,CAAC,CAAC,IAAI;6BACb;4BACD,eAAe,EAAE,EAAC,GAAG,aAAa,EAAE,MAAM,EAAE,gCAAgC,EAAC;yBAChF,CAAC;oBACN,CAAC;gBACL,CAAC;YACL,CAAC;iBAAM,IAAI,WAAW,CAAC,SAAS,IAAI,mBAAmB,EAAE,CAAC;gBACrD,MAAsB,CAAC,IAAI,GAAG,EAAC,EAAE,EAAE,WAAW,CAAC,MAAM,EAAC,CAAC;YAC5D,CAAC;YAED,OAAO,GAAG,CAAC,GAAG,OAAO,EAAE,MAAM,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;IAED,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\n\nimport {isTypeLink} from '@leav/utils';\nimport {defaultLinkAttributeFilterFormat} from '_ui/components/LibraryItemsList/constants';\nimport {\n AttributeConditionFilter,\n FilterType,\n type IAttribute,\n type IFilter,\n type IFilterAttribute,\n type IFilterLibrary,\n type IFilterTree,\n TreeConditionFilter,\n} from '_ui/types/search';\nimport {AttributeType, RecordFilterCondition, type RecordFilterInput} from '_ui/_gqlTypes';\n\nconst _isConditionWithNoValue = (condition: RecordFilterCondition): boolean =>\n condition === RecordFilterCondition.IS_EMPTY ||\n condition === RecordFilterCondition.IS_NOT_EMPTY ||\n condition === RecordFilterCondition.LAST_MONTH ||\n condition === RecordFilterCondition.NEXT_MONTH ||\n condition === RecordFilterCondition.TODAY ||\n condition === RecordFilterCondition.TOMORROW ||\n condition === RecordFilterCondition.YESTERDAY;\n\nexport const getFiltersFromRequest = (\n queryFilters: RecordFilterInput[],\n library: string,\n attributes: IAttribute[],\n): IFilter[] => {\n let filters: IFilter[] = [];\n\n for (const queryFilter of queryFilters) {\n const isConditionWithNoValue = _isConditionWithNoValue(queryFilter.condition);\n\n if (queryFilter.value || isConditionWithNoValue) {\n const splitKey = queryFilter.field.split('.');\n\n const filter: IFilter = {\n type: queryFilter.condition in TreeConditionFilter ? FilterType.TREE : FilterType.ATTRIBUTE,\n index: filters.length,\n key: queryFilter.field,\n value: !isConditionWithNoValue\n ? {\n value:\n queryFilter.condition === AttributeConditionFilter.BETWEEN\n ? String(JSON.parse(queryFilter.value))\n : queryFilter.value,\n }\n : null,\n active: true,\n condition:\n AttributeConditionFilter[queryFilter.condition] || TreeConditionFilter[queryFilter.condition],\n };\n\n // Get root attribute by first key part\n const rootAttribute = attributes.find(attr => attr.library === library && attr.id === splitKey[0]);\n\n if (rootAttribute) {\n if (rootAttribute.type === AttributeType.simple || rootAttribute.type === AttributeType.advanced) {\n (filter as IFilterAttribute).attribute = rootAttribute;\n }\n\n if (isTypeLink(rootAttribute.type)) {\n const [, linkedAttributeId] = splitKey;\n if (linkedAttributeId) {\n const linkedAttribute = attributes.find(\n attr => attr.library === rootAttribute?.linkedLibrary?.id && attr.id === linkedAttributeId,\n );\n\n (filter as IFilterAttribute).attribute = {\n ...linkedAttribute,\n parentAttribute: {...rootAttribute, format: defaultLinkAttributeFilterFormat},\n };\n } else {\n (filter as IFilterAttribute).attribute = rootAttribute;\n }\n }\n\n if (rootAttribute.type === AttributeType.tree) {\n const [, libraryId, linkedTreeAttribute] = splitKey;\n\n if (!libraryId && !linkedTreeAttribute) {\n // Only root attribute => search on tree\n (filter as IFilterAttribute).attribute = {\n ...rootAttribute,\n format: defaultLinkAttributeFilterFormat,\n };\n } else if (libraryId && !linkedTreeAttribute) {\n // Search on tree library\n filter.type = FilterType.LIBRARY;\n (filter as IFilterLibrary).parentAttribute = {\n ...rootAttribute,\n format: defaultLinkAttributeFilterFormat,\n };\n (filter as IFilterLibrary).library = {\n id: libraryId,\n label:\n rootAttribute.linkedTree.libraries.filter(l => l.library.id === libraryId)?.[0].library\n .label ?? null,\n };\n } else {\n // Search on linked attribute through tree attribute\n const linkedAttribute = attributes.find(\n attr => attr.library === libraryId && attr.id === linkedTreeAttribute,\n );\n\n (filter as IFilterAttribute).attribute = linkedAttribute;\n (filter as IFilterAttribute).parentTreeLibrary = {\n ...filter,\n type: FilterType.LIBRARY,\n library: {\n id: libraryId,\n label: rootAttribute?.linkedTree?.libraries\n ? rootAttribute.linkedTree.libraries.filter(l => l.library.id === libraryId)?.[0]\n .library.label\n : null,\n },\n parentAttribute: {...rootAttribute, format: defaultLinkAttributeFilterFormat},\n };\n }\n }\n } else if (queryFilter.condition in TreeConditionFilter) {\n (filter as IFilterTree).tree = {id: queryFilter.treeId};\n }\n\n filters = [...filters, filter];\n }\n }\n\n return filters;\n};\n"]}
@@ -14,8 +14,8 @@ export const getRequestFromFilters = (filters) => {
14
14
  {
15
15
  field: conditionToApply in AttributeConditionFilter ? filter.key : null,
16
16
  condition: RecordFilterCondition[conditionToApply],
17
- treeId: filter.tree?.id
18
- }
17
+ treeId: filter.tree?.id,
18
+ },
19
19
  ];
20
20
  }
21
21
  else if (typeof filter.value.value === 'string' && filter.value.value.match(/\n/g)) {
@@ -25,7 +25,7 @@ export const getRequestFromFilters = (filters) => {
25
25
  queryFilter.push({
26
26
  field: conditionToApply in AttributeConditionFilter ? filter.key : null,
27
27
  value: v,
28
- condition: RecordFilterCondition[conditionToApply]
28
+ condition: RecordFilterCondition[conditionToApply],
29
29
  });
30
30
  queryFilter.push({ operator: RecordFilterOperator.OR });
31
31
  }
@@ -40,8 +40,8 @@ export const getRequestFromFilters = (filters) => {
40
40
  ? JSON.stringify(filter?.value?.value ?? '')
41
41
  : (filter?.value?.value ?? '').toString(),
42
42
  condition: RecordFilterCondition[filter?.condition],
43
- treeId: filter.tree?.id
44
- }
43
+ treeId: filter.tree?.id,
44
+ },
45
45
  ];
46
46
  }
47
47
  return acc.concat(...queryFilter, { operator: RecordFilterOperator.AND });
@@ -1 +1 @@
1
- {"version":3,"file":"getRequestFromFilter.js","sourceRoot":"","sources":["../../src/_utils/getRequestFromFilter.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAEtE,OAAO,EAAC,wBAAwB,EAAkC,sBAAsB,EAAC,MAAM,kBAAkB,CAAC;AAClH,OAAO,EAAC,qBAAqB,EAA0B,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAElG,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAkB,EAAuB,EAAE;IAC7E,MAAM,YAAY,GAAG,OAAO;SACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;SACrB,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACpB,IAAI,WAAW,GAAwB,EAAE,CAAC;QAC1C,MAAM,gBAAgB,GAClB,MAAM,CAAC,SAAS,KAAK,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC,MAA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,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,0BAA0B;YAC7C,WAAW,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,oBAAoB,CAAC,aAAa,EAAC,CAAC,CAAC;QACrE,CAAC;aAAM,CAAC;YACJ,WAAW,GAAG;gBACV;oBACI,KAAK,EAAE,MAAM,EAAE,SAAS,IAAI,wBAAwB,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;oBACxE,KAAK,EACD,MAAM,EAAE,SAAS,KAAK,wBAAwB,CAAC,OAAO;wBAClD,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC;wBAC5C,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;oBACjD,SAAS,EAAE,qBAAqB,CAAC,MAAM,EAAE,SAAS,CAAC;oBACnD,MAAM,EAAG,MAAsB,CAAC,IAAI,EAAE,EAAE;iBAC3C;aACJ,CAAC;QACN,CAAC;QAED,OAAO,GAAG,CAAC,MAAM,CAAC,GAAG,WAAW,EAAE,EAAC,QAAQ,EAAE,oBAAoB,CAAC,GAAG,EAAC,CAAC,CAAC;IAC5E,CAAC,EAAE,EAAyB,CAAC,CAAC;IAElC,YAAY,CAAC,GAAG,EAAE,CAAC,CAAC,2BAA2B;IAE/C,OAAO,YAAY,CAAC;AACxB,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\n\nimport {AttributeConditionFilter, type IFilter, type IFilterTree, ThroughConditionFilter} from '_ui/types/search';\nimport {RecordFilterCondition, type RecordFilterInput, RecordFilterOperator} from '_ui/_gqlTypes';\n\nexport const getRequestFromFilters = (filters: IFilter[]): RecordFilterInput[] => {\n const queryFilters = filters\n .filter(f => f.active)\n .reduce((acc, filter) => {\n let queryFilter: RecordFilterInput[] = [];\n const conditionToApply =\n filter.condition === ThroughConditionFilter.THROUGH ? AttributeConditionFilter.EQUAL : filter.condition;\n\n if (filter.value === null) {\n queryFilter = [\n {\n field: conditionToApply in AttributeConditionFilter ? filter.key : null,\n condition: RecordFilterCondition[conditionToApply],\n treeId: (filter as IFilterTree).tree?.id,\n },\n ];\n } else if (typeof filter.value.value === 'string' && filter.value.value.match(/\\n/g)) {\n const values = filter.value.value.split('\\n').filter(Boolean);\n\n queryFilter.push({operator: RecordFilterOperator.OPEN_BRACKET});\n\n for (const v of values) {\n queryFilter.push({\n field: conditionToApply in AttributeConditionFilter ? filter.key : null,\n value: v,\n condition: RecordFilterCondition[conditionToApply],\n });\n\n queryFilter.push({operator: RecordFilterOperator.OR});\n }\n\n queryFilter.pop(); // delete last OR operator\n queryFilter.push({operator: RecordFilterOperator.CLOSE_BRACKET});\n } else {\n queryFilter = [\n {\n field: filter?.condition in AttributeConditionFilter ? filter.key : null,\n value:\n filter?.condition === AttributeConditionFilter.BETWEEN\n ? JSON.stringify(filter?.value?.value ?? '')\n : (filter?.value?.value ?? '').toString(),\n condition: RecordFilterCondition[filter?.condition],\n treeId: (filter as IFilterTree).tree?.id,\n },\n ];\n }\n\n return acc.concat(...queryFilter, {operator: RecordFilterOperator.AND});\n }, [] as RecordFilterInput[]);\n\n queryFilters.pop(); // delete last AND operator\n\n return queryFilters;\n};\n"]}
@@ -5,7 +5,7 @@ import { gql } from '@apollo/client';
5
5
  import { isTypeLink, objectToNameValueArray, omit } from '@leav/utils';
6
6
  import { defaultLinkAttributeFilterFormat } from '../components/LibraryItemsList/constants';
7
7
  import { PreviewSize } from '../constants';
8
- import { AttributeType } from '../_gqlTypes';
8
+ import { AttributeType, } from '../_gqlTypes';
9
9
  import { getFiltersFromRequest } from './getFiltersFromRequest';
10
10
  import dayjs from 'dayjs';
11
11
  import utc from 'dayjs/plugin/utc';
@@ -13,14 +13,14 @@ dayjs.extend(utc);
13
13
  export const arrayValueVersionToObject = (version) => version?.reduce((acc, value) => {
14
14
  acc[value.treeId] = {
15
15
  id: value.treeNode.id,
16
- label: value.treeNode.record.whoAmI.label
16
+ label: value.treeNode.record.whoAmI.label,
17
17
  };
18
18
  return acc;
19
19
  }, {});
20
20
  export const objectValueVersionToArray = (version) => version
21
21
  ? objectToNameValueArray(version).map(v => ({
22
22
  treeId: v.name,
23
- treeNodeId: v?.value?.id ?? null
23
+ treeNodeId: v?.value?.id ?? null,
24
24
  }))
25
25
  : null;
26
26
  export const extractPermissionFromQuery = (queryResult, action, fallbackPermission = false) => !queryResult.loading && !queryResult.error
@@ -50,7 +50,7 @@ export const getValueVersionLabel = (version) => Object.values(version ?? {})
50
50
  .join(' / ');
51
51
  export const stringifyDateRangeValue = (value, t) => t('record_edition.date_range_value', {
52
52
  ...value,
53
- interpolation: { escapeValue: false }
53
+ interpolation: { escapeValue: false },
54
54
  });
55
55
  /**
56
56
  * Cloning gql template tag because some apollo tools like query validation and codegen won't be happy if we use
@@ -66,14 +66,14 @@ export const getPropertyCacheFieldName = (attributeId) => `property({"attribute"
66
66
  export const prepareView = (view, attributes, libraryId, userId) => {
67
67
  const viewFilters = (view?.filters ?? []).map(filter => ({
68
68
  ...filter,
69
- treeId: filter.tree?.id
69
+ treeId: filter.tree?.id,
70
70
  }));
71
71
  const viewValuesVersions = (view?.valuesVersions ?? []).map(version => ({
72
72
  ...version,
73
73
  treeNode: {
74
74
  ...version.treeNode,
75
- title: version.treeNode.record.whoAmI.label
76
- }
75
+ title: version.treeNode.record.whoAmI.label,
76
+ },
77
77
  }));
78
78
  return {
79
79
  ...omit(view, 'created_by', '__typename'),
@@ -81,17 +81,17 @@ export const prepareView = (view, attributes, libraryId, userId) => {
81
81
  filters: getFiltersFromRequest(viewFilters, libraryId, attributes),
82
82
  sort: (view.sort ?? []).map(s => ({
83
83
  field: s.field,
84
- order: s.order
84
+ order: s.order,
85
85
  })),
86
86
  display: omit(view.display, '__typename'),
87
87
  valuesVersions: viewValuesVersions.reduce((versions, version) => {
88
88
  versions[version.treeId] = {
89
89
  id: version.treeNode.id,
90
- label: version.treeNode.record.whoAmI.label
90
+ label: version.treeNode.record.whoAmI.label,
91
91
  };
92
92
  return versions;
93
93
  }, {}),
94
- attributes: (view.attributes ?? []).map(attr => attr.id)
94
+ attributes: (view.attributes ?? []).map(attr => attr.id),
95
95
  };
96
96
  };
97
97
  export const getAttributeFromKey = (key, library, attributes) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/_utils/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,GAAG,EAAC,MAAM,gBAAgB,CAAC;AACnC,OAAO,EAAuB,UAAU,EAAE,sBAAsB,EAAE,IAAI,EAAoB,MAAM,aAAa,CAAC;AAG9G,OAAO,EAAC,gCAAgC,EAAC,MAAM,2CAA2C,CAAC;AAC3F,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAI1C,OAAO,EACH,aAAa,EAQhB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,GAAG,MAAM,kBAAkB,CAAC;AAEnC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;AAElB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,OAAwC,EAAiB,EAAE,CACjG,OAAO,EAAE,MAAM,CAAC,CAAC,GAAkB,EAAE,KAAK,EAAE,EAAE;IAC1C,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG;QAChB,EAAE,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE;QACrB,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK;KAC5C,CAAC;IAEF,OAAO,GAAG,CAAC;AACf,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EF,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,IAAW,EAAE,UAAkB,EAAE,QAAgB,EAAE,EAAE;IACzE,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAC/C,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC;IAEpC,OAAO,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;AAC/C,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 {gql} from '@apollo/client';\nimport {type IDateRangeValue, isTypeLink, objectToNameValueArray, omit, type WithTypename} from '@leav/utils';\nimport {type TFunction} from 'i18next';\nimport {type SyntheticEvent} from 'react';\nimport {defaultLinkAttributeFilterFormat} from '_ui/components/LibraryItemsList/constants';\nimport {PreviewSize} from '_ui/constants';\nimport {type IAttribute} from '_ui/types/search';\nimport {type IValueVersion} from '_ui/types/values';\nimport {type IView} from '_ui/types/views';\nimport {\n AttributeType,\n type PermissionsActions,\n type RecordFilterInput,\n type RecordIdentityFragment,\n type useIsAllowedQuery,\n type ValueDetailsFragment,\n type ValueVersionInput,\n type ViewDetailsFragment,\n} from '_ui/_gqlTypes';\nimport {getFiltersFromRequest} from './getFiltersFromRequest';\nimport dayjs from 'dayjs';\nimport utc from 'dayjs/plugin/utc';\n\ndayjs.extend(utc);\n\nexport const arrayValueVersionToObject = (version: ValueDetailsFragment['version']): IValueVersion =>\n version?.reduce((acc: IValueVersion, value) => {\n acc[value.treeId] = {\n id: value.treeNode.id,\n label: value.treeNode.record.whoAmI.label,\n };\n\n return acc;\n }, {});\n\nexport const objectValueVersionToArray = (version: IValueVersion): ValueVersionInput[] =>\n version\n ? objectToNameValueArray(version).map(v => ({\n treeId: v.name,\n treeNodeId: v?.value?.id ?? null,\n }))\n : null;\n\nexport const extractPermissionFromQuery = (\n queryResult: ReturnType<typeof useIsAllowedQuery>,\n action: PermissionsActions,\n fallbackPermission = false,\n): boolean =>\n !queryResult.loading && !queryResult.error\n ? (queryResult.data?.isAllowed?.find(permission => permission.name === action)?.allowed ?? fallbackPermission)\n : fallbackPermission;\n\nexport const getPreviewSize = (size?: PreviewSize, simplistic = false) => {\n if (simplistic) {\n return '1.2rem';\n }\n\n switch (size) {\n case PreviewSize.MEDIUM:\n return '3.5rem';\n case PreviewSize.BIG:\n return '6rem';\n case PreviewSize.SMALL:\n return '2.5rem';\n case PreviewSize.TINY:\n return '1.7rem';\n default:\n return '2rem';\n }\n};\n\nexport const setDateToUTCNoon = (date: dayjs.Dayjs): dayjs.Dayjs =>\n date.set('hour', 12).set('minute', 0).set('second', 0).set('millisecond', 0);\n\nexport const getTreeRecordKey = (record: RecordIdentityFragment): string => `${record.whoAmI.library.id}/${record.id}`;\n\nexport const getValueVersionLabel = (version: IValueVersion) =>\n Object.values(version ?? {})\n .map(v => v.label)\n .join(' / ');\n\nexport const stringifyDateRangeValue = (value: IDateRangeValue, t: TFunction): string =>\n t('record_edition.date_range_value', {\n ...value,\n interpolation: {escapeValue: false},\n });\n\n/**\n * Cloning gql template tag because some apollo tools like query validation and codegen won't be happy if we use\n * interpolation in template strings. With a different tag name, the query won't be parsed by these tools\n * thus they won't complain about it.\n * It works exactly the same at runtime.\n */\nexport const gqlUnchecked = gql;\n\nexport const getPropertyCacheFieldName = (attributeId: string): string => `property({\"attribute\":\"${attributeId}\"})`;\n\n/**\n * Prepare view coming from the server to be used in the app\n */\nexport const prepareView = (\n view: WithTypename<ViewDetailsFragment>,\n attributes: IAttribute[],\n libraryId: string,\n userId: string,\n): IView => {\n const viewFilters: RecordFilterInput[] = (view?.filters ?? []).map(filter => ({\n ...filter,\n treeId: filter.tree?.id,\n }));\n\n const viewValuesVersions = (view?.valuesVersions ?? []).map(version => ({\n ...version,\n treeNode: {\n ...version.treeNode,\n title: version.treeNode.record.whoAmI.label,\n },\n }));\n\n return {\n ...omit(view, 'created_by', '__typename'),\n owner: view.created_by.id === userId,\n filters: getFiltersFromRequest(viewFilters, libraryId, attributes),\n sort: (view.sort ?? []).map(s => ({\n field: s.field,\n order: s.order,\n })),\n display: omit(view.display, '__typename') as ViewDetailsFragment['display'],\n valuesVersions: viewValuesVersions.reduce((versions: IValueVersion, version): IValueVersion => {\n versions[version.treeId] = {\n id: version.treeNode.id,\n label: version.treeNode.record.whoAmI.label,\n };\n\n return versions;\n }, {}),\n attributes: (view.attributes ?? []).map(attr => attr.id),\n };\n};\nexport const getAttributeFromKey = (key: string, library: string, attributes: IAttribute[]): IAttribute | undefined => {\n const splitKey = key.split('.');\n\n // Get root attribute by first key part\n const rootAttribute = attributes.find(attr => attr.library === library && attr.id === splitKey[0]);\n\n if (!rootAttribute) {\n return;\n }\n\n if (rootAttribute.type === AttributeType.simple || rootAttribute.type === AttributeType.advanced) {\n return rootAttribute;\n }\n\n if (isTypeLink(rootAttribute.type)) {\n if (splitKey[1]) {\n const linkedAttribute = attributes.find(\n attr => attr.library === rootAttribute?.linkedLibrary?.id && attr.id === splitKey[1],\n );\n\n return {...linkedAttribute, parentAttribute: {...rootAttribute, format: defaultLinkAttributeFilterFormat}};\n }\n\n return rootAttribute;\n }\n\n if (rootAttribute.type === AttributeType.tree) {\n const [, libraryId, linkedTreeAttribute] = splitKey;\n\n if (!libraryId && !linkedTreeAttribute) {\n // Only root attribute => search on tree\n return {...rootAttribute, format: defaultLinkAttributeFilterFormat};\n } else if (libraryId && !linkedTreeAttribute) {\n return rootAttribute;\n }\n\n const linkedAttribute = attributes.find(attr => attr.library === splitKey[1] && attr.id === splitKey[2]);\n\n return linkedAttribute;\n }\n};\n\nexport const stopEvent = (e: SyntheticEvent) => {\n e.stopPropagation();\n e.preventDefault();\n};\n\nexport const reorder = (list: any[], startIndex: number, endIndex: number) => {\n const result = Array.from(list);\n const [removed] = result.splice(startIndex, 1);\n result.splice(endIndex, 0, removed);\n\n return result.filter(element => !!element);\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"interleaveElement.js","sourceRoot":"","sources":["../../src/_utils/interleaveElement.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC7B,eAAkB,EAClB,WAAkB,EACN,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,eAAe,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"interleaveElement.js","sourceRoot":"","sources":["../../src/_utils/interleaveElement.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC7B,eAAkB,EAClB,WAAkB,EACN,EAAE,CAAC,WAAW,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,eAAe,EAAE,GAAG,YAAY,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,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\nexport const interleaveElement = <T extends unknown, U extends unknown>(\n insertedElement: T,\n sourceArray: U[][],\n): Array<T | U> => sourceArray.flatMap(arrayElement => [insertedElement, ...arrayElement]).slice(1);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"isDevEnv.js","sourceRoot":"","sources":["../../src/_utils/isDevEnv.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC"}
1
+ {"version":3,"file":"isDevEnv.js","sourceRoot":"","sources":["../../src/_utils/isDevEnv.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,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 const isDevEnv = () => import.meta.env.DEV;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"typeguards.js","sourceRoot":"","sources":["../../src/_utils/typeguards.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAI,KAAU,EAA4B,EAAE,CAAC,YAAY,IAAI,KAAK,CAAC"}
1
+ {"version":3,"file":"typeguards.js","sourceRoot":"","sources":["../../src/_utils/typeguards.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,WAAW,GAAG,CAAI,KAAU,EAA4B,EAAE,CAAC,YAAY,IAAI,KAAK,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {type WithTypename} from '@leav/utils';\n\nexport const hasTypename = <T>(value: any): value is WithTypename<T> => '__typename' in value;\n"]}
@@ -23,20 +23,20 @@ export const themeVars = {
23
23
  navigationColumnWidth: '20rem',
24
24
  inheritedValuesVersionColor: '#FFBA00',
25
25
  checkerBoard: 'repeating-conic-gradient(rgb(220,220,220) 0% 25%, rgb(240,240,240) 0% 50%) 50% / 20px 20px',
26
- imageDefaultBackground: 'rgb(245, 245, 245)'
26
+ imageDefaultBackground: 'rgb(245, 245, 245)',
27
27
  };
28
28
  export const customTheme = {
29
29
  components: {
30
30
  Layout: {
31
31
  headerBg: themeVars.secondaryBg,
32
- controlHeight: 24 // Used by antd to compute the height of the header (2 * controlHeight)
32
+ controlHeight: 24, // Used by antd to compute the height of the header (2 * controlHeight)
33
33
  },
34
34
  Menu: {
35
- colorActiveBarBorderSize: 0
35
+ colorActiveBarBorderSize: 0,
36
36
  },
37
37
  Table: {
38
- colorBgContainer: 'transparent' // To avoid issues with border-radius on footer
39
- }
40
- }
38
+ colorBgContainer: 'transparent', // To avoid issues with border-radius on footer
39
+ },
40
+ },
41
41
  };
42
42
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/antdTheme/index.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AAItE,cAAc,SAAS,CAAC;AAExB,sEAAsE;AACtE,MAAM,aAAa,GAAG,SAAS,CAAC;AAChC,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,YAAY,EAAE,mCAAmC;IACjD,mBAAmB,EAAE,mCAAmC;IACxD,SAAS,EAAE,SAAS;IACpB,iBAAiB,EAAE,SAAS;IAC5B,gBAAgB,EAAE,aAAa;IAC/B,wBAAwB,EAAE,SAAS;IACnC,kBAAkB,EAAE,aAAa,GAAG,IAAI;IACxC,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,SAAS;IACtB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;IACtB,gBAAgB,EAAE,oBAAoB;IACtC,YAAY,EAAE,MAAM;IACpB,qBAAqB,EAAE,OAAO;IAC9B,2BAA2B,EAAE,SAAS;IACtC,YAAY,EAAE,4FAA4F;IAC1G,sBAAsB,EAAE,oBAAoB;CAC/C,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAgB;IACpC,UAAU,EAAE;Q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+CAA+C;SACnF;KACJ;CACJ,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\n\nimport {type ThemeConfig} from 'antd/lib/config-provider/context';\n\nexport * from './types';\n\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nconst baseTextColor = '#000000';\nexport const themeVars = {\n primaryColor: 'var(--general-colors-primary-400)',\n primaryColorLighter: 'var(--general-colors-primary-100)',\n defaultBg: '#ffffff',\n invertedDefaultBg: '#000000',\n defaultTextColor: baseTextColor,\n invertedDefaultTextColor: '#ffffff',\n secondaryTextColor: baseTextColor + '80',\n activeColor: '#def4ff',\n errorColor: '#e02020',\n secondaryBg: '#f0f0f0',\n lightBg: '#fafafa',\n headerBg: '#f4f4f4',\n borderColor: '#d9d9d9',\n borderLightColor: 'rgb(240, 240, 240)',\n headerHeight: '3rem',\n navigationColumnWidth: '20rem',\n inheritedValuesVersionColor: '#FFBA00',\n checkerBoard: 'repeating-conic-gradient(rgb(220,220,220) 0% 25%, rgb(240,240,240) 0% 50%) 50% / 20px 20px',\n imageDefaultBackground: 'rgb(245, 245, 245)',\n};\n\nexport const customTheme: ThemeConfig = {\n components: {\n Layout: {\n headerBg: themeVars.secondaryBg,\n controlHeight: 24, // Used by antd to compute the height of the header (2 * controlHeight)\n },\n Menu: {\n colorActiveBarBorderSize: 0,\n },\n Table: {\n colorBgContainer: 'transparent', // To avoid issues with border-radius on footer\n },\n },\n};\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/antdTheme/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/antdTheme/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 theme} from 'antd';\n\nexport type AntdThemeToken = ReturnType<typeof theme.useToken>['token'];\n"]}
@@ -8,5 +8,5 @@ interface IAttributePickerProps {
8
8
  multiple?: boolean;
9
9
  baseFilters?: GetAttributesQueryVariables['filters'];
10
10
  }
11
- declare function AttributePicker({ open, onClose, onSubmit, selected, showCreateButton, multiple, baseFilters }: IAttributePickerProps): JSX.Element;
11
+ declare function AttributePicker({ open, onClose, onSubmit, selected, showCreateButton, multiple, baseFilters, }: IAttributePickerProps): JSX.Element;
12
12
  export default AttributePicker;
@@ -7,7 +7,7 @@ import { useState } from 'react';
7
7
  import { useSharedTranslation } from '../../hooks/useSharedTranslation';
8
8
  import { ErrorBoundary } from '../ErrorBoundary';
9
9
  import { AttributesList } from './AttributesList';
10
- function AttributePicker({ open, onClose, onSubmit, selected = [], showCreateButton = true, multiple = true, baseFilters }) {
10
+ function AttributePicker({ open, onClose, onSubmit, selected = [], showCreateButton = true, multiple = true, baseFilters, }) {
11
11
  const { t } = useSharedTranslation();
12
12
  const [selectedAttributes, setSelectedAttributes] = useState([]);
13
13
  const [isLoading, setIsLoading] = useState(false);
@@ -1 +1 @@
1
- {"version":3,"file":"AttributePicker.js","sourceRoot":"","sources":["../../../src/components/AttributePicker/AttributePicker.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EAAC,KAAK,EAAC,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAC,oBAAoB,EAAC,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAYhD,SAAS,eAAe,CAAC,EACrB,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,gBAAgB,GAAG,IAAI,EACvB,QAAQ,GAAG,IAAI,EACf,WAAW,EACS;IACpB,MAAM,EAAC,CAAC,EAAC,GAAG,oBAAoB,EAAE,CAAC;IACnC,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAC3E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAElD,MAAM,aAAa,GAAG,CAAC,SAAmB,EAAE,EAAE;QAC1C,qBAAqB,CAAC,SAAS,CAAC,CAAC;IACrC,CAAC,CAAC;IAEF,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;QAC7B,YAAY,CAAC,IAAI,CAAC,CAAC;QACnB,MAAM,QAAQ,CAAC,kBAAkB,CAAC,CAAC;QACnC,YAAY,CAAC,KAAK,CAAC,CAAC;QACpB,OAAO,EAAE,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,KAAK,IACF,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,OAAO,EACjB,KAAK,EAAE,GAAG,EACV,KAAK,EAAE,CAAC,CAAC,8BAA8B,CAAC,EACxC,IAAI,EAAE,aAAa,EACnB,cAAc,QACd,MAAM,EAAE,CAAC,CAAC,eAAe,CAAC,EAC1B,UAAU,EAAE,CAAC,CAAC,eAAe,CAAC,EAC9B,cAAc,EAAE,SAAS,EACzB,QAAQ,kBAER,KAAC,aAAa,cACV,KAAC,cAAc,IACX,QAAQ,EAAE,aAAa,EACvB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,GAC1B,GACU,GACZ,CACX,CAAC;AACN,CAAC;AAED,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"AttributePicker.js","sourceRoot":"","sources":["../../../src/components/AttributePicker/AttributePicker.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO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ER,KAAC,aAAa,cACV,KAAC,cAAc,IACX,QAAQ,EAAE,aAAa,EACvB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW,GAC1B,GACU,GACZ,CACX,CAAC;AACN,CAAC;AAED,eAAe,eAAe,CAAC","sourcesContent":["// Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06\n// This file is released under LGPL V3\n// License text available at https://www.gnu.org/licenses/lgpl-3.0.txt\nimport {Modal} from 'antd';\nimport {useState} from 'react';\nimport {type GetAttributesQueryVariables} from '_ui/_gqlTypes';\nimport {useSharedTranslation} from '../../hooks/useSharedTranslation';\nimport {ErrorBoundary} from '../ErrorBoundary';\nimport {AttributesList} from './AttributesList';\n\ninterface IAttributePickerProps {\n open: boolean;\n onClose: () => void;\n onSubmit: (selectedAttributes: string[]) => Promise<void>;\n showCreateButton?: boolean;\n selected?: string[];\n multiple?: boolean;\n baseFilters?: GetAttributesQueryVariables['filters'];\n}\n\nfunction AttributePicker({\n open,\n onClose,\n onSubmit,\n selected = [],\n showCreateButton = true,\n multiple = true,\n baseFilters,\n}: IAttributePickerProps): JSX.Element {\n const {t} = useSharedTranslation();\n const [selectedAttributes, setSelectedAttributes] = useState<string[]>([]);\n const [isLoading, setIsLoading] = useState(false);\n\n const _handleSelect = (selection: string[]) => {\n setSelectedAttributes(selection);\n };\n\n const _handleSubmit = async () => {\n setIsLoading(true);\n await onSubmit(selectedAttributes);\n setIsLoading(false);\n onClose();\n };\n\n return (\n <Modal\n open={open}\n onCancel={onClose}\n width={800}\n title={t('attributes.select_attributes')}\n onOk={_handleSubmit}\n destroyOnClose\n okText={t('global.submit')}\n cancelText={t('global.cancel')}\n confirmLoading={isLoading}\n centered\n >\n <ErrorBoundary>\n <AttributesList\n onSelect={_handleSelect}\n selected={selected}\n multiple={multiple}\n showCreateButton={showCreateButton}\n baseFilters={baseFilters}\n />\n </ErrorBoundary>\n </Modal>\n );\n}\n\nexport default AttributePicker;\n"]}
@@ -6,5 +6,5 @@ interface IAttributesListProps {
6
6
  showCreateButton?: boolean;
7
7
  baseFilters?: GetAttributesQueryVariables['filters'];
8
8
  }
9
- declare function AttributesList({ onSelect, selected, multiple, showCreateButton, baseFilters }: IAttributesListProps): JSX.Element;
9
+ declare function AttributesList({ onSelect, selected, multiple, showCreateButton, baseFilters, }: IAttributesListProps): JSX.Element;
10
10
  export default AttributesList;
@@ -9,10 +9,10 @@ import { Table } from 'antd';
9
9
  import { KitButton, KitInput, KitTag } from 'aristid-ds';
10
10
  import { useEffect, useRef, useState } from 'react';
11
11
  import styled from 'styled-components';
12
- import { defaultPaginationPageSize, PreviewSize, tagColorByAttributeFormat, tagColorByAttributeType } from '../../../constants';
12
+ import { defaultPaginationPageSize, PreviewSize, tagColorByAttributeFormat, tagColorByAttributeType, } from '../../../constants';
13
13
  import { useLang } from '../../../hooks';
14
14
  import { useSharedTranslation } from '../../../hooks/useSharedTranslation';
15
- import { AttributeFormat, AttributesSortableFields, AttributeType, PermissionsActions, PermissionTypes, SortOrder, useGetAttributesQuery, useIsAllowedQuery } from '../../../_gqlTypes';
15
+ import { AttributeFormat, AttributesSortableFields, AttributeType, PermissionsActions, PermissionTypes, SortOrder, useGetAttributesQuery, useIsAllowedQuery, } from '../../../_gqlTypes';
16
16
  import { getAttributesQuery } from '../../../_queries/attributes/getAttributesQuery';
17
17
  import { extractPermissionFromQuery } from '../../../_utils';
18
18
  import { EditAttributeModal } from '../../EditAttributeModal';
@@ -28,7 +28,7 @@ const HeaderWrapper = styled.div `
28
28
  flex-grow: 1;
29
29
  }
30
30
  `;
31
- function AttributesList({ onSelect, selected = [], multiple = true, showCreateButton = true, baseFilters }) {
31
+ function AttributesList({ onSelect, selected = [], multiple = true, showCreateButton = true, baseFilters, }) {
32
32
  const { t } = useSharedTranslation();
33
33
  const { lang } = useLang();
34
34
  const inputRef = useRef(null);
@@ -41,21 +41,21 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
41
41
  variables: {
42
42
  pagination: {
43
43
  limit: pageSize,
44
- offset: (currentPage - 1) * pageSize
44
+ offset: (currentPage - 1) * pageSize,
45
45
  },
46
46
  sort,
47
47
  filters: {
48
48
  ...filters,
49
- ...baseFilters
50
- }
51
- }
49
+ ...baseFilters,
50
+ },
51
+ },
52
52
  });
53
53
  const isAllowedQueryResult = useIsAllowedQuery({
54
54
  fetchPolicy: 'cache-and-network',
55
55
  variables: {
56
56
  type: PermissionTypes.admin,
57
- actions: [PermissionsActions.admin_create_attribute]
58
- }
57
+ actions: [PermissionsActions.admin_create_attribute],
58
+ },
59
59
  });
60
60
  const canCreate = showCreateButton && extractPermissionFromQuery(isAllowedQueryResult, PermissionsActions.admin_create_attribute);
61
61
  const [selectedRowKeys, setSelectedRowKeys] = useState(selected);
@@ -79,7 +79,7 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
79
79
  const _handleSearchSubmit = (e) => {
80
80
  setFilters({
81
81
  ...filters,
82
- label: `%${e.currentTarget.value}%`
82
+ label: `%${e.currentTarget.value}%`,
83
83
  });
84
84
  };
85
85
  const _handleSearchChange = (e) => {
@@ -100,9 +100,9 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
100
100
  data: {
101
101
  attributes: {
102
102
  ...allAttributesData.attributes,
103
- list: [newAttribute, ...allAttributesData.attributes.list]
104
- }
105
- }
103
+ list: [newAttribute, ...allAttributesData.attributes.list],
104
+ },
105
+ },
106
106
  });
107
107
  }
108
108
  const newSelection = [...selectedRowKeys, newAttribute.id];
@@ -116,7 +116,7 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
116
116
  if (relevantSorter.column && relevantSorter.order) {
117
117
  const newSort = {
118
118
  field: AttributesSortableFields[relevantSorter.columnKey],
119
- order: relevantSorter.order === 'ascend' ? SortOrder.asc : SortOrder.desc
119
+ order: relevantSorter.order === 'ascend' ? SortOrder.asc : SortOrder.desc,
120
120
  };
121
121
  setSort(newSort);
122
122
  }
@@ -140,10 +140,10 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
140
140
  label: attribute.label,
141
141
  subLabel: attribute.id,
142
142
  preview: null,
143
- color: null
143
+ color: null,
144
144
  };
145
145
  return _jsx(EntityCard, { entity: attributeIdentity, size: PreviewSize.SMALL });
146
- }
146
+ },
147
147
  },
148
148
  {
149
149
  title: t('attributes.type'),
@@ -152,20 +152,20 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
152
152
  width: '150px',
153
153
  render: (type) => (_jsx(KitTag, { style: {
154
154
  borderColor: tagColorByAttributeType[type][0],
155
- backgroundColor: tagColorByAttributeType[type][1]
155
+ backgroundColor: tagColorByAttributeType[type][1],
156
156
  }, idCardProps: {
157
- description: t(`attributes.type_${type}`)
157
+ description: t(`attributes.type_${type}`),
158
158
  } })),
159
159
  filters: Object.values(AttributeType).map(type => ({
160
160
  text: t(`attributes.type_${type}`),
161
- value: type
161
+ value: type,
162
162
  })),
163
163
  onFilter: (value, record) => record.type === value,
164
164
  sorter: (a, b) => {
165
165
  const aTypeLabel = t(`attributes.type_${a.type}`);
166
166
  const bTypeLabel = t(`attributes.type_${b.type}`);
167
167
  return aTypeLabel.localeCompare(bTypeLabel);
168
- }
168
+ },
169
169
  },
170
170
  {
171
171
  title: t('attributes.format'),
@@ -174,21 +174,21 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
174
174
  width: '150px',
175
175
  render: (format) => format ? (_jsx(KitTag, { style: {
176
176
  borderColor: tagColorByAttributeFormat[format][0],
177
- backgroundColor: tagColorByAttributeFormat[format][1]
177
+ backgroundColor: tagColorByAttributeFormat[format][1],
178
178
  }, idCardProps: {
179
- description: t(`attributes.format_${format}`)
179
+ description: t(`attributes.format_${format}`),
180
180
  } })) : null,
181
181
  filters: Object.values(AttributeFormat).map(format => ({
182
182
  text: t(`attributes.format_${format}`),
183
- value: format
183
+ value: format,
184
184
  })),
185
185
  onFilter: (value, record) => record.format === value,
186
186
  sorter: (a, b) => {
187
187
  const aFormatLabel = t(`attributes.format_${a.format}`);
188
188
  const bFormatLabel = t(`attributes.format_${b.format}`);
189
189
  return aFormatLabel.localeCompare(bFormatLabel);
190
- }
191
- }
190
+ },
191
+ },
192
192
  ];
193
193
  useEffect(() => {
194
194
  // To avoid temporary display of "no data" when pagination changes
@@ -199,7 +199,7 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
199
199
  ? [...data.attributes.list].map(attribute => ({
200
200
  ...attribute,
201
201
  key: attribute.id,
202
- label: localizedTranslation(attribute.label, lang)
202
+ label: localizedTranslation(attribute.label, lang),
203
203
  }))
204
204
  : [];
205
205
  setTableData(newTableData);
@@ -215,15 +215,15 @@ function AttributesList({ onSelect, selected = [], multiple = true, showCreateBu
215
215
  return (_jsxs(_Fragment, { children: [_jsx(Table, { loading: loading, size: "middle", rowSelection: {
216
216
  type: multiple ? 'checkbox' : 'radio',
217
217
  selectedRowKeys,
218
- onChange: _handleSelectionChange
218
+ onChange: _handleSelectionChange,
219
219
  }, columns: columns, dataSource: tableData, bordered: true, pagination: {
220
220
  position: ['bottomCenter'],
221
221
  pageSize,
222
222
  current: currentPage,
223
223
  total: data?.attributes?.totalCount ?? 0,
224
- showTotal: total => t('global.total_count', { total })
224
+ showTotal: total => t('global.total_count', { total }),
225
225
  }, scroll: { y: 'calc(95vh - 20rem)' }, title: () => tableHeader, onRow: record => ({
226
- onClick: () => _handleRowClick(record)
226
+ onClick: () => _handleRowClick(record),
227
227
  }), onChange: _handleChange }), isNewAttributeModalOpen && (_jsx(EditAttributeModal, { open: isNewAttributeModalOpen, onClose: _handleCloseNewAttribute, onPostCreate: _handlePostCreate, width: 790 }))] }));
228
228
  }
229
229
  export default AttributesList;