@imtf/dms-core 6.5.7-natwest.0 → 7.4.3-beta.0

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 (286) hide show
  1. package/README.md +75 -0
  2. package/apps/folder-manager/routes/InodeCollection/hooks/useRemoveInodesFromUrl.d.ts +4 -0
  3. package/core/components/ActionMenu/Menu.d.ts +19 -0
  4. package/core/components/ActionMenu/Trigger.d.ts +8 -0
  5. package/core/components/ActionMenu/index.d.ts +1 -0
  6. package/core/components/ActionMenu/styles.d.ts +2 -0
  7. package/core/components/Chip/Chip.d.ts +8 -0
  8. package/core/components/CloseModalButton/CloseModalButton.d.ts +14 -0
  9. package/core/components/CloseModalButton/index.d.ts +1 -0
  10. package/core/components/DatePicker/DatePicker.d.ts +7 -0
  11. package/core/components/DatePicker/index.d.ts +1 -0
  12. package/core/components/Error/index.d.ts +7 -0
  13. package/core/components/FormattedMessage/index.d.ts +11 -0
  14. package/core/components/FormattedNumberTextfield/FormattedNumberTextfield.d.ts +3 -0
  15. package/core/components/FormattedNumberTextfield/index.d.ts +1 -0
  16. package/core/components/Inline/index.d.ts +8 -0
  17. package/core/components/ItemIcon/TaskIcon.d.ts +5 -0
  18. package/core/components/ItemIcon/index.d.ts +19 -0
  19. package/core/components/NotFound/index.d.ts +4 -0
  20. package/core/components/Select/Select.d.ts +20 -0
  21. package/core/components/Select/index.d.ts +1 -0
  22. package/core/components/Tooltip/TooltipError.d.ts +4 -0
  23. package/core/components/dms-ui/Composer.d.ts +57 -0
  24. package/core/components/dms-ui/NewDatasourceAutocomplete.d.ts +18 -0
  25. package/core/components/dms-ui/constants.d.ts +1 -0
  26. package/core/components/dms-ui/default/DatasourceAutocomplete.d.ts +18 -0
  27. package/core/components/dms-ui/default/DatePicker.d.ts +17 -0
  28. package/core/components/dms-ui/default/Group.d.ts +19 -0
  29. package/core/components/dms-ui/default/NestedGroup.d.ts +7 -0
  30. package/core/components/dms-ui/default/NumberFormattedTexfield.d.ts +17 -0
  31. package/core/components/dms-ui/default/NumberTextfield.d.ts +3 -0
  32. package/core/components/dms-ui/default/RadioButton.d.ts +16 -0
  33. package/core/components/dms-ui/default/Select.d.ts +20 -0
  34. package/core/components/dms-ui/default/Textfield.d.ts +17 -0
  35. package/core/components/dms-ui/default/TwoDigitNumberFormattedTextfield.d.ts +3 -0
  36. package/core/components/dms-ui/default/index.d.ts +10 -0
  37. package/core/components/dms-ui/facet/DatasourceAutocomplete.d.ts +13 -0
  38. package/core/components/dms-ui/facet/DateRangeSearcher.d.ts +18 -0
  39. package/core/components/dms-ui/facet/Facet.d.ts +11 -0
  40. package/core/components/dms-ui/facet/NumericRangePicker.d.ts +20 -0
  41. package/core/components/dms-ui/facet/Select.d.ts +13 -0
  42. package/core/components/dms-ui/facet/Textfield.d.ts +11 -0
  43. package/core/components/dms-ui/facet/TypePicker.d.ts +12 -0
  44. package/core/components/dms-ui/facet/index.d.ts +7 -0
  45. package/core/components/dms-ui/facet/styles.d.ts +9 -0
  46. package/core/components/dms-ui/messages.d.ts +39 -0
  47. package/core/components/dms-ui/types.d.ts +9 -1
  48. package/core/components/dms-ui/utils/getComponent.d.ts +20 -0
  49. package/core/components/dms-ui/utils/removeLabelFromValues.d.ts +1 -0
  50. package/core/components/dms-ui/utils/type-guards.d.ts +4 -0
  51. package/core/components/dms-ui/utils/utils.d.ts +3 -0
  52. package/core/constants/apps.d.ts +0 -10
  53. package/core/constants/dragTypes.d.ts +2 -0
  54. package/core/containers/DataGrid/constants.d.ts +28 -0
  55. package/core/containers/DataGrid/types.d.ts +50 -0
  56. package/core/containers/DataGrid/utils/crossTabSync.d.ts +13 -0
  57. package/core/containers/DataGrid/utils/handleWidth.d.ts +18 -0
  58. package/core/containers/EntityDocuments/EntityDocumentsComponent.d.ts +30 -0
  59. package/core/containers/EntityDocuments/components/Accordion.d.ts +12 -0
  60. package/core/containers/EntityDocuments/components/Document.d.ts +11 -0
  61. package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +9 -0
  62. package/core/containers/EntityDocuments/components/DocumentList.d.ts +19 -0
  63. package/core/containers/EntityDocuments/components/DocumentListTitle.d.ts +9 -0
  64. package/core/containers/EntityDocuments/constants.d.ts +1 -0
  65. package/core/containers/EntityDocuments/types.d.ts +7 -0
  66. package/core/containers/NotificationCenter/slice.d.ts +1 -1
  67. package/core/containers/PDFComposer/actions.d.ts +2 -2
  68. package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +0 -4
  69. package/core/containers/PDFTronViewer/messages.d.ts +8 -0
  70. package/core/containers/SearchDataGrid/types.d.ts +11 -0
  71. package/core/hooks/useCollator.d.ts +2 -0
  72. package/core/providers/Actions/types.d.ts +1 -7
  73. package/core/providers/App/actions.d.ts +12 -27
  74. package/core/providers/App/constants.d.ts +1 -4
  75. package/core/providers/App/hooks/useApplicationSettings.d.ts +19 -3
  76. package/core/providers/App/hooks/useDownload.d.ts +29 -0
  77. package/core/providers/App/hooks/useSettings.d.ts +5 -9
  78. package/core/providers/App/hooks/useTriggerItems.d.ts +13 -0
  79. package/core/providers/App/hooks/useUserSetting.d.ts +9 -1
  80. package/core/providers/App/hooks/useUserStorage.d.ts +2 -2
  81. package/core/providers/App/messages.d.ts +12 -0
  82. package/core/providers/App/reducer.d.ts +1 -1
  83. package/core/providers/App/service.d.ts +48 -17
  84. package/core/providers/App/types.d.ts +12 -2
  85. package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
  86. package/core/providers/App/utils/convertTreeviewFields.d.ts +89 -0
  87. package/core/providers/App/utils/sortListByWeightAndName.d.ts +8 -0
  88. package/core/providers/Authentication/hooks/useAuth.d.ts +1 -1
  89. package/core/providers/Authentication/service.d.ts +11 -3
  90. package/core/providers/Authentication/types.d.ts +6 -8
  91. package/core/providers/Cases/actions.d.ts +21 -3
  92. package/core/providers/Cases/service.d.ts +70 -33
  93. package/core/providers/Cases/types.d.ts +3 -0
  94. package/core/providers/Cases/utils/common.d.ts +4 -0
  95. package/core/providers/Cases/utils/mutateDocumentGuidance.d.ts +17 -0
  96. package/core/providers/Ccm/constants.d.ts +6 -0
  97. package/core/providers/Ccm/types.d.ts +2 -1
  98. package/core/providers/Ccm/utils/isAccount.d.ts +1 -1
  99. package/core/providers/Ccm/utils/isClient.d.ts +1 -1
  100. package/core/providers/Ccm/utils/isClientGroup.d.ts +1 -1
  101. package/core/providers/Ccm/utils/isHouseholdEntity.d.ts +1 -1
  102. package/core/providers/DataGrid/Context.d.ts +51 -0
  103. package/core/providers/Definitions/hooks/useTaskDefinition.d.ts +1 -0
  104. package/core/providers/Definitions/hooks/useTaskDefinitions.d.ts +4 -0
  105. package/core/providers/Definitions/service.d.ts +48 -19
  106. package/core/providers/Definitions/types.d.ts +26 -2
  107. package/core/providers/Definitions/utils/typesToTypeRefs.d.ts +5 -0
  108. package/core/providers/DropZone/Context.d.ts +12 -0
  109. package/core/providers/Inodes/actions.d.ts +26 -430
  110. package/core/providers/Inodes/constants.d.ts +8 -46
  111. package/core/providers/Inodes/hooks/useInodeByOid.d.ts +5 -0
  112. package/core/providers/Inodes/hooks/useInodeTypeAssignment.d.ts +4 -0
  113. package/core/providers/Inodes/hooks/useInodesByOids.d.ts +7 -0
  114. package/core/providers/Inodes/hooks/usePropertiesType.d.ts +14 -0
  115. package/core/providers/Inodes/hooks/usePropertyComponents.d.ts +11 -0
  116. package/core/providers/Inodes/hooks/useRestore.d.ts +22 -0
  117. package/core/providers/Inodes/hooks/useSortedTypes.d.ts +5 -0
  118. package/core/providers/Inodes/hooks/useTypes.d.ts +10 -0
  119. package/core/providers/Inodes/hooks/useUpdateInodes.d.ts +35 -0
  120. package/core/providers/Inodes/messages.d.ts +25 -1
  121. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +31 -0
  122. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/BarcodeLoading.d.ts +5 -0
  123. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +35 -0
  124. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +12 -0
  125. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +63 -0
  126. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +43 -0
  127. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +8 -0
  128. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/convertToUIPropertiesGroup.d.ts +3 -0
  129. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/createBarcodeProcessingFormData.d.ts +5 -0
  130. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/findMostUsedValue.d.ts +18 -0
  131. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getDefaultValuesFromProperties.d.ts +7 -0
  132. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +10 -0
  133. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveProperties.d.ts +8 -0
  134. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveStatusIconAndColor.d.ts +5 -0
  135. package/core/providers/Inodes/modals/AssignTypeModal.d.ts +9 -0
  136. package/core/providers/Inodes/service.d.ts +138 -66
  137. package/core/providers/Inodes/type-guards.d.ts +2 -0
  138. package/core/providers/Inodes/types.d.ts +27 -12
  139. package/core/providers/Inodes/utils/can.d.ts +1 -0
  140. package/core/providers/Inodes/utils/getAssignableTypesFromInode.d.ts +2 -0
  141. package/core/providers/Inodes/utils/getBulkUrl.d.ts +1 -0
  142. package/core/providers/Inodes/utils/getUrl.d.ts +2 -1
  143. package/core/providers/Inodes/utils/is.d.ts +2 -3
  144. package/core/providers/Inodes/utils/isInodeType.d.ts +3 -0
  145. package/core/providers/Inodes/utils/isInodeTypeRef.d.ts +3 -0
  146. package/core/providers/Inodes/utils/mutateInodes.d.ts +28 -0
  147. package/core/providers/Inodes/utils/replacePropertiesWithConfig.d.ts +10 -0
  148. package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +185 -0
  149. package/core/providers/Inodes/utils/validatePropertiesForm.d.ts +2 -0
  150. package/core/providers/Inspectors/Context.d.ts +5 -0
  151. package/core/providers/Inspectors/types.d.ts +5 -5
  152. package/core/providers/Localization/Context.d.ts +7 -0
  153. package/core/providers/Localization/hooks/useLocale.d.ts +3 -0
  154. package/core/providers/MdmGraph/actions.d.ts +13 -1
  155. package/core/providers/MdmGraph/constants.d.ts +10 -4
  156. package/core/providers/MdmGraph/service.d.ts +56 -31
  157. package/core/providers/MdmGraph/types.d.ts +12 -0
  158. package/core/providers/Modal/hooks/useModal.d.ts +45 -0
  159. package/core/providers/Modal/slice.d.ts +9 -0
  160. package/core/providers/Modal/types.d.ts +3 -0
  161. package/core/providers/Plugins/ComponentPluginContext.d.ts +14 -0
  162. package/core/providers/Plugins/hooks/app/useSystemNotification.d.ts +8 -3
  163. package/core/providers/Plugins/hooks/inodes/useActions.d.ts +10 -2
  164. package/core/providers/Plugins/hooks/tasks/useActions.d.ts +2 -2
  165. package/core/providers/Plugins/hooks/tasks/useTaskProcessing.d.ts +8 -0
  166. package/core/providers/Plugins/pluginRegistry.d.ts +80 -53
  167. package/core/providers/Plugins/types/componentPlugins.d.ts +18 -8
  168. package/core/providers/Plugins/withComponentPlugin.d.ts +27 -0
  169. package/core/providers/Search/reducer.d.ts +7 -4
  170. package/core/providers/Search/selectors.d.ts +48 -262
  171. package/core/providers/Search/service.d.ts +10 -4
  172. package/core/providers/Search/types.d.ts +11 -28
  173. package/core/providers/Search/utils/createQuery.d.ts +5 -5
  174. package/core/providers/Tasks/Context.d.ts +8 -5
  175. package/core/providers/Tasks/constants.d.ts +2 -1
  176. package/core/providers/Tasks/hooks/useEntityDelete.d.ts +1 -1
  177. package/core/providers/Tasks/hooks/useEntityMutate.d.ts +1 -1
  178. package/core/providers/Tasks/hooks/useTaskData.d.ts +2 -2
  179. package/core/providers/Tasks/service.d.ts +45 -22
  180. package/core/providers/Tasks/types.d.ts +8 -1
  181. package/core/providers/Tasks/utils/isDocumentTask.d.ts +2 -0
  182. package/core/providers/Tasks/utils/mutateTaskData.d.ts +6 -0
  183. package/core/providers/Uploader/Context.d.ts +9 -9
  184. package/core/providers/User/hooks/useAgencies.d.ts +15 -0
  185. package/core/providers/User/hooks/useIsAgencyEnabled.d.ts +5 -0
  186. package/core/providers/User/saga.d.ts +1 -2
  187. package/core/providers/User/service.d.ts +18 -0
  188. package/core/providers/User/types.d.ts +21 -0
  189. package/core/services/index.d.ts +6 -6
  190. package/core/services/localStorage.d.ts +1 -0
  191. package/core/theme/theme.base.d.ts +312 -0
  192. package/core/theme/theme.lightMode.d.ts +70 -0
  193. package/core/utils/action.d.ts +2 -2
  194. package/core/utils/common.d.ts +15 -0
  195. package/core/utils/date/getUTCDateInCurrentTimezone.d.ts +11 -0
  196. package/core/utils/hasValidKind.d.ts +2 -0
  197. package/core/utils/string.d.ts +2 -1
  198. package/package.json +1 -1
  199. package/reducers.d.ts +2 -3
  200. package/store.d.ts +27 -28
  201. package/vendor/@imtf/react-components/components/ActivityDetail/ActivityDetail.d.ts +2 -30
  202. package/vendor/@imtf/react-components/components/CounterStackedBar/CounterStackedBar.d.ts +1 -27
  203. package/vendor/@imtf/react-components/components/Error/Error.d.ts +2 -55
  204. package/vendor/@imtf/react-components/components/InfiniteScroll/InfiniteScroll.d.ts +0 -4
  205. package/vendor/@imtf/react-components/components/Line/Line.d.ts +1 -38
  206. package/vendor/@imtf/react-components/components/Loader/Loader.d.ts +1 -22
  207. package/vendor/@imtf/react-components/components/Menu/Menu.d.ts +1 -9
  208. package/vendor/@imtf/react-components/components/NoContent/NoContent.d.ts +1 -10
  209. package/vendor/@imtf/react-components/components/Notification/Notification.d.ts +2 -55
  210. package/vendor/@imtf/react-components/components/ProgressCircleBar/ProgressCircleBar.d.ts +2 -43
  211. package/vendor/@imtf/react-components/components/Scroller/Scroller.d.ts +1 -19
  212. package/vendor/@imtf/react-components/components/SearchBar/SearchBar.d.ts +2 -57
  213. package/vendor/@imtf/react-components/components/Timeline/Timeline.d.ts +1 -14
  214. package/vendor/@imtf/react-components/components/Timeline/TimelineItem.d.ts +2 -46
  215. package/vendor/@imtf/react-components/components/ViewMore/ViewMore.d.ts +1 -24
  216. package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -74
  217. package/vendor/@imtf/react-components/components/ViewMoreCard/utils.d.ts +2 -2
  218. package/vendor/@imtf/react-components/components/index.d.ts +0 -14
  219. package/vendor/@imtf/react-components/index.d.ts +0 -1
  220. package/vendor/@imtf/react-components/utils/common.d.ts +1 -4
  221. package/vendor/@imtf/react-components/utils/constants.d.ts +0 -21
  222. package/core/components/JsonForm/widgets/widgetHOC.d.ts +0 -29
  223. package/core/components/TreeView/types.d.ts +0 -17
  224. package/core/components/TreeViewCell/constants.d.ts +0 -25
  225. package/core/containers/DropZone/selectors.d.ts +0 -125
  226. package/core/containers/TreeView/actions.d.ts +0 -197
  227. package/core/containers/TreeView/constants.d.ts +0 -36
  228. package/core/containers/TreeView/types.d.ts +0 -46
  229. package/core/providers/App/utils/isSupportedItem.d.ts +0 -2
  230. package/core/providers/Cases/reducer.d.ts +0 -18
  231. package/core/providers/Cases/selectors.d.ts +0 -64
  232. package/core/providers/Inodes/selectors.d.ts +0 -55
  233. package/core/providers/MdmGraph/utils/misc.d.ts +0 -13
  234. package/core/providers/Plugins/hooks/inodes/useInodesByOids.d.ts +0 -6
  235. package/core/providers/SystemNotification/constants.d.ts +0 -3
  236. package/core/providers/SystemNotification/slice.d.ts +0 -9
  237. package/core/providers/SystemNotification/useSystemNotification.d.ts +0 -6
  238. package/core/utils/htmlElements.d.ts +0 -1
  239. package/core/utils/requestMiddleware.d.ts +0 -1
  240. package/vendor/@imtf/react-components/components/BasicNotification/BasicNotification.d.ts +0 -52
  241. package/vendor/@imtf/react-components/components/BasicNotification/ids.d.ts +0 -1
  242. package/vendor/@imtf/react-components/components/BasicNotification/index.d.ts +0 -1
  243. package/vendor/@imtf/react-components/components/Breadcrumb/Breadcrumb.d.ts +0 -36
  244. package/vendor/@imtf/react-components/components/Breadcrumb/ids.d.ts +0 -1
  245. package/vendor/@imtf/react-components/components/Breadcrumb/index.d.ts +0 -1
  246. package/vendor/@imtf/react-components/components/Chip/Chip.d.ts +0 -41
  247. package/vendor/@imtf/react-components/components/Chip/ids.d.ts +0 -1
  248. package/vendor/@imtf/react-components/components/Chip/messages.d.ts +0 -7
  249. package/vendor/@imtf/react-components/components/Chip/utils.d.ts +0 -14
  250. package/vendor/@imtf/react-components/components/DebounceField/DebounceField.d.ts +0 -35
  251. package/vendor/@imtf/react-components/components/DebounceField/ids.d.ts +0 -1
  252. package/vendor/@imtf/react-components/components/DebounceField/index.d.ts +0 -1
  253. package/vendor/@imtf/react-components/components/DetailList/DetailList.d.ts +0 -24
  254. package/vendor/@imtf/react-components/components/DetailList/ids.d.ts +0 -1
  255. package/vendor/@imtf/react-components/components/DetailList/index.d.ts +0 -1
  256. package/vendor/@imtf/react-components/components/DetailTree/DetailTree.d.ts +0 -30
  257. package/vendor/@imtf/react-components/components/DetailTree/ids.d.ts +0 -1
  258. package/vendor/@imtf/react-components/components/DetailTree/index.d.ts +0 -1
  259. package/vendor/@imtf/react-components/components/ErrorCatcher/ErrorCatcher.d.ts +0 -40
  260. package/vendor/@imtf/react-components/components/ErrorCatcher/ids.d.ts +0 -1
  261. package/vendor/@imtf/react-components/components/ErrorCatcher/index.d.ts +0 -1
  262. package/vendor/@imtf/react-components/components/InfoCard/InfoCard.d.ts +0 -64
  263. package/vendor/@imtf/react-components/components/InfoCard/index.d.ts +0 -1
  264. package/vendor/@imtf/react-components/components/Inline/Inline.d.ts +0 -19
  265. package/vendor/@imtf/react-components/components/Inline/ids.d.ts +0 -1
  266. package/vendor/@imtf/react-components/components/Inline/index.d.ts +0 -1
  267. package/vendor/@imtf/react-components/components/Internal/FormattedMessage.d.ts +0 -11
  268. package/vendor/@imtf/react-components/components/MenuSelect/MenuSelect.d.ts +0 -43
  269. package/vendor/@imtf/react-components/components/MenuSelect/ids.d.ts +0 -1
  270. package/vendor/@imtf/react-components/components/MenuSelect/index.d.ts +0 -1
  271. package/vendor/@imtf/react-components/components/Navipath/Navipath.d.ts +0 -52
  272. package/vendor/@imtf/react-components/components/Navipath/ids.d.ts +0 -1
  273. package/vendor/@imtf/react-components/components/Navipath/index.d.ts +0 -1
  274. package/vendor/@imtf/react-components/components/RippleEffect/RippleEffect.d.ts +0 -33
  275. package/vendor/@imtf/react-components/components/RippleEffect/ids.d.ts +0 -1
  276. package/vendor/@imtf/react-components/components/RippleEffect/index.d.ts +0 -1
  277. package/vendor/@imtf/react-components/components/Stats/Stats.d.ts +0 -39
  278. package/vendor/@imtf/react-components/components/Stats/ids.d.ts +0 -1
  279. package/vendor/@imtf/react-components/components/Stats/index.d.ts +0 -1
  280. package/vendor/@imtf/react-components/components/TitleContent/TitleContent.d.ts +0 -25
  281. package/vendor/@imtf/react-components/components/TitleContent/ids.d.ts +0 -1
  282. package/vendor/@imtf/react-components/components/TitleContent/index.d.ts +0 -1
  283. package/vendor/@imtf/react-components/hooks/index.d.ts +0 -1
  284. package/vendor/@imtf/react-components/hooks/useResponsiveBreakpoints.d.ts +0 -13
  285. package/vendor/@imtf/react-components/utils/resizeObserver.d.ts +0 -1
  286. /package/{vendor/@imtf/react-components → core}/components/Chip/index.d.ts +0 -0
@@ -1,8 +1,8 @@
1
1
  import { ListmakerFormatter } from "@imtf/panache";
2
- import { NoContent, ViewMoreCard } from "../../../vendor/@imtf/react-components";
3
2
  import { OperatorEvaluator } from "json-rules-engine";
4
3
  import React, { ElementType } from "react";
5
4
  import { useIntl } from "react-intl";
5
+ import { useSWRConfig } from "swr";
6
6
  import { Action, ActionDefinition } from "../Actions/types";
7
7
  import useReloader from "../Search/hooks/useReloader";
8
8
  import { Action as FormAction } from "../../../core/components/JsonForm/types";
@@ -10,18 +10,22 @@ import { api } from "../../../core/services/settings";
10
10
  import { TRIGGER_TARGET } from "../Actions/constants";
11
11
  import { SupportedItem } from "../App/types";
12
12
  import { Case } from "../Cases/types";
13
+ import { useInodesByOids } from "../Inodes/hooks/useInodesByOids";
13
14
  import { Inode } from "../Inodes/types";
14
15
  import { InspectorProps } from "../Inspectors/types";
15
16
  import { Task } from "../Tasks/types";
16
17
  import { TYPES } from "./constants";
17
- import useInodesByOids from "./hooks/inodes/useInodesByOids";
18
18
  import { useTaskCompletionDisabling } from "./hooks/tasks/useTaskCompletionDisabling";
19
- import { CategoryFilterProps, EntitiesWrapperProps, EntityDocumentsDocumentLabelProps, EntityDocumentsDocumentProps, EntityDocumentsTypeLabelProps, EntityEditModalEditForm, MdmEditorEntityRowActionsProps } from "./types/componentPlugins";
19
+ import { useTaskProcessing } from "./hooks/tasks/useTaskProcessing";
20
+ import { CategoryFilterProps, EntitiesWrapperProps, EntityDocumentsComponentProps, EntityDocumentsDocumentLabelProps, EntityDocumentsDocumentProps, EntityDocumentsTypeLabelProps, EntityEditModalEditForm, MdmEditorEntityRowActionsProps } from "./types/componentPlugins";
20
21
  type PLUGIN_TYPES = (typeof TYPES)[keyof typeof TYPES];
21
22
  declare const plugins: {
22
23
  [key in Exclude<PLUGIN_TYPES, "INSPECTOR" | "CONTEXT_MENU_ACTION">]: Record<string, Record<string, any>>;
23
24
  };
24
25
  declare class PluginRegistry {
26
+ private getActions;
27
+ private triggerItems;
28
+ private _uploadFiles;
25
29
  TYPES: Readonly<{
26
30
  QUESTIONNAIRE_PART: "QUESTIONNAIRE_PART";
27
31
  FORM_WIDGET: "FORM_WIDGET";
@@ -40,14 +44,14 @@ declare class PluginRegistry {
40
44
  ENVIRONNEMENT: string;
41
45
  service: {
42
46
  service: {
43
- get: <T = any, R = import("axios").AxiosResponse<T, any>, D = any>(url: string, config?: import("axios").AxiosRequestConfig<D>) => Promise<R> & {
47
+ get: <T = any, R = import("axios").AxiosResponse<T, any, {}>, D = any>(url: string, config?: import("axios").AxiosRequestConfig<D>) => Promise<R> & {
44
48
  "@@redux-saga/CANCEL_PROMISE"?: import("axios").Canceler;
45
49
  };
46
- post: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
47
- put: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
48
- patch: <T = any, Data = any>(url: string, data: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
49
- delete: <Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
50
- head: (url: string, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
50
+ post: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any, {}>>;
51
+ put: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any, {}>>;
52
+ patch: <T = any, Data = any>(url: string, data: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any, {}>>;
53
+ delete: <Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any, {}>>;
54
+ head: (url: string, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any, {}>>;
51
55
  };
52
56
  api: typeof api;
53
57
  CancelToken: import("axios").CancelTokenStatic;
@@ -57,8 +61,6 @@ declare class PluginRegistry {
57
61
  inode: Inode;
58
62
  }) => import("react/jsx-runtime").JSX.Element>;
59
63
  CountryFlag: any;
60
- ViewMoreCard: typeof ViewMoreCard;
61
- NoContent: typeof NoContent;
62
64
  };
63
65
  hooks: {
64
66
  app: {
@@ -70,17 +72,23 @@ declare class PluginRegistry {
70
72
  }>) => import("swr").SWRResponse<import("../Definitions/types").Codetypes, any, any>;
71
73
  useIntl: typeof useIntl;
72
74
  useNotification: () => {
73
- notify: (message: import("react-toastify").ToastContent, options: import("react-toastify").ToastOptions) => import("react-toastify").Id;
74
- updateNotification: (tastId: import("react-toastify").Id, options: import("react-toastify").UpdateOptions) => void;
75
+ notify: (message: (() => React.ReactNode) | React.ReactNode, options: import("sonner").ToasterProps & {
76
+ type: "normal" | "action" | "success" | "info" | "warning" | "error" | "loading" | "default";
77
+ }) => string | number;
78
+ updateNotification: (toastId: string, options: (import("sonner").ToasterProps & {
79
+ type: "normal" | "action" | "success" | "info" | "warning" | "error" | "loading" | "default";
80
+ }) & {
81
+ message: (() => React.ReactNode) | React.ReactNode;
82
+ }) => string | number;
75
83
  };
76
- useParameter: <T>(key: "translations" | "language" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskSearchContextName" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "navigateOnTaskCompletion" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution", defaultValue?: T) => T | undefined; /**
84
+ useParameter: <T>(key: "translations" | "language" | "navigateOnTaskCompletion" | "contentType" | "locales" | "enableCaseCreation" | "shouldReloadResults" | "reloadResultsIntervals" | "userInactivitySessionTimeout" | "showDropzone" | "theme" | "productNameInSidebar" | "disableTaskAutoClaim" | "useRelativeDateWheneverPossible" | "customerRelatedEntitiesTemplates" | "documentTaskFilterFoldersByFileType" | "canOpenRelatedAlertFromInspector" | "propertyPanelOverrides" | "additionalTransactionsColumns" | "millisecondsToHideUploadProgress" | "inodeTimelineExportLimit" | "searchExportLimit" | "customStamps" | "openEachInodeInNewTabOrWindowLimit" | "useSolrDocumentIcons" | "loadFirstFromQuickSearch" | "enableDossierCreation" | "enableBarcodeProcessing" | "enablePropertiesUpload" | "navigateOnCaseCreation" | "taskDocumentReloadIntervals" | "authenticationWorkflow" | "hitListLimit" | "inodeListLimit" | "appBarColor" | "displayEnvironmentName" | "autosaveDebounce" | "displayFullnameInDocuments" | "enableDigitalSignatureVerification" | "certificateRevocationListProxyServerUrl" | "companionScanDPIResolution" | "enableCommentLinks" | "companionMultipleEditionLimit" | "enableCompanionDefaultDuplex" | "enableCompanionDefaultColor" | "disableNotifications" | "openViewerCommentsByDefault" | "enableStampsCreation" | "enableStandardStamps" | "hideDisabledPropertiesAtUpload" | "displaySearchBarInToolbar" | "restrictAnnotationEditingToOwner" | "displayUnauthorizedItems" | "propertiesBySearchContext" | "signatureWidth", defaultValue?: T) => T | undefined;
85
+ /**
77
86
  * @deprecated
78
87
  */
79
88
  useReloader: typeof useReloader;
80
89
  useSWR: import("swr").SWRHook;
81
90
  useSWRImmutable: import("swr").SWRHook;
82
- useSWRMutation: import("swr/mutation").SWRMutationHook;
83
- useSWRConfig: () => import("swr/_internal").FullConfiguration;
91
+ useSWRConfig: typeof useSWRConfig;
84
92
  useUserDetails: () => import("../User/types").User | undefined;
85
93
  };
86
94
  case: {
@@ -88,10 +96,6 @@ declare class PluginRegistry {
88
96
  createFiles: (entityOid: any, inodes: any) => void;
89
97
  };
90
98
  useCase: (item: Case) => import("swr").SWRResponse<Case, any, any>;
91
- usePayload: (item: unknown) => import("swr").SWRResponse<{
92
- kind: "acm.CasePayload";
93
- payload: import("../Cases/types").CasePayload;
94
- }, any, any>;
95
99
  useData: <E = import("../Ccm/types").EntityType>(params: {
96
100
  caseOid: string | undefined;
97
101
  entitiesSelector?: {
@@ -108,6 +112,10 @@ declare class PluginRegistry {
108
112
  mutate: () => void;
109
113
  };
110
114
  useDocumentTypes: (item: string | Case | Task) => import("swr").SWRResponse<import("../Cases/hooks/useCaseDocumentTypes").CaseDocumentType[], any, any>;
115
+ usePayload: (item: unknown) => import("swr").SWRResponse<{
116
+ kind: "acm.CasePayload";
117
+ payload: import("../Cases/types").CasePayload;
118
+ }, any, any>;
111
119
  };
112
120
  task: {
113
121
  useActions: (taskOid: any) => {
@@ -123,8 +131,8 @@ declare class PluginRegistry {
123
131
  inodes: any;
124
132
  };
125
133
  };
126
- reloadQuestionnaire: () => Promise<any>;
127
- reloadData: () => Promise<any>;
134
+ reloadQuestionnaire: () => void;
135
+ reloadData: () => void;
128
136
  };
129
137
  useData: <EntityType extends import("../MdmGraph/types").Entity>(taskOid: string | undefined, config?: import("swr").SWRConfiguration) => import("swr").SWRResponse<import("../Tasks/types").TaskData<EntityType>, any, import("swr").SWRConfiguration<import("../Tasks/types").TaskData<EntityType>, any, import("swr").BareFetcher<import("../Tasks/types").TaskData<EntityType>>> | undefined>;
130
138
  useEntitiesMutate: (taskOid: string) => import("swr/mutation").SWRMutationResponse<{
@@ -138,7 +146,6 @@ declare class PluginRegistry {
138
146
  trigger: (entity: import("../MdmGraph/types").Entity, patchData?: import("../MdmGraph/types").EntityData, params?: import("../Tasks/hooks/useEntityMutate").Params) => Promise<void>;
139
147
  isMutating: boolean;
140
148
  reset: () => void;
141
- error: import("axios").AxiosError<unknown, any> | undefined;
142
149
  data: {
143
150
  entity?: import("../MdmGraph/types").Entity & {
144
151
  __creationOid?: string;
@@ -146,6 +153,7 @@ declare class PluginRegistry {
146
153
  relation?: import("../MdmGraph/types").Relation;
147
154
  params?: import("../Tasks/hooks/useEntityMutate").Params | undefined;
148
155
  } | undefined;
156
+ error: import("axios").AxiosError<unknown, any> | undefined;
149
157
  };
150
158
  useEntityDelete: (taskOid: string) => {
151
159
  deleteEntity: (entityOid: string, params: Omit<{
@@ -162,11 +170,12 @@ declare class PluginRegistry {
162
170
  entityOid: string;
163
171
  }>;
164
172
  reset: () => void;
165
- error: import("axios").AxiosError<unknown, any> | undefined;
166
173
  data: string | undefined;
174
+ error: import("axios").AxiosError<unknown, any> | undefined;
167
175
  };
168
176
  useTask: (taskOid: string | undefined) => import("swr").SWRResponse<Task, any, any>;
169
177
  useTaskCompletionDisabling: typeof useTaskCompletionDisabling;
178
+ useTaskProcessing: typeof useTaskProcessing;
170
179
  };
171
180
  mdm: {
172
181
  useEntity: (taskOid: any, entityOid: any) => {
@@ -185,42 +194,26 @@ declare class PluginRegistry {
185
194
  } & {
186
195
  result: import("../Inodes/types").InodeList | undefined;
187
196
  }>;
188
- update: (inodes: any) => void;
197
+ update: (inodes: any) => Promise<({
198
+ inodes: Inode[];
199
+ targetInode?: Inode;
200
+ originalInodes?: Inode[];
201
+ mergeOnNameConflict?: boolean;
202
+ moveMode?: "FORCE_MOVE";
203
+ } & {
204
+ newInodes: Inode[];
205
+ }) | undefined>;
206
+ checkAndGetWithType: (inodes: any, targetTypes: any, forceChildrenWithType: any) => Promise<Inode[] | null>;
189
207
  stateAction: (inodes: any, action: any) => void;
190
208
  updateProperties: (newProperties: any, oid: any) => void;
191
- checkAndGetWithType: (inodes: any, targetTypes: any, forceChildrenWithType: any, sort: any) => Promise<any>;
192
209
  };
193
210
  useInodesByOids: typeof useInodesByOids;
194
211
  };
195
212
  };
196
- private triggerItems;
197
- private uploadFiles;
198
- upload: {
199
- promptIcosUpload: (params: {
200
- multiple?: boolean;
201
- accept?: string;
202
- caseOid?: string;
203
- taskOid?: string;
204
- entityOid?: string;
205
- type?: import("../Inodes/types").InodeType;
206
- properties?: any;
207
- types?: import("../Inodes/types").InodeType[];
208
- }) => Promise<null>;
209
- uploadIcosFiles: (params: {
210
- files: File[];
211
- caseOid?: string;
212
- taskOid?: string;
213
- entityOid?: string;
214
- fileProps?: Record<string, any>;
215
- fileInodes?: Inode[];
216
- types: import("../Inodes/types").InodeType[];
217
- }) => Promise<null>;
218
- updateBinary: (inodeOid: string, file: File, getUpdatedItem?: (file: File) => File) => Promise<null>;
219
- };
220
213
  setDeps({ getActions, triggerItems, upload, }: {
221
214
  getActions: typeof PluginRegistry.prototype.getActions;
222
215
  triggerItems: typeof PluginRegistry.prototype.triggerItems;
223
- upload: typeof PluginRegistry.prototype.uploadFiles;
216
+ upload: typeof PluginRegistry.prototype._uploadFiles;
224
217
  }): void;
225
218
  register(type: typeof TYPES.FORM_WIDGET | typeof TYPES.FORM_FIELD | typeof TYPES.RENDERER | typeof TYPES.CONTEXT_MENU_ACTION | typeof TYPES.EXTERNAL_MODULE | typeof TYPES.QUESTIONNAIRE_PART | typeof TYPES.PROVIDER, name: string, plugin: (...args: any[]) => React.ReactNode, options?: {
226
219
  condition?: (item: unknown) => boolean;
@@ -244,6 +237,9 @@ declare class PluginRegistry {
244
237
  register(type: typeof TYPES.COMPONENT, name: "documentUpload/Filters", plugin: React.FC<CategoryFilterProps>, params?: {
245
238
  condition?: (props: CategoryFilterProps) => boolean;
246
239
  }): void;
240
+ register(type: typeof TYPES.COMPONENT, name: "entityDocuments/Section", plugin: React.FC<EntityDocumentsComponentProps>, params?: {
241
+ condition?: (props: EntityDocumentsComponentProps) => boolean;
242
+ }): void;
247
243
  register(type: typeof TYPES.COMPONENT, name: "entityDocuments/TypeLabel", plugin: React.FC<EntityDocumentsTypeLabelProps>, params?: {
248
244
  condition?: (props: EntityDocumentsTypeLabelProps) => boolean;
249
245
  }): void;
@@ -259,7 +255,37 @@ declare class PluginRegistry {
259
255
  object: ElementType;
260
256
  } | undefined;
261
257
  getAll(type: keyof typeof plugins): Record<string, Record<string, any>>;
262
- private getActions;
258
+ upload: {
259
+ promptIcosUpload: (params: {
260
+ multiple?: boolean;
261
+ accept?: string;
262
+ caseOid?: string;
263
+ taskOid?: string;
264
+ entityOid?: string;
265
+ type?: import("../Inodes/types").InodeType;
266
+ properties?: any;
267
+ types?: import("../Inodes/types").InodeType[];
268
+ }) => Promise<import("../Inodes/types").UploadResult[]>;
269
+ promptUpdateBinary: (params: {
270
+ accept?: string;
271
+ target: string;
272
+ updateInodeName?: boolean;
273
+ }) => Promise<import("../Inodes/types").UploadResult[]>;
274
+ uploadIcosFiles: (params: {
275
+ files: File[];
276
+ caseOid?: string;
277
+ taskOid?: string;
278
+ entityOid?: string;
279
+ fileProps?: Record<string, any>;
280
+ fileInodes?: Inode[];
281
+ types: import("../Inodes/types").InodeType[];
282
+ }) => Promise<import("../Inodes/types").UploadResult[]>;
283
+ updateBinary: (inodeOid: string, file: File, updateInodeName?: boolean | undefined) => Promise<import("../Inodes/types").UploadResult[]>;
284
+ };
285
+ /**
286
+ * As `getActions` and `triggerItems` as redefined after class instantiation,
287
+ * we need to expose them as a function to be able to use them in the actions object.
288
+ */
263
289
  actions: {
264
290
  getActions: (items: SupportedItem[], extraActions?: ActionDefinition[], extraActionParams?: Record<string, any>) => Action[];
265
291
  triggerItems: (items: SupportedItem[], target?: keyof typeof TRIGGER_TARGET) => void;
@@ -313,13 +339,14 @@ declare class PluginRegistry {
313
339
  readonly ADD_FILE: "INODE_ADD_FILE";
314
340
  readonly ADD_FOLDER: "INODE_ADD_FOLDER";
315
341
  readonly ADD_COMMENT: "INODE_ADD_COMMENT";
342
+ readonly VIEW_COMMENTS: "INODE_VIEW_COMMENTS";
316
343
  readonly RESTORE: "INODE_RESTORE";
317
344
  readonly COMPOSE: "INODE_COMPOSE";
318
345
  readonly QUICK_LOOK: "INODE_QUICK_LOOK";
319
346
  readonly QUICK_LOOK_MERGE: "INODE_QUICK_LOOK_MERGE";
320
347
  readonly CREATE_CASE: "INODE_CREATE_CASE";
321
348
  readonly MERGE_PDF: "INODE_MERGE_PDF";
322
- readonly CREATE_NEW_TASK: "INODE_CREATE_NEW_TASK";
349
+ readonly CREATE_TASK_OR_CASE: "INODE_CREATE_TASK_OR_CASE";
323
350
  readonly DELETE: "INODES_DELETE";
324
351
  readonly ADD_TO_DROP_ZONE: "INODES_ADD_TO_DROP_ZONE";
325
352
  readonly LINK_FROM_DROP_ZONE: "INODES_LINK_FROM_DROP_ZONE";
@@ -1,9 +1,11 @@
1
- import { ReactNode } from "react";
1
+ import { ReactElement, ReactNode } from "react";
2
2
  import { FormDefinition, MdmEditorDefinition } from "../../Definitions/types";
3
3
  import { Inode } from "../../Inodes/types";
4
4
  import { Entity } from "../../MdmGraph/types";
5
+ import type { EntityDocumentsComponentProps as EntityDocumentsComponentCoreProps } from "../../../../core/containers/EntityDocuments/EntityDocumentsComponent";
6
+ import { FileType } from "../../../../core/containers/EntityDocuments/types";
5
7
  export type ComponentPluginProps<P> = P & {
6
- defaultRender: (props?: Partial<P>) => JSX.Element;
8
+ defaultRender: (props?: Partial<P>) => ReactElement;
7
9
  };
8
10
  export type MdmEditorEntityRowActionsProps = ComponentPluginProps<{
9
11
  isDisabled: boolean;
@@ -18,17 +20,14 @@ export type EntityEditModalEditForm = ComponentPluginProps<{
18
20
  entity: Entity;
19
21
  children: ReactNode;
20
22
  }>;
21
- export type EntityDocumentsDocumentProps = ComponentPluginProps<{
22
- document: Inode<"dms-core.File">;
23
- disabled: boolean;
23
+ export type EntityDocumentsComponentProps = ComponentPluginProps<Pick<EntityDocumentsComponentCoreProps, "entity" | "canDrop" | "onDrop" | "documentsByType" | "typesFromDefinition" | "documentUploadButton" | "disabled"> & {
24
24
  identifier?: string;
25
25
  taskOid?: string;
26
26
  caseOid?: string;
27
27
  entityOid?: string;
28
28
  }>;
29
- export type EntityDocumentsDocumentLabelProps = ComponentPluginProps<{
29
+ export type EntityDocumentsDocumentProps = ComponentPluginProps<{
30
30
  document: Inode<"dms-core.File">;
31
- canDrag: boolean;
32
31
  disabled: boolean;
33
32
  identifier?: string;
34
33
  taskOid?: string;
@@ -51,7 +50,18 @@ export type EntityDocumentsTypeLabelProps = ComponentPluginProps<{
51
50
  taskOid?: string;
52
51
  caseOid?: string;
53
52
  entityOid?: string;
54
- type: string;
53
+ type: FileType;
54
+ documents: Inode<"dms-core.File">[];
55
+ }>;
56
+ export type EntityDocumentsDocumentLabelProps = ComponentPluginProps<{
57
+ document: Inode<"dms-core.File">;
58
+ canDrag: boolean;
59
+ disabled: boolean;
60
+ identifier?: string;
61
+ taskOid?: string;
62
+ caseOid?: string;
63
+ entityOid?: string;
64
+ type: FileType;
55
65
  documents: Inode<"dms-core.File">[];
56
66
  }>;
57
67
  export type EntitiesWrapperProps = ComponentPluginProps<{
@@ -0,0 +1,27 @@
1
+ import { ElementType } from "react";
2
+ /**
3
+ * This component can be used to replace a component
4
+ * but from the "consumer" side (i.e. the side that uses the component)
5
+ */
6
+ export declare const WithComponentPlugin: <P extends Record<string, unknown>>(props: {
7
+ component: ElementType;
8
+ /**
9
+ * The identifier of the component. It must be unique.
10
+ * First segment is the type of the component
11
+ * Second segment is the name of the component
12
+ */
13
+ identifier: `${string}/${string}`;
14
+ /**
15
+ * Exhausive list of the props that should be forwarded to the component.
16
+ * By default none are forwarded.
17
+ */
18
+ forwardedProps?: (keyof P)[];
19
+ /**
20
+ * Extra props that should be passed to the component
21
+ */
22
+ extraProps?: Record<string, unknown>;
23
+ /**
24
+ * Function to alter the props before passing them to the component
25
+ */
26
+ alterProps?: (propName: keyof P, propValue: P[keyof P]) => P[keyof P];
27
+ } & P) => import("react/jsx-runtime").JSX.Element;
@@ -1,19 +1,21 @@
1
1
  import { AnyAction } from "@reduxjs/toolkit";
2
- import { TableRow, TreeViewField } from "../../../core/containers/TreeView/types";
2
+ import { ColumnDefinition } from "../../../core/containers/DataGrid/types";
3
+ import { TableRow } from "../../../core/containers/SearchDataGrid/types";
3
4
  import { SearchMask } from "../Definitions/types";
4
- import { SearchResultCapabilities } from "./types";
5
+ import { SearchResultAlert, SearchResultCapabilities } from "./types";
5
6
  export type SearchState = {
6
7
  loading: boolean;
7
8
  error: any;
8
9
  results: {
9
10
  contextName: string | undefined;
10
11
  count: number | null;
11
- head: TreeViewField[];
12
+ head: ColumnDefinition[];
12
13
  mask: SearchMask | null;
13
14
  rows: TableRow[];
14
15
  hasUnknowCount: boolean;
15
16
  timestamp: number | undefined;
16
17
  capabilities: SearchResultCapabilities;
18
+ alerts?: SearchResultAlert[];
17
19
  };
18
20
  };
19
21
  export default function searchReducer(state: SearchState | undefined, action: AnyAction): {
@@ -22,11 +24,12 @@ export default function searchReducer(state: SearchState | undefined, action: An
22
24
  results: {
23
25
  contextName: string | undefined;
24
26
  count: number | null;
25
- head: TreeViewField[];
27
+ head: ColumnDefinition[];
26
28
  mask: SearchMask | null;
27
29
  rows: TableRow[];
28
30
  hasUnknowCount: boolean;
29
31
  timestamp: number | undefined;
30
32
  capabilities: SearchResultCapabilities;
33
+ alerts?: SearchResultAlert[];
31
34
  };
32
35
  };