dfh-ui-library 1.13.138 → 1.13.140
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.
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +1 -0
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/cjs/types/components/Media/Icons/Icons.d.ts +1 -0
- package/dist/cjs/types/components/SideBarListView/SideBarListViewV2.d.ts +4 -0
- package/dist/cjs/types/components/SideBarListView/index.d.ts +1 -1
- package/dist/cjs/types/components/SideBarListView/todos.d.ts +3 -0
- package/dist/cjs/types/components/SideBarListView/todosV2.d.ts +2 -0
- package/dist/cjs/types/components/SideBarListView/urgentChallenges.d.ts +2 -0
- package/dist/cjs/types/components/Timeline/NoteView.d.ts +1 -0
- package/dist/cjs/types/components/Timeline/TimeLineCards.d.ts +2 -1
- package/dist/cjs/types/shared/models/components/base.model.d.ts +3 -1
- package/dist/cjs/types/shared/models/components/common.model.d.ts +9 -2
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/esm/types/components/FilterButtonGroup/Checkbox.d.ts +1 -0
- package/dist/esm/types/components/FormElements/IconInput/IconInput.handler.d.ts +1 -1
- package/dist/esm/types/components/Media/Icons/Icons.d.ts +1 -0
- package/dist/esm/types/components/SideBarListView/SideBarListViewV2.d.ts +4 -0
- package/dist/esm/types/components/SideBarListView/index.d.ts +1 -1
- package/dist/esm/types/components/SideBarListView/todos.d.ts +3 -0
- package/dist/esm/types/components/SideBarListView/todosV2.d.ts +2 -0
- package/dist/esm/types/components/SideBarListView/urgentChallenges.d.ts +2 -0
- package/dist/esm/types/components/Timeline/NoteView.d.ts +1 -0
- package/dist/esm/types/components/Timeline/TimeLineCards.d.ts +2 -1
- package/dist/esm/types/shared/models/components/base.model.d.ts +3 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +9 -2
- package/dist/index.d.ts +22 -13
- package/package.json +1 -1
- package/dist/cjs/types/components/SideBarListView/SideListViewV2.d.ts +0 -12
- package/dist/esm/types/components/SideBarListView/SideListViewV2.d.ts +0 -12
@@ -1 +1 @@
|
|
1
|
-
export declare const handleButtonClasses: (variants?: string | undefined) => "bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-[52px] text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-9 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-9 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-7 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-7 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-11 bg-[#006CD0] text-21s text-white" | "text-16s h-10 bg-[#006CD0] text-21s text-white !p-0 !px-2" | "bg-[#006CD0] text-12s text-white" | "text-21s text-black-540 border border-[#CDCED6] bg-white" | "text-21s text-black-540 border border-[#DF4B604D] bg-white" | "text-21s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "text-12s border text-black-540 border-0 bg-[#F1F5F9]" | "text-21s text-black-540 border border-0 bg-white" | "text-21s text-white border border-0 bg-[#006CD0]" | "text-21s text-white border border-0 bg-pinkRead" | "h-8 text-12s text-black-540 border border-[#CDCED6] bg-white" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-8 text-12s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-21s border border-0 bg-white" | "h-8 text-21s border border-0 bg-transparent" | undefined;
|
1
|
+
export declare const handleButtonClasses: (variants?: string | undefined) => "bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-[52px] text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-9 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-9 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-7 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-7 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-11 bg-[#006CD0] text-21s text-white" | "text-16s h-10 bg-[#006CD0] text-21s text-white !p-0 !px-2" | "bg-[#006CD0] text-12s text-white" | "text-21s text-black-540 border border-[#CDCED6] bg-white" | "text-21s opacity-60 text-[#21232C] border border-[#CDCED6] bg-white" | "text-21s text-black-540 border border-[#DF4B604D] bg-white" | "text-14s text-white bg-[#F23A5C]" | "text-21s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "text-12s border text-black-540 border-0 bg-[#F1F5F9]" | "text-21s text-black-540 border border-0 bg-white" | "text-21s text-white border border-0 bg-[#006CD0]" | "text-21s text-white border border-0 bg-pinkRead" | "h-8 text-12s text-black-540 border border-[#CDCED6] bg-white" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-8 text-12s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-21s border border-0 bg-white" | "h-8 text-21s border border-0 bg-transparent" | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
export declare const handleInputElementClasses: (_inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder") => "px-3 py-3 bg-white border shadow-sm text-black-600 text-14s font-normal border-slate-300 placeholder-slate-400 focus:outline-none focus:border-sky-500 focus:ring-sky-500 block w-full rounded-md sm:text-sm focus:ring-1" | undefined;
|
1
|
+
export declare const handleInputElementClasses: (_inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder") => "px-3 py-3 bg-white border shadow-sm text-black-600 text-14s font-normal border-slate-300 placeholder-slate-400 focus:outline-none focus:border-sky-500 focus:ring-sky-500 block w-full rounded-md sm:text-sm focus:ring-1" | "px-0 h-8 py-2.5 bg-white border-0 rounded text-black-540 text-14s font-normal placeholder-gray-95 block w-[100px] items-center" | undefined;
|
@@ -30,6 +30,7 @@ export declare const UploadIcon: ({ classes, onClick, ...props }: IconProps) =>
|
|
30
30
|
export declare const PDFIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
|
31
31
|
export declare const PlusBtnIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
|
32
32
|
export declare const InfoIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
|
33
|
+
export declare const AlertIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
|
33
34
|
export declare const InfoLargeIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
|
34
35
|
export declare const InfoSmallIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
|
35
36
|
export declare const RemoveIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { default as SideBarListView } from './SideBarListView';
|
2
|
-
export { default as SideBarListViewV2 } from './
|
2
|
+
export { default as SideBarListViewV2 } from './SideBarListViewV2';
|
@@ -16,6 +16,9 @@ interface todosProps {
|
|
16
16
|
detailAction?: (rowId: string | undefined) => void;
|
17
17
|
handleNameClick?: (id?: string) => void;
|
18
18
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
19
|
+
onLoadMore?: () => void;
|
20
|
+
hasMoreData?: boolean;
|
21
|
+
isDataLoading?: boolean;
|
19
22
|
}
|
20
23
|
declare const Todos: React.FC<todosProps>;
|
21
24
|
export default Todos;
|
@@ -18,6 +18,8 @@ interface TodosV2Props {
|
|
18
18
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
19
19
|
searchText?: string;
|
20
20
|
isDataLoading?: boolean;
|
21
|
+
onLoadMore?: () => void;
|
22
|
+
hasMoreData?: boolean;
|
21
23
|
}
|
22
24
|
declare const TodosV2: React.FC<TodosV2Props>;
|
23
25
|
export default TodosV2;
|
@@ -6,6 +6,8 @@ interface UrgentChallengeProps {
|
|
6
6
|
handleNameClick?: (id?: string) => void;
|
7
7
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
8
8
|
isDataLoading?: boolean;
|
9
|
+
onLoadMore?: () => void;
|
10
|
+
hasMoreData?: boolean;
|
9
11
|
}
|
10
12
|
declare const UrgentChallenges: React.FC<UrgentChallengeProps>;
|
11
13
|
export default UrgentChallenges;
|
@@ -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, isChallengeTimeline?: boolean, handleCopyCurrentNote?: (note: NoteProps) => void, isDischarged?: boolean) => React.JSX.Element;
|
5
5
|
export declare const NoteCard: React.FC<{
|
6
6
|
eventData?: TimelineEventProps;
|
7
7
|
note?: NoteProps;
|
@@ -19,4 +19,5 @@ export declare const NoteCard: React.FC<{
|
|
19
19
|
isChallengeTimeline?: boolean;
|
20
20
|
handleCopyCurrentNote?: (note: NoteProps) => void;
|
21
21
|
isBillable?: boolean;
|
22
|
+
isDischarged?: boolean;
|
22
23
|
}>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
2
2
|
import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps, selectedValue } from './common.model';
|
3
|
-
export type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryRedBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
|
3
|
+
export type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryWhiteDisable' | 'primaryRedBtn' | 'primaryRedBgBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
|
4
4
|
export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
5
5
|
/**
|
6
6
|
* Set the button type
|
@@ -90,6 +90,7 @@ export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
|
90
90
|
color?: string;
|
91
91
|
isAddEditPatient?: boolean;
|
92
92
|
title?: string;
|
93
|
+
isDischarged?: boolean;
|
93
94
|
}
|
94
95
|
export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
95
96
|
/**
|
@@ -178,6 +179,7 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
178
179
|
inputFocus?: any;
|
179
180
|
refProps?: any;
|
180
181
|
isRequired?: boolean;
|
182
|
+
isDischarged?: boolean;
|
181
183
|
}
|
182
184
|
export interface IFormGenInputProps {
|
183
185
|
/**
|
@@ -5,7 +5,7 @@ import { ITodoToggleRequestParams } from '../../../components/SideBarListView/to
|
|
5
5
|
export type AlignmentType = 'center' | 'left' | 'right';
|
6
6
|
export type IconColorTypes = 'white' | 'black-900' | 'gray-220' | 'gray-720' | 'inherit' | 'gray-300' | string;
|
7
7
|
export type IconHoverColorTypes = 'white' | 'black-900' | 'gray-220' | 'inherit';
|
8
|
-
export type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
|
8
|
+
export type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'AlertIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
|
9
9
|
export interface IChildrenProp {
|
10
10
|
/**
|
11
11
|
* Se the child node and element;
|
@@ -301,7 +301,7 @@ export interface SsnInputProps {
|
|
301
301
|
labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
|
302
302
|
readOnly?: boolean;
|
303
303
|
type?: string;
|
304
|
-
inputVariant?: 'default' | 'large';
|
304
|
+
inputVariant?: 'default' | 'large' | 'dynamic' | 'uploadinput' | 'small' | 'noborder';
|
305
305
|
label?: string | undefined;
|
306
306
|
additionalErrorClasses?: string;
|
307
307
|
isAdditionalErrorInput?: boolean;
|
@@ -310,6 +310,7 @@ export interface SsnInputProps {
|
|
310
310
|
isIconRight?: boolean;
|
311
311
|
iconClassRight?: string;
|
312
312
|
isRequired?: boolean;
|
313
|
+
isDischarged?: boolean;
|
313
314
|
}
|
314
315
|
export interface ModalProps {
|
315
316
|
children?: React.ReactNode;
|
@@ -531,6 +532,8 @@ export interface ButtonGroupProps extends InputGroupProps {
|
|
531
532
|
disableApplyButton?: boolean;
|
532
533
|
selectedUserValues?: OptionProps[];
|
533
534
|
setSelectedUserValues?: (users: OptionProps[]) => void;
|
535
|
+
isDischarged?: boolean;
|
536
|
+
secondaryVisible?: boolean;
|
534
537
|
}
|
535
538
|
export interface ButtonGroupWithInputsProps extends Omit<ButtonGroupProps, 'selected' | 'onSelect'> {
|
536
539
|
options: {
|
@@ -821,6 +824,7 @@ export interface TimelineProps {
|
|
821
824
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
822
825
|
isChallengeTimeline?: boolean;
|
823
826
|
handleCopyCurrentNote?: (note: NoteProps) => void;
|
827
|
+
isDischarged?: boolean;
|
824
828
|
}
|
825
829
|
export interface SideBarListProps {
|
826
830
|
filterLeftLabel?: string;
|
@@ -837,6 +841,8 @@ export interface SideBarListProps {
|
|
837
841
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
838
842
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
839
843
|
isDataLoading?: boolean;
|
844
|
+
hasMoreData?: boolean;
|
845
|
+
onLoadMore?: () => void;
|
840
846
|
}
|
841
847
|
export interface PatientConsentProps {
|
842
848
|
consentDate?: string | Date | null;
|
@@ -891,6 +897,7 @@ export interface TimelineEventProps {
|
|
891
897
|
isChallengeTimeline?: boolean;
|
892
898
|
handleCopyCurrentNote?: (note: NoteProps) => void;
|
893
899
|
isBillable?: boolean;
|
900
|
+
isDischarged?: boolean;
|
894
901
|
}
|
895
902
|
export interface IVariant {
|
896
903
|
pdfMetaData?: PDFMeta;
|
package/dist/index.d.ts
CHANGED
@@ -20,13 +20,16 @@ interface todosProps {
|
|
20
20
|
detailAction?: (rowId: string | undefined) => void;
|
21
21
|
handleNameClick?: (id?: string) => void;
|
22
22
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
|
23
|
+
onLoadMore?: () => void;
|
24
|
+
hasMoreData?: boolean;
|
25
|
+
isDataLoading?: boolean;
|
23
26
|
}
|
24
27
|
declare const Todos: React__default.FC<todosProps>;
|
25
28
|
|
26
29
|
type AlignmentType = 'center' | 'left' | 'right';
|
27
30
|
type IconColorTypes = 'white' | 'black-900' | 'gray-220' | 'gray-720' | 'inherit' | 'gray-300' | string;
|
28
31
|
type IconHoverColorTypes = 'white' | 'black-900' | 'gray-220' | 'inherit';
|
29
|
-
type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
|
32
|
+
type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'AlertIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
|
30
33
|
interface IChildrenProp {
|
31
34
|
/**
|
32
35
|
* Se the child node and element;
|
@@ -279,7 +282,7 @@ interface SsnInputProps {
|
|
279
282
|
labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
|
280
283
|
readOnly?: boolean;
|
281
284
|
type?: string;
|
282
|
-
inputVariant?: 'default' | 'large';
|
285
|
+
inputVariant?: 'default' | 'large' | 'dynamic' | 'uploadinput' | 'small' | 'noborder';
|
283
286
|
label?: string | undefined;
|
284
287
|
additionalErrorClasses?: string;
|
285
288
|
isAdditionalErrorInput?: boolean;
|
@@ -288,6 +291,7 @@ interface SsnInputProps {
|
|
288
291
|
isIconRight?: boolean;
|
289
292
|
iconClassRight?: string;
|
290
293
|
isRequired?: boolean;
|
294
|
+
isDischarged?: boolean;
|
291
295
|
}
|
292
296
|
interface ModalProps {
|
293
297
|
children?: React.ReactNode;
|
@@ -494,6 +498,8 @@ interface ButtonGroupProps extends InputGroupProps {
|
|
494
498
|
disableApplyButton?: boolean;
|
495
499
|
selectedUserValues?: OptionProps[];
|
496
500
|
setSelectedUserValues?: (users: OptionProps[]) => void;
|
501
|
+
isDischarged?: boolean;
|
502
|
+
secondaryVisible?: boolean;
|
497
503
|
}
|
498
504
|
interface ButtonGroupMultiProps extends InputGroupProps {
|
499
505
|
options: {
|
@@ -693,6 +699,7 @@ interface TimelineProps {
|
|
693
699
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
|
694
700
|
isChallengeTimeline?: boolean;
|
695
701
|
handleCopyCurrentNote?: (note: NoteProps) => void;
|
702
|
+
isDischarged?: boolean;
|
696
703
|
}
|
697
704
|
interface SideBarListProps {
|
698
705
|
filterLeftLabel?: string;
|
@@ -709,6 +716,8 @@ interface SideBarListProps {
|
|
709
716
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
710
717
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
|
711
718
|
isDataLoading?: boolean;
|
719
|
+
hasMoreData?: boolean;
|
720
|
+
onLoadMore?: () => void;
|
712
721
|
}
|
713
722
|
interface PatientConsentProps {
|
714
723
|
consentDate?: string | Date | null;
|
@@ -763,6 +772,7 @@ interface TimelineEventProps {
|
|
763
772
|
isChallengeTimeline?: boolean;
|
764
773
|
handleCopyCurrentNote?: (note: NoteProps) => void;
|
765
774
|
isBillable?: boolean;
|
775
|
+
isDischarged?: boolean;
|
766
776
|
}
|
767
777
|
interface IVariant {
|
768
778
|
pdfMetaData?: PDFMeta;
|
@@ -904,7 +914,7 @@ interface TableProps {
|
|
904
914
|
paginationLabel?: string;
|
905
915
|
}
|
906
916
|
|
907
|
-
type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryRedBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
|
917
|
+
type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryWhiteDisable' | 'primaryRedBtn' | 'primaryRedBgBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
|
908
918
|
interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
909
919
|
/**
|
910
920
|
* Set the button type
|
@@ -994,6 +1004,7 @@ interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
|
994
1004
|
color?: string;
|
995
1005
|
isAddEditPatient?: boolean;
|
996
1006
|
title?: string;
|
1007
|
+
isDischarged?: boolean;
|
997
1008
|
}
|
998
1009
|
interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
999
1010
|
/**
|
@@ -1082,6 +1093,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
1082
1093
|
inputFocus?: any;
|
1083
1094
|
refProps?: any;
|
1084
1095
|
isRequired?: boolean;
|
1096
|
+
isDischarged?: boolean;
|
1085
1097
|
}
|
1086
1098
|
interface ICheckboxProps extends AdditionalClassesProp {
|
1087
1099
|
onChange?: (checked: boolean) => void;
|
@@ -1782,15 +1794,7 @@ declare const RegularDropdown: React__default.FC<VersionDropDownProps>;
|
|
1782
1794
|
|
1783
1795
|
declare const SideBarListView: React__default.FC<SideBarListProps>;
|
1784
1796
|
|
1785
|
-
|
1786
|
-
currentPage?: number;
|
1787
|
-
pageSize?: number;
|
1788
|
-
totalCount?: number;
|
1789
|
-
onPageChange?: (page: number) => void;
|
1790
|
-
onPageSizeChange?: (pageSize: number) => void;
|
1791
|
-
isLoadingMore?: boolean;
|
1792
|
-
}
|
1793
|
-
declare const SideListViewV2: React__default.FC<SideListViewV2Props>;
|
1797
|
+
declare const SideBarListViewV2: React__default.FC<SideBarListProps>;
|
1794
1798
|
|
1795
1799
|
declare const TabButton: React__default.FC<TabButtonProps>;
|
1796
1800
|
|
@@ -1810,6 +1814,7 @@ interface CheckboxProps {
|
|
1810
1814
|
addtionalClasses?: string;
|
1811
1815
|
noteId?: string;
|
1812
1816
|
noteIndex?: number;
|
1817
|
+
isDischarged?: boolean;
|
1813
1818
|
}
|
1814
1819
|
declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
|
1815
1820
|
|
@@ -1831,6 +1836,8 @@ interface TodosV2Props {
|
|
1831
1836
|
toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
1832
1837
|
searchText?: string;
|
1833
1838
|
isDataLoading?: boolean;
|
1839
|
+
onLoadMore?: () => void;
|
1840
|
+
hasMoreData?: boolean;
|
1834
1841
|
}
|
1835
1842
|
declare const TodosV2: React__default.FC<TodosV2Props>;
|
1836
1843
|
|
@@ -1840,6 +1847,8 @@ interface UrgentChallengeProps {
|
|
1840
1847
|
handleNameClick?: (id?: string) => void;
|
1841
1848
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
1842
1849
|
isDataLoading?: boolean;
|
1850
|
+
onLoadMore?: () => void;
|
1851
|
+
hasMoreData?: boolean;
|
1843
1852
|
}
|
1844
1853
|
declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>;
|
1845
1854
|
|
@@ -2159,5 +2168,5 @@ declare const themeConfigs: {
|
|
2159
2168
|
plugins: any[];
|
2160
2169
|
};
|
2161
2170
|
|
2162
|
-
export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupMultiSelectWithInputsFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithMultiSelectFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView,
|
2171
|
+
export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupMultiSelectWithInputsFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithMultiSelectFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, Logo, Message, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, SideBarListViewV2, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
|
2163
2172
|
export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
|
package/package.json
CHANGED
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { SideBarListProps } from '../../shared/models/components/common.model';
|
3
|
-
interface SideListViewV2Props extends SideBarListProps {
|
4
|
-
currentPage?: number;
|
5
|
-
pageSize?: number;
|
6
|
-
totalCount?: number;
|
7
|
-
onPageChange?: (page: number) => void;
|
8
|
-
onPageSizeChange?: (pageSize: number) => void;
|
9
|
-
isLoadingMore?: boolean;
|
10
|
-
}
|
11
|
-
declare const SideListViewV2: React.FC<SideListViewV2Props>;
|
12
|
-
export default SideListViewV2;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { SideBarListProps } from '../../shared/models/components/common.model';
|
3
|
-
interface SideListViewV2Props extends SideBarListProps {
|
4
|
-
currentPage?: number;
|
5
|
-
pageSize?: number;
|
6
|
-
totalCount?: number;
|
7
|
-
onPageChange?: (page: number) => void;
|
8
|
-
onPageSizeChange?: (pageSize: number) => void;
|
9
|
-
isLoadingMore?: boolean;
|
10
|
-
}
|
11
|
-
declare const SideListViewV2: React.FC<SideListViewV2Props>;
|
12
|
-
export default SideListViewV2;
|