@axzydev/axzy_ui_system 1.0.166 → 1.0.168
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 +2494 -589
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +659 -8
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +105 -33
- package/dist/index.d.ts +105 -33
- package/dist/index.js +2473 -573
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/theme/theme.ts +21 -21
package/dist/index.d.cts
CHANGED
|
@@ -185,6 +185,7 @@ interface ITCalendarProps {
|
|
|
185
185
|
maxDate?: Date;
|
|
186
186
|
className?: string;
|
|
187
187
|
disabled?: boolean;
|
|
188
|
+
variant?: ColorsTypes;
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
declare const ITCalendar: React__default.FC<ITCalendarProps>;
|
|
@@ -333,7 +334,7 @@ interface ITDatePickerProps {
|
|
|
333
334
|
label?: string;
|
|
334
335
|
required?: boolean;
|
|
335
336
|
touched?: boolean;
|
|
336
|
-
error?: string;
|
|
337
|
+
error?: string | boolean;
|
|
337
338
|
minDate?: Date;
|
|
338
339
|
maxDate?: Date;
|
|
339
340
|
}
|
|
@@ -470,7 +471,7 @@ interface ITInputProps {
|
|
|
470
471
|
placeholder?: string;
|
|
471
472
|
value?: any;
|
|
472
473
|
onChange: (event: any) => void;
|
|
473
|
-
onBlur
|
|
474
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement, Element>) => void;
|
|
474
475
|
showHintLength?: boolean;
|
|
475
476
|
maxLength?: number;
|
|
476
477
|
minLength?: number;
|
|
@@ -481,7 +482,7 @@ interface ITInputProps {
|
|
|
481
482
|
labelClassName?: string;
|
|
482
483
|
className?: string;
|
|
483
484
|
touched?: boolean;
|
|
484
|
-
error?: string;
|
|
485
|
+
error?: string | boolean;
|
|
485
486
|
required?: boolean;
|
|
486
487
|
formatNumber?: boolean;
|
|
487
488
|
autoFocus?: boolean;
|
|
@@ -599,7 +600,7 @@ interface ITSelectProps {
|
|
|
599
600
|
disabled?: boolean;
|
|
600
601
|
className?: string;
|
|
601
602
|
touched?: boolean;
|
|
602
|
-
error?: string;
|
|
603
|
+
error?: string | boolean;
|
|
603
604
|
required?: boolean;
|
|
604
605
|
autoFocus?: boolean;
|
|
605
606
|
readOnly?: boolean;
|
|
@@ -644,7 +645,7 @@ interface ITSearchSelectProps {
|
|
|
644
645
|
/** Indica si el campo es requerido */
|
|
645
646
|
required?: boolean;
|
|
646
647
|
/** Mensaje de error */
|
|
647
|
-
error?: string;
|
|
648
|
+
error?: string | boolean;
|
|
648
649
|
/** Indica si el campo es de solo lectura */
|
|
649
650
|
readOnly?: boolean;
|
|
650
651
|
/** Callback para búsqueda en servidor (Modo 2: Conexión con API) */
|
|
@@ -714,6 +715,40 @@ declare function ITText({ children, className }: {
|
|
|
714
715
|
className?: string;
|
|
715
716
|
}): react_jsx_runtime.JSX.Element;
|
|
716
717
|
|
|
718
|
+
interface ITTabItem {
|
|
719
|
+
id: string;
|
|
720
|
+
label: string;
|
|
721
|
+
content: ReactNode;
|
|
722
|
+
icon?: ReactNode;
|
|
723
|
+
disabled?: boolean;
|
|
724
|
+
}
|
|
725
|
+
interface ITTabsProps {
|
|
726
|
+
items: ITTabItem[];
|
|
727
|
+
defaultActiveId?: string;
|
|
728
|
+
onChange?: (id: string) => void;
|
|
729
|
+
variant?: 'line' | 'pill';
|
|
730
|
+
className?: string;
|
|
731
|
+
containerClassName?: string;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
declare const ITTabs: React__default.FC<ITTabsProps>;
|
|
735
|
+
|
|
736
|
+
interface ITTripleFilterOption<T> {
|
|
737
|
+
label: string;
|
|
738
|
+
value: T;
|
|
739
|
+
}
|
|
740
|
+
interface ITTripleFilterProps<T> {
|
|
741
|
+
value: T;
|
|
742
|
+
onChange: (value: T) => void;
|
|
743
|
+
options: ITTripleFilterOption<T>[];
|
|
744
|
+
className?: string;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* @description Generic triple/segmented filter component following AXZY Emerald/Slate theme.
|
|
749
|
+
*/
|
|
750
|
+
declare const ITTripleFilter: <T extends string | boolean>({ value, onChange, options, className, }: ITTripleFilterProps<T>) => react_jsx_runtime.JSX.Element;
|
|
751
|
+
|
|
717
752
|
interface ITToastProps {
|
|
718
753
|
message: string;
|
|
719
754
|
type?: "success" | "error" | "warning" | "info" | "primary" | "danger" | string;
|
|
@@ -783,7 +818,7 @@ interface ITTopBarProps {
|
|
|
783
818
|
interface ITNavigationSubItem {
|
|
784
819
|
id: string;
|
|
785
820
|
label: string;
|
|
786
|
-
action
|
|
821
|
+
action?: () => void;
|
|
787
822
|
isActive?: boolean;
|
|
788
823
|
}
|
|
789
824
|
interface ITNavigationItem {
|
|
@@ -800,6 +835,9 @@ interface ITSidebarProps {
|
|
|
800
835
|
isCollapsed?: boolean;
|
|
801
836
|
onToggleCollapse?: () => void;
|
|
802
837
|
visibleOnMobile?: boolean;
|
|
838
|
+
onItemClick?: (item: ITNavigationItem) => void;
|
|
839
|
+
onSubItemClick?: (subitem: ITNavigationSubItem) => void;
|
|
840
|
+
subitemConnector?: 'lines' | 'dots' | '|' | 'none';
|
|
803
841
|
className?: string;
|
|
804
842
|
}
|
|
805
843
|
|
|
@@ -853,6 +891,66 @@ interface ITStepperProps {
|
|
|
853
891
|
|
|
854
892
|
declare function ITStepper({ steps, currentStep, onFinish, onStepChange, allowClickToJump, useIcons, disableNext, containerClassName, stepClassName, scrollableContent, maxContentHeight, color, }: ITStepperProps): react_jsx_runtime.JSX.Element;
|
|
855
893
|
|
|
894
|
+
interface ITThemePalette {
|
|
895
|
+
primary: string;
|
|
896
|
+
secondary: string;
|
|
897
|
+
ternary: string;
|
|
898
|
+
danger: string;
|
|
899
|
+
success: string;
|
|
900
|
+
info: string;
|
|
901
|
+
alert: string;
|
|
902
|
+
warning: string;
|
|
903
|
+
layout: {
|
|
904
|
+
sidebarBg: string;
|
|
905
|
+
sidebarText: string;
|
|
906
|
+
navbarBg: string;
|
|
907
|
+
navbarText: string;
|
|
908
|
+
};
|
|
909
|
+
table: {
|
|
910
|
+
headerBg: string;
|
|
911
|
+
headerText: string;
|
|
912
|
+
rowBg: string;
|
|
913
|
+
rowText: string;
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
interface ITThemeProviderProps {
|
|
917
|
+
theme?: Partial<ITThemePalette>;
|
|
918
|
+
children: React.ReactNode;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
interface ITThemeContextType {
|
|
922
|
+
palette: ITThemePalette;
|
|
923
|
+
colors: ITThemePalette;
|
|
924
|
+
setPalette: (newPalette: ITThemePalette) => void;
|
|
925
|
+
updateColor: (key: string, value: string) => void;
|
|
926
|
+
resetTheme: () => void;
|
|
927
|
+
applyPreset: (colors: ITThemePalette) => void;
|
|
928
|
+
resolvedTheme: "light" | "dark";
|
|
929
|
+
darkModeMode: "light" | "dark" | "system";
|
|
930
|
+
setDarkModeMode: (mode: "light" | "dark" | "system") => void;
|
|
931
|
+
}
|
|
932
|
+
declare const useITTheme: () => ITThemeContextType;
|
|
933
|
+
declare function ITThemeProvider({ children, theme }: ITThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
934
|
+
|
|
935
|
+
interface ITTimePickerProps {
|
|
936
|
+
name: string;
|
|
937
|
+
value?: string;
|
|
938
|
+
label?: string;
|
|
939
|
+
placeholder?: string;
|
|
940
|
+
onChange: (e: any) => void;
|
|
941
|
+
onBlur?: (e: any) => void;
|
|
942
|
+
required?: boolean;
|
|
943
|
+
touched?: boolean;
|
|
944
|
+
error?: string | boolean;
|
|
945
|
+
disabled?: boolean;
|
|
946
|
+
className?: string;
|
|
947
|
+
size?: "small" | "medium" | "large";
|
|
948
|
+
variant?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple";
|
|
949
|
+
color?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple" | string;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
declare function ITTimePicker({ name, value, label, placeholder, onChange, onBlur, required, touched, error, disabled, className, size, variant, color, }: ITTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
953
|
+
|
|
856
954
|
type ColorScale = {
|
|
857
955
|
50: string;
|
|
858
956
|
100: string;
|
|
@@ -948,36 +1046,10 @@ interface ITThemeConfig {
|
|
|
948
1046
|
};
|
|
949
1047
|
}
|
|
950
1048
|
|
|
951
|
-
interface ITThemeProviderProps {
|
|
952
|
-
theme?: Partial<ITThemeConfig>;
|
|
953
|
-
children: React.ReactNode;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
declare function ITThemeProvider({ theme, children }: ITThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
957
|
-
|
|
958
|
-
interface ITTimePickerProps {
|
|
959
|
-
name: string;
|
|
960
|
-
value?: string;
|
|
961
|
-
label?: string;
|
|
962
|
-
placeholder?: string;
|
|
963
|
-
onChange: (e: any) => void;
|
|
964
|
-
onBlur: (e: any) => void;
|
|
965
|
-
required?: boolean;
|
|
966
|
-
touched?: boolean;
|
|
967
|
-
error?: string | boolean;
|
|
968
|
-
disabled?: boolean;
|
|
969
|
-
className?: string;
|
|
970
|
-
size?: "small" | "medium" | "large";
|
|
971
|
-
variant?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple";
|
|
972
|
-
color?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple" | string;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
declare function ITTimePicker({ name, value, label, placeholder, onChange, onBlur, required, touched, error, disabled, className, size, variant, color, }: ITTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
976
|
-
|
|
977
1049
|
declare const createValidationSchema: (fields: FieldConfig[]) => Yup.ObjectSchema<{
|
|
978
1050
|
[x: string]: never;
|
|
979
1051
|
}, Yup.AnyObject, {
|
|
980
1052
|
[x: string]: any;
|
|
981
1053
|
}, "">;
|
|
982
1054
|
|
|
983
|
-
export { type Column, type FieldConfig, type FieldConfigV2, ITBadget, type ITBadgetProps, ITButton, type ITButtonProps, ITCalendar, type ITCalendarProps, ITCard, type ITCardProps, ITDataTable, type ITDataTableFetchParams, type ITDataTableProps, type ITDataTableResponse, ITDatePicker, type ITDatePickerProps, ITDialog, type ITDialogProps, ITDropfile, ITFormBuilder, type ITFormBuilderProps, ITImage, ITInput, type ITInputProps, ITLayout, type ITLayoutProps, ITLoader, ITNavbar, type ITNavbarProps, ITPagination, ITSearchSelect, type ITSearchSelectProps, ITSelect, type ITSelectProps, ITSlideToggle, type ITSlideToggleProps, ITStepper, ITTable, type ITTableProps, ITText, type ITThemeConfig, ITThemeProvider, type ITThemeProviderProps, ITTimePicker, type ITTimePickerProps, ITToast, type ITToastProps, createValidationSchema };
|
|
1055
|
+
export { type Column, type FieldConfig, type FieldConfigV2, FileTypeEnum, ITBadget, type ITBadgetProps, ITButton, type ITButtonProps, ITCalendar, type ITCalendarProps, ITCard, type ITCardProps, ITDataTable, type ITDataTableFetchParams, type ITDataTableProps, type ITDataTableResponse, ITDatePicker, type ITDatePickerProps, ITDialog, type ITDialogProps, ITDropfile, ITFormBuilder, type ITFormBuilderProps, ITImage, ITInput, type ITInputProps, ITLayout, type ITLayoutProps, ITLoader, ITNavbar, type ITNavbarProps, ITPagination, ITSearchSelect, type ITSearchSelectProps, ITSelect, type ITSelectProps, ITSlideToggle, type ITSlideToggleProps, ITStepper, type ITTabItem, ITTable, type ITTableProps, ITTabs, type ITTabsProps, ITText, type ITThemeConfig, type ITThemePalette, ITThemeProvider, type ITThemeProviderProps, ITTimePicker, type ITTimePickerProps, ITToast, type ITToastProps, ITTripleFilter, type ITTripleFilterOption, type ITTripleFilterProps, UploadStatus, createValidationSchema, useITTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -185,6 +185,7 @@ interface ITCalendarProps {
|
|
|
185
185
|
maxDate?: Date;
|
|
186
186
|
className?: string;
|
|
187
187
|
disabled?: boolean;
|
|
188
|
+
variant?: ColorsTypes;
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
declare const ITCalendar: React__default.FC<ITCalendarProps>;
|
|
@@ -333,7 +334,7 @@ interface ITDatePickerProps {
|
|
|
333
334
|
label?: string;
|
|
334
335
|
required?: boolean;
|
|
335
336
|
touched?: boolean;
|
|
336
|
-
error?: string;
|
|
337
|
+
error?: string | boolean;
|
|
337
338
|
minDate?: Date;
|
|
338
339
|
maxDate?: Date;
|
|
339
340
|
}
|
|
@@ -470,7 +471,7 @@ interface ITInputProps {
|
|
|
470
471
|
placeholder?: string;
|
|
471
472
|
value?: any;
|
|
472
473
|
onChange: (event: any) => void;
|
|
473
|
-
onBlur
|
|
474
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement, Element>) => void;
|
|
474
475
|
showHintLength?: boolean;
|
|
475
476
|
maxLength?: number;
|
|
476
477
|
minLength?: number;
|
|
@@ -481,7 +482,7 @@ interface ITInputProps {
|
|
|
481
482
|
labelClassName?: string;
|
|
482
483
|
className?: string;
|
|
483
484
|
touched?: boolean;
|
|
484
|
-
error?: string;
|
|
485
|
+
error?: string | boolean;
|
|
485
486
|
required?: boolean;
|
|
486
487
|
formatNumber?: boolean;
|
|
487
488
|
autoFocus?: boolean;
|
|
@@ -599,7 +600,7 @@ interface ITSelectProps {
|
|
|
599
600
|
disabled?: boolean;
|
|
600
601
|
className?: string;
|
|
601
602
|
touched?: boolean;
|
|
602
|
-
error?: string;
|
|
603
|
+
error?: string | boolean;
|
|
603
604
|
required?: boolean;
|
|
604
605
|
autoFocus?: boolean;
|
|
605
606
|
readOnly?: boolean;
|
|
@@ -644,7 +645,7 @@ interface ITSearchSelectProps {
|
|
|
644
645
|
/** Indica si el campo es requerido */
|
|
645
646
|
required?: boolean;
|
|
646
647
|
/** Mensaje de error */
|
|
647
|
-
error?: string;
|
|
648
|
+
error?: string | boolean;
|
|
648
649
|
/** Indica si el campo es de solo lectura */
|
|
649
650
|
readOnly?: boolean;
|
|
650
651
|
/** Callback para búsqueda en servidor (Modo 2: Conexión con API) */
|
|
@@ -714,6 +715,40 @@ declare function ITText({ children, className }: {
|
|
|
714
715
|
className?: string;
|
|
715
716
|
}): react_jsx_runtime.JSX.Element;
|
|
716
717
|
|
|
718
|
+
interface ITTabItem {
|
|
719
|
+
id: string;
|
|
720
|
+
label: string;
|
|
721
|
+
content: ReactNode;
|
|
722
|
+
icon?: ReactNode;
|
|
723
|
+
disabled?: boolean;
|
|
724
|
+
}
|
|
725
|
+
interface ITTabsProps {
|
|
726
|
+
items: ITTabItem[];
|
|
727
|
+
defaultActiveId?: string;
|
|
728
|
+
onChange?: (id: string) => void;
|
|
729
|
+
variant?: 'line' | 'pill';
|
|
730
|
+
className?: string;
|
|
731
|
+
containerClassName?: string;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
declare const ITTabs: React__default.FC<ITTabsProps>;
|
|
735
|
+
|
|
736
|
+
interface ITTripleFilterOption<T> {
|
|
737
|
+
label: string;
|
|
738
|
+
value: T;
|
|
739
|
+
}
|
|
740
|
+
interface ITTripleFilterProps<T> {
|
|
741
|
+
value: T;
|
|
742
|
+
onChange: (value: T) => void;
|
|
743
|
+
options: ITTripleFilterOption<T>[];
|
|
744
|
+
className?: string;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* @description Generic triple/segmented filter component following AXZY Emerald/Slate theme.
|
|
749
|
+
*/
|
|
750
|
+
declare const ITTripleFilter: <T extends string | boolean>({ value, onChange, options, className, }: ITTripleFilterProps<T>) => react_jsx_runtime.JSX.Element;
|
|
751
|
+
|
|
717
752
|
interface ITToastProps {
|
|
718
753
|
message: string;
|
|
719
754
|
type?: "success" | "error" | "warning" | "info" | "primary" | "danger" | string;
|
|
@@ -783,7 +818,7 @@ interface ITTopBarProps {
|
|
|
783
818
|
interface ITNavigationSubItem {
|
|
784
819
|
id: string;
|
|
785
820
|
label: string;
|
|
786
|
-
action
|
|
821
|
+
action?: () => void;
|
|
787
822
|
isActive?: boolean;
|
|
788
823
|
}
|
|
789
824
|
interface ITNavigationItem {
|
|
@@ -800,6 +835,9 @@ interface ITSidebarProps {
|
|
|
800
835
|
isCollapsed?: boolean;
|
|
801
836
|
onToggleCollapse?: () => void;
|
|
802
837
|
visibleOnMobile?: boolean;
|
|
838
|
+
onItemClick?: (item: ITNavigationItem) => void;
|
|
839
|
+
onSubItemClick?: (subitem: ITNavigationSubItem) => void;
|
|
840
|
+
subitemConnector?: 'lines' | 'dots' | '|' | 'none';
|
|
803
841
|
className?: string;
|
|
804
842
|
}
|
|
805
843
|
|
|
@@ -853,6 +891,66 @@ interface ITStepperProps {
|
|
|
853
891
|
|
|
854
892
|
declare function ITStepper({ steps, currentStep, onFinish, onStepChange, allowClickToJump, useIcons, disableNext, containerClassName, stepClassName, scrollableContent, maxContentHeight, color, }: ITStepperProps): react_jsx_runtime.JSX.Element;
|
|
855
893
|
|
|
894
|
+
interface ITThemePalette {
|
|
895
|
+
primary: string;
|
|
896
|
+
secondary: string;
|
|
897
|
+
ternary: string;
|
|
898
|
+
danger: string;
|
|
899
|
+
success: string;
|
|
900
|
+
info: string;
|
|
901
|
+
alert: string;
|
|
902
|
+
warning: string;
|
|
903
|
+
layout: {
|
|
904
|
+
sidebarBg: string;
|
|
905
|
+
sidebarText: string;
|
|
906
|
+
navbarBg: string;
|
|
907
|
+
navbarText: string;
|
|
908
|
+
};
|
|
909
|
+
table: {
|
|
910
|
+
headerBg: string;
|
|
911
|
+
headerText: string;
|
|
912
|
+
rowBg: string;
|
|
913
|
+
rowText: string;
|
|
914
|
+
};
|
|
915
|
+
}
|
|
916
|
+
interface ITThemeProviderProps {
|
|
917
|
+
theme?: Partial<ITThemePalette>;
|
|
918
|
+
children: React.ReactNode;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
interface ITThemeContextType {
|
|
922
|
+
palette: ITThemePalette;
|
|
923
|
+
colors: ITThemePalette;
|
|
924
|
+
setPalette: (newPalette: ITThemePalette) => void;
|
|
925
|
+
updateColor: (key: string, value: string) => void;
|
|
926
|
+
resetTheme: () => void;
|
|
927
|
+
applyPreset: (colors: ITThemePalette) => void;
|
|
928
|
+
resolvedTheme: "light" | "dark";
|
|
929
|
+
darkModeMode: "light" | "dark" | "system";
|
|
930
|
+
setDarkModeMode: (mode: "light" | "dark" | "system") => void;
|
|
931
|
+
}
|
|
932
|
+
declare const useITTheme: () => ITThemeContextType;
|
|
933
|
+
declare function ITThemeProvider({ children, theme }: ITThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
934
|
+
|
|
935
|
+
interface ITTimePickerProps {
|
|
936
|
+
name: string;
|
|
937
|
+
value?: string;
|
|
938
|
+
label?: string;
|
|
939
|
+
placeholder?: string;
|
|
940
|
+
onChange: (e: any) => void;
|
|
941
|
+
onBlur?: (e: any) => void;
|
|
942
|
+
required?: boolean;
|
|
943
|
+
touched?: boolean;
|
|
944
|
+
error?: string | boolean;
|
|
945
|
+
disabled?: boolean;
|
|
946
|
+
className?: string;
|
|
947
|
+
size?: "small" | "medium" | "large";
|
|
948
|
+
variant?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple";
|
|
949
|
+
color?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple" | string;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
declare function ITTimePicker({ name, value, label, placeholder, onChange, onBlur, required, touched, error, disabled, className, size, variant, color, }: ITTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
953
|
+
|
|
856
954
|
type ColorScale = {
|
|
857
955
|
50: string;
|
|
858
956
|
100: string;
|
|
@@ -948,36 +1046,10 @@ interface ITThemeConfig {
|
|
|
948
1046
|
};
|
|
949
1047
|
}
|
|
950
1048
|
|
|
951
|
-
interface ITThemeProviderProps {
|
|
952
|
-
theme?: Partial<ITThemeConfig>;
|
|
953
|
-
children: React.ReactNode;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
declare function ITThemeProvider({ theme, children }: ITThemeProviderProps): react_jsx_runtime.JSX.Element;
|
|
957
|
-
|
|
958
|
-
interface ITTimePickerProps {
|
|
959
|
-
name: string;
|
|
960
|
-
value?: string;
|
|
961
|
-
label?: string;
|
|
962
|
-
placeholder?: string;
|
|
963
|
-
onChange: (e: any) => void;
|
|
964
|
-
onBlur: (e: any) => void;
|
|
965
|
-
required?: boolean;
|
|
966
|
-
touched?: boolean;
|
|
967
|
-
error?: string | boolean;
|
|
968
|
-
disabled?: boolean;
|
|
969
|
-
className?: string;
|
|
970
|
-
size?: "small" | "medium" | "large";
|
|
971
|
-
variant?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple";
|
|
972
|
-
color?: "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "purple" | string;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
declare function ITTimePicker({ name, value, label, placeholder, onChange, onBlur, required, touched, error, disabled, className, size, variant, color, }: ITTimePickerProps): react_jsx_runtime.JSX.Element;
|
|
976
|
-
|
|
977
1049
|
declare const createValidationSchema: (fields: FieldConfig[]) => Yup.ObjectSchema<{
|
|
978
1050
|
[x: string]: never;
|
|
979
1051
|
}, Yup.AnyObject, {
|
|
980
1052
|
[x: string]: any;
|
|
981
1053
|
}, "">;
|
|
982
1054
|
|
|
983
|
-
export { type Column, type FieldConfig, type FieldConfigV2, ITBadget, type ITBadgetProps, ITButton, type ITButtonProps, ITCalendar, type ITCalendarProps, ITCard, type ITCardProps, ITDataTable, type ITDataTableFetchParams, type ITDataTableProps, type ITDataTableResponse, ITDatePicker, type ITDatePickerProps, ITDialog, type ITDialogProps, ITDropfile, ITFormBuilder, type ITFormBuilderProps, ITImage, ITInput, type ITInputProps, ITLayout, type ITLayoutProps, ITLoader, ITNavbar, type ITNavbarProps, ITPagination, ITSearchSelect, type ITSearchSelectProps, ITSelect, type ITSelectProps, ITSlideToggle, type ITSlideToggleProps, ITStepper, ITTable, type ITTableProps, ITText, type ITThemeConfig, ITThemeProvider, type ITThemeProviderProps, ITTimePicker, type ITTimePickerProps, ITToast, type ITToastProps, createValidationSchema };
|
|
1055
|
+
export { type Column, type FieldConfig, type FieldConfigV2, FileTypeEnum, ITBadget, type ITBadgetProps, ITButton, type ITButtonProps, ITCalendar, type ITCalendarProps, ITCard, type ITCardProps, ITDataTable, type ITDataTableFetchParams, type ITDataTableProps, type ITDataTableResponse, ITDatePicker, type ITDatePickerProps, ITDialog, type ITDialogProps, ITDropfile, ITFormBuilder, type ITFormBuilderProps, ITImage, ITInput, type ITInputProps, ITLayout, type ITLayoutProps, ITLoader, ITNavbar, type ITNavbarProps, ITPagination, ITSearchSelect, type ITSearchSelectProps, ITSelect, type ITSelectProps, ITSlideToggle, type ITSlideToggleProps, ITStepper, type ITTabItem, ITTable, type ITTableProps, ITTabs, type ITTabsProps, ITText, type ITThemeConfig, type ITThemePalette, ITThemeProvider, type ITThemeProviderProps, ITTimePicker, type ITTimePickerProps, ITToast, type ITToastProps, ITTripleFilter, type ITTripleFilterOption, type ITTripleFilterProps, UploadStatus, createValidationSchema, useITTheme };
|