@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.
Files changed (172) hide show
  1. package/README.md +0 -0
  2. package/build/@types/app.js +0 -1
  3. package/build/@types/index.js +0 -1
  4. package/build/@types/redux.js +0 -1
  5. package/build/@types/theme.js +0 -1
  6. package/build/app/hooks.js +0 -1
  7. package/build/app/rootReducer.js +0 -1
  8. package/build/app/settings.js +0 -1
  9. package/build/app/store.js +0 -1
  10. package/build/components/AnimationFlow/AnimationFlow.js +15 -5
  11. package/build/components/AnimationFlow/BottomSheet.js +14 -3
  12. package/build/components/AnimationFlow/Dialog.js +4 -10
  13. package/build/components/AnimationFlow/index.js +0 -1
  14. package/build/components/Button/Button.js +2 -2
  15. package/build/components/Button/index.js +0 -1
  16. package/build/components/CheckBox/CheckBox.js +2 -2
  17. package/build/components/CheckBox/index.js +0 -1
  18. package/build/components/DatePicker/DatePicker.js +8 -12
  19. package/build/components/DatePicker/index.js +0 -1
  20. package/build/components/Footer/Footer.js +2 -16
  21. package/build/components/Footer/index.js +0 -1
  22. package/build/components/Form/Form.js +2 -2
  23. package/build/components/Form/index.js +0 -1
  24. package/build/components/Icon/Icon.js +2 -2
  25. package/build/components/Icon/index.js +0 -1
  26. package/build/components/Input/Input.js +3 -4
  27. package/build/components/Input/index.js +0 -1
  28. package/build/components/InputAdornment/InputAdornment.js +3 -3
  29. package/build/components/InputAdornment/index.js +0 -1
  30. package/build/components/List/List.js +2 -4
  31. package/build/components/List/index.js +0 -1
  32. package/build/components/ListItem/ListItem.js +2 -2
  33. package/build/components/ListItem/index.js +0 -1
  34. package/build/components/Loader/Loader.js +13 -10
  35. package/build/components/Loader/index.js +0 -1
  36. package/build/components/LogoBadge/LogoBadge.js +4 -5
  37. package/build/components/LogoBadge/index.js +0 -1
  38. package/build/components/OTPField/OTPField.js +2 -2
  39. package/build/components/OTPField/index.js +0 -1
  40. package/build/components/OTPTimer/OTPTimer.js +3 -4
  41. package/build/components/OTPTimer/index.js +0 -1
  42. package/build/components/ProgressBar/ProgressBar.js +2 -3
  43. package/build/components/ProgressBar/index.js +0 -1
  44. package/build/components/Providers/ReduxProvider.js +13 -3
  45. package/build/components/Providers/ThemeProvider.js +14 -3
  46. package/build/components/Providers/index.js +0 -1
  47. package/build/components/SimpleList/SimpleList.js +8 -8
  48. package/build/components/SimpleList/index.js +0 -1
  49. package/build/components/Text/Text.js +2 -2
  50. package/build/components/Text/index.js +0 -1
  51. package/build/components/Warning/Warning.js +2 -2
  52. package/build/components/Warning/index.js +0 -1
  53. package/build/constants/app.js +0 -1
  54. package/build/constants/assets.js +0 -1
  55. package/build/constants/dummy.js +0 -1
  56. package/build/constants/index.js +0 -1
  57. package/build/features/app/midStore.js +0 -1
  58. package/build/features/connect/Connect.js +4 -8
  59. package/build/features/connect/index.js +0 -1
  60. package/build/features/connect/screens/MID/BusinessCountry.js +4 -15
  61. package/build/features/connect/screens/MID/IDNumber.js +16 -13
  62. package/build/features/connect/screens/MID/MID.js +13 -9
  63. package/build/features/connect/screens/MID/MIDTitle.js +2 -4
  64. package/build/features/connect/screens/MID/MobileNumber.js +7 -23
  65. package/build/features/connect/screens/MID/index.js +0 -1
  66. package/build/features/connect/screens/OTP/OTP.js +13 -8
  67. package/build/features/connect/screens/OTP/index.js +0 -1
  68. package/build/hooks/index.js +0 -1
  69. package/build/hooks/useAppTheme.js +0 -1
  70. package/build/hooks/useThemeMode.js +0 -1
  71. package/build/i18n.js +0 -1
  72. package/build/index.js +0 -1
  73. package/build/theme/components.js +0 -1
  74. package/build/theme/index.js +0 -1
  75. package/build/theme/palette.js +0 -1
  76. package/build/theme/shadows.js +0 -1
  77. package/build/theme/theme.js +0 -1
  78. package/build/theme/typography.js +0 -1
  79. package/build/utils/array.js +0 -1
  80. package/build/utils/html.js +0 -1
  81. package/build/utils/index.js +0 -1
  82. package/build/utils/object.js +0 -1
  83. package/build/utils/storage.js +0 -1
  84. package/build/utils/string.js +0 -1
  85. package/build/utils/style.js +0 -1
  86. package/build/utils/validation.js +0 -1
  87. package/package.json +5 -3
  88. package/build/@types/app.js.map +0 -1
  89. package/build/@types/index.js.map +0 -1
  90. package/build/@types/redux.js.map +0 -1
  91. package/build/@types/theme.js.map +0 -1
  92. package/build/app/hooks.js.map +0 -1
  93. package/build/app/rootReducer.js.map +0 -1
  94. package/build/app/settings.js.map +0 -1
  95. package/build/app/store.js.map +0 -1
  96. package/build/components/AnimationFlow/AnimationFlow.js.map +0 -1
  97. package/build/components/AnimationFlow/BottomSheet.js.map +0 -1
  98. package/build/components/AnimationFlow/Dialog.js.map +0 -1
  99. package/build/components/AnimationFlow/index.js.map +0 -1
  100. package/build/components/Button/Button.js.map +0 -1
  101. package/build/components/Button/index.js.map +0 -1
  102. package/build/components/CheckBox/CheckBox.js.map +0 -1
  103. package/build/components/CheckBox/index.js.map +0 -1
  104. package/build/components/DatePicker/DatePicker.js.map +0 -1
  105. package/build/components/DatePicker/index.js.map +0 -1
  106. package/build/components/Footer/Footer.js.map +0 -1
  107. package/build/components/Footer/index.js.map +0 -1
  108. package/build/components/Form/Form.js.map +0 -1
  109. package/build/components/Form/index.js.map +0 -1
  110. package/build/components/Icon/Icon.js.map +0 -1
  111. package/build/components/Icon/index.js.map +0 -1
  112. package/build/components/Input/Input.js.map +0 -1
  113. package/build/components/Input/index.js.map +0 -1
  114. package/build/components/InputAdornment/InputAdornment.js.map +0 -1
  115. package/build/components/InputAdornment/index.js.map +0 -1
  116. package/build/components/List/List.js.map +0 -1
  117. package/build/components/List/index.js.map +0 -1
  118. package/build/components/ListItem/ListItem.js.map +0 -1
  119. package/build/components/ListItem/index.js.map +0 -1
  120. package/build/components/Loader/Loader.js.map +0 -1
  121. package/build/components/Loader/index.js.map +0 -1
  122. package/build/components/LogoBadge/LogoBadge.js.map +0 -1
  123. package/build/components/LogoBadge/index.js.map +0 -1
  124. package/build/components/OTPField/OTPField.js.map +0 -1
  125. package/build/components/OTPField/index.js.map +0 -1
  126. package/build/components/OTPTimer/OTPTimer.js.map +0 -1
  127. package/build/components/OTPTimer/index.js.map +0 -1
  128. package/build/components/ProgressBar/ProgressBar.js.map +0 -1
  129. package/build/components/ProgressBar/index.js.map +0 -1
  130. package/build/components/Providers/ReduxProvider.js.map +0 -1
  131. package/build/components/Providers/ThemeProvider.js.map +0 -1
  132. package/build/components/Providers/index.js.map +0 -1
  133. package/build/components/SimpleList/SimpleList.js.map +0 -1
  134. package/build/components/SimpleList/index.js.map +0 -1
  135. package/build/components/Text/Text.js.map +0 -1
  136. package/build/components/Text/index.js.map +0 -1
  137. package/build/components/Warning/Warning.js.map +0 -1
  138. package/build/components/Warning/index.js.map +0 -1
  139. package/build/constants/app.js.map +0 -1
  140. package/build/constants/assets.js.map +0 -1
  141. package/build/constants/dummy.js.map +0 -1
  142. package/build/constants/index.js.map +0 -1
  143. package/build/features/app/midStore.js.map +0 -1
  144. package/build/features/connect/Connect.js.map +0 -1
  145. package/build/features/connect/index.js.map +0 -1
  146. package/build/features/connect/screens/MID/BusinessCountry.js.map +0 -1
  147. package/build/features/connect/screens/MID/IDNumber.js.map +0 -1
  148. package/build/features/connect/screens/MID/MID.js.map +0 -1
  149. package/build/features/connect/screens/MID/MIDTitle.js.map +0 -1
  150. package/build/features/connect/screens/MID/MobileNumber.js.map +0 -1
  151. package/build/features/connect/screens/MID/index.js.map +0 -1
  152. package/build/features/connect/screens/OTP/OTP.js.map +0 -1
  153. package/build/features/connect/screens/OTP/index.js.map +0 -1
  154. package/build/hooks/index.js.map +0 -1
  155. package/build/hooks/useAppTheme.js.map +0 -1
  156. package/build/hooks/useThemeMode.js.map +0 -1
  157. package/build/i18n.js.map +0 -1
  158. package/build/index.js.map +0 -1
  159. package/build/theme/components.js.map +0 -1
  160. package/build/theme/index.js.map +0 -1
  161. package/build/theme/palette.js.map +0 -1
  162. package/build/theme/shadows.js.map +0 -1
  163. package/build/theme/theme.js.map +0 -1
  164. package/build/theme/typography.js.map +0 -1
  165. package/build/utils/array.js.map +0 -1
  166. package/build/utils/html.js.map +0 -1
  167. package/build/utils/index.js.map +0 -1
  168. package/build/utils/object.js.map +0 -1
  169. package/build/utils/storage.js.map +0 -1
  170. package/build/utils/string.js.map +0 -1
  171. package/build/utils/style.js.map +0 -1
  172. package/build/utils/validation.js.map +0 -1
package/README.md ADDED
File without changes
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=app.js.map
@@ -1,4 +1,3 @@
1
1
  export * from './theme';
2
2
  export * from './redux';
3
3
  export * from './app';
4
- //# sourceMappingURL=index.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=redux.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=theme.js.map
@@ -1,4 +1,3 @@
1
1
  import { useDispatch, useSelector } from 'react-redux';
2
2
  export var useAppDispatch = function () { return useDispatch(); };
3
3
  export var useAppSelector = useSelector;
4
- //# sourceMappingURL=hooks.js.map
@@ -5,4 +5,3 @@ var rootReducer = {
5
5
  mid: mid
6
6
  };
7
7
  export default rootReducer;
8
- //# sourceMappingURL=rootReducer.js.map
@@ -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
@@ -9,4 +9,3 @@ export var store = configureStore({
9
9
  });
10
10
  }
11
11
  });
12
- //# sourceMappingURL=store.js.map
@@ -1,4 +1,15 @@
1
- import * as React from 'react';
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 (React.createElement(Dialog, { footer: footer, open: open }, children));
22
+ return (_jsx(Dialog, __assign({ footer: footer, open: open }, { children: children })));
12
23
  }
13
24
  if (type === 'BOTTOMSHEET') {
14
- return React.createElement(BottomSheet, { open: open }, children);
25
+ return _jsx(BottomSheet, __assign({ open: open }, { children: children }));
15
26
  }
16
- return matches ? (React.createElement(BottomSheet, { open: open }, children)) : (React.createElement(Dialog, { open: open, footer: footer }, children));
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 (React.createElement(BottomSheetStyled, { open: open, snapPoints: function (_a) {
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 React.createElement(Slide, __assign({ direction: 'up', ref: ref }, props));
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 (React.createElement(MuiDialog, { PaperProps: {
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
@@ -1,3 +1,2 @@
1
1
  import AnimationFlow from './AnimationFlow';
2
2
  export default AnimationFlow;
3
- //# sourceMappingURL=index.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 React.createElement(ButtonStyled, __assign({}, rest), children);
42
+ return _jsx(ButtonStyled, __assign({}, rest, { children: children }));
42
43
  };
43
44
  export default React.memo(ButtonComponent);
44
- //# sourceMappingURL=Button.js.map
@@ -1,3 +1,2 @@
1
1
  import Button from './Button';
2
2
  export default Button;
3
- //# sourceMappingURL=index.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 React.createElement(CheckBoxStyled, __assign({}, rest));
37
+ return _jsx(CheckBoxStyled, __assign({}, rest));
37
38
  };
38
39
  export default React.memo(CheckBoxComponent);
39
- //# sourceMappingURL=CheckBox.js.map
@@ -1,3 +1,2 @@
1
1
  import CheckBox from './CheckBox';
2
2
  export default CheckBox;
3
- //# sourceMappingURL=index.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 = React.createElement(ContainerIcon, null);
81
- var expandMoreIcon = React.createElement(ExpandMore, null);
82
- var expandLessIcon = React.createElement(ExpandLess, null);
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 (React.createElement(Container, { disabled: disabled, id: 'container-calendar' },
104
- React.createElement(InputFieldStyled, { endAdornment: React.createElement(ArrowIcon, { disabled: disabled }, 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 }),
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
@@ -1,3 +1,2 @@
1
1
  import DatePicker from './DatePicker';
2
2
  export default DatePicker;
3
- //# sourceMappingURL=index.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 (React.createElement(FooterStyled, __assign({}, rest),
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
@@ -1,3 +1,2 @@
1
1
  import Footer from './Footer';
2
2
  export default Footer;
3
- //# sourceMappingURL=index.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 (React.createElement(BoxStyled, __assign({ component: 'form' }, rest), children));
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
@@ -1,3 +1,2 @@
1
1
  import Form from './Form';
2
2
  export default Form;
3
- //# sourceMappingURL=index.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 React.createElement(IconComponent, __assign({}, props, { ref: ref }));
24
+ return _jsx(IconComponent, __assign({}, props, { ref: ref }));
24
25
  });
25
26
  export default React.memo(Icon);
26
- //# sourceMappingURL=Icon.js.map
@@ -1,3 +1,2 @@
1
1
  import Icon from './Icon';
2
2
  export default Icon;
3
- //# sourceMappingURL=index.js.map
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { memo } from 'react';
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 (React.createElement(Collapse, { in: !hide },
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
@@ -1,3 +1,2 @@
1
1
  import Input from './Input';
2
2
  export default Input;
3
- //# sourceMappingURL=index.js.map
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { memo } from 'react';
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 (React.createElement(InputAdornmentStyled, __assign({ position: position || 'end' }, rest), children));
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
@@ -1,3 +1,2 @@
1
1
  import InputAdornment from './InputAdornment';
2
2
  export default InputAdornment;
3
- //# sourceMappingURL=index.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 React.createElement(ListStyled, __assign({}, rest),
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
@@ -1,3 +1,2 @@
1
1
  import List from './List';
2
2
  export default List;
3
- //# sourceMappingURL=index.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 (React.createElement(ListItemStyled, __assign({ disableGutters: true }, rest), children));
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,2 @@
1
1
  import ListItem from './ListItem';
2
2
  export default ListItem;
3
- //# sourceMappingURL=index.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 (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' }))))))));
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
@@ -1,3 +1,2 @@
1
1
  import Loader from './Loader';
2
2
  export default Loader;
3
- //# sourceMappingURL=index.js.map
@@ -20,7 +20,8 @@ var __rest = (this && this.__rest) || function (s, e) {
20
20
  }
21
21
  return t;
22
22
  };
23
- import React, { memo } from 'react';
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 (React.createElement(BadgeStyled, __assign({ invisible: !src }, rest, { badgeContent: rest.badgeContent || (React.createElement(Badge, { overlap: 'circular', anchorOrigin: {
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
@@ -1,3 +1,2 @@
1
1
  import LogoBadge from './LogoBadge';
2
2
  export default LogoBadge;
3
- //# sourceMappingURL=index.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 (React.createElement(OTPFieldStyled, __assign({ value: value, inputStyle: { width: '46px' }, numInputs: length, shouldAutoFocus: autoFocus, isInputNum: isInputNum }, rest)));
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
@@ -1,3 +1,2 @@
1
1
  import OTPField from './OTPField';
2
2
  export default OTPField;
3
- //# sourceMappingURL=index.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 (React.createElement(OTPTimerStyled, __assign({}, rest),
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
@@ -1,3 +1,2 @@
1
1
  import OTPTimer from './OTPTimer';
2
2
  export default OTPTimer;
3
- //# sourceMappingURL=index.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 (React.createElement(ProgressBarStyled, __assign({}, rest),
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,3 +1,2 @@
1
1
  import ProgressBar from './ProgressBar';
2
2
  export default ProgressBar;
3
- //# sourceMappingURL=index.js.map
@@ -1,7 +1,17 @@
1
- import React from 'react';
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 React.createElement(Provider, { store: store }, children);
16
+ return _jsx(Provider, __assign({ store: store }, { children: children }));
6
17
  }
7
- //# sourceMappingURL=ReduxProvider.js.map