@leav/ui 1.4.0 → 1.4.1-148fd69b

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 (641) hide show
  1. package/dist/__mocks__/common/application.js +4 -4
  2. package/dist/__mocks__/common/attribute.js +34 -34
  3. package/dist/__mocks__/common/attribute.js.map +1 -1
  4. package/dist/__mocks__/common/filter.js +4 -4
  5. package/dist/__mocks__/common/filter.js.map +1 -1
  6. package/dist/__mocks__/common/form.js +58 -58
  7. package/dist/__mocks__/common/form.js.map +1 -1
  8. package/dist/__mocks__/common/import.js +5 -5
  9. package/dist/__mocks__/common/label.js +1 -1
  10. package/dist/__mocks__/common/library.js +25 -25
  11. package/dist/__mocks__/common/library.js.map +1 -1
  12. package/dist/__mocks__/common/mockSearchContextProvider.js +1 -1
  13. package/dist/__mocks__/common/record.js +3 -3
  14. package/dist/__mocks__/common/tree.js +7 -7
  15. package/dist/__mocks__/common/treeElements.js +14 -14
  16. package/dist/__mocks__/common/value.js +6 -6
  17. package/dist/__mocks__/common/versionProfile.js +1 -1
  18. package/dist/__mocks__/common/view.js +5 -5
  19. package/dist/__mocks__/mockQuery/mockGetLibraryDetailExtendedQuery.js +10 -10
  20. package/dist/__mocks__/mockQuery/mockGetRecordsFromLibraryQuery.js +5 -5
  21. package/dist/__mocks__/mockQuery/mockGetViewListQuery.js +12 -12
  22. package/dist/_gqlTypes/index.d.ts +49 -8
  23. package/dist/_gqlTypes/index.js +45 -4
  24. package/dist/_gqlTypes/index.js.map +1 -1
  25. package/dist/_queries/export/exportQuery.js +2 -2
  26. package/dist/_queries/records/getRecordPropertiesQuery.js +1 -1
  27. package/dist/_queries/records/getRecordPropertiesQuery.js.map +1 -1
  28. package/dist/_queries/records/getRecordsFromLibraryQuery.d.ts +1 -1
  29. package/dist/_utils/getFiltersFromRequest.js +9 -9
  30. package/dist/_utils/getFiltersFromRequest.js.map +1 -1
  31. package/dist/_utils/getRequestFromFilter.js +5 -5
  32. package/dist/_utils/index.js +14 -14
  33. package/dist/_utils/index.js.map +1 -1
  34. package/dist/antdTheme/index.js +6 -6
  35. package/dist/antdTheme/index.js.map +1 -1
  36. package/dist/components/AttributePicker/AttributePicker.d.ts +1 -1
  37. package/dist/components/AttributePicker/AttributePicker.js +1 -1
  38. package/dist/components/AttributePicker/AttributePicker.js.map +1 -1
  39. package/dist/components/AttributePicker/AttributesList/AttributesList.d.ts +1 -1
  40. package/dist/components/AttributePicker/AttributesList/AttributesList.js +30 -30
  41. package/dist/components/AttributePicker/AttributesList/AttributesList.js.map +1 -1
  42. package/dist/components/AttributesSelectionList/Attribute/Attribute.js +2 -2
  43. package/dist/components/AttributesSelectionList/AttributesSelectionList.d.ts +1 -1
  44. package/dist/components/AttributesSelectionList/AttributesSelectionList.js +6 -6
  45. package/dist/components/AttributesSelectionList/AttributesSelectionList.js.map +1 -1
  46. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttribute/SelectedAttribute.js +1 -1
  47. package/dist/components/AttributesSelectionList/SelectedAttributesList/SelectedAttributesList.js +1 -1
  48. package/dist/components/AttributesSelectionList/helpers/attributeToSelectedAttribute.js +1 -1
  49. package/dist/components/AttributesSelectionList/reducer/__mocks__/attributesSelectionListStateContext.js +1 -1
  50. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListReducer.js +3 -3
  51. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js +1 -1
  52. package/dist/components/AttributesSelectionList/reducer/attributesSelectionListStateContext.js.map +1 -1
  53. package/dist/components/CreateDirectory/CreateDirectory.js +15 -15
  54. package/dist/components/CreateDirectory/CreateDirectory.js.map +1 -1
  55. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.d.ts +1 -1
  56. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js +3 -3
  57. package/dist/components/DeactivateRecordsModal/DeactivateRecordsModal.js.map +1 -1
  58. package/dist/components/EditApplication/EditApplication.d.ts +1 -1
  59. package/dist/components/EditApplication/EditApplication.js +5 -5
  60. package/dist/components/EditApplication/EditApplication.js.map +1 -1
  61. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js +18 -18
  62. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfo.js.map +1 -1
  63. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.d.ts +1 -1
  64. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js +13 -13
  65. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/EditApplicationInfoForm.js.map +1 -1
  66. package/dist/components/EditApplication/EditApplicationInfo/EditApplicationInfoForm/ModuleSelector/ModuleSelector.js +1 -1
  67. package/dist/components/EditAttributeModal/EditAttribute/EditAttribute.js +4 -4
  68. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js +20 -20
  69. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfo.js.map +1 -1
  70. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.d.ts +1 -1
  71. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js +12 -12
  72. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/EditAttributeInfoForm.js.map +1 -1
  73. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedLibraryForm/LinkedLibraryForm.js +2 -2
  74. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/LinkedTreeForm/LinkedTreeForm.js +2 -2
  75. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js +4 -4
  76. package/dist/components/EditAttributeModal/EditAttribute/EditAttributeInfo/EditAttributeInfoForm/ValuesVersionsForm/ValuesVersionsForm.js.map +1 -1
  77. package/dist/components/EditAttributeModal/EditAttributeModal.d.ts +1 -1
  78. package/dist/components/EditAttributeModal/EditAttributeModal.js +9 -9
  79. package/dist/components/EditAttributeModal/EditAttributeModal.js.map +1 -1
  80. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.d.ts +1 -1
  81. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js +8 -8
  82. package/dist/components/EditLibraryModal/EditLibrary/EditLibrary.js.map +1 -1
  83. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributeCell/AttributeCell.js +4 -4
  84. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js +20 -20
  85. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/AttributesList/AttributesList.js.map +1 -1
  86. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryAttributes/EditLibraryAttributes.js +6 -6
  87. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js +9 -9
  88. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryIndexation/EditLibraryIndexation.js.map +1 -1
  89. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js +19 -19
  90. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfo.js.map +1 -1
  91. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.d.ts +1 -1
  92. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js +18 -18
  93. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryInfo/EditLibraryInfoForm/EditLibraryInfoForm.js.map +1 -1
  94. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js +6 -6
  95. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditLibraryPreviewsSettings.js.map +1 -1
  96. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.d.ts +1 -1
  97. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js +12 -12
  98. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/EditPreviewsSettingsModal.js.map +1 -1
  99. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/EditPreviewsSettingsModal/SizesEditor/SizesEditor.js +13 -13
  100. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.d.ts +1 -1
  101. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js +10 -10
  102. package/dist/components/EditLibraryModal/EditLibrary/EditLibraryPreviewsSettings/PreviewsSettingsList/PreviewsSettingsList.js.map +1 -1
  103. package/dist/components/EditLibraryModal/EditLibraryModal.d.ts +1 -1
  104. package/dist/components/EditLibraryModal/EditLibraryModal.js +11 -11
  105. package/dist/components/EditLibraryModal/EditLibraryModal.js.map +1 -1
  106. package/dist/components/EditTreeModal/EditTree/EditTree.js +4 -4
  107. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js +20 -20
  108. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfo.js.map +1 -1
  109. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.d.ts +1 -1
  110. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js +8 -8
  111. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/EditTreeInfoForm.js.map +1 -1
  112. package/dist/components/EditTreeModal/EditTree/EditTreeInfo/EditTreeInfoForm/TreeLibrariesForm/TreeLibrariesForm.js +10 -10
  113. package/dist/components/EditTreeModal/EditTreeModal.js +8 -8
  114. package/dist/components/EditTreeModal/EditTreeModal.js.map +1 -1
  115. package/dist/components/EntityCard/EntityCard.d.ts +1 -1
  116. package/dist/components/EntityCard/EntityCard.js +5 -5
  117. package/dist/components/EntityCard/EntityCard.js.map +1 -1
  118. package/dist/components/EntityPreview/EntityPreviewList/EntityPreviewList.js +2 -2
  119. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.d.ts +1 -1
  120. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js +1 -1
  121. package/dist/components/EntityPreview/EntityPreviewTile/EntityPreviewTile.js.map +1 -1
  122. package/dist/components/ErrorBoundary/ErrorBoundary.js +1 -1
  123. package/dist/components/ErrorDisplay/ErrorDisplay.d.ts +1 -1
  124. package/dist/components/ErrorDisplay/ErrorDisplay.js +5 -5
  125. package/dist/components/ErrorDisplay/ErrorDisplay.js.map +1 -1
  126. package/dist/components/Explorer/DataView.js +8 -8
  127. package/dist/components/Explorer/DataView.js.map +1 -1
  128. package/dist/components/Explorer/Explorer.d.ts +4 -2
  129. package/dist/components/Explorer/Explorer.js +65 -51
  130. package/dist/components/Explorer/Explorer.js.map +1 -1
  131. package/dist/components/Explorer/ExplorerFiltersAndSorts.d.ts +7 -0
  132. package/dist/components/Explorer/ExplorerFiltersAndSorts.js +44 -0
  133. package/dist/components/Explorer/ExplorerFiltersAndSorts.js.map +1 -0
  134. package/dist/components/Explorer/ExplorerTitle.js +3 -3
  135. package/dist/components/Explorer/ExplorerTitle.js.map +1 -1
  136. package/dist/components/Explorer/ExplorerToolbar.d.ts +3 -1
  137. package/dist/components/Explorer/ExplorerToolbar.js +16 -47
  138. package/dist/components/Explorer/ExplorerToolbar.js.map +1 -1
  139. package/dist/components/Explorer/TableCell.js +11 -11
  140. package/dist/components/Explorer/TableCell.js.map +1 -1
  141. package/dist/components/Explorer/TableNameCell.js +4 -4
  142. package/dist/components/Explorer/_constants.d.ts +1 -0
  143. package/dist/components/Explorer/_constants.js +3 -2
  144. package/dist/components/Explorer/_constants.js.map +1 -1
  145. package/dist/components/Explorer/_queries/useExecuteUpdateViewMutation.js +2 -2
  146. package/dist/components/Explorer/_queries/useExplorerData.d.ts +4 -3
  147. package/dist/components/Explorer/_queries/useExplorerData.js +20 -20
  148. package/dist/components/Explorer/_queries/useExplorerData.js.map +1 -1
  149. package/dist/components/Explorer/_types.d.ts +4 -117
  150. package/dist/components/Explorer/_types.js +1 -12
  151. package/dist/components/Explorer/_types.js.map +1 -1
  152. package/dist/components/Explorer/actions-item/useEditStatusItemAction.d.ts +1 -1
  153. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +45 -36
  154. package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
  155. package/dist/components/Explorer/actions-item/useReplaceItemAction.d.ts +1 -1
  156. package/dist/components/Explorer/actions-item/useReplaceItemAction.js +3 -3
  157. package/dist/components/Explorer/actions-item/useReplaceItemAction.js.map +1 -1
  158. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.d.ts +1 -1
  159. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +24 -17
  160. package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
  161. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.d.ts +3 -1
  162. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +24 -17
  163. package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
  164. package/dist/components/Explorer/actions-mass/useExportMassAction.d.ts +17 -0
  165. package/dist/components/Explorer/actions-mass/useExportMassAction.js +100 -0
  166. package/dist/components/Explorer/actions-mass/useExportMassAction.js.map +1 -0
  167. package/dist/components/Explorer/actions-mass/useMassActions.d.ts +3 -1
  168. package/dist/components/Explorer/actions-mass/useMassActions.js +16 -16
  169. package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
  170. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.d.ts +2 -2
  171. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js +13 -13
  172. package/dist/components/Explorer/actions-primary/useCreatePrimaryAction.js.map +1 -1
  173. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.d.ts +1 -1
  174. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js +3 -3
  175. package/dist/components/Explorer/actions-primary/useLinkPrimaryAction.js.map +1 -1
  176. package/dist/components/Explorer/actions-primary/usePrimaryActions.d.ts +3 -1
  177. package/dist/components/Explorer/actions-primary/usePrimaryActions.js +14 -10
  178. package/dist/components/Explorer/actions-primary/usePrimaryActions.js.map +1 -1
  179. package/dist/components/Explorer/conditionsHelper.js +1 -1
  180. package/dist/components/Explorer/link-item/LinkModal.js +11 -11
  181. package/dist/components/Explorer/link-item/LinkModal.js.map +1 -1
  182. package/dist/components/Explorer/link-item/useAddLinkMassAction.d.ts +1 -1
  183. package/dist/components/Explorer/link-item/useAddLinkMassAction.js +5 -5
  184. package/dist/components/Explorer/link-item/useAddLinkMassAction.js.map +1 -1
  185. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.d.ts +1 -1
  186. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js +5 -5
  187. package/dist/components/Explorer/link-item/useReplaceLinkMassAction.js.map +1 -1
  188. package/dist/components/Explorer/list-saved-views/SavedViews.js +3 -3
  189. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js +2 -2
  190. package/dist/components/Explorer/manage-view-settings/_shared/ColumnItem.js.map +1 -1
  191. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js +5 -5
  192. package/dist/components/Explorer/manage-view-settings/_shared/useAttributeDetailsData.js.map +1 -1
  193. package/dist/components/Explorer/manage-view-settings/configure-display/ConfigureDisplay.js +2 -2
  194. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js +3 -3
  195. package/dist/components/Explorer/manage-view-settings/configure-display/attributes/SelectVisibleAttributes.js.map +1 -1
  196. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js +15 -15
  197. package/dist/components/Explorer/manage-view-settings/filter-items/FilterItems.js.map +1 -1
  198. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js +2 -2
  199. package/dist/components/Explorer/manage-view-settings/filter-items/FilterListItem.js.map +1 -1
  200. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContext.js +1 -1
  201. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js +2 -2
  202. package/dist/components/Explorer/manage-view-settings/open-view-settings/EditSettingsContextProvider.js.map +1 -1
  203. package/dist/components/Explorer/manage-view-settings/open-view-settings/SidePanel.js +1 -1
  204. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js +5 -5
  205. package/dist/components/Explorer/manage-view-settings/open-view-settings/useOpenViewSettings.js.map +1 -1
  206. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js +3 -1
  207. package/dist/components/Explorer/manage-view-settings/router-menu/SettingsPanel.js.map +1 -1
  208. package/dist/components/Explorer/manage-view-settings/save-view/LabelViewFormModal.js +2 -2
  209. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.d.ts +2 -1
  210. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +12 -12
  211. package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
  212. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js +20 -8
  213. package/dist/components/Explorer/manage-view-settings/save-view/useCreateNewView.js.map +1 -1
  214. package/dist/components/Explorer/manage-view-settings/save-view/useDeleteView.js +3 -3
  215. package/dist/components/Explorer/manage-view-settings/save-view/useEditLabelView.js +5 -5
  216. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js +5 -1
  217. package/dist/components/Explorer/manage-view-settings/save-view/useResetView.js.map +1 -1
  218. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js +10 -8
  219. package/dist/components/Explorer/manage-view-settings/save-view/useShareView.js.map +1 -1
  220. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js +21 -9
  221. package/dist/components/Explorer/manage-view-settings/save-view/useUpdateView.js.map +1 -1
  222. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js +18 -18
  223. package/dist/components/Explorer/manage-view-settings/sort-items/SortItems.js.map +1 -1
  224. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js +2 -2
  225. package/dist/components/Explorer/manage-view-settings/sort-items/SortListItem.js.map +1 -1
  226. package/dist/components/Explorer/manage-view-settings/store-view-settings/ViewSettingsContext.js +1 -1
  227. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js +3 -6
  228. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsInitialState.js.map +1 -1
  229. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.d.ts +8 -9
  230. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js +23 -147
  231. package/dist/components/Explorer/manage-view-settings/store-view-settings/viewSettingsReducer.js.map +1 -1
  232. package/dist/components/Explorer/useColumnWidth.js +2 -2
  233. package/dist/components/Explorer/useLoadView.js +21 -14
  234. package/dist/components/Explorer/useLoadView.js.map +1 -1
  235. package/dist/components/Explorer/usePagination.js +3 -3
  236. package/dist/components/Explorer/useSearchInput.d.ts +1 -1
  237. package/dist/components/Explorer/useSearchInput.js +3 -3
  238. package/dist/components/Explorer/useSearchInput.js.map +1 -1
  239. package/dist/components/Explorer/useViewSettingsReducer.js +21 -26
  240. package/dist/components/Explorer/useViewSettingsReducer.js.map +1 -1
  241. package/dist/components/Filters/FiltersProvider.d.ts +3 -0
  242. package/dist/components/Filters/FiltersProvider.js +8 -0
  243. package/dist/components/Filters/FiltersProvider.js.map +1 -0
  244. package/dist/components/Filters/_types.d.ts +130 -0
  245. package/dist/components/Filters/_types.js +14 -0
  246. package/dist/components/Filters/_types.js.map +1 -0
  247. package/dist/components/Filters/conditionsHelper.d.ts +2 -0
  248. package/dist/components/Filters/conditionsHelper.js +16 -0
  249. package/dist/components/Filters/conditionsHelper.js.map +1 -0
  250. package/dist/components/Filters/context/filtersContext.d.ts +6 -0
  251. package/dist/components/Filters/context/filtersContext.js +9 -0
  252. package/dist/components/Filters/context/filtersContext.js.map +1 -0
  253. package/dist/components/Filters/context/filtersInitialState.d.ts +2 -0
  254. package/dist/components/Filters/context/filtersInitialState.js +10 -0
  255. package/dist/components/Filters/context/filtersInitialState.js.map +1 -0
  256. package/dist/components/Filters/context/filtersReducer.d.ts +64 -0
  257. package/dist/components/Filters/context/filtersReducer.js +179 -0
  258. package/dist/components/Filters/context/filtersReducer.js.map +1 -0
  259. package/dist/components/Filters/context/useFiltersReducer.d.ts +13 -0
  260. package/dist/components/Filters/context/useFiltersReducer.js +68 -0
  261. package/dist/components/Filters/context/useFiltersReducer.js.map +1 -0
  262. package/dist/components/Filters/filter-items/CommonFilterItem.d.ts +8 -0
  263. package/dist/components/{Explorer/manage-view-settings/_shared → Filters/filter-items}/CommonFilterItem.js +7 -7
  264. package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -0
  265. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js +35 -0
  266. package/dist/components/Filters/filter-items/filter-type/BooleanAttributeDropdown.js.map +1 -0
  267. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ColorAttributeDropDown.js +2 -2
  268. package/dist/components/Filters/filter-items/filter-type/ColorAttributeDropDown.js.map +1 -0
  269. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateAttributeDropDown.js +6 -6
  270. package/dist/components/Filters/filter-items/filter-type/DateAttributeDropDown.js.map +1 -0
  271. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateRangeAttributeDropDown.js +2 -2
  272. package/dist/components/Filters/filter-items/filter-type/DateRangeAttributeDropDown.js.map +1 -0
  273. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/EncryptedAttributeDropDown.js +2 -2
  274. package/dist/components/Filters/filter-items/filter-type/EncryptedAttributeDropDown.js.map +1 -0
  275. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ExtendedAttributeDropDown.js +2 -2
  276. package/dist/components/Filters/filter-items/filter-type/ExtendedAttributeDropDown.js.map +1 -0
  277. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.d.ts +3 -0
  278. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropDown.js +14 -14
  279. package/dist/components/Filters/filter-items/filter-type/FilterDropDown.js.map +1 -0
  280. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropdownContent.d.ts +3 -3
  281. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterDropdownContent.js +8 -8
  282. package/dist/components/Filters/filter-items/filter-type/FilterDropdownContent.js.map +1 -0
  283. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterValueListDropDown.d.ts +3 -3
  284. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/FilterValueListDropDown.js +11 -11
  285. package/dist/components/Filters/filter-items/filter-type/FilterValueListDropDown.js.map +1 -0
  286. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/LinkAttributeDropdown.js +13 -13
  287. package/dist/components/Filters/filter-items/filter-type/LinkAttributeDropdown.js.map +1 -0
  288. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/NumericAttributeDropDown.js +3 -3
  289. package/dist/components/Filters/filter-items/filter-type/NumericAttributeDropDown.js.map +1 -0
  290. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TextAttributeDropDown.js +3 -3
  291. package/dist/components/Filters/filter-items/filter-type/TextAttributeDropDown.js.map +1 -0
  292. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TreeAttributeDropDown.js +12 -12
  293. package/dist/components/Filters/filter-items/filter-type/TreeAttributeDropDown.js.map +1 -0
  294. package/dist/components/Filters/filter-items/filter-type/_types.d.ts +18 -0
  295. package/dist/components/Filters/filter-items/filter-type/_types.js.map +1 -0
  296. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/useConditionOptionsByType.d.ts +7 -7
  297. package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/useConditionOptionsByType.js +27 -27
  298. package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -0
  299. package/dist/components/Filters/index.d.ts +8 -0
  300. package/dist/components/Filters/index.js +12 -0
  301. package/dist/components/Filters/index.js.map +1 -0
  302. package/dist/components/Filters/prepareFiltersForRequest.d.ts +4 -0
  303. package/dist/components/{Explorer/_queries → Filters}/prepareFiltersForRequest.js +33 -32
  304. package/dist/components/Filters/prepareFiltersForRequest.js.map +1 -0
  305. package/dist/components/Filters/useFilters.d.ts +1724 -0
  306. package/dist/components/Filters/useFilters.js +28 -0
  307. package/dist/components/Filters/useFilters.js.map +1 -0
  308. package/dist/components/Filters/useFiltersContext.d.ts +4 -0
  309. package/dist/components/Filters/useFiltersContext.js +13 -0
  310. package/dist/components/Filters/useFiltersContext.js.map +1 -0
  311. package/dist/components/{Explorer/manage-view-settings/_shared → Filters}/useTransformFilters.d.ts +9 -9
  312. package/dist/components/{Explorer/manage-view-settings/_shared → Filters}/useTransformFilters.js +22 -22
  313. package/dist/components/Filters/useTransformFilters.js.map +1 -0
  314. package/dist/components/FloatingMenu/FloatingMenu.js +2 -2
  315. package/dist/components/ImageMissing/ImageMissing.js +1 -1
  316. package/dist/components/ImportModal/ImportModal.js +16 -16
  317. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js +14 -14
  318. package/dist/components/ImportModal/ImportModalConfigStep/ImportModalConfigStep.js.map +1 -1
  319. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.d.ts +1 -1
  320. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js +1 -1
  321. package/dist/components/ImportModal/ImportModalConfigStep/ImportScheduleModal/ImportScheduleModal.js.map +1 -1
  322. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.d.ts +1 -1
  323. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js +7 -7
  324. package/dist/components/ImportModal/ImportModalConfigStep/ImportSheetSettings/ImportSheetSettings.js.map +1 -1
  325. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js +7 -7
  326. package/dist/components/ImportModal/ImportModalSelectFileStep/ImportModalSelectFileStep.js.map +1 -1
  327. package/dist/components/ImportModal/importReducer/ImportReducerContext.js +1 -1
  328. package/dist/components/ImportModal/importReducer/importReducer.js +15 -15
  329. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js +1 -1
  330. package/dist/components/LibraryItemsList/CreateNewRecordButton/CreateNewRecordButton.js.map +1 -1
  331. package/dist/components/LibraryItemsList/DisplayOptions/DisplayOptions.js +9 -9
  332. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.d.ts +1 -1
  333. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js +23 -23
  334. package/dist/components/LibraryItemsList/FiltersDropdown/FiltersDropdown.js.map +1 -1
  335. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js +13 -13
  336. package/dist/components/LibraryItemsList/FiltersPanel/Filter/Filter.js.map +1 -1
  337. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js +4 -4
  338. package/dist/components/LibraryItemsList/FiltersPanel/Filter/FilterAttributeCondition/FilterAttributeCondition.js.map +1 -1
  339. package/dist/components/LibraryItemsList/FiltersPanel/FilterTreeCondition/FilterTreeCondition.js +3 -3
  340. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js +15 -15
  341. package/dist/components/LibraryItemsList/FiltersPanel/FiltersOptions.js.map +1 -1
  342. package/dist/components/LibraryItemsList/FiltersPanel/FiltersPanel.js +7 -7
  343. package/dist/components/LibraryItemsList/FiltersPanel/mustHideValue.js +1 -1
  344. package/dist/components/LibraryItemsList/LibraryItemsList.js +1 -1
  345. package/dist/components/LibraryItemsList/LibraryItemsList.js.map +1 -1
  346. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js +15 -15
  347. package/dist/components/LibraryItemsList/LibraryItemsListContent/LibraryItemsListContent.js.map +1 -1
  348. package/dist/components/LibraryItemsList/LibraryItemsListEmpty/LibraryItemsListEmpty.js +2 -2
  349. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyCell/BodyCell.js +2 -2
  350. package/dist/components/LibraryItemsList/LibraryItemsListTable/BodyRow/BodyRow.js +2 -2
  351. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/AllValuesCount/AllValuesCount.js +2 -2
  352. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/Cell.js +1 -1
  353. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/CellInfos/CellInfos.js +7 -7
  354. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/StandardCell/StandardCell.js +2 -2
  355. package/dist/components/LibraryItemsList/LibraryItemsListTable/Cell/typeGuards.js +1 -1
  356. package/dist/components/LibraryItemsList/LibraryItemsListTable/ChooseTableColumns/ChooseTableColumns.js +6 -6
  357. package/dist/components/LibraryItemsList/LibraryItemsListTable/Header/Header.js +12 -12
  358. package/dist/components/LibraryItemsList/LibraryItemsListTable/Table.js +7 -7
  359. package/dist/components/LibraryItemsList/MenuItemList/MenuItemList.js +1 -1
  360. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js +8 -21
  361. package/dist/components/LibraryItemsList/MenuItemListSelected/ActionsMenu/ActionsMenu.js.map +1 -1
  362. package/dist/components/LibraryItemsList/MenuItemListSelected/MenuItemListSelected.js +13 -13
  363. package/dist/components/LibraryItemsList/MenuSelection/MenuSelection.js +10 -10
  364. package/dist/components/LibraryItemsList/MenuView/MenuView.js +26 -26
  365. package/dist/components/LibraryItemsList/Sidebar/Sidebar.js +1 -1
  366. package/dist/components/LibraryItemsList/TileDisplay/ItemTileDisplay/ItemTileDisplay.js +6 -6
  367. package/dist/components/LibraryItemsList/TileDisplay/TileDisplay.js +1 -1
  368. package/dist/components/LibraryItemsList/TileDisplay/helpers/getItemPreviewSize.js +3 -3
  369. package/dist/components/LibraryItemsList/VersionsPanel/VersionsPanel.js +2 -2
  370. package/dist/components/LibraryItemsList/ViewPanel/EditView/EditView.js +5 -5
  371. package/dist/components/LibraryItemsList/ViewPanel/View/View.js +8 -8
  372. package/dist/components/LibraryItemsList/ViewPanel/ViewPanel.js +8 -8
  373. package/dist/components/LibraryItemsList/constants.js +1 -1
  374. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.d.ts +1 -1
  375. package/dist/components/LibraryItemsList/helpers/displayTypeToPreviewSize.js +4 -4
  376. package/dist/components/LibraryItemsList/helpers/extractAttributesFromLibrary.js +4 -4
  377. package/dist/components/LibraryItemsList/helpers/getFieldFromKey.js +2 -2
  378. package/dist/components/LibraryItemsList/hooks/useLibraryView/useLibraryView.js +6 -6
  379. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js +18 -18
  380. package/dist/components/LibraryItemsList/hooks/useSearchReducer/searchReducer.js.map +1 -1
  381. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js +9 -9
  382. package/dist/components/LibraryItemsList/hooks/useUpdateViewsOrderMutation.js.map +1 -1
  383. package/dist/components/LibraryItemsList/manageItems.js +1 -1
  384. package/dist/components/LibraryItemsList/shared/DeactivateRecordBtn/DeactivateRecordBtn.js +3 -3
  385. package/dist/components/LibraryItemsList/shared/SelectCellsBtn.js +2 -2
  386. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.d.ts +1 -1
  387. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js +15 -15
  388. package/dist/components/LibraryPicker/LibrariesList/LibrariesList.js.map +1 -1
  389. package/dist/components/LibraryPicker/LibraryPicker.d.ts +1 -1
  390. package/dist/components/LibraryPicker/LibraryPicker.js +1 -1
  391. package/dist/components/LibraryPicker/LibraryPicker.js.map +1 -1
  392. package/dist/components/List/List.js +1 -1
  393. package/dist/components/Notifications/InitNotificationsSubscription.d.ts +2 -0
  394. package/dist/components/Notifications/InitNotificationsSubscription.js +7 -0
  395. package/dist/components/Notifications/InitNotificationsSubscription.js.map +1 -0
  396. package/dist/components/Notifications/hooks/useNotificationSubscription.d.ts +4 -0
  397. package/dist/components/Notifications/hooks/useNotificationSubscription.js +33 -0
  398. package/dist/components/Notifications/hooks/useNotificationSubscription.js.map +1 -0
  399. package/dist/components/Notifications/index.d.ts +1 -0
  400. package/dist/components/{ExportModal → Notifications}/index.js +1 -1
  401. package/dist/components/Notifications/index.js.map +1 -0
  402. package/dist/components/RecordCard/RecordCard.d.ts +1 -1
  403. package/dist/components/RecordCard/RecordCard.js +6 -6
  404. package/dist/components/RecordCard/RecordCard.js.map +1 -1
  405. package/dist/components/RecordEdition/EditRecord/EditRecord.js +16 -17
  406. package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
  407. package/dist/components/RecordEdition/EditRecordButtons/EditRecordButtons.js +1 -1
  408. package/dist/components/RecordEdition/EditRecordButtons/SidebarButton.js +1 -1
  409. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js +7 -7
  410. package/dist/components/RecordEdition/EditRecordContent/EditRecordContent.js.map +1 -1
  411. package/dist/components/RecordEdition/EditRecordContent/_types.js +1 -1
  412. package/dist/components/RecordEdition/EditRecordContent/_types.js.map +1 -1
  413. package/dist/components/RecordEdition/EditRecordContent/antdUtils.js +1 -1
  414. package/dist/components/RecordEdition/EditRecordContent/helpers/extractFormElements/extractFormElements.js +2 -2
  415. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useDeleteValueMutation.js +1 -1
  416. package/dist/components/RecordEdition/EditRecordContent/hooks/__mocks__/useSaveValueMutation.js +1 -1
  417. package/dist/components/RecordEdition/EditRecordContent/hooks/useCreateEmptyRecordMutation.js +3 -3
  418. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteDeleteValueMutation.js +4 -4
  419. package/dist/components/RecordEdition/EditRecordContent/hooks/useExecuteSaveValueBatchMutation.js +6 -6
  420. package/dist/components/RecordEdition/EditRecordContent/hooks/useTabManagement.js +1 -1
  421. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js +19 -19
  422. package/dist/components/RecordEdition/EditRecordContent/reducers/linkFieldReducer/linkFieldReducer.js.map +1 -1
  423. package/dist/components/RecordEdition/EditRecordContent/shared/AddValueBtn/AddValueBtn.js +1 -1
  424. package/dist/components/RecordEdition/EditRecordContent/shared/ValueDetailsBtn/ValueDetailsBtn.js +1 -1
  425. package/dist/components/RecordEdition/EditRecordContent/shared/ValuesVersionBtn/ValuesVersionBtn.js +7 -7
  426. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.d.ts +1 -1
  427. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js +1 -1
  428. package/dist/components/RecordEdition/EditRecordContent/uiElements/Container/Container.js.map +1 -1
  429. package/dist/components/RecordEdition/EditRecordContent/uiElements/FormTabs/FormTabs.js +2 -2
  430. package/dist/components/RecordEdition/EditRecordContent/uiElements/Frame/Frame.js +1 -1
  431. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js +15 -8
  432. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/LinkField.js.map +1 -1
  433. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.d.ts +2 -2
  434. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js +12 -12
  435. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useExplorerLinkRecords.js.map +1 -1
  436. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.d.ts +1 -1
  437. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js +19 -16
  438. package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/link-record/useLinkRecords.js.map +1 -1
  439. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js +20 -12
  440. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardField.js.map +1 -1
  441. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js +1 -1
  442. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSBooleanWrapper.js.map +1 -1
  443. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js +2 -2
  444. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSColorPickerWrapper.js.map +1 -1
  445. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js +2 -2
  446. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSDatePickerWrapper.js.map +1 -1
  447. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js +2 -2
  448. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputEncryptedWrapper.js.map +1 -1
  449. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js +2 -2
  450. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputNumberWrapper.js.map +1 -1
  451. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js +2 -2
  452. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSInputWrapper.js.map +1 -1
  453. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js +4 -4
  454. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRangePickerWrapper.js.map +1 -1
  455. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js +2 -2
  456. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/DSRichTextWrapper.js.map +1 -1
  457. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.d.ts +1 -1
  458. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js +3 -3
  459. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/StandardFieldValue.js.map +1 -1
  460. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js +9 -9
  461. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/StandardFieldValue/ValuesList/DSListSelect.js.map +1 -1
  462. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.d.ts +1 -1
  463. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js +3 -3
  464. package/dist/components/RecordEdition/EditRecordContent/uiElements/StandardField/useGetPresentationValues.js.map +1 -1
  465. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js +21 -9
  466. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/TreeField.js.map +1 -1
  467. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeItem.js +3 -3
  468. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js +3 -1
  469. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/display-tree-node/TreeNodeList.js.map +1 -1
  470. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js +6 -6
  471. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/SelectTreeNodeModal.js.map +1 -1
  472. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.d.ts +1 -1
  473. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js +19 -19
  474. package/dist/components/RecordEdition/EditRecordContent/uiElements/TreeField/manage-tree-node-selection/useManageTreeNodeSelection.js.map +1 -1
  475. package/dist/components/RecordEdition/EditRecordContent/uiElements/index.js +1 -1
  476. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +2 -2
  477. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
  478. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/calculatedInheritedFlags.js +6 -6
  479. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.d.ts +1 -1
  480. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js +8 -8
  481. package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/useOutsideInteractionDetector.js.map +1 -1
  482. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.d.ts +2 -2
  483. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +4 -4
  484. package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
  485. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js +4 -2
  486. package/dist/components/RecordEdition/EditRecordModal/useEditRecordModal.js.map +1 -1
  487. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.d.ts +3 -2
  488. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js +17 -4
  489. package/dist/components/RecordEdition/EditRecordPage/EditRecordPage.js.map +1 -1
  490. package/dist/components/RecordEdition/EditRecordSidebar/AttributeSummary/useAttributeInformations.js +2 -2
  491. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js +9 -9
  492. package/dist/components/RecordEdition/EditRecordSidebar/Breacrumb/Breadcrumb.js.map +1 -1
  493. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordInformations/useRecordInformations.js +6 -6
  494. package/dist/components/RecordEdition/EditRecordSidebar/RecordSummary/RecordSummary.js +4 -4
  495. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js +16 -16
  496. package/dist/components/RecordEdition/EditRecordSidebar/ValuesSummary/ValuesSummary.js.map +1 -1
  497. package/dist/components/RecordEdition/EditRecordSidebar/ValuesVersions/ValuesVersions.js +3 -3
  498. package/dist/components/RecordEdition/_types.d.ts +2 -2
  499. package/dist/components/RecordEdition/editRecordReducer/editRecordReducer.js +10 -10
  500. package/dist/components/RecordEdition/editRecordReducer/editRecordReducerContext.js +1 -1
  501. package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +1 -1
  502. package/dist/components/RecordEdition/hooks/useGetSubmitButtons.d.ts +2 -2
  503. package/dist/components/RecordHistory/RecordHistory.js +2 -2
  504. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.d.ts +1 -1
  505. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js +8 -8
  506. package/dist/components/RecordHistory/hooks/useFetchRecordHistory.js.map +1 -1
  507. package/dist/components/RecordPreviewWithModal/FileModal/FileModal.js +1 -1
  508. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalContent.js +2 -2
  509. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/FileModalSidebar/FileModalSidebar.js +8 -8
  510. package/dist/components/RecordPreviewWithModal/FileModal/FileModalContent/ImageFile/ImageFile.js +2 -2
  511. package/dist/components/RecordPreviewWithModal/RecordPreviewWithModal.js +1 -1
  512. package/dist/components/SearchModal/SearchModal.js +1 -1
  513. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js +12 -12
  514. package/dist/components/SelectRecordForLinkModal/SelectRecordForLinkModal.js.map +1 -1
  515. package/dist/components/SelectTreeNode/SelectTreeNode.d.ts +1 -0
  516. package/dist/components/SelectTreeNode/SelectTreeNode.js +3 -3
  517. package/dist/components/SelectTreeNode/SelectTreeNode.js.map +1 -1
  518. package/dist/components/SelectTreeNode/SelectTreeNodeContent.d.ts +1 -0
  519. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js +18 -25
  520. package/dist/components/SelectTreeNode/SelectTreeNodeContent.js.map +1 -1
  521. package/dist/components/SelectTreeNode/TreeNodeTitle.d.ts +10 -5
  522. package/dist/components/SelectTreeNode/TreeNodeTitle.js +49 -3
  523. package/dist/components/SelectTreeNode/TreeNodeTitle.js.map +1 -1
  524. package/dist/components/SelectTreeNode/_types.js +1 -0
  525. package/dist/components/SelectTreeNode/_types.js.map +1 -1
  526. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js +3 -3
  527. package/dist/components/SelectTreeNodeModalOld/SelectTreeNodeModalOld.js.map +1 -1
  528. package/dist/components/SimpleErrorBoundary/SimpleErrorBoundary.js +1 -1
  529. package/dist/components/TreePicker/TreePicker.d.ts +1 -1
  530. package/dist/components/TreePicker/TreePicker.js +1 -1
  531. package/dist/components/TreePicker/TreePicker.js.map +1 -1
  532. package/dist/components/TreePicker/TreesList/TreesList.js +13 -13
  533. package/dist/components/TreePicker/TreesList/TreesList.js.map +1 -1
  534. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.d.ts +1 -1
  535. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js +7 -7
  536. package/dist/components/TriggerPreviewsGenerationModal/TriggerPreviewsGenerationModal.js.map +1 -1
  537. package/dist/components/UploadFiles/UploadFiles.d.ts +1 -1
  538. package/dist/components/UploadFiles/UploadFiles.js +25 -25
  539. package/dist/components/UploadFiles/UploadFiles.js.map +1 -1
  540. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.d.ts +1 -1
  541. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js +3 -3
  542. package/dist/components/ValuesVersionConfigurator/ValuesVersionConfigurator.js.map +1 -1
  543. package/dist/components/index.d.ts +2 -1
  544. package/dist/components/index.js +2 -1
  545. package/dist/components/index.js.map +1 -1
  546. package/dist/constants.d.ts +6 -4
  547. package/dist/constants.js +8 -6
  548. package/dist/constants.js.map +1 -1
  549. package/dist/contexts/EditRecordModalContext/EditRecordModalContext.js +1 -1
  550. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js +2 -2
  551. package/dist/contexts/EditRecordModalContext/EditRecordModalProvider.js.map +1 -1
  552. package/dist/gqlPossibleTypes/index.js +1 -1
  553. package/dist/hooks/index.d.ts +1 -0
  554. package/dist/hooks/index.js +1 -0
  555. package/dist/hooks/index.js.map +1 -1
  556. package/dist/hooks/useAntdLocale/useAntdLocale.js +1 -1
  557. package/dist/hooks/useAuth/useAuth.js +1 -1
  558. package/dist/hooks/useCanEditRecord/useCanEditRecord.js +8 -8
  559. package/dist/hooks/useCanEditRecord/useCanEditRecord.js.map +1 -1
  560. package/dist/hooks/useExecuteDeleteViewMutation/useExecuteDeleteViewMutation.js +3 -3
  561. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js +8 -8
  562. package/dist/hooks/useExecuteSaveViewMutation/useExecuteSaveViewMutation.js.map +1 -1
  563. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js +3 -3
  564. package/dist/hooks/useGetLibraryDetailExtendedQuery/useGetLibraryDetailExtendedQuery.js.map +1 -1
  565. package/dist/hooks/useGetPreparedFileData/useGetPreparedFileData.js +3 -3
  566. package/dist/hooks/useGetRecordForm/useGetRecordForm.d.ts +1 -1
  567. package/dist/hooks/useGetRecordForm/useGetRecordForm.js +11 -11
  568. package/dist/hooks/useGetRecordForm/useGetRecordForm.js.map +1 -1
  569. package/dist/hooks/useGetRecordUpdatesSubscription/useGetRecordUpdatesSubscription.js +1 -1
  570. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js +5 -5
  571. package/dist/hooks/useGetRecordValuesQuery/useGetRecordValuesQuery.js.map +1 -1
  572. package/dist/hooks/useIFrameMessenger/messageHandlers.d.ts +3 -3
  573. package/dist/hooks/useIFrameMessenger/messageHandlers.js +16 -20
  574. package/dist/hooks/useIFrameMessenger/messageHandlers.js.map +1 -1
  575. package/dist/hooks/useIFrameMessenger/schema.d.ts +88 -5
  576. package/dist/hooks/useIFrameMessenger/schema.js +49 -57
  577. package/dist/hooks/useIFrameMessenger/schema.js.map +1 -1
  578. package/dist/hooks/useIFrameMessenger/types.d.ts +33 -31
  579. package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
  580. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +2 -2
  581. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +2 -2
  582. package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
  583. package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +2 -2
  584. package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +2 -2
  585. package/dist/hooks/useLang/__mocks__/useLang.js +1 -1
  586. package/dist/hooks/useLibraryVersionTrees/useLibraryVersionTrees.js +1 -1
  587. package/dist/hooks/useLoginChecker/useLoginChecker.js +2 -2
  588. package/dist/hooks/useRecordsConsultationHistory/useRecordsConsultationHistory.js +3 -3
  589. package/dist/hooks/useRedirectToLogin/useRedirectToLogin.js +1 -1
  590. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js +8 -8
  591. package/dist/hooks/useRefreshFieldValues/useRefreshFieldValues.js.map +1 -1
  592. package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js +2 -2
  593. package/dist/hooks/useSharedTranslation/useSharedTranslation.js +3 -3
  594. package/dist/hooks/useValuesCacheUpdate/useValuesCacheUpdate.js +2 -2
  595. package/dist/locales/en/shared.json +29 -5
  596. package/dist/locales/fr/shared.json +29 -5
  597. package/dist/testing/MockedLangContextProvider/MockedLangContextProvider.js +1 -1
  598. package/dist/testing/MockedUserContextProvider/MockedUserContextProvider.js +3 -3
  599. package/dist/types/search.d.ts +5 -5
  600. package/dist/types/search.js +7 -7
  601. package/dist/types/search.js.map +1 -1
  602. package/package.json +4 -4
  603. package/dist/components/Explorer/_queries/prepareFiltersForRequest.d.ts +0 -4
  604. package/dist/components/Explorer/_queries/prepareFiltersForRequest.js.map +0 -1
  605. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.d.ts +0 -6
  606. package/dist/components/Explorer/manage-view-settings/_shared/CommonFilterItem.js.map +0 -1
  607. package/dist/components/Explorer/manage-view-settings/_shared/useTransformFilters.js.map +0 -1
  608. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js +0 -27
  609. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/BooleanAttributeDropdown.js.map +0 -1
  610. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ColorAttributeDropDown.js.map +0 -1
  611. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateAttributeDropDown.js.map +0 -1
  612. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/DateRangeAttributeDropDown.js.map +0 -1
  613. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/EncryptedAttributeDropDown.js.map +0 -1
  614. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/ExtendedAttributeDropDown.js.map +0 -1
  615. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.d.ts +0 -3
  616. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropDown.js.map +0 -1
  617. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterDropdownContent.js.map +0 -1
  618. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/FilterValueListDropDown.js.map +0 -1
  619. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/LinkAttributeDropdown.js.map +0 -1
  620. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/NumericAttributeDropDown.js.map +0 -1
  621. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TextAttributeDropDown.js.map +0 -1
  622. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/TreeAttributeDropDown.js.map +0 -1
  623. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.d.ts +0 -18
  624. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/_types.js.map +0 -1
  625. package/dist/components/Explorer/manage-view-settings/filter-items/filter-type/useConditionOptionsByType.js.map +0 -1
  626. package/dist/components/ExportModal/ExportModal.d.ts +0 -10
  627. package/dist/components/ExportModal/ExportModal.js +0 -123
  628. package/dist/components/ExportModal/ExportModal.js.map +0 -1
  629. package/dist/components/ExportModal/index.d.ts +0 -1
  630. package/dist/components/ExportModal/index.js.map +0 -1
  631. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/BooleanAttributeDropdown.d.ts +0 -0
  632. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ColorAttributeDropDown.d.ts +0 -0
  633. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateAttributeDropDown.d.ts +0 -0
  634. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/DateRangeAttributeDropDown.d.ts +0 -0
  635. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/EncryptedAttributeDropDown.d.ts +0 -0
  636. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/ExtendedAttributeDropDown.d.ts +0 -0
  637. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/LinkAttributeDropdown.d.ts +0 -0
  638. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/NumericAttributeDropDown.d.ts +0 -0
  639. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TextAttributeDropDown.d.ts +0 -0
  640. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/TreeAttributeDropDown.d.ts +0 -0
  641. /package/dist/components/{Explorer/manage-view-settings → Filters}/filter-items/filter-type/_types.js +0 -0
@@ -3,12 +3,12 @@ export const mockApplication = {
3
3
  id: 'my_app',
4
4
  label: {
5
5
  fr: 'Mon application',
6
- en: 'My application'
6
+ en: 'My application',
7
7
  },
8
8
  type: ApplicationType.internal,
9
9
  description: {
10
10
  fr: 'Description de mon application',
11
- en: 'My application description'
11
+ en: 'My application description',
12
12
  },
13
13
  endpoint: 'my-app',
14
14
  url: null,
@@ -19,8 +19,8 @@ export const mockApplication = {
19
19
  permissions: {
20
20
  access_application: true,
21
21
  admin_application: true,
22
- __typename: 'ApplicationPermissions'
22
+ __typename: 'ApplicationPermissions',
23
23
  },
24
- __typename: 'Application'
24
+ __typename: 'Application',
25
25
  };
26
26
  //# sourceMappingURL=application.js.map
@@ -1,40 +1,40 @@
1
- import { AttributeFormat, AttributeType } from '../../_gqlTypes';
1
+ import { AttributeFormat, AttributeType, } from '../../_gqlTypes';
2
2
  export const mockLibraryAttribute = {
3
3
  id: 'my_attribute',
4
4
  type: AttributeType.simple,
5
5
  format: AttributeFormat.text,
6
6
  label: {
7
7
  fr: 'Mon attribut',
8
- en: 'My attribute'
8
+ en: 'My attribute',
9
9
  },
10
- system: false
10
+ system: false,
11
11
  };
12
12
  export const mockAttributeSimple = {
13
13
  id: 'my_attribute',
14
14
  label: {
15
15
  fr: 'Mon attribut',
16
- en: 'My attribute'
16
+ en: 'My attribute',
17
17
  },
18
18
  type: AttributeType.simple,
19
19
  format: AttributeFormat.text,
20
- system: false
20
+ system: false,
21
21
  };
22
22
  export const mockAttributeWithDetails = {
23
23
  id: 'my_attribute',
24
24
  label: {
25
25
  fr: 'Mon attribut',
26
- en: 'My attribute'
26
+ en: 'My attribute',
27
27
  },
28
28
  format: AttributeFormat.text,
29
29
  type: AttributeType.simple,
30
30
  system: false,
31
31
  description: {
32
32
  fr: 'Ma description',
33
- en: 'My description'
33
+ en: 'My description',
34
34
  },
35
35
  unique: false,
36
36
  readonly: false,
37
- multiple_values: false
37
+ multiple_values: false,
38
38
  };
39
39
  export const mockAttributeLink = {
40
40
  ...mockAttributeWithDetails,
@@ -43,9 +43,9 @@ export const mockAttributeLink = {
43
43
  id: 'my_linked_library',
44
44
  label: {
45
45
  fr: 'Ma biblio',
46
- en: 'My library'
47
- }
48
- }
46
+ en: 'My library',
47
+ },
48
+ },
49
49
  };
50
50
  export const mockAttributeTree = {
51
51
  ...mockAttributeWithDetails,
@@ -54,9 +54,9 @@ export const mockAttributeTree = {
54
54
  id: 'my_linked_tree',
55
55
  label: {
56
56
  fr: 'Mon arbre',
57
- en: 'My tree'
58
- }
59
- }
57
+ en: 'My tree',
58
+ },
59
+ },
60
60
  };
61
61
  export const mockAttributeVersionable = {
62
62
  ...mockAttributeWithDetails,
@@ -66,19 +66,19 @@ export const mockAttributeVersionable = {
66
66
  id: 'my_profile',
67
67
  label: {
68
68
  fr: 'Mon profil',
69
- en: 'My profile'
69
+ en: 'My profile',
70
70
  },
71
71
  trees: [
72
72
  {
73
73
  id: 'my_tree',
74
74
  label: {
75
75
  fr: 'Mon arbre',
76
- en: 'My tree'
77
- }
78
- }
79
- ]
80
- }
81
- }
76
+ en: 'My tree',
77
+ },
78
+ },
79
+ ],
80
+ },
81
+ },
82
82
  };
83
83
  export const mockFormAttribute = {
84
84
  id: 'test_attribute',
@@ -86,11 +86,11 @@ export const mockFormAttribute = {
86
86
  format: AttributeFormat.extended,
87
87
  label: {
88
88
  fr: 'test',
89
- en: 'test'
89
+ en: 'test',
90
90
  },
91
91
  description: {
92
92
  fr: 'Mon attribut',
93
- en: 'My attribute'
93
+ en: 'My attribute',
94
94
  },
95
95
  system: false,
96
96
  readonly: false,
@@ -100,35 +100,35 @@ export const mockFormAttribute = {
100
100
  enable: false,
101
101
  allowFreeEntry: false,
102
102
  allowListUpdate: false,
103
- values: []
103
+ values: [],
104
104
  },
105
105
  permissions: {
106
106
  access_attribute: true,
107
- edit_value: true
107
+ edit_value: true,
108
108
  },
109
109
  metadata_fields: [
110
110
  {
111
111
  ...mockAttributeWithDetails,
112
112
  permissions: {
113
113
  access_attribute: true,
114
- edit_value: true
115
- }
116
- }
114
+ edit_value: true,
115
+ },
116
+ },
117
117
  ],
118
118
  versions_conf: null,
119
- compute: false
119
+ compute: false,
120
120
  };
121
121
  export const mockFormAttributeCompute = {
122
122
  ...mockFormAttribute,
123
123
  id: 'test_compute_attribute',
124
124
  format: AttributeFormat.text,
125
- compute: true
125
+ compute: true,
126
126
  };
127
127
  export const mockFormAttributeTree = {
128
128
  ...mockFormAttribute,
129
129
  ...mockAttributeTree,
130
130
  metadata_fields: null,
131
- treeValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] }
131
+ treeValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] },
132
132
  };
133
133
  export const mockSelectedAttributeA = {
134
134
  id: 'A',
@@ -136,16 +136,16 @@ export const mockSelectedAttributeA = {
136
136
  path: 'A',
137
137
  library: 'test_lib',
138
138
  label: { fr: 'My attribute' },
139
- multiple_values: false
139
+ multiple_values: false,
140
140
  };
141
141
  export const mockSelectedAttributeB = {
142
142
  ...mockSelectedAttributeA,
143
143
  id: 'B',
144
- path: 'B'
144
+ path: 'B',
145
145
  };
146
146
  export const mockSelectedAttributeC = {
147
147
  ...mockSelectedAttributeA,
148
148
  id: 'C',
149
- path: 'C'
149
+ path: 'C',
150
150
  };
151
151
  //# sourceMappingURL=attribute.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attribute.js","sourceRoot":"","sources":["../../../src/__mocks__/common/attribute.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,eAAe,EACf,aAAa,EAKhB,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,oBAAoB,GAA8B;I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EAAE,IAAI;IACrB,cAAc,EAAE,EAAC,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAC;CAC7F,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,aAAa,CAAC,MAAM;IAC1B,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,EAAC,EAAE,EAAE,cAAc,EAAC;IAC3B,eAAe,EAAE,KAAK;CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAuB;IACtD,GAAG,sBAAsB;IACzB,EAAE,EAAE,GAAG;IACP,IAAI,EAAE,GAAG;CACZ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
2
2
  // This file is released under LGPL V3
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
- import { AttributeConditionFilter, FilterType, TreeConditionFilter } from '../../types/search';
4
+ import { AttributeConditionFilter, FilterType, TreeConditionFilter, } from '../../types/search';
5
5
  import { RecordFilterCondition, RecordFilterOperator } from '../../_gqlTypes';
6
6
  import { mockAttributeWithDetails } from './attribute';
7
7
  import { mockLibrarySimple } from './library';
@@ -12,7 +12,7 @@ export const mockFilterAttribute = {
12
12
  value: { value: 'test-value' },
13
13
  active: true,
14
14
  condition: AttributeConditionFilter.CONTAINS,
15
- attribute: { ...mockAttributeWithDetails, isLink: false, isMultiple: false, library: mockLibrarySimple.id }
15
+ attribute: { ...mockAttributeWithDetails, isLink: false, isMultiple: false, library: mockLibrarySimple.id },
16
16
  };
17
17
  export const mockFilterTree = {
18
18
  type: FilterType.ATTRIBUTE,
@@ -21,12 +21,12 @@ export const mockFilterTree = {
21
21
  value: { value: 'test-value' },
22
22
  active: true,
23
23
  condition: TreeConditionFilter.CLASSIFIED_IN,
24
- tree: { id: 'treeId' }
24
+ tree: { id: 'treeId' },
25
25
  };
26
26
  export const mockQueryFilter = {
27
27
  field: 'field',
28
28
  value: 'value',
29
29
  condition: RecordFilterCondition.CONTAINS,
30
- operator: RecordFilterOperator.AND
30
+ operator: RecordFilterOperator.AND,
31
31
  };
32
32
  //# sourceMappingURL=filter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../../src/__mocks__/common/filter.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,wBAAwB,EACxB,UAAU,EAIV,mBAAmB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAC,qBAAqB,EAAE,oBAAoB,EAAC,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,iBAAiB,EAAC,MAAM,WAAW,CAAC;AAE5C,MAAM,CAAC,MAAM,mBAAmB,GAAqB;IACjD,IAAI,EAAE,UAAU,CAAC,SAAS;IAC1B,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,QAAQ;IACb,KAAK,EAAE,EAAC,KAAK,EAAE,YAAY,EAAC;IAC5B,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,wBAAwB,CAAC,QAAQ;IAC5C,SAAS,EAAE,EAAC,GAAG,wBAAwB,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,iBAAiB,CAAC,EAAE,EAAC;CAC5G,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAgB;IACvC,IAAI,EAAE,UAAU,CAAC,SAAS;IAC1B,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,QAAQ;IACb,KAAK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AC,KAAK,EAAE,YAAY,EAAC;IAC5B,MAAM,EAAE,IAAI;IACZ,SAAS,EAAE,mBAAmB,CAAC,aAAa;IAC5C,IAAI,EAAE,EAAC,EAAE,EAAE,QAAQ,EAAC;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAiB;IACzC,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,qBAAqB,CAAC,QAAQ;IACzC,QAAQ,EAAE,oBAAoB,CAAC,GAAG;CACrC,CAAC"}
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  // Copyright LEAV Solutions 2017 until 2023/11/05, Copyright Aristid from 2023/11/06
3
3
  // This file is released under LGPL V3
4
4
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
5
- import { FormFieldTypes, FormUIElementTypes, TabsDirection } from '@leav/utils';
5
+ import { FormFieldTypes, FormUIElementTypes, TabsDirection, } from '@leav/utils';
6
6
  import { AttributeFormat, AttributeType, FormElementTypes, LibraryBehavior } from '../../_gqlTypes';
7
7
  import { mockRecord } from '../../__mocks__/common/record';
8
8
  import { mockAttributeSimple, mockFormAttribute } from './attribute';
@@ -25,10 +25,10 @@ const formElementBase = {
25
25
  id_value: null,
26
26
  attribute: mockAttributeSimple,
27
27
  metadata: null,
28
- version: null
29
- }
28
+ version: null,
29
+ },
30
30
  ],
31
- settings: {}
31
+ settings: {},
32
32
  };
33
33
  export const mockFormElementContainer = {
34
34
  ...formElementBase,
@@ -36,7 +36,7 @@ export const mockFormElementContainer = {
36
36
  containerId: '__root',
37
37
  uiElement: () => _jsx("div", { children: FormUIElementTypes.FIELDS_CONTAINER }),
38
38
  type: FormElementTypes.layout,
39
- uiElementType: FormUIElementTypes.FIELDS_CONTAINER
39
+ uiElementType: FormUIElementTypes.FIELDS_CONTAINER,
40
40
  };
41
41
  export const mockFormElementInput = {
42
42
  ...formElementBase,
@@ -46,7 +46,7 @@ export const mockFormElementInput = {
46
46
  attribute: { ...mockFormAttribute, format: AttributeFormat.text, versions_conf: { versionable: false, profile: null } },
47
47
  uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
48
48
  type: FormElementTypes.field,
49
- uiElementType: FormFieldTypes.TEXT_INPUT
49
+ uiElementType: FormFieldTypes.TEXT_INPUT,
50
50
  };
51
51
  export const mockFormElementRequiredInput = {
52
52
  ...formElementBase,
@@ -57,11 +57,11 @@ export const mockFormElementRequiredInput = {
57
57
  ...mockFormAttribute,
58
58
  format: AttributeFormat.text,
59
59
  versions_conf: { versionable: false, profile: null },
60
- required: true
60
+ required: true,
61
61
  },
62
62
  uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
63
63
  type: FormElementTypes.field,
64
- uiElementType: FormFieldTypes.TEXT_INPUT
64
+ uiElementType: FormFieldTypes.TEXT_INPUT,
65
65
  };
66
66
  export const mockFormElementMultipleInput = {
67
67
  ...formElementBase,
@@ -73,11 +73,11 @@ export const mockFormElementMultipleInput = {
73
73
  type: AttributeType.advanced,
74
74
  multiple_values: true,
75
75
  format: AttributeFormat.text,
76
- versions_conf: { versionable: false, profile: null }
76
+ versions_conf: { versionable: false, profile: null },
77
77
  },
78
78
  uiElement: () => _jsx("div", { children: FormFieldTypes.TEXT_INPUT }),
79
79
  type: FormElementTypes.field,
80
- uiElementType: FormFieldTypes.TEXT_INPUT
80
+ uiElementType: FormFieldTypes.TEXT_INPUT,
81
81
  };
82
82
  export const mockFormElementDate = {
83
83
  ...formElementBase,
@@ -86,7 +86,7 @@ export const mockFormElementDate = {
86
86
  settings: { attribute: 'test_attribute' },
87
87
  uiElement: () => _jsx("div", { children: FormFieldTypes.DATE }),
88
88
  type: FormElementTypes.field,
89
- uiElementType: FormFieldTypes.DATE
89
+ uiElementType: FormFieldTypes.DATE,
90
90
  };
91
91
  export const mockFormElementInputVersionable = {
92
92
  ...mockFormElementInput,
@@ -94,16 +94,16 @@ export const mockFormElementInputVersionable = {
94
94
  ...mockFormElementInput.attribute,
95
95
  versions_conf: {
96
96
  versionable: true,
97
- profile: mockVersionProfile
98
- }
99
- }
97
+ profile: mockVersionProfile,
98
+ },
99
+ },
100
100
  };
101
101
  export const mockLinkValue = {
102
102
  linkValue: {
103
103
  id: '123456',
104
104
  whoAmI: {
105
- ...mockRecord
106
- }
105
+ ...mockRecord,
106
+ },
107
107
  },
108
108
  created_at: 123456789,
109
109
  modified_at: 123456789,
@@ -111,7 +111,7 @@ export const mockLinkValue = {
111
111
  modified_by: mockModifier,
112
112
  id_value: null,
113
113
  metadata: null,
114
- version: null
114
+ version: null,
115
115
  };
116
116
  const mockFormAttributeLink = {
117
117
  ...mockFormAttribute,
@@ -121,11 +121,11 @@ const mockFormAttributeLink = {
121
121
  behavior: LibraryBehavior.standard,
122
122
  label: { fr: 'Lib' },
123
123
  permissions: {
124
- create_record: true
125
- }
124
+ create_record: true,
125
+ },
126
126
  },
127
127
  system: false,
128
- linkValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] }
128
+ linkValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] },
129
129
  };
130
130
  export const mockFormElementLink = {
131
131
  ...formElementBase,
@@ -136,7 +136,7 @@ export const mockFormElementLink = {
136
136
  type: FormElementTypes.field,
137
137
  uiElementType: FormFieldTypes.LINK,
138
138
  attribute: mockFormAttributeLink,
139
- values: [mockLinkValue]
139
+ values: [mockLinkValue],
140
140
  };
141
141
  export const mockFormElementLinkVersionable = {
142
142
  ...mockFormElementLink,
@@ -144,9 +144,9 @@ export const mockFormElementLinkVersionable = {
144
144
  ...mockFormElementLink.attribute,
145
145
  versions_conf: {
146
146
  versionable: true,
147
- profile: mockVersionProfile
148
- }
149
- }
147
+ profile: mockVersionProfile,
148
+ },
149
+ },
150
150
  };
151
151
  const mockRecordIdentity = {
152
152
  id: '123456',
@@ -157,9 +157,9 @@ const mockRecordIdentity = {
157
157
  library: {
158
158
  ...mockRecord.library,
159
159
  id: 'linked_lib',
160
- label: { en: 'Linked lib' }
161
- }
162
- }
160
+ label: { en: 'Linked lib' },
161
+ },
162
+ },
163
163
  };
164
164
  const mockRecord2 = {
165
165
  id: '123458',
@@ -170,9 +170,9 @@ const mockRecord2 = {
170
170
  library: {
171
171
  ...mockRecord.library,
172
172
  id: 'linked_lib',
173
- label: { en: 'Linked lib' }
174
- }
175
- }
173
+ label: { en: 'Linked lib' },
174
+ },
175
+ },
176
176
  };
177
177
  const mockRecordAncestor = {
178
178
  id: '123457',
@@ -183,9 +183,9 @@ const mockRecordAncestor = {
183
183
  library: {
184
184
  ...mockRecord.library,
185
185
  id: 'linked_lib',
186
- label: { en: 'Linked lib' }
187
- }
188
- }
186
+ label: { en: 'Linked lib' },
187
+ },
188
+ },
189
189
  };
190
190
  export const mockTreeValueA = {
191
191
  treeValue: {
@@ -193,19 +193,19 @@ export const mockTreeValueA = {
193
193
  record: mockRecordIdentity,
194
194
  ancestors: [
195
195
  {
196
- record: mockRecordAncestor
196
+ record: mockRecordAncestor,
197
197
  },
198
198
  {
199
- record: mockRecordIdentity
200
- }
201
- ]
199
+ record: mockRecordIdentity,
200
+ },
201
+ ],
202
202
  },
203
203
  created_at: 123456789,
204
204
  modified_at: 123456789,
205
205
  created_by: mockModifier,
206
206
  modified_by: mockModifier,
207
207
  metadata: null,
208
- id_value: '123456'
208
+ id_value: '123456',
209
209
  };
210
210
  export const mockTreeValueB = {
211
211
  ...mockTreeValueA,
@@ -214,14 +214,14 @@ export const mockTreeValueB = {
214
214
  record: mockRecord2,
215
215
  ancestors: [
216
216
  {
217
- record: mockRecordAncestor
217
+ record: mockRecordAncestor,
218
218
  },
219
219
  {
220
- record: mockRecord2
221
- }
222
- ]
220
+ record: mockRecord2,
221
+ },
222
+ ],
223
223
  },
224
- id_value: '987654'
224
+ id_value: '987654',
225
225
  };
226
226
  export const mockFormElementTree = {
227
227
  ...formElementBase,
@@ -238,32 +238,32 @@ export const mockFormElementTree = {
238
238
  id: 'my_linked_tree',
239
239
  label: {
240
240
  fr: 'Mon arbre',
241
- en: 'My tree'
242
- }
241
+ en: 'My tree',
242
+ },
243
243
  },
244
- treeValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] }
244
+ treeValuesList: { enable: false, allowFreeEntry: false, allowListUpdate: false, values: [] },
245
245
  },
246
246
  values: [
247
247
  { ...mockTreeValueA },
248
- { ...mockTreeValueB }
249
- ]
248
+ { ...mockTreeValueB },
249
+ ],
250
250
  };
251
251
  export const mockFormElementTextBlock = {
252
252
  ...formElementBase,
253
253
  id: 'text_block',
254
254
  containerId: '__root',
255
255
  settings: {
256
- content: '**text content**'
256
+ content: '**text content**',
257
257
  },
258
258
  uiElement: () => _jsx("div", { children: FormUIElementTypes.TEXT_BLOCK }),
259
- uiElementType: FormUIElementTypes.TEXT_BLOCK
259
+ uiElementType: FormUIElementTypes.TEXT_BLOCK,
260
260
  };
261
261
  export const mockFormElementDivider = {
262
262
  ...formElementBase,
263
263
  id: 'divider',
264
264
  containerId: '__root',
265
265
  uiElement: () => _jsx("div", { children: FormUIElementTypes.DIVIDER }),
266
- uiElementType: FormUIElementTypes.DIVIDER
266
+ uiElementType: FormUIElementTypes.DIVIDER,
267
267
  };
268
268
  export const mockFormElementTabs = {
269
269
  ...formElementBase,
@@ -272,29 +272,29 @@ export const mockFormElementTabs = {
272
272
  settings: {
273
273
  tabs: [
274
274
  { id: 'tab1', label: { fr: 'Tab 1' } },
275
- { id: 'tab2', label: { fr: 'Tab 2' } }
275
+ { id: 'tab2', label: { fr: 'Tab 2' } },
276
276
  ],
277
- direction: TabsDirection.HORIZONTAL
277
+ direction: TabsDirection.HORIZONTAL,
278
278
  },
279
279
  uiElement: () => _jsx("div", { children: FormUIElementTypes.TABS }),
280
- uiElementType: FormUIElementTypes.TABS
280
+ uiElementType: FormUIElementTypes.TABS,
281
281
  };
282
282
  export const mockCommonFormElementProps = {
283
283
  onValueDelete: jest.fn(),
284
284
  onValueSubmit: jest.fn(),
285
- onDeleteMultipleValues: jest.fn()
285
+ onDeleteMultipleValues: jest.fn(),
286
286
  };
287
287
  export const mockRecordForm = {
288
288
  id: 'edition_form',
289
289
  library: {
290
- id: 'test_lib'
290
+ id: 'test_lib',
291
291
  },
292
292
  recordId: '123456',
293
293
  dependencyAttributes: [],
294
294
  elements: [{ ...mockFormElementInput, settings: [{ key: 'my_settings', value: 'value' }] }],
295
295
  sidePanel: {
296
296
  enable: true,
297
- isOpenByDefault: true
298
- }
297
+ isOpenByDefault: true,
298
+ },
299
299
  };
300
300
  //# sourceMappingURL=form.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form.js","sourceRoot":"","sources":["../../../src/__mocks__/common/form.tsx"],"names":[],"mappings":";AAAA,oFAAoF;AACpF,sCAAsC;AACtC,sEAAsE;AACtE,OAAO,EACH,cAAc,EACd,kBAAkB,EAIlB,aAAa,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAC,eAAe,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAChG,OAAO,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAC,mBAAmB,EAAE,iBAAiB,EAAC,MAAM,aAAa,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,SAAS,CAAC;AACrC,OAAO,EAAC,kBAAkB,EAAC,MAAM,kBAAkB,CAAC;AAEpD,MAAM,eAAe,GAAG;IACpB,IAAI,EAAE,gBAAgB,CAAC,MAAM;IAC7B,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,MAAM,EAAE;QACJ;YACI,KAAK,EAAE,oBAAoB;YAC3B,SAAS,EAAE,cAAc;YACzB,OAAO,EAAE,oBAAoB;YAC7B,WAAW,EAAE,gBAAgB;YAC7B,UAAU,EAAE,SAAS;YACrB,WAAW,EAAE,SAAS;YACtB,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,mBA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21
+ },
22
22
  ],
23
23
  name: 'test_sheet',
24
24
  attributes: [
25
25
  { ...mockAttributeWithDetails, id: 'colA' },
26
- { ...mockAttributeWithDetails, id: 'colB' }
27
- ]
26
+ { ...mockAttributeWithDetails, id: 'colB' },
27
+ ],
28
28
  };
29
29
  //# sourceMappingURL=import.js.map
@@ -3,6 +3,6 @@
3
3
  // License text available at https://www.gnu.org/licenses/lgpl-3.0.txt
4
4
  export const mockLabel = (label) => ({
5
5
  fr: label,
6
- en: label
6
+ en: label,
7
7
  });
8
8
  //# sourceMappingURL=label.js.map