@undefine-ui/design-system 3.7.2 → 3.8.0
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/index.cjs +272 -165
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -16
- package/dist/index.d.ts +39 -16
- package/dist/index.js +273 -164
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -18,14 +18,16 @@ import { InputBaseProps } from '@mui/material/InputBase';
|
|
|
18
18
|
import { FieldValues, UseFormReturn, SubmitHandler } from 'react-hook-form';
|
|
19
19
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
20
20
|
import { AutocompleteProps } from '@mui/material/Autocomplete';
|
|
21
|
+
import { FormLabelProps } from '@mui/material/FormLabel';
|
|
22
|
+
import { FormControlProps } from '@mui/material/FormControl';
|
|
23
|
+
import { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
24
|
+
import { ToggleButtonProps } from '@mui/material/ToggleButton';
|
|
25
|
+
import { ToggleButtonGroupProps } from '@mui/material/ToggleButtonGroup';
|
|
21
26
|
import { DatePickerProps as DatePickerProps$1 } from '@mui/x-date-pickers/DatePicker';
|
|
22
27
|
import { TimePickerProps as TimePickerProps$1 } from '@mui/x-date-pickers/TimePicker';
|
|
23
28
|
import { DateTimePickerProps as DateTimePickerProps$1 } from '@mui/x-date-pickers/DateTimePicker';
|
|
24
29
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
25
30
|
import { FormGroupProps } from '@mui/material/FormGroup';
|
|
26
|
-
import { FormLabelProps } from '@mui/material/FormLabel';
|
|
27
|
-
import { FormControlProps } from '@mui/material/FormControl';
|
|
28
|
-
import { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
29
31
|
import { FormControlLabelProps } from '@mui/material/FormControlLabel';
|
|
30
32
|
import { RadioProps } from '@mui/material/Radio';
|
|
31
33
|
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
@@ -1852,6 +1854,36 @@ interface RHFGooglePlacesAutocompleteProps extends Omit<GooglePlacesAutocomplete
|
|
|
1852
1854
|
}
|
|
1853
1855
|
declare const RHFGooglePlacesAutocomplete: ({ name, helperText, valueType, onValueChange, onPlaceDetailsChange, fetchPlaceDetails, ...other }: RHFGooglePlacesAutocompleteProps) => react_jsx_runtime.JSX.Element;
|
|
1854
1856
|
|
|
1857
|
+
type RHFToggleButtonOption = {
|
|
1858
|
+
value: string | number;
|
|
1859
|
+
label: React.ReactNode;
|
|
1860
|
+
disabled?: boolean;
|
|
1861
|
+
toggleButtonProps?: ToggleButtonProps;
|
|
1862
|
+
};
|
|
1863
|
+
interface RHFToggleButtonProps extends Omit<ToggleButtonGroupProps, 'name' | 'value' | 'onChange' | 'slotProps'> {
|
|
1864
|
+
name: string;
|
|
1865
|
+
label?: string;
|
|
1866
|
+
fullWidth?: boolean;
|
|
1867
|
+
helperText?: React.ReactNode;
|
|
1868
|
+
options: RHFToggleButtonOption[];
|
|
1869
|
+
slotProps?: {
|
|
1870
|
+
formControl?: FormControlProps;
|
|
1871
|
+
formLabel?: FormLabelProps;
|
|
1872
|
+
formHelperText?: FormHelperTextProps;
|
|
1873
|
+
};
|
|
1874
|
+
}
|
|
1875
|
+
declare const RHFToggleButton: ({ name, label, helperText, options, fullWidth, slotProps, sx, ...other }: RHFToggleButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1876
|
+
|
|
1877
|
+
interface RHFAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> extends AutocompleteProps<T, Multiple, DisableClearable, FreeSolo> {
|
|
1878
|
+
name: string;
|
|
1879
|
+
label?: string;
|
|
1880
|
+
required?: boolean;
|
|
1881
|
+
placeholder?: string;
|
|
1882
|
+
helperText?: React.ReactNode;
|
|
1883
|
+
handleChange?: (val: any) => void;
|
|
1884
|
+
}
|
|
1885
|
+
declare const RHFAutocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
1886
|
+
|
|
1855
1887
|
/**
|
|
1856
1888
|
* Type definitions for date picker components with clearable option.
|
|
1857
1889
|
*/
|
|
@@ -1886,16 +1918,6 @@ interface RHFDateTimePickerProps extends Omit<DateTimePickerProps, 'value' | 'on
|
|
|
1886
1918
|
}
|
|
1887
1919
|
declare const RHFDateTimePicker: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFDateTimePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
1888
1920
|
|
|
1889
|
-
interface RHFAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> extends AutocompleteProps<T, Multiple, DisableClearable, FreeSolo> {
|
|
1890
|
-
name: string;
|
|
1891
|
-
label?: string;
|
|
1892
|
-
required?: boolean;
|
|
1893
|
-
placeholder?: string;
|
|
1894
|
-
helperText?: React.ReactNode;
|
|
1895
|
-
handleChange?: (val: any) => void;
|
|
1896
|
-
}
|
|
1897
|
-
declare const RHFAutocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
1898
|
-
|
|
1899
1921
|
interface RHFCheckboxProps extends Omit<FormControlLabelProps, 'name' | 'control' | 'slotProps'> {
|
|
1900
1922
|
name: string;
|
|
1901
1923
|
description?: string;
|
|
@@ -2039,12 +2061,13 @@ declare const Field: {
|
|
|
2039
2061
|
Text: ({ name, helperText, type, slotProps, ...rest }: _mui_material.TextFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2040
2062
|
Radio: ({ name, label, options, helperText, slotProps, ...other }: RHFRadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2041
2063
|
Checkbox: ({ name, description, helperText, label, sx, slotProps, ...other }: RHFCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
2042
|
-
Autocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
2043
|
-
MultiCheckbox: ({ name, label, options, slotProps, helperText, row, ...other }: RHFMultiCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
2044
2064
|
Date: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFDatePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
2045
2065
|
Time: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFTimePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
2046
2066
|
DateTime: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFDateTimePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
2047
2067
|
DateRange: typeof RHFDateRangePicker;
|
|
2068
|
+
Autocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
2069
|
+
ToggleButton: ({ name, label, helperText, options, fullWidth, slotProps, sx, ...other }: RHFToggleButtonProps) => react_jsx_runtime.JSX.Element;
|
|
2070
|
+
MultiCheckbox: ({ name, label, options, slotProps, helperText, row, ...other }: RHFMultiCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
2048
2071
|
GooglePlacesAutocomplete: ({ name, helperText, valueType, onValueChange, onPlaceDetailsChange, fetchPlaceDetails, ...other }: RHFGooglePlacesAutocompleteProps) => react_jsx_runtime.JSX.Element;
|
|
2049
2072
|
};
|
|
2050
2073
|
|
|
@@ -2681,4 +2704,4 @@ type ThemeProviderProps = {
|
|
|
2681
2704
|
};
|
|
2682
2705
|
declare const ThemeProvider: ({ children }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
2683
2706
|
|
|
2684
|
-
export { type AddressComponent, AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, type Coordinates, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, CustomFormLabel, type CustomFormLabelProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MapPinXMark, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type ParsedAddress, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, parseAddressComponents, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
|
|
2707
|
+
export { type AddressComponent, AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, type Coordinates, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, CustomFormLabel, type CustomFormLabelProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MapPinXMark, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type ParsedAddress, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFToggleButton, type RHFToggleButtonOption, type RHFToggleButtonProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, parseAddressComponents, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,14 +18,16 @@ import { InputBaseProps } from '@mui/material/InputBase';
|
|
|
18
18
|
import { FieldValues, UseFormReturn, SubmitHandler } from 'react-hook-form';
|
|
19
19
|
import { TextFieldProps } from '@mui/material/TextField';
|
|
20
20
|
import { AutocompleteProps } from '@mui/material/Autocomplete';
|
|
21
|
+
import { FormLabelProps } from '@mui/material/FormLabel';
|
|
22
|
+
import { FormControlProps } from '@mui/material/FormControl';
|
|
23
|
+
import { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
24
|
+
import { ToggleButtonProps } from '@mui/material/ToggleButton';
|
|
25
|
+
import { ToggleButtonGroupProps } from '@mui/material/ToggleButtonGroup';
|
|
21
26
|
import { DatePickerProps as DatePickerProps$1 } from '@mui/x-date-pickers/DatePicker';
|
|
22
27
|
import { TimePickerProps as TimePickerProps$1 } from '@mui/x-date-pickers/TimePicker';
|
|
23
28
|
import { DateTimePickerProps as DateTimePickerProps$1 } from '@mui/x-date-pickers/DateTimePicker';
|
|
24
29
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
25
30
|
import { FormGroupProps } from '@mui/material/FormGroup';
|
|
26
|
-
import { FormLabelProps } from '@mui/material/FormLabel';
|
|
27
|
-
import { FormControlProps } from '@mui/material/FormControl';
|
|
28
|
-
import { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
29
31
|
import { FormControlLabelProps } from '@mui/material/FormControlLabel';
|
|
30
32
|
import { RadioProps } from '@mui/material/Radio';
|
|
31
33
|
import { RadioGroupProps } from '@mui/material/RadioGroup';
|
|
@@ -1852,6 +1854,36 @@ interface RHFGooglePlacesAutocompleteProps extends Omit<GooglePlacesAutocomplete
|
|
|
1852
1854
|
}
|
|
1853
1855
|
declare const RHFGooglePlacesAutocomplete: ({ name, helperText, valueType, onValueChange, onPlaceDetailsChange, fetchPlaceDetails, ...other }: RHFGooglePlacesAutocompleteProps) => react_jsx_runtime.JSX.Element;
|
|
1854
1856
|
|
|
1857
|
+
type RHFToggleButtonOption = {
|
|
1858
|
+
value: string | number;
|
|
1859
|
+
label: React.ReactNode;
|
|
1860
|
+
disabled?: boolean;
|
|
1861
|
+
toggleButtonProps?: ToggleButtonProps;
|
|
1862
|
+
};
|
|
1863
|
+
interface RHFToggleButtonProps extends Omit<ToggleButtonGroupProps, 'name' | 'value' | 'onChange' | 'slotProps'> {
|
|
1864
|
+
name: string;
|
|
1865
|
+
label?: string;
|
|
1866
|
+
fullWidth?: boolean;
|
|
1867
|
+
helperText?: React.ReactNode;
|
|
1868
|
+
options: RHFToggleButtonOption[];
|
|
1869
|
+
slotProps?: {
|
|
1870
|
+
formControl?: FormControlProps;
|
|
1871
|
+
formLabel?: FormLabelProps;
|
|
1872
|
+
formHelperText?: FormHelperTextProps;
|
|
1873
|
+
};
|
|
1874
|
+
}
|
|
1875
|
+
declare const RHFToggleButton: ({ name, label, helperText, options, fullWidth, slotProps, sx, ...other }: RHFToggleButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1876
|
+
|
|
1877
|
+
interface RHFAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> extends AutocompleteProps<T, Multiple, DisableClearable, FreeSolo> {
|
|
1878
|
+
name: string;
|
|
1879
|
+
label?: string;
|
|
1880
|
+
required?: boolean;
|
|
1881
|
+
placeholder?: string;
|
|
1882
|
+
helperText?: React.ReactNode;
|
|
1883
|
+
handleChange?: (val: any) => void;
|
|
1884
|
+
}
|
|
1885
|
+
declare const RHFAutocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
1886
|
+
|
|
1855
1887
|
/**
|
|
1856
1888
|
* Type definitions for date picker components with clearable option.
|
|
1857
1889
|
*/
|
|
@@ -1886,16 +1918,6 @@ interface RHFDateTimePickerProps extends Omit<DateTimePickerProps, 'value' | 'on
|
|
|
1886
1918
|
}
|
|
1887
1919
|
declare const RHFDateTimePicker: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFDateTimePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
1888
1920
|
|
|
1889
|
-
interface RHFAutocompleteProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> extends AutocompleteProps<T, Multiple, DisableClearable, FreeSolo> {
|
|
1890
|
-
name: string;
|
|
1891
|
-
label?: string;
|
|
1892
|
-
required?: boolean;
|
|
1893
|
-
placeholder?: string;
|
|
1894
|
-
helperText?: React.ReactNode;
|
|
1895
|
-
handleChange?: (val: any) => void;
|
|
1896
|
-
}
|
|
1897
|
-
declare const RHFAutocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
1898
|
-
|
|
1899
1921
|
interface RHFCheckboxProps extends Omit<FormControlLabelProps, 'name' | 'control' | 'slotProps'> {
|
|
1900
1922
|
name: string;
|
|
1901
1923
|
description?: string;
|
|
@@ -2039,12 +2061,13 @@ declare const Field: {
|
|
|
2039
2061
|
Text: ({ name, helperText, type, slotProps, ...rest }: _mui_material.TextFieldProps) => react_jsx_runtime.JSX.Element;
|
|
2040
2062
|
Radio: ({ name, label, options, helperText, slotProps, ...other }: RHFRadioGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2041
2063
|
Checkbox: ({ name, description, helperText, label, sx, slotProps, ...other }: RHFCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
2042
|
-
Autocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
2043
|
-
MultiCheckbox: ({ name, label, options, slotProps, helperText, row, ...other }: RHFMultiCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
2044
2064
|
Date: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFDatePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
2045
2065
|
Time: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFTimePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
2046
2066
|
DateTime: react.MemoExoticComponent<({ name, slotProps, helperText, clearable, format, ...other }: RHFDateTimePickerProps) => react_jsx_runtime.JSX.Element>;
|
|
2047
2067
|
DateRange: typeof RHFDateRangePicker;
|
|
2068
|
+
Autocomplete: <T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>({ name, label, required, placeholder, helperText, handleChange, ...other }: Omit<RHFAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">) => react_jsx_runtime.JSX.Element;
|
|
2069
|
+
ToggleButton: ({ name, label, helperText, options, fullWidth, slotProps, sx, ...other }: RHFToggleButtonProps) => react_jsx_runtime.JSX.Element;
|
|
2070
|
+
MultiCheckbox: ({ name, label, options, slotProps, helperText, row, ...other }: RHFMultiCheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
2048
2071
|
GooglePlacesAutocomplete: ({ name, helperText, valueType, onValueChange, onPlaceDetailsChange, fetchPlaceDetails, ...other }: RHFGooglePlacesAutocompleteProps) => react_jsx_runtime.JSX.Element;
|
|
2049
2072
|
};
|
|
2050
2073
|
|
|
@@ -2681,4 +2704,4 @@ type ThemeProviderProps = {
|
|
|
2681
2704
|
};
|
|
2682
2705
|
declare const ThemeProvider: ({ children }: ThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
2683
2706
|
|
|
2684
|
-
export { type AddressComponent, AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, type Coordinates, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, CustomFormLabel, type CustomFormLabelProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MapPinXMark, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type ParsedAddress, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, parseAddressComponents, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
|
|
2707
|
+
export { type AddressComponent, AnimatedLogo, Attachment, Bank, BellNotification, Building, Calendar, ChatBubbleQuestionSolid, CheckCircleSolid, CheckboxDefault, CheckboxIndeterminate, CheckboxSelect, Circle, ClipboardCheck, Clock, CloudUpload, type ColorSchema, type Coordinates, Copy, CopyButton, CustomDialog, type CustomDialogProps, CustomDrawer, type CustomDrawerProps, CustomFormLabel, type CustomFormLabelProps, type CustomShadowOptions, type CustomSpacingOptions, type DatePickerProps, type DatePreset, type DatePresetOption, type DateRange, DateRangeDropdown, type DateRangeDropdownProps, DateRangePicker, type DateRangePickerProps, type DateTimePickerProps, Download, Edit, EmptyContent, type EmptyContentProps, ErrorToast, Eye, EyeClosed, FeedbackDialog, type FeedbackDialogProps, type FeedbackDialogSlotProps, Field, FilterDropdown, type FilterDropdownProps, FilterList, Form, GooglePlacesAutocomplete, type GooglePlacesAutocompleteProps, type GooglePlacesContextValue, GooglePlacesProvider, type GooglePlacesProviderProps, HelpCircle, Icon, type IconProps, type IconType, Image, type ImageProps, type ImageStatus, InfoCircle, InfoCircleSolid, InfoToast, KeyCommand, Loader, LoadingScreen, LocalStorageAvailable, LocalStorageGetItem, Logo, LongArrowUpLeftSolid, type MainTextMatchedSubstrings, MapPinXMark, MoreHorizontal, NavArrowDown, NavArrowDownSolid, NavArrowLeft, NavArrowRight, OTPInput, type OTPInputProps, type ParsedAddress, type PlaceDetails, type PlaceType, Plus, PlusSquare, RHFAutocomplete, type RHFAutocompleteProps, RHFCheckbox, type RHFCheckboxProps, RHFDatePicker, type RHFDatePickerProps, RHFDateRangePicker, type RHFDateRangePickerProps, RHFDateTimePicker, type RHFDateTimePickerProps, RHFGooglePlacesAutocomplete, type RHFGooglePlacesAutocompleteProps, RHFMultiCheckbox, type RHFMultiCheckboxOption, type RHFMultiCheckboxProps, RHFMultiSwitch, RHFOTPInput, type RHFOTPInputProps, RHFRadioGroup, type RHFRadioGroupProps, RHFSelect, type RHFSelectOption, type RHFSelectProps, RHFSwitch, RHFTextField, RHFTimePicker, type RHFTimePickerProps, RHFToggleButton, type RHFToggleButtonOption, type RHFToggleButtonProps, RHFUpload, type RHFUploadProps, RadioDefault, RadioSelect, type RadiusOptions, STORAGE_KEY, Search, Settings, SettingsConsumer, SettingsContext, type SettingsContextProps, SettingsProvider, type SettingsValueProps, type SortDirection, SortDown, SortDropdown, type SortDropdownProps, type SortOption, SortUp, SplashScreen, StatDown, StatUp, type StructuredFormatting, SuccessToast, Table, TablePagination, ThemeProvider, type TimePickerProps, Toast, ToolbarButton, type ToolbarButtonProps, ToolbarDatePickerButton, type ToolbarDatePickerButtonProps, ToolbarFilterButton, type ToolbarFilterButtonProps, ToolbarSearchField, type ToolbarSearchFieldProps, ToolbarSettingsButton, type ToolbarSettingsButtonProps, ToolbarSortButton, type ToolbarSortButtonProps, ToolbarTodayButton, type ToolbarTodayButtonProps, ToolbarViewSwitcher, type ToolbarViewSwitcherProps, Trash, Upload, type UploadProps, type UseBooleanReturnType, type UseGooglePlacesAutocompleteOptions, type UseGooglePlacesAutocompleteReturn, type UseSetStateReturnType, User, UserSolid, type ViewOption, WarningToast, XMark, XMarkSolid, action, apexChartsStyles, background, baseAction, basePalette, bgBlur, bgGradient, border, borderGradient, breakpoints, colorSchemes, common, components, createPaletteChannel, createShadowColor, createTheme, customShadows, customSpacing, darkPalette, defaultPresets, defaultSettings, dialogClasses, drawerClasses, error, fCurrency, fData, fNumber, fPercent, fShortenNumber, feedbackDialogClasses, formatFullname, getCurrencySymbol, getDateRangeFromPreset, getDefaultChartOptions, getInitials, getStorage, grey, hexToRgbChannel, hideScrollX, hideScrollY, icon, iconClasses, info, isEqual, lightPalette, maxLine, mediaQueries, menuItem, neutral, orderBy, paper, paramCase, parseAddressComponents, primary, primaryFont, pxToRem, radius, remToPx, removeStorage, responsiveFontSizes, schemeConfig, secondary, secondaryFont, sentenceCase, setFont, setStorage, shadows, snakeCase, splitFullname, stylesMode, success, surface, tertiaryFont, text, textGradient, toolbarClasses, typography, updateComponentsWithSettings, updateCoreWithSettings, useBoolean, useCopyToClipboard, useCountdownDate, useCountdownSeconds, useEventListener, useGooglePlacesAutocomplete, useGooglePlacesContext, useGooglePlacesLoaded, useLocalStorage, usePopover, useResponsive, useScrollOffSetTop, useSetState, useSettings, useWidth, varAlpha, warning };
|