@tap-payments/auth-jsconnect 1.0.2 → 1.0.5
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/build/@types/app.d.ts +16 -0
- package/build/@types/app.js +6 -2
- package/build/@types/index.js +0 -1
- package/build/@types/redux.js +0 -1
- package/build/@types/theme.d.ts +12 -3
- package/build/@types/theme.js +15 -2
- package/build/app/rootReducer.d.ts +1 -1
- package/build/app/rootReducer.js +1 -2
- package/build/app/settings.d.ts +7 -2
- package/build/app/settings.js +21 -7
- package/build/app/store.d.ts +2 -2
- package/build/app/store.js +0 -1
- package/build/assets/locales/ar.json +22 -3
- package/build/assets/locales/en.json +20 -1
- package/build/components/AnimationFlow/AnimationFlow.js +15 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +3 -2
- package/build/components/AnimationFlow/BottomSheet.js +43 -5
- package/build/components/AnimationFlow/Dialog.d.ts +3 -2
- package/build/components/AnimationFlow/Dialog.js +35 -18
- package/build/components/AnimationFlow/index.js +0 -1
- package/build/components/Button/Button.d.ts +7 -3
- package/build/components/Button/Button.js +21 -3
- package/build/components/Button/index.js +0 -1
- package/build/components/CheckBox/CheckBox.js +2 -2
- package/build/components/CheckBox/index.js +0 -1
- package/build/components/Collapse/Collapse.d.ts +5 -0
- package/build/components/Collapse/Collapse.js +28 -0
- package/build/components/Collapse/index.d.ts +3 -0
- package/build/components/Collapse/index.js +2 -0
- package/build/components/DatePicker/DatePicker.js +10 -14
- package/build/components/DatePicker/index.js +0 -1
- package/build/components/Footer/Footer.js +2 -16
- package/build/components/Footer/index.js +0 -1
- package/build/components/Form/Form.js +2 -2
- package/build/components/Form/index.js +0 -1
- package/build/components/Icon/Icon.js +2 -2
- package/build/components/Icon/index.js +0 -1
- package/build/components/Input/Input.d.ts +4 -1
- package/build/components/Input/Input.js +8 -7
- package/build/components/Input/index.js +0 -1
- package/build/components/InputAdornment/InputAdornment.js +3 -3
- package/build/components/InputAdornment/index.js +0 -1
- package/build/components/List/List.js +2 -4
- package/build/components/List/index.js +0 -1
- package/build/components/ListItem/ListItem.js +2 -2
- package/build/components/ListItem/index.js +0 -1
- package/build/components/Loader/Loader.d.ts +10 -8
- package/build/components/Loader/Loader.js +25 -43
- package/build/components/Loader/index.js +0 -1
- package/build/components/LogoBadge/LogoBadge.js +4 -5
- package/build/components/LogoBadge/index.js +0 -1
- package/build/components/OTPField/OTPField.js +2 -2
- package/build/components/OTPField/index.js +0 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +2 -1
- package/build/components/OTPTimer/OTPTimer.js +6 -8
- package/build/components/OTPTimer/index.js +0 -1
- package/build/components/ProgressBar/ProgressBar.js +2 -3
- package/build/components/ProgressBar/index.js +0 -1
- package/build/components/Providers/ReduxProvider.js +13 -3
- package/build/components/Providers/ThemeProvider.js +18 -10
- package/build/components/Providers/index.js +0 -1
- package/build/components/SimpleList/SimpleList.d.ts +10 -2
- package/build/components/SimpleList/SimpleList.js +58 -26
- package/build/components/SimpleList/index.js +0 -1
- package/build/components/Slide/Slide.d.ts +6 -0
- package/build/components/Slide/Slide.js +30 -0
- package/build/components/Slide/index.d.ts +3 -0
- package/build/components/Slide/index.js +2 -0
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +14 -0
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +86 -0
- package/build/components/SocialMediaGroup/index.d.ts +3 -0
- package/build/components/SocialMediaGroup/index.js +2 -0
- package/build/components/Text/Text.js +2 -2
- package/build/components/Text/index.js +0 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +5 -0
- package/build/components/ToggleButton/ToggleButton.js +44 -0
- package/build/components/ToggleButton/index.d.ts +3 -0
- package/build/components/ToggleButton/index.js +2 -0
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -0
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.js +37 -0
- package/build/components/ToggleButtonGroup/index.d.ts +3 -0
- package/build/components/ToggleButtonGroup/index.js +2 -0
- package/build/components/Tooltip/Tooltip.d.ts +10 -0
- package/build/components/Tooltip/Tooltip.js +44 -0
- package/build/components/Tooltip/index.d.ts +3 -0
- package/build/components/Tooltip/index.js +2 -0
- package/build/components/Warning/Warning.d.ts +2 -1
- package/build/components/Warning/Warning.js +4 -3
- package/build/components/Warning/index.js +0 -1
- package/build/constants/app.d.ts +5 -4
- package/build/constants/app.js +35 -5
- package/build/constants/assets.d.ts +7 -0
- package/build/constants/assets.js +8 -2
- package/build/constants/dummy.js +0 -1
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -1
- package/build/constants/validation.d.ts +2 -0
- package/build/constants/validation.js +2 -0
- package/build/features/app/{midStore.d.ts → business/midStore.d.ts} +2 -2
- package/build/features/app/{midStore.js → business/midStore.js} +0 -1
- package/build/features/app/connect/midStore.d.ts +10 -0
- package/build/features/app/connect/midStore.js +18 -0
- package/build/features/business/index.d.ts +0 -0
- package/build/features/business/index.js +1 -0
- package/build/features/business/screens/IDBOD/DOB.d.ts +5 -0
- package/build/features/business/screens/IDBOD/DOB.js +44 -0
- package/build/features/business/screens/IDBOD/ID.d.ts +5 -0
- package/build/features/business/screens/IDBOD/ID.js +68 -0
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +5 -0
- package/build/features/business/screens/IDBOD/IDBOD.js +86 -0
- package/build/features/business/screens/IDBOD/index.d.ts +3 -0
- package/build/features/business/screens/IDBOD/index.js +2 -0
- package/build/features/business/screens/IDBOD/validation.d.ts +11 -0
- package/build/features/business/screens/IDBOD/validation.js +5 -0
- package/build/features/connect/Connect.js +31 -25
- package/build/features/connect/Footer.d.ts +4 -0
- package/build/features/connect/Footer.js +16 -0
- package/build/features/connect/index.js +0 -1
- package/build/features/connect/screens/Individual/Email.d.ts +5 -0
- package/build/features/connect/screens/Individual/Email.js +56 -0
- package/build/features/connect/screens/Individual/Individual.d.ts +5 -0
- package/build/features/connect/screens/Individual/Individual.js +86 -0
- package/build/features/connect/screens/Individual/Name.d.ts +5 -0
- package/build/features/connect/screens/Individual/Name.js +58 -0
- package/build/features/connect/screens/Individual/index.d.ts +3 -0
- package/build/features/connect/screens/Individual/index.js +2 -0
- package/build/features/connect/screens/Individual/validation.d.ts +11 -0
- package/build/features/connect/screens/Individual/validation.js +5 -0
- package/build/features/connect/screens/MID/BusinessCountry.d.ts +2 -6
- package/build/features/connect/screens/MID/BusinessCountry.js +18 -53
- package/build/features/connect/screens/MID/IDNumber.d.ts +0 -4
- package/build/features/connect/screens/MID/IDNumber.js +28 -22
- package/build/features/connect/screens/MID/MID.js +85 -27
- package/build/features/connect/screens/MID/MIDTitle.js +3 -5
- package/build/features/connect/screens/MID/MobileNumber.d.ts +2 -7
- package/build/features/connect/screens/MID/MobileNumber.js +28 -69
- package/build/features/connect/screens/MID/index.js +0 -1
- package/build/features/connect/screens/MID/validation.d.ts +18 -0
- package/build/features/connect/screens/MID/validation.js +8 -0
- package/build/features/connect/screens/Merchant/BrandName.d.ts +5 -0
- package/build/features/connect/screens/Merchant/BrandName.js +99 -0
- package/build/features/connect/screens/Merchant/Merchant.d.ts +5 -0
- package/build/features/connect/screens/Merchant/Merchant.js +94 -0
- package/build/features/connect/screens/Merchant/SocialMedia.d.ts +5 -0
- package/build/features/connect/screens/Merchant/SocialMedia.js +87 -0
- package/build/features/connect/screens/Merchant/TAC.d.ts +5 -0
- package/build/features/connect/screens/Merchant/TAC.js +88 -0
- package/build/features/connect/screens/Merchant/index.d.ts +3 -0
- package/build/features/connect/screens/Merchant/index.js +2 -0
- package/build/features/connect/screens/Merchant/validation.d.ts +50 -0
- package/build/features/connect/screens/Merchant/validation.js +23 -0
- package/build/features/connect/screens/OTP/OTP.d.ts +6 -2
- package/build/features/connect/screens/OTP/OTP.js +76 -32
- package/build/features/connect/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/connect/screens/OTP/OTPInput.js +51 -0
- package/build/features/connect/screens/OTP/OTPTimer.d.ts +5 -0
- package/build/features/connect/screens/OTP/OTPTimer.js +35 -0
- package/build/features/connect/screens/OTP/index.js +0 -1
- package/build/features/connect/screens/OTP/validation.d.ts +8 -0
- package/build/features/connect/screens/OTP/validation.js +4 -0
- package/build/features/connect/screens/Password/Password.d.ts +5 -0
- package/build/features/connect/screens/Password/Password.js +86 -0
- package/build/features/connect/screens/Password/PasswordInput.d.ts +5 -0
- package/build/features/connect/screens/Password/PasswordInput.js +73 -0
- package/build/features/connect/screens/Password/index.d.ts +3 -0
- package/build/features/connect/screens/Password/index.js +2 -0
- package/build/features/connect/screens/Password/validation.d.ts +8 -0
- package/build/features/connect/screens/Password/validation.js +4 -0
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +5 -0
- package/build/features/connect/screens/ThankYou/ThankYou.js +76 -0
- package/build/features/connect/screens/ThankYou/index.d.ts +3 -0
- package/build/features/connect/screens/ThankYou/index.js +2 -0
- package/build/features/featuresScreens.d.ts +2 -0
- package/build/features/featuresScreens.js +28 -0
- package/build/hooks/index.d.ts +4 -0
- package/build/hooks/index.js +4 -1
- package/build/hooks/useAppDispatch.d.ts +4 -0
- package/build/hooks/useAppDispatch.js +2 -0
- package/build/hooks/useAppSelector.d.ts +3 -0
- package/build/hooks/useAppSelector.js +2 -0
- package/build/hooks/useAppTheme.js +3 -3
- package/build/hooks/useEventListener.d.ts +5 -0
- package/build/hooks/useEventListener.js +20 -0
- package/build/hooks/useLanguage.d.ts +4 -0
- package/build/hooks/useLanguage.js +8 -0
- package/build/hooks/useThemeMode.js +0 -1
- package/build/i18n.js +0 -1
- package/build/index.css +5 -0
- package/build/index.js +0 -1
- package/build/theme/components.js +0 -1
- package/build/theme/index.js +0 -1
- package/build/theme/palette.js +1 -1
- package/build/theme/shadows.js +0 -1
- package/build/theme/theme.d.ts +1 -1
- package/build/theme/theme.js +0 -2
- package/build/theme/typography.js +0 -1
- package/build/utils/array.js +0 -1
- package/build/utils/html.js +0 -1
- package/build/utils/index.js +0 -1
- package/build/utils/object.js +0 -1
- package/build/utils/storage.js +0 -1
- package/build/utils/string.d.ts +1 -1
- package/build/utils/string.js +1 -4
- package/build/utils/style.js +0 -1
- package/build/utils/validation.d.ts +4 -0
- package/build/utils/validation.js +12 -1
- package/package.json +120 -112
- package/build/@types/app.js.map +0 -1
- package/build/@types/index.js.map +0 -1
- package/build/@types/redux.js.map +0 -1
- package/build/@types/theme.js.map +0 -1
- package/build/app/hooks.d.ts +0 -7
- package/build/app/hooks.js +0 -4
- package/build/app/hooks.js.map +0 -1
- package/build/app/rootReducer.js.map +0 -1
- package/build/app/settings.js.map +0 -1
- package/build/app/store.js.map +0 -1
- package/build/components/AnimationFlow/AnimationFlow.js.map +0 -1
- package/build/components/AnimationFlow/BottomSheet.js.map +0 -1
- package/build/components/AnimationFlow/Dialog.js.map +0 -1
- package/build/components/AnimationFlow/index.js.map +0 -1
- package/build/components/Button/Button.js.map +0 -1
- package/build/components/Button/index.js.map +0 -1
- package/build/components/CheckBox/CheckBox.js.map +0 -1
- package/build/components/CheckBox/index.js.map +0 -1
- package/build/components/DatePicker/DatePicker.js.map +0 -1
- package/build/components/DatePicker/index.js.map +0 -1
- package/build/components/Footer/Footer.js.map +0 -1
- package/build/components/Footer/index.js.map +0 -1
- package/build/components/Form/Form.js.map +0 -1
- package/build/components/Form/index.js.map +0 -1
- package/build/components/Icon/Icon.js.map +0 -1
- package/build/components/Icon/index.js.map +0 -1
- package/build/components/Input/Input.js.map +0 -1
- package/build/components/Input/index.js.map +0 -1
- package/build/components/InputAdornment/InputAdornment.js.map +0 -1
- package/build/components/InputAdornment/index.js.map +0 -1
- package/build/components/List/List.js.map +0 -1
- package/build/components/List/index.js.map +0 -1
- package/build/components/ListItem/ListItem.js.map +0 -1
- package/build/components/ListItem/index.js.map +0 -1
- package/build/components/Loader/Loader.js.map +0 -1
- package/build/components/Loader/index.js.map +0 -1
- package/build/components/LogoBadge/LogoBadge.js.map +0 -1
- package/build/components/LogoBadge/index.js.map +0 -1
- package/build/components/OTPField/OTPField.js.map +0 -1
- package/build/components/OTPField/index.js.map +0 -1
- package/build/components/OTPTimer/OTPTimer.js.map +0 -1
- package/build/components/OTPTimer/index.js.map +0 -1
- package/build/components/ProgressBar/ProgressBar.js.map +0 -1
- package/build/components/ProgressBar/index.js.map +0 -1
- package/build/components/Providers/ReduxProvider.js.map +0 -1
- package/build/components/Providers/ThemeProvider.js.map +0 -1
- package/build/components/Providers/index.js.map +0 -1
- package/build/components/SimpleList/SimpleList.js.map +0 -1
- package/build/components/SimpleList/index.js.map +0 -1
- package/build/components/Text/Text.js.map +0 -1
- package/build/components/Text/index.js.map +0 -1
- package/build/components/Warning/Warning.js.map +0 -1
- package/build/components/Warning/index.js.map +0 -1
- package/build/constants/app.js.map +0 -1
- package/build/constants/assets.js.map +0 -1
- package/build/constants/dummy.js.map +0 -1
- package/build/constants/index.js.map +0 -1
- package/build/features/app/midStore.js.map +0 -1
- package/build/features/connect/Connect.js.map +0 -1
- package/build/features/connect/index.js.map +0 -1
- package/build/features/connect/screens/MID/BusinessCountry.js.map +0 -1
- package/build/features/connect/screens/MID/IDNumber.js.map +0 -1
- package/build/features/connect/screens/MID/MID.js.map +0 -1
- package/build/features/connect/screens/MID/MIDTitle.js.map +0 -1
- package/build/features/connect/screens/MID/MobileNumber.js.map +0 -1
- package/build/features/connect/screens/MID/index.js.map +0 -1
- package/build/features/connect/screens/OTP/OTP.js.map +0 -1
- package/build/features/connect/screens/OTP/index.js.map +0 -1
- package/build/hooks/index.js.map +0 -1
- package/build/hooks/useAppTheme.js.map +0 -1
- package/build/hooks/useThemeMode.js.map +0 -1
- package/build/i18n.js.map +0 -1
- package/build/index.js.map +0 -1
- package/build/theme/components.js.map +0 -1
- package/build/theme/index.js.map +0 -1
- package/build/theme/palette.js.map +0 -1
- package/build/theme/shadows.js.map +0 -1
- package/build/theme/theme.js.map +0 -1
- package/build/theme/typography.js.map +0 -1
- package/build/utils/array.js.map +0 -1
- package/build/utils/html.js.map +0 -1
- package/build/utils/index.js.map +0 -1
- package/build/utils/object.js.map +0 -1
- package/build/utils/storage.js.map +0 -1
- package/build/utils/string.js.map +0 -1
- package/build/utils/style.js.map +0 -1
- package/build/utils/validation.js.map +0 -1
|
@@ -20,13 +20,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
24
|
import React, { useEffect, useState, memo } from 'react';
|
|
24
25
|
import Calendar from 'react-calendar';
|
|
25
26
|
import 'react-calendar/dist/Calendar.css';
|
|
26
27
|
import Box from '@mui/material/Box';
|
|
27
28
|
import { styled } from '@mui/material/styles';
|
|
28
29
|
import Divider from '@mui/material/Divider';
|
|
29
|
-
import Collapse from '
|
|
30
|
+
import Collapse from '../Collapse';
|
|
30
31
|
import CalendarTodayOutlined from '@mui/icons-material/CalendarTodayOutlined';
|
|
31
32
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
|
|
32
33
|
import ExpandLessIcon from '@mui/icons-material/ExpandLess';
|
|
@@ -77,14 +78,14 @@ var DatePicker = function (_a) {
|
|
|
77
78
|
if (defaultValue)
|
|
78
79
|
setDate(defaultValue);
|
|
79
80
|
}, [defaultValue]);
|
|
80
|
-
var calenderIcon =
|
|
81
|
-
var expandMoreIcon =
|
|
82
|
-
var expandLessIcon =
|
|
81
|
+
var calenderIcon = _jsx(ContainerIcon, {});
|
|
82
|
+
var expandMoreIcon = _jsx(ExpandMore, {});
|
|
83
|
+
var expandLessIcon = _jsx(ExpandLess, {});
|
|
83
84
|
var arrowIcon = anchor ? expandLessIcon : expandMoreIcon;
|
|
84
85
|
var defaultMax = new Date();
|
|
85
86
|
var defaultMin = new Date('1900-01-01');
|
|
86
87
|
var toggleCalender = function (event) {
|
|
87
|
-
var elementId = '
|
|
88
|
+
var elementId = 'animation-flow-template-content';
|
|
88
89
|
if (anchor) {
|
|
89
90
|
setTimeout(function () { return scrollDown(elementId); }, 500);
|
|
90
91
|
return setAnchor(null);
|
|
@@ -100,14 +101,9 @@ var DatePicker = function (_a) {
|
|
|
100
101
|
onDateChange === null || onDateChange === void 0 ? void 0 : onDateChange(formattedDate(date));
|
|
101
102
|
setAnchor(null);
|
|
102
103
|
};
|
|
103
|
-
return (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}, startAdornment: calenderIcon, disabled: !disabled, readOnly: readOnly, dir: dir }),
|
|
108
|
-
React.createElement(Collapse, { in: !!anchor, unmountOnExit: true, timeout: { enter: 500, exit: 500 } },
|
|
109
|
-
React.createElement(Calendar, __assign({}, rest, { value: date, calendarType: 'Hebrew', onChange: handleOnDateChange, locale: rest.locale, maxDate: rest.maxDate || defaultMax, minDate: rest.minDate || defaultMin })),
|
|
110
|
-
React.createElement(Divider, null))));
|
|
104
|
+
return (_jsxs(Container, __assign({ disabled: disabled, id: 'container-calendar' }, { children: [_jsx(InputFieldStyled, { endAdornment: _jsx(ArrowIcon, __assign({ disabled: disabled }, { children: disabled ? '' : arrowIcon })), value: date ? formattedDate(date) : '', placeholder: 'YYYY-MM-DD', onClick: function (e) {
|
|
105
|
+
if (!disabled)
|
|
106
|
+
toggleCalender(e);
|
|
107
|
+
}, startAdornment: calenderIcon, disabled: !disabled, readOnly: readOnly, dir: dir }), _jsxs(Collapse, __assign({ in: !!anchor }, { children: [_jsx(Calendar, __assign({}, rest, { value: date, calendarType: 'Hebrew', onChange: handleOnDateChange, locale: rest.locale, maxDate: rest.maxDate || defaultMax, minDate: rest.minDate || defaultMin })), _jsx(Divider, {})] }))] })));
|
|
111
108
|
};
|
|
112
109
|
export default memo(DatePicker);
|
|
113
|
-
//# sourceMappingURL=DatePicker.js.map
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import Text from '../Text';
|
|
@@ -90,25 +91,10 @@ var YouTubeIconStyled = styled(YouTubeIcon)(function (_a) {
|
|
|
90
91
|
});
|
|
91
92
|
var FooterComponent = function (_a) {
|
|
92
93
|
var followUsTitle = _a.followUsTitle, language = _a.language, onSwitchLanguage = _a.onSwitchLanguage, rest = __rest(_a, ["followUsTitle", "language", "onSwitchLanguage"]);
|
|
93
|
-
return (
|
|
94
|
-
React.createElement(FollowUsStyled, null, followUsTitle),
|
|
95
|
-
React.createElement(IconsContainerStyled, null,
|
|
96
|
-
React.createElement(LinkStyled, { href: SOCIAL_MEDIA_LINKS.facebook, target: '_blank' },
|
|
97
|
-
React.createElement(FacebookIconStyled, { fontSize: 'small' })),
|
|
98
|
-
React.createElement(LinkStyled, { href: SOCIAL_MEDIA_LINKS.instagram, target: '_blank' },
|
|
99
|
-
React.createElement(InstagramIconStyled, { fontSize: 'small' })),
|
|
100
|
-
React.createElement(LinkStyled, { href: SOCIAL_MEDIA_LINKS.linkedin, target: '_blank' },
|
|
101
|
-
React.createElement(LinkedInIconStyled, { fontSize: 'small' })),
|
|
102
|
-
React.createElement(LinkStyled, { href: SOCIAL_MEDIA_LINKS.youtube, target: '_blank' },
|
|
103
|
-
React.createElement(YouTubeIconStyled, { fontSize: 'small' })),
|
|
104
|
-
React.createElement(LinkStyled, { href: SOCIAL_MEDIA_LINKS.twitter, target: '_blank' },
|
|
105
|
-
React.createElement(TwitterIconStyled, { fontSize: 'small' }))),
|
|
106
|
-
React.createElement(Text, null, '|'),
|
|
107
|
-
React.createElement(LanguageTextStyled, { onClick: onSwitchLanguage }, language)));
|
|
94
|
+
return (_jsxs(FooterStyled, __assign({}, rest, { children: [_jsx(FollowUsStyled, { children: followUsTitle }), _jsxs(IconsContainerStyled, { children: [_jsx(LinkStyled, __assign({ href: SOCIAL_MEDIA_LINKS.facebook, target: '_blank' }, { children: _jsx(FacebookIconStyled, { fontSize: 'small' }) })), _jsx(LinkStyled, __assign({ href: SOCIAL_MEDIA_LINKS.instagram, target: '_blank' }, { children: _jsx(InstagramIconStyled, { fontSize: 'small' }) })), _jsx(LinkStyled, __assign({ href: SOCIAL_MEDIA_LINKS.linkedin, target: '_blank' }, { children: _jsx(LinkedInIconStyled, { fontSize: 'small' }) })), _jsx(LinkStyled, __assign({ href: SOCIAL_MEDIA_LINKS.youtube, target: '_blank' }, { children: _jsx(YouTubeIconStyled, { fontSize: 'small' }) })), _jsx(LinkStyled, __assign({ href: SOCIAL_MEDIA_LINKS.twitter, target: '_blank' }, { children: _jsx(TwitterIconStyled, { fontSize: 'small' }) }))] }), _jsx(Text, { children: '|' }), _jsx(LanguageTextStyled, __assign({ onClick: onSwitchLanguage }, { children: language }))] })));
|
|
108
95
|
};
|
|
109
96
|
FooterComponent.defaultProps = {
|
|
110
97
|
followUsTitle: 'follow_us',
|
|
111
98
|
language: 'language'
|
|
112
99
|
};
|
|
113
100
|
export default React.memo(FooterComponent);
|
|
114
|
-
//# sourceMappingURL=Footer.js.map
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import Box from '@mui/material/Box';
|
|
25
26
|
import { styled } from '@mui/material/styles';
|
|
@@ -29,10 +30,9 @@ var BoxStyled = styled(Box)(function (_a) {
|
|
|
29
30
|
});
|
|
30
31
|
var Form = function (_a) {
|
|
31
32
|
var children = _a.children, rest = __rest(_a, ["children"]);
|
|
32
|
-
return (
|
|
33
|
+
return (_jsx(BoxStyled, __assign({ component: 'form' }, rest, { children: children })));
|
|
33
34
|
};
|
|
34
35
|
Form.defaultProps = {
|
|
35
36
|
onSubmit: function () { }
|
|
36
37
|
};
|
|
37
38
|
export default React.memo(Form);
|
|
38
|
-
//# sourceMappingURL=Form.js.map
|
|
@@ -9,6 +9,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
13
|
import * as React from 'react';
|
|
13
14
|
import styled from '@mui/system/styled';
|
|
14
15
|
var IconComponent = styled('img')(function (_a) {
|
|
@@ -20,7 +21,6 @@ var IconComponent = styled('img')(function (_a) {
|
|
|
20
21
|
});
|
|
21
22
|
});
|
|
22
23
|
var Icon = React.forwardRef(function (props, ref) {
|
|
23
|
-
return
|
|
24
|
+
return _jsx(IconComponent, __assign({}, props, { ref: ref }));
|
|
24
25
|
});
|
|
25
26
|
export default React.memo(Icon);
|
|
26
|
-
//# sourceMappingURL=Icon.js.map
|
|
@@ -5,12 +5,15 @@ export interface InputFieldProps extends InputProps {
|
|
|
5
5
|
hide?: boolean;
|
|
6
6
|
startAdornment?: React.ReactNode;
|
|
7
7
|
endAdornment?: React.ReactNode;
|
|
8
|
+
warningType?: 'alert' | 'error';
|
|
9
|
+
warningMessage?: string;
|
|
8
10
|
}
|
|
9
11
|
declare const _default: React.MemoExoticComponent<{
|
|
10
|
-
({ onEnterPressed, hide, endAdornment, startAdornment, ...rest }: InputFieldProps): JSX.Element;
|
|
12
|
+
({ onEnterPressed, hide, endAdornment, startAdornment, warningType, warningMessage, ...rest }: InputFieldProps): JSX.Element;
|
|
11
13
|
defaultProps: {
|
|
12
14
|
hide: boolean;
|
|
13
15
|
placeholder: string;
|
|
16
|
+
warningType: string;
|
|
14
17
|
};
|
|
15
18
|
}>;
|
|
16
19
|
export default _default;
|
|
@@ -20,9 +20,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import { memo } from 'react';
|
|
24
25
|
import Input from '@mui/material/Input';
|
|
25
|
-
import Collapse from '
|
|
26
|
+
import Collapse from '../Collapse';
|
|
27
|
+
import Warning from '../Warning';
|
|
26
28
|
import { alpha, styled } from '@mui/material/styles';
|
|
27
29
|
var InputStyled = styled(Input)(function (_a) {
|
|
28
30
|
var theme = _a.theme;
|
|
@@ -62,7 +64,7 @@ var InputStyled = styled(Input)(function (_a) {
|
|
|
62
64
|
});
|
|
63
65
|
});
|
|
64
66
|
var InputField = function (_a) {
|
|
65
|
-
var onEnterPressed = _a.onEnterPressed, hide = _a.hide, endAdornment = _a.endAdornment, startAdornment = _a.startAdornment, rest = __rest(_a, ["onEnterPressed", "hide", "endAdornment", "startAdornment"]);
|
|
67
|
+
var onEnterPressed = _a.onEnterPressed, hide = _a.hide, endAdornment = _a.endAdornment, startAdornment = _a.startAdornment, warningType = _a.warningType, warningMessage = _a.warningMessage, rest = __rest(_a, ["onEnterPressed", "hide", "endAdornment", "startAdornment", "warningType", "warningMessage"]);
|
|
66
68
|
var onKeyPress = function (e) {
|
|
67
69
|
var _a;
|
|
68
70
|
if (e.key === 'Enter')
|
|
@@ -71,12 +73,11 @@ var InputField = function (_a) {
|
|
|
71
73
|
};
|
|
72
74
|
if (!rest.defaultValue)
|
|
73
75
|
delete rest.defaultValue;
|
|
74
|
-
return (
|
|
75
|
-
React.createElement(InputStyled, __assign({ onKeyPress: onKeyPress, endAdornment: endAdornment, startAdornment: startAdornment }, rest))));
|
|
76
|
+
return (_jsxs(Collapse, __assign({ in: !hide }, { children: [_jsx(InputStyled, __assign({ onKeyPress: onKeyPress, endAdornment: endAdornment, startAdornment: startAdornment }, rest)), _jsx(Collapse, __assign({ in: !!warningMessage, timeout: 400 }, { children: _jsx(Warning, __assign({ warningType: warningType }, { children: warningMessage })) }))] })));
|
|
76
77
|
};
|
|
77
78
|
InputField.defaultProps = {
|
|
78
79
|
hide: false,
|
|
79
|
-
placeholder: '500000000'
|
|
80
|
+
placeholder: '500000000',
|
|
81
|
+
warningType: 'error'
|
|
80
82
|
};
|
|
81
83
|
export default memo(InputField);
|
|
82
|
-
//# sourceMappingURL=Input.js.map
|
|
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import { memo } from 'react';
|
|
24
25
|
import InputAdornment from '@mui/material/InputAdornment';
|
|
25
26
|
import { styled } from '@mui/material/styles';
|
|
26
27
|
var InputAdornmentStyled = styled(InputAdornment)(function (_a) {
|
|
@@ -37,10 +38,9 @@ var InputAdornmentStyled = styled(InputAdornment)(function (_a) {
|
|
|
37
38
|
});
|
|
38
39
|
var InputFieldAdornment = function (_a) {
|
|
39
40
|
var position = _a.position, children = _a.children, rest = __rest(_a, ["position", "children"]);
|
|
40
|
-
return (
|
|
41
|
+
return (_jsx(InputAdornmentStyled, __assign({ position: position || 'end' }, rest, { children: children })));
|
|
41
42
|
};
|
|
42
43
|
InputFieldAdornment.defaultProps = {
|
|
43
44
|
position: 'end'
|
|
44
45
|
};
|
|
45
46
|
export default memo(InputFieldAdornment);
|
|
46
|
-
//# sourceMappingURL=InputAdornment.js.map
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import List from '@mui/material/List';
|
|
@@ -46,9 +47,6 @@ var ListStyled = styled(List)(function (_a) {
|
|
|
46
47
|
});
|
|
47
48
|
var CustomList = function (_a) {
|
|
48
49
|
var children = _a.children, rest = __rest(_a, ["children"]);
|
|
49
|
-
return
|
|
50
|
-
children,
|
|
51
|
-
" ");
|
|
50
|
+
return _jsxs(ListStyled, __assign({}, rest, { children: [children, " "] }));
|
|
52
51
|
};
|
|
53
52
|
export default React.memo(CustomList);
|
|
54
|
-
//# sourceMappingURL=List.js.map
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import ListItem from '@mui/material/ListItem';
|
|
@@ -29,7 +30,6 @@ var ListItemStyled = styled(ListItem)(function (_a) {
|
|
|
29
30
|
});
|
|
30
31
|
var CustomListItem = function (_a) {
|
|
31
32
|
var children = _a.children, rest = __rest(_a, ["children"]);
|
|
32
|
-
return (
|
|
33
|
+
return (_jsx(ListItemStyled, __assign({ disableGutters: true }, rest, { children: children })));
|
|
33
34
|
};
|
|
34
35
|
export default React.memo(CustomListItem);
|
|
35
|
-
//# sourceMappingURL=ListItem.js.map
|
|
@@ -3,19 +3,21 @@ export interface LoaderProps {
|
|
|
3
3
|
outerColor?: string;
|
|
4
4
|
innerColor?: string;
|
|
5
5
|
duration?: number;
|
|
6
|
-
|
|
6
|
+
toggleAnimation?: boolean;
|
|
7
7
|
size?: number;
|
|
8
8
|
style?: React.CSSProperties;
|
|
9
|
-
|
|
9
|
+
className?: string;
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
defaultProps: {
|
|
11
|
+
declare function Loader(props: LoaderProps): JSX.Element;
|
|
12
|
+
declare namespace Loader {
|
|
13
|
+
var defaultProps: {
|
|
14
14
|
outerColor: string;
|
|
15
15
|
innerColor: string;
|
|
16
|
-
runAnimation: boolean;
|
|
17
|
-
size: number;
|
|
18
16
|
duration: number;
|
|
17
|
+
toggleAnimation: boolean;
|
|
18
|
+
size: number;
|
|
19
|
+
style: null;
|
|
19
20
|
};
|
|
20
|
-
}
|
|
21
|
+
}
|
|
22
|
+
declare const _default: React.MemoExoticComponent<typeof Loader>;
|
|
21
23
|
export default _default;
|
|
@@ -1,58 +1,40 @@
|
|
|
1
|
-
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import React from 'react';
|
|
2
14
|
import { styled } from '@mui/material/styles';
|
|
3
|
-
|
|
4
|
-
var DivStyled = styled(Box)(function (_a) {
|
|
5
|
-
var theme = _a.theme;
|
|
6
|
-
return ({
|
|
7
|
-
width: theme.spacing(12.5),
|
|
8
|
-
height: theme.spacing(12.5),
|
|
9
|
-
margin: 'auto',
|
|
10
|
-
display: 'block',
|
|
11
|
-
position: 'absolute'
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
var LoaderContainerStyled = styled(Box)(function (_a) {
|
|
15
|
+
var RootStyled = styled('div')(function (_a) {
|
|
15
16
|
var theme = _a.theme;
|
|
16
17
|
return ({
|
|
17
|
-
width:
|
|
18
|
-
height:
|
|
18
|
+
width: '100px',
|
|
19
|
+
height: '100px',
|
|
19
20
|
display: 'block',
|
|
20
21
|
position: 'relative',
|
|
21
22
|
margin: 'auto'
|
|
22
23
|
});
|
|
23
24
|
});
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
return ({
|
|
27
|
-
width: '100%',
|
|
28
|
-
height: '100%',
|
|
29
|
-
position: 'absolute',
|
|
30
|
-
margin: '0',
|
|
31
|
-
left: '0',
|
|
32
|
-
right: '0',
|
|
33
|
-
top: theme.spacing(-0.18)
|
|
34
|
-
});
|
|
25
|
+
var LoaderBoxStyled = styled('svg')(function (_a) {
|
|
26
|
+
var size = _a.size;
|
|
27
|
+
return (__assign({ width: '100%', height: '100%', position: 'absolute', margin: '0', left: '0', right: '0' }, (size && { transform: "scale(".concat(size / 40.0, ")") })));
|
|
35
28
|
});
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
var scaleStyle = size ? { transform: 'scale(' + size / 40.0 + ')' } : {};
|
|
40
|
-
return (React.createElement(DivStyled, null,
|
|
41
|
-
React.createElement(LoaderContainerStyled, { style: style },
|
|
42
|
-
React.createElement(SvgBoxLoaderStyled, { style: Object.assign(scaleStyle, svgStyle) },
|
|
43
|
-
React.createElement("circle", { style: { stroke: outerColor }, cx: '50%', cy: '50%', r: '20', fill: 'none', strokeLinecap: 'round', strokeWidth: ' 3.6px', strokeDasharray: ' 125, 124' }, runAnimation && (React.createElement(Fragment, null,
|
|
44
|
-
React.createElement("animateTransform", { attributeName: 'transform', type: 'rotate', from: '0 50 50', to: '360 50 50', dur: defaultDuration / 3 + 's', repeatCount: 'indefinite' }),
|
|
45
|
-
React.createElement("animate", { attributeName: 'stroke-dashoffset', values: '0; 122; 122; 0; 0', keyTimes: '0; 0.45; 0.55; 0.9; 1', dur: defaultDuration + 's', repeatCount: 'indefinite' })))),
|
|
46
|
-
React.createElement("circle", { style: { stroke: innerColor }, cx: '50%', cy: '50%', r: '14', fill: 'none', strokeLinecap: 'round', strokeWidth: ' 3.6px', strokeDasharray: ' 88, 124' }, runAnimation && (React.createElement(Fragment, null,
|
|
47
|
-
React.createElement("animateTransform", { attributeName: 'transform', type: 'rotate', from: '360 50 50', to: '0 50 50', dur: defaultDuration / 3 + 's', repeatCount: 'indefinite' }),
|
|
48
|
-
React.createElement("animate", { attributeName: 'stroke-dashoffset', values: '0; -85; -85; 0; 0', keyTimes: '0; 0.45; 0.55; 0.9; 1', dur: defaultDuration + 's', repeatCount: 'indefinite' }))))))));
|
|
49
|
-
};
|
|
29
|
+
function Loader(props) {
|
|
30
|
+
return (_jsx(RootStyled, __assign({ className: props.className, style: props.style }, { children: _jsxs(LoaderBoxStyled, __assign({ size: props.size, className: 'loader-box-container' }, { children: [_jsx("circle", __assign({ style: { stroke: props.outerColor }, cx: '50%', cy: '50%', r: '20', fill: 'none', strokeLinecap: 'round', strokeWidth: ' 3.6px', strokeDasharray: ' 125, 124' }, { children: props.toggleAnimation && (_jsxs(_Fragment, { children: [_jsx("animateTransform", { attributeName: 'transform', type: 'rotate', from: '0 50 50', to: '360 50 50', dur: "".concat(props.duration || 0 / 3, "s"), repeatCount: 'indefinite' }), _jsx("animate", { attributeName: 'stroke-dashoffset', values: '0; 122; 122; 0; 0', keyTimes: '0; 0.45; 0.55; 0.9; 1', dur: "".concat(props.duration, "s"), repeatCount: 'indefinite' })] })) })), _jsx("circle", __assign({ style: { stroke: props.innerColor }, cx: '50%', cy: '50%', r: '14', fill: 'none', strokeLinecap: 'round', strokeWidth: ' 3.6px', strokeDasharray: ' 88, 124' }, { children: props.toggleAnimation && (_jsxs(_Fragment, { children: [_jsx("animateTransform", { attributeName: 'transform', type: 'rotate', from: '360 50 50', to: '0 50 50', dur: "".concat(props.duration || 0 / 3, "s"), repeatCount: 'indefinite' }), _jsx("animate", { attributeName: 'stroke-dashoffset', values: '0; -85; -85; 0; 0', keyTimes: '0; 0.45; 0.55; 0.9; 1', dur: "".concat(props.duration, "s"), repeatCount: 'indefinite' })] })) }))] })) })));
|
|
31
|
+
}
|
|
50
32
|
Loader.defaultProps = {
|
|
51
33
|
outerColor: '#423e3c',
|
|
52
34
|
innerColor: '#423e3c',
|
|
53
|
-
|
|
35
|
+
duration: 3,
|
|
36
|
+
toggleAnimation: false,
|
|
54
37
|
size: 50,
|
|
55
|
-
|
|
38
|
+
style: null
|
|
56
39
|
};
|
|
57
40
|
export default React.memo(Loader);
|
|
58
|
-
//# sourceMappingURL=Loader.js.map
|
|
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
-
import
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import { memo } from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import Avatar from '@mui/material/Avatar';
|
|
26
27
|
import Badge from '@mui/material/Badge';
|
|
@@ -52,11 +53,9 @@ var AvatarStyled = styled(Avatar)(function (_a) {
|
|
|
52
53
|
});
|
|
53
54
|
var LogoBadge = function (_a) {
|
|
54
55
|
var src = _a.src, rest = __rest(_a, ["src"]);
|
|
55
|
-
return (
|
|
56
|
+
return (_jsx(BadgeStyled, __assign({ invisible: !src }, rest, { badgeContent: rest.badgeContent || (_jsx(Badge, __assign({ overlap: 'circular', anchorOrigin: {
|
|
56
57
|
vertical: 'bottom',
|
|
57
58
|
horizontal: 'right'
|
|
58
|
-
} },
|
|
59
|
-
React.createElement(AvatarStyled, { src: src }))) })));
|
|
59
|
+
} }, { children: _jsx(AvatarStyled, { src: src }) }))) })));
|
|
60
60
|
};
|
|
61
61
|
export default memo(LogoBadge);
|
|
62
|
-
//# sourceMappingURL=LogoBadge.js.map
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import OTPInput from 'react-otp-input';
|
|
@@ -54,7 +55,7 @@ var OTPFieldStyled = styled(OTPInput)(function (_a) {
|
|
|
54
55
|
});
|
|
55
56
|
var OTPFieldComponent = function (_a) {
|
|
56
57
|
var length = _a.length, value = _a.value, autoFocus = _a.autoFocus, isInputNum = _a.isInputNum, rest = __rest(_a, ["length", "value", "autoFocus", "isInputNum"]);
|
|
57
|
-
return (
|
|
58
|
+
return (_jsx(OTPFieldStyled, __assign({ value: value, inputStyle: { width: '46px' }, numInputs: length, shouldAutoFocus: autoFocus, isInputNum: isInputNum }, rest)));
|
|
58
59
|
};
|
|
59
60
|
OTPFieldComponent.defaultProps = {
|
|
60
61
|
length: 6,
|
|
@@ -62,4 +63,3 @@ OTPFieldComponent.defaultProps = {
|
|
|
62
63
|
isInputNum: true
|
|
63
64
|
};
|
|
64
65
|
export default React.memo(OTPFieldComponent);
|
|
65
|
-
//# sourceMappingURL=OTPField.js.map
|
|
@@ -2,9 +2,10 @@ import * as React from 'react';
|
|
|
2
2
|
import { BoxProps } from '@mui/material/Box';
|
|
3
3
|
export interface OTPTimerProps extends BoxProps {
|
|
4
4
|
time?: number;
|
|
5
|
+
resendText: string;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: React.MemoExoticComponent<{
|
|
7
|
-
({ time, ...rest }: OTPTimerProps): JSX.Element;
|
|
8
|
+
({ time, resendText, ...rest }: OTPTimerProps): JSX.Element;
|
|
8
9
|
defaultProps: {
|
|
9
10
|
time: number;
|
|
10
11
|
};
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import Text from '../Text';
|
|
@@ -29,7 +30,6 @@ var OTPTimerStyled = styled(Box)(function (_a) {
|
|
|
29
30
|
return ({
|
|
30
31
|
display: 'flex',
|
|
31
32
|
paddingInline: theme.spacing(2.5),
|
|
32
|
-
paddingBlockStart: theme.spacing(6.25),
|
|
33
33
|
justifyContent: 'end'
|
|
34
34
|
});
|
|
35
35
|
});
|
|
@@ -38,20 +38,18 @@ var OTPTimerTextStyled = styled(Text)(function (_a) {
|
|
|
38
38
|
return ({
|
|
39
39
|
width: 'fit-content',
|
|
40
40
|
fontWeight: theme.typography.fontWeightBold,
|
|
41
|
-
fontSize: theme.
|
|
41
|
+
fontSize: theme.typography.fontSize,
|
|
42
42
|
marginTop: theme.spacing(0.5)
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
45
|
var OTPTimerComponent = function (_a) {
|
|
46
|
-
var time = _a.time, rest = __rest(_a, ["time"]);
|
|
46
|
+
var time = _a.time, resendText = _a.resendText, rest = __rest(_a, ["time", "resendText"]);
|
|
47
47
|
var defaultTime = time || 0;
|
|
48
|
-
return (
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} }, defaultTime > 0 ? (defaultTime > 9 ? "00:".concat(time) : "00:0".concat(time)) : 'RESEND OTP')));
|
|
48
|
+
return (_jsx(OTPTimerStyled, __assign({}, rest, { children: _jsx(OTPTimerTextStyled, __assign({ variant: 'h4', color: 'primary', sx: {
|
|
49
|
+
cursor: defaultTime <= 0 ? 'pointer' : 'default'
|
|
50
|
+
} }, { children: defaultTime > 0 ? (defaultTime > 9 ? "00:".concat(time) : "00:0".concat(time)) : resendText })) })));
|
|
52
51
|
};
|
|
53
52
|
OTPTimerComponent.defaultProps = {
|
|
54
53
|
time: 59
|
|
55
54
|
};
|
|
56
55
|
export default React.memo(OTPTimerComponent);
|
|
57
|
-
//# sourceMappingURL=OTPTimer.js.map
|
|
@@ -20,6 +20,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
24
|
import * as React from 'react';
|
|
24
25
|
import { styled } from '@mui/material/styles';
|
|
25
26
|
import LinearProgress from '@mui/material/LinearProgress';
|
|
@@ -39,8 +40,6 @@ var LinerProgressBarStyled = styled(LinearProgress)(function (_a) {
|
|
|
39
40
|
});
|
|
40
41
|
var ProgressBarComponent = function (_a) {
|
|
41
42
|
var rest = __rest(_a, []);
|
|
42
|
-
return (
|
|
43
|
-
React.createElement(LinerProgressBarStyled, { variant: 'determinate' })));
|
|
43
|
+
return (_jsx(ProgressBarStyled, __assign({}, rest, { children: _jsx(LinerProgressBarStyled, { variant: 'determinate' }) })));
|
|
44
44
|
};
|
|
45
45
|
export default React.memo(ProgressBarComponent);
|
|
46
|
-
//# sourceMappingURL=ProgressBar.js.map
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
13
|
import { Provider } from 'react-redux';
|
|
3
14
|
export default function ReduxProvider(_a) {
|
|
4
15
|
var store = _a.store, children = _a.children;
|
|
5
|
-
return
|
|
16
|
+
return _jsx(Provider, __assign({ store: store }, { children: children }));
|
|
6
17
|
}
|
|
7
|
-
//# sourceMappingURL=ReduxProvider.js.map
|
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { Fragment } from 'react';
|
|
14
|
+
import { ThemeProvider as MUIThemeProvider } from '@mui/material/styles';
|
|
3
15
|
export default function ThemeProvider(_a) {
|
|
4
16
|
var children = _a.children, theme = _a.theme;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
console.info('Now the application is using the custom theme.');
|
|
10
|
-
}, [theme]);
|
|
11
|
-
return React.createElement(MUIThemeProvider, { theme: theme || createTheme() }, children);
|
|
17
|
+
if (!theme) {
|
|
18
|
+
return _jsx(Fragment, {});
|
|
19
|
+
}
|
|
20
|
+
return _jsx(MUIThemeProvider, __assign({ theme: theme }, { children: children }));
|
|
12
21
|
}
|
|
13
|
-
//# sourceMappingURL=ThemeProvider.js.map
|