dfh-ui-library 1.12.440 → 1.12.442

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,12 @@
1
1
  import React from "react";
2
- import { ListMasterDataProps, UrgentDataProps } from "../../shared/models/components/common.model";
2
+ import { ListMasterDataProps, NoteProps, UrgentDataProps } from "../../shared/models/components/common.model";
3
3
  export interface ITodoToggleRequestParams {
4
4
  noteId?: string;
5
+ note?: NoteProps;
6
+ actionedUser?: string;
7
+ patient?: string;
8
+ survey?: string;
9
+ noteType?: string;
5
10
  toggleOptions: {
6
11
  noteIndex: number;
7
12
  check: boolean;
@@ -13,7 +18,7 @@ interface todosProps {
13
18
  listMasterData?: ListMasterDataProps;
14
19
  detailAction?: (rowId: string | undefined) => void;
15
20
  handleNameClick?: (id?: string) => void;
16
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
21
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<void>;
17
22
  }
18
23
  declare const Todos: React.FC<todosProps>;
19
24
  export default Todos;
@@ -58,4 +58,3 @@ export { default as ButtonGroupMultiSelect } from "./ButtonGroup/ButtonGroupMult
58
58
  export { default as CheckBoxComponent } from "./FilterButtonGroup/Checkbox";
59
59
  export { default as Todos } from "./SideBarListView/todos";
60
60
  export { default as UrgentChallenges } from "./SideBarListView/urgentChallenges";
61
- export { default as MonthPicker } from "./MonthPicker";
@@ -689,7 +689,7 @@ export interface SideBarListProps {
689
689
  detailAction?: (value: string | undefined) => void;
690
690
  handleNameClick?: (id?: string) => void;
691
691
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
692
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
692
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<void>;
693
693
  }
694
694
  export interface UrgentDataProps {
695
695
  fullName?: string | undefined;