tp-react-elements-dev 1.12.6 → 1.12.8
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/App.d.ts +2 -2
- package/dist/App.test.d.ts +1 -1
- package/dist/Utilities/Constants/FormConstants.d.ts +10 -10
- package/dist/Utilities/Constants/FunctionConstants.d.ts +61 -0
- package/dist/Utilities/Interface/FormInterface.d.ts +69 -70
- package/dist/components/DeleteComponent/Delete.stories.d.ts +5 -4
- package/dist/components/DeleteComponent/DeleteField.d.ts +7 -7
- package/dist/components/Form/Form.stories.d.ts +5 -4
- package/dist/components/Form/Form.styles.d.ts +43 -40
- package/dist/components/Form/FormActiveSwitch.d.ts +3 -3
- package/dist/components/Form/FormConstants.d.ts +13 -13
- package/dist/components/Form/FormContainer.d.ts +2 -2
- package/dist/components/Form/FormRender.d.ts +3 -3
- package/dist/components/Form/FormRenderConstants.d.ts +15 -15
- package/dist/components/Form/FormRenderWrapper.d.ts +18 -18
- package/dist/components/FormComponents/DatePicker/DateRangePicker.d.ts +7 -7
- package/dist/components/FormComponents/DatePicker/DatepickerWrapperV2.d.ts +6 -6
- package/dist/components/FormComponents/DatePicker/MonthPicker.d.ts +2 -2
- package/dist/components/FormComponents/DatePicker/Monthpickerrender.d.ts +6 -6
- package/dist/components/FormComponents/FileUpload/FormRenderFileUpload.d.ts +6 -6
- package/dist/components/FormComponents/FileUpload/FormRenderMultiFileUpload.d.ts +6 -6
- package/dist/components/FormComponents/FormBottomField/FormBottomField.d.ts +3 -3
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.d.ts +6 -6
- package/dist/components/FormComponents/FormCheckBoxGroup/FormCheckBoxGroup.d.ts +6 -6
- package/dist/components/FormComponents/FormErrorField/FormErrorField.d.ts +3 -3
- package/dist/components/FormComponents/FormNumberField/FormNumberField.d.ts +6 -6
- package/dist/components/FormComponents/FormNumberField/FormNumberFieldDecimal.d.ts +6 -6
- package/dist/components/FormComponents/FormRadioGroup/FormRadioGroup.d.ts +6 -6
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.d.ts +6 -6
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.styles.d.ts +3 -3
- package/dist/components/FormComponents/FormTextField/FormTextField.d.ts +6 -6
- package/dist/components/FormComponents/FormTextField/FormTextField.styles.d.ts +5 -5
- package/dist/components/FormComponents/HelperText/HelperText.d.ts +3 -3
- package/dist/components/FormComponents/PasswordField/PasswordField.d.ts +6 -6
- package/dist/components/FormComponents/RichTextEditor/RichTextEditor.d.ts +5 -5
- package/dist/components/FormComponents/RichTextEditor/RichTextEditorWrapper.d.ts +6 -6
- package/dist/components/FormComponents/RichTextEditor/jodit.index.d.ts +17 -17
- package/dist/components/FormComponents/Select/MultiSelect.d.ts +2 -2
- package/dist/components/FormComponents/Select/MultiSelectv1.d.ts +5 -5
- package/dist/components/FormComponents/Select/SingleSelect.d.ts +6 -6
- package/dist/components/FormComponents/Select/SingleSelectNonAutoComplete.d.ts +6 -6
- package/dist/components/FormComponents/Select/SingleSelectSearchApi.d.ts +2 -2
- package/dist/components/FormComponents/TimePicker/TimePicker.d.ts +5 -5
- package/dist/components/FormComponents/YearPickerField/YearPickerField.d.ts +2 -2
- package/dist/components/Global.styles.d.ts +34 -35
- package/dist/components/ModalField/ConfirmationDialog.d.ts +11 -11
- package/dist/components/ModalField/ModalField.d.ts +17 -18
- package/dist/components/SelectField/MultiSelectFieldComponent.d.ts +11 -11
- package/dist/components/SessionTimeOut/SessionTimeOut.d.ts +10 -10
- package/dist/components/SessionTimeOut/SessionTimeOut.stories.d.ts +5 -4
- package/dist/components/TimePickerField/TimePickerField.d.ts +1 -1
- package/dist/components/index.d.ts +10 -10
- package/dist/index.d.ts +11 -22
- package/dist/index.esm.js +80925 -164824
- package/dist/index.js +81298 -165524
- package/dist/libraries/App.d.ts +2 -0
- package/dist/libraries/App.test.d.ts +1 -0
- package/dist/libraries/Utilities/Constants/FormConstants.d.ts +10 -0
- package/dist/libraries/Utilities/Constants/FunctionConstants.d.ts +61 -0
- package/dist/libraries/Utilities/Interface/FormInterface.d.ts +69 -0
- package/dist/libraries/axios.d.ts +1 -0
- package/dist/libraries/cache-buster.d.ts +2 -0
- package/dist/libraries/components/DeleteComponent/Delete.stories.d.ts +5 -0
- package/dist/libraries/components/DeleteComponent/DeleteField.d.ts +7 -0
- package/dist/libraries/components/Form/Form.stories.d.ts +5 -0
- package/dist/libraries/components/Form/Form.styles.d.ts +43 -0
- package/dist/libraries/components/Form/FormActiveSwitch.d.ts +3 -0
- package/dist/libraries/components/Form/FormConstants.d.ts +13 -0
- package/dist/libraries/components/Form/FormContainer.d.ts +2 -0
- package/dist/libraries/components/Form/FormRender.d.ts +3 -0
- package/dist/libraries/components/Form/FormRenderConstants.d.ts +15 -0
- package/dist/libraries/components/Form/FormRenderWrapper.d.ts +18 -0
- package/dist/libraries/components/FormComponents/DatePicker/DateRangePicker.d.ts +7 -0
- package/dist/libraries/components/FormComponents/DatePicker/DatepickerWrapperV2.d.ts +6 -0
- package/dist/libraries/components/FormComponents/DatePicker/MonthPicker.d.ts +2 -0
- package/dist/libraries/components/FormComponents/DatePicker/Monthpickerrender.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FileUpload/FormRenderFileUpload.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FileUpload/FormRenderMultiFileUpload.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormBottomField/FormBottomField.d.ts +3 -0
- package/dist/libraries/components/FormComponents/FormCheckBox/FormCheckBox.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormCheckBoxGroup/FormCheckBoxGroup.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormErrorField/FormErrorField.d.ts +3 -0
- package/dist/libraries/components/FormComponents/FormNumberField/FormNumberField.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormNumberField/FormNumberFieldDecimal.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormRadioGroup/FormRadioGroup.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormTextAreaField/FormTextAreaField.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormTextAreaField/FormTextAreaField.styles.d.ts +3 -0
- package/dist/libraries/components/FormComponents/FormTextField/FormTextField.d.ts +6 -0
- package/dist/libraries/components/FormComponents/FormTextField/FormTextField.styles.d.ts +5 -0
- package/dist/libraries/components/FormComponents/HelperText/HelperText.d.ts +3 -0
- package/dist/libraries/components/FormComponents/PasswordField/PasswordField.d.ts +6 -0
- package/dist/libraries/components/FormComponents/RichTextEditor/RichTextEditor.d.ts +5 -0
- package/dist/libraries/components/FormComponents/RichTextEditor/RichTextEditorWrapper.d.ts +6 -0
- package/dist/libraries/components/FormComponents/RichTextEditor/jodit.index.d.ts +17 -0
- package/dist/libraries/components/FormComponents/Select/MultiSelect.d.ts +2 -0
- package/dist/libraries/components/FormComponents/Select/MultiSelectv1.d.ts +5 -0
- package/dist/libraries/components/FormComponents/Select/SingleSelect.d.ts +6 -0
- package/dist/libraries/components/FormComponents/Select/SingleSelectNonAutoComplete.d.ts +6 -0
- package/dist/libraries/components/FormComponents/Select/SingleSelectSearchApi.d.ts +2 -0
- package/dist/libraries/components/FormComponents/TimePicker/TimePicker.d.ts +5 -0
- package/dist/libraries/components/FormComponents/YearPickerField/YearPickerField.d.ts +2 -0
- package/dist/libraries/components/Global.styles.d.ts +34 -0
- package/dist/libraries/components/ModalField/ConfirmationDialog.d.ts +11 -0
- package/dist/libraries/components/ModalField/ModalField.d.ts +17 -0
- package/dist/libraries/components/SelectField/MultiSelectFieldComponent.d.ts +11 -0
- package/dist/libraries/components/SessionTimeOut/SessionTimeOut.d.ts +10 -0
- package/dist/libraries/components/SessionTimeOut/SessionTimeOut.stories.d.ts +5 -0
- package/dist/libraries/components/TimePickerField/TimePickerField.d.ts +1 -0
- package/dist/libraries/components/index.d.ts +10 -0
- package/dist/libraries/constants.d.ts +1 -0
- package/dist/libraries/hook-form.d.ts +3 -0
- package/dist/libraries/index.d.ts +11 -0
- package/dist/libraries/libraries/axios.d.ts +1 -0
- package/dist/libraries/libraries/cache-buster.d.ts +2 -0
- package/dist/libraries/libraries/constants.d.ts +1 -0
- package/dist/libraries/libraries/hook-form.d.ts +3 -0
- package/dist/libraries/libraries/material-react-table.d.ts +1 -0
- package/dist/libraries/libraries/material-ui.d.ts +3 -0
- package/dist/libraries/libraries/react-redux.d.ts +1 -0
- package/dist/libraries/libraries/react-router-dom.d.ts +2 -0
- package/dist/libraries/libraries/redux-toolkit.d.ts +2 -0
- package/dist/libraries/libraries/tanstack-react-query.d.ts +1 -0
- package/dist/libraries/libraries/xlsx-dayjs.d.ts +5 -0
- package/dist/libraries/material-react-table.d.ts +1 -0
- package/dist/libraries/material-ui.d.ts +3 -0
- package/dist/libraries/react-redux.d.ts +1 -0
- package/dist/libraries/react-router-dom.d.ts +2 -0
- package/dist/libraries/redux-toolkit.d.ts +2 -0
- package/dist/libraries/reportWebVitals.d.ts +3 -0
- package/dist/libraries/setupTests.d.ts +1 -0
- package/dist/libraries/styles/theme.d.ts +9 -0
- package/dist/libraries/tanstack-react-query.d.ts +1 -0
- package/dist/libraries/theme.d.ts +10 -0
- package/dist/libraries/xlsx-dayjs.d.ts +5 -0
- package/dist/material-ui.css +1 -0
- package/dist/material-ui.d.ts +2 -0
- package/dist/material-ui.esm.css +1 -0
- package/dist/material-ui.esm.js +3 -0
- package/dist/material-ui.js +20 -0
- package/dist/mui-x-date-datepicker.d.ts +1 -0
- package/dist/redux-toolkit.d.ts +1 -0
- package/dist/reportWebVitals.d.ts +3 -3
- package/dist/setupTests.d.ts +1 -1
- package/dist/styles/theme.d.ts +9 -9
- package/dist/tanstack-react-query.d.ts +1 -0
- package/dist/theme.d.ts +10 -10
- package/package.json +63 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import dayjs, { Dayjs } from "dayjs";
|
|
2
|
+
import { VariantProps, FormRenderProps } from "../Interface/FormInterface";
|
|
3
|
+
export declare const renderLabel: (variant: VariantProps, props: FormRenderProps, showLabel?: boolean) => false | import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function formatDateMonthAndYear(date: any): string;
|
|
5
|
+
export declare function parseCustomTime(timeString: string): dayjs.Dayjs | null;
|
|
6
|
+
/**
|
|
7
|
+
* Formats a Day.js object into "HH:mm:ss.SSSSSSS"
|
|
8
|
+
*/
|
|
9
|
+
export declare function formatDayjsToCustomTime(date: Dayjs | null | undefined): string;
|
|
10
|
+
export declare const extractDate: (inputDateString: string | any) => string;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const handleDownloadReactTableDataExcel: (fileName: string, rowData: any[], columns?: any[], customColumns?: any[], HeaderBackGround?: string, HeaderColor?: string) => void;
|
|
2
|
+
export declare function getUsernameFromEmail(email: string): string;
|
|
3
|
+
export declare function getInitials(name: string): string;
|
|
4
|
+
export declare function findMenuHierarchy(menuData: any[], currentUrl: string, URLProjectNameWithSlash: string): any;
|
|
5
|
+
/**
|
|
6
|
+
* Calculates a date by adding/subtracting days from today or a base date
|
|
7
|
+
* @param dayOffset - Days to add (positive) or subtract (negative) (default: 0)
|
|
8
|
+
* @param baseDate - Base date in DD/MM/YYYY format (default: today)
|
|
9
|
+
* @returns Formatted date string in DD/MM/YYYY format
|
|
10
|
+
*/
|
|
11
|
+
export declare const getDesiredDate: (dayOffset?: number, baseDate?: string | null) => string;
|
|
12
|
+
/**
|
|
13
|
+
* Calculates sum of numeric values for a specific property across array objects
|
|
14
|
+
* @param array - Array of objects to sum
|
|
15
|
+
* @param key - Property name to sum
|
|
16
|
+
* @returns Total sum of numeric values
|
|
17
|
+
*/
|
|
18
|
+
export declare function calculateTotalArrayValueTotal<T extends Record<string, any>>(array: T[], key: keyof T): number;
|
|
19
|
+
/**
|
|
20
|
+
* Checks if first date comes before second date
|
|
21
|
+
* @param dateStr1 - First date in DD/MM/YYYY format
|
|
22
|
+
* @param dateStr2 - Second date in DD/MM/YYYY format
|
|
23
|
+
* @returns True if dateStr1 is before dateStr2
|
|
24
|
+
*/
|
|
25
|
+
export declare function checkIsDateIsBefore(dateStr1: string, dateStr2: string): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Lightens a hex color by a specified percentage
|
|
28
|
+
* @param color - Hex color string (with or without #)
|
|
29
|
+
* @param percent - Percentage to lighten (0-100)
|
|
30
|
+
* @returns Lightened hex color string
|
|
31
|
+
*/
|
|
32
|
+
export declare function lightenColor(color: string, percent: number): string;
|
|
33
|
+
/**
|
|
34
|
+
* Gets formatted date with optional day offset
|
|
35
|
+
* @param dayOffset - Days to add (positive) or subtract (negative) from today (default: 0)
|
|
36
|
+
* @returns Date string in DD/MM/YYYY format
|
|
37
|
+
*/
|
|
38
|
+
export declare function getFormattedDate(dayOffset?: number): string;
|
|
39
|
+
/**
|
|
40
|
+
* Encrypts text or objects using AES encryption and Base64 encoding
|
|
41
|
+
* @param text - String to encrypt (objects will be JSON.stringify'd)
|
|
42
|
+
* @param SECRET_KEY - Secret key for encryption
|
|
43
|
+
* @returns Base64 encoded encrypted string
|
|
44
|
+
* @example
|
|
45
|
+
* ```typescript
|
|
46
|
+
* const encrypted = encryptText("Hello World", "myKey");
|
|
47
|
+
* const encryptedObj = encryptText({name: "John"}, "myKey");
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare const encryptText: (text: string, SECRET_KEY: string) => string;
|
|
51
|
+
/**
|
|
52
|
+
* Decrypts Base64 encoded AES encrypted text back to original string
|
|
53
|
+
* @param ciphertext - Base64 encoded encrypted string from encryptText
|
|
54
|
+
* @param SECRET_KEY - Same secret key used for encryption
|
|
55
|
+
* @returns Original decrypted text
|
|
56
|
+
* @example
|
|
57
|
+
* ```typescript
|
|
58
|
+
* const decrypted = decryptText(encryptedString, "myKey");
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
export declare const decryptText: (ciphertext: string, SECRET_KEY: string) => string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Theme } from "@emotion/react";
|
|
2
|
+
import { SxProps } from "@mui/material";
|
|
3
|
+
export interface OptionsProps {
|
|
4
|
+
label: string | boolean | number;
|
|
5
|
+
value: string | number;
|
|
6
|
+
}
|
|
7
|
+
export interface TextFieldInputProps {
|
|
8
|
+
autoComplete: "new-password" | "off";
|
|
9
|
+
}
|
|
10
|
+
export interface FormSectionPropsItem {
|
|
11
|
+
name: string;
|
|
12
|
+
label: string;
|
|
13
|
+
inputType: "text" | "password" | "number" | "select" | "datepicker" | "multiselect" | "select-v2" | "decimal" | "alpha-numerical" | "yearpicker" | "dateRangePicker" | "monthpicker" | "multiselect" | "file" | "multifile" | "textarea" | "phoneNumber" | "pincode" | "email" | "toggleSwitch" | "rich-text-editor" | "multiEmail" | "timepicker" | "checkbox-group" | "radio-group" | "checkbox" | "";
|
|
14
|
+
options?: OptionsProps[];
|
|
15
|
+
required?: boolean;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
helperText?: string | React.ReactNode;
|
|
18
|
+
disable?: boolean;
|
|
19
|
+
onChangeFn?: (e: string | number | undefined | null | boolean) => void;
|
|
20
|
+
onBlurFn?: (e: string | number | undefined | null | boolean) => void;
|
|
21
|
+
maxLength?: number;
|
|
22
|
+
minDate?: string;
|
|
23
|
+
maxDate?: string;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
minRows?: string | number;
|
|
26
|
+
maxRows?: string | number;
|
|
27
|
+
CustomProps?: any;
|
|
28
|
+
numberOfColumns?: number;
|
|
29
|
+
monthSpan?: number;
|
|
30
|
+
variant?: VariantProps;
|
|
31
|
+
allowSpecialChars?: boolean;
|
|
32
|
+
InputProps?: TextFieldInputProps;
|
|
33
|
+
customErrorMessage?: string | null;
|
|
34
|
+
sx?: SxProps<Theme>;
|
|
35
|
+
donotAllowSpace?: boolean;
|
|
36
|
+
onInputProps?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
37
|
+
fileType?: "excel" | "pdf" | "all" | "zip" | "image" | "";
|
|
38
|
+
handleFileError?: (message: string) => void;
|
|
39
|
+
onCloseMenu?: () => void;
|
|
40
|
+
doNotAllowPaste?: boolean;
|
|
41
|
+
removeButtons?: string;
|
|
42
|
+
Fonts?: number[];
|
|
43
|
+
FontFamily?: any;
|
|
44
|
+
value1?: string | number | boolean;
|
|
45
|
+
value2?: string | number | boolean;
|
|
46
|
+
label1?: string;
|
|
47
|
+
label2?: string;
|
|
48
|
+
minTime?: string;
|
|
49
|
+
maxTime?: string;
|
|
50
|
+
ampm?: boolean;
|
|
51
|
+
settings?: FormSectionPropsItem[];
|
|
52
|
+
filesize?: number;
|
|
53
|
+
multiSelectLabelLength?: number;
|
|
54
|
+
size?: "extrasmall" | '';
|
|
55
|
+
decimalFixedTo?: number;
|
|
56
|
+
customValidation?: (value: any) => void;
|
|
57
|
+
}
|
|
58
|
+
export type VariantProps = "standard" | "outlined" | "";
|
|
59
|
+
export interface FormRenderProps {
|
|
60
|
+
item: FormSectionPropsItem;
|
|
61
|
+
register: any;
|
|
62
|
+
control: any;
|
|
63
|
+
errors: any;
|
|
64
|
+
getValues: any;
|
|
65
|
+
clearErrors: any;
|
|
66
|
+
setValue: any;
|
|
67
|
+
variant?: VariantProps;
|
|
68
|
+
fieldError?: boolean;
|
|
69
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from 'axios';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react/*";
|
|
2
|
+
import { DeleteFieldProps } from "./DeleteField";
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const DeleteFieldComponent: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/*").ReactRenderer, DeleteFieldProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react/types-6-0";
|
|
2
|
+
import { FormRenderWrapperProps } from "./FormRenderWrapper";
|
|
3
|
+
declare const _default: Meta;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const RenderFormComponent: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactRenderer, FormRenderWrapperProps>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const FormComponent: import("@emotion/styled").StyledComponent<import("@mui/material").GridBaseProps & {
|
|
2
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
3
|
+
} & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
+
}, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | keyof import("@mui/material").GridBaseProps | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
6
|
+
export declare const FormContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
8
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
9
|
+
export declare const Formitem: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
10
|
+
export declare const ErrorMessageComponent: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
12
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
13
|
+
export declare const ContainerComponent: import("@emotion/styled").StyledComponent<import("@mui/material").ContainerOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
15
|
+
}, "maxWidth" | "style" | "className" | "children" | "sx" | "fixed" | "classes" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
16
|
+
export declare const SaveButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
18
|
+
}, "color" | "style" | "className" | "tabIndex" | "children" | "size" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
19
|
+
export declare const BackButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
20
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
21
|
+
}, "color" | "style" | "className" | "tabIndex" | "children" | "size" | "sx" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "startIcon" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
22
|
+
export declare const LabelComponent: import("@emotion/styled").StyledComponent<import("@mui/material").GridBaseProps & {
|
|
23
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme>;
|
|
24
|
+
} & import("@mui/system").SystemProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
25
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
26
|
+
}, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | keyof import("@mui/material").GridBaseProps | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
27
|
+
export declare const ImportantMark: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").SVGTextElementAttributes<SVGTextElement>, {}>;
|
|
28
|
+
export declare const FormWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
29
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
30
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
31
|
+
export declare const DatepickerBox: import("@emotion/styled").StyledComponent<import("@mui/x-date-pickers").DatePickerProps<unknown> & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
32
|
+
export declare const OptionRender: import("@emotion/styled").StyledComponent<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
33
|
+
ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
34
|
+
}, "style" | "autoFocus" | "className" | "tabIndex" | "children" | "sx" | "classes" | "disableGutters" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "divider"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
35
|
+
export declare const OptionsBox: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
36
|
+
ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
37
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
38
|
+
export declare const Options: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
39
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
40
|
+
}, "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "style" | "className" | "children" | "sx" | "classes" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
41
|
+
export declare const ArrowDown: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").SVGProps<SVGSVGElement>, "ref"> & {
|
|
42
|
+
ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
43
|
+
}, "color" | "fontSize" | "shapeRendering" | "style" | "className" | "children" | "sx" | "classes" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as Yup from "yup";
|
|
2
|
+
import { FormSectionPropsItem } from "../../Utilities/Interface/FormInterface";
|
|
3
|
+
export interface InitialValues {
|
|
4
|
+
[key: string]: string | number | null | boolean;
|
|
5
|
+
}
|
|
6
|
+
export interface ValidationShape {
|
|
7
|
+
[key: string]: Yup.Schema<any>;
|
|
8
|
+
}
|
|
9
|
+
declare const useFormValidatingContext: (formArray: FormSectionPropsItem[]) => {
|
|
10
|
+
validationSchema: any;
|
|
11
|
+
initialValues: InitialValues;
|
|
12
|
+
};
|
|
13
|
+
export default useFormValidatingContext;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface FormsSection {
|
|
2
|
+
name: string;
|
|
3
|
+
label: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
inputType: string;
|
|
6
|
+
minDate?: any;
|
|
7
|
+
options?: any;
|
|
8
|
+
customStyles?: {};
|
|
9
|
+
mandatory?: boolean;
|
|
10
|
+
disable?: boolean;
|
|
11
|
+
settingsField?: FormsSection[];
|
|
12
|
+
setArrayUpdate?: any;
|
|
13
|
+
arrayUpdate?: any;
|
|
14
|
+
placeholderText?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UseFormReturn } from "react-hook-form";
|
|
2
|
+
import { FormSectionPropsItem, VariantProps } from "../../Utilities/Interface/FormInterface";
|
|
3
|
+
export interface FormRenderWrapperProps {
|
|
4
|
+
formArray: FormSectionPropsItem[];
|
|
5
|
+
name: string;
|
|
6
|
+
numberOfColumns?: number;
|
|
7
|
+
form: UseFormReturn<{
|
|
8
|
+
[x: string]: string | number | boolean | null;
|
|
9
|
+
[x: number]: string | number | boolean | null;
|
|
10
|
+
}, any, {
|
|
11
|
+
[x: string]: string | number | boolean | null;
|
|
12
|
+
[x: number]: string | number | boolean | null;
|
|
13
|
+
}>;
|
|
14
|
+
variant?: VariantProps;
|
|
15
|
+
fieldError?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const FormRenderWrapper: ({ formArray, name, numberOfColumns, form, variant, fieldError, }: FormRenderWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default FormRenderWrapper;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./DateRangePicker.scss";
|
|
2
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
3
|
+
declare const DateRangePickerComponent: ({ props, variant, }: {
|
|
4
|
+
props: FormRenderProps;
|
|
5
|
+
variant: VariantProps;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default DateRangePickerComponent;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const DatepickerWrapperV2: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default DatepickerWrapperV2;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const Monthpickerrender: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default Monthpickerrender;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormRenderFileUpload: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormRenderFileUpload;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormRenderMultiFileUpload: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormRenderMultiFileUpload;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormCheckBox: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormCheckBox;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormCheckBoxGroup: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormCheckBoxGroup;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormNumberField: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormNumberField;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormNumberFieldDecimal: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormNumberFieldDecimal;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormRadioGroup: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormRadioGroup;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormTextAreaField: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormTextAreaField;
|
package/dist/libraries/components/FormComponents/FormTextAreaField/FormTextAreaField.styles.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const TextAreaField: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
3
|
+
} & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps, "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const FormTextField: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default FormTextField;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const FormTextFieldComponent: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
3
|
+
} & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").OutlinedTextFieldProps | import("@mui/material").StandardTextFieldProps, "variant"> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const PasswordField: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default PasswordField;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const RichTextEditorWrapper: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default RichTextEditorWrapper;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import JoditEditor from "jodit-react";
|
|
2
|
+
import { Jodit } from "jodit";
|
|
3
|
+
export interface IJoditEditorProps {
|
|
4
|
+
value?: string;
|
|
5
|
+
config?: any;
|
|
6
|
+
tabIndex?: any;
|
|
7
|
+
onBlur?: (content: string) => void;
|
|
8
|
+
onChange?: (content: string) => void;
|
|
9
|
+
}
|
|
10
|
+
declare module 'jodit' {
|
|
11
|
+
interface Jodit {
|
|
12
|
+
getHTML(): string;
|
|
13
|
+
setHTML(html: string): void;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export default JoditEditor;
|
|
17
|
+
export { Jodit };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const SingleSelect: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default SingleSelect;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormRenderProps, VariantProps } from "../../../Utilities/Interface/FormInterface";
|
|
2
|
+
declare const SingleSelectNonAutoComplete: ({ props, variant, }: {
|
|
3
|
+
props: FormRenderProps;
|
|
4
|
+
variant: VariantProps;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default SingleSelectNonAutoComplete;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare const AddButtonFloat: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
3
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export declare const SubmitButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
7
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
8
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
export declare const CancelButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
13
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const SaveAsDraftButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
17
|
+
ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
18
|
+
}, "style" | "className" | "classes" | "action" | "centerRipple" | "children" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "href" | "color" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "loading" | "loadingIndicator" | "loadingPosition" | "size" | "startIcon" | "variant"> & {
|
|
19
|
+
theme?: import("@emotion/react").Theme;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export declare const PageHeader: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
23
|
+
}, "p" | "style" | "className" | "classes" | "children" | "sx" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
}, {}, {}>;
|
|
26
|
+
export declare const ReportsItem: import("@emotion/styled").StyledComponent<any, {}, {}>;
|
|
27
|
+
export declare const DialogContainer: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
export declare const DialogTitleWrapper: import("@emotion/styled").StyledComponent<import("@mui/material").DialogTitleOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
31
|
+
ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
32
|
+
}, "p" | "style" | "className" | "classes" | "children" | "sx" | "color" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxSizing" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
33
|
+
theme?: import("@emotion/react").Theme;
|
|
34
|
+
}, {}, {}>;
|