dfh-ui-library 1.12.470 → 1.12.472

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@ import React from "react";
2
2
  import { ListMasterDataProps, UrgentDataProps } from "../../shared/models/components/common.model";
3
3
  export interface ITodoToggleRequestParams {
4
4
  noteId?: string;
5
+ actionedUser?: string;
6
+ patient?: string;
5
7
  toggleOptions: {
6
8
  noteIndex: number;
7
9
  check: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { ISolutionvalues, NoteProps, TimelineEventProps } from "../../shared/models/components/common.model";
3
3
  import { ITodoToggleRequestParams } from "../SideBarListView/todos";
4
- export declare const getTimeLineCards: (eventData: TimelineEventProps, setShowCompleteNote: (isShow: boolean) => void, showCompleteNote: boolean, handleEditItemTimeLine: any, navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void, surveyId?: string, showNote?: boolean, setShowNote?: (isSet: boolean) => void, enableEdit?: boolean, toggleEdit?: (isShow: boolean) => void, viewNoteHistory?: any, lastModified?: string, saveNoteValues?: any, setEnableEdit?: (isEnable: boolean) => void, surveyDate?: string, type?: string[], showAll?: boolean) => React.JSX.Element;
4
+ export declare const getTimeLineCards: (eventData: TimelineEventProps, setShowCompleteNote: (isShow: boolean) => void, showCompleteNote: boolean, handleEditItemTimeLine: any, navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void, surveyId?: string, showNote?: boolean, setShowNote?: (isSet: boolean) => void, enableEdit?: boolean, toggleEdit?: (isShow: boolean) => void, viewNoteHistory?: any, lastModified?: string, saveNoteValues?: any, setEnableEdit?: (isEnable: boolean) => void, surveyDate?: string, type?: string[], showAll?: boolean, isChallengeTimeline?: boolean, handleCopyCurrentNote?: (note: NoteProps) => void) => React.JSX.Element;
5
5
  export declare const NoteCard: React.FC<{
6
6
  eventData?: TimelineEventProps;
7
7
  note?: NoteProps;
@@ -16,4 +16,6 @@ export declare const NoteCard: React.FC<{
16
16
  type?: string[];
17
17
  showAll?: boolean;
18
18
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
19
+ isChallengeTimeline?: boolean;
20
+ handleCopyCurrentNote?: (note: NoteProps) => void;
19
21
  }>;
@@ -673,6 +673,8 @@ export interface TimelineProps {
673
673
  navigationAction?: (solution?: ISolutionvalues, type?: string) => void;
674
674
  type?: string[];
675
675
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
676
+ isChallengeTimeline?: boolean;
677
+ handleCopyCurrentNote?: (note: NoteProps) => void;
676
678
  }
677
679
  export interface SideBarListProps {
678
680
  filterLeftLabel?: string;
@@ -731,6 +733,8 @@ export interface TimelineEventProps {
731
733
  surveyDate?: string;
732
734
  navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void;
733
735
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
736
+ isChallengeTimeline?: boolean;
737
+ handleCopyCurrentNote?: (note: NoteProps) => void;
734
738
  }
735
739
  export interface IVariant {
736
740
  pdfMetaData?: PDFMeta;
@@ -748,10 +752,14 @@ export interface NoteProps {
748
752
  note?: NoteItemProps[];
749
753
  _id?: string;
750
754
  date?: string;
751
- actionedUser?: string;
755
+ actionedUser?: ActionedUser;
752
756
  noteType?: string;
753
757
  shouldUpdateLastContactDate?: boolean;
754
758
  }
759
+ interface ActionedUser {
760
+ _id?: string;
761
+ fullName?: string;
762
+ }
755
763
  export interface NoteHistoryProps {
756
764
  editedBy?: string;
757
765
  dateTime?: string;
@@ -803,7 +811,9 @@ export interface NoteComponentProps {
803
811
  enableAddCheckbox?: boolean;
804
812
  additionalClassesNote?: string;
805
813
  additionalClassesButtons?: string;
814
+ additionalClassesTitlebar?: string;
806
815
  minHeight?: string;
816
+ isChallengeNote?: boolean;
807
817
  }
808
818
  export interface TabButtonProps {
809
819
  onClickTab?: (value: string) => void;
package/dist/index.d.ts CHANGED
@@ -6,6 +6,8 @@ export { ColumnDef, SortingState } from '@tanstack/react-table';
6
6
 
7
7
  interface ITodoToggleRequestParams {
8
8
  noteId?: string;
9
+ actionedUser?: string;
10
+ patient?: string;
9
11
  toggleOptions: {
10
12
  noteIndex: number;
11
13
  check: boolean;
@@ -563,6 +565,8 @@ interface TimelineProps {
563
565
  navigationAction?: (solution?: ISolutionvalues, type?: string) => void;
564
566
  type?: string[];
565
567
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
568
+ isChallengeTimeline?: boolean;
569
+ handleCopyCurrentNote?: (note: NoteProps) => void;
566
570
  }
567
571
  interface SideBarListProps {
568
572
  filterLeftLabel?: string;
@@ -621,6 +625,8 @@ interface TimelineEventProps {
621
625
  surveyDate?: string;
622
626
  navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void;
623
627
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
628
+ isChallengeTimeline?: boolean;
629
+ handleCopyCurrentNote?: (note: NoteProps) => void;
624
630
  }
625
631
  interface IVariant {
626
632
  pdfMetaData?: PDFMeta;
@@ -638,10 +644,14 @@ interface NoteProps {
638
644
  note?: NoteItemProps[];
639
645
  _id?: string;
640
646
  date?: string;
641
- actionedUser?: string;
647
+ actionedUser?: ActionedUser;
642
648
  noteType?: string;
643
649
  shouldUpdateLastContactDate?: boolean;
644
650
  }
651
+ interface ActionedUser {
652
+ _id?: string;
653
+ fullName?: string;
654
+ }
645
655
  interface NoteHistoryProps {
646
656
  editedBy?: string;
647
657
  dateTime?: string;
@@ -689,7 +699,9 @@ interface NoteComponentProps {
689
699
  enableAddCheckbox?: boolean;
690
700
  additionalClassesNote?: string;
691
701
  additionalClassesButtons?: string;
702
+ additionalClassesTitlebar?: string;
692
703
  minHeight?: string;
704
+ isChallengeNote?: boolean;
693
705
  }
694
706
  interface TabButtonProps {
695
707
  onClickTab?: (value: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.470",
3
+ "version": "1.12.472",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",