@react-solutions/inputs 0.2.5 → 0.2.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/index.d.mts +130 -129
- package/dist/index.d.ts +130 -129
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { DateCalendarProps, TimeClockProps, TimeView, TimePickerProps, DatePicke
|
|
|
5
5
|
import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
|
|
6
6
|
import { FilterOptionsState } from '@mui/material/useAutocomplete';
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
-
import { FieldValues
|
|
8
|
+
import { FieldValues } from 'react-hook-form';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Error object type
|
|
@@ -438,7 +438,7 @@ type FieldError$d = {
|
|
|
438
438
|
* Extended Date Calendar Field Props
|
|
439
439
|
* Extends MUI DateCalendarProps with custom form field props
|
|
440
440
|
*/
|
|
441
|
-
interface IDateCalendarFieldProps extends Omit<DateCalendarProps,
|
|
441
|
+
interface IDateCalendarFieldProps extends Omit<DateCalendarProps, 'value' | 'onChange' | 'defaultValue' | 'slots' | 'slotProps'> {
|
|
442
442
|
/** Field name for form identification */
|
|
443
443
|
name?: string;
|
|
444
444
|
/** Label text for the calendar */
|
|
@@ -468,25 +468,25 @@ interface IDateCalendarFieldProps extends Omit<DateCalendarProps, "value" | "onC
|
|
|
468
468
|
/** Function to disable specific years */
|
|
469
469
|
shouldDisableYear?: (year: Date) => boolean;
|
|
470
470
|
/** Custom styles for the DateCalendar */
|
|
471
|
-
calendarStyles?: DateCalendarProps[
|
|
471
|
+
calendarStyles?: DateCalendarProps['sx'];
|
|
472
472
|
/** Custom styles for FormControl */
|
|
473
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
473
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>['sx'];
|
|
474
474
|
/** Custom styles for FormLabel */
|
|
475
|
-
formLabelStyles?: FormLabelProps[
|
|
475
|
+
formLabelStyles?: FormLabelProps['sx'];
|
|
476
476
|
/** Custom styles for the container Box */
|
|
477
|
-
containerStyles?: React__default.ComponentProps<typeof Box>[
|
|
477
|
+
containerStyles?: React__default.ComponentProps<typeof Box>['sx'];
|
|
478
478
|
/** Callback fired when the date changes */
|
|
479
479
|
onChange?: (value: Date | null) => void;
|
|
480
480
|
/** Callback fired when a view change is requested */
|
|
481
|
-
onViewChange?: (view:
|
|
481
|
+
onViewChange?: (view: 'day' | 'month' | 'year') => void;
|
|
482
482
|
/** Callback fired when a month change is requested */
|
|
483
483
|
onMonthChange?: (month: Date) => void;
|
|
484
484
|
/** Callback fired when a year change is requested */
|
|
485
485
|
onYearChange?: (year: Date) => void;
|
|
486
486
|
/** Custom slot props for MUI v7 */
|
|
487
|
-
slotProps?: DateCalendarProps[
|
|
487
|
+
slotProps?: DateCalendarProps['slotProps'];
|
|
488
488
|
/** Custom slots for MUI v7 */
|
|
489
|
-
slots?: DateCalendarProps[
|
|
489
|
+
slots?: DateCalendarProps['slots'];
|
|
490
490
|
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
491
491
|
dateAdapter?: typeof AdapterDateFns;
|
|
492
492
|
/** Whether to show days outside current month */
|
|
@@ -498,7 +498,7 @@ interface IDateCalendarFieldProps extends Omit<DateCalendarProps, "value" | "onC
|
|
|
498
498
|
/** Reference date for the calendar */
|
|
499
499
|
referenceDate?: Date;
|
|
500
500
|
/** Controlled view state */
|
|
501
|
-
view?:
|
|
501
|
+
view?: 'day' | 'month' | 'year';
|
|
502
502
|
}
|
|
503
503
|
declare const DateCalendarField: React__default.ForwardRefExoticComponent<IDateCalendarFieldProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
504
504
|
|
|
@@ -512,7 +512,7 @@ type FieldError$c = {
|
|
|
512
512
|
* Extended Time Clock Field Props
|
|
513
513
|
* Extends MUI TimeClockProps with custom form field props
|
|
514
514
|
*/
|
|
515
|
-
interface ITimeClockFieldProps extends Omit<TimeClockProps<TimeView>,
|
|
515
|
+
interface ITimeClockFieldProps extends Omit<TimeClockProps<TimeView>, 'value' | 'onChange' | 'defaultValue' | 'slots' | 'slotProps' | 'view' | 'onViewChange'> {
|
|
516
516
|
/** Field name for form identification */
|
|
517
517
|
name?: string;
|
|
518
518
|
/** Label text for the time clock */
|
|
@@ -548,19 +548,19 @@ interface ITimeClockFieldProps extends Omit<TimeClockProps<TimeView>, "value" |
|
|
|
548
548
|
/** Function to disable specific times */
|
|
549
549
|
shouldDisableTime?: (time: Date, view: TimeView) => boolean;
|
|
550
550
|
/** Custom styles for the TimeClock */
|
|
551
|
-
clockStyles?: TimeClockProps<TimeView>[
|
|
551
|
+
clockStyles?: TimeClockProps<TimeView>['sx'];
|
|
552
552
|
/** Custom styles for FormControl */
|
|
553
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
553
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>['sx'];
|
|
554
554
|
/** Custom styles for FormLabel */
|
|
555
|
-
formLabelStyles?: FormLabelProps[
|
|
555
|
+
formLabelStyles?: FormLabelProps['sx'];
|
|
556
556
|
/** Custom styles for the container Box */
|
|
557
|
-
containerStyles?: React__default.ComponentProps<typeof Box>[
|
|
557
|
+
containerStyles?: React__default.ComponentProps<typeof Box>['sx'];
|
|
558
558
|
/** Custom styles for the view buttons Stack */
|
|
559
|
-
buttonsStackStyles?: React__default.ComponentProps<typeof Stack>[
|
|
559
|
+
buttonsStackStyles?: React__default.ComponentProps<typeof Stack>['sx'];
|
|
560
560
|
/** Custom styles for view buttons */
|
|
561
|
-
buttonStyles?: ButtonProps[
|
|
561
|
+
buttonStyles?: ButtonProps['sx'];
|
|
562
562
|
/** Custom styles for active view button */
|
|
563
|
-
activeButtonStyles?: ButtonProps[
|
|
563
|
+
activeButtonStyles?: ButtonProps['sx'];
|
|
564
564
|
/** Whether to show view selector buttons */
|
|
565
565
|
showViewButtons?: boolean;
|
|
566
566
|
/** Initial view */
|
|
@@ -572,9 +572,9 @@ interface ITimeClockFieldProps extends Omit<TimeClockProps<TimeView>, "value" |
|
|
|
572
572
|
/** Callback fired when a view change is requested */
|
|
573
573
|
onViewChange?: (view: TimeView) => void;
|
|
574
574
|
/** Custom slot props for MUI v7 */
|
|
575
|
-
slotProps?: TimeClockProps<TimeView>[
|
|
575
|
+
slotProps?: TimeClockProps<TimeView>['slotProps'];
|
|
576
576
|
/** Custom slots for MUI v7 */
|
|
577
|
-
slots?: TimeClockProps<TimeView>[
|
|
577
|
+
slots?: TimeClockProps<TimeView>['slots'];
|
|
578
578
|
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
579
579
|
dateAdapter?: typeof AdapterDateFns;
|
|
580
580
|
/** Auto focus */
|
|
@@ -592,7 +592,7 @@ type FieldError$b = {
|
|
|
592
592
|
* Extended Time Picker Field Props
|
|
593
593
|
* Extends MUI TimePickerProps with custom form field props
|
|
594
594
|
*/
|
|
595
|
-
interface ITimePickerFieldProps extends Omit<TimePickerProps,
|
|
595
|
+
interface ITimePickerFieldProps extends Omit<TimePickerProps, 'value' | 'onChange' | 'defaultValue' | 'slots' | 'slotProps' | 'renderInput' | 'onViewChange'> {
|
|
596
596
|
/** Field name for form identification */
|
|
597
597
|
name?: string;
|
|
598
598
|
/** Label text for the time picker */
|
|
@@ -609,6 +609,8 @@ interface ITimePickerFieldProps extends Omit<TimePickerProps, "value" | "onChang
|
|
|
609
609
|
disabled?: boolean;
|
|
610
610
|
/** Full width of the field */
|
|
611
611
|
fullWidth?: boolean;
|
|
612
|
+
/** Whether to show title */
|
|
613
|
+
title?: boolean;
|
|
612
614
|
/** Required field indicator */
|
|
613
615
|
required?: boolean;
|
|
614
616
|
/** Minimum selectable time */
|
|
@@ -616,13 +618,13 @@ interface ITimePickerFieldProps extends Omit<TimePickerProps, "value" | "onChang
|
|
|
616
618
|
/** Maximum selectable time */
|
|
617
619
|
maxTime?: Date;
|
|
618
620
|
/** Function to disable specific times */
|
|
619
|
-
shouldDisableTime?: (time: Date, view:
|
|
621
|
+
shouldDisableTime?: (time: Date, view: 'hours' | 'minutes' | 'seconds') => boolean;
|
|
620
622
|
/** TextField size */
|
|
621
|
-
size?: TextFieldProps[
|
|
623
|
+
size?: TextFieldProps['size'];
|
|
622
624
|
/** TextField variant */
|
|
623
|
-
variant?: TextFieldProps[
|
|
625
|
+
variant?: TextFieldProps['variant'];
|
|
624
626
|
/** TextField color */
|
|
625
|
-
color?: TextFieldProps[
|
|
627
|
+
color?: TextFieldProps['color'];
|
|
626
628
|
/** Placeholder text */
|
|
627
629
|
placeholder?: string;
|
|
628
630
|
/** Whether the field is read-only */
|
|
@@ -636,23 +638,23 @@ interface ITimePickerFieldProps extends Omit<TimePickerProps, "value" | "onChang
|
|
|
636
638
|
/** Whether to use 12-hour format */
|
|
637
639
|
ampm?: boolean;
|
|
638
640
|
/** Available views (hours, minutes, seconds) */
|
|
639
|
-
views?: (
|
|
641
|
+
views?: ('hours' | 'minutes' | 'seconds')[];
|
|
640
642
|
/** Controlled view state */
|
|
641
|
-
view?:
|
|
643
|
+
view?: 'hours' | 'minutes' | 'seconds';
|
|
642
644
|
/** Default view */
|
|
643
|
-
openTo?:
|
|
645
|
+
openTo?: 'hours' | 'minutes' | 'seconds';
|
|
644
646
|
/** Format for displaying the time */
|
|
645
647
|
format?: string;
|
|
646
648
|
/** Custom styles for the TimePicker */
|
|
647
|
-
pickerStyles?: TimePickerProps[
|
|
649
|
+
pickerStyles?: TimePickerProps['sx'];
|
|
648
650
|
/** Custom styles for FormControl */
|
|
649
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
651
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>['sx'];
|
|
650
652
|
/** Custom styles for FormLabel */
|
|
651
|
-
formLabelStyles?: FormLabelProps[
|
|
653
|
+
formLabelStyles?: FormLabelProps['sx'];
|
|
652
654
|
/** Custom styles for the container Box */
|
|
653
|
-
containerStyles?: React__default.ComponentProps<typeof Box>[
|
|
655
|
+
containerStyles?: React__default.ComponentProps<typeof Box>['sx'];
|
|
654
656
|
/** Custom styles for the TextField */
|
|
655
|
-
textFieldStyles?: TextFieldProps[
|
|
657
|
+
textFieldStyles?: TextFieldProps['sx'];
|
|
656
658
|
/** Callback fired when the time changes */
|
|
657
659
|
onChange?: (value: Date | null) => void;
|
|
658
660
|
/** Callback fired when the field receives focus */
|
|
@@ -660,15 +662,15 @@ interface ITimePickerFieldProps extends Omit<TimePickerProps, "value" | "onChang
|
|
|
660
662
|
/** Callback fired when the field loses focus */
|
|
661
663
|
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
662
664
|
/** Callback fired when a view change is requested */
|
|
663
|
-
onViewChange?: (view:
|
|
665
|
+
onViewChange?: (view: 'hours' | 'minutes' | 'seconds' | 'meridiem') => void;
|
|
664
666
|
/** Callback fired when the picker opens */
|
|
665
667
|
onOpen?: () => void;
|
|
666
668
|
/** Callback fired when the picker closes */
|
|
667
669
|
onClose?: () => void;
|
|
668
670
|
/** Custom slot props for MUI v7 */
|
|
669
|
-
slotProps?: TimePickerProps[
|
|
671
|
+
slotProps?: TimePickerProps['slotProps'];
|
|
670
672
|
/** Custom slots for MUI v7 */
|
|
671
|
-
slots?: TimePickerProps[
|
|
673
|
+
slots?: TimePickerProps['slots'];
|
|
672
674
|
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
673
675
|
dateAdapter?: typeof AdapterDateFns;
|
|
674
676
|
/** Auto focus the input */
|
|
@@ -686,11 +688,12 @@ type FieldError$a = {
|
|
|
686
688
|
* Extended Date Picker Field Props
|
|
687
689
|
* Extends MUI DatePickerProps with custom form field props
|
|
688
690
|
*/
|
|
689
|
-
interface IDatePickerFieldProps extends Omit<DatePickerProps,
|
|
691
|
+
interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChange' | 'defaultValue' | 'slots' | 'slotProps' | 'renderInput'> {
|
|
690
692
|
/** Field name for form identification */
|
|
691
693
|
name?: string;
|
|
692
694
|
/** Label text for the date picker */
|
|
693
695
|
label?: string;
|
|
696
|
+
title?: boolean;
|
|
694
697
|
/** Current selected date value */
|
|
695
698
|
value: Date | null;
|
|
696
699
|
/** Default date value */
|
|
@@ -716,11 +719,11 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChang
|
|
|
716
719
|
/** Function to disable specific years */
|
|
717
720
|
shouldDisableYear?: (year: Date) => boolean;
|
|
718
721
|
/** TextField size */
|
|
719
|
-
size?: TextFieldProps[
|
|
722
|
+
size?: TextFieldProps['size'];
|
|
720
723
|
/** TextField variant */
|
|
721
|
-
variant?: TextFieldProps[
|
|
724
|
+
variant?: TextFieldProps['variant'];
|
|
722
725
|
/** TextField color */
|
|
723
|
-
color?: TextFieldProps[
|
|
726
|
+
color?: TextFieldProps['color'];
|
|
724
727
|
/** Placeholder text */
|
|
725
728
|
placeholder?: string;
|
|
726
729
|
/** Whether the field is read-only */
|
|
@@ -734,21 +737,21 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChang
|
|
|
734
737
|
/** Reference date for the calendar */
|
|
735
738
|
referenceDate?: Date;
|
|
736
739
|
/** Controlled view state */
|
|
737
|
-
view?:
|
|
740
|
+
view?: 'day' | 'month' | 'year';
|
|
738
741
|
/** Format for displaying the date */
|
|
739
742
|
format?: string;
|
|
740
743
|
/** Whether to open the calendar on focus */
|
|
741
|
-
openTo?:
|
|
744
|
+
openTo?: 'day' | 'month' | 'year';
|
|
742
745
|
/** Custom styles for the DatePicker */
|
|
743
|
-
pickerStyles?: DatePickerProps[
|
|
746
|
+
pickerStyles?: DatePickerProps['sx'];
|
|
744
747
|
/** Custom styles for FormControl */
|
|
745
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
748
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>['sx'];
|
|
746
749
|
/** Custom styles for FormLabel */
|
|
747
|
-
formLabelStyles?: FormLabelProps[
|
|
750
|
+
formLabelStyles?: FormLabelProps['sx'];
|
|
748
751
|
/** Custom styles for the container Box */
|
|
749
|
-
containerStyles?: React__default.ComponentProps<typeof Box>[
|
|
752
|
+
containerStyles?: React__default.ComponentProps<typeof Box>['sx'];
|
|
750
753
|
/** Custom styles for the TextField */
|
|
751
|
-
textFieldStyles?: TextFieldProps[
|
|
754
|
+
textFieldStyles?: TextFieldProps['sx'];
|
|
752
755
|
/** Callback fired when the date changes */
|
|
753
756
|
onChange?: (value: Date | null) => void;
|
|
754
757
|
/** Callback fired when the field receives focus */
|
|
@@ -756,7 +759,7 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChang
|
|
|
756
759
|
/** Callback fired when the field loses focus */
|
|
757
760
|
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
758
761
|
/** Callback fired when a view change is requested */
|
|
759
|
-
onViewChange?: (view:
|
|
762
|
+
onViewChange?: (view: 'day' | 'month' | 'year') => void;
|
|
760
763
|
/** Callback fired when a month change is requested */
|
|
761
764
|
onMonthChange?: (month: Date) => void;
|
|
762
765
|
/** Callback fired when a year change is requested */
|
|
@@ -766,9 +769,9 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChang
|
|
|
766
769
|
/** Callback fired when the calendar closes */
|
|
767
770
|
onClose?: () => void;
|
|
768
771
|
/** Custom slot props for MUI v7 */
|
|
769
|
-
slotProps?: DatePickerProps[
|
|
772
|
+
slotProps?: DatePickerProps['slotProps'];
|
|
770
773
|
/** Custom slots for MUI v7 */
|
|
771
|
-
slots?: DatePickerProps[
|
|
774
|
+
slots?: DatePickerProps['slots'];
|
|
772
775
|
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
773
776
|
dateAdapter?: typeof AdapterDateFns;
|
|
774
777
|
/** Whether to reduce animations */
|
|
@@ -788,7 +791,7 @@ type FieldError$9 = {
|
|
|
788
791
|
* Extended File Upload Field Props
|
|
789
792
|
* Extends MUI TextFieldProps with custom file upload props
|
|
790
793
|
*/
|
|
791
|
-
interface IFileUploadFieldProps extends Omit<TextFieldProps,
|
|
794
|
+
interface IFileUploadFieldProps extends Omit<TextFieldProps, 'value' | 'onChange' | 'name' | 'type' | 'error' | 'onDrop'> {
|
|
792
795
|
/** Field name for form identification */
|
|
793
796
|
name?: string;
|
|
794
797
|
/** Label text for the file upload field */
|
|
@@ -820,11 +823,11 @@ interface IFileUploadFieldProps extends Omit<TextFieldProps, "value" | "onChange
|
|
|
820
823
|
/** Placeholder text */
|
|
821
824
|
placeholder?: string;
|
|
822
825
|
/** TextField variant */
|
|
823
|
-
variant?: TextFieldProps[
|
|
826
|
+
variant?: TextFieldProps['variant'];
|
|
824
827
|
/** TextField size */
|
|
825
|
-
size?: TextFieldProps[
|
|
828
|
+
size?: TextFieldProps['size'];
|
|
826
829
|
/** TextField color */
|
|
827
|
-
color?: TextFieldProps[
|
|
830
|
+
color?: TextFieldProps['color'];
|
|
828
831
|
/** Full width of the field */
|
|
829
832
|
fullWidth?: boolean;
|
|
830
833
|
/** Required field indicator */
|
|
@@ -832,11 +835,11 @@ interface IFileUploadFieldProps extends Omit<TextFieldProps, "value" | "onChange
|
|
|
832
835
|
/** Upload button text */
|
|
833
836
|
buttonText?: string;
|
|
834
837
|
/** Upload button variant */
|
|
835
|
-
buttonVariant?: ButtonProps[
|
|
838
|
+
buttonVariant?: ButtonProps['variant'];
|
|
836
839
|
/** Upload button color */
|
|
837
|
-
buttonColor?: ButtonProps[
|
|
840
|
+
buttonColor?: ButtonProps['color'];
|
|
838
841
|
/** Upload button size */
|
|
839
|
-
buttonSize?: ButtonProps[
|
|
842
|
+
buttonSize?: ButtonProps['size'];
|
|
840
843
|
/** Custom upload icon */
|
|
841
844
|
uploadIcon?: React__default.ReactNode;
|
|
842
845
|
/** Callback fired when file(s) change */
|
|
@@ -850,17 +853,17 @@ interface IFileUploadFieldProps extends Omit<TextFieldProps, "value" | "onChange
|
|
|
850
853
|
/** Callback fired when file is dropped (drag and drop) */
|
|
851
854
|
onDrop?: (files: FileList) => void;
|
|
852
855
|
/** Custom styles for the TextField */
|
|
853
|
-
inputStyles?: TextFieldProps[
|
|
856
|
+
inputStyles?: TextFieldProps['sx'];
|
|
854
857
|
/** Custom styles for the Button */
|
|
855
|
-
buttonStyles?: ButtonProps[
|
|
858
|
+
buttonStyles?: ButtonProps['sx'];
|
|
856
859
|
/** Custom styles for FormControl */
|
|
857
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
860
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>['sx'];
|
|
858
861
|
/** Custom styles for the container */
|
|
859
862
|
containerStyles?: React__default.CSSProperties;
|
|
860
863
|
/** Custom slot props for MUI v7 */
|
|
861
|
-
slotProps?: TextFieldProps[
|
|
864
|
+
slotProps?: TextFieldProps['slotProps'];
|
|
862
865
|
/** Custom slots for MUI v7 */
|
|
863
|
-
slots?: TextFieldProps[
|
|
866
|
+
slots?: TextFieldProps['slots'];
|
|
864
867
|
}
|
|
865
868
|
declare const FileUploadField: React__default.ForwardRefExoticComponent<Omit<IFileUploadFieldProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
866
869
|
|
|
@@ -873,11 +876,11 @@ type FieldError$8 = {
|
|
|
873
876
|
/**
|
|
874
877
|
* Color format types
|
|
875
878
|
*/
|
|
876
|
-
type ColorFormat =
|
|
879
|
+
type ColorFormat = 'hex' | 'rgb' | 'rgba' | 'hsl' | 'hsla';
|
|
877
880
|
/**
|
|
878
881
|
* Extended Color Picker Field Props
|
|
879
882
|
*/
|
|
880
|
-
interface IColorPickerFieldProps extends Omit<TextFieldProps,
|
|
883
|
+
interface IColorPickerFieldProps extends Omit<TextFieldProps, 'value' | 'onChange' | 'name' | 'type' | 'error' | 'inputRef' | 'multiline' | 'variant' | 'size'> {
|
|
881
884
|
/** Field name for form identification */
|
|
882
885
|
name?: string;
|
|
883
886
|
/** Label text for the color picker field */
|
|
@@ -893,11 +896,11 @@ interface IColorPickerFieldProps extends Omit<TextFieldProps, "value" | "onChang
|
|
|
893
896
|
/** Placeholder text */
|
|
894
897
|
placeholder?: string;
|
|
895
898
|
/** TextField variant */
|
|
896
|
-
variant?: TextFieldProps[
|
|
899
|
+
variant?: TextFieldProps['variant'];
|
|
897
900
|
/** TextField size */
|
|
898
|
-
size?: TextFieldProps[
|
|
901
|
+
size?: TextFieldProps['size'];
|
|
899
902
|
/** TextField color */
|
|
900
|
-
color?: TextFieldProps[
|
|
903
|
+
color?: TextFieldProps['color'];
|
|
901
904
|
/** Full width of the field */
|
|
902
905
|
fullWidth?: boolean;
|
|
903
906
|
/** Required field indicator */
|
|
@@ -925,13 +928,13 @@ interface IColorPickerFieldProps extends Omit<TextFieldProps, "value" | "onChang
|
|
|
925
928
|
/** Custom styles for the color preview swatch */
|
|
926
929
|
previewStyles?: React__default.CSSProperties;
|
|
927
930
|
/** Custom styles for FormControl */
|
|
928
|
-
formControlStyles?: FormControlProps[
|
|
931
|
+
formControlStyles?: FormControlProps['sx'];
|
|
929
932
|
/** Custom styles for TextField */
|
|
930
|
-
inputStyles?: TextFieldProps[
|
|
933
|
+
inputStyles?: TextFieldProps['sx'];
|
|
931
934
|
/** Custom slot props for MUI v7 */
|
|
932
|
-
slotProps?: TextFieldProps[
|
|
935
|
+
slotProps?: TextFieldProps['slotProps'];
|
|
933
936
|
/** Custom slots for MUI v7 */
|
|
934
|
-
slots?: TextFieldProps[
|
|
937
|
+
slots?: TextFieldProps['slots'];
|
|
935
938
|
}
|
|
936
939
|
declare const ColorPickerField: React__default.NamedExoticComponent<Omit<IColorPickerFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
937
940
|
|
|
@@ -950,7 +953,7 @@ type FieldError$7 = {
|
|
|
950
953
|
* Extended Autocomplete Input Props
|
|
951
954
|
* Extends MUI AutocompleteProps with custom form field props
|
|
952
955
|
*/
|
|
953
|
-
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>,
|
|
956
|
+
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, 'renderInput' | 'options' | 'value' | 'onChange' | 'getOptionLabel' | 'isOptionEqualToValue' | 'renderOption'> {
|
|
954
957
|
/** Field name for form identification */
|
|
955
958
|
name?: string;
|
|
956
959
|
/** Label text for the input field */
|
|
@@ -968,11 +971,11 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
968
971
|
/** Placeholder text */
|
|
969
972
|
placeholder?: string;
|
|
970
973
|
/** TextField variant */
|
|
971
|
-
variant?: TextFieldProps[
|
|
974
|
+
variant?: TextFieldProps['variant'];
|
|
972
975
|
/** TextField size */
|
|
973
|
-
size?: TextFieldProps[
|
|
976
|
+
size?: TextFieldProps['size'];
|
|
974
977
|
/** TextField color */
|
|
975
|
-
color?: TextFieldProps[
|
|
978
|
+
color?: TextFieldProps['color'];
|
|
976
979
|
/** Full width of the field */
|
|
977
980
|
fullWidth?: boolean;
|
|
978
981
|
/** Required field indicator */
|
|
@@ -997,11 +1000,11 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
997
1000
|
/** Custom icon for popup indicator */
|
|
998
1001
|
popupIcon?: React__default.ReactNode;
|
|
999
1002
|
/** Custom styles for the TextField */
|
|
1000
|
-
inputStyles?: TextFieldProps[
|
|
1003
|
+
inputStyles?: TextFieldProps['sx'];
|
|
1001
1004
|
/** Custom styles for the Autocomplete */
|
|
1002
|
-
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1005
|
+
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>['sx'];
|
|
1003
1006
|
/** Custom styles for FormControl */
|
|
1004
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
1007
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>['sx'];
|
|
1005
1008
|
/** Whether to show loading state */
|
|
1006
1009
|
loading?: boolean;
|
|
1007
1010
|
/** Text to show when loading */
|
|
@@ -1021,9 +1024,9 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
1021
1024
|
/** Whether to disable list wrapping */
|
|
1022
1025
|
disableListWrap?: boolean;
|
|
1023
1026
|
/** Custom slot props for MUI v7 */
|
|
1024
|
-
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1027
|
+
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>['slotProps'];
|
|
1025
1028
|
/** Custom slots for MUI v7 */
|
|
1026
|
-
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1029
|
+
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>['slots'];
|
|
1027
1030
|
}
|
|
1028
1031
|
declare const AutoCompleteField: React__default.NamedExoticComponent<Omit<IAutoCompleteInputProps<AutoCompleteOption, boolean, boolean, boolean>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1029
1032
|
|
|
@@ -1568,8 +1571,6 @@ interface IFormInputFields<TFieldValues extends FieldValues = FieldValues> {
|
|
|
1568
1571
|
label?: string;
|
|
1569
1572
|
/** React Hook Form control object */
|
|
1570
1573
|
control?: any;
|
|
1571
|
-
/** React Hook Form errors object */
|
|
1572
|
-
errors: FieldErrors<TFieldValues>;
|
|
1573
1574
|
/** Default value for the field */
|
|
1574
1575
|
defaultValue?: any;
|
|
1575
1576
|
/** Placeholder text */
|
|
@@ -1600,7 +1601,7 @@ interface IFormInputFields<TFieldValues extends FieldValues = FieldValues> {
|
|
|
1600
1601
|
*/
|
|
1601
1602
|
interface IFormInputFieldsWithOptions<TFieldValues extends FieldValues = FieldValues> extends IFormInputFields<TFieldValues> {
|
|
1602
1603
|
/** Options array for dropdown fields */
|
|
1603
|
-
options?:
|
|
1604
|
+
options?: any[];
|
|
1604
1605
|
/** Limit number of tags displayed (for multi-select) */
|
|
1605
1606
|
limitTags?: number;
|
|
1606
1607
|
/** Custom render function for options */
|
|
@@ -1694,80 +1695,80 @@ interface IFormInputCheckBoxGroupFields<TFieldValues extends FieldValues = Field
|
|
|
1694
1695
|
labelPlacement?: "end" | "start" | "top" | "bottom";
|
|
1695
1696
|
}
|
|
1696
1697
|
|
|
1697
|
-
declare const FormInputTextField: React__default.MemoExoticComponent<({ name, label, control,
|
|
1698
|
+
declare const FormInputTextField: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1698
1699
|
|
|
1699
|
-
declare const FormInputTextArea: React__default.MemoExoticComponent<({ name, label, control,
|
|
1700
|
+
declare const FormInputTextArea: React__default.MemoExoticComponent<({ name, label, control, rows, minRows, maxRows, resize, defaultValue, onChange, ...props }: IFormInputTextAreaFields) => react_jsx_runtime.JSX.Element>;
|
|
1700
1701
|
|
|
1701
|
-
declare const FormInputPasswordField: React__default.MemoExoticComponent<({ name, label, control,
|
|
1702
|
+
declare const FormInputPasswordField: React__default.MemoExoticComponent<({ name, label, control, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1702
1703
|
|
|
1703
|
-
declare const FormInputNumberField: React__default.MemoExoticComponent<({ name, label, control,
|
|
1704
|
+
declare const FormInputNumberField: React__default.MemoExoticComponent<({ name, label, control, pattern, min, max, step, allowDecimals, decimalPlaces, defaultValue, onChange, ...props }: IFormInputNumberFields) => react_jsx_runtime.JSX.Element>;
|
|
1704
1705
|
|
|
1705
|
-
declare const FormInputTelField: React__default.MemoExoticComponent<({ name, label, control,
|
|
1706
|
+
declare const FormInputTelField: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1706
1707
|
|
|
1707
|
-
declare const FormInputSearchField: React__default.MemoExoticComponent<({ name, label, control,
|
|
1708
|
+
declare const FormInputSearchField: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1708
1709
|
|
|
1709
|
-
declare const FormInputOTPField: React__default.MemoExoticComponent<({ name, label, control,
|
|
1710
|
+
declare const FormInputOTPField: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1710
1711
|
|
|
1711
|
-
declare const FormInputSelect: React__default.MemoExoticComponent<({ name, label, control,
|
|
1712
|
+
declare const FormInputSelect: React__default.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1712
1713
|
|
|
1713
|
-
declare const FormInputMultiSelect: React__default.MemoExoticComponent<({ name, label, control,
|
|
1714
|
+
declare const FormInputMultiSelect: React__default.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1714
1715
|
|
|
1715
|
-
declare const FormInputAutoComplete: React__default.MemoExoticComponent<({ name, label, control,
|
|
1716
|
+
declare const FormInputAutoComplete: React__default.MemoExoticComponent<({ name, label, control, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1716
1717
|
|
|
1717
|
-
declare const FormInputMultiAutoComplete: React__default.MemoExoticComponent<({ name, label, control,
|
|
1718
|
+
declare const FormInputMultiAutoComplete: React__default.MemoExoticComponent<({ name, label, control, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1718
1719
|
|
|
1719
|
-
declare const FormInputColorPicker: React__default.MemoExoticComponent<({ name, label, control,
|
|
1720
|
+
declare const FormInputColorPicker: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1720
1721
|
|
|
1721
|
-
declare const FormInputFileUpload: React__default.MemoExoticComponent<({ name, label, control,
|
|
1722
|
+
declare const FormInputFileUpload: React__default.MemoExoticComponent<({ name, label, control, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1722
1723
|
|
|
1723
|
-
declare const FormInputDatePicker: React__default.MemoExoticComponent<({ name, label, control,
|
|
1724
|
+
declare const FormInputDatePicker: React__default.MemoExoticComponent<({ name, label, control, size, readOnly, shouldDisableDate, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1724
1725
|
|
|
1725
|
-
declare const FormInputTimePicker: React__default.MemoExoticComponent<({ name, label, control,
|
|
1726
|
+
declare const FormInputTimePicker: React__default.MemoExoticComponent<({ name, label, control, ampm, timezone, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1726
1727
|
|
|
1727
|
-
declare const FormInputTimeClock: React__default.MemoExoticComponent<({ name, label, control,
|
|
1728
|
+
declare const FormInputTimeClock: React__default.MemoExoticComponent<({ name, label, control, readOnly, disabled, ampm, views, ampmInClock, disablePast, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1728
1729
|
|
|
1729
|
-
declare const FormInputCalendar: React__default.MemoExoticComponent<({ name, label, control,
|
|
1730
|
+
declare const FormInputCalendar: React__default.MemoExoticComponent<({ name, label, control, readOnly, disabled, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1730
1731
|
|
|
1731
|
-
declare const FormInputCheckBox: React__default.MemoExoticComponent<({ name, label, control,
|
|
1732
|
+
declare const FormInputCheckBox: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1732
1733
|
|
|
1733
|
-
declare const FormInputCheckBoxGroup: React__default.MemoExoticComponent<({ name, label, control,
|
|
1734
|
+
declare const FormInputCheckBoxGroup: React__default.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, row, color, labelPlacement, ...props }: IFormInputCheckBoxGroupFields) => react_jsx_runtime.JSX.Element>;
|
|
1734
1735
|
|
|
1735
|
-
declare const FormInputSwitch: React__default.MemoExoticComponent<({ name, label, control,
|
|
1736
|
+
declare const FormInputSwitch: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1736
1737
|
|
|
1737
|
-
declare const FormInputSlider: React__default.MemoExoticComponent<({ name, label, control,
|
|
1738
|
+
declare const FormInputSlider: React__default.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1738
1739
|
|
|
1739
|
-
declare const FormInputRadioButton: React__default.MemoExoticComponent<({ name, label, control,
|
|
1740
|
+
declare const FormInputRadioButton: React__default.MemoExoticComponent<({ name, label, control, checked, defaultValue, onChange, color, labelPlacement, ...props }: IFormInputRadioFields) => react_jsx_runtime.JSX.Element>;
|
|
1740
1741
|
|
|
1741
|
-
declare const FormInputRadioButtonGroup: React__default.MemoExoticComponent<({ name, label, control,
|
|
1742
|
+
declare const FormInputRadioButtonGroup: React__default.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1742
1743
|
|
|
1743
1744
|
declare const NormalForm: () => react_jsx_runtime.JSX.Element;
|
|
1744
1745
|
|
|
1745
1746
|
declare const ReactHookForm: () => react_jsx_runtime.JSX.Element;
|
|
1746
1747
|
|
|
1747
1748
|
declare const FormFields: {
|
|
1748
|
-
FormInputTextField: React.MemoExoticComponent<({ name, label, control,
|
|
1749
|
-
FormInputTextArea: React.MemoExoticComponent<({ name, label, control,
|
|
1750
|
-
FormInputPasswordField: React.MemoExoticComponent<({ name, label, control,
|
|
1751
|
-
FormInputNumberField: React.MemoExoticComponent<({ name, label, control,
|
|
1752
|
-
FormInputTelField: React.MemoExoticComponent<({ name, label, control,
|
|
1753
|
-
FormInputSearchField: React.MemoExoticComponent<({ name, label, control,
|
|
1754
|
-
FormInputOTPField: React.MemoExoticComponent<({ name, label, control,
|
|
1755
|
-
FormInputSelect: React.MemoExoticComponent<({ name, label, control,
|
|
1756
|
-
FormInputMultiSelect: React.MemoExoticComponent<({ name, label, control,
|
|
1757
|
-
FormInputAutoComplete: React.MemoExoticComponent<({ name, label, control,
|
|
1758
|
-
FormInputMultiAutoComplete: React.MemoExoticComponent<({ name, label, control,
|
|
1759
|
-
FormInputColorPicker: React.MemoExoticComponent<({ name, label, control,
|
|
1760
|
-
FormInputFileUpload: React.MemoExoticComponent<({ name, label, control,
|
|
1761
|
-
FormInputDatePicker: React.MemoExoticComponent<({ name, label, control,
|
|
1762
|
-
FormInputTimePicker: React.MemoExoticComponent<({ name, label, control,
|
|
1763
|
-
FormInputTimeClock: React.MemoExoticComponent<({ name, label, control,
|
|
1764
|
-
FormInputCalendar: React.MemoExoticComponent<({ name, label, control,
|
|
1765
|
-
FormInputCheckBox: React.MemoExoticComponent<({ name, label, control,
|
|
1766
|
-
FormInputCheckBoxGroup: React.MemoExoticComponent<({ name, label, control,
|
|
1767
|
-
FormInputSwitch: React.MemoExoticComponent<({ name, label, control,
|
|
1768
|
-
FormInputSlider: React.MemoExoticComponent<({ name, label, control,
|
|
1769
|
-
FormInputSingleRadio: React.MemoExoticComponent<({ name, label, control,
|
|
1770
|
-
FormInputRadioButtonGroup: React.MemoExoticComponent<({ name, label, control,
|
|
1749
|
+
FormInputTextField: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1750
|
+
FormInputTextArea: React.MemoExoticComponent<({ name, label, control, rows, minRows, maxRows, resize, defaultValue, onChange, ...props }: IFormInputTextAreaFields) => react_jsx_runtime.JSX.Element>;
|
|
1751
|
+
FormInputPasswordField: React.MemoExoticComponent<({ name, label, control, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1752
|
+
FormInputNumberField: React.MemoExoticComponent<({ name, label, control, pattern, min, max, step, allowDecimals, decimalPlaces, defaultValue, onChange, ...props }: IFormInputNumberFields) => react_jsx_runtime.JSX.Element>;
|
|
1753
|
+
FormInputTelField: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1754
|
+
FormInputSearchField: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1755
|
+
FormInputOTPField: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1756
|
+
FormInputSelect: React.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1757
|
+
FormInputMultiSelect: React.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1758
|
+
FormInputAutoComplete: React.MemoExoticComponent<({ name, label, control, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1759
|
+
FormInputMultiAutoComplete: React.MemoExoticComponent<({ name, label, control, options, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1760
|
+
FormInputColorPicker: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1761
|
+
FormInputFileUpload: React.MemoExoticComponent<({ name, label, control, size, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1762
|
+
FormInputDatePicker: React.MemoExoticComponent<({ name, label, control, size, readOnly, shouldDisableDate, disabled, placeholder, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1763
|
+
FormInputTimePicker: React.MemoExoticComponent<({ name, label, control, ampm, timezone, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1764
|
+
FormInputTimeClock: React.MemoExoticComponent<({ name, label, control, readOnly, disabled, ampm, views, ampmInClock, disablePast, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1765
|
+
FormInputCalendar: React.MemoExoticComponent<({ name, label, control, readOnly, disabled, defaultValue, onChange, ...props }: IFormInputDateFields) => react_jsx_runtime.JSX.Element>;
|
|
1766
|
+
FormInputCheckBox: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1767
|
+
FormInputCheckBoxGroup: React.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, row, color, labelPlacement, ...props }: IFormInputCheckBoxGroupFields) => react_jsx_runtime.JSX.Element>;
|
|
1768
|
+
FormInputSwitch: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1769
|
+
FormInputSlider: React.MemoExoticComponent<({ name, label, control, defaultValue, onChange, ...props }: IFormInputFields) => react_jsx_runtime.JSX.Element>;
|
|
1770
|
+
FormInputSingleRadio: React.MemoExoticComponent<({ name, label, control, checked, defaultValue, onChange, color, labelPlacement, ...props }: IFormInputRadioFields) => react_jsx_runtime.JSX.Element>;
|
|
1771
|
+
FormInputRadioButtonGroup: React.MemoExoticComponent<({ name, label, control, options, defaultValue, onChange, ...props }: IFormInputFieldsWithOptions) => react_jsx_runtime.JSX.Element>;
|
|
1771
1772
|
TextInputField: React.NamedExoticComponent<Omit<ITextInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1772
1773
|
PasswordField: React.NamedExoticComponent<Omit<IPasswordFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1773
1774
|
NumberField: React.NamedExoticComponent<Omit<INumberInputFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|