@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.
Files changed (294) hide show
  1. package/build/@types/app.d.ts +16 -0
  2. package/build/@types/app.js +6 -2
  3. package/build/@types/index.js +0 -1
  4. package/build/@types/redux.js +0 -1
  5. package/build/@types/theme.d.ts +12 -3
  6. package/build/@types/theme.js +15 -2
  7. package/build/app/rootReducer.d.ts +1 -1
  8. package/build/app/rootReducer.js +1 -2
  9. package/build/app/settings.d.ts +7 -2
  10. package/build/app/settings.js +21 -7
  11. package/build/app/store.d.ts +2 -2
  12. package/build/app/store.js +0 -1
  13. package/build/assets/locales/ar.json +22 -3
  14. package/build/assets/locales/en.json +20 -1
  15. package/build/components/AnimationFlow/AnimationFlow.js +15 -5
  16. package/build/components/AnimationFlow/BottomSheet.d.ts +3 -2
  17. package/build/components/AnimationFlow/BottomSheet.js +43 -5
  18. package/build/components/AnimationFlow/Dialog.d.ts +3 -2
  19. package/build/components/AnimationFlow/Dialog.js +35 -18
  20. package/build/components/AnimationFlow/index.js +0 -1
  21. package/build/components/Button/Button.d.ts +7 -3
  22. package/build/components/Button/Button.js +21 -3
  23. package/build/components/Button/index.js +0 -1
  24. package/build/components/CheckBox/CheckBox.js +2 -2
  25. package/build/components/CheckBox/index.js +0 -1
  26. package/build/components/Collapse/Collapse.d.ts +5 -0
  27. package/build/components/Collapse/Collapse.js +28 -0
  28. package/build/components/Collapse/index.d.ts +3 -0
  29. package/build/components/Collapse/index.js +2 -0
  30. package/build/components/DatePicker/DatePicker.js +10 -14
  31. package/build/components/DatePicker/index.js +0 -1
  32. package/build/components/Footer/Footer.js +2 -16
  33. package/build/components/Footer/index.js +0 -1
  34. package/build/components/Form/Form.js +2 -2
  35. package/build/components/Form/index.js +0 -1
  36. package/build/components/Icon/Icon.js +2 -2
  37. package/build/components/Icon/index.js +0 -1
  38. package/build/components/Input/Input.d.ts +4 -1
  39. package/build/components/Input/Input.js +8 -7
  40. package/build/components/Input/index.js +0 -1
  41. package/build/components/InputAdornment/InputAdornment.js +3 -3
  42. package/build/components/InputAdornment/index.js +0 -1
  43. package/build/components/List/List.js +2 -4
  44. package/build/components/List/index.js +0 -1
  45. package/build/components/ListItem/ListItem.js +2 -2
  46. package/build/components/ListItem/index.js +0 -1
  47. package/build/components/Loader/Loader.d.ts +10 -8
  48. package/build/components/Loader/Loader.js +25 -43
  49. package/build/components/Loader/index.js +0 -1
  50. package/build/components/LogoBadge/LogoBadge.js +4 -5
  51. package/build/components/LogoBadge/index.js +0 -1
  52. package/build/components/OTPField/OTPField.js +2 -2
  53. package/build/components/OTPField/index.js +0 -1
  54. package/build/components/OTPTimer/OTPTimer.d.ts +2 -1
  55. package/build/components/OTPTimer/OTPTimer.js +6 -8
  56. package/build/components/OTPTimer/index.js +0 -1
  57. package/build/components/ProgressBar/ProgressBar.js +2 -3
  58. package/build/components/ProgressBar/index.js +0 -1
  59. package/build/components/Providers/ReduxProvider.js +13 -3
  60. package/build/components/Providers/ThemeProvider.js +18 -10
  61. package/build/components/Providers/index.js +0 -1
  62. package/build/components/SimpleList/SimpleList.d.ts +10 -2
  63. package/build/components/SimpleList/SimpleList.js +58 -26
  64. package/build/components/SimpleList/index.js +0 -1
  65. package/build/components/Slide/Slide.d.ts +6 -0
  66. package/build/components/Slide/Slide.js +30 -0
  67. package/build/components/Slide/index.d.ts +3 -0
  68. package/build/components/Slide/index.js +2 -0
  69. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +14 -0
  70. package/build/components/SocialMediaGroup/SocialMediaGroup.js +86 -0
  71. package/build/components/SocialMediaGroup/index.d.ts +3 -0
  72. package/build/components/SocialMediaGroup/index.js +2 -0
  73. package/build/components/Text/Text.js +2 -2
  74. package/build/components/Text/index.js +0 -1
  75. package/build/components/ToggleButton/ToggleButton.d.ts +5 -0
  76. package/build/components/ToggleButton/ToggleButton.js +44 -0
  77. package/build/components/ToggleButton/index.d.ts +3 -0
  78. package/build/components/ToggleButton/index.js +2 -0
  79. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -0
  80. package/build/components/ToggleButtonGroup/ToggleButtonGroup.js +37 -0
  81. package/build/components/ToggleButtonGroup/index.d.ts +3 -0
  82. package/build/components/ToggleButtonGroup/index.js +2 -0
  83. package/build/components/Tooltip/Tooltip.d.ts +10 -0
  84. package/build/components/Tooltip/Tooltip.js +44 -0
  85. package/build/components/Tooltip/index.d.ts +3 -0
  86. package/build/components/Tooltip/index.js +2 -0
  87. package/build/components/Warning/Warning.d.ts +2 -1
  88. package/build/components/Warning/Warning.js +4 -3
  89. package/build/components/Warning/index.js +0 -1
  90. package/build/constants/app.d.ts +5 -4
  91. package/build/constants/app.js +35 -5
  92. package/build/constants/assets.d.ts +7 -0
  93. package/build/constants/assets.js +8 -2
  94. package/build/constants/dummy.js +0 -1
  95. package/build/constants/index.d.ts +1 -0
  96. package/build/constants/index.js +1 -1
  97. package/build/constants/validation.d.ts +2 -0
  98. package/build/constants/validation.js +2 -0
  99. package/build/features/app/{midStore.d.ts → business/midStore.d.ts} +2 -2
  100. package/build/features/app/{midStore.js → business/midStore.js} +0 -1
  101. package/build/features/app/connect/midStore.d.ts +10 -0
  102. package/build/features/app/connect/midStore.js +18 -0
  103. package/build/features/business/index.d.ts +0 -0
  104. package/build/features/business/index.js +1 -0
  105. package/build/features/business/screens/IDBOD/DOB.d.ts +5 -0
  106. package/build/features/business/screens/IDBOD/DOB.js +44 -0
  107. package/build/features/business/screens/IDBOD/ID.d.ts +5 -0
  108. package/build/features/business/screens/IDBOD/ID.js +68 -0
  109. package/build/features/business/screens/IDBOD/IDBOD.d.ts +5 -0
  110. package/build/features/business/screens/IDBOD/IDBOD.js +86 -0
  111. package/build/features/business/screens/IDBOD/index.d.ts +3 -0
  112. package/build/features/business/screens/IDBOD/index.js +2 -0
  113. package/build/features/business/screens/IDBOD/validation.d.ts +11 -0
  114. package/build/features/business/screens/IDBOD/validation.js +5 -0
  115. package/build/features/connect/Connect.js +31 -25
  116. package/build/features/connect/Footer.d.ts +4 -0
  117. package/build/features/connect/Footer.js +16 -0
  118. package/build/features/connect/index.js +0 -1
  119. package/build/features/connect/screens/Individual/Email.d.ts +5 -0
  120. package/build/features/connect/screens/Individual/Email.js +56 -0
  121. package/build/features/connect/screens/Individual/Individual.d.ts +5 -0
  122. package/build/features/connect/screens/Individual/Individual.js +86 -0
  123. package/build/features/connect/screens/Individual/Name.d.ts +5 -0
  124. package/build/features/connect/screens/Individual/Name.js +58 -0
  125. package/build/features/connect/screens/Individual/index.d.ts +3 -0
  126. package/build/features/connect/screens/Individual/index.js +2 -0
  127. package/build/features/connect/screens/Individual/validation.d.ts +11 -0
  128. package/build/features/connect/screens/Individual/validation.js +5 -0
  129. package/build/features/connect/screens/MID/BusinessCountry.d.ts +2 -6
  130. package/build/features/connect/screens/MID/BusinessCountry.js +18 -53
  131. package/build/features/connect/screens/MID/IDNumber.d.ts +0 -4
  132. package/build/features/connect/screens/MID/IDNumber.js +28 -22
  133. package/build/features/connect/screens/MID/MID.js +85 -27
  134. package/build/features/connect/screens/MID/MIDTitle.js +3 -5
  135. package/build/features/connect/screens/MID/MobileNumber.d.ts +2 -7
  136. package/build/features/connect/screens/MID/MobileNumber.js +28 -69
  137. package/build/features/connect/screens/MID/index.js +0 -1
  138. package/build/features/connect/screens/MID/validation.d.ts +18 -0
  139. package/build/features/connect/screens/MID/validation.js +8 -0
  140. package/build/features/connect/screens/Merchant/BrandName.d.ts +5 -0
  141. package/build/features/connect/screens/Merchant/BrandName.js +99 -0
  142. package/build/features/connect/screens/Merchant/Merchant.d.ts +5 -0
  143. package/build/features/connect/screens/Merchant/Merchant.js +94 -0
  144. package/build/features/connect/screens/Merchant/SocialMedia.d.ts +5 -0
  145. package/build/features/connect/screens/Merchant/SocialMedia.js +87 -0
  146. package/build/features/connect/screens/Merchant/TAC.d.ts +5 -0
  147. package/build/features/connect/screens/Merchant/TAC.js +88 -0
  148. package/build/features/connect/screens/Merchant/index.d.ts +3 -0
  149. package/build/features/connect/screens/Merchant/index.js +2 -0
  150. package/build/features/connect/screens/Merchant/validation.d.ts +50 -0
  151. package/build/features/connect/screens/Merchant/validation.js +23 -0
  152. package/build/features/connect/screens/OTP/OTP.d.ts +6 -2
  153. package/build/features/connect/screens/OTP/OTP.js +76 -32
  154. package/build/features/connect/screens/OTP/OTPInput.d.ts +5 -0
  155. package/build/features/connect/screens/OTP/OTPInput.js +51 -0
  156. package/build/features/connect/screens/OTP/OTPTimer.d.ts +5 -0
  157. package/build/features/connect/screens/OTP/OTPTimer.js +35 -0
  158. package/build/features/connect/screens/OTP/index.js +0 -1
  159. package/build/features/connect/screens/OTP/validation.d.ts +8 -0
  160. package/build/features/connect/screens/OTP/validation.js +4 -0
  161. package/build/features/connect/screens/Password/Password.d.ts +5 -0
  162. package/build/features/connect/screens/Password/Password.js +86 -0
  163. package/build/features/connect/screens/Password/PasswordInput.d.ts +5 -0
  164. package/build/features/connect/screens/Password/PasswordInput.js +73 -0
  165. package/build/features/connect/screens/Password/index.d.ts +3 -0
  166. package/build/features/connect/screens/Password/index.js +2 -0
  167. package/build/features/connect/screens/Password/validation.d.ts +8 -0
  168. package/build/features/connect/screens/Password/validation.js +4 -0
  169. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +5 -0
  170. package/build/features/connect/screens/ThankYou/ThankYou.js +76 -0
  171. package/build/features/connect/screens/ThankYou/index.d.ts +3 -0
  172. package/build/features/connect/screens/ThankYou/index.js +2 -0
  173. package/build/features/featuresScreens.d.ts +2 -0
  174. package/build/features/featuresScreens.js +28 -0
  175. package/build/hooks/index.d.ts +4 -0
  176. package/build/hooks/index.js +4 -1
  177. package/build/hooks/useAppDispatch.d.ts +4 -0
  178. package/build/hooks/useAppDispatch.js +2 -0
  179. package/build/hooks/useAppSelector.d.ts +3 -0
  180. package/build/hooks/useAppSelector.js +2 -0
  181. package/build/hooks/useAppTheme.js +3 -3
  182. package/build/hooks/useEventListener.d.ts +5 -0
  183. package/build/hooks/useEventListener.js +20 -0
  184. package/build/hooks/useLanguage.d.ts +4 -0
  185. package/build/hooks/useLanguage.js +8 -0
  186. package/build/hooks/useThemeMode.js +0 -1
  187. package/build/i18n.js +0 -1
  188. package/build/index.css +5 -0
  189. package/build/index.js +0 -1
  190. package/build/theme/components.js +0 -1
  191. package/build/theme/index.js +0 -1
  192. package/build/theme/palette.js +1 -1
  193. package/build/theme/shadows.js +0 -1
  194. package/build/theme/theme.d.ts +1 -1
  195. package/build/theme/theme.js +0 -2
  196. package/build/theme/typography.js +0 -1
  197. package/build/utils/array.js +0 -1
  198. package/build/utils/html.js +0 -1
  199. package/build/utils/index.js +0 -1
  200. package/build/utils/object.js +0 -1
  201. package/build/utils/storage.js +0 -1
  202. package/build/utils/string.d.ts +1 -1
  203. package/build/utils/string.js +1 -4
  204. package/build/utils/style.js +0 -1
  205. package/build/utils/validation.d.ts +4 -0
  206. package/build/utils/validation.js +12 -1
  207. package/package.json +120 -112
  208. package/build/@types/app.js.map +0 -1
  209. package/build/@types/index.js.map +0 -1
  210. package/build/@types/redux.js.map +0 -1
  211. package/build/@types/theme.js.map +0 -1
  212. package/build/app/hooks.d.ts +0 -7
  213. package/build/app/hooks.js +0 -4
  214. package/build/app/hooks.js.map +0 -1
  215. package/build/app/rootReducer.js.map +0 -1
  216. package/build/app/settings.js.map +0 -1
  217. package/build/app/store.js.map +0 -1
  218. package/build/components/AnimationFlow/AnimationFlow.js.map +0 -1
  219. package/build/components/AnimationFlow/BottomSheet.js.map +0 -1
  220. package/build/components/AnimationFlow/Dialog.js.map +0 -1
  221. package/build/components/AnimationFlow/index.js.map +0 -1
  222. package/build/components/Button/Button.js.map +0 -1
  223. package/build/components/Button/index.js.map +0 -1
  224. package/build/components/CheckBox/CheckBox.js.map +0 -1
  225. package/build/components/CheckBox/index.js.map +0 -1
  226. package/build/components/DatePicker/DatePicker.js.map +0 -1
  227. package/build/components/DatePicker/index.js.map +0 -1
  228. package/build/components/Footer/Footer.js.map +0 -1
  229. package/build/components/Footer/index.js.map +0 -1
  230. package/build/components/Form/Form.js.map +0 -1
  231. package/build/components/Form/index.js.map +0 -1
  232. package/build/components/Icon/Icon.js.map +0 -1
  233. package/build/components/Icon/index.js.map +0 -1
  234. package/build/components/Input/Input.js.map +0 -1
  235. package/build/components/Input/index.js.map +0 -1
  236. package/build/components/InputAdornment/InputAdornment.js.map +0 -1
  237. package/build/components/InputAdornment/index.js.map +0 -1
  238. package/build/components/List/List.js.map +0 -1
  239. package/build/components/List/index.js.map +0 -1
  240. package/build/components/ListItem/ListItem.js.map +0 -1
  241. package/build/components/ListItem/index.js.map +0 -1
  242. package/build/components/Loader/Loader.js.map +0 -1
  243. package/build/components/Loader/index.js.map +0 -1
  244. package/build/components/LogoBadge/LogoBadge.js.map +0 -1
  245. package/build/components/LogoBadge/index.js.map +0 -1
  246. package/build/components/OTPField/OTPField.js.map +0 -1
  247. package/build/components/OTPField/index.js.map +0 -1
  248. package/build/components/OTPTimer/OTPTimer.js.map +0 -1
  249. package/build/components/OTPTimer/index.js.map +0 -1
  250. package/build/components/ProgressBar/ProgressBar.js.map +0 -1
  251. package/build/components/ProgressBar/index.js.map +0 -1
  252. package/build/components/Providers/ReduxProvider.js.map +0 -1
  253. package/build/components/Providers/ThemeProvider.js.map +0 -1
  254. package/build/components/Providers/index.js.map +0 -1
  255. package/build/components/SimpleList/SimpleList.js.map +0 -1
  256. package/build/components/SimpleList/index.js.map +0 -1
  257. package/build/components/Text/Text.js.map +0 -1
  258. package/build/components/Text/index.js.map +0 -1
  259. package/build/components/Warning/Warning.js.map +0 -1
  260. package/build/components/Warning/index.js.map +0 -1
  261. package/build/constants/app.js.map +0 -1
  262. package/build/constants/assets.js.map +0 -1
  263. package/build/constants/dummy.js.map +0 -1
  264. package/build/constants/index.js.map +0 -1
  265. package/build/features/app/midStore.js.map +0 -1
  266. package/build/features/connect/Connect.js.map +0 -1
  267. package/build/features/connect/index.js.map +0 -1
  268. package/build/features/connect/screens/MID/BusinessCountry.js.map +0 -1
  269. package/build/features/connect/screens/MID/IDNumber.js.map +0 -1
  270. package/build/features/connect/screens/MID/MID.js.map +0 -1
  271. package/build/features/connect/screens/MID/MIDTitle.js.map +0 -1
  272. package/build/features/connect/screens/MID/MobileNumber.js.map +0 -1
  273. package/build/features/connect/screens/MID/index.js.map +0 -1
  274. package/build/features/connect/screens/OTP/OTP.js.map +0 -1
  275. package/build/features/connect/screens/OTP/index.js.map +0 -1
  276. package/build/hooks/index.js.map +0 -1
  277. package/build/hooks/useAppTheme.js.map +0 -1
  278. package/build/hooks/useThemeMode.js.map +0 -1
  279. package/build/i18n.js.map +0 -1
  280. package/build/index.js.map +0 -1
  281. package/build/theme/components.js.map +0 -1
  282. package/build/theme/index.js.map +0 -1
  283. package/build/theme/palette.js.map +0 -1
  284. package/build/theme/shadows.js.map +0 -1
  285. package/build/theme/theme.js.map +0 -1
  286. package/build/theme/typography.js.map +0 -1
  287. package/build/utils/array.js.map +0 -1
  288. package/build/utils/html.js.map +0 -1
  289. package/build/utils/index.js.map +0 -1
  290. package/build/utils/object.js.map +0 -1
  291. package/build/utils/storage.js.map +0 -1
  292. package/build/utils/string.js.map +0 -1
  293. package/build/utils/style.js.map +0 -1
  294. 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 '@mui/material/Collapse';
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 = 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');
86
87
  var toggleCalender = function (event) {
87
- var elementId = 'connect-collapse-template';
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 (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 }, { 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
@@ -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 React, { memo } from 'react';
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 '@mui/material/Collapse';
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 (React.createElement(Collapse, { in: !hide },
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
@@ -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
@@ -3,19 +3,21 @@ export interface LoaderProps {
3
3
  outerColor?: string;
4
4
  innerColor?: string;
5
5
  duration?: number;
6
- runAnimation?: boolean;
6
+ toggleAnimation?: boolean;
7
7
  size?: number;
8
8
  style?: React.CSSProperties;
9
- svgStyle?: React.CSSProperties;
9
+ className?: string;
10
10
  }
11
- declare const _default: React.MemoExoticComponent<{
12
- ({ outerColor, innerColor, duration, runAnimation, style, svgStyle, size }: LoaderProps): JSX.Element;
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
- import React, { Fragment } 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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import React from 'react';
2
14
  import { styled } from '@mui/material/styles';
3
- import Box from '@mui/material/Box';
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: theme.spacing(12.5),
18
- height: theme.spacing(12.5),
18
+ width: '100px',
19
+ height: '100px',
19
20
  display: 'block',
20
21
  position: 'relative',
21
22
  margin: 'auto'
22
23
  });
23
24
  });
24
- var SvgBoxLoaderStyled = styled('svg')(function (_a) {
25
- var theme = _a.theme;
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
- var Loader = function (_a) {
37
- var outerColor = _a.outerColor, innerColor = _a.innerColor, duration = _a.duration, runAnimation = _a.runAnimation, style = _a.style, svgStyle = _a.svgStyle, size = _a.size;
38
- var defaultDuration = duration || 0;
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
- runAnimation: false,
35
+ duration: 3,
36
+ toggleAnimation: false,
54
37
  size: 50,
55
- duration: 3.0
38
+ style: null
56
39
  };
57
40
  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
@@ -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.spacing(1.75),
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 (React.createElement(OTPTimerStyled, __assign({}, rest),
49
- React.createElement(OTPTimerTextStyled, { variant: 'h4', color: 'primary', sx: {
50
- cursor: time == 0 ? 'pointer' : 'auto'
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
@@ -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
@@ -1,13 +1,21 @@
1
- import React, { useEffect } from 'react';
2
- import { createTheme, ThemeProvider as MUIThemeProvider } from '@mui/material/styles';
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
- useEffect(function () {
6
- if (!theme)
7
- console.info('Now the application is using the default theme.');
8
- if (theme)
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
@@ -1,4 +1,3 @@
1
1
  import ReduxProvider from './ReduxProvider';
2
2
  import ThemeProvider from './ThemeProvider';
3
3
  export { ReduxProvider, ThemeProvider };
4
- //# sourceMappingURL=index.js.map