@imtf/dms-core 1.1.0-beta.6 → 7.4.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 (235) hide show
  1. package/README.md +75 -0
  2. package/core/components/ActionMenu/styles.d.ts +2 -4
  3. package/core/components/Chip/Chip.d.ts +1 -1
  4. package/core/components/CloseModalButton/CloseModalButton.d.ts +4 -0
  5. package/core/components/DatePicker/DatePicker.d.ts +4 -3
  6. package/core/components/FormattedMessage/index.d.ts +11 -0
  7. package/core/components/Inline/index.d.ts +8 -0
  8. package/core/components/ItemIcon/index.d.ts +1 -1
  9. package/core/components/NotFound/index.d.ts +4 -0
  10. package/core/components/Select/Select.d.ts +3 -3
  11. package/core/components/Tooltip/TooltipError.d.ts +4 -0
  12. package/core/components/dms-ui/Composer.d.ts +57 -0
  13. package/core/components/dms-ui/NewDatasourceAutocomplete.d.ts +18 -0
  14. package/core/components/dms-ui/constants.d.ts +1 -0
  15. package/core/components/dms-ui/default/DatasourceAutocomplete.d.ts +18 -0
  16. package/core/components/dms-ui/default/DatePicker.d.ts +17 -0
  17. package/core/components/dms-ui/default/Group.d.ts +19 -0
  18. package/core/components/dms-ui/default/NestedGroup.d.ts +7 -0
  19. package/core/components/dms-ui/default/NumberFormattedTexfield.d.ts +17 -0
  20. package/core/components/dms-ui/default/NumberTextfield.d.ts +3 -0
  21. package/core/components/dms-ui/default/RadioButton.d.ts +16 -0
  22. package/core/components/dms-ui/default/Select.d.ts +20 -0
  23. package/core/components/dms-ui/default/Textfield.d.ts +17 -0
  24. package/core/components/dms-ui/default/TwoDigitNumberFormattedTextfield.d.ts +3 -0
  25. package/core/components/dms-ui/{immutableDefault → default}/index.d.ts +2 -2
  26. package/core/components/dms-ui/facet/DatasourceAutocomplete.d.ts +13 -0
  27. package/core/components/dms-ui/facet/DateRangeSearcher.d.ts +18 -0
  28. package/core/components/dms-ui/facet/Facet.d.ts +11 -0
  29. package/core/components/dms-ui/facet/NumericRangePicker.d.ts +20 -0
  30. package/core/components/dms-ui/facet/Select.d.ts +13 -0
  31. package/core/components/dms-ui/facet/Textfield.d.ts +11 -0
  32. package/core/components/dms-ui/facet/TypePicker.d.ts +12 -0
  33. package/core/components/dms-ui/facet/styles.d.ts +9 -0
  34. package/core/components/dms-ui/messages.d.ts +12 -0
  35. package/core/components/dms-ui/types.d.ts +9 -1
  36. package/core/components/dms-ui/utils/getComponent.d.ts +20 -0
  37. package/core/components/dms-ui/utils/type-guards.d.ts +4 -0
  38. package/core/constants/apps.d.ts +0 -5
  39. package/core/constants/permissions.d.ts +1 -0
  40. package/core/containers/DataGrid/constants.d.ts +2 -0
  41. package/core/containers/DataGrid/types.d.ts +14 -2
  42. package/core/containers/DataGrid/utils/crossTabSync.d.ts +13 -0
  43. package/core/containers/EntityDocuments/components/Accordion.d.ts +1 -1
  44. package/core/containers/EntityDocuments/components/Document.d.ts +4 -4
  45. package/core/containers/EntityDocuments/components/DocumentLabel.d.ts +8 -6
  46. package/core/containers/NotificationCenter/slice.d.ts +1 -1
  47. package/core/containers/PDFTronViewer/components/LightViewer/config.d.ts +0 -4
  48. package/core/containers/PDFTronViewer/messages.d.ts +8 -0
  49. package/core/containers/SearchDataGrid/types.d.ts +1 -6
  50. package/core/providers/App/actions.d.ts +4 -10
  51. package/core/providers/App/constants.d.ts +1 -1
  52. package/core/providers/App/hooks/useApplicationSettings.d.ts +15 -1
  53. package/core/providers/App/hooks/useDownload.d.ts +6 -0
  54. package/core/providers/App/hooks/useSettings.d.ts +4 -4
  55. package/core/providers/App/hooks/useTriggerItems.d.ts +2 -0
  56. package/core/providers/App/messages.d.ts +4 -0
  57. package/core/providers/App/reducer.d.ts +1 -1
  58. package/core/providers/App/service.d.ts +48 -17
  59. package/core/providers/App/types.d.ts +9 -0
  60. package/core/providers/App/utils/convertOldUserSettings.d.ts +1 -1
  61. package/core/providers/App/utils/convertTreeviewFields.d.ts +19 -1
  62. package/core/providers/Authentication/hooks/useAuth.d.ts +1 -1
  63. package/core/providers/Authentication/service.d.ts +11 -3
  64. package/core/providers/Authentication/types.d.ts +5 -7
  65. package/core/providers/Cases/actions.d.ts +6 -0
  66. package/core/providers/Cases/service.d.ts +70 -33
  67. package/core/providers/Cases/types.d.ts +3 -0
  68. package/core/providers/Cases/utils/common.d.ts +2 -0
  69. package/core/providers/Ccm/constants.d.ts +6 -0
  70. package/core/providers/Ccm/types.d.ts +1 -1
  71. package/core/providers/Ccm/utils/isAccount.d.ts +1 -1
  72. package/core/providers/Ccm/utils/isClient.d.ts +1 -1
  73. package/core/providers/Ccm/utils/isClientGroup.d.ts +1 -1
  74. package/core/providers/Ccm/utils/isHouseholdEntity.d.ts +1 -1
  75. package/core/providers/DataGrid/Context.d.ts +4 -0
  76. package/core/providers/Definitions/service.d.ts +48 -19
  77. package/core/providers/Definitions/types.d.ts +24 -1
  78. package/core/providers/DropZone/Context.d.ts +2 -2
  79. package/core/providers/Inodes/actions.d.ts +26 -1
  80. package/core/providers/Inodes/constants.d.ts +9 -2
  81. package/core/providers/Inodes/hooks/useInodeByOid.d.ts +1 -1
  82. package/core/providers/Inodes/hooks/useInodesByOids.d.ts +1 -1
  83. package/core/providers/Inodes/messages.d.ts +37 -1
  84. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/AccordionItem.d.ts +4 -2
  85. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/ModalContent.d.ts +6 -6
  86. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/index.d.ts +1 -1
  87. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/messages.d.ts +4 -0
  88. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/types.d.ts +1 -1
  89. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/addInodeOidToName.d.ts +2 -16
  90. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/convertToUIPropertiesGroup.d.ts +3 -0
  91. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getDefaultValuesFromProperties.d.ts +7 -0
  92. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/replaceComponentsWithConfig.d.ts +1 -1
  93. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/resolveProperties.d.ts +8 -0
  94. package/core/providers/Inodes/service.d.ts +141 -65
  95. package/core/providers/Inodes/type-guards.d.ts +2 -0
  96. package/core/providers/Inodes/types.d.ts +8 -5
  97. package/core/providers/Inodes/utils/can.d.ts +1 -0
  98. package/core/providers/Inodes/utils/getUrl.d.ts +2 -1
  99. package/core/providers/Inodes/utils/resolveInodeTypes.d.ts +4 -2
  100. package/core/providers/Inodes/utils/validatePropertiesForm.d.ts +2 -0
  101. package/core/providers/Inspectors/Context.d.ts +3 -0
  102. package/core/providers/Inspectors/types.d.ts +5 -5
  103. package/core/providers/MdmGraph/actions.d.ts +5 -1
  104. package/core/providers/MdmGraph/constants.d.ts +6 -0
  105. package/core/providers/MdmGraph/service.d.ts +56 -31
  106. package/core/providers/MdmGraph/types.d.ts +10 -0
  107. package/core/providers/Modal/hooks/useModal.d.ts +1 -0
  108. package/core/providers/Modal/slice.d.ts +3 -0
  109. package/core/providers/Modal/types.d.ts +1 -0
  110. package/core/providers/Plugins/hooks/app/useSystemNotification.d.ts +8 -3
  111. package/core/providers/Plugins/hooks/tasks/useActions.d.ts +2 -2
  112. package/core/providers/Plugins/hooks/tasks/useTaskProcessing.d.ts +8 -0
  113. package/core/providers/Plugins/pluginRegistry.d.ts +21 -12
  114. package/core/providers/Plugins/types/componentPlugins.d.ts +2 -2
  115. package/core/providers/Plugins/withComponentPlugin.d.ts +2 -2
  116. package/core/providers/Search/service.d.ts +10 -4
  117. package/core/providers/Search/types.d.ts +0 -38
  118. package/core/providers/Tasks/Context.d.ts +8 -5
  119. package/core/providers/Tasks/constants.d.ts +2 -1
  120. package/core/providers/Tasks/service.d.ts +43 -23
  121. package/core/providers/Tasks/types.d.ts +7 -0
  122. package/core/providers/Tasks/utils/isDocumentTask.d.ts +2 -0
  123. package/core/providers/Uploader/Context.d.ts +1 -1
  124. package/core/providers/User/hooks/useAgencies.d.ts +16 -0
  125. package/core/providers/User/hooks/useIsAgencyEnabled.d.ts +5 -0
  126. package/core/providers/User/saga.d.ts +1 -2
  127. package/core/providers/User/service.d.ts +18 -0
  128. package/core/providers/User/types.d.ts +21 -0
  129. package/core/services/constants.d.ts +1 -0
  130. package/core/services/index.d.ts +6 -6
  131. package/core/services/localStorage.d.ts +1 -0
  132. package/core/theme/theme.base.d.ts +302 -21
  133. package/core/theme/theme.lightMode.d.ts +34 -170
  134. package/core/utils/common.d.ts +15 -0
  135. package/core/utils/string.d.ts +2 -1
  136. package/package.json +1 -1
  137. package/reducers.d.ts +2 -3
  138. package/store.d.ts +12 -18
  139. package/vendor/@imtf/react-components/components/ActivityDetail/ActivityDetail.d.ts +2 -30
  140. package/vendor/@imtf/react-components/components/CounterStackedBar/CounterStackedBar.d.ts +1 -27
  141. package/vendor/@imtf/react-components/components/Error/Error.d.ts +2 -55
  142. package/vendor/@imtf/react-components/components/InfiniteScroll/InfiniteScroll.d.ts +0 -4
  143. package/vendor/@imtf/react-components/components/Line/Line.d.ts +1 -38
  144. package/vendor/@imtf/react-components/components/Loader/Loader.d.ts +1 -22
  145. package/vendor/@imtf/react-components/components/Menu/Menu.d.ts +1 -9
  146. package/vendor/@imtf/react-components/components/NoContent/NoContent.d.ts +1 -10
  147. package/vendor/@imtf/react-components/components/Notification/Notification.d.ts +2 -55
  148. package/vendor/@imtf/react-components/components/ProgressCircleBar/ProgressCircleBar.d.ts +2 -43
  149. package/vendor/@imtf/react-components/components/Scroller/Scroller.d.ts +1 -19
  150. package/vendor/@imtf/react-components/components/SearchBar/SearchBar.d.ts +2 -57
  151. package/vendor/@imtf/react-components/components/Timeline/Timeline.d.ts +1 -14
  152. package/vendor/@imtf/react-components/components/Timeline/TimelineItem.d.ts +2 -46
  153. package/vendor/@imtf/react-components/components/ViewMore/ViewMore.d.ts +1 -24
  154. package/vendor/@imtf/react-components/components/ViewMoreCard/ViewMoreCard.d.ts +2 -73
  155. package/vendor/@imtf/react-components/components/ViewMoreCard/utils.d.ts +2 -2
  156. package/vendor/@imtf/react-components/components/index.d.ts +0 -14
  157. package/vendor/@imtf/react-components/index.d.ts +0 -1
  158. package/vendor/@imtf/react-components/utils/common.d.ts +1 -4
  159. package/vendor/@imtf/react-components/utils/constants.d.ts +0 -1
  160. package/core/components/Select/ListboxComponent.d.ts +0 -5
  161. package/core/components/dms-ui/DatasourceAutocomplete.d.ts +0 -14
  162. package/core/components/dms-ui/ImmutableComposer.d.ts +0 -15
  163. package/core/components/dms-ui/immutableDefault/DatasourceAutocomplete.d.ts +0 -19
  164. package/core/components/dms-ui/immutableDefault/DatePicker.d.ts +0 -15
  165. package/core/components/dms-ui/immutableDefault/Group.d.ts +0 -16
  166. package/core/components/dms-ui/immutableDefault/NumberFormattedTexfield.d.ts +0 -14
  167. package/core/components/dms-ui/immutableDefault/NumberTextfield.d.ts +0 -2
  168. package/core/components/dms-ui/immutableDefault/RadioButton.d.ts +0 -19
  169. package/core/components/dms-ui/immutableDefault/Select.d.ts +0 -19
  170. package/core/components/dms-ui/immutableDefault/Switch.d.ts +0 -19
  171. package/core/components/dms-ui/immutableDefault/Textfield.d.ts +0 -21
  172. package/core/components/dms-ui/immutableFacet/DatasourceAutocomplete.d.ts +0 -13
  173. package/core/components/dms-ui/immutableFacet/DateRangeSearcher.d.ts +0 -14
  174. package/core/components/dms-ui/immutableFacet/Facet.d.ts +0 -23
  175. package/core/components/dms-ui/immutableFacet/NumericRangePicker.d.ts +0 -14
  176. package/core/components/dms-ui/immutableFacet/Select.d.ts +0 -13
  177. package/core/components/dms-ui/immutableFacet/Textfield.d.ts +0 -13
  178. package/core/components/dms-ui/immutableFacet/TypePicker.d.ts +0 -13
  179. package/core/components/dms-ui/immutableFacet/styles.d.ts +0 -5
  180. package/core/components/dms-ui/utils/getImmutableComponent.d.ts +0 -19
  181. package/core/containers/EntityDocuments/styles.d.ts +0 -10
  182. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInodesRequiredFieldNames.d.ts +0 -10
  183. package/core/providers/Inodes/modals/AssignTypeAndPropertiesModal/utils/getInvalidInodeOids.d.ts +0 -10
  184. package/core/providers/SystemNotification/constants.d.ts +0 -3
  185. package/core/providers/SystemNotification/slice.d.ts +0 -9
  186. package/core/providers/SystemNotification/useSystemNotification.d.ts +0 -6
  187. package/core/utils/immutable.d.ts +0 -2
  188. package/vendor/@imtf/react-components/components/BasicNotification/BasicNotification.d.ts +0 -52
  189. package/vendor/@imtf/react-components/components/BasicNotification/ids.d.ts +0 -1
  190. package/vendor/@imtf/react-components/components/BasicNotification/index.d.ts +0 -1
  191. package/vendor/@imtf/react-components/components/Breadcrumb/Breadcrumb.d.ts +0 -36
  192. package/vendor/@imtf/react-components/components/Breadcrumb/ids.d.ts +0 -1
  193. package/vendor/@imtf/react-components/components/Breadcrumb/index.d.ts +0 -1
  194. package/vendor/@imtf/react-components/components/Chip/Chip.d.ts +0 -41
  195. package/vendor/@imtf/react-components/components/Chip/ids.d.ts +0 -1
  196. package/vendor/@imtf/react-components/components/Chip/index.d.ts +0 -1
  197. package/vendor/@imtf/react-components/components/Chip/messages.d.ts +0 -7
  198. package/vendor/@imtf/react-components/components/Chip/utils.d.ts +0 -14
  199. package/vendor/@imtf/react-components/components/DebounceField/DebounceField.d.ts +0 -35
  200. package/vendor/@imtf/react-components/components/DebounceField/ids.d.ts +0 -1
  201. package/vendor/@imtf/react-components/components/DebounceField/index.d.ts +0 -1
  202. package/vendor/@imtf/react-components/components/DetailList/DetailList.d.ts +0 -24
  203. package/vendor/@imtf/react-components/components/DetailList/ids.d.ts +0 -1
  204. package/vendor/@imtf/react-components/components/DetailList/index.d.ts +0 -1
  205. package/vendor/@imtf/react-components/components/DetailTree/DetailTree.d.ts +0 -30
  206. package/vendor/@imtf/react-components/components/DetailTree/ids.d.ts +0 -1
  207. package/vendor/@imtf/react-components/components/DetailTree/index.d.ts +0 -1
  208. package/vendor/@imtf/react-components/components/ErrorCatcher/ErrorCatcher.d.ts +0 -40
  209. package/vendor/@imtf/react-components/components/ErrorCatcher/ids.d.ts +0 -1
  210. package/vendor/@imtf/react-components/components/ErrorCatcher/index.d.ts +0 -1
  211. package/vendor/@imtf/react-components/components/InfoCard/InfoCard.d.ts +0 -64
  212. package/vendor/@imtf/react-components/components/InfoCard/index.d.ts +0 -1
  213. package/vendor/@imtf/react-components/components/Inline/Inline.d.ts +0 -19
  214. package/vendor/@imtf/react-components/components/Inline/ids.d.ts +0 -1
  215. package/vendor/@imtf/react-components/components/Inline/index.d.ts +0 -1
  216. package/vendor/@imtf/react-components/components/Internal/FormattedMessage.d.ts +0 -11
  217. package/vendor/@imtf/react-components/components/MenuSelect/MenuSelect.d.ts +0 -43
  218. package/vendor/@imtf/react-components/components/MenuSelect/ids.d.ts +0 -1
  219. package/vendor/@imtf/react-components/components/MenuSelect/index.d.ts +0 -1
  220. package/vendor/@imtf/react-components/components/Navipath/Navipath.d.ts +0 -52
  221. package/vendor/@imtf/react-components/components/Navipath/ids.d.ts +0 -1
  222. package/vendor/@imtf/react-components/components/Navipath/index.d.ts +0 -1
  223. package/vendor/@imtf/react-components/components/RippleEffect/RippleEffect.d.ts +0 -33
  224. package/vendor/@imtf/react-components/components/RippleEffect/ids.d.ts +0 -1
  225. package/vendor/@imtf/react-components/components/RippleEffect/index.d.ts +0 -1
  226. package/vendor/@imtf/react-components/components/Stats/Stats.d.ts +0 -39
  227. package/vendor/@imtf/react-components/components/Stats/ids.d.ts +0 -1
  228. package/vendor/@imtf/react-components/components/Stats/index.d.ts +0 -1
  229. package/vendor/@imtf/react-components/components/TitleContent/TitleContent.d.ts +0 -25
  230. package/vendor/@imtf/react-components/components/TitleContent/ids.d.ts +0 -1
  231. package/vendor/@imtf/react-components/components/TitleContent/index.d.ts +0 -1
  232. package/vendor/@imtf/react-components/hooks/index.d.ts +0 -1
  233. package/vendor/@imtf/react-components/hooks/useResponsiveBreakpoints.d.ts +0 -13
  234. package/vendor/@imtf/react-components/utils/resizeObserver.d.ts +0 -1
  235. /package/core/components/dms-ui/{immutableFacet → facet}/index.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- import { ComponentType } from "react";
1
+ import { ComponentType, ReactElement } from "react";
2
2
  import { MessageDescriptor } from "react-intl";
3
3
  import inspectors from "@/core/constants/inspectors.json";
4
+ import { Row } from "../../../core/containers/DataGrid/types";
4
5
  import { SupportedItem } from "../App/types";
5
6
  import { SidePanelInspectorDefinition } from "../Definitions/types";
6
- import { SearchResultRow } from "../Search/types";
7
7
  type ValueOf<T> = T[keyof T];
8
8
  type NestedValues<T> = ValueOf<{
9
9
  [K in keyof T]: ValueOf<T[K]>;
@@ -13,7 +13,7 @@ export interface InspectorProps<Item = SupportedItem> {
13
13
  loading?: boolean;
14
14
  sticky: boolean;
15
15
  item: Item;
16
- rawItems?: SearchResultRow[];
16
+ rawItems?: Row[];
17
17
  module?: InspectorModule;
18
18
  definition: SidePanelInspectorDefinition;
19
19
  }
@@ -26,7 +26,7 @@ export type InspectorModuleDefinition<T = SupportedItem> = {
26
26
  renderActions?: (item: T, params: {
27
27
  expanded: boolean;
28
28
  definition: SidePanelInspectorDefinition;
29
- }) => JSX.Element;
29
+ }) => ReactElement;
30
30
  };
31
31
  /**
32
32
  * Returned by the getModules function of the InspectorsContext
@@ -35,6 +35,6 @@ export type InspectorModule = Omit<InspectorModuleDefinition, "condition" | "ren
35
35
  condition: boolean | Promise<boolean>;
36
36
  key: string;
37
37
  definition: SidePanelInspectorDefinition;
38
- renderActions?: (expanded: boolean) => JSX.Element;
38
+ renderActions?: (expanded: boolean) => ReactElement;
39
39
  };
40
40
  export {};
@@ -8,6 +8,7 @@ export function editEntityModal(taskOid: any, props: any): {
8
8
  correlationId: string;
9
9
  fullWidth: boolean;
10
10
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
11
+ minHeight: number | string;
11
12
  blocker: boolean;
12
13
  onConfirm: (...args: any[]) => void;
13
14
  onCancel: () => void;
@@ -97,7 +98,7 @@ export function attachFilesError(error: any, payload: any): {
97
98
  payload: any;
98
99
  error: any;
99
100
  };
100
- export function showFieldHistory(fieldHistory: any, fieldLabel: any, entity: any, updateHighlights: any): {
101
+ export function showFieldHistory(fieldHistory: any, fieldLabel: any, entity: any, updateHighlights: any, uiWidget: any): {
101
102
  payload: {
102
103
  type: string;
103
104
  props: Partial<{
@@ -107,6 +108,7 @@ export function showFieldHistory(fieldHistory: any, fieldLabel: any, entity: any
107
108
  correlationId: string;
108
109
  fullWidth: boolean;
109
110
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
111
+ minHeight: number | string;
110
112
  blocker: boolean;
111
113
  onConfirm: (...args: any[]) => void;
112
114
  onCancel: () => void;
@@ -125,6 +127,7 @@ export function showFieldComments(taskOid: any, entityOid: any, fieldName: any,
125
127
  correlationId: string;
126
128
  fullWidth: boolean;
127
129
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
130
+ minHeight: number | string;
128
131
  blocker: boolean;
129
132
  onConfirm: (...args: any[]) => void;
130
133
  onCancel: () => void;
@@ -143,6 +146,7 @@ export function generateEntityReportModal(entity: any): {
143
146
  correlationId: string;
144
147
  fullWidth: boolean;
145
148
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
149
+ minHeight: number | string;
146
150
  blocker: boolean;
147
151
  onConfirm: (...args: any[]) => void;
148
152
  onCancel: () => void;
@@ -26,3 +26,9 @@ export declare const INSPECTORS: {
26
26
  export declare const ACTIONS: {
27
27
  readonly GENERATE_ENTITY_REPORT: "GENERATE_ENTITY_REPORT";
28
28
  };
29
+ export declare const MDM_ENTITY_CREATED: string;
30
+ export declare const MDM_ENTITY_UPDATED: string;
31
+ export declare const EVENT_CONTEXT: {
32
+ readonly COPIED: "COPIED";
33
+ };
34
+ export declare const AUDIT_EMPTY_VALUE = "--";
@@ -1,73 +1,98 @@
1
- import { FileInode } from "../Inodes/types";
1
+ import { FileInode } from "../../../core/providers/Inodes/types";
2
2
  export declare const paths: Readonly<{
3
3
  readonly caseData: (params?: {
4
- caseOid: string | null;
4
+ [x: string]: string | null | undefined;
5
+ caseOid: string;
5
6
  } | undefined) => string;
6
7
  readonly taskData: (params?: {
7
- taskOid: string | null;
8
+ [x: string]: string | null | undefined;
9
+ taskOid: string;
8
10
  } | undefined) => string;
9
11
  readonly entityRelatedMasterData: (params?: {
10
- entityOid: string | null;
12
+ [x: string]: string | null | undefined;
13
+ entityOid: string;
11
14
  } | undefined) => string;
12
15
  readonly entityRelatedCase: (params?: {
13
- entityOid: string | null;
16
+ [x: string]: string | null | undefined;
17
+ entityOid: string;
14
18
  } | undefined) => string;
15
19
  readonly linkEntity: (params?: {
16
- taskOid: string | null;
17
- entityOid: string | null;
20
+ [x: string]: string | null | undefined;
21
+ taskOid: string;
22
+ entityOid: string;
18
23
  } | undefined) => string;
19
24
  readonly importData: (params?: {
20
- taskOid: string | null;
25
+ [x: string]: string | null | undefined;
26
+ taskOid: string;
21
27
  } | undefined) => string;
22
28
  readonly createEntity: (params?: {
23
- taskOid: string | null;
29
+ [x: string]: string | null | undefined;
30
+ taskOid: string;
24
31
  } | undefined) => string;
25
32
  readonly entities: (params?: {
26
- taskOid: string | null;
33
+ [x: string]: string | null | undefined;
34
+ taskOid: string;
27
35
  } | undefined) => string;
28
36
  readonly caseEntity: (params?: {
29
- caseOid: string | null;
30
- entityOid: string | null;
37
+ [x: string]: string | null | undefined;
38
+ caseOid: string;
39
+ entityOid: string;
31
40
  } | undefined) => string;
32
41
  readonly taskEntity: (params?: {
33
- taskOid: string | null;
34
- entityOid: string | null;
42
+ [x: string]: string | null | undefined;
43
+ taskOid: string;
44
+ entityOid: string;
35
45
  } | undefined) => string;
36
46
  readonly createRelation: (params?: {
37
- taskOid: string | null;
47
+ [x: string]: string | null | undefined;
48
+ taskOid: string;
38
49
  } | undefined) => string;
39
50
  readonly relation: (params?: {
40
- taskOid: string | null;
41
- relationOid: string | null;
51
+ [x: string]: string | null | undefined;
52
+ taskOid: string;
53
+ relationOid: string;
42
54
  } | undefined) => string;
43
55
  readonly relationDefinitions: (params?: {
44
- entityType: string | null;
56
+ [x: string]: string | null | undefined;
57
+ entityType: string;
45
58
  } | undefined) => string;
46
59
  readonly taskEntityFiles: (params?: {
47
- taskOid: string | null;
48
- entityOid: string | null;
60
+ [x: string]: string | null | undefined;
61
+ taskOid: string;
62
+ entityOid: string;
49
63
  } | undefined) => string;
50
64
  readonly taskEntityAttachFiles: (params?: {
51
- taskOid: string | null;
52
- entityOid: string | null;
65
+ [x: string]: string | null | undefined;
66
+ taskOid: string;
67
+ entityOid: string;
53
68
  } | undefined) => string;
54
69
  readonly caseEntityFiles: (params?: {
55
- caseOid: string | null;
56
- entityOid: string | null;
70
+ [x: string]: string | null | undefined;
71
+ caseOid: string;
72
+ entityOid: string;
57
73
  } | undefined) => string;
58
74
  readonly caseEntityAttachFiles: (params?: {
59
- caseOid: string | null;
60
- entityOid: string | null;
75
+ [x: string]: string | null | undefined;
76
+ caseOid: string;
77
+ entityOid: string;
61
78
  } | undefined) => string;
62
79
  readonly entityHistory: (params?: {
63
- entityOid: string | null;
80
+ [x: string]: string | null | undefined;
81
+ entityOid: string;
64
82
  } | undefined) => string;
65
83
  readonly entityComments: (params?: {
66
- entityOid: string | null;
84
+ [x: string]: string | null | undefined;
85
+ entityOid: string;
86
+ } | undefined) => string;
87
+ readonly fieldComment: (params?: {
88
+ [x: string]: string | null | undefined;
89
+ } | undefined) => string;
90
+ readonly entityReports: (params?: {
91
+ [x: string]: string | null | undefined;
92
+ } | undefined) => string;
93
+ readonly generateEntity: (params?: {
94
+ [x: string]: string | null | undefined;
67
95
  } | undefined) => string;
68
- readonly fieldComment: (params?: {} | undefined) => string;
69
- readonly entityReports: (params?: {} | undefined) => string;
70
- readonly generateEntity: (params?: {} | undefined) => string;
71
96
  }>;
72
97
  export declare function createFiles(taskOid: string, entityOid: string, inodes: FileInode[]): Promise<any[]>;
73
98
  export declare function uploadFiles(taskOid: string, entityOid: string, files: File[], inodes: FileInode[], params: Record<string, unknown>): Promise<any[]>;
@@ -16,6 +16,11 @@ export type Field = {
16
16
  export type MdmValue = string | number | boolean | null | MdmValue[] | {
17
17
  [key: string]: MdmValue;
18
18
  } | undefined;
19
+ export type EventChips = {
20
+ caseType?: string;
21
+ casePresentableId?: string;
22
+ lastUpdatedBy?: string;
23
+ };
19
24
  export type EntityData = Record<string, MdmValue>;
20
25
  export type Entity<Type extends string = string, Data extends EntityData = EntityData> = {
21
26
  kind: typeof MDM_ENTITY;
@@ -156,6 +161,11 @@ export type History = {
156
161
  previousValue: any;
157
162
  timestamp: string;
158
163
  username: string;
164
+ type?: string;
165
+ context?: string;
166
+ scope?: string;
167
+ casePresentableId?: string;
168
+ lastUpdatedBy?: string;
159
169
  };
160
170
  export type FieldHistory = {
161
171
  [field: string]: History[] | FieldHistory;
@@ -8,6 +8,7 @@ type ValidateModalOptions = {
8
8
  message?: ReactNode;
9
9
  disableCancel?: boolean;
10
10
  correlationId?: string;
11
+ disableBackdropClick?: boolean;
11
12
  };
12
13
  type AssignTypeModalOptions = AssignTypeModalType;
13
14
  type AssignTypeAndPropertiesModalOptions = AssignTypeAndPropertiesModalType;
@@ -13,6 +13,7 @@ export declare const showModal: import("@reduxjs/toolkit").ActionCreatorWithPrep
13
13
  correlationId: string;
14
14
  fullWidth: boolean;
15
15
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
16
+ minHeight: number | string;
16
17
  blocker: boolean;
17
18
  onConfirm: (...args: any[]) => void;
18
19
  onCancel: () => void;
@@ -26,6 +27,7 @@ export declare const showModal: import("@reduxjs/toolkit").ActionCreatorWithPrep
26
27
  correlationId: string;
27
28
  fullWidth: boolean;
28
29
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
30
+ minHeight: number | string;
29
31
  blocker: boolean;
30
32
  onConfirm: (...args: any[]) => void;
31
33
  onCancel: () => void;
@@ -38,6 +40,7 @@ export declare const showModal: import("@reduxjs/toolkit").ActionCreatorWithPrep
38
40
  correlationId: string;
39
41
  fullWidth: boolean;
40
42
  maxWidth: import("@mui/material").DialogProps["maxWidth"];
43
+ minHeight: number | string;
41
44
  blocker: boolean;
42
45
  onConfirm: (...args: any[]) => void;
43
46
  onCancel: () => void;
@@ -18,6 +18,7 @@ export type ModalProps = Partial<{
18
18
  correlationId: string;
19
19
  fullWidth: boolean;
20
20
  maxWidth: DialogProps["maxWidth"];
21
+ minHeight: number | string;
21
22
  blocker: boolean;
22
23
  onConfirm: (...args: any[]) => void;
23
24
  onCancel: () => void;
@@ -1,6 +1,11 @@
1
- import { Id, ToastContent, ToastOptions, UpdateOptions } from "react-toastify";
1
+ import { ToasterProps as PanacheToasterProps } from "@imtf/panache";
2
+ type ToasterProps = PanacheToasterProps & {
3
+ type: "normal" | "action" | "success" | "info" | "warning" | "error" | "loading" | "default";
4
+ };
2
5
  declare const useSystemNotification: () => {
3
- notify: (message: ToastContent, options: ToastOptions) => Id;
4
- updateNotification: (tastId: Id, options: UpdateOptions) => void;
6
+ notify: (message: (() => React.ReactNode) | React.ReactNode, options: ToasterProps) => string | number;
7
+ updateNotification: (toastId: string, options: ToasterProps & {
8
+ message: (() => React.ReactNode) | React.ReactNode;
9
+ }) => string | number;
5
10
  };
6
11
  export default useSystemNotification;
@@ -12,6 +12,6 @@ declare function useTaskActions(taskOid: any): {
12
12
  inodes: any;
13
13
  };
14
14
  };
15
- reloadQuestionnaire: () => Promise<any>;
16
- reloadData: () => Promise<any[]>;
15
+ reloadQuestionnaire: () => void;
16
+ reloadData: () => void;
17
17
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Exposes the task's processing status (eg., an outcome is being
3
+ * submitted) to profile plugins, so their controls can disable
4
+ * themselves while the task is busy and stay editable otherwise.
5
+ */
6
+ export declare function useTaskProcessing(): {
7
+ isBusy: boolean;
8
+ };
@@ -16,6 +16,7 @@ import { InspectorProps } from "../Inspectors/types";
16
16
  import { Task } from "../Tasks/types";
17
17
  import { TYPES } from "./constants";
18
18
  import { useTaskCompletionDisabling } from "./hooks/tasks/useTaskCompletionDisabling";
19
+ import { useTaskProcessing } from "./hooks/tasks/useTaskProcessing";
19
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: {
@@ -43,14 +44,14 @@ declare class PluginRegistry {
43
44
  ENVIRONNEMENT: string;
44
45
  service: {
45
46
  service: {
46
- 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> & {
47
48
  "@@redux-saga/CANCEL_PROMISE"?: import("axios").Canceler;
48
49
  };
49
- post: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
50
- put: <T = any, Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
51
- patch: <T = any, Data = any>(url: string, data: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>;
52
- delete: <Data = any>(url: string, data?: Data, config?: import("axios").AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
53
- 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, {}>>;
54
55
  };
55
56
  api: typeof api;
56
57
  CancelToken: import("axios").CancelTokenStatic;
@@ -71,10 +72,16 @@ declare class PluginRegistry {
71
72
  }>) => import("swr").SWRResponse<import("../Definitions/types").Codetypes, any, any>;
72
73
  useIntl: typeof useIntl;
73
74
  useNotification: () => {
74
- notify: (message: import("react-toastify").ToastContent, options: import("react-toastify").ToastOptions) => import("react-toastify").Id;
75
- 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;
76
83
  };
77
- useParameter: <T>(key: "translations" | "language" | "navigateOnTaskCompletion" | "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" | "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" | "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;
78
85
  /**
79
86
  * @deprecated
80
87
  */
@@ -124,8 +131,8 @@ declare class PluginRegistry {
124
131
  inodes: any;
125
132
  };
126
133
  };
127
- reloadQuestionnaire: () => Promise<any>;
128
- reloadData: () => Promise<any[]>;
134
+ reloadQuestionnaire: () => void;
135
+ reloadData: () => void;
129
136
  };
130
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>;
131
138
  useEntitiesMutate: (taskOid: string) => import("swr/mutation").SWRMutationResponse<{
@@ -168,6 +175,7 @@ declare class PluginRegistry {
168
175
  };
169
176
  useTask: (taskOid: string | undefined) => import("swr").SWRResponse<Task, any, any>;
170
177
  useTaskCompletionDisabling: typeof useTaskCompletionDisabling;
178
+ useTaskProcessing: typeof useTaskProcessing;
171
179
  };
172
180
  mdm: {
173
181
  useEntity: (taskOid: any, entityOid: any) => {
@@ -331,13 +339,14 @@ declare class PluginRegistry {
331
339
  readonly ADD_FILE: "INODE_ADD_FILE";
332
340
  readonly ADD_FOLDER: "INODE_ADD_FOLDER";
333
341
  readonly ADD_COMMENT: "INODE_ADD_COMMENT";
342
+ readonly VIEW_COMMENTS: "INODE_VIEW_COMMENTS";
334
343
  readonly RESTORE: "INODE_RESTORE";
335
344
  readonly COMPOSE: "INODE_COMPOSE";
336
345
  readonly QUICK_LOOK: "INODE_QUICK_LOOK";
337
346
  readonly QUICK_LOOK_MERGE: "INODE_QUICK_LOOK_MERGE";
338
347
  readonly CREATE_CASE: "INODE_CREATE_CASE";
339
348
  readonly MERGE_PDF: "INODE_MERGE_PDF";
340
- readonly CREATE_NEW_TASK: "INODE_CREATE_NEW_TASK";
349
+ readonly CREATE_TASK_OR_CASE: "INODE_CREATE_TASK_OR_CASE";
341
350
  readonly DELETE: "INODES_DELETE";
342
351
  readonly ADD_TO_DROP_ZONE: "INODES_ADD_TO_DROP_ZONE";
343
352
  readonly LINK_FROM_DROP_ZONE: "INODES_LINK_FROM_DROP_ZONE";
@@ -1,11 +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
5
  import type { EntityDocumentsComponentProps as EntityDocumentsComponentCoreProps } from "../../../../core/containers/EntityDocuments/EntityDocumentsComponent";
6
6
  import { FileType } from "../../../../core/containers/EntityDocuments/types";
7
7
  export type ComponentPluginProps<P> = P & {
8
- defaultRender: (props?: Partial<P>) => JSX.Element;
8
+ defaultRender: (props?: Partial<P>) => ReactElement;
9
9
  };
10
10
  export type MdmEditorEntityRowActionsProps = ComponentPluginProps<{
11
11
  isDisabled: boolean;
@@ -1,10 +1,10 @@
1
- import { ComponentType } from "react";
1
+ import { ElementType } from "react";
2
2
  /**
3
3
  * This component can be used to replace a component
4
4
  * but from the "consumer" side (i.e. the side that uses the component)
5
5
  */
6
6
  export declare const WithComponentPlugin: <P extends Record<string, unknown>>(props: {
7
- component: ComponentType<P> | keyof JSX.IntrinsicElements;
7
+ component: ElementType;
8
8
  /**
9
9
  * The identifier of the component. It must be unique.
10
10
  * First segment is the type of the component
@@ -1,9 +1,15 @@
1
1
  import { RawSearchResults, SearchResult } from "./types";
2
2
  export declare const paths: Readonly<{
3
- readonly search: (params?: {} | undefined) => string;
4
- readonly exportCSV: (params?: {} | undefined) => string;
5
- readonly rawSearch: (params?: {} | undefined) => string;
3
+ readonly search: (params?: {
4
+ [x: string]: string | null | undefined;
5
+ } | undefined) => string;
6
+ readonly exportCSV: (params?: {
7
+ [x: string]: string | null | undefined;
8
+ } | undefined) => string;
9
+ readonly rawSearch: (params?: {
10
+ [x: string]: string | null | undefined;
11
+ } | undefined) => string;
6
12
  }>;
7
13
  export declare function search(query: Record<string, unknown>, params?: Record<string, unknown>): Promise<SearchResult>;
8
- export declare function exportResults(query: Record<string, unknown>, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
14
+ export declare function exportResults(query: Record<string, unknown>, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any, {}>>;
9
15
  export declare function rawSearch<HitItem>(query: Record<string, unknown>, params?: Record<string, unknown>): Promise<RawSearchResults<HitItem>>;
@@ -1,9 +1,7 @@
1
1
  import { AlertProps } from "@mui/material";
2
2
  import { ColumnDefinition } from "../../../core/containers/DataGrid/types";
3
3
  import { TableRow } from "../../../core/containers/SearchDataGrid/types";
4
- import { SupportedItem } from "../App/types";
5
4
  import { SearchMask } from "../Definitions/types";
6
- import { InodeRefList, InodeType, ProcessState } from "../Inodes/types";
7
5
  export type ValueField = {
8
6
  kind: "dms-indexation.search.ValueField";
9
7
  name: string;
@@ -60,39 +58,3 @@ export type QueryParams = {
60
58
  rootOid?: string;
61
59
  highlight?: SearchMask["defaultHighlight"];
62
60
  };
63
- export type SearchResultRowCell = {
64
- kind: "dms-core.ui.ItemTableCell" | "dms-core.ui.StringTableCell";
65
- value: string;
66
- } | {
67
- kind: "dms-core.ui.LongTableCell" | "dms-core.ui.DoubleTableCell";
68
- value: number;
69
- } | {
70
- kind: "dms-core.ui.TypeTableCell";
71
- value: InodeType;
72
- } | {
73
- kind: "dms-core.ui.PathTableCell";
74
- value: InodeRefList;
75
- } | {
76
- kind: "dms-core.ui.ProcessStateTableCell";
77
- value: ProcessState;
78
- };
79
- type LoadMoreItem = {
80
- kind: "dms-core.ui.LoadMoreButton";
81
- oid: string;
82
- parentOid: string;
83
- offset: number;
84
- };
85
- export type Row<I = SupportedItem | LoadMoreItem> = {
86
- item: I;
87
- status?: string;
88
- depth?: number;
89
- isExpandable?: boolean;
90
- expanded?: boolean;
91
- };
92
- export type SearchResultRow = {
93
- cells: SearchResultRowCell[];
94
- highlights: string[];
95
- kind: "dms-core.ui.TableRow";
96
- status: "valid" | string;
97
- } & Row;
98
- export {};
@@ -1,11 +1,14 @@
1
1
  import { Dispatch, SetStateAction } from "react";
2
2
  import { UpdateHighlightMode } from "./types";
3
+ export type TaskDataHistory = {
4
+ mode: UpdateHighlightMode;
5
+ fromDate: string | null;
6
+ toDate?: string | null;
7
+ manuallySet?: boolean;
8
+ };
3
9
  export type TasksContext = {
4
- taskDataHistoryFrom: {
5
- mode: UpdateHighlightMode;
6
- fromDate: string | null;
7
- } | undefined;
8
- setTaskDataHistoryFrom: (mode: UpdateHighlightMode, fromDate: string | null) => void;
10
+ taskDataHistory: TaskDataHistory | undefined;
11
+ setTaskDataHistory: React.Dispatch<React.SetStateAction<TaskDataHistory | undefined>>;
9
12
  /**
10
13
  * - idle: The task is not being processed.
11
14
  * - busy: Some action is being performed on the task.
@@ -43,6 +43,7 @@ export declare const INSPECTORS: {
43
43
  TASK_DATA: string;
44
44
  TASK_DATAVISUALIZER: string;
45
45
  TASK_COMMENTS: string;
46
+ TASK_PREVIEW: string;
46
47
  };
47
48
  export declare const ACTIONS: {
48
49
  readonly CLAIM_TASK: "CLAIM_TASK";
@@ -66,5 +67,5 @@ export declare const STATE_TYPES: {
66
67
  readonly UNKNOW: "unknow";
67
68
  readonly REVIEWED: "reviewed";
68
69
  };
69
- export declare const DOCUMENT_TASK_TYPES: ("documents" | "documents_filing" | "documents_approval")[];
70
+ export declare const DOCUMENT_TASK_TYPES: readonly ["documents", "documents_filing", "documents_approval"];
70
71
  export declare const EVENT_FILTERS: Readonly<EventFilter[]>;