@piu-company/react-toolkit 1.0.2 → 1.0.3
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/AppProvider.d.ts +16 -16
- package/dist/animations/QuadSpinner.d.ts +13 -13
- package/dist/animations/Ripple.d.ts +15 -15
- package/dist/animations/SvgAnimations.d.ts +11 -11
- package/dist/animations/index.d.ts +3 -3
- package/dist/authentication/AuthenticationProvider.d.ts +11 -11
- package/dist/authentication/context.d.ts +5 -5
- package/dist/authentication/duck.d.ts +36 -36
- package/dist/authentication/index.d.ts +4 -4
- package/dist/authentication/types.d.ts +1 -1
- package/dist/axios.d.ts +167 -167
- package/dist/breadCrumb/BreadCrumbProvider.d.ts +5 -5
- package/dist/breadCrumb/context.d.ts +8 -8
- package/dist/breadCrumb/index.d.ts +3 -3
- package/dist/breadCrumb/types.d.ts +4 -4
- package/dist/components/Consumers/NotificationConsumer.d.ts +1 -1
- package/dist/components/Consumers/SnackbarsConsumer.d.ts +1 -1
- package/dist/components/Consumers/ToolTipConsumer.d.ts +1 -1
- package/dist/components/Consumers/index.d.ts +3 -3
- package/dist/components/Firebase/FbImage.d.ts +7 -7
- package/dist/components/Firebase/index.d.ts +2 -2
- package/dist/components/Firebase/types.d.ts +14 -14
- package/dist/components/Forms/ChangePassword.d.ts +9 -9
- package/dist/components/Forms/index.d.ts +1 -1
- package/dist/components/GoogleCalendar/GoogleCalendarProvider.d.ts +6 -6
- package/dist/components/GoogleCalendar/context.d.ts +5 -5
- package/dist/components/GoogleCalendar/index.d.ts +2 -2
- package/dist/components/GoogleCalendar/types.d.ts +10 -10
- package/dist/components/GoogleMaps/GMap.d.ts +27 -27
- package/dist/components/GoogleMaps/GMapInput.d.ts +15 -15
- package/dist/components/GoogleMaps/GoogleMapsProvider.d.ts +6 -6
- package/dist/components/GoogleMaps/context.d.ts +5 -5
- package/dist/components/GoogleMaps/index.d.ts +4 -4
- package/dist/components/Layout/TitledRow.d.ts +14 -14
- package/dist/components/Layout/index.d.ts +1 -1
- package/dist/components/Level1/A.d.ts +6 -6
- package/dist/components/Level1/Button.d.ts +29 -29
- package/dist/components/Level1/Container.d.ts +57 -57
- package/dist/components/Level1/DropdownButton.d.ts +11 -11
- package/dist/components/Level1/FadeInOut.d.ts +7 -7
- package/dist/components/Level1/Hr.d.ts +13 -13
- package/dist/components/Level1/Icon.d.ts +18 -18
- package/dist/components/Level1/Slider.d.ts +19 -19
- package/dist/components/Level1/Spacer.d.ts +5 -5
- package/dist/components/Level1/Typography.d.ts +37 -37
- package/dist/components/Level1/index.d.ts +10 -10
- package/dist/components/Level2/Card.d.ts +9 -9
- package/dist/components/Level2/Checkbox.d.ts +29 -29
- package/dist/components/Level2/Cover.d.ts +10 -10
- package/dist/components/Level2/DatePicker/DatePicker.d.ts +17 -17
- package/dist/components/Level2/DatePicker/DayPicker.d.ts +43 -43
- package/dist/components/Level2/DatePicker/MonthPicker.d.ts +27 -27
- package/dist/components/Level2/DatePicker/index.d.ts +4 -4
- package/dist/components/Level2/DatePicker/types.d.ts +8 -8
- package/dist/components/Level2/FloatingDiv.d.ts +17 -17
- package/dist/components/Level2/IconButton.d.ts +23 -23
- package/dist/components/Level2/Linker.d.ts +7 -7
- package/dist/components/Level2/MultiButtonSelect.d.ts +24 -24
- package/dist/components/Level2/Overlay.d.ts +36 -36
- package/dist/components/Level2/PanelForm/PanelForm.d.ts +9 -9
- package/dist/components/Level2/PanelForm/PanelFormContent.d.ts +5 -5
- package/dist/components/Level2/PanelForm/PanelFormSaveSection.d.ts +10 -10
- package/dist/components/Level2/PanelForm/PanelFormSection.d.ts +6 -6
- package/dist/components/Level2/PanelForm/PanelFormTitleSection.d.ts +6 -6
- package/dist/components/Level2/PanelForm/index.d.ts +5 -5
- package/dist/components/Level2/PillContainer.d.ts +13 -13
- package/dist/components/Level2/RadioButton.d.ts +10 -10
- package/dist/components/Level2/SideMenu/SideMenu.d.ts +24 -24
- package/dist/components/Level2/SideMenu/SideMenuButton.d.ts +16 -16
- package/dist/components/Level2/SideMenu/SideMenuNav.d.ts +12 -12
- package/dist/components/Level2/SideMenu/index.d.ts +3 -3
- package/dist/components/Level2/SideMenu/types.d.ts +25 -25
- package/dist/components/Level2/SocialButtons/FacebookButton.d.ts +12 -12
- package/dist/components/Level2/SocialButtons/GoogleButton.d.ts +12 -12
- package/dist/components/Level2/SocialButtons/index.d.ts +2 -2
- package/dist/components/Level2/Switch.d.ts +11 -11
- package/dist/components/Level2/TargetCard.d.ts +43 -42
- package/dist/components/Level2/TextField/Masker.d.ts +13 -13
- package/dist/components/Level2/TextField/TextField.d.ts +16 -16
- package/dist/components/Level2/TextField/TextFieldContainer.d.ts +18 -18
- package/dist/components/Level2/TextField/index.d.ts +3 -3
- package/dist/components/Level2/ThemeToggle.d.ts +5 -5
- package/dist/components/Level2/Tooltip.d.ts +21 -21
- package/dist/components/Level2/Uploader/UploadPreview.d.ts +9 -9
- package/dist/components/Level2/Uploader/Uploader.d.ts +30 -30
- package/dist/components/Level2/Uploader/index.d.ts +3 -3
- package/dist/components/Level2/Uploader/types.d.ts +7 -7
- package/dist/components/Level2/index.d.ts +20 -20
- package/dist/components/Level3/AreaChart.d.ts +29 -29
- package/dist/components/Level3/BarChart.d.ts +26 -26
- package/dist/components/Level3/BreadCrumb.d.ts +5 -5
- package/dist/components/Level3/Chart.d.ts +22 -22
- package/dist/components/Level3/ColorPicker.d.ts +9 -9
- package/dist/components/Level3/DashboardCard.d.ts +18 -18
- package/dist/components/Level3/DashboardCardV2.d.ts +13 -13
- package/dist/components/Level3/DashboardSelector/DashboardSelector.d.ts +8 -8
- package/dist/components/Level3/DashboardSelector/index.d.ts +2 -2
- package/dist/components/Level3/DashboardSelector/types.d.ts +4 -4
- package/dist/components/Level3/DateField.d.ts +31 -31
- package/dist/components/Level3/FloatingIconButton.d.ts +19 -19
- package/dist/components/Level3/FloatingIconButtonList.d.ts +13 -13
- package/dist/components/Level3/FullScreenButton.d.ts +2 -2
- package/dist/components/Level3/ListEditor.d.ts +12 -12
- package/dist/components/Level3/MultiChart.d.ts +27 -27
- package/dist/components/Level3/OptionSelector/OptionSelector.d.ts +18 -18
- package/dist/components/Level3/OptionSelector/index.d.ts +2 -2
- package/dist/components/Level3/OptionSelector/types.d.ts +8 -8
- package/dist/components/Level3/OverlayTopBar.d.ts +32 -32
- package/dist/components/Level3/PasswordField.d.ts +17 -17
- package/dist/components/Level3/PhoneField/PhoneField.d.ts +12 -12
- package/dist/components/Level3/PhoneField/PhoneSelection.d.ts +15 -15
- package/dist/components/Level3/PhoneField/countryData.d.ts +7 -7
- package/dist/components/Level3/PhoneField/flags/index.d.ts +243 -243
- package/dist/components/Level3/PhoneField/functions.d.ts +4 -4
- package/dist/components/Level3/PhoneField/index.d.ts +6 -6
- package/dist/components/Level3/PhoneField/types.d.ts +5 -5
- package/dist/components/Level3/PieChart.d.ts +30 -30
- package/dist/components/Level3/Popup.d.ts +23 -23
- package/dist/components/Level3/ProfileBox.d.ts +27 -27
- package/dist/components/Level3/Snackbar.d.ts +16 -16
- package/dist/components/Level3/TimeField/TimeField.d.ts +23 -22
- package/dist/components/Level3/TimeField/TimePicker.d.ts +23 -23
- package/dist/components/Level3/TimeField/index.d.ts +2 -2
- package/dist/components/Level3/Topbar.d.ts +36 -36
- package/dist/components/Level3/index.d.ts +24 -24
- package/dist/components/Level4/ConfirmPopup.d.ts +14 -14
- package/dist/components/Level4/index.d.ts +1 -1
- package/dist/components/NextJS/NEXTGlobalStyle.d.ts +7 -7
- package/dist/components/NextJS/index.d.ts +2 -2
- package/dist/components/NextJS/utils.d.ts +1 -1
- package/dist/components/Stripe/CardCvc.d.ts +17 -17
- package/dist/components/Stripe/CardExpiry.d.ts +17 -17
- package/dist/components/Stripe/CardNumber.d.ts +17 -17
- package/dist/components/Stripe/StripeProvider.d.ts +9 -9
- package/dist/components/Stripe/context.d.ts +6 -6
- package/dist/components/Stripe/functions.d.ts +5 -5
- package/dist/components/Stripe/index.d.ts +6 -6
- package/dist/components/UseDataLayer/Autocomplete/Autocomplete.d.ts +10 -10
- package/dist/components/UseDataLayer/Autocomplete/AutocompleteUI.d.ts +21 -21
- package/dist/components/UseDataLayer/Autocomplete/OptionDiv.d.ts +12 -12
- package/dist/components/UseDataLayer/Autocomplete/Selection.d.ts +13 -13
- package/dist/components/UseDataLayer/Autocomplete/index.d.ts +5 -5
- package/dist/components/UseDataLayer/Autocomplete/types.d.ts +10 -10
- package/dist/components/UseDataLayer/CountrySelection.d.ts +11 -11
- package/dist/components/UseDataLayer/EntityList/EntityList.d.ts +10 -10
- package/dist/components/UseDataLayer/EntityList/EntityListUI.d.ts +12 -12
- package/dist/components/UseDataLayer/EntityList/index.d.ts +3 -3
- package/dist/components/UseDataLayer/EntityList/types.d.ts +1 -1
- package/dist/components/UseDataLayer/Table/Header.d.ts +24 -24
- package/dist/components/UseDataLayer/Table/PaginationControl.d.ts +8 -8
- package/dist/components/UseDataLayer/Table/Row.d.ts +22 -22
- package/dist/components/UseDataLayer/Table/ShowingControl.d.ts +18 -18
- package/dist/components/UseDataLayer/Table/ShowingFooter.d.ts +6 -6
- package/dist/components/UseDataLayer/Table/Table.d.ts +10 -10
- package/dist/components/UseDataLayer/Table/TableUI.d.ts +24 -24
- package/dist/components/UseDataLayer/Table/index.d.ts +8 -8
- package/dist/components/UseDataLayer/Table/types.d.ts +13 -13
- package/dist/components/UseDataLayer/TownSelection.d.ts +11 -11
- package/dist/components/UseDataLayer/index.d.ts +5 -5
- package/dist/components/UseRedux/Sidebar/Sidebar.d.ts +48 -48
- package/dist/components/UseRedux/Sidebar/SidebarButton.d.ts +25 -25
- package/dist/components/UseRedux/Sidebar/SidebarTitle.d.ts +14 -14
- package/dist/components/UseRedux/Sidebar/SidebarToggler.d.ts +16 -16
- package/dist/components/UseRedux/Sidebar/duck.d.ts +30 -30
- package/dist/components/UseRedux/Sidebar/index.d.ts +6 -6
- package/dist/components/UseRedux/Sidebar/types.d.ts +13 -13
- package/dist/components/UseRedux/index.d.ts +1 -1
- package/dist/components/index.d.ts +15 -15
- package/dist/components/pages/AuthPage/AuthPage.d.ts +18 -18
- package/dist/components/pages/AuthPage/index.d.ts +2 -2
- package/dist/components/pages/AuthPage/types.d.ts +14 -14
- package/dist/components/pages/AuthPageV2.d.ts +16 -16
- package/dist/components/pages/ErrorPage.d.ts +13 -13
- package/dist/components/pages/ForbiddenPage.d.ts +15 -15
- package/dist/components/pages/ForgotPasswordPage/ForgotPasswordForm.d.ts +5 -5
- package/dist/components/pages/ForgotPasswordPage/ForgotPasswordPage.d.ts +4 -4
- package/dist/components/pages/ForgotPasswordPage/index.d.ts +2 -2
- package/dist/components/pages/LoadingPage.d.ts +14 -14
- package/dist/components/pages/LoginPage/LoginForm.d.ts +20 -20
- package/dist/components/pages/LoginPage/LoginPage.d.ts +9 -9
- package/dist/components/pages/LoginPage/index.d.ts +2 -2
- package/dist/components/pages/LogoutPage.d.ts +5 -5
- package/dist/components/pages/NotFoundPage.d.ts +6 -6
- package/dist/components/pages/UnverifiedUserPage.d.ts +6 -6
- package/dist/components/pages/index.d.ts +10 -10
- package/dist/contextCheckers.d.ts +4 -4
- package/dist/dataEnums.d.ts +370 -370
- package/dist/dataLayer/DataContext.d.ts +11 -11
- package/dist/dataLayer/DataProvider.d.ts +53 -53
- package/dist/dataLayer/duck.d.ts +32 -32
- package/dist/dataLayer/index.d.ts +4 -4
- package/dist/dataLayer/types.d.ts +17 -17
- package/dist/generalTypes.d.ts +48 -48
- package/dist/geoUtils.d.ts +35 -35
- package/dist/hooks/index.d.ts +8 -8
- package/dist/hooks/types.d.ts +3 -3
- package/dist/hooks/useClickOutside.d.ts +3 -3
- package/dist/hooks/useCombinedRef.d.ts +1 -1
- package/dist/hooks/useEnterSubmit.d.ts +2 -2
- package/dist/hooks/useFBAuth.d.ts +2 -2
- package/dist/hooks/useInterval.d.ts +2 -2
- package/dist/hooks/useResize.d.ts +2 -2
- package/dist/hooks/useTimeout.d.ts +2 -2
- package/dist/index.d.ts +22 -22
- package/dist/masker.d.ts +15 -15
- package/dist/navigation/NavProvider.d.ts +7 -7
- package/dist/navigation/context.d.ts +6 -6
- package/dist/navigation/index.d.ts +3 -3
- package/dist/navigation/types.d.ts +6 -6
- package/dist/notification/NotificationProvider.d.ts +21 -21
- package/dist/notification/context.d.ts +8 -8
- package/dist/notification/duck.d.ts +30 -30
- package/dist/notification/index.d.ts +3 -3
- package/dist/redux.d.ts +25 -25
- package/dist/size/SizeProvider.d.ts +6 -6
- package/dist/size/context.d.ts +5 -5
- package/dist/size/index.d.ts +3 -3
- package/dist/size/types.d.ts +5 -5
- package/dist/snackbar/SnackbarProvider.d.ts +5 -5
- package/dist/snackbar/context.d.ts +8 -8
- package/dist/snackbar/functions.d.ts +14 -14
- package/dist/snackbar/index.d.ts +4 -4
- package/dist/snackbar/types.d.ts +28 -28
- package/dist/styleEnums.d.ts +156 -156
- package/dist/theming/ThemeProvider.d.ts +26 -26
- package/dist/theming/context.d.ts +11 -11
- package/dist/theming/duck.d.ts +23 -23
- package/dist/theming/functions.d.ts +2 -2
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/types.d.ts +60 -60
- package/dist/tooltip/ToolTipProvider.d.ts +5 -5
- package/dist/tooltip/context.d.ts +10 -10
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/types.d.ts +8 -8
- package/dist/tsconfig.rollup.tsbuildinfo +1 -1
- package/dist/utils.d.ts +39 -39
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Colors, Settings } from '../../theming';
|
|
3
|
-
import { TargetCardDirection } from '../Level2';
|
|
4
|
-
import { ISelectorOption } from './OptionSelector';
|
|
5
|
-
export interface IProfileBox extends IOptionSelectorStyle {
|
|
6
|
-
name: string;
|
|
7
|
-
subText?: string;
|
|
8
|
-
options?: ISelectorOption[];
|
|
9
|
-
customOptions?: ReactNode;
|
|
10
|
-
forceDirection?: TargetCardDirection;
|
|
11
|
-
}
|
|
12
|
-
interface IOptionSelectorStyle {
|
|
13
|
-
iconColor?: Colors | string;
|
|
14
|
-
backgroundColor?: string;
|
|
15
|
-
shadow?: Colors | string;
|
|
16
|
-
shadowDim?: Settings | string;
|
|
17
|
-
hoverColor?: Colors | string;
|
|
18
|
-
}
|
|
19
|
-
export declare const ProfileBox: {
|
|
20
|
-
({ name, subText, ...props }: IProfileBox): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
defaultProps: {
|
|
22
|
-
name: string;
|
|
23
|
-
subText: string;
|
|
24
|
-
forceDirection: TargetCardDirection;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Colors, Settings } from '../../theming';
|
|
3
|
+
import { TargetCardDirection } from '../Level2';
|
|
4
|
+
import { ISelectorOption } from './OptionSelector';
|
|
5
|
+
export interface IProfileBox extends IOptionSelectorStyle {
|
|
6
|
+
name: string;
|
|
7
|
+
subText?: string;
|
|
8
|
+
options?: ISelectorOption[];
|
|
9
|
+
customOptions?: ReactNode;
|
|
10
|
+
forceDirection?: TargetCardDirection;
|
|
11
|
+
}
|
|
12
|
+
interface IOptionSelectorStyle {
|
|
13
|
+
iconColor?: Colors | string;
|
|
14
|
+
backgroundColor?: string;
|
|
15
|
+
shadow?: Colors | string;
|
|
16
|
+
shadowDim?: Settings | string;
|
|
17
|
+
hoverColor?: Colors | string;
|
|
18
|
+
}
|
|
19
|
+
export declare const ProfileBox: {
|
|
20
|
+
({ name, subText, ...props }: IProfileBox): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
defaultProps: {
|
|
22
|
+
name: string;
|
|
23
|
+
subText: string;
|
|
24
|
+
forceDirection: TargetCardDirection;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Colors, Settings } from '../../theming';
|
|
2
|
-
import { IFloatingDiv } from '../Level2';
|
|
3
|
-
import { ISnackbarData } from '../../snackbar';
|
|
4
|
-
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
5
|
-
export interface ISnackbar extends IFloatingDiv {
|
|
6
|
-
backgroundColor?: Colors | string;
|
|
7
|
-
borderRadius?: Settings | string;
|
|
8
|
-
icon?: boolean;
|
|
9
|
-
textColor?: Colors | string;
|
|
10
|
-
width?: string;
|
|
11
|
-
data: ISnackbarData;
|
|
12
|
-
}
|
|
13
|
-
export interface ISnackbarAdditions {
|
|
14
|
-
onClose: EmptyFunctionHandler;
|
|
15
|
-
}
|
|
16
|
-
export declare const Snackbar: ({ icon, textColor, data, borderRadius, backgroundColor, ...props }: ISnackbar & ISnackbarAdditions) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { Colors, Settings } from '../../theming';
|
|
2
|
+
import { IFloatingDiv } from '../Level2';
|
|
3
|
+
import { ISnackbarData } from '../../snackbar';
|
|
4
|
+
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
5
|
+
export interface ISnackbar extends IFloatingDiv {
|
|
6
|
+
backgroundColor?: Colors | string;
|
|
7
|
+
borderRadius?: Settings | string;
|
|
8
|
+
icon?: boolean;
|
|
9
|
+
textColor?: Colors | string;
|
|
10
|
+
width?: string;
|
|
11
|
+
data: ISnackbarData;
|
|
12
|
+
}
|
|
13
|
+
export interface ISnackbarAdditions {
|
|
14
|
+
onClose: EmptyFunctionHandler;
|
|
15
|
+
}
|
|
16
|
+
export declare const Snackbar: ({ icon, textColor, data, borderRadius, backgroundColor, ...props }: ISnackbar & ISnackbarAdditions) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
import { IField, MomentHandler } from '../../../generalTypes';
|
|
3
|
-
import { Colors } from '../../../theming';
|
|
4
|
-
export interface ITimeField extends IField {
|
|
5
|
-
width?: string;
|
|
6
|
-
value?: Moment;
|
|
7
|
-
onChange: MomentHandler;
|
|
8
|
-
iconNormal?: Colors | string;
|
|
9
|
-
iconFocus?: Colors | string;
|
|
10
|
-
hourStep?: number;
|
|
11
|
-
minuteStep?: number;
|
|
12
|
-
startTime?: Moment;
|
|
13
|
-
minSlotTime?: number;
|
|
14
|
-
hidePast?: boolean;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
1
|
+
import { Moment } from 'moment';
|
|
2
|
+
import { IField, MomentHandler } from '../../../generalTypes';
|
|
3
|
+
import { Colors } from '../../../theming';
|
|
4
|
+
export interface ITimeField extends IField {
|
|
5
|
+
width?: string;
|
|
6
|
+
value?: Moment;
|
|
7
|
+
onChange: MomentHandler;
|
|
8
|
+
iconNormal?: Colors | string;
|
|
9
|
+
iconFocus?: Colors | string;
|
|
10
|
+
hourStep?: number;
|
|
11
|
+
minuteStep?: number;
|
|
12
|
+
startTime?: Moment;
|
|
13
|
+
minSlotTime?: number;
|
|
14
|
+
hidePast?: boolean;
|
|
15
|
+
forceHorizontal?: 'left' | 'right';
|
|
16
|
+
}
|
|
17
|
+
export declare const TimeField: {
|
|
18
|
+
({ value, iconNormal, iconFocus, width, label, error, helperText, placeholder, readOnly, ...props }: ITimeField): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
defaultProps: {
|
|
20
|
+
iconNormal: Colors;
|
|
21
|
+
iconFocus: Colors;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
|
-
import { MomentHandler } from '../../../generalTypes';
|
|
3
|
-
import { Colors, Settings } from '../../../theming';
|
|
4
|
-
import { ITargetCard } from '../../Level2';
|
|
5
|
-
export interface ITimePicker extends ITimePickerStyle, ITargetCard {
|
|
6
|
-
onChange: MomentHandler;
|
|
7
|
-
setOpen: (newOpen: boolean) => void;
|
|
8
|
-
value?: Moment;
|
|
9
|
-
hourStep?: number;
|
|
10
|
-
minuteStep?: number;
|
|
11
|
-
startTime?: Moment;
|
|
12
|
-
minSlotTime?: number;
|
|
13
|
-
hidePast?: boolean;
|
|
14
|
-
}
|
|
15
|
-
interface ITimePickerStyle {
|
|
16
|
-
backgroundColor?: Colors | string;
|
|
17
|
-
hoverColor?: Colors | string;
|
|
18
|
-
selectedColor?: Colors | string;
|
|
19
|
-
borderColor?: Colors | string;
|
|
20
|
-
borderRadius?: Settings | string;
|
|
21
|
-
}
|
|
22
|
-
export declare const TimePicker: import("react").ForwardRefExoticComponent<ITimePicker & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
-
export {};
|
|
1
|
+
import { Moment } from 'moment';
|
|
2
|
+
import { MomentHandler } from '../../../generalTypes';
|
|
3
|
+
import { Colors, Settings } from '../../../theming';
|
|
4
|
+
import { ITargetCard } from '../../Level2';
|
|
5
|
+
export interface ITimePicker extends ITimePickerStyle, ITargetCard {
|
|
6
|
+
onChange: MomentHandler;
|
|
7
|
+
setOpen: (newOpen: boolean) => void;
|
|
8
|
+
value?: Moment;
|
|
9
|
+
hourStep?: number;
|
|
10
|
+
minuteStep?: number;
|
|
11
|
+
startTime?: Moment;
|
|
12
|
+
minSlotTime?: number;
|
|
13
|
+
hidePast?: boolean;
|
|
14
|
+
}
|
|
15
|
+
interface ITimePickerStyle {
|
|
16
|
+
backgroundColor?: Colors | string;
|
|
17
|
+
hoverColor?: Colors | string;
|
|
18
|
+
selectedColor?: Colors | string;
|
|
19
|
+
borderColor?: Colors | string;
|
|
20
|
+
borderRadius?: Settings | string;
|
|
21
|
+
}
|
|
22
|
+
export declare const TimePicker: import("react").ForwardRefExoticComponent<ITimePicker & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './TimeField';
|
|
2
|
-
export * from './TimePicker';
|
|
1
|
+
export * from './TimeField';
|
|
2
|
+
export * from './TimePicker';
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Colors } from '../../theming';
|
|
3
|
-
import { Alignment } from '../../styleEnums';
|
|
4
|
-
export interface ITopbar {
|
|
5
|
-
leftChildren?: ReactNode;
|
|
6
|
-
rightChildren?: ReactNode;
|
|
7
|
-
centreChildren?: ReactNode;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
pageBackgroundColor?: string | Colors;
|
|
10
|
-
backgroundColor?: string | Colors;
|
|
11
|
-
appBarScrollColor?: string | Colors;
|
|
12
|
-
appBarShadow?: string | Colors;
|
|
13
|
-
showBreadCrumb?: boolean;
|
|
14
|
-
pagePadding?: string;
|
|
15
|
-
hideBurger?: boolean;
|
|
16
|
-
isScrolled?: (status: boolean) => void;
|
|
17
|
-
maxChildrenWidth?: string;
|
|
18
|
-
childrenMainAxis?: Alignment;
|
|
19
|
-
childrenPadding?: string;
|
|
20
|
-
mobileHeight?: string;
|
|
21
|
-
normalHeight?: string;
|
|
22
|
-
childrenHeight?: string;
|
|
23
|
-
print?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare const Topbar: {
|
|
26
|
-
(props: ITopbar): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
defaultProps: {
|
|
28
|
-
print: boolean;
|
|
29
|
-
pageBackgroundColor: Colors;
|
|
30
|
-
backgroundColor: Colors;
|
|
31
|
-
appBarScrollColor: Colors;
|
|
32
|
-
appBarShadow: Colors;
|
|
33
|
-
mobileHeight: string;
|
|
34
|
-
normalHeight: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Colors } from '../../theming';
|
|
3
|
+
import { Alignment } from '../../styleEnums';
|
|
4
|
+
export interface ITopbar {
|
|
5
|
+
leftChildren?: ReactNode;
|
|
6
|
+
rightChildren?: ReactNode;
|
|
7
|
+
centreChildren?: ReactNode;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
pageBackgroundColor?: string | Colors;
|
|
10
|
+
backgroundColor?: string | Colors;
|
|
11
|
+
appBarScrollColor?: string | Colors;
|
|
12
|
+
appBarShadow?: string | Colors;
|
|
13
|
+
showBreadCrumb?: boolean;
|
|
14
|
+
pagePadding?: string;
|
|
15
|
+
hideBurger?: boolean;
|
|
16
|
+
isScrolled?: (status: boolean) => void;
|
|
17
|
+
maxChildrenWidth?: string;
|
|
18
|
+
childrenMainAxis?: Alignment;
|
|
19
|
+
childrenPadding?: string;
|
|
20
|
+
mobileHeight?: string;
|
|
21
|
+
normalHeight?: string;
|
|
22
|
+
childrenHeight?: string;
|
|
23
|
+
print?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare const Topbar: {
|
|
26
|
+
(props: ITopbar): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
defaultProps: {
|
|
28
|
+
print: boolean;
|
|
29
|
+
pageBackgroundColor: Colors;
|
|
30
|
+
backgroundColor: Colors;
|
|
31
|
+
appBarScrollColor: Colors;
|
|
32
|
+
appBarShadow: Colors;
|
|
33
|
+
mobileHeight: string;
|
|
34
|
+
normalHeight: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export * from './PasswordField';
|
|
2
|
-
export * from './DateField';
|
|
3
|
-
export * from './PhoneField';
|
|
4
|
-
export * from './Topbar';
|
|
5
|
-
export * from './TimeField';
|
|
6
|
-
export * from './ProfileBox';
|
|
7
|
-
export * from './FullScreenButton';
|
|
8
|
-
export * from './Snackbar';
|
|
9
|
-
export * from './Popup';
|
|
10
|
-
export * from './FloatingIconButton';
|
|
11
|
-
export * from './DashboardCard';
|
|
12
|
-
export * from './DashboardCardV2';
|
|
13
|
-
export * from './OptionSelector';
|
|
14
|
-
export * from './BreadCrumb';
|
|
15
|
-
export * from './ListEditor';
|
|
16
|
-
export * from './DashboardSelector';
|
|
17
|
-
export * from './Chart';
|
|
18
|
-
export * from './OverlayTopBar';
|
|
19
|
-
export * from './ColorPicker';
|
|
20
|
-
export * from './FloatingIconButtonList';
|
|
21
|
-
export * from './MultiChart';
|
|
22
|
-
export * from './PieChart';
|
|
23
|
-
export * from './BarChart';
|
|
24
|
-
export * from './AreaChart';
|
|
1
|
+
export * from './PasswordField';
|
|
2
|
+
export * from './DateField';
|
|
3
|
+
export * from './PhoneField';
|
|
4
|
+
export * from './Topbar';
|
|
5
|
+
export * from './TimeField';
|
|
6
|
+
export * from './ProfileBox';
|
|
7
|
+
export * from './FullScreenButton';
|
|
8
|
+
export * from './Snackbar';
|
|
9
|
+
export * from './Popup';
|
|
10
|
+
export * from './FloatingIconButton';
|
|
11
|
+
export * from './DashboardCard';
|
|
12
|
+
export * from './DashboardCardV2';
|
|
13
|
+
export * from './OptionSelector';
|
|
14
|
+
export * from './BreadCrumb';
|
|
15
|
+
export * from './ListEditor';
|
|
16
|
+
export * from './DashboardSelector';
|
|
17
|
+
export * from './Chart';
|
|
18
|
+
export * from './OverlayTopBar';
|
|
19
|
+
export * from './ColorPicker';
|
|
20
|
+
export * from './FloatingIconButtonList';
|
|
21
|
+
export * from './MultiChart';
|
|
22
|
+
export * from './PieChart';
|
|
23
|
+
export * from './BarChart';
|
|
24
|
+
export * from './AreaChart';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
2
|
-
import { ZIndexLayers } from '../../styleEnums';
|
|
3
|
-
export interface IConfirmPopup {
|
|
4
|
-
title: string;
|
|
5
|
-
subtitle: string;
|
|
6
|
-
mainButtonText: string;
|
|
7
|
-
mainButtonLoad?: boolean;
|
|
8
|
-
hasRejectReason?: boolean;
|
|
9
|
-
onClose: EmptyFunctionHandler;
|
|
10
|
-
onCancel: EmptyFunctionHandler;
|
|
11
|
-
onSubmit: (reason?: string) => void;
|
|
12
|
-
zIndex?: ZIndexLayers | number;
|
|
13
|
-
}
|
|
14
|
-
export declare const ConfirmPopup: (props: IConfirmPopup) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
2
|
+
import { ZIndexLayers } from '../../styleEnums';
|
|
3
|
+
export interface IConfirmPopup {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string;
|
|
6
|
+
mainButtonText: string;
|
|
7
|
+
mainButtonLoad?: boolean;
|
|
8
|
+
hasRejectReason?: boolean;
|
|
9
|
+
onClose: EmptyFunctionHandler;
|
|
10
|
+
onCancel: EmptyFunctionHandler;
|
|
11
|
+
onSubmit: (reason?: string) => void;
|
|
12
|
+
zIndex?: ZIndexLayers | number;
|
|
13
|
+
}
|
|
14
|
+
export declare const ConfirmPopup: (props: IConfirmPopup) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ConfirmPopup';
|
|
1
|
+
export * from './ConfirmPopup';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface INEXTGlobalStyle {
|
|
2
|
-
fontSize?: string;
|
|
3
|
-
fontFamily?: string;
|
|
4
|
-
minHeight?: string;
|
|
5
|
-
minHeightMobile?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const NEXTGlobalStyle: (props: INEXTGlobalStyle) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export interface INEXTGlobalStyle {
|
|
2
|
+
fontSize?: string;
|
|
3
|
+
fontFamily?: string;
|
|
4
|
+
minHeight?: string;
|
|
5
|
+
minHeightMobile?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const NEXTGlobalStyle: (props: INEXTGlobalStyle) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './NEXTGlobalStyle';
|
|
2
|
-
export * from './utils';
|
|
1
|
+
export * from './NEXTGlobalStyle';
|
|
2
|
+
export * from './utils';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getNextJSEnvVariables: (target: string) => string | undefined;
|
|
1
|
+
export declare const getNextJSEnvVariables: (target: string) => string | undefined;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { CardCvcElementComponent } from '@stripe/react-stripe-js';
|
|
2
|
-
import { TextfieldVariant } from '../../styleEnums';
|
|
3
|
-
import { Colors } from '../../theming';
|
|
4
|
-
import { ITextFieldContainerStyle } from '../Level2';
|
|
5
|
-
export interface ICardCvc extends ITextFieldContainerStyle, CardCvcElementComponent {
|
|
6
|
-
prefixCmp?: HTMLElement;
|
|
7
|
-
suffixCmp?: HTMLElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const CardCvc: {
|
|
10
|
-
({ variant, width, borderColor, hoverBorderColor, focusBorderColor, errorColor, error, isFocused, label }: ICardCvc): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
variant: TextfieldVariant;
|
|
13
|
-
helperColor: Colors;
|
|
14
|
-
errorColor: Colors;
|
|
15
|
-
width: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
1
|
+
import { CardCvcElementComponent } from '@stripe/react-stripe-js';
|
|
2
|
+
import { TextfieldVariant } from '../../styleEnums';
|
|
3
|
+
import { Colors } from '../../theming';
|
|
4
|
+
import { ITextFieldContainerStyle } from '../Level2';
|
|
5
|
+
export interface ICardCvc extends ITextFieldContainerStyle, CardCvcElementComponent {
|
|
6
|
+
prefixCmp?: HTMLElement;
|
|
7
|
+
suffixCmp?: HTMLElement;
|
|
8
|
+
}
|
|
9
|
+
export declare const CardCvc: {
|
|
10
|
+
({ variant, width, borderColor, hoverBorderColor, focusBorderColor, errorColor, error, isFocused, label }: ICardCvc): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
variant: TextfieldVariant;
|
|
13
|
+
helperColor: Colors;
|
|
14
|
+
errorColor: Colors;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { CardExpiryElementProps } from '@stripe/react-stripe-js';
|
|
2
|
-
import { TextfieldVariant } from '../../styleEnums';
|
|
3
|
-
import { Colors } from '../../theming';
|
|
4
|
-
import { ITextFieldContainerStyle } from '../Level2';
|
|
5
|
-
export interface ICardExpiry extends ITextFieldContainerStyle, CardExpiryElementProps {
|
|
6
|
-
prefixCmp?: HTMLElement;
|
|
7
|
-
suffixCmp?: HTMLElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const CardExpiry: {
|
|
10
|
-
({ variant, width, borderColor, hoverBorderColor, focusBorderColor, errorColor, error, isFocused, label }: ICardExpiry): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
variant: TextfieldVariant;
|
|
13
|
-
helperColor: Colors;
|
|
14
|
-
errorColor: Colors;
|
|
15
|
-
width: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
1
|
+
import { CardExpiryElementProps } from '@stripe/react-stripe-js';
|
|
2
|
+
import { TextfieldVariant } from '../../styleEnums';
|
|
3
|
+
import { Colors } from '../../theming';
|
|
4
|
+
import { ITextFieldContainerStyle } from '../Level2';
|
|
5
|
+
export interface ICardExpiry extends ITextFieldContainerStyle, CardExpiryElementProps {
|
|
6
|
+
prefixCmp?: HTMLElement;
|
|
7
|
+
suffixCmp?: HTMLElement;
|
|
8
|
+
}
|
|
9
|
+
export declare const CardExpiry: {
|
|
10
|
+
({ variant, width, borderColor, hoverBorderColor, focusBorderColor, errorColor, error, isFocused, label }: ICardExpiry): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
variant: TextfieldVariant;
|
|
13
|
+
helperColor: Colors;
|
|
14
|
+
errorColor: Colors;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { CardNumberElementProps } from '@stripe/react-stripe-js';
|
|
2
|
-
import { TextfieldVariant } from '../../styleEnums';
|
|
3
|
-
import { Colors } from '../../theming';
|
|
4
|
-
import { ITextFieldContainerStyle } from '../Level2';
|
|
5
|
-
export interface ICardNumber extends ITextFieldContainerStyle, CardNumberElementProps {
|
|
6
|
-
prefixCmp?: HTMLElement;
|
|
7
|
-
suffixCmp?: HTMLElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const CardNumber: {
|
|
10
|
-
({ variant, width, borderColor, hoverBorderColor, focusBorderColor, errorColor, error, isFocused, label }: ICardNumber): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
variant: TextfieldVariant;
|
|
13
|
-
helperColor: Colors;
|
|
14
|
-
errorColor: Colors;
|
|
15
|
-
width: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
1
|
+
import { CardNumberElementProps } from '@stripe/react-stripe-js';
|
|
2
|
+
import { TextfieldVariant } from '../../styleEnums';
|
|
3
|
+
import { Colors } from '../../theming';
|
|
4
|
+
import { ITextFieldContainerStyle } from '../Level2';
|
|
5
|
+
export interface ICardNumber extends ITextFieldContainerStyle, CardNumberElementProps {
|
|
6
|
+
prefixCmp?: HTMLElement;
|
|
7
|
+
suffixCmp?: HTMLElement;
|
|
8
|
+
}
|
|
9
|
+
export declare const CardNumber: {
|
|
10
|
+
({ variant, width, borderColor, hoverBorderColor, focusBorderColor, errorColor, error, isFocused, label }: ICardNumber): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
variant: TextfieldVariant;
|
|
13
|
+
helperColor: Colors;
|
|
14
|
+
errorColor: Colors;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface IStripeProvider {
|
|
3
|
-
stripeKey?: string;
|
|
4
|
-
}
|
|
5
|
-
interface IStripeProviderChildren {
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const StripeProvider: (props: IStripeProvider & IStripeProviderChildren) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface IStripeProvider {
|
|
3
|
+
stripeKey?: string;
|
|
4
|
+
}
|
|
5
|
+
interface IStripeProviderChildren {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const StripeProvider: (props: IStripeProvider & IStripeProviderChildren) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Stripe } from '@stripe/stripe-js';
|
|
2
|
-
export interface IStripeContext {
|
|
3
|
-
stripeObject: Stripe | null;
|
|
4
|
-
}
|
|
5
|
-
export declare const defaultStripeContext: IStripeContext;
|
|
6
|
-
export declare const StripeContext: import("react").Context<IStripeContext>;
|
|
1
|
+
import { Stripe } from '@stripe/stripe-js';
|
|
2
|
+
export interface IStripeContext {
|
|
3
|
+
stripeObject: Stripe | null;
|
|
4
|
+
}
|
|
5
|
+
export declare const defaultStripeContext: IStripeContext;
|
|
6
|
+
export declare const StripeContext: import("react").Context<IStripeContext>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Stripe, StripeElements } from '@stripe/stripe-js';
|
|
2
|
-
export declare const createStripePayment: (stripe: Stripe, elements: StripeElements) => Promise<import("@stripe/stripe-js").PaymentMethodResult>;
|
|
3
|
-
export declare const confirmStripePayment: (clientSecret: string, stripe: Stripe | null, elements: StripeElements | null) => Promise<import("@stripe/stripe-js").PaymentIntentResult>;
|
|
4
|
-
export declare const saveStripeSetup: (stripe: Stripe | null, elements: StripeElements | null) => Promise<import("@stripe/stripe-js").SetupIntentResult>;
|
|
5
|
-
export declare const checkSetupIntent: (stripe: Stripe | null, clientSecret: string) => Promise<import("@stripe/stripe-js").SetupIntentResult>;
|
|
1
|
+
import { Stripe, StripeElements } from '@stripe/stripe-js';
|
|
2
|
+
export declare const createStripePayment: (stripe: Stripe, elements: StripeElements) => Promise<import("@stripe/stripe-js").PaymentMethodResult>;
|
|
3
|
+
export declare const confirmStripePayment: (clientSecret: string, stripe: Stripe | null, elements: StripeElements | null) => Promise<import("@stripe/stripe-js").PaymentIntentResult>;
|
|
4
|
+
export declare const saveStripeSetup: (stripe: Stripe | null, elements: StripeElements | null) => Promise<import("@stripe/stripe-js").SetupIntentResult>;
|
|
5
|
+
export declare const checkSetupIntent: (stripe: Stripe | null, clientSecret: string) => Promise<import("@stripe/stripe-js").SetupIntentResult>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './StripeProvider';
|
|
2
|
-
export * from './context';
|
|
3
|
-
export * from './CardNumber';
|
|
4
|
-
export * from './CardCvc';
|
|
5
|
-
export * from './CardExpiry';
|
|
6
|
-
export * from './functions';
|
|
1
|
+
export * from './StripeProvider';
|
|
2
|
+
export * from './context';
|
|
3
|
+
export * from './CardNumber';
|
|
4
|
+
export * from './CardCvc';
|
|
5
|
+
export * from './CardExpiry';
|
|
6
|
+
export * from './functions';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
-
import { IAutocompleteUI } from './AutocompleteUI';
|
|
3
|
-
export interface IAutocomplete extends IDataContextInput, IDataContextExtender, IAutocompleteUI, IDataLayerActions {
|
|
4
|
-
}
|
|
5
|
-
export declare const Autocomplete: {
|
|
6
|
-
({ onChange, parseFilter, parseOptions, label, value, multiple, helperColor, helperText, error, width, suffixCmp, prefixCmp, readOnly, placeholder, footer, type, onBlur, targetCardType, setFilter, setPage, setLimit, setSort, showListExternally, ...props }: IAutocomplete): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
defaultProps: {
|
|
8
|
-
limit: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
1
|
+
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
+
import { IAutocompleteUI } from './AutocompleteUI';
|
|
3
|
+
export interface IAutocomplete extends IDataContextInput, IDataContextExtender, IAutocompleteUI, IDataLayerActions {
|
|
4
|
+
}
|
|
5
|
+
export declare const Autocomplete: {
|
|
6
|
+
({ onChange, parseFilter, parseOptions, label, value, multiple, helperColor, helperText, error, width, suffixCmp, prefixCmp, readOnly, placeholder, footer, type, onBlur, targetCardType, setFilter, setPage, setLimit, setSort, showListExternally, ...props }: IAutocomplete): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
limit: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { TextInputTypes } from '../../../styleEnums';
|
|
3
|
-
import { EmptyFunctionHandler, IField, IFieldStyle } from '../../../generalTypes';
|
|
4
|
-
import { TargetCardType } from '../../Level2';
|
|
5
|
-
import { IOption, OptionChangeHandler, ParseFilterHandler, ParseOptionsHandler } from './types';
|
|
6
|
-
import { IOptionStyling } from './OptionDiv';
|
|
7
|
-
export interface IAutocompleteUI extends IField, IFieldStyle, IOptionStyling {
|
|
8
|
-
parseOptions?: ParseOptionsHandler;
|
|
9
|
-
parseFilter: ParseFilterHandler;
|
|
10
|
-
onChange: OptionChangeHandler;
|
|
11
|
-
value?: IOption | IOption[];
|
|
12
|
-
multiple?: boolean;
|
|
13
|
-
showListExternally?: boolean;
|
|
14
|
-
suffixCmp?: ReactNode;
|
|
15
|
-
prefixCmp?: ReactNode;
|
|
16
|
-
footer?: ReactNode;
|
|
17
|
-
type?: TextInputTypes;
|
|
18
|
-
onBlur?: EmptyFunctionHandler;
|
|
19
|
-
targetCardType?: TargetCardType;
|
|
20
|
-
}
|
|
21
|
-
export declare const AutocompleteUI: ({ footer, value, onChange, fontFamily, hoverBackgroundColor, multiple, readOnly, width, parseOptions, parseFilter, targetCardType, ...props }: IAutocompleteUI) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TextInputTypes } from '../../../styleEnums';
|
|
3
|
+
import { EmptyFunctionHandler, IField, IFieldStyle } from '../../../generalTypes';
|
|
4
|
+
import { TargetCardType } from '../../Level2';
|
|
5
|
+
import { IOption, OptionChangeHandler, ParseFilterHandler, ParseOptionsHandler } from './types';
|
|
6
|
+
import { IOptionStyling } from './OptionDiv';
|
|
7
|
+
export interface IAutocompleteUI extends IField, IFieldStyle, IOptionStyling {
|
|
8
|
+
parseOptions?: ParseOptionsHandler;
|
|
9
|
+
parseFilter: ParseFilterHandler;
|
|
10
|
+
onChange: OptionChangeHandler;
|
|
11
|
+
value?: IOption | IOption[];
|
|
12
|
+
multiple?: boolean;
|
|
13
|
+
showListExternally?: boolean;
|
|
14
|
+
suffixCmp?: ReactNode;
|
|
15
|
+
prefixCmp?: ReactNode;
|
|
16
|
+
footer?: ReactNode;
|
|
17
|
+
type?: TextInputTypes;
|
|
18
|
+
onBlur?: EmptyFunctionHandler;
|
|
19
|
+
targetCardType?: TargetCardType;
|
|
20
|
+
}
|
|
21
|
+
export declare const AutocompleteUI: ({ footer, value, onChange, fontFamily, hoverBackgroundColor, multiple, readOnly, width, parseOptions, parseFilter, targetCardType, ...props }: IAutocompleteUI) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IOption, OptionSelectHandler, OptionUnSelectHandler } from './types';
|
|
2
|
-
export interface IOptionStyling {
|
|
3
|
-
hoverBackgroundColor?: string;
|
|
4
|
-
fontFamily?: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IOptionDiv extends IOptionStyling {
|
|
7
|
-
selected?: IOption | IOption[];
|
|
8
|
-
option: IOption;
|
|
9
|
-
onSelect: OptionSelectHandler;
|
|
10
|
-
onUnSelect: OptionUnSelectHandler;
|
|
11
|
-
}
|
|
12
|
-
export declare const OptionDiv: ({ option, onSelect, onUnSelect, selected, fontFamily, ...props }: IOptionDiv) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { IOption, OptionSelectHandler, OptionUnSelectHandler } from './types';
|
|
2
|
+
export interface IOptionStyling {
|
|
3
|
+
hoverBackgroundColor?: string;
|
|
4
|
+
fontFamily?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IOptionDiv extends IOptionStyling {
|
|
7
|
+
selected?: IOption | IOption[];
|
|
8
|
+
option: IOption;
|
|
9
|
+
onSelect: OptionSelectHandler;
|
|
10
|
+
onUnSelect: OptionUnSelectHandler;
|
|
11
|
+
}
|
|
12
|
+
export declare const OptionDiv: ({ option, onSelect, onUnSelect, selected, fontFamily, ...props }: IOptionDiv) => import("react/jsx-runtime").JSX.Element;
|