@piu-company/react-toolkit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/dist/AppProvider.d.ts +16 -0
- package/dist/animations/QuadSpinner.d.ts +13 -0
- package/dist/animations/Ripple.d.ts +15 -0
- package/dist/animations/SvgAnimations.d.ts +11 -0
- package/dist/animations/index.d.ts +3 -0
- package/dist/authentication/AuthenticationProvider.d.ts +11 -0
- package/dist/authentication/context.d.ts +6 -0
- package/dist/authentication/duck.d.ts +36 -0
- package/dist/authentication/index.d.ts +4 -0
- package/dist/authentication/types.d.ts +1 -0
- package/dist/axios.d.ts +62 -0
- package/dist/breadCrumb/BreadCrumbProvider.d.ts +5 -0
- package/dist/breadCrumb/context.d.ts +9 -0
- package/dist/breadCrumb/index.d.ts +3 -0
- package/dist/breadCrumb/types.d.ts +4 -0
- package/dist/components/Consumers/NotificationConsumer.d.ts +1 -0
- package/dist/components/Consumers/SnackbarsConsumer.d.ts +1 -0
- package/dist/components/Consumers/ToolTipConsumer.d.ts +1 -0
- package/dist/components/Consumers/index.d.ts +3 -0
- package/dist/components/Firebase/FbImage.d.ts +7 -0
- package/dist/components/Firebase/index.d.ts +2 -0
- package/dist/components/Firebase/types.d.ts +14 -0
- package/dist/components/Forms/ChangePassword.d.ts +9 -0
- package/dist/components/Forms/index.d.ts +1 -0
- package/dist/components/GoogleCalendar/GoogleCalendarProvider.d.ts +6 -0
- package/dist/components/GoogleCalendar/context.d.ts +6 -0
- package/dist/components/GoogleCalendar/index.d.ts +2 -0
- package/dist/components/GoogleCalendar/types.d.ts +10 -0
- package/dist/components/GoogleMaps/GMap.d.ts +27 -0
- package/dist/components/GoogleMaps/GMapInput.d.ts +15 -0
- package/dist/components/GoogleMaps/GoogleMapsProvider.d.ts +6 -0
- package/dist/components/GoogleMaps/context.d.ts +6 -0
- package/dist/components/GoogleMaps/index.d.ts +4 -0
- package/dist/components/Layout/TitledRow.d.ts +14 -0
- package/dist/components/Layout/index.d.ts +1 -0
- package/dist/components/Level1/A.d.ts +6 -0
- package/dist/components/Level1/Button.d.ts +29 -0
- package/dist/components/Level1/Container.d.ts +57 -0
- package/dist/components/Level1/DropdownButton.d.ts +11 -0
- package/dist/components/Level1/FadeInOut.d.ts +8 -0
- package/dist/components/Level1/Hr.d.ts +13 -0
- package/dist/components/Level1/Icon.d.ts +18 -0
- package/dist/components/Level1/Slider.d.ts +19 -0
- package/dist/components/Level1/Spacer.d.ts +5 -0
- package/dist/components/Level1/Typography.d.ts +37 -0
- package/dist/components/Level1/index.d.ts +10 -0
- package/dist/components/Level2/Card.d.ts +9 -0
- package/dist/components/Level2/Checkbox.d.ts +29 -0
- package/dist/components/Level2/Cover.d.ts +10 -0
- package/dist/components/Level2/DatePicker/DatePicker.d.ts +18 -0
- package/dist/components/Level2/DatePicker/DayPicker.d.ts +43 -0
- package/dist/components/Level2/DatePicker/MonthPicker.d.ts +27 -0
- package/dist/components/Level2/DatePicker/index.d.ts +4 -0
- package/dist/components/Level2/DatePicker/types.d.ts +8 -0
- package/dist/components/Level2/FloatingDiv.d.ts +17 -0
- package/dist/components/Level2/IconButton.d.ts +23 -0
- package/dist/components/Level2/Linker.d.ts +7 -0
- package/dist/components/Level2/MultiButtonSelect.d.ts +24 -0
- package/dist/components/Level2/Overlay.d.ts +36 -0
- package/dist/components/Level2/PanelForm/PanelForm.d.ts +9 -0
- package/dist/components/Level2/PanelForm/PanelFormContent.d.ts +5 -0
- package/dist/components/Level2/PanelForm/PanelFormSaveSection.d.ts +10 -0
- package/dist/components/Level2/PanelForm/PanelFormSection.d.ts +6 -0
- package/dist/components/Level2/PanelForm/PanelFormTitleSection.d.ts +6 -0
- package/dist/components/Level2/PanelForm/index.d.ts +5 -0
- package/dist/components/Level2/PillContainer.d.ts +13 -0
- package/dist/components/Level2/RadioButton.d.ts +10 -0
- package/dist/components/Level2/SideMenu/SideMenu.d.ts +24 -0
- package/dist/components/Level2/SideMenu/SideMenuButton.d.ts +16 -0
- package/dist/components/Level2/SideMenu/SideMenuNav.d.ts +12 -0
- package/dist/components/Level2/SideMenu/index.d.ts +3 -0
- package/dist/components/Level2/SideMenu/types.d.ts +25 -0
- package/dist/components/Level2/SocialButtons/FacebookButton.d.ts +12 -0
- package/dist/components/Level2/SocialButtons/GoogleButton.d.ts +12 -0
- package/dist/components/Level2/SocialButtons/index.d.ts +2 -0
- package/dist/components/Level2/Switch.d.ts +11 -0
- package/dist/components/Level2/TargetCard.d.ts +42 -0
- package/dist/components/Level2/TextField/Masker.d.ts +13 -0
- package/dist/components/Level2/TextField/TextField.d.ts +16 -0
- package/dist/components/Level2/TextField/TextFieldContainer.d.ts +19 -0
- package/dist/components/Level2/TextField/index.d.ts +3 -0
- package/dist/components/Level2/ThemeToggle.d.ts +5 -0
- package/dist/components/Level2/Tooltip.d.ts +21 -0
- package/dist/components/Level2/Uploader/UploadPreview.d.ts +9 -0
- package/dist/components/Level2/Uploader/Uploader.d.ts +30 -0
- package/dist/components/Level2/Uploader/index.d.ts +3 -0
- package/dist/components/Level2/Uploader/types.d.ts +7 -0
- package/dist/components/Level2/index.d.ts +20 -0
- package/dist/components/Level3/AreaChart.d.ts +29 -0
- package/dist/components/Level3/BarChart.d.ts +26 -0
- package/dist/components/Level3/BreadCrumb.d.ts +5 -0
- package/dist/components/Level3/Chart.d.ts +22 -0
- package/dist/components/Level3/ColorPicker.d.ts +9 -0
- package/dist/components/Level3/DashboardCard.d.ts +18 -0
- package/dist/components/Level3/DashboardCardV2.d.ts +13 -0
- package/dist/components/Level3/DashboardSelector/DashboardSelector.d.ts +8 -0
- package/dist/components/Level3/DashboardSelector/index.d.ts +2 -0
- package/dist/components/Level3/DashboardSelector/types.d.ts +4 -0
- package/dist/components/Level3/DateField.d.ts +31 -0
- package/dist/components/Level3/FloatingIconButton.d.ts +19 -0
- package/dist/components/Level3/FloatingIconButtonList.d.ts +13 -0
- package/dist/components/Level3/FullScreenButton.d.ts +2 -0
- package/dist/components/Level3/ListEditor.d.ts +12 -0
- package/dist/components/Level3/MultiChart.d.ts +27 -0
- package/dist/components/Level3/OptionSelector/OptionSelector.d.ts +18 -0
- package/dist/components/Level3/OptionSelector/index.d.ts +2 -0
- package/dist/components/Level3/OptionSelector/types.d.ts +8 -0
- package/dist/components/Level3/OverlayTopBar.d.ts +32 -0
- package/dist/components/Level3/PasswordField.d.ts +17 -0
- package/dist/components/Level3/PhoneField/PhoneField.d.ts +12 -0
- package/dist/components/Level3/PhoneField/PhoneSelection.d.ts +15 -0
- package/dist/components/Level3/PhoneField/countryData.d.ts +7 -0
- package/dist/components/Level3/PhoneField/flags/index.d.ts +243 -0
- package/dist/components/Level3/PhoneField/functions.d.ts +4 -0
- package/dist/components/Level3/PhoneField/index.d.ts +6 -0
- package/dist/components/Level3/PhoneField/types.d.ts +5 -0
- package/dist/components/Level3/PieChart.d.ts +30 -0
- package/dist/components/Level3/Popup.d.ts +23 -0
- package/dist/components/Level3/ProfileBox.d.ts +27 -0
- package/dist/components/Level3/Snackbar.d.ts +16 -0
- package/dist/components/Level3/TimeField/TimeField.d.ts +22 -0
- package/dist/components/Level3/TimeField/TimePicker.d.ts +24 -0
- package/dist/components/Level3/TimeField/index.d.ts +2 -0
- package/dist/components/Level3/Topbar.d.ts +36 -0
- package/dist/components/Level3/index.d.ts +24 -0
- package/dist/components/Level4/ConfirmPopup.d.ts +14 -0
- package/dist/components/Level4/index.d.ts +1 -0
- package/dist/components/NextJS/NEXTGlobalStyle.d.ts +7 -0
- package/dist/components/NextJS/index.d.ts +2 -0
- package/dist/components/NextJS/utils.d.ts +1 -0
- package/dist/components/Stripe/CardCvc.d.ts +17 -0
- package/dist/components/Stripe/CardExpiry.d.ts +17 -0
- package/dist/components/Stripe/CardNumber.d.ts +17 -0
- package/dist/components/Stripe/StripeProvider.d.ts +9 -0
- package/dist/components/Stripe/context.d.ts +7 -0
- package/dist/components/Stripe/functions.d.ts +5 -0
- package/dist/components/Stripe/index.d.ts +6 -0
- package/dist/components/UseDataLayer/Autocomplete/Autocomplete.d.ts +10 -0
- package/dist/components/UseDataLayer/Autocomplete/AutocompleteUI.d.ts +21 -0
- package/dist/components/UseDataLayer/Autocomplete/OptionDiv.d.ts +12 -0
- package/dist/components/UseDataLayer/Autocomplete/Selection.d.ts +13 -0
- package/dist/components/UseDataLayer/Autocomplete/index.d.ts +5 -0
- package/dist/components/UseDataLayer/Autocomplete/types.d.ts +10 -0
- package/dist/components/UseDataLayer/CountrySelection.d.ts +11 -0
- package/dist/components/UseDataLayer/EntityList/EntityList.d.ts +10 -0
- package/dist/components/UseDataLayer/EntityList/EntityListUI.d.ts +12 -0
- package/dist/components/UseDataLayer/EntityList/index.d.ts +3 -0
- package/dist/components/UseDataLayer/EntityList/types.d.ts +1 -0
- package/dist/components/UseDataLayer/Table/Header.d.ts +24 -0
- package/dist/components/UseDataLayer/Table/PaginationControl.d.ts +8 -0
- package/dist/components/UseDataLayer/Table/Row.d.ts +22 -0
- package/dist/components/UseDataLayer/Table/ShowingControl.d.ts +18 -0
- package/dist/components/UseDataLayer/Table/ShowingFooter.d.ts +6 -0
- package/dist/components/UseDataLayer/Table/Table.d.ts +10 -0
- package/dist/components/UseDataLayer/Table/TableUI.d.ts +24 -0
- package/dist/components/UseDataLayer/Table/index.d.ts +8 -0
- package/dist/components/UseDataLayer/Table/types.d.ts +13 -0
- package/dist/components/UseDataLayer/TownSelection.d.ts +11 -0
- package/dist/components/UseDataLayer/index.d.ts +5 -0
- package/dist/components/UseRedux/Sidebar/Sidebar.d.ts +48 -0
- package/dist/components/UseRedux/Sidebar/SidebarButton.d.ts +25 -0
- package/dist/components/UseRedux/Sidebar/SidebarTitle.d.ts +14 -0
- package/dist/components/UseRedux/Sidebar/SidebarToggler.d.ts +16 -0
- package/dist/components/UseRedux/Sidebar/duck.d.ts +30 -0
- package/dist/components/UseRedux/Sidebar/index.d.ts +6 -0
- package/dist/components/UseRedux/Sidebar/types.d.ts +13 -0
- package/dist/components/UseRedux/index.d.ts +1 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/components/pages/AuthPage/AuthPage.d.ts +18 -0
- package/dist/components/pages/AuthPage/index.d.ts +2 -0
- package/dist/components/pages/AuthPage/types.d.ts +14 -0
- package/dist/components/pages/AuthPageV2.d.ts +16 -0
- package/dist/components/pages/ErrorPage.d.ts +13 -0
- package/dist/components/pages/ForbiddenPage.d.ts +15 -0
- package/dist/components/pages/ForgotPasswordPage/ForgotPasswordForm.d.ts +5 -0
- package/dist/components/pages/ForgotPasswordPage/ForgotPasswordPage.d.ts +4 -0
- package/dist/components/pages/ForgotPasswordPage/index.d.ts +2 -0
- package/dist/components/pages/LoadingPage.d.ts +14 -0
- package/dist/components/pages/LoginPage/LoginForm.d.ts +20 -0
- package/dist/components/pages/LoginPage/LoginPage.d.ts +9 -0
- package/dist/components/pages/LoginPage/index.d.ts +2 -0
- package/dist/components/pages/LogoutPage.d.ts +5 -0
- package/dist/components/pages/NotFoundPage.d.ts +6 -0
- package/dist/components/pages/UnverifiedUserPage.d.ts +6 -0
- package/dist/components/pages/index.d.ts +10 -0
- package/dist/contextCheckers.d.ts +4 -0
- package/dist/dataEnums.d.ts +370 -0
- package/dist/dataLayer/DataContext.d.ts +12 -0
- package/dist/dataLayer/DataProvider.d.ts +53 -0
- package/dist/dataLayer/duck.d.ts +32 -0
- package/dist/dataLayer/index.d.ts +4 -0
- package/dist/dataLayer/types.d.ts +17 -0
- package/dist/generalTypes.d.ts +48 -0
- package/dist/geoUtils.d.ts +35 -0
- package/dist/hooks/index.d.ts +8 -0
- package/dist/hooks/types.d.ts +3 -0
- package/dist/hooks/useClickOutside.d.ts +3 -0
- package/dist/hooks/useCombinedRef.d.ts +1 -0
- package/dist/hooks/useEnterSubmit.d.ts +2 -0
- package/dist/hooks/useFBAuth.d.ts +2 -0
- package/dist/hooks/useInterval.d.ts +2 -0
- package/dist/hooks/useResize.d.ts +2 -0
- package/dist/hooks/useTimeout.d.ts +2 -0
- package/dist/index.cjs.js +56506 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.esm.js +56002 -0
- package/dist/masker.d.ts +15 -0
- package/dist/navigation/NavProvider.d.ts +7 -0
- package/dist/navigation/context.d.ts +7 -0
- package/dist/navigation/index.d.ts +3 -0
- package/dist/navigation/types.d.ts +6 -0
- package/dist/notification/NotificationProvider.d.ts +21 -0
- package/dist/notification/context.d.ts +9 -0
- package/dist/notification/duck.d.ts +30 -0
- package/dist/notification/index.d.ts +3 -0
- package/dist/redux.d.ts +25 -0
- package/dist/size/SizeProvider.d.ts +6 -0
- package/dist/size/context.d.ts +6 -0
- package/dist/size/index.d.ts +3 -0
- package/dist/size/types.d.ts +5 -0
- package/dist/snackbar/SnackbarProvider.d.ts +5 -0
- package/dist/snackbar/context.d.ts +9 -0
- package/dist/snackbar/functions.d.ts +14 -0
- package/dist/snackbar/index.d.ts +4 -0
- package/dist/snackbar/types.d.ts +28 -0
- package/dist/styleEnums.d.ts +156 -0
- package/dist/theming/ThemeProvider.d.ts +26 -0
- package/dist/theming/context.d.ts +12 -0
- package/dist/theming/duck.d.ts +23 -0
- package/dist/theming/functions.d.ts +2 -0
- package/dist/theming/index.d.ts +5 -0
- package/dist/theming/types.d.ts +60 -0
- package/dist/tooltip/ToolTipProvider.d.ts +5 -0
- package/dist/tooltip/context.d.ts +11 -0
- package/dist/tooltip/index.d.ts +3 -0
- package/dist/tooltip/types.d.ts +8 -0
- package/dist/tsconfig.rollup.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils.d.ts +39 -0
- package/package.json +81 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { APIFunctionHandler } from '../../dataLayer';
|
|
3
|
+
import { DashboardSelectorVariant } from './DashboardSelector';
|
|
4
|
+
import { ISelectorOption } from './OptionSelector';
|
|
5
|
+
export interface PiechartData {
|
|
6
|
+
name: string;
|
|
7
|
+
value: number;
|
|
8
|
+
color: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IPieChart<APIResult, DataType> {
|
|
11
|
+
title: string;
|
|
12
|
+
subtitle?: ReactNode;
|
|
13
|
+
data?: PiechartData[] | DataType;
|
|
14
|
+
apiCall?: APIFunctionHandler;
|
|
15
|
+
parseResponse?: (data: APIResult) => DataType;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
options?: ISelectorOption[];
|
|
19
|
+
value?: string;
|
|
20
|
+
variant?: DashboardSelectorVariant;
|
|
21
|
+
chartWidth: number;
|
|
22
|
+
chartHeight: number;
|
|
23
|
+
dataKey: string;
|
|
24
|
+
outerRadius?: number;
|
|
25
|
+
innerRadius?: number;
|
|
26
|
+
fill?: string;
|
|
27
|
+
label?: boolean;
|
|
28
|
+
displayLegend?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare const Piechart: <APIResult, DataType>(props: IPieChart<APIResult, DataType>) => JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Alignment, ZIndexLayers } from '../../styleEnums';
|
|
3
|
+
import { Colors } from '../../theming';
|
|
4
|
+
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
5
|
+
export interface IPopup {
|
|
6
|
+
width?: string;
|
|
7
|
+
height?: string;
|
|
8
|
+
zIndex?: ZIndexLayers | number;
|
|
9
|
+
crossAxis?: Alignment;
|
|
10
|
+
dismissable?: boolean;
|
|
11
|
+
timeout?: number;
|
|
12
|
+
onClose?: EmptyFunctionHandler;
|
|
13
|
+
backgroundColor?: Colors | string;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const Popup: {
|
|
17
|
+
(props: IPopup): JSX.Element;
|
|
18
|
+
defaultProps: {
|
|
19
|
+
backgroundColor: Colors;
|
|
20
|
+
crossAxis: Alignment;
|
|
21
|
+
zIndex: ZIndexLayers;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +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): JSX.Element;
|
|
21
|
+
defaultProps: {
|
|
22
|
+
name: string;
|
|
23
|
+
subText: string;
|
|
24
|
+
forceDirection: TargetCardDirection;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +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) => JSX.Element;
|
|
@@ -0,0 +1,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
|
+
}
|
|
16
|
+
export declare const TimeField: {
|
|
17
|
+
({ value, iconNormal, iconFocus, width, label, error, helperText, placeholder, readOnly, ...props }: ITimeField): JSX.Element;
|
|
18
|
+
defaultProps: {
|
|
19
|
+
iconNormal: Colors;
|
|
20
|
+
iconFocus: Colors;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Moment } from 'moment';
|
|
3
|
+
import { MomentHandler } from '../../../generalTypes';
|
|
4
|
+
import { Colors, Settings } from '../../../theming';
|
|
5
|
+
import { ITargetCard } from '../../Level2';
|
|
6
|
+
export interface ITimePicker extends ITimePickerStyle, ITargetCard {
|
|
7
|
+
onChange: MomentHandler;
|
|
8
|
+
setOpen: (newOpen: boolean) => void;
|
|
9
|
+
value?: Moment;
|
|
10
|
+
hourStep?: number;
|
|
11
|
+
minuteStep?: number;
|
|
12
|
+
startTime?: Moment;
|
|
13
|
+
minSlotTime?: number;
|
|
14
|
+
hidePast?: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface ITimePickerStyle {
|
|
17
|
+
backgroundColor?: Colors | string;
|
|
18
|
+
hoverColor?: Colors | string;
|
|
19
|
+
selectedColor?: Colors | string;
|
|
20
|
+
borderColor?: Colors | string;
|
|
21
|
+
borderRadius?: Settings | string;
|
|
22
|
+
}
|
|
23
|
+
export declare const TimePicker: import("react").ForwardRefExoticComponent<ITimePicker & import("react").RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +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): 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
|
+
};
|
|
@@ -0,0 +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';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ZIndexLayers } from '../..';
|
|
2
|
+
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
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) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ConfirmPopup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getNextJSEnvVariables: (target: string) => string | undefined;
|
|
@@ -0,0 +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): JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
variant: TextfieldVariant;
|
|
13
|
+
helperColor: Colors;
|
|
14
|
+
errorColor: Colors;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +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): JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
variant: TextfieldVariant;
|
|
13
|
+
helperColor: Colors;
|
|
14
|
+
errorColor: Colors;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +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): JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
variant: TextfieldVariant;
|
|
13
|
+
helperColor: Colors;
|
|
14
|
+
errorColor: Colors;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +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) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Stripe } from '@stripe/stripe-js';
|
|
3
|
+
export interface IStripeContext {
|
|
4
|
+
stripeObject: Stripe | null;
|
|
5
|
+
}
|
|
6
|
+
export declare const defaultStripeContext: IStripeContext;
|
|
7
|
+
export declare const StripeContext: import("react").Context<IStripeContext>;
|
|
@@ -0,0 +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>;
|
|
@@ -0,0 +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): JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
limit: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +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) => JSX.Element;
|
|
@@ -0,0 +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) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IOptionStyling } from './OptionDiv';
|
|
3
|
+
import { ITargetCard } from '../../Level2';
|
|
4
|
+
import { IOption, OptionSelectHandler, OptionUnSelectHandler } from './types';
|
|
5
|
+
export interface ISelection extends IOptionStyling, ITargetCard {
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
selected?: IOption | IOption[];
|
|
8
|
+
options: IOption[];
|
|
9
|
+
onSelect: OptionSelectHandler;
|
|
10
|
+
onUnSelect: OptionUnSelectHandler;
|
|
11
|
+
footer?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const Selection: import("react").ForwardRefExoticComponent<ISelection & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface IOption {
|
|
2
|
+
id: string;
|
|
3
|
+
display: string;
|
|
4
|
+
data?: any;
|
|
5
|
+
}
|
|
6
|
+
export type OptionChangeHandler = (option: IOption | IOption[] | null) => void;
|
|
7
|
+
export type OptionSelectHandler = (option: IOption | null) => void;
|
|
8
|
+
export type OptionUnSelectHandler = (option: IOption) => void;
|
|
9
|
+
export type ParseOptionsHandler = (data: any) => IOption[];
|
|
10
|
+
export type ParseFilterHandler = (query: string) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TargetCardType } from '../Level2';
|
|
2
|
+
import { IOption, OptionChangeHandler } from './Autocomplete';
|
|
3
|
+
export interface ICountrySelection {
|
|
4
|
+
label?: string;
|
|
5
|
+
width?: string;
|
|
6
|
+
country: IOption | IOption[];
|
|
7
|
+
setCountry: OptionChangeHandler;
|
|
8
|
+
error?: string;
|
|
9
|
+
targetCardType?: TargetCardType;
|
|
10
|
+
}
|
|
11
|
+
export declare const CountrySelection: (props: ICountrySelection) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
+
import { IEntityListUI } from './EntityListUI';
|
|
3
|
+
export interface IEntityList extends IDataContextInput, IDataContextExtender, IEntityListUI, IDataLayerActions {
|
|
4
|
+
}
|
|
5
|
+
export declare const EntityList: {
|
|
6
|
+
({ displayName, entityName, selected, setSelected, onDelete, parseData, parseSearch, extraApiCall, setFilter, setPage, setLimit, setSort, ...props }: IEntityList): JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
enterSubmit: boolean;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ListSelectionHandler } from './types';
|
|
2
|
+
export interface IEntityListUI {
|
|
3
|
+
displayName: string;
|
|
4
|
+
entityName: string;
|
|
5
|
+
selected?: string[];
|
|
6
|
+
extraApiCall?: (data: any) => Promise<any>;
|
|
7
|
+
setSelected: ListSelectionHandler;
|
|
8
|
+
onDelete: (data: any) => Promise<void>;
|
|
9
|
+
parseData: (data: any) => any[];
|
|
10
|
+
parseSearch: (query: string) => any;
|
|
11
|
+
}
|
|
12
|
+
export declare const EntityListUI: ({ parseSearch, ...props }: IEntityListUI) => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ListSelectionHandler = (data: any) => void;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SortHandler } from '../../../dataLayer';
|
|
2
|
+
import { Sort } from '../../../dataLayer';
|
|
3
|
+
import { Colors, Settings } from '../../../theming';
|
|
4
|
+
import { HeaderHandler, RowSelectableHandler, SelectionHandler } from './types';
|
|
5
|
+
interface IHeaderStyle {
|
|
6
|
+
color?: Colors | string;
|
|
7
|
+
border?: Settings | string;
|
|
8
|
+
borderColor?: Colors | string;
|
|
9
|
+
footer?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IHeader {
|
|
12
|
+
footer?: boolean;
|
|
13
|
+
keyName: string;
|
|
14
|
+
headers: any[];
|
|
15
|
+
rows: any[];
|
|
16
|
+
selected?: any[];
|
|
17
|
+
setGeneratedHeaders: HeaderHandler;
|
|
18
|
+
setSelected?: SelectionHandler;
|
|
19
|
+
sort?: Sort;
|
|
20
|
+
setSort?: SortHandler;
|
|
21
|
+
rowSelectable?: RowSelectableHandler;
|
|
22
|
+
}
|
|
23
|
+
export declare const Header: ({ setGeneratedHeaders, rowSelectable, headers, ...props }: IHeader & IHeaderStyle) => JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Colors, Settings } from '../../../theming';
|
|
2
|
+
import { HeaderType, SelectionHandler } from './types';
|
|
3
|
+
interface IRowStyle {
|
|
4
|
+
clickable?: boolean;
|
|
5
|
+
border?: Settings | string;
|
|
6
|
+
borderColor?: Colors | string;
|
|
7
|
+
altBackgroundColor?: Colors | string;
|
|
8
|
+
last?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface IRow extends IRowStyle {
|
|
11
|
+
selectableRow?: boolean;
|
|
12
|
+
shadeEven?: boolean;
|
|
13
|
+
selected?: string[];
|
|
14
|
+
setSelected?: SelectionHandler;
|
|
15
|
+
keyName: string;
|
|
16
|
+
headers: HeaderType[];
|
|
17
|
+
row: any;
|
|
18
|
+
index: number;
|
|
19
|
+
show?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Row: (props: IRow) => JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { LimitHandler, PageHandler } from '../../../dataLayer';
|
|
2
|
+
import { Colors, Settings } from '../../../theming';
|
|
3
|
+
interface IShowingControlStyle {
|
|
4
|
+
backgroundColor?: Colors | string;
|
|
5
|
+
borderRadius?: Settings | string;
|
|
6
|
+
borderColor?: Colors | string;
|
|
7
|
+
border?: Settings | string;
|
|
8
|
+
color?: Colors | string;
|
|
9
|
+
}
|
|
10
|
+
export interface IShowingControl extends IShowingControlStyle {
|
|
11
|
+
limit: number;
|
|
12
|
+
setLimit: LimitHandler;
|
|
13
|
+
page: number;
|
|
14
|
+
setPage: PageHandler;
|
|
15
|
+
options: number[];
|
|
16
|
+
}
|
|
17
|
+
export declare const ShowingControl: (props: IShowingControl) => JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
+
import { ITableUI } from './TableUI';
|
|
3
|
+
export interface ITable extends IDataContextInput, IDataLayerActions, IDataContextExtender, ITableUI {
|
|
4
|
+
}
|
|
5
|
+
export declare const Table: {
|
|
6
|
+
({ parseRows, headers, keyName, selected, limitSelection, onRowClick, setSelected, doubleHeader, filterUI, rightSectionUI, shadeEven, rowSelectable, pagination, setFilter, setPage, setLimit, setSort, ...props }: ITable): JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
limitSelection: number[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HeaderType, RowClickHandler, RowHandler, RowSelectableHandler, SelectionHandler } from './types';
|
|
3
|
+
export interface ITableUI {
|
|
4
|
+
keyName: string;
|
|
5
|
+
onRowClick?: RowClickHandler;
|
|
6
|
+
rowSelectable?: RowSelectableHandler;
|
|
7
|
+
setSelected?: SelectionHandler;
|
|
8
|
+
headers: HeaderType[];
|
|
9
|
+
limitSelection: number[];
|
|
10
|
+
selected?: string[];
|
|
11
|
+
parseRows?: RowHandler;
|
|
12
|
+
filterUI?: ReactNode;
|
|
13
|
+
rightSectionUI?: ReactNode;
|
|
14
|
+
doubleHeader?: boolean;
|
|
15
|
+
shadeEven?: boolean;
|
|
16
|
+
pagination?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const TableUI: {
|
|
19
|
+
({ parseRows, ...props }: ITableUI): JSX.Element;
|
|
20
|
+
defaultProps: {
|
|
21
|
+
parseRows: (data: any) => any;
|
|
22
|
+
pagination: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export type SelectionHandler = (newSelection: string[]) => void;
|
|
3
|
+
export type RowClickHandler = (row: any) => void;
|
|
4
|
+
export type RowHandler = (data: any) => any[];
|
|
5
|
+
export type RowSelectableHandler = (data: any) => boolean;
|
|
6
|
+
export type HeaderHandler = (newHeaders: HeaderType[]) => void;
|
|
7
|
+
export interface HeaderType {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
sortable?: boolean;
|
|
11
|
+
ref?: RefObject<HTMLTableHeaderCellElement>;
|
|
12
|
+
width?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TargetCardType } from '../Level2';
|
|
2
|
+
import { IOption, OptionChangeHandler } from './Autocomplete';
|
|
3
|
+
export interface ITownSelection {
|
|
4
|
+
label?: string;
|
|
5
|
+
width?: string;
|
|
6
|
+
town: IOption | IOption[];
|
|
7
|
+
setTown: OptionChangeHandler;
|
|
8
|
+
error?: string;
|
|
9
|
+
targetCardType?: TargetCardType;
|
|
10
|
+
}
|
|
11
|
+
export declare const TownSelection: (props: ITownSelection) => JSX.Element;
|