@tap-payments/auth-jsconnect 1.0.90-test → 1.0.91-test

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 (191) hide show
  1. package/build/api/account.js +1 -1
  2. package/build/api/auth.js +1 -1
  3. package/build/api/availabilityServices.js +1 -1
  4. package/build/api/axios.js +2 -2
  5. package/build/api/country.js +1 -1
  6. package/build/api/data.js +1 -1
  7. package/build/api/entity.js +1 -1
  8. package/build/api/firebase.js +1 -1
  9. package/build/api/individual.js +1 -1
  10. package/build/api/ip.js +1 -1
  11. package/build/api/lead.js +1 -1
  12. package/build/api/operator.js +1 -1
  13. package/build/app/rootReducer.d.ts +7 -7
  14. package/build/app/rootReducer.js +7 -7
  15. package/build/app/settings.d.ts +3 -3
  16. package/build/app/settings.js +5 -5
  17. package/build/components/AnimationFlow/Dialog.js +2 -2
  18. package/build/components/DatePicker/DatePicker.js +3 -3
  19. package/build/components/DatePicker/customStyle.css +86 -0
  20. package/build/components/Footer/Footer.d.ts +0 -2
  21. package/build/components/Footer/Footer.js +3 -4
  22. package/build/components/Input/Input.js +2 -2
  23. package/build/components/OTPTimer/OTPTimer.js +1 -1
  24. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  25. package/build/components/SimpleList/SimpleList.js +1 -1
  26. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  27. package/build/components/SocialMediaGroup/SocialMediaGroup.js +2 -2
  28. package/build/constants/app.d.ts +1 -1
  29. package/build/constants/app.js +1 -1
  30. package/build/features/Landing/Landing.d.ts +1 -1
  31. package/build/features/Landing/Landing.js +8 -8
  32. package/build/features/Landing/screens/VerifyAndRedirect/VerifyAndRedirect.js +6 -6
  33. package/build/features/app/bank/bankStore.d.ts +2 -2
  34. package/build/features/app/bank/bankStore.js +4 -4
  35. package/build/features/app/business/businessStore.d.ts +4 -4
  36. package/build/features/app/business/businessStore.js +5 -5
  37. package/build/features/app/connect/connectStore.d.ts +2 -2
  38. package/build/features/app/connect/connectStore.js +5 -5
  39. package/build/features/app/individual/individualStore.d.ts +2 -2
  40. package/build/features/app/individual/individualStore.js +4 -4
  41. package/build/features/app/landing/landingStore.d.ts +2 -2
  42. package/build/features/app/landing/landingStore.js +1 -1
  43. package/build/features/app/password/passwordStore.d.ts +2 -2
  44. package/build/features/app/password/passwordStore.js +4 -4
  45. package/build/features/app/tax/taxStore.d.ts +2 -2
  46. package/build/features/app/tax/taxStore.js +4 -4
  47. package/build/features/bank/Bank.d.ts +1 -1
  48. package/build/features/bank/Bank.js +10 -10
  49. package/build/features/bank/screens/BankDetails/BankDetails.js +8 -8
  50. package/build/features/bank/screens/BankDetails/BankName.js +8 -8
  51. package/build/features/bank/screens/BankDetails/Beneficiary.js +7 -7
  52. package/build/features/bank/screens/BankDetails/IBAN.js +8 -8
  53. package/build/features/bank/screens/BankDetails/validation.js +1 -1
  54. package/build/features/bank/screens/Success/Success.js +3 -3
  55. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
  56. package/build/features/bank/screens/Verify/OTPInput.js +2 -2
  57. package/build/features/bank/screens/Verify/Verify.js +9 -9
  58. package/build/features/business/Business.d.ts +1 -1
  59. package/build/features/business/Business.js +10 -10
  60. package/build/features/business/screens/Activities/Activities.js +7 -7
  61. package/build/features/business/screens/Activities/ActivitiesList.d.ts +1 -1
  62. package/build/features/business/screens/Activities/ActivitiesList.js +9 -9
  63. package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
  64. package/build/features/business/screens/Activities/SalesChannels.d.ts +1 -1
  65. package/build/features/business/screens/Activities/SalesChannels.js +7 -7
  66. package/build/features/business/screens/BusinessType/BusinessType.js +8 -8
  67. package/build/features/business/screens/BusinessType/LicenseList.js +10 -10
  68. package/build/features/business/screens/BusinessType/LicenseNumber.js +8 -8
  69. package/build/features/business/screens/BusinessType/SelectType.js +6 -6
  70. package/build/features/business/screens/BusinessType/validation.js +2 -2
  71. package/build/features/business/screens/Customers/CustomerLocations.d.ts +1 -1
  72. package/build/features/business/screens/Customers/CustomerLocations.js +8 -8
  73. package/build/features/business/screens/Customers/Customers.js +8 -8
  74. package/build/features/business/screens/Customers/ExpectedCustomers.js +6 -6
  75. package/build/features/business/screens/Customers/ExpectedSalesRange.js +7 -7
  76. package/build/features/business/screens/Customers/RefundPolicy.d.ts +2 -2
  77. package/build/features/business/screens/Customers/RefundPolicy.js +7 -7
  78. package/build/features/business/screens/Customers/TransactionPolicy.js +5 -5
  79. package/build/features/business/screens/IDBOD/DOB.js +5 -5
  80. package/build/features/business/screens/IDBOD/ID.js +6 -6
  81. package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
  82. package/build/features/business/screens/OTP/OTP.js +9 -9
  83. package/build/features/business/screens/OTP/OTPInput.js +4 -4
  84. package/build/features/business/screens/Success/Success.js +3 -3
  85. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
  86. package/build/features/business/screens/Verify/OTPInput.js +2 -2
  87. package/build/features/business/screens/Verify/Verify.js +9 -9
  88. package/build/features/connect/Connect.d.ts +1 -1
  89. package/build/features/connect/Connect.js +10 -10
  90. package/build/features/connect/screens/Individual/Email.js +7 -7
  91. package/build/features/connect/screens/Individual/Individual.js +9 -9
  92. package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
  93. package/build/features/connect/screens/Individual/MobileNumber.js +11 -11
  94. package/build/features/connect/screens/Individual/Name.js +6 -6
  95. package/build/features/connect/screens/Individual/validation.js +1 -1
  96. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  97. package/build/features/connect/screens/Merchant/BrandList.js +8 -8
  98. package/build/features/connect/screens/Merchant/BrandName.js +10 -10
  99. package/build/features/connect/screens/Merchant/Merchant.js +7 -7
  100. package/build/features/connect/screens/Merchant/SocialMedia.js +9 -9
  101. package/build/features/connect/screens/Merchant/TAC.js +7 -7
  102. package/build/features/connect/screens/Merchant/validation.js +1 -1
  103. package/build/features/connect/screens/Mobile/Mobile.js +10 -10
  104. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
  105. package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
  106. package/build/features/connect/screens/Mobile/Title.js +2 -2
  107. package/build/features/connect/screens/NID/DOB.js +5 -5
  108. package/build/features/connect/screens/NID/IDNumber.js +8 -8
  109. package/build/features/connect/screens/NID/NID.js +9 -9
  110. package/build/features/connect/screens/OTP/OTP.js +9 -9
  111. package/build/features/connect/screens/OTP/OTPInput.js +4 -4
  112. package/build/features/connect/screens/ThankYou/ThankYou.js +3 -3
  113. package/build/features/featuresScreens.d.ts +1 -1
  114. package/build/features/featuresScreens.js +31 -31
  115. package/build/features/individual/Individual.d.ts +1 -1
  116. package/build/features/individual/Individual.js +10 -10
  117. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +8 -8
  118. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +1 -1
  119. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +8 -8
  120. package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +6 -6
  121. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +6 -6
  122. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  123. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +9 -9
  124. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +6 -6
  125. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  126. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +8 -8
  127. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  128. package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +6 -6
  129. package/build/features/individual/screens/ShowIndividualInfo/info.js +1 -1
  130. package/build/features/individual/screens/Success/Success.js +3 -3
  131. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
  132. package/build/features/individual/screens/Verify/OTPInput.js +2 -2
  133. package/build/features/individual/screens/Verify/Verify.js +9 -9
  134. package/build/features/password/Password.d.ts +1 -1
  135. package/build/features/password/Password.js +10 -10
  136. package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
  137. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
  138. package/build/features/password/screens/CreatePassword/CreatePassword.js +7 -7
  139. package/build/features/password/screens/CreatePassword/Password.js +6 -6
  140. package/build/features/password/screens/Success/Success.js +3 -3
  141. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
  142. package/build/features/password/screens/Verify/OTPInput.js +2 -2
  143. package/build/features/password/screens/Verify/Verify.js +9 -9
  144. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
  145. package/build/features/shared/Background/LogoBackground.js +4 -7
  146. package/build/features/shared/Button/AbsherButton.d.ts +2 -3
  147. package/build/features/shared/Button/AbsherButton.js +4 -4
  148. package/build/features/shared/Button/Button.d.ts +1 -1
  149. package/build/features/shared/Button/Button.js +7 -7
  150. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  151. package/build/features/shared/Button/EmailProvidersButtons.js +2 -2
  152. package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
  153. package/build/features/shared/Button/FlowsButtons.js +5 -5
  154. package/build/features/shared/Button/MobileButton.d.ts +2 -3
  155. package/build/features/shared/Button/MobileButton.js +4 -4
  156. package/build/features/shared/Button/SuccessButton.js +1 -1
  157. package/build/features/shared/Footer/Footer.js +5 -5
  158. package/build/features/shared/Input/Input.d.ts +1 -1
  159. package/build/features/shared/Input/Input.js +2 -2
  160. package/build/features/shared/OTP/OTP.d.ts +1 -1
  161. package/build/features/shared/OTP/OTP.js +3 -3
  162. package/build/features/shared/Search/Search.js +1 -1
  163. package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
  164. package/build/features/shared/SuccessScreen/SuccessScreen.js +5 -5
  165. package/build/features/tax/Tax.d.ts +1 -1
  166. package/build/features/tax/Tax.js +10 -10
  167. package/build/features/tax/screens/Success/Success.js +3 -3
  168. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
  169. package/build/features/tax/screens/TaxDetails/TaxDetails.js +6 -6
  170. package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
  171. package/build/features/tax/screens/Verify/OTPInput.js +2 -2
  172. package/build/features/tax/screens/Verify/Verify.js +9 -9
  173. package/build/hooks/useAppConfig.d.ts +1 -1
  174. package/build/hooks/useAppConfig.js +4 -4
  175. package/build/hooks/useAppSelector.d.ts +1 -1
  176. package/build/hooks/useAppTheme.d.ts +1 -1
  177. package/build/hooks/useAppTheme.js +3 -3
  178. package/build/hooks/useErrorListener.js +2 -2
  179. package/build/hooks/useLanguage.js +1 -1
  180. package/build/hooks/useRedirectionListener.js +1 -1
  181. package/build/i18n.js +1 -1
  182. package/build/index.css +135 -0
  183. package/build/index.d.ts +7 -7
  184. package/build/index.js +7 -7
  185. package/build/theme/theme.d.ts +1 -1
  186. package/build/utils/locale.d.ts +1 -1
  187. package/build/utils/locale.js +1 -1
  188. package/build/utils/rsa.js +1 -1
  189. package/build/utils/string.d.ts +1 -1
  190. package/build/utils/string.js +3 -3
  191. package/package.json +1 -1
@@ -26,15 +26,15 @@ import { useTranslation } from 'react-i18next';
26
26
  import { useController, useFormContext } from 'react-hook-form';
27
27
  import Box from '@mui/material/Box';
28
28
  import { styled } from '@mui/material/styles';
29
- import { ScreenContainer } from '@features/shared/Containers';
30
- import Input from '@features/shared/Input';
31
- import CheckIcon from '@features/shared/CheckIcon';
32
- import Collapse from '@components/Collapse';
33
- import { useAppSelector, useLanguage } from '@hooks';
34
- import { individualSelector } from '@features/app/individual/individualStore';
35
- import Text from '@components/Text';
36
- import ExpandIcon from '@components/ExpandIcon';
37
- import SimpleList from '@components/SimpleList';
29
+ import { ScreenContainer } from '../../../shared/Containers';
30
+ import Input from '../../../shared/Input';
31
+ import CheckIcon from '../../../shared/CheckIcon';
32
+ import Collapse from '../../../../components/Collapse';
33
+ import { useAppSelector, useLanguage } from '../../../../hooks';
34
+ import { individualSelector } from '../../../app/individual/individualStore';
35
+ import Text from '../../../../components/Text';
36
+ import ExpandIcon from '../../../../components/ExpandIcon';
37
+ import SimpleList from '../../../../components/SimpleList';
38
38
  var Container = styled(Box)(function () { return ({
39
39
  display: 'flex'
40
40
  }); });
@@ -14,12 +14,12 @@ import * as React from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
15
  import { useFormContext, useController } from 'react-hook-form';
16
16
  import { styled, alpha } from '@mui/material/styles';
17
- import { ScreenContainer } from '@features/shared/Containers';
18
- import Collapse from '@components/Collapse';
19
- import Mandatory from '@features/shared/Mandatory';
20
- import Text from '@components/Text';
21
- import RadioGroup from '@components/RadioGroup';
22
- import RadioLabel from '@components/RadioLabel';
17
+ import { ScreenContainer } from '../../../shared/Containers';
18
+ import Collapse from '../../../../components/Collapse';
19
+ import Mandatory from '../../../shared/Mandatory';
20
+ import Text from '../../../../components/Text';
21
+ import RadioGroup from '../../../../components/RadioGroup';
22
+ import RadioLabel from '../../../../components/RadioLabel';
23
23
  var LabelTextStyled = styled(Text)(function (_a) {
24
24
  var theme = _a.theme;
25
25
  return (__assign(__assign({}, theme.typography.caption), { color: alpha(theme.palette.text.primary, 0.6), marginBlockEnd: theme.spacing(0.625) }));
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { SourceOfIncome as SourceOfIncomeType } from '@types';
2
+ import { SourceOfIncome as SourceOfIncomeType } from '../../../../@types';
3
3
  interface SourceOfIncomeProps {
4
4
  show: boolean;
5
5
  onSelectSource?: (source: SourceOfIncomeType) => void;
@@ -26,15 +26,15 @@ import Box from '@mui/material/Box';
26
26
  import { styled } from '@mui/material/styles';
27
27
  import { useTranslation } from 'react-i18next';
28
28
  import { useController, useFormContext } from 'react-hook-form';
29
- import { useAppSelector, useLanguage } from '@hooks';
30
- import { individualSelector } from '@features/app/individual/individualStore';
31
- import Text from '@components/Text';
32
- import Collapse from '@components/Collapse';
29
+ import { useAppSelector, useLanguage } from '../../../../hooks';
30
+ import { individualSelector } from '../../../app/individual/individualStore';
31
+ import Text from '../../../../components/Text';
32
+ import Collapse from '../../../../components/Collapse';
33
33
  import CheckIcon from '@mui/icons-material/Check';
34
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
35
- import Input from '@features/shared/Input';
36
- import ExpandIcon from '@components/ExpandIcon';
37
- import SimpleList from '@components/SimpleList';
34
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
35
+ import Input from '../../../shared/Input';
36
+ import ExpandIcon from '../../../../components/ExpandIcon';
37
+ import SimpleList from '../../../../components/SimpleList';
38
38
  var Container = styled(Box)(function () { return ({
39
39
  display: 'flex'
40
40
  }); });
@@ -1,6 +1,6 @@
1
1
  import * as yup from 'yup';
2
2
  import { ObjectShape } from 'yup/lib/object';
3
- import { CountryCode } from '@types';
3
+ import { CountryCode } from '../../../../@types';
4
4
  export declare const IndividualInfoValidationSchema: yup.ObjectSchema<import("yup/lib/object").Assign<ObjectShape, {
5
5
  sourceIncome: import("yup/lib/object").RequiredObjectSchema<ObjectShape, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<ObjectShape>>;
6
6
  monthlyIncome: import("yup/lib/object").OptionalObjectSchema<ObjectShape, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<ObjectShape>>;
@@ -13,13 +13,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
14
  import Box from '@mui/material/Box';
15
15
  import { useTranslation } from 'react-i18next';
16
- import { useAppDispatch } from '@hooks';
17
- import { handleNextScreenStep } from '@app/settings';
16
+ import { useAppDispatch } from '../../../../hooks';
17
+ import { handleNextScreenStep } from '../../../../app/settings';
18
18
  import { styled } from '@mui/material/styles';
19
- import Collapse from '@components/Collapse';
20
- import Button from '@features/shared/Button';
21
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
22
- import { useLanguage } from '@hooks';
19
+ import Collapse from '../../../../components/Collapse';
20
+ import Button from '../../../shared/Button';
21
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
22
+ import { useLanguage } from '../../../../hooks';
23
23
  import Info from './info';
24
24
  var InputsContainerStyled = styled(Box)(function (_a) {
25
25
  var _b;
@@ -12,7 +12,7 @@ var __assign = (this && this.__assign) || function () {
12
12
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { useTranslation } from 'react-i18next';
14
14
  import { styled, alpha } from '@mui/material/styles';
15
- import Text from '@components/Text';
15
+ import Text from '../../../../components/Text';
16
16
  var LabelTextStyled = styled(Text)(function (_a) {
17
17
  var theme = _a.theme;
18
18
  return (__assign(__assign({}, theme.typography.caption), { color: alpha(theme.palette.text.primary, 0.6), paddingInlineStart: theme.spacing(2.5), marginBlockStart: theme.spacing(3.5), marginBlockEnd: theme.spacing(1.25) }));
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
- import { useAppDispatch, useAppSelector } from '@hooks';
5
- import { individualSelector, updateLeadSuccess } from '@features/app/individual/individualStore';
6
- import SuccessScreen from '@features/shared/SuccessScreen';
4
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
5
+ import { individualSelector, updateLeadSuccess } from '../../../app/individual/individualStore';
6
+ import SuccessScreen from '../../../shared/SuccessScreen';
7
7
  var Success = function (_a) {
8
8
  var t = useTranslation().t;
9
9
  var dispatch = useAppDispatch();
@@ -13,15 +13,15 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
13
13
  import React, { memo, useEffect, useState } from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
15
  import { styled } from '@mui/material/styles';
16
- import { FlowsButtons } from '@features/shared/Button';
17
- import { ICONS_NAMES } from '@constants';
18
- import { useAppSelector, useLanguage } from '@hooks';
19
- import { allAreTruthy, showLastFour } from '@utils';
20
- import { individualSelector } from '@features/app/individual/individualStore';
16
+ import { FlowsButtons } from '../../../shared/Button';
17
+ import { ICONS_NAMES } from '../../../../constants';
18
+ import { useAppSelector, useLanguage } from '../../../../hooks';
19
+ import { allAreTruthy, showLastFour } from '../../../../utils';
20
+ import { individualSelector } from '../../../app/individual/individualStore';
21
21
  import Box from '@mui/material/Box';
22
- import Text from '@components/Text';
23
- import Container from '@features/shared/Containers/ScreenContainer';
24
- import AcceptancePayouts from '@features/shared/AcceptancePayouts';
22
+ import Text from '../../../../components/Text';
23
+ import Container from '../../../shared/Containers/ScreenContainer';
24
+ import AcceptancePayouts from '../../../shared/AcceptancePayouts';
25
25
  var TitleStyled = styled(Text)(function (_a) {
26
26
  var _b;
27
27
  var theme = _a.theme;
@@ -13,10 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
14
  import Box from '@mui/material/Box/Box';
15
15
  import { styled } from '@mui/material/styles';
16
- import OTPField from '@features/shared/OTP';
16
+ import OTPField from '../../../shared/OTP';
17
17
  import { useController, useFormContext } from 'react-hook-form';
18
18
  import { useTranslation } from 'react-i18next';
19
- import { DEFAULT_TIMER_VALUE } from '@constants';
19
+ import { DEFAULT_TIMER_VALUE } from '../../../../constants';
20
20
  var BoxStyled = styled(Box)(function (_a) {
21
21
  var theme = _a.theme;
22
22
  return ({
@@ -11,20 +11,20 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { useAppDispatch } from '@hooks';
14
+ import { useAppDispatch } from '../../../../hooks';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { useForm, FormProvider } from 'react-hook-form';
17
17
  import { yupResolver } from '@hookform/resolvers/yup';
18
18
  import Box from '@mui/material/Box/Box';
19
19
  import { styled } from '@mui/material/styles';
20
- import { handlePrevScreenStep } from '@app/settings';
21
- import { useLanguage, useAppSelector } from '@hooks';
22
- import { maskPhone } from '@utils';
23
- import Form from '@components/Form';
24
- import Text from '@components/Text';
25
- import { ScreenContainer } from '@features/shared/Containers';
26
- import { individualSelector, clearError, resetOTPScreen, verifyLeadOTP } from '@features/app/individual/individualStore';
27
- import Button from '@features/shared/Button';
20
+ import { handlePrevScreenStep } from '../../../../app/settings';
21
+ import { useLanguage, useAppSelector } from '../../../../hooks';
22
+ import { maskPhone } from '../../../../utils';
23
+ import Form from '../../../../components/Form';
24
+ import Text from '../../../../components/Text';
25
+ import { ScreenContainer } from '../../../shared/Containers';
26
+ import { individualSelector, clearError, resetOTPScreen, verifyLeadOTP } from '../../../app/individual/individualStore';
27
+ import Button from '../../../shared/Button';
28
28
  import { OTPValidation } from './validation';
29
29
  import OTPInput from './OTPInput';
30
30
  var OTPTitleContainerStyled = styled(Box)(function (_a) {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LibConfig } from '@types';
2
+ import { LibConfig } from '../../@types';
3
3
  export interface PasswordLibProps extends LibConfig {
4
4
  }
5
5
  export declare function PasswordLib(props: PasswordLibProps): JSX.Element;
@@ -11,17 +11,17 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { memo, useEffect } from 'react';
14
- import { useAppTheme, useAppDispatch, useAppSelector, useAppConfig, useErrorListener } from '@hooks';
15
- import { handleLanguage, settingsSelector } from '@app/settings';
16
- import AnimationFlow from '@components/AnimationFlow';
17
- import { store } from '@app/store';
18
- import { ReduxProvider, ThemeProvider } from '@components/Providers';
19
- import Collapse from '@components/Collapse';
20
- import { FeatureContainer } from '@features/shared/Containers';
21
- import { getParameterByName, reactElement } from '@utils';
22
- import { PASSWORD_SCREENS_NAVIGATION } from '@constants';
14
+ import { useAppTheme, useAppDispatch, useAppSelector, useAppConfig, useErrorListener } from '../../hooks';
15
+ import { handleLanguage, settingsSelector } from '../../app/settings';
16
+ import AnimationFlow from '../../components/AnimationFlow';
17
+ import { store } from '../../app/store';
18
+ import { ReduxProvider, ThemeProvider } from '../../components/Providers';
19
+ import Collapse from '../../components/Collapse';
20
+ import { FeatureContainer } from '../shared/Containers';
21
+ import { getParameterByName, reactElement } from '../../utils';
22
+ import { PASSWORD_SCREENS_NAVIGATION } from '../../constants';
23
23
  import { passwordFeatureScreens } from '../featuresScreens';
24
- import { passwordSelector, verifyLeadToken } from '@features/app/password/passwordStore';
24
+ import { passwordSelector, verifyLeadToken } from '../app/password/passwordStore';
25
25
  import CustomFooter from '../shared/Footer';
26
26
  import Background from '../shared/Background';
27
27
  var Password = memo(function (props) {
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { styled } from '@mui/material/styles';
14
- import Text from '@components/Text';
14
+ import Text from '../../../../components/Text';
15
15
  var TextStyled = styled(Text, {
16
16
  shouldForwardProp: function (prop) { return prop !== 'active' && prop !== 'text'; }
17
17
  })(function (_a) {
@@ -2,9 +2,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useController, useFormContext } from 'react-hook-form';
5
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
6
- import PasswordIcon from '@features/shared/PasswordIcon';
7
- import Input from '@features/shared/Input';
5
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
6
+ import PasswordIcon from '../../../shared/PasswordIcon';
7
+ import Input from '../../../shared/Input';
8
8
  var ConfirmPassword = function (_a) {
9
9
  var _b;
10
10
  var showPassword = _a.showPassword, onShowPassword = _a.onShowPassword, onHidePassword = _a.onHidePassword;
@@ -16,15 +16,15 @@ import { useTranslation } from 'react-i18next';
16
16
  import { yupResolver } from '@hookform/resolvers/yup';
17
17
  import Box from '@mui/material/Box';
18
18
  import { styled } from '@mui/material/styles';
19
- import { useAppDispatch } from '@hooks';
20
- import { handleCurrentActiveScreen } from '@app/settings';
21
- import Form from '@components/Form';
22
- import { useLanguage } from '@hooks';
23
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
24
- import Button from '@features/shared/Button';
19
+ import { useAppDispatch } from '../../../../hooks';
20
+ import { handleCurrentActiveScreen } from '../../../../app/settings';
21
+ import Form from '../../../../components/Form';
22
+ import { useLanguage } from '../../../../hooks';
23
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
24
+ import Button from '../../../shared/Button';
25
25
  import { PasswordValidation } from './validation';
26
26
  import Password from './Password';
27
- import { createPassword, passwordSelector } from '@features/app/password/passwordStore';
27
+ import { createPassword, passwordSelector } from '../../../app/password/passwordStore';
28
28
  import { useSelector } from 'react-redux';
29
29
  var InputsContainerStyled = styled(Box)(function (_a) {
30
30
  var theme = _a.theme;
@@ -15,12 +15,12 @@ import { useTranslation } from 'react-i18next';
15
15
  import { useController, useFormContext } from 'react-hook-form';
16
16
  import { styled } from '@mui/material/styles';
17
17
  import Box from '@mui/material/Box';
18
- import ScreenContainer from '@features/shared/Containers/ScreenContainer';
19
- import Input from '@features/shared/Input';
20
- import PasswordIcon from '@features/shared/PasswordIcon';
21
- import { PasswordMatchLength, isPasswordHasUpperLetter, isPasswordHasLowerLetter, isPasswordHasSpecialLetter } from '@utils';
22
- import Collapse from '@components/Collapse';
23
- import Text from '@components/Text';
18
+ import ScreenContainer from '../../../shared/Containers/ScreenContainer';
19
+ import Input from '../../../shared/Input';
20
+ import PasswordIcon from '../../../shared/PasswordIcon';
21
+ import { PasswordMatchLength, isPasswordHasUpperLetter, isPasswordHasLowerLetter, isPasswordHasSpecialLetter } from '../../../../utils';
22
+ import Collapse from '../../../../components/Collapse';
23
+ import Text from '../../../../components/Text';
24
24
  import List from '@mui/material/List';
25
25
  import PasswordBar from './PasswordBar';
26
26
  import ConditionText from './ConditionText';
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
- import { useAppDispatch, useAppSelector } from '@hooks';
5
- import { updateLeadSuccess, passwordSelector } from '@features/app/password/passwordStore';
6
- import SuccessScreen from '@features/shared/SuccessScreen';
4
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
5
+ import { updateLeadSuccess, passwordSelector } from '../../../app/password/passwordStore';
6
+ import SuccessScreen from '../../../shared/SuccessScreen';
7
7
  var Success = function (_a) {
8
8
  var t = useTranslation().t;
9
9
  var dispatch = useAppDispatch();
@@ -13,15 +13,15 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
13
13
  import React, { memo, useEffect, useState } from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
15
  import { styled } from '@mui/material/styles';
16
- import { FlowsButtons } from '@features/shared/Button';
17
- import { ICONS_NAMES } from '@constants';
18
- import { useAppSelector, useLanguage } from '@hooks';
19
- import { allAreTruthy, showLastFour } from '@utils';
20
- import { passwordSelector } from '@features/app/password/passwordStore';
16
+ import { FlowsButtons } from '../../../shared/Button';
17
+ import { ICONS_NAMES } from '../../../../constants';
18
+ import { useAppSelector, useLanguage } from '../../../../hooks';
19
+ import { allAreTruthy, showLastFour } from '../../../../utils';
20
+ import { passwordSelector } from '../../../app/password/passwordStore';
21
21
  import Box from '@mui/material/Box';
22
- import Text from '@components/Text';
23
- import Container from '@features/shared/Containers/ScreenContainer';
24
- import AcceptancePayouts from '@src/features/shared/AcceptancePayouts';
22
+ import Text from '../../../../components/Text';
23
+ import Container from '../../../shared/Containers/ScreenContainer';
24
+ import AcceptancePayouts from '../../../../features/shared/AcceptancePayouts';
25
25
  var TitleStyled = styled(Text)(function (_a) {
26
26
  var _b;
27
27
  var theme = _a.theme;
@@ -13,10 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
14
  import Box from '@mui/material/Box/Box';
15
15
  import { styled } from '@mui/material/styles';
16
- import OTPField from '@features/shared/OTP';
16
+ import OTPField from '../../../shared/OTP';
17
17
  import { useController, useFormContext } from 'react-hook-form';
18
18
  import { useTranslation } from 'react-i18next';
19
- import { DEFAULT_TIMER_VALUE } from '@constants';
19
+ import { DEFAULT_TIMER_VALUE } from '../../../../constants';
20
20
  var BoxStyled = styled(Box)(function (_a) {
21
21
  var theme = _a.theme;
22
22
  return ({
@@ -11,20 +11,20 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { useAppDispatch } from '@hooks';
14
+ import { useAppDispatch } from '../../../../hooks';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { useForm, FormProvider } from 'react-hook-form';
17
17
  import { yupResolver } from '@hookform/resolvers/yup';
18
18
  import Box from '@mui/material/Box/Box';
19
19
  import { styled } from '@mui/material/styles';
20
- import { handlePrevScreenStep } from '@app/settings';
21
- import { useLanguage, useAppSelector } from '@hooks';
22
- import { maskPhone } from '@utils';
23
- import Form from '@components/Form';
24
- import Text from '@components/Text';
25
- import { ScreenContainer } from '@features/shared/Containers';
26
- import { passwordSelector, clearError, resetOTPScreen, verifyPasswordLeadOTP } from '@features/app/password/passwordStore';
27
- import Button from '@features/shared/Button';
20
+ import { handlePrevScreenStep } from '../../../../app/settings';
21
+ import { useLanguage, useAppSelector } from '../../../../hooks';
22
+ import { maskPhone } from '../../../../utils';
23
+ import Form from '../../../../components/Form';
24
+ import Text from '../../../../components/Text';
25
+ import { ScreenContainer } from '../../../shared/Containers';
26
+ import { passwordSelector, clearError, resetOTPScreen, verifyPasswordLeadOTP } from '../../../app/password/passwordStore';
27
+ import Button from '../../../shared/Button';
28
28
  import { OTPValidation } from './validation';
29
29
  import OTPInput from './OTPInput';
30
30
  var OTPTitleContainerStyled = styled(Box)(function (_a) {
@@ -12,11 +12,11 @@ var __assign = (this && this.__assign) || function () {
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { alpha, styled } from '@mui/material/styles';
14
14
  import Box from '@mui/material/Box';
15
- import Icon from '@components/Icon';
16
- import Text from '@components/Text';
17
- import { ICONS_NAMES } from '@constants';
15
+ import Icon from '../../../components/Icon';
16
+ import Text from '../../../components/Text';
17
+ import { ICONS_NAMES } from '../../../constants';
18
18
  import { useTranslation } from 'react-i18next';
19
- import { useLanguage } from '@src/hooks';
19
+ import { useLanguage } from '../../../hooks';
20
20
  var BoxStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'enabled'; } })(function (_a) {
21
21
  var _b;
22
22
  var theme = _a.theme, enabled = _a.enabled, isAr = _a.isAr;
@@ -11,12 +11,12 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { memo } from 'react';
14
- import { styled, useTheme } from '@mui/material/styles';
14
+ import { styled } from '@mui/material/styles';
15
15
  import Collapse from '@mui/material/Collapse';
16
16
  import Box from '@mui/material/Box';
17
- import Icon from '@components/Icon';
18
- import { ICONS_NAMES } from '@constants';
19
- import { useLanguage } from '@hooks';
17
+ import Icon from '../../../components/Icon';
18
+ import { ICONS_NAMES } from '../../../constants';
19
+ import { useLanguage } from '../../../hooks';
20
20
  var BoxStyled = styled(Box)(function (_a) {
21
21
  var _b;
22
22
  var theme = _a.theme;
@@ -65,9 +65,6 @@ var LogoIconStyled = styled(Icon)(function (_a) {
65
65
  var LogoBackground = function (_a) {
66
66
  var hide = _a.hide;
67
67
  var isAr = useLanguage().isAr;
68
- var theme = useTheme();
69
- var style = getComputedStyle(document.body);
70
- console.log(style.getPropertyValue('--rsbs-overlay-h'));
71
68
  return (_jsx(Collapse, __assign({ in: !hide }, { children: _jsxs(BoxStyled, { children: [_jsx(LogoBadgeStyled, { src: ICONS_NAMES.TAP_LOGO_EN_ICON }), _jsx(LogoIconBoxStyled, { children: _jsx(LogoIconStyled, { src: isAr ? ICONS_NAMES.TAP_LOGO_TEXT_AR : ICONS_NAMES.TAP_LOGO_TEXT_EN, alt: 'tap logo' }) })] }) })));
72
69
  };
73
70
  export default memo(LogoBackground);
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { ButtonProps } from '@components/Button';
2
+ import { ButtonProps } from '../../../components/Button';
3
3
  interface AbsherButtonProps extends ButtonProps {
4
- isAr: boolean;
5
4
  loading?: boolean;
6
5
  hideIcon?: boolean;
7
6
  }
8
- export default function AbsherButton({ children, isAr, hideIcon, disabled, ...props }: AbsherButtonProps): JSX.Element;
7
+ export default function AbsherButton({ children, hideIcon, disabled, ...props }: AbsherButtonProps): JSX.Element;
9
8
  export {};
@@ -21,11 +21,11 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import Button from '@components/Button';
25
- import Icon from '@components/Icon';
24
+ import Button from '../../../components/Button';
25
+ import Icon from '../../../components/Icon';
26
26
  import { styled, useTheme } from '@mui/material/styles';
27
27
  import Box from '@mui/material/Box';
28
- import { ICONS_NAMES } from '@constants';
28
+ import { ICONS_NAMES } from '../../../constants';
29
29
  var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
30
30
  var theme = _a.theme, disabled = _a.disabled;
31
31
  return (__assign({ width: theme.spacing(3), height: theme.spacing(3), marginInlineStart: theme.spacing(0.75) }, (disabled && {
@@ -44,7 +44,7 @@ var ButtonBoxStyled = styled(Box)(function (_a) {
44
44
  _b);
45
45
  });
46
46
  export default function AbsherButton(_a) {
47
- var children = _a.children, isAr = _a.isAr, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "isAr", "hideIcon", "disabled"]);
47
+ var children = _a.children, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "hideIcon", "disabled"]);
48
48
  var theme = useTheme();
49
49
  var btnColor = theme.palette.primary.light;
50
50
  return (_jsx(ButtonBoxStyled, { children: _jsx(Button, __assign({ outLineColor: btnColor, variant: 'outlined', disabled: disabled, type: 'button', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.ABSHER_LOGO }) }, props, { children: children })) }));
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ButtonProps } from '@components/Button';
2
+ import { ButtonProps } from '../../../components/Button';
3
3
  export interface CustomButtonProps extends ButtonProps {
4
4
  isAr: boolean;
5
5
  loading?: boolean;
@@ -22,15 +22,15 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  import React, { Fragment } from 'react';
25
- import Button from '@components/Button';
26
- import Icon from '@components/Icon';
25
+ import Button from '../../../components/Button';
26
+ import Icon from '../../../components/Icon';
27
27
  import { styled } from '@mui/material/styles';
28
- import Loader from '@components/Loader';
29
- import { ICONS_NAMES } from '@constants';
30
- import Warning from '@components/Warning';
31
- import Collapse from '@components/Collapse';
28
+ import Loader from '../../../components/Loader';
29
+ import { ICONS_NAMES } from '../../../constants';
30
+ import Warning from '../../../components/Warning';
31
+ import Collapse from '../../../components/Collapse';
32
32
  import Box from '@mui/material/Box';
33
- import Text from '@components/Text';
33
+ import Text from '../../../components/Text';
34
34
  var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
35
35
  var theme = _a.theme, isAr = _a.isAr;
36
36
  return ({
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ButtonProps } from '@components/Button';
2
+ import { ButtonProps } from '../../../components/Button';
3
3
  declare type buttonProps = {
4
4
  title: string;
5
5
  href: string;
@@ -10,11 +10,11 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import Button from '@components/Button';
13
+ import Button from '../../../components/Button';
14
14
  import { styled } from '@mui/material/styles';
15
15
  import Box from '@mui/material/Box';
16
16
  import Link from '@mui/material/Link';
17
- import { ICONS_NAMES } from '@constants';
17
+ import { ICONS_NAMES } from '../../../constants';
18
18
  var Image = styled('img')(function (_a) {
19
19
  var theme = _a.theme;
20
20
  return ({
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { ButtonProps } from '@components/Button';
2
+ import { ButtonProps } from '../../../components/Button';
3
3
  import { SxProps, Theme } from '@mui/material/styles';
4
4
  export declare type ButtonItemProps = {
5
5
  title: string;
@@ -10,15 +10,15 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- import Button from '@components/Button';
13
+ import Button from '../../../components/Button';
14
14
  import { alpha, styled } from '@mui/material/styles';
15
15
  import Box from '@mui/material/Box';
16
16
  import Link from '@mui/material/Link';
17
- import { ICONS_NAMES } from '@src/constants';
17
+ import { ICONS_NAMES } from '../../../constants';
18
18
  import CheckIcon from '@mui/icons-material/Check';
19
- import { useAppDispatch } from '@src/hooks';
20
- import { handleOpen } from '@src/app/settings';
21
- var Image = styled('img', { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
19
+ import { useAppDispatch } from '../../../hooks';
20
+ import { handleOpen } from '../../../app/settings';
21
+ var Image = styled('img')(function (_a) {
22
22
  var theme = _a.theme;
23
23
  return ({
24
24
  width: theme.spacing(3),
@@ -1,9 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { ButtonProps } from '@components/Button';
2
+ import { ButtonProps } from '../../../components/Button';
3
3
  interface MobileButtonProps extends ButtonProps {
4
- isAr: boolean;
5
4
  loading?: boolean;
6
5
  hideIcon?: boolean;
7
6
  }
8
- export default function MobileButton({ children, isAr, hideIcon, disabled, ...props }: MobileButtonProps): JSX.Element;
7
+ export default function MobileButton({ children, hideIcon, disabled, ...props }: MobileButtonProps): JSX.Element;
9
8
  export {};
@@ -21,11 +21,11 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
- import Button from '@components/Button';
25
- import Icon from '@components/Icon';
24
+ import Button from '../../../components/Button';
25
+ import Icon from '../../../components/Icon';
26
26
  import { styled } from '@mui/material/styles';
27
27
  import Box from '@mui/material/Box';
28
- import { ICONS_NAMES } from '@constants';
28
+ import { ICONS_NAMES } from '../../../constants';
29
29
  var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
30
30
  var theme = _a.theme, disabled = _a.disabled;
31
31
  return (__assign({ width: theme.spacing(3), height: theme.spacing(3), marginInlineStart: theme.spacing(0.75) }, (disabled && {
@@ -44,6 +44,6 @@ var ButtonBoxStyled = styled(Box)(function (_a) {
44
44
  _b);
45
45
  });
46
46
  export default function MobileButton(_a) {
47
- var children = _a.children, isAr = _a.isAr, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "isAr", "hideIcon", "disabled"]);
47
+ var children = _a.children, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "hideIcon", "disabled"]);
48
48
  return (_jsx(ButtonBoxStyled, { children: _jsx(Button, __assign({ disabled: disabled, type: 'button', variant: 'outlined', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.MOBILE_ICON }) }, props, { children: children })) }));
49
49
  }