@piu-company/react-toolkit 1.0.0 → 1.0.2
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 -6
- 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 -62
- package/dist/breadCrumb/BreadCrumbProvider.d.ts +5 -5
- package/dist/breadCrumb/context.d.ts +8 -9
- 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 -6
- 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 -6
- 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 -8
- 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 -18
- 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 +42 -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 -19
- 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 +22 -22
- package/dist/components/Level3/TimeField/TimePicker.d.ts +23 -24
- 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 -7
- 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 -12
- 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.cjs.js +53158 -52655
- package/dist/index.d.ts +22 -22
- package/dist/index.esm.js +53243 -52740
- package/dist/masker.d.ts +15 -15
- package/dist/navigation/NavProvider.d.ts +7 -7
- package/dist/navigation/context.d.ts +6 -7
- 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 -9
- 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 -6
- 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 -9
- 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 -12
- 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 -11
- 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 +34 -31
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Colors } from '../../../theming';
|
|
3
|
-
import { ISidebarState, ISidebarStoreActions } from './duck';
|
|
4
|
-
import { INavType, PermissionHandler } from './types';
|
|
5
|
-
export interface ISidebar extends ISidebarStyle {
|
|
6
|
-
logo?: ReactNode;
|
|
7
|
-
favicon?: ReactNode;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
nav: INavType[];
|
|
10
|
-
forcePermissionCheck?: boolean;
|
|
11
|
-
permissionCheck?: PermissionHandler;
|
|
12
|
-
location?: string;
|
|
13
|
-
mobile?: boolean;
|
|
14
|
-
customUiTop?: (collapsed: boolean) => ReactNode;
|
|
15
|
-
alwaysShowFooter?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IFooterButton {
|
|
18
|
-
setOpen?: (value: boolean) => void;
|
|
19
|
-
icon?: ReactNode;
|
|
20
|
-
}
|
|
21
|
-
export interface IFooter {
|
|
22
|
-
isButton?: boolean;
|
|
23
|
-
footerButton?: IFooterButton;
|
|
24
|
-
footer?: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export interface ISidebarStyle {
|
|
27
|
-
activeColor?: string | Colors;
|
|
28
|
-
backgroundColor?: string | Colors;
|
|
29
|
-
}
|
|
30
|
-
export declare const Sidebar: import("react-redux").ConnectedComponent<({ nav, permissionCheck, collapsed, setCollapsed, forcePermissionCheck, ...props }: ISidebar & ISidebarState & ISidebarStoreActions & IFooter) => JSX.Element, {
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
isButton?: boolean | undefined;
|
|
45
|
-
footerButton?: IFooterButton | undefined;
|
|
46
|
-
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
47
|
-
store?: import("redux").Store
|
|
48
|
-
}>;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Colors } from '../../../theming';
|
|
3
|
+
import { ISidebarState, ISidebarStoreActions } from './duck';
|
|
4
|
+
import { INavType, PermissionHandler } from './types';
|
|
5
|
+
export interface ISidebar extends ISidebarStyle {
|
|
6
|
+
logo?: ReactNode;
|
|
7
|
+
favicon?: ReactNode;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
nav: INavType[];
|
|
10
|
+
forcePermissionCheck?: boolean;
|
|
11
|
+
permissionCheck?: PermissionHandler;
|
|
12
|
+
location?: string;
|
|
13
|
+
mobile?: boolean;
|
|
14
|
+
customUiTop?: (collapsed: boolean) => ReactNode;
|
|
15
|
+
alwaysShowFooter?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface IFooterButton {
|
|
18
|
+
setOpen?: (value: boolean) => void;
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export interface IFooter {
|
|
22
|
+
isButton?: boolean;
|
|
23
|
+
footerButton?: IFooterButton;
|
|
24
|
+
footer?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export interface ISidebarStyle {
|
|
27
|
+
activeColor?: string | Colors;
|
|
28
|
+
backgroundColor?: string | Colors;
|
|
29
|
+
}
|
|
30
|
+
export declare const Sidebar: import("react-redux").ConnectedComponent<({ nav, permissionCheck, collapsed, setCollapsed, forcePermissionCheck, ...props }: ISidebar & ISidebarState & ISidebarStoreActions & IFooter) => import("react/jsx-runtime").JSX.Element, {
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
backgroundColor?: (string | Colors) | undefined;
|
|
33
|
+
mobile?: boolean | undefined;
|
|
34
|
+
location?: string | undefined;
|
|
35
|
+
footer?: ReactNode;
|
|
36
|
+
nav: INavType[];
|
|
37
|
+
activeColor?: (string | Colors) | undefined;
|
|
38
|
+
logo?: ReactNode;
|
|
39
|
+
favicon?: ReactNode;
|
|
40
|
+
forcePermissionCheck?: boolean | undefined;
|
|
41
|
+
permissionCheck?: PermissionHandler | undefined;
|
|
42
|
+
customUiTop?: ((collapsed: boolean) => ReactNode) | undefined;
|
|
43
|
+
alwaysShowFooter?: boolean | undefined;
|
|
44
|
+
isButton?: boolean | undefined;
|
|
45
|
+
footerButton?: IFooterButton | undefined;
|
|
46
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
47
|
+
store?: import("redux").Store | undefined;
|
|
48
|
+
}>;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Colors, Settings } from '../../../theming';
|
|
2
|
-
import { INavSection } from './types';
|
|
3
|
-
interface ISidebarButtonStyle {
|
|
4
|
-
activeColor?: Colors | string;
|
|
5
|
-
normalColor?: Colors | string;
|
|
6
|
-
color?: Colors | string;
|
|
7
|
-
borderRadius?: Settings | string;
|
|
8
|
-
}
|
|
9
|
-
export interface ISidebarButton extends ISidebarButtonDiv {
|
|
10
|
-
collapsed: boolean;
|
|
11
|
-
setCollapsed?: (value: boolean) => void;
|
|
12
|
-
index: number;
|
|
13
|
-
link: INavSection;
|
|
14
|
-
}
|
|
15
|
-
interface ISidebarButtonDiv extends ISidebarButtonStyle {
|
|
16
|
-
active: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const SidebarButton: {
|
|
19
|
-
({ collapsed, link, ...props }: ISidebarButton): JSX.Element;
|
|
20
|
-
defaultProps: {
|
|
21
|
-
color: Colors;
|
|
22
|
-
activeColor: Colors;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
1
|
+
import { Colors, Settings } from '../../../theming';
|
|
2
|
+
import { INavSection } from './types';
|
|
3
|
+
interface ISidebarButtonStyle {
|
|
4
|
+
activeColor?: Colors | string;
|
|
5
|
+
normalColor?: Colors | string;
|
|
6
|
+
color?: Colors | string;
|
|
7
|
+
borderRadius?: Settings | string;
|
|
8
|
+
}
|
|
9
|
+
export interface ISidebarButton extends ISidebarButtonDiv {
|
|
10
|
+
collapsed: boolean;
|
|
11
|
+
setCollapsed?: (value: boolean) => void;
|
|
12
|
+
index: number;
|
|
13
|
+
link: INavSection;
|
|
14
|
+
}
|
|
15
|
+
interface ISidebarButtonDiv extends ISidebarButtonStyle {
|
|
16
|
+
active: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const SidebarButton: {
|
|
19
|
+
({ collapsed, link, ...props }: ISidebarButton): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
defaultProps: {
|
|
21
|
+
color: Colors;
|
|
22
|
+
activeColor: Colors;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Colors } from '../../../theming';
|
|
2
|
-
import { INavType } from './types';
|
|
3
|
-
export interface ISidebarTitle {
|
|
4
|
-
color?: Colors | string;
|
|
5
|
-
link: INavType;
|
|
6
|
-
collapsed: boolean;
|
|
7
|
-
index: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const SidebarTitle: {
|
|
10
|
-
(props: ISidebarTitle): JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
color: Colors;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
1
|
+
import { Colors } from '../../../theming';
|
|
2
|
+
import { INavType } from './types';
|
|
3
|
+
export interface ISidebarTitle {
|
|
4
|
+
color?: Colors | string;
|
|
5
|
+
link: INavType;
|
|
6
|
+
collapsed: boolean;
|
|
7
|
+
index: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const SidebarTitle: {
|
|
10
|
+
(props: ISidebarTitle): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
color: Colors;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ISidebarState, ISidebarStoreActions } from './duck';
|
|
3
|
-
export interface ISidebarToggle {
|
|
4
|
-
collapsedChildren?: any;
|
|
5
|
-
uncollapsedChildren?: any;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
mobile?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const SidebarToggle: import("react-redux").ConnectedComponent<(props: ISidebarToggle & ISidebarState & ISidebarStoreActions) => JSX.Element, {
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").
|
|
15
|
-
store?: import("redux").Store
|
|
16
|
-
}>;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ISidebarState, ISidebarStoreActions } from './duck';
|
|
3
|
+
export interface ISidebarToggle {
|
|
4
|
+
collapsedChildren?: any;
|
|
5
|
+
uncollapsedChildren?: any;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
mobile?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const SidebarToggle: import("react-redux").ConnectedComponent<(props: ISidebarToggle & ISidebarState & ISidebarStoreActions) => import("react/jsx-runtime").JSX.Element, {
|
|
10
|
+
children?: ReactNode;
|
|
11
|
+
mobile?: boolean | undefined;
|
|
12
|
+
collapsedChildren?: any;
|
|
13
|
+
uncollapsedChildren?: any;
|
|
14
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
15
|
+
store?: import("redux").Store | undefined;
|
|
16
|
+
}>;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { CollapsedHandler } from './types';
|
|
2
|
-
export interface ISidebarAction {
|
|
3
|
-
type: SidebarActionTypes;
|
|
4
|
-
payload: ISidebarState;
|
|
5
|
-
}
|
|
6
|
-
export declare enum SidebarActionTypes {
|
|
7
|
-
setCollapsed = "[set] collapsed"
|
|
8
|
-
}
|
|
9
|
-
export interface ISidebarStoreActions {
|
|
10
|
-
setCollapsed?: CollapsedHandler;
|
|
11
|
-
}
|
|
12
|
-
export interface ISidebarState {
|
|
13
|
-
collapsed: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface ISidebarMapStore {
|
|
16
|
-
sidebar: ISidebarState;
|
|
17
|
-
}
|
|
18
|
-
export declare const persistSidebar: string[];
|
|
19
|
-
export declare const sidebarReducer: (state: ISidebarState | undefined, action: ISidebarAction) => ISidebarState;
|
|
20
|
-
export declare const sidebarActions: {
|
|
21
|
-
setCollapsed: (collapsed: boolean) => {
|
|
22
|
-
type: SidebarActionTypes;
|
|
23
|
-
payload: {
|
|
24
|
-
collapsed: boolean;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export declare const mapStateToPropsSidebar: (store: ISidebarMapStore) => {
|
|
29
|
-
collapsed: boolean;
|
|
30
|
-
};
|
|
1
|
+
import { CollapsedHandler } from './types';
|
|
2
|
+
export interface ISidebarAction {
|
|
3
|
+
type: SidebarActionTypes;
|
|
4
|
+
payload: ISidebarState;
|
|
5
|
+
}
|
|
6
|
+
export declare enum SidebarActionTypes {
|
|
7
|
+
setCollapsed = "[set] collapsed"
|
|
8
|
+
}
|
|
9
|
+
export interface ISidebarStoreActions {
|
|
10
|
+
setCollapsed?: CollapsedHandler;
|
|
11
|
+
}
|
|
12
|
+
export interface ISidebarState {
|
|
13
|
+
collapsed: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface ISidebarMapStore {
|
|
16
|
+
sidebar: ISidebarState;
|
|
17
|
+
}
|
|
18
|
+
export declare const persistSidebar: string[];
|
|
19
|
+
export declare const sidebarReducer: (state: ISidebarState | undefined, action: ISidebarAction) => ISidebarState;
|
|
20
|
+
export declare const sidebarActions: {
|
|
21
|
+
setCollapsed: (collapsed: boolean) => {
|
|
22
|
+
type: SidebarActionTypes;
|
|
23
|
+
payload: {
|
|
24
|
+
collapsed: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export declare const mapStateToPropsSidebar: (store: ISidebarMapStore) => {
|
|
29
|
+
collapsed: boolean;
|
|
30
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './Sidebar';
|
|
2
|
-
export * from './duck';
|
|
3
|
-
export * from './types';
|
|
4
|
-
export * from './SidebarButton';
|
|
5
|
-
export * from './SidebarTitle';
|
|
6
|
-
export * from './SidebarToggler';
|
|
1
|
+
export * from './Sidebar';
|
|
2
|
+
export * from './duck';
|
|
3
|
+
export * from './types';
|
|
4
|
+
export * from './SidebarButton';
|
|
5
|
+
export * from './SidebarTitle';
|
|
6
|
+
export * from './SidebarToggler';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface INavType {
|
|
2
|
-
title: string;
|
|
3
|
-
sections: INavSection[];
|
|
4
|
-
}
|
|
5
|
-
export interface INavSection {
|
|
6
|
-
title: string;
|
|
7
|
-
icon?: any;
|
|
8
|
-
link?: string;
|
|
9
|
-
permission?: any;
|
|
10
|
-
}
|
|
11
|
-
export type WidthHandler = (newWidth: number) => void;
|
|
12
|
-
export type CollapsedHandler = (newCollapsed: boolean) => void;
|
|
13
|
-
export type PermissionHandler = (requiredPermission: INavSection, user: any) => boolean;
|
|
1
|
+
export interface INavType {
|
|
2
|
+
title: string;
|
|
3
|
+
sections: INavSection[];
|
|
4
|
+
}
|
|
5
|
+
export interface INavSection {
|
|
6
|
+
title: string;
|
|
7
|
+
icon?: any;
|
|
8
|
+
link?: string;
|
|
9
|
+
permission?: any;
|
|
10
|
+
}
|
|
11
|
+
export type WidthHandler = (newWidth: number) => void;
|
|
12
|
+
export type CollapsedHandler = (newCollapsed: boolean) => void;
|
|
13
|
+
export type PermissionHandler = (requiredPermission: INavSection, user: any) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Sidebar';
|
|
1
|
+
export * from './Sidebar';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './Level1';
|
|
2
|
-
export * from './Level2';
|
|
3
|
-
export * from './Level3';
|
|
4
|
-
export * from './Level4';
|
|
5
|
-
export * from './Consumers';
|
|
6
|
-
export * from './NextJS';
|
|
7
|
-
export * from './pages';
|
|
8
|
-
export * from './UseDataLayer';
|
|
9
|
-
export * from './UseRedux';
|
|
10
|
-
export * from './Layout';
|
|
11
|
-
export * from './Forms';
|
|
12
|
-
export * from './GoogleMaps';
|
|
13
|
-
export * from './Stripe';
|
|
14
|
-
export * from './GoogleCalendar';
|
|
15
|
-
export * from './Firebase';
|
|
1
|
+
export * from './Level1';
|
|
2
|
+
export * from './Level2';
|
|
3
|
+
export * from './Level3';
|
|
4
|
+
export * from './Level4';
|
|
5
|
+
export * from './Consumers';
|
|
6
|
+
export * from './NextJS';
|
|
7
|
+
export * from './pages';
|
|
8
|
+
export * from './UseDataLayer';
|
|
9
|
+
export * from './UseRedux';
|
|
10
|
+
export * from './Layout';
|
|
11
|
+
export * from './Forms';
|
|
12
|
+
export * from './GoogleMaps';
|
|
13
|
+
export * from './Stripe';
|
|
14
|
+
export * from './GoogleCalendar';
|
|
15
|
+
export * from './Firebase';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { IUrlData } from '../../../breadCrumb';
|
|
2
|
-
import { EmptyFunctionHandler } from '../../../generalTypes';
|
|
3
|
-
import { IFirebaseConfig } from '../../Firebase';
|
|
4
|
-
import { ApiCallHandler, ExtraDataHandler, RenderHandler, SetExtraDataHandler } from './types';
|
|
5
|
-
export interface IAuthPage {
|
|
6
|
-
anonymousLogin?: boolean;
|
|
7
|
-
loginRequired?: boolean;
|
|
8
|
-
firebaseConfig?: IFirebaseConfig;
|
|
9
|
-
breadCrumb?: IUrlData[];
|
|
10
|
-
apiCall?: ApiCallHandler;
|
|
11
|
-
userId?: string;
|
|
12
|
-
renderSelection: RenderHandler;
|
|
13
|
-
logout?: EmptyFunctionHandler;
|
|
14
|
-
title?: string;
|
|
15
|
-
loadExtraData?: ExtraDataHandler;
|
|
16
|
-
setExtraData?: SetExtraDataHandler;
|
|
17
|
-
}
|
|
18
|
-
export declare const AuthPage: ({ apiCall, loadExtraData, setExtraData, ...props }: IAuthPage) => JSX.Element;
|
|
1
|
+
import { IUrlData } from '../../../breadCrumb';
|
|
2
|
+
import { EmptyFunctionHandler } from '../../../generalTypes';
|
|
3
|
+
import { IFirebaseConfig } from '../../Firebase';
|
|
4
|
+
import { ApiCallHandler, ExtraDataHandler, RenderHandler, SetExtraDataHandler } from './types';
|
|
5
|
+
export interface IAuthPage {
|
|
6
|
+
anonymousLogin?: boolean;
|
|
7
|
+
loginRequired?: boolean;
|
|
8
|
+
firebaseConfig?: IFirebaseConfig;
|
|
9
|
+
breadCrumb?: IUrlData[];
|
|
10
|
+
apiCall?: ApiCallHandler;
|
|
11
|
+
userId?: string;
|
|
12
|
+
renderSelection: RenderHandler;
|
|
13
|
+
logout?: EmptyFunctionHandler;
|
|
14
|
+
title?: string;
|
|
15
|
+
loadExtraData?: ExtraDataHandler;
|
|
16
|
+
setExtraData?: SetExtraDataHandler;
|
|
17
|
+
}
|
|
18
|
+
export declare const AuthPage: ({ apiCall, loadExtraData, setExtraData, ...props }: IAuthPage) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './AuthPage';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './AuthPage';
|
|
2
|
+
export * from './types';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare enum APICallResult {
|
|
3
|
-
success = "success",
|
|
4
|
-
error = "error",
|
|
5
|
-
denied = "denied"
|
|
6
|
-
}
|
|
7
|
-
export interface APICallReturn {
|
|
8
|
-
result: APICallResult;
|
|
9
|
-
data?: any;
|
|
10
|
-
}
|
|
11
|
-
export type RenderHandler = (user?: any) => ReactNode;
|
|
12
|
-
export type ApiCallHandler = () => Promise<APICallReturn>;
|
|
13
|
-
export type ExtraDataHandler = () => Promise<any>;
|
|
14
|
-
export type SetExtraDataHandler = (data: any) => void;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export declare enum APICallResult {
|
|
3
|
+
success = "success",
|
|
4
|
+
error = "error",
|
|
5
|
+
denied = "denied"
|
|
6
|
+
}
|
|
7
|
+
export interface APICallReturn {
|
|
8
|
+
result: APICallResult;
|
|
9
|
+
data?: any;
|
|
10
|
+
}
|
|
11
|
+
export type RenderHandler = (user?: any) => ReactNode;
|
|
12
|
+
export type ApiCallHandler = () => Promise<APICallReturn>;
|
|
13
|
+
export type ExtraDataHandler = () => Promise<any>;
|
|
14
|
+
export type SetExtraDataHandler = (data: any) => void;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IUrlData } from '../../breadCrumb';
|
|
2
|
-
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
3
|
-
import { ApiCallHandler, ExtraDataHandler, RenderHandler, SetExtraDataHandler } from './AuthPage';
|
|
4
|
-
export interface IAuthPageV2 {
|
|
5
|
-
loginRequired?: boolean;
|
|
6
|
-
breadCrumb?: IUrlData[];
|
|
7
|
-
apiCall?: ApiCallHandler;
|
|
8
|
-
userId?: string;
|
|
9
|
-
renderSelection: RenderHandler;
|
|
10
|
-
logout?: EmptyFunctionHandler;
|
|
11
|
-
title?: string;
|
|
12
|
-
loadExtraData?: ExtraDataHandler;
|
|
13
|
-
setExtraData?: SetExtraDataHandler;
|
|
14
|
-
loginStatus?: 'PENDING' | 'LOGGED_IN' | 'LOGGED_OUT';
|
|
15
|
-
}
|
|
16
|
-
export declare const AuthPageV2: ({ apiCall, loadExtraData, setExtraData, ...props }: IAuthPageV2) => JSX.Element;
|
|
1
|
+
import { IUrlData } from '../../breadCrumb';
|
|
2
|
+
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
3
|
+
import { ApiCallHandler, ExtraDataHandler, RenderHandler, SetExtraDataHandler } from './AuthPage';
|
|
4
|
+
export interface IAuthPageV2 {
|
|
5
|
+
loginRequired?: boolean;
|
|
6
|
+
breadCrumb?: IUrlData[];
|
|
7
|
+
apiCall?: ApiCallHandler;
|
|
8
|
+
userId?: string;
|
|
9
|
+
renderSelection: RenderHandler;
|
|
10
|
+
logout?: EmptyFunctionHandler;
|
|
11
|
+
title?: string;
|
|
12
|
+
loadExtraData?: ExtraDataHandler;
|
|
13
|
+
setExtraData?: SetExtraDataHandler;
|
|
14
|
+
loginStatus?: 'PENDING' | 'LOGGED_IN' | 'LOGGED_OUT';
|
|
15
|
+
}
|
|
16
|
+
export declare const AuthPageV2: ({ apiCall, loadExtraData, setExtraData, ...props }: IAuthPageV2) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Colors } from '../../theming';
|
|
2
|
-
export interface IErrorPage {
|
|
3
|
-
backgroundColor?: string | Colors;
|
|
4
|
-
lineColor?: string | Colors;
|
|
5
|
-
error?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const ErrorPage: {
|
|
8
|
-
(props: IErrorPage): JSX.Element;
|
|
9
|
-
defaultProps: {
|
|
10
|
-
backgroundColor: Colors;
|
|
11
|
-
lineColor: Colors;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
1
|
+
import { Colors } from '../../theming';
|
|
2
|
+
export interface IErrorPage {
|
|
3
|
+
backgroundColor?: string | Colors;
|
|
4
|
+
lineColor?: string | Colors;
|
|
5
|
+
error?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const ErrorPage: {
|
|
8
|
+
(props: IErrorPage): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
defaultProps: {
|
|
10
|
+
backgroundColor: Colors;
|
|
11
|
+
lineColor: Colors;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Colors } from '../../theming';
|
|
2
|
-
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
3
|
-
export interface IForbiddenPage {
|
|
4
|
-
backgroundColor?: string | Colors;
|
|
5
|
-
lineColor?: string | Colors;
|
|
6
|
-
error?: string;
|
|
7
|
-
logout?: EmptyFunctionHandler;
|
|
8
|
-
}
|
|
9
|
-
export declare const ForbiddenPage: {
|
|
10
|
-
({ logout, ...props }: IForbiddenPage): JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
backgroundColor: Colors;
|
|
13
|
-
lineColor: Colors;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
1
|
+
import { Colors } from '../../theming';
|
|
2
|
+
import { EmptyFunctionHandler } from '../../generalTypes';
|
|
3
|
+
export interface IForbiddenPage {
|
|
4
|
+
backgroundColor?: string | Colors;
|
|
5
|
+
lineColor?: string | Colors;
|
|
6
|
+
error?: string;
|
|
7
|
+
logout?: EmptyFunctionHandler;
|
|
8
|
+
}
|
|
9
|
+
export declare const ForbiddenPage: {
|
|
10
|
+
({ logout, ...props }: IForbiddenPage): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
backgroundColor: Colors;
|
|
13
|
+
lineColor: Colors;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IForgotPasswordForm {
|
|
2
|
-
loginUrl: string;
|
|
3
|
-
onForgot: (email: string) => Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
export declare const ForgotPasswordForm: (props: IForgotPasswordForm) => JSX.Element;
|
|
1
|
+
export interface IForgotPasswordForm {
|
|
2
|
+
loginUrl: string;
|
|
3
|
+
onForgot: (email: string) => Promise<void>;
|
|
4
|
+
}
|
|
5
|
+
export declare const ForgotPasswordForm: (props: IForgotPasswordForm) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IForgotPasswordForm } from './ForgotPasswordForm';
|
|
2
|
-
export interface IForgotPasswordPage extends IForgotPasswordForm {
|
|
3
|
-
}
|
|
4
|
-
export declare const ForgotPasswordPage: (props: IForgotPasswordPage) => JSX.Element;
|
|
1
|
+
import { IForgotPasswordForm } from './ForgotPasswordForm';
|
|
2
|
+
export interface IForgotPasswordPage extends IForgotPasswordForm {
|
|
3
|
+
}
|
|
4
|
+
export declare const ForgotPasswordPage: (props: IForgotPasswordPage) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ForgotPasswordForm';
|
|
2
|
-
export * from './ForgotPasswordPage';
|
|
1
|
+
export * from './ForgotPasswordForm';
|
|
2
|
+
export * from './ForgotPasswordPage';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Colors } from '../../theming';
|
|
3
|
-
export interface ILoadingScrreen {
|
|
4
|
-
backgroundColor?: string | Colors;
|
|
5
|
-
loadingColor?: string | Colors;
|
|
6
|
-
loadingIcon?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const LoadingPage: {
|
|
9
|
-
({ loadingIcon, ...props }: ILoadingScrreen): JSX.Element;
|
|
10
|
-
defaultProps: {
|
|
11
|
-
backgroundColor: Colors;
|
|
12
|
-
loadingColor: Colors;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Colors } from '../../theming';
|
|
3
|
+
export interface ILoadingScrreen {
|
|
4
|
+
backgroundColor?: string | Colors;
|
|
5
|
+
loadingColor?: string | Colors;
|
|
6
|
+
loadingIcon?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const LoadingPage: {
|
|
9
|
+
({ loadingIcon, ...props }: ILoadingScrreen): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
defaultProps: {
|
|
11
|
+
backgroundColor: Colors;
|
|
12
|
+
loadingColor: Colors;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { EmptyFunctionHandler } from '../../../generalTypes';
|
|
3
|
-
export interface ILoginForm {
|
|
4
|
-
image?: ReactNode;
|
|
5
|
-
title: string;
|
|
6
|
-
subTitle?: string;
|
|
7
|
-
emailPlaceholder?: string;
|
|
8
|
-
passwordPlaceholder?: string;
|
|
9
|
-
handleGoogleSignin?: () => Promise<any>;
|
|
10
|
-
handleFbSignin?: () => Promise<any>;
|
|
11
|
-
onAutoLogin: EmptyFunctionHandler;
|
|
12
|
-
onSignIn: (email: string, password: string) => Promise<void>;
|
|
13
|
-
forgotPassword?: EmptyFunctionHandler;
|
|
14
|
-
selectedOption?: string;
|
|
15
|
-
selectorOptions?: string[];
|
|
16
|
-
setSelectionOption?: (data: string) => void;
|
|
17
|
-
selectionWidth?: string;
|
|
18
|
-
showNotificationSupport?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const LoginForm: ({ onAutoLogin, ...props }: ILoginForm) => JSX.Element;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { EmptyFunctionHandler } from '../../../generalTypes';
|
|
3
|
+
export interface ILoginForm {
|
|
4
|
+
image?: ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
subTitle?: string;
|
|
7
|
+
emailPlaceholder?: string;
|
|
8
|
+
passwordPlaceholder?: string;
|
|
9
|
+
handleGoogleSignin?: () => Promise<any>;
|
|
10
|
+
handleFbSignin?: () => Promise<any>;
|
|
11
|
+
onAutoLogin: EmptyFunctionHandler;
|
|
12
|
+
onSignIn: (email: string, password: string) => Promise<void>;
|
|
13
|
+
forgotPassword?: EmptyFunctionHandler;
|
|
14
|
+
selectedOption?: string;
|
|
15
|
+
selectorOptions?: string[];
|
|
16
|
+
setSelectionOption?: (data: string) => void;
|
|
17
|
+
selectionWidth?: string;
|
|
18
|
+
showNotificationSupport?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare const LoginForm: ({ onAutoLogin, ...props }: ILoginForm) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ILoginForm } from './LoginForm';
|
|
2
|
-
export interface ILoginPage extends ILoginForm {
|
|
3
|
-
termsLink?: string;
|
|
4
|
-
selectedOption?: string;
|
|
5
|
-
selectorOptions?: string[];
|
|
6
|
-
setSelectionOption?: (data: string) => void;
|
|
7
|
-
selectionWidth?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const LoginPage: (props: ILoginPage) => JSX.Element;
|
|
1
|
+
import { ILoginForm } from './LoginForm';
|
|
2
|
+
export interface ILoginPage extends ILoginForm {
|
|
3
|
+
termsLink?: string;
|
|
4
|
+
selectedOption?: string;
|
|
5
|
+
selectorOptions?: string[];
|
|
6
|
+
setSelectionOption?: (data: string) => void;
|
|
7
|
+
selectionWidth?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const LoginPage: (props: ILoginPage) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './LoginPage';
|
|
2
|
-
export * from './LoginForm';
|
|
1
|
+
export * from './LoginPage';
|
|
2
|
+
export * from './LoginForm';
|