dfh-ui-library 1.13.137 → 1.13.139

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 (60) hide show
  1. package/dist/cjs/index.css +1 -1
  2. package/dist/cjs/index.css.map +1 -1
  3. package/dist/cjs/index.js +1 -1
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/types/components/Media/LetterFormBuilder/CustomField.d.ts +24 -0
  6. package/dist/cjs/types/components/Media/LetterFormBuilder/FormGenerator.d.ts +4 -0
  7. package/dist/cjs/types/components/Media/LetterFormBuilder/LetterFormBuilder.d.ts +4 -0
  8. package/dist/cjs/types/components/Media/LetterFormBuilder/LetterGenerator.d.ts +4 -0
  9. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IComponent.d.ts +5 -0
  10. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IFormGeneratorProps.d.ts +21 -0
  11. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts +20 -0
  12. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterProps.d.ts +18 -0
  13. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterSchema.d.ts +54 -0
  14. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionSchema.d.ts +50 -0
  15. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts +18 -0
  16. package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ISchema.d.ts +32 -0
  17. package/dist/cjs/types/components/Media/LetterFormBuilder/useInitialValues.d.ts +3 -0
  18. package/dist/cjs/types/components/Media/LetterFormBuilder/useLetterSchemaAdapter.d.ts +4 -0
  19. package/dist/cjs/types/components/Media/LetterFormBuilder/useOrderSchema.d.ts +3 -0
  20. package/dist/cjs/types/components/Media/LetterFormBuilder/util.d.ts +39 -0
  21. package/dist/cjs/types/components/Media/LetterFormBuilder/validationHelper.d.ts +7 -0
  22. package/dist/cjs/types/components/SideBarListView/SideBarListViewV2.d.ts +4 -0
  23. package/dist/cjs/types/components/SideBarListView/index.d.ts +1 -1
  24. package/dist/cjs/types/components/SideBarListView/todos.d.ts +3 -0
  25. package/dist/cjs/types/components/SideBarListView/todosV2.d.ts +2 -0
  26. package/dist/cjs/types/components/SideBarListView/urgentChallenges.d.ts +2 -0
  27. package/dist/cjs/types/components/index.d.ts +1 -1
  28. package/dist/cjs/types/shared/models/components/common.model.d.ts +2 -0
  29. package/dist/esm/index.css +1 -1
  30. package/dist/esm/index.css.map +1 -1
  31. package/dist/esm/index.js +1 -1
  32. package/dist/esm/index.js.map +1 -1
  33. package/dist/esm/types/components/Media/LetterFormBuilder/CustomField.d.ts +24 -0
  34. package/dist/esm/types/components/Media/LetterFormBuilder/FormGenerator.d.ts +4 -0
  35. package/dist/esm/types/components/Media/LetterFormBuilder/LetterFormBuilder.d.ts +4 -0
  36. package/dist/esm/types/components/Media/LetterFormBuilder/LetterGenerator.d.ts +4 -0
  37. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IComponent.d.ts +5 -0
  38. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IFormGeneratorProps.d.ts +21 -0
  39. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts +20 -0
  40. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterProps.d.ts +18 -0
  41. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterSchema.d.ts +54 -0
  42. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IQuestionSchema.d.ts +50 -0
  43. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts +18 -0
  44. package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ISchema.d.ts +32 -0
  45. package/dist/esm/types/components/Media/LetterFormBuilder/useInitialValues.d.ts +3 -0
  46. package/dist/esm/types/components/Media/LetterFormBuilder/useLetterSchemaAdapter.d.ts +4 -0
  47. package/dist/esm/types/components/Media/LetterFormBuilder/useOrderSchema.d.ts +3 -0
  48. package/dist/esm/types/components/Media/LetterFormBuilder/util.d.ts +39 -0
  49. package/dist/esm/types/components/Media/LetterFormBuilder/validationHelper.d.ts +7 -0
  50. package/dist/esm/types/components/SideBarListView/SideBarListViewV2.d.ts +4 -0
  51. package/dist/esm/types/components/SideBarListView/index.d.ts +1 -1
  52. package/dist/esm/types/components/SideBarListView/todos.d.ts +3 -0
  53. package/dist/esm/types/components/SideBarListView/todosV2.d.ts +2 -0
  54. package/dist/esm/types/components/SideBarListView/urgentChallenges.d.ts +2 -0
  55. package/dist/esm/types/components/index.d.ts +1 -1
  56. package/dist/esm/types/shared/models/components/common.model.d.ts +2 -0
  57. package/dist/index.d.ts +13 -10
  58. package/package.json +2 -1
  59. package/dist/cjs/types/components/SideBarListView/SideListViewV2.d.ts +0 -12
  60. package/dist/esm/types/components/SideBarListView/SideListViewV2.d.ts +0 -12
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ interface CustomFieldProps {
3
+ id: string;
4
+ name: string;
5
+ label?: string;
6
+ labelName?: string;
7
+ tooltip?: string;
8
+ component: any;
9
+ error?: string;
10
+ type?: string;
11
+ checked?: boolean;
12
+ options?: any[];
13
+ onChange?: any;
14
+ onBlur?: any;
15
+ onSelect?: any;
16
+ onMultiSelect?: any;
17
+ secondaryComponentsVisible?: boolean;
18
+ inputObjects?: any[];
19
+ selected?: any;
20
+ viewMode?: boolean;
21
+ previousData?: any;
22
+ }
23
+ declare const CustomField: React.FC<CustomFieldProps>;
24
+ export default CustomField;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { IFormGeneratorProps } from './interfaces/IFormGeneratorProps';
3
+ declare const FormGenerator: ({ schema, currentStepNumber, components, handleSubmit, SubmitButton, ResetButton, viewMode, isLetterGenerator, ...libProps }: IFormGeneratorProps) => React.JSX.Element;
4
+ export default FormGenerator;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { LetterProps } from './interfaces/ILetterProps';
3
+ declare function LetterFormBuilder(props: LetterProps): React.JSX.Element;
4
+ export default LetterFormBuilder;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ILetterGeneratorProps } from './interfaces/ILetterGeneratorProps';
3
+ declare const LetterGenerator: (props: ILetterGeneratorProps) => React.JSX.Element | null;
4
+ export default LetterGenerator;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export interface IComponent {
3
+ id: string;
4
+ component: React.FC<any>;
5
+ }
@@ -0,0 +1,21 @@
1
+ import { FormikContextType } from 'formik';
2
+ import { IComponent } from './IComponent';
3
+ import { ISchema } from './ISchema';
4
+ export interface IFormGeneratorProps {
5
+ schema: ISchema;
6
+ currentStepNumber?: number;
7
+ components: IComponent[];
8
+ handleSubmit?: (data: any) => void;
9
+ handleChanges?: (data: any) => void;
10
+ formRef?: React.MutableRefObject<FormikContextType<any> | null>;
11
+ showDefaultSubmitButton?: boolean;
12
+ showDefaultResetButton?: boolean;
13
+ SubmitButton?: React.FC<any>;
14
+ ResetButton?: React.FC<any>;
15
+ defaultBttnClass?: string;
16
+ bttnGroupClass?: string;
17
+ bttnDivClass?: string;
18
+ viewMode?: boolean;
19
+ showPreviousData?: boolean;
20
+ isLetterGenerator?: boolean;
21
+ }
@@ -0,0 +1,20 @@
1
+ import { FormikContextType } from 'formik';
2
+ import { IComponent } from './IComponent';
3
+ import { ILetterSchema } from './ILetterSchema';
4
+ export interface ILetterGeneratorProps {
5
+ schema: ILetterSchema;
6
+ currentStepNumber?: number;
7
+ components: IComponent[];
8
+ handleSubmit?: (data: any) => void;
9
+ handleChanges?: (data: any) => void;
10
+ formRef?: React.MutableRefObject<FormikContextType<any> | null>;
11
+ showDefaultSubmitButton?: boolean;
12
+ showDefaultResetButton?: boolean;
13
+ SubmitButton?: React.FC<any>;
14
+ ResetButton?: React.FC<any>;
15
+ defaultBttnClass?: string;
16
+ bttnGroupClass?: string;
17
+ bttnDivClass?: string;
18
+ viewMode?: boolean;
19
+ showPreviousData?: boolean;
20
+ }
@@ -0,0 +1,18 @@
1
+ import { ILetterSchema } from "./ILetterSchema";
2
+ type LetterBaseProps = {
3
+ schema?: ILetterSchema;
4
+ patientName?: string;
5
+ navigateToView?: (isCancel?: boolean) => void;
6
+ receivedData?: any;
7
+ backToView?: (req: any) => void;
8
+ varientId: string;
9
+ varient: string;
10
+ };
11
+ export type LetterProps = LetterBaseProps & ({
12
+ isReleaseInfo: false;
13
+ letterActionXHR: (req: any, action: 'save' | 'preview') => Promise<any>;
14
+ } | {
15
+ isReleaseInfo: true;
16
+ updateLetterSchemaValuesForRInfo: (req: any) => Promise<any>;
17
+ });
18
+ export {};
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ export interface ILetterSchema {
3
+ _id: string;
4
+ title: string;
5
+ spacing: string;
6
+ formRows: ILetterSchemaRow[];
7
+ jsonSchema: any;
8
+ jsonConfig: any;
9
+ }
10
+ export interface ILetterSchemaRow {
11
+ _id: string;
12
+ rowOrder: number;
13
+ fieldList: ILetterField[];
14
+ rowType?: string;
15
+ subTitle?: string;
16
+ subTitleType?: string;
17
+ rowClass?: string;
18
+ }
19
+ export interface ILetterField {
20
+ _id: string;
21
+ columnOrder: number;
22
+ width: string;
23
+ fieldKey: string;
24
+ fieldType: string;
25
+ preFilledKey: string;
26
+ title: string;
27
+ isValidationEnabled: boolean;
28
+ validation: ILetterFieldValidation[];
29
+ selected: ISelected;
30
+ options: IMultiSelectOption[];
31
+ className?: string;
32
+ }
33
+ export interface IMultiSelectOption {
34
+ id: string;
35
+ value: string;
36
+ displayName?: string;
37
+ isSelected?: boolean;
38
+ }
39
+ export interface IMultiSelectSelectedValues {
40
+ value: IMultiSelectOption[];
41
+ }
42
+ export interface ILetterFieldValidation {
43
+ validationType: string;
44
+ message: string;
45
+ }
46
+ export interface ISelected {
47
+ value: string | Date;
48
+ valueRef?: string;
49
+ isChecked?: boolean;
50
+ }
51
+ export interface IComponent {
52
+ id: string;
53
+ component: React.FC<any>;
54
+ }
@@ -0,0 +1,50 @@
1
+ import { IQuestionValidationSchema } from './IQuestionValidationSchema';
2
+ export interface IQuestionSchema {
3
+ _id: string;
4
+ columnOrder: number;
5
+ columnClass: string;
6
+ visibleIf?: string;
7
+ question: IQuestion;
8
+ }
9
+ export interface IQuestion {
10
+ _id: string;
11
+ filedType?: string | null;
12
+ fieldName?: string;
13
+ component: string;
14
+ title: string;
15
+ placeholder?: string | null;
16
+ selected: ISelectedValue;
17
+ answers?: {
18
+ id: string;
19
+ value: string;
20
+ points?: number;
21
+ }[];
22
+ isValidationEnabled: boolean;
23
+ answerPrevData?: {
24
+ answerLabel: string;
25
+ lastEditedDate: string;
26
+ };
27
+ questionValidation?: IQuestionValidationSchema;
28
+ componentMetaData?: {
29
+ secondaryComponents?: {
30
+ condition?: string;
31
+ inputs?: [
32
+ {
33
+ id?: string;
34
+ name?: string;
35
+ placeholder?: string;
36
+ isRequired?: boolean;
37
+ }
38
+ ];
39
+ };
40
+ };
41
+ tooltip?: string;
42
+ }
43
+ export interface ISelectedValue {
44
+ value?: string | null | Date | boolean;
45
+ additionalValues?: object | null;
46
+ valueRef?: string;
47
+ answerPrevData?: object | null;
48
+ isChecked?: boolean | undefined;
49
+ points?: number;
50
+ }
@@ -0,0 +1,18 @@
1
+ export declare enum ValidationType {
2
+ NONE = "NONE",
3
+ REGEX = "REGEX",
4
+ FUNCTION = "FUNCTION"
5
+ }
6
+ export declare enum ValidationFuncName {
7
+ TEST = "TEST"
8
+ }
9
+ export interface IQuestionValidationSchema {
10
+ validationType: ValidationType;
11
+ isRequired: boolean;
12
+ isRequiredErrorMsg?: string;
13
+ regex?: RegExp;
14
+ regexErrorMsg?: string;
15
+ validationFuncName?: ValidationFuncName;
16
+ functionParamList?: any[];
17
+ functionErrorMsg?: string;
18
+ }
@@ -0,0 +1,32 @@
1
+ import { IQuestionSchema } from './IQuestionSchema';
2
+ export interface ISchema {
3
+ _id: string;
4
+ schemaSteps: ISchemaStep[];
5
+ jsonSchema?: any;
6
+ jsonConfig?: any;
7
+ }
8
+ export interface ISchemaStep {
9
+ _id: string;
10
+ stepNumber: number;
11
+ disclaimer?: string;
12
+ surveryProgress?: SurveryProgressEnum;
13
+ domain: string;
14
+ mainTitle: string;
15
+ contentTitle: string;
16
+ visibleIf?: string;
17
+ formRows: IFormRow[];
18
+ }
19
+ export declare enum SurveryProgressEnum {
20
+ NOTSTARTED = "NOTSTARTED",
21
+ INPROGRESS = "INPROGRESS",
22
+ COMPLETED = "COMPLETED"
23
+ }
24
+ export interface IFormRow {
25
+ _id: string;
26
+ rowOrder: number;
27
+ rowClass: string;
28
+ questionList: IQuestionSchema[];
29
+ component?: string;
30
+ subTitle?: string;
31
+ subTitleType?: string;
32
+ }
@@ -0,0 +1,3 @@
1
+ import { ISchemaStep } from './interfaces/ISchema';
2
+ declare function useInitialValues(): [object, (schemas: ISchemaStep[]) => void];
3
+ export default useInitialValues;
@@ -0,0 +1,4 @@
1
+ import { ISchema } from './interfaces/ISchema';
2
+ import { ILetterSchema } from './interfaces/ILetterSchema';
3
+ declare function useLetterSchemaAdapter(): [ISchema | undefined, (letterSchema: ILetterSchema) => void];
4
+ export default useLetterSchemaAdapter;
@@ -0,0 +1,3 @@
1
+ import { ISchemaStep } from './interfaces/ISchema';
2
+ declare function useOrderSchema(schemaArray: ISchemaStep[]): [ISchemaStep[], (schemaArray: ISchemaStep[]) => void];
3
+ export default useOrderSchema;
@@ -0,0 +1,39 @@
1
+ import * as Yup from 'yup';
2
+ import { ILetterSchema } from './interfaces/ILetterSchema';
3
+ import { IQuestionSchema, ISelectedValue } from './interfaces/IQuestionSchema';
4
+ type NestedFieldShape<T> = {
5
+ value: T;
6
+ };
7
+ export declare const parseString: (inputString: string) => {
8
+ [key: string]: string;
9
+ };
10
+ export declare const isToday: (dateStr: string) => boolean;
11
+ export declare const getTimezoneData: () => {
12
+ hours: number;
13
+ mins: number;
14
+ };
15
+ export declare const castToUTCDate: (date: string | Date | number | null) => Date | null;
16
+ export declare const getLetterSchemaObject: (newSchema: ILetterSchema) => {
17
+ _id: string;
18
+ title: string;
19
+ spacing: string;
20
+ formRows: import("./interfaces/ILetterSchema").ILetterSchemaRow[];
21
+ jsonSchema: any;
22
+ jsonConfig: any;
23
+ } | null;
24
+ export declare function wrapSchemaForNestedValueFields<T extends Yup.AnyObject>(rawSchema: Yup.ObjectSchema<T>): Yup.ObjectSchema<Record<keyof T, Yup.ObjectSchema<NestedFieldShape<any>>>>;
25
+ export declare const getGapClass: (gap: string) => string;
26
+ export declare const decimalToFraction: (value: number) => string;
27
+ export declare const getTailwindWidthClass: (percentStr: string) => string;
28
+ export declare const getType: (type: string) => string;
29
+ export declare const isComponentVisible: (condition: string, values: {
30
+ [key: string]: ISelectedValue;
31
+ }) => boolean;
32
+ export declare const isRowVisible: (questionList: IQuestionSchema[], values: {
33
+ [key: string]: ISelectedValue;
34
+ }) => boolean;
35
+ export declare const letterComponentSchema: {
36
+ fieldId: number;
37
+ component: string;
38
+ }[];
39
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as Yup from 'yup';
2
+ type NestedFieldShape<T> = {
3
+ value: T;
4
+ };
5
+ export declare function wrapSchemaForNestedValueFields<T extends Yup.AnyObject>(rawSchema: Yup.ObjectSchema<T>): Yup.ObjectSchema<Record<keyof T, Yup.ObjectSchema<NestedFieldShape<any>>>>;
6
+ export declare const touchAllFields: (values: any) => any;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SideBarListProps } from '../../shared/models/components/common.model';
3
+ declare const SideBarListViewV2: React.FC<SideBarListProps>;
4
+ export default SideBarListViewV2;
@@ -1,2 +1,2 @@
1
1
  export { default as SideBarListView } from './SideBarListView';
2
- export { default as SideBarListViewV2 } from './SideListViewV2';
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;
@@ -16,7 +16,7 @@ export { default as ImagePreview } from './ImagePreview';
16
16
  export { default as DatePicker } from './Datepicker';
17
17
  export * from './InputDatepicker';
18
18
  export { Row } from './core';
19
- export { PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, } from './PhoneNumberInput';
19
+ export { PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, } from './PhoneNumberInput';
20
20
  export { Tooltip } from './Tooltip';
21
21
  export { default as DialogBox } from '../components/core/DialogBox';
22
22
  export { default as Modal } from '../components/Modal';
@@ -837,6 +837,8 @@ export interface SideBarListProps {
837
837
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
838
838
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
839
839
  isDataLoading?: boolean;
840
+ hasMoreData?: boolean;
841
+ onLoadMore?: () => void;
840
842
  }
841
843
  export interface PatientConsentProps {
842
844
  consentDate?: string | Date | null;
package/dist/index.d.ts CHANGED
@@ -20,6 +20,9 @@ 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
 
@@ -709,6 +712,8 @@ interface SideBarListProps {
709
712
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
710
713
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
711
714
  isDataLoading?: boolean;
715
+ hasMoreData?: boolean;
716
+ onLoadMore?: () => void;
712
717
  }
713
718
  interface PatientConsentProps {
714
719
  consentDate?: string | Date | null;
@@ -1610,6 +1615,8 @@ declare const PhoneNumberInput2: React__default.FC<PhoneNumberInputProps>;
1610
1615
 
1611
1616
  declare const PhoneNumberInput3: <T extends PhoneNumberInputProps>({ value, onChange, countryCallingCodeEditable, placeholder, additionalClasses, labelType, isBorderedError, inputVariant, error, type, readOnly, label, name, isAdditionalErrorInput, additionalErrorClasses, field, isRequired, ...props }: T) => React__default.JSX.Element;
1612
1617
 
1618
+ declare const PhoneNumberInput4: React__default.FC<PhoneNumberInputProps>;
1619
+
1613
1620
  /**
1614
1621
  * Primary UI component for Tooltip
1615
1622
  */
@@ -1780,15 +1787,7 @@ declare const RegularDropdown: React__default.FC<VersionDropDownProps>;
1780
1787
 
1781
1788
  declare const SideBarListView: React__default.FC<SideBarListProps>;
1782
1789
 
1783
- interface SideListViewV2Props extends SideBarListProps {
1784
- currentPage?: number;
1785
- pageSize?: number;
1786
- totalCount?: number;
1787
- onPageChange?: (page: number) => void;
1788
- onPageSizeChange?: (pageSize: number) => void;
1789
- isLoadingMore?: boolean;
1790
- }
1791
- declare const SideListViewV2: React__default.FC<SideListViewV2Props>;
1790
+ declare const SideBarListViewV2: React__default.FC<SideBarListProps>;
1792
1791
 
1793
1792
  declare const TabButton: React__default.FC<TabButtonProps>;
1794
1793
 
@@ -1829,6 +1828,8 @@ interface TodosV2Props {
1829
1828
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
1830
1829
  searchText?: string;
1831
1830
  isDataLoading?: boolean;
1831
+ onLoadMore?: () => void;
1832
+ hasMoreData?: boolean;
1832
1833
  }
1833
1834
  declare const TodosV2: React__default.FC<TodosV2Props>;
1834
1835
 
@@ -1838,6 +1839,8 @@ interface UrgentChallengeProps {
1838
1839
  handleNameClick?: (id?: string) => void;
1839
1840
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
1840
1841
  isDataLoading?: boolean;
1842
+ onLoadMore?: () => void;
1843
+ hasMoreData?: boolean;
1841
1844
  }
1842
1845
  declare const UrgentChallenges: React__default.FC<UrgentChallengeProps>;
1843
1846
 
@@ -2157,5 +2160,5 @@ declare const themeConfigs: {
2157
2160
  plugins: any[];
2158
2161
  };
2159
2162
 
2160
- 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, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, SideListViewV2 as 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
+ 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 };
2161
2164
  export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.13.137",
3
+ "version": "1.13.139",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
@@ -43,6 +43,7 @@
43
43
  "react-tooltip": "^5.26.3",
44
44
  "rollup-plugin-peer-deps-external": "^2.2.4",
45
45
  "rollup-plugin-scss": "^4.0.0",
46
+ "schema-to-yup": "^1.12.18",
46
47
  "signature_pad": "^4.2.0",
47
48
  "tailwind-merge": "^2.6.0",
48
49
  "tailwindcss": "^3.3.5",
@@ -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;