@tap-payments/auth-jsconnect 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/build/@types/app.js +0 -1
- package/build/@types/index.js +0 -1
- package/build/@types/redux.js +0 -1
- package/build/@types/theme.js +0 -1
- package/build/app/hooks.js +0 -1
- package/build/app/rootReducer.js +0 -1
- package/build/app/settings.js +0 -1
- package/build/app/store.js +0 -1
- package/build/components/AnimationFlow/AnimationFlow.js +15 -5
- package/build/components/AnimationFlow/BottomSheet.js +14 -3
- package/build/components/AnimationFlow/Dialog.js +4 -10
- package/build/components/AnimationFlow/index.js +0 -1
- package/build/components/Button/Button.js +2 -2
- 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/DatePicker/DatePicker.js +8 -12
- 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.js +3 -4
- 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.js +13 -10
- 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.js +3 -4
- 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 +14 -3
- package/build/components/Providers/index.js +0 -1
- package/build/components/SimpleList/SimpleList.js +8 -8
- package/build/components/SimpleList/index.js +0 -1
- package/build/components/Text/Text.js +2 -2
- package/build/components/Text/index.js +0 -1
- package/build/components/Warning/Warning.js +2 -2
- package/build/components/Warning/index.js +0 -1
- package/build/constants/app.js +0 -1
- package/build/constants/assets.js +0 -1
- package/build/constants/dummy.js +0 -1
- package/build/constants/index.js +0 -1
- package/build/features/app/midStore.js +0 -1
- package/build/features/connect/Connect.js +4 -8
- package/build/features/connect/index.js +0 -1
- package/build/features/connect/screens/MID/BusinessCountry.js +4 -15
- package/build/features/connect/screens/MID/IDNumber.js +16 -13
- package/build/features/connect/screens/MID/MID.js +13 -9
- package/build/features/connect/screens/MID/MIDTitle.js +2 -4
- package/build/features/connect/screens/MID/MobileNumber.js +7 -23
- package/build/features/connect/screens/MID/index.js +0 -1
- package/build/features/connect/screens/OTP/OTP.js +13 -8
- package/build/features/connect/screens/OTP/index.js +0 -1
- package/build/hooks/index.js +0 -1
- package/build/hooks/useAppTheme.js +0 -1
- package/build/hooks/useThemeMode.js +0 -1
- package/build/i18n.js +0 -1
- 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 +0 -1
- package/build/theme/shadows.js +0 -1
- package/build/theme/theme.js +0 -1
- 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.js +0 -1
- package/build/utils/style.js +0 -1
- package/build/utils/validation.js +0 -1
- package/package.json +5 -3
- 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.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
package/README.md
ADDED
|
File without changes
|
package/build/@types/app.js
CHANGED
package/build/@types/index.js
CHANGED
package/build/@types/redux.js
CHANGED
package/build/@types/theme.js
CHANGED
package/build/app/hooks.js
CHANGED
package/build/app/rootReducer.js
CHANGED
package/build/app/settings.js
CHANGED
|
@@ -30,4 +30,3 @@ export var settingsSlice = createSlice({
|
|
|
30
30
|
export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage;
|
|
31
31
|
export default settingsSlice.reducer;
|
|
32
32
|
export var settingsSelector = function (state) { return state.settings; };
|
|
33
|
-
//# sourceMappingURL=settings.js.map
|
package/build/app/store.js
CHANGED
|
@@ -1,4 +1,15 @@
|
|
|
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 { useTheme } from '@mui/material/styles';
|
|
3
14
|
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
4
15
|
import Dialog from './Dialog';
|
|
@@ -8,11 +19,10 @@ export default function AnimationFlow(_a) {
|
|
|
8
19
|
var theme = useTheme();
|
|
9
20
|
var matches = useMediaQuery(theme.breakpoints.down(breakpoint || 'sm'));
|
|
10
21
|
if (type === 'PUPOP') {
|
|
11
|
-
return (
|
|
22
|
+
return (_jsx(Dialog, __assign({ footer: footer, open: open }, { children: children })));
|
|
12
23
|
}
|
|
13
24
|
if (type === 'BOTTOMSHEET') {
|
|
14
|
-
return
|
|
25
|
+
return _jsx(BottomSheet, __assign({ open: open }, { children: children }));
|
|
15
26
|
}
|
|
16
|
-
return matches ? (
|
|
27
|
+
return matches ? (_jsx(BottomSheet, __assign({ open: open }, { children: children }))) : (_jsx(Dialog, __assign({ open: open, footer: footer }, { children: children })));
|
|
17
28
|
}
|
|
18
|
-
//# sourceMappingURL=AnimationFlow.js.map
|
|
@@ -1,3 +1,15 @@
|
|
|
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";
|
|
1
13
|
import * as React from 'react';
|
|
2
14
|
import { BottomSheet } from 'react-spring-bottom-sheet';
|
|
3
15
|
import { styled } from '@mui/material/styles';
|
|
@@ -12,10 +24,9 @@ var BottomSheetStyled = styled(BottomSheet)(function (_a) {
|
|
|
12
24
|
});
|
|
13
25
|
var BottomSheetComponent = function (_a) {
|
|
14
26
|
var open = _a.open, children = _a.children;
|
|
15
|
-
return (
|
|
27
|
+
return (_jsx(BottomSheetStyled, __assign({ open: open, snapPoints: function (_a) {
|
|
16
28
|
var maxHeight = _a.maxHeight;
|
|
17
29
|
return [maxHeight / 6, maxHeight * 0.9];
|
|
18
|
-
} }, children));
|
|
30
|
+
} }, { children: children })));
|
|
19
31
|
};
|
|
20
32
|
export default React.memo(BottomSheetComponent);
|
|
21
|
-
//# sourceMappingURL=BottomSheet.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, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
13
|
import * as React from 'react';
|
|
13
14
|
import { useTranslation } from 'react-i18next';
|
|
14
15
|
import MuiDialog from '@mui/material/Dialog';
|
|
@@ -21,7 +22,7 @@ import { ICONS_NAMES, LANGUAGE_MODE } from '../../constants';
|
|
|
21
22
|
import LogoBadge from '../LogoBadge';
|
|
22
23
|
import Icon from '../Icon';
|
|
23
24
|
var Transition = React.forwardRef(function Transition(props, ref) {
|
|
24
|
-
return
|
|
25
|
+
return _jsx(Slide, __assign({ direction: 'up', ref: ref }, props));
|
|
25
26
|
});
|
|
26
27
|
var PaperStyled = styled(Paper)(function (_a) {
|
|
27
28
|
var theme = _a.theme;
|
|
@@ -72,19 +73,12 @@ var Dialog = function (_a) {
|
|
|
72
73
|
var open = _a.open, children = _a.children, footer = _a.footer, transitionDuration = _a.transitionDuration;
|
|
73
74
|
var i18n = useTranslation().i18n;
|
|
74
75
|
var isAR = i18n.language === LANGUAGE_MODE.AR;
|
|
75
|
-
return (
|
|
76
|
+
return (_jsxs(MuiDialog, __assign({ PaperProps: {
|
|
76
77
|
elevation: 0
|
|
77
78
|
}, sx: {
|
|
78
79
|
'& .MuiDialog-paper': {
|
|
79
80
|
overflowY: 'visible'
|
|
80
81
|
}
|
|
81
|
-
}, PaperComponent: PaperStyled, open: open, TransitionComponent: Transition, transitionDuration: transitionDuration || 500, keepMounted: true, "aria-describedby": 'dialog-slide-description' },
|
|
82
|
-
React.createElement(DialogContentStyled, null,
|
|
83
|
-
React.createElement(LogoBadge, { src: ICONS_NAMES.LOGO_ICON }),
|
|
84
|
-
React.createElement(LogoIconBoxStyled, null,
|
|
85
|
-
React.createElement(LogoIconStyled, { src: isAR ? ICONS_NAMES.TAP_AR : ICONS_NAMES.TAP_EN, alt: 'tap logo' })),
|
|
86
|
-
children),
|
|
87
|
-
footer));
|
|
82
|
+
}, PaperComponent: PaperStyled, open: open, TransitionComponent: Transition, transitionDuration: transitionDuration || 500, keepMounted: true, "aria-describedby": 'dialog-slide-description' }, { children: [_jsxs(DialogContentStyled, { children: [_jsx(LogoBadge, { src: ICONS_NAMES.LOGO_ICON }), _jsx(LogoIconBoxStyled, { children: _jsx(LogoIconStyled, { src: isAR ? ICONS_NAMES.TAP_AR : ICONS_NAMES.TAP_EN, alt: 'tap logo' }) }), children] }), footer] })));
|
|
88
83
|
};
|
|
89
84
|
export default React.memo(Dialog);
|
|
90
|
-
//# sourceMappingURL=Dialog.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 Button from '@mui/material/Button';
|
|
25
26
|
import { styled } from '@mui/material/styles';
|
|
@@ -38,7 +39,6 @@ var ButtonStyled = styled(Button)(function (_a) {
|
|
|
38
39
|
});
|
|
39
40
|
var ButtonComponent = function (_a) {
|
|
40
41
|
var children = _a.children, rest = __rest(_a, ["children"]);
|
|
41
|
-
return
|
|
42
|
+
return _jsx(ButtonStyled, __assign({}, rest, { children: children }));
|
|
42
43
|
};
|
|
43
44
|
export default React.memo(ButtonComponent);
|
|
44
|
-
//# sourceMappingURL=Button.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 Checkbox from '@mui/material/Checkbox/Checkbox';
|
|
@@ -33,7 +34,6 @@ var CheckBoxStyled = styled(Checkbox)(function (_a) {
|
|
|
33
34
|
});
|
|
34
35
|
var CheckBoxComponent = function (_a) {
|
|
35
36
|
var rest = __rest(_a, []);
|
|
36
|
-
return
|
|
37
|
+
return _jsx(CheckBoxStyled, __assign({}, rest));
|
|
37
38
|
};
|
|
38
39
|
export default React.memo(CheckBoxComponent);
|
|
39
|
-
//# sourceMappingURL=CheckBox.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 React, { useEffect, useState, memo } from 'react';
|
|
24
25
|
import Calendar from 'react-calendar';
|
|
25
26
|
import 'react-calendar/dist/Calendar.css';
|
|
@@ -77,9 +78,9 @@ 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');
|
|
@@ -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, unmountOnExit: true, timeout: { enter: 500, exit: 500 } }, { 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
|
|
@@ -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 Input from '@mui/material/Input';
|
|
25
26
|
import Collapse from '@mui/material/Collapse';
|
|
26
27
|
import { alpha, styled } from '@mui/material/styles';
|
|
@@ -71,12 +72,10 @@ var InputField = function (_a) {
|
|
|
71
72
|
};
|
|
72
73
|
if (!rest.defaultValue)
|
|
73
74
|
delete rest.defaultValue;
|
|
74
|
-
return (
|
|
75
|
-
React.createElement(InputStyled, __assign({ onKeyPress: onKeyPress, endAdornment: endAdornment, startAdornment: startAdornment }, rest))));
|
|
75
|
+
return (_jsx(Collapse, __assign({ in: !hide }, { children: _jsx(InputStyled, __assign({ onKeyPress: onKeyPress, endAdornment: endAdornment, startAdornment: startAdornment }, rest)) })));
|
|
76
76
|
};
|
|
77
77
|
InputField.defaultProps = {
|
|
78
78
|
hide: false,
|
|
79
79
|
placeholder: '500000000'
|
|
80
80
|
};
|
|
81
81
|
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
|
|
@@ -1,3 +1,15 @@
|
|
|
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, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
13
|
import React, { Fragment } from 'react';
|
|
2
14
|
import { styled } from '@mui/material/styles';
|
|
3
15
|
import Box from '@mui/material/Box';
|
|
@@ -37,15 +49,7 @@ var Loader = function (_a) {
|
|
|
37
49
|
var outerColor = _a.outerColor, innerColor = _a.innerColor, duration = _a.duration, runAnimation = _a.runAnimation, style = _a.style, svgStyle = _a.svgStyle, size = _a.size;
|
|
38
50
|
var defaultDuration = duration || 0;
|
|
39
51
|
var scaleStyle = size ? { transform: 'scale(' + size / 40.0 + ')' } : {};
|
|
40
|
-
return (
|
|
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' }))))))));
|
|
52
|
+
return (_jsx(DivStyled, { children: _jsx(LoaderContainerStyled, __assign({ style: style }, { children: _jsxs(SvgBoxLoaderStyled, __assign({ style: Object.assign(scaleStyle, svgStyle) }, { children: [_jsx("circle", __assign({ style: { stroke: outerColor }, cx: '50%', cy: '50%', r: '20', fill: 'none', strokeLinecap: 'round', strokeWidth: ' 3.6px', strokeDasharray: ' 125, 124' }, { children: runAnimation && (_jsxs(Fragment, { children: [_jsx("animateTransform", { attributeName: 'transform', type: 'rotate', from: '0 50 50', to: '360 50 50', dur: defaultDuration / 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: defaultDuration + 's', repeatCount: 'indefinite' })] })) })), _jsx("circle", __assign({ style: { stroke: innerColor }, cx: '50%', cy: '50%', r: '14', fill: 'none', strokeLinecap: 'round', strokeWidth: ' 3.6px', strokeDasharray: ' 88, 124' }, { children: runAnimation && (_jsxs(Fragment, { children: [_jsx("animateTransform", { attributeName: 'transform', type: 'rotate', from: '360 50 50', to: '0 50 50', dur: defaultDuration / 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: defaultDuration + 's', repeatCount: 'indefinite' })] })) }))] })) })) }));
|
|
49
53
|
};
|
|
50
54
|
Loader.defaultProps = {
|
|
51
55
|
outerColor: '#423e3c',
|
|
@@ -55,4 +59,3 @@ Loader.defaultProps = {
|
|
|
55
59
|
duration: 3.0
|
|
56
60
|
};
|
|
57
61
|
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
|
|
@@ -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';
|
|
@@ -45,13 +46,11 @@ var OTPTimerTextStyled = styled(Text)(function (_a) {
|
|
|
45
46
|
var OTPTimerComponent = function (_a) {
|
|
46
47
|
var time = _a.time, rest = __rest(_a, ["time"]);
|
|
47
48
|
var defaultTime = time || 0;
|
|
48
|
-
return (
|
|
49
|
-
React.createElement(OTPTimerTextStyled, { variant: 'h4', color: 'primary', sx: {
|
|
49
|
+
return (_jsx(OTPTimerStyled, __assign({}, rest, { children: _jsx(OTPTimerTextStyled, __assign({ variant: 'h4', color: 'primary', sx: {
|
|
50
50
|
cursor: time == 0 ? 'pointer' : 'auto'
|
|
51
|
-
} }, defaultTime > 0 ? (defaultTime > 9 ? "00:".concat(time) : "00:0".concat(time)) : 'RESEND OTP')));
|
|
51
|
+
} }, { children: defaultTime > 0 ? (defaultTime > 9 ? "00:".concat(time) : "00:0".concat(time)) : 'RESEND OTP' })) })));
|
|
52
52
|
};
|
|
53
53
|
OTPTimerComponent.defaultProps = {
|
|
54
54
|
time: 59
|
|
55
55
|
};
|
|
56
56
|
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
|