dfh-ui-library 1.13.136 → 1.13.138
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/Media/LetterFormBuilder/CustomField.d.ts +24 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/FormGenerator.d.ts +4 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/LetterFormBuilder.d.ts +4 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/LetterGenerator.d.ts +4 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IComponent.d.ts +5 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IFormGeneratorProps.d.ts +21 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts +20 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterProps.d.ts +18 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterSchema.d.ts +54 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionSchema.d.ts +50 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts +18 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ISchema.d.ts +32 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/useInitialValues.d.ts +3 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/useLetterSchemaAdapter.d.ts +4 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/useOrderSchema.d.ts +3 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/util.d.ts +39 -0
- package/dist/cjs/types/components/Media/LetterFormBuilder/validationHelper.d.ts +7 -0
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput4.d.ts +6 -0
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput4.test.d.ts +1 -0
- package/dist/cjs/types/components/PhoneNumberInput/index.d.ts +1 -0
- package/dist/cjs/types/components/SideBarListView/SideListViewV2.d.ts +12 -0
- package/dist/cjs/types/components/SideBarListView/index.d.ts +2 -1
- package/dist/cjs/types/components/index.d.ts +2 -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/Media/LetterFormBuilder/CustomField.d.ts +24 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/FormGenerator.d.ts +4 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/LetterFormBuilder.d.ts +4 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/LetterGenerator.d.ts +4 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IComponent.d.ts +5 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IFormGeneratorProps.d.ts +21 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts +20 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterProps.d.ts +18 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterSchema.d.ts +54 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IQuestionSchema.d.ts +50 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts +18 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ISchema.d.ts +32 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/useInitialValues.d.ts +3 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/useLetterSchemaAdapter.d.ts +4 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/useOrderSchema.d.ts +3 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/util.d.ts +39 -0
- package/dist/esm/types/components/Media/LetterFormBuilder/validationHelper.d.ts +7 -0
- package/dist/esm/types/components/PhoneNumberInput/PhoneNumberInput4.d.ts +6 -0
- package/dist/esm/types/components/PhoneNumberInput/PhoneNumberInput4.test.d.ts +1 -0
- package/dist/esm/types/components/PhoneNumberInput/index.d.ts +1 -0
- package/dist/esm/types/components/SideBarListView/SideListViewV2.d.ts +12 -0
- package/dist/esm/types/components/SideBarListView/index.d.ts +2 -1
- package/dist/esm/types/components/index.d.ts +2 -2
- package/dist/index.d.ts +13 -1
- package/package.json +4 -1
@@ -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,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
|
+
}
|
package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts
ADDED
@@ -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
|
+
}
|
package/dist/esm/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts
ADDED
@@ -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,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,6 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { PhoneNumberInputProps } from "../../shared/models/components/common.model";
|
3
|
+
import "intl-tel-input/build/css/intlTelInput.css";
|
4
|
+
import "./phoneInput.css";
|
5
|
+
declare const PhoneNumberInput4: React.FC<PhoneNumberInputProps>;
|
6
|
+
export default PhoneNumberInput4;
|
@@ -0,0 +1 @@
|
|
1
|
+
import "@testing-library/jest-dom";
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export { default as PhoneNumberInput } from "./PhoneNumberInput";
|
2
2
|
export { default as PhoneNumberInput2 } from "./PhoneNumberInput2";
|
3
3
|
export { default as PhoneNumberInput3 } from "./PhoneNumberInput3";
|
4
|
+
export { default as PhoneNumberInput4 } from "./PhoneNumberInput4";
|
@@ -0,0 +1,12 @@
|
|
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 +1,2 @@
|
|
1
|
-
export { default } from
|
1
|
+
export { default as SideBarListView } from './SideBarListView';
|
2
|
+
export { default as SideBarListViewV2 } from './SideListViewV2';
|
@@ -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';
|
@@ -53,7 +53,7 @@ export { default as Typho } from './Typho';
|
|
53
53
|
export { default as Spinner } from './Gird/Spinner';
|
54
54
|
export { default as Badge } from './Badge';
|
55
55
|
export { default as RegularDropdown } from './RegularDropdown';
|
56
|
-
export {
|
56
|
+
export { SideBarListView, SideBarListViewV2 } from './SideBarListView';
|
57
57
|
export { default as TabButton } from './TabButton';
|
58
58
|
export { default as TooltipWithChildren } from './Tooltip/TooltipWithChildren';
|
59
59
|
export { default as Signature } from './Signature';
|
package/dist/index.d.ts
CHANGED
@@ -1610,6 +1610,8 @@ declare const PhoneNumberInput2: React__default.FC<PhoneNumberInputProps>;
|
|
1610
1610
|
|
1611
1611
|
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
1612
|
|
1613
|
+
declare const PhoneNumberInput4: React__default.FC<PhoneNumberInputProps>;
|
1614
|
+
|
1613
1615
|
/**
|
1614
1616
|
* Primary UI component for Tooltip
|
1615
1617
|
*/
|
@@ -1780,6 +1782,16 @@ declare const RegularDropdown: React__default.FC<VersionDropDownProps>;
|
|
1780
1782
|
|
1781
1783
|
declare const SideBarListView: React__default.FC<SideBarListProps>;
|
1782
1784
|
|
1785
|
+
interface SideListViewV2Props extends SideBarListProps {
|
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>;
|
1794
|
+
|
1783
1795
|
declare const TabButton: React__default.FC<TabButtonProps>;
|
1784
1796
|
|
1785
1797
|
declare const Signature: React__default.FC<SignatureProps>;
|
@@ -2147,5 +2159,5 @@ declare const themeConfigs: {
|
|
2147
2159
|
plugins: any[];
|
2148
2160
|
};
|
2149
2161
|
|
2150
|
-
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, 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 };
|
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, 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 };
|
2151
2163
|
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.
|
3
|
+
"version": "1.13.138",
|
4
4
|
"description": "",
|
5
5
|
"scripts": {
|
6
6
|
"build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
@@ -23,12 +23,14 @@
|
|
23
23
|
"@tailwindcss/forms": "^0.5.7",
|
24
24
|
"@tailwindcss/line-clamp": "^0.4.4",
|
25
25
|
"@tanstack/react-table": "^8.11.3",
|
26
|
+
"@types/intl-tel-input": "^18.1.4",
|
26
27
|
"@types/react": "^18.2.37",
|
27
28
|
"autoprefixer": "^10.4.16",
|
28
29
|
"classnames": "^2.3.2",
|
29
30
|
"dfh-form-generator": "^1.2.138",
|
30
31
|
"dompurify": "^3.1.6",
|
31
32
|
"formik": "^2.4.5",
|
33
|
+
"intl-tel-input": "^25.3.1",
|
32
34
|
"lodash": "^4.17.21",
|
33
35
|
"moment": "^2.29.4",
|
34
36
|
"react": "^18.2.0",
|
@@ -41,6 +43,7 @@
|
|
41
43
|
"react-tooltip": "^5.26.3",
|
42
44
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
43
45
|
"rollup-plugin-scss": "^4.0.0",
|
46
|
+
"schema-to-yup": "^1.12.18",
|
44
47
|
"signature_pad": "^4.2.0",
|
45
48
|
"tailwind-merge": "^2.6.0",
|
46
49
|
"tailwindcss": "^3.3.5",
|