dfh-ui-library 1.12.469 → 1.12.470

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