@tap-payments/auth-jsconnect 2.0.53-test → 2.0.55-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.
- package/build/@types/app.d.ts +24 -10
- package/build/api/account.js +1 -1
- package/build/api/auth.d.ts +1 -1
- package/build/api/auth.js +1 -1
- package/build/api/availabilityServices.js +1 -1
- package/build/api/axios.js +2 -2
- package/build/api/board.js +1 -1
- package/build/api/brand.d.ts +1 -1
- package/build/api/brand.js +1 -1
- package/build/api/country.js +1 -1
- package/build/api/data.d.ts +31 -8
- package/build/api/data.js +36 -15
- package/build/api/entity.js +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/individual.d.ts +1 -1
- package/build/api/individual.js +1 -1
- package/build/api/ip.js +1 -1
- package/build/api/lead.d.ts +1 -1
- package/build/api/lead.js +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.js +1 -1
- package/build/app/rootReducer.d.ts +10 -10
- package/build/app/rootReducer.js +10 -10
- package/build/app/settings.d.ts +2 -2
- package/build/app/settings.js +5 -5
- package/build/app/store.d.ts +1 -1
- package/build/components/AnimationFlow/AnimationFlow.js +1 -1
- package/build/components/AnimationFlow/Dialog.js +3 -3
- package/build/components/DatePicker/DatePicker.js +3 -3
- package/build/components/FileInput/DragAndDrop.js +6 -6
- package/build/components/FileInput/UploadInput.js +2 -2
- package/build/components/Footer/Footer.js +3 -3
- package/build/components/Input/Input.js +2 -2
- package/build/components/OTPTimer/OTPTimer.js +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.js +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +2 -2
- package/build/constants/api.js +5 -5
- package/build/constants/app.d.ts +1 -1
- package/build/constants/app.js +1 -1
- package/build/features/app/auth/authStore.d.ts +2 -2
- package/build/features/app/auth/authStore.js +2 -2
- package/build/features/app/bank/bankStore.d.ts +2 -2
- package/build/features/app/bank/bankStore.js +4 -4
- package/build/features/app/business/businessStore.d.ts +2 -2
- package/build/features/app/business/businessStore.js +42 -36
- package/build/features/app/connect/connectStore.d.ts +2 -2
- package/build/features/app/connect/connectStore.js +6 -6
- package/build/features/app/entity/entityStore.d.ts +2 -2
- package/build/features/app/entity/entityStore.js +5 -5
- package/build/features/app/individual/individualStore.d.ts +2 -2
- package/build/features/app/individual/individualStore.js +23 -15
- package/build/features/app/otp/otpStore.d.ts +2 -2
- package/build/features/app/otp/otpStore.js +4 -4
- package/build/features/app/password/passwordStore.d.ts +2 -2
- package/build/features/app/password/passwordStore.js +4 -4
- package/build/features/app/signIn/signInStore.d.ts +2 -2
- package/build/features/app/signIn/signInStore.js +4 -4
- package/build/features/app/tax/taxStore.d.ts +2 -2
- package/build/features/app/tax/taxStore.js +5 -5
- package/build/features/auth/Auth.d.ts +1 -1
- package/build/features/auth/Auth.js +10 -10
- package/build/features/auth/screens/OTP/OTP.js +8 -8
- package/build/features/auth/screens/OTP/OTPInput.js +3 -3
- package/build/features/bank/Bank.d.ts +1 -1
- package/build/features/bank/Bank.js +10 -10
- package/build/features/bank/screens/BankDetails/BankDetails.js +7 -7
- package/build/features/bank/screens/BankDetails/BankName.js +8 -8
- package/build/features/bank/screens/BankDetails/BankStatement.js +5 -5
- package/build/features/bank/screens/BankDetails/Beneficiary.js +7 -7
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
- package/build/features/bank/screens/BankDetails/IBAN.js +8 -8
- package/build/features/bank/screens/BankDetails/validation.js +1 -1
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
- package/build/features/bank/screens/Success/Success.js +3 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
- package/build/features/bank/screens/Verify/OTPInput.js +4 -4
- package/build/features/bank/screens/Verify/Verify.js +9 -9
- package/build/features/business/Business.d.ts +1 -1
- package/build/features/business/Business.js +10 -10
- package/build/features/business/screens/Activities/Activities.js +7 -7
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +1 -1
- package/build/features/business/screens/Activities/ActivitiesList.js +9 -9
- package/build/features/business/screens/Activities/LicenseName.js +6 -6
- package/build/features/business/screens/Activities/OperationStartDate.js +4 -4
- package/build/features/business/screens/Activities/SalesChannels.d.ts +1 -1
- package/build/features/business/screens/Activities/SalesChannels.js +7 -7
- package/build/features/business/screens/BusinessType/BusinessType.js +8 -8
- package/build/features/business/screens/BusinessType/LicenseList.js +10 -10
- package/build/features/business/screens/BusinessType/LicenseNumber.js +8 -8
- package/build/features/business/screens/BusinessType/SelectType.js +6 -6
- package/build/features/business/screens/BusinessType/validation.js +2 -2
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.js +33 -15
- package/build/features/business/screens/Customers/Customers.js +8 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.js +22 -10
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +39 -21
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
- package/build/features/business/screens/Customers/RefundPolicy.js +7 -7
- package/build/features/business/screens/Customers/TransactionPolicy.js +5 -5
- package/build/features/business/screens/IDBOD/DOB.js +5 -5
- package/build/features/business/screens/IDBOD/ID.js +6 -6
- package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
- package/build/features/business/screens/OTP/OTP.js +9 -9
- package/build/features/business/screens/OTP/OTPInput.js +4 -4
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
- package/build/features/business/screens/Success/Success.js +3 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
- package/build/features/business/screens/Verify/OTPInput.js +4 -4
- package/build/features/business/screens/Verify/Verify.js +9 -9
- package/build/features/connect/Connect.d.ts +1 -1
- package/build/features/connect/Connect.js +10 -10
- package/build/features/connect/screens/CivilID/CivilID.js +8 -8
- package/build/features/connect/screens/CivilID/IDNumber.js +7 -7
- package/build/features/connect/screens/Individual/Email.js +7 -7
- package/build/features/connect/screens/Individual/Individual.js +10 -10
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +11 -11
- package/build/features/connect/screens/Individual/Name.js +6 -6
- package/build/features/connect/screens/Individual/validation.js +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +8 -8
- package/build/features/connect/screens/Merchant/BrandName.js +10 -10
- package/build/features/connect/screens/Merchant/Merchant.js +9 -9
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.js +7 -7
- package/build/features/connect/screens/Merchant/SocialMedia.js +9 -9
- package/build/features/connect/screens/Merchant/TAC.js +7 -7
- package/build/features/connect/screens/Merchant/validation.js +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +10 -10
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/connect/screens/Mobile/Title.js +2 -2
- package/build/features/connect/screens/NID/DOB.js +5 -5
- package/build/features/connect/screens/NID/IDNumber.js +8 -8
- package/build/features/connect/screens/NID/NID.js +8 -8
- package/build/features/connect/screens/OTP/OTP.js +9 -9
- package/build/features/connect/screens/OTP/OTPInput.js +4 -4
- package/build/features/connect/screens/ThankYou/ThankYou.js +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +8 -8
- package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +3 -3
- package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +1 -1
- package/build/features/entity/Entity.d.ts +1 -1
- package/build/features/entity/Entity.js +10 -10
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +1 -1
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +9 -9
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +7 -7
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +4 -4
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +5 -5
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +5 -5
- package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.d.ts +1 -1
- package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.js +7 -7
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
- package/build/features/entity/screens/Success/Success.js +3 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
- package/build/features/entity/screens/Verify/OTPInput.js +4 -4
- package/build/features/entity/screens/Verify/Verify.js +9 -9
- package/build/features/featuresScreens.d.ts +1 -1
- package/build/features/featuresScreens.js +49 -49
- package/build/features/individual/Individual.d.ts +1 -1
- package/build/features/individual/Individual.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +9 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +23 -12
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +19 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +6 -6
- package/build/features/individual/screens/ShowIndividualInfo/info.js +1 -1
- package/build/features/individual/screens/Success/Success.js +3 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
- package/build/features/individual/screens/Verify/OTPInput.js +4 -4
- package/build/features/individual/screens/Verify/Verify.js +9 -9
- package/build/features/otp/OTP.d.ts +1 -1
- package/build/features/otp/OTP.js +9 -9
- package/build/features/otp/screens/OTPVerify/OTPInput.js +4 -4
- package/build/features/otp/screens/OTPVerify/Verify.js +5 -5
- package/build/features/password/Password.d.ts +1 -1
- package/build/features/password/Password.js +10 -10
- package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
- package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
- package/build/features/password/screens/CreatePassword/Password.js +6 -6
- package/build/features/password/screens/OTP/OTP.js +9 -9
- package/build/features/password/screens/OTP/OTPInput.js +4 -4
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
- package/build/features/password/screens/Success/Success.js +4 -4
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
- package/build/features/password/screens/Verify/OTPInput.js +4 -4
- package/build/features/password/screens/Verify/Verify.js +9 -9
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
- package/build/features/shared/Background/Background.js +2 -2
- package/build/features/shared/Background/LogoBackground.js +3 -3
- package/build/features/shared/Button/AbsherButton.d.ts +1 -1
- package/build/features/shared/Button/AbsherButton.js +3 -3
- package/build/features/shared/Button/Button.d.ts +1 -1
- package/build/features/shared/Button/Button.js +7 -7
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.js +2 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
- package/build/features/shared/Button/FlowsButtons.js +6 -6
- package/build/features/shared/Button/MobileButton.d.ts +1 -1
- package/build/features/shared/Button/MobileButton.js +3 -3
- package/build/features/shared/Dialog/CloseDialog.js +2 -2
- package/build/features/shared/Dialog/DialogContainer.js +2 -2
- package/build/features/shared/Footer/Footer.js +4 -4
- package/build/features/shared/Input/Input.d.ts +1 -1
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/OTP/OTP.js +3 -3
- package/build/features/shared/Search/Search.js +1 -1
- package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
- package/build/features/shared/SuccessScreen/SuccessScreen.js +5 -5
- package/build/features/shared/UploadFile/UploadFile.js +10 -10
- package/build/features/signIn/SignIn.d.ts +1 -1
- package/build/features/signIn/SignIn.js +10 -10
- package/build/features/signIn/screens/Email/Email.js +8 -8
- package/build/features/signIn/screens/Email/EmailField.js +5 -5
- package/build/features/signIn/screens/Email/validation.js +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/signIn/screens/OTP/OTP.js +9 -9
- package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
- package/build/features/signIn/screens/Password/Password.js +7 -7
- package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
- package/build/features/tax/Tax.d.ts +1 -1
- package/build/features/tax/Tax.js +10 -10
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
- package/build/features/tax/screens/Success/Success.js +3 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +9 -9
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +6 -6
- package/build/features/tax/screens/TaxDetails/VATId.js +5 -5
- package/build/features/tax/screens/Verify/OTPInput.js +4 -4
- package/build/features/tax/screens/Verify/Verify.js +9 -9
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +4 -4
- package/build/hooks/useAppSelector.d.ts +1 -1
- package/build/hooks/useAppTheme.d.ts +1 -1
- package/build/hooks/useAppTheme.js +3 -3
- package/build/hooks/useErrorListener.js +1 -1
- package/build/hooks/useLanguage.js +1 -1
- package/build/hooks/useRedirectionListener.js +1 -1
- package/build/hooks/useScreen.js +1 -1
- package/build/hooks/useStepStartedListener.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index.d.ts +10 -10
- package/build/index.js +10 -10
- package/build/theme/theme.d.ts +1 -1
- package/build/utils/array.d.ts +1 -1
- package/build/utils/locale.d.ts +1 -1
- package/build/utils/locale.js +1 -1
- package/build/utils/rsa.js +1 -1
- package/build/utils/string.d.ts +1 -1
- package/build/utils/string.js +4 -4
- package/package.json +129 -129
- package/build/api/index.d.ts +0 -87
- package/build/components/DatePicker/customStyle.css +0 -86
- package/build/index.css +0 -140
|
@@ -22,16 +22,16 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { memo } from 'react';
|
|
25
|
-
import { FeatureContainer } from '
|
|
26
|
-
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useAppDispatch } from '
|
|
27
|
-
import { handleCurrentActiveScreen, settingsSelector, handleOpen } from '
|
|
28
|
-
import AnimationFlow from '
|
|
29
|
-
import { store } from '
|
|
30
|
-
import { connectSelector } from '
|
|
31
|
-
import { ReduxProvider, ThemeProvider } from '
|
|
32
|
-
import Collapse from '
|
|
33
|
-
import { reactElement, removeElement, isKW } from '
|
|
34
|
-
import { CONNECT_SCREENS_NAVIGATION, DIALOG_ID } from '
|
|
25
|
+
import { FeatureContainer } from '@features/shared/Containers';
|
|
26
|
+
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useAppDispatch } from '@hooks';
|
|
27
|
+
import { handleCurrentActiveScreen, settingsSelector, handleOpen } from '@app/settings';
|
|
28
|
+
import AnimationFlow from '@components/AnimationFlow';
|
|
29
|
+
import { store } from '@app/store';
|
|
30
|
+
import { connectSelector } from '@features/app/connect/connectStore';
|
|
31
|
+
import { ReduxProvider, ThemeProvider } from '@components/Providers';
|
|
32
|
+
import Collapse from '@components/Collapse';
|
|
33
|
+
import { reactElement, removeElement, isKW } from '@utils';
|
|
34
|
+
import { CONNECT_SCREENS_NAVIGATION, DIALOG_ID } from '@constants';
|
|
35
35
|
import { connectFeatureScreens } from '../featuresScreens';
|
|
36
36
|
import CustomFooter from '../shared/Footer';
|
|
37
37
|
import Background from '../shared/Background';
|
|
@@ -16,16 +16,16 @@ import { alpha, styled } from '@mui/material/styles';
|
|
|
16
16
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
17
17
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
18
18
|
import { civilIDValidationSchema } from './validation';
|
|
19
|
-
import { useAppDispatch, useLanguage, useAppSelector } from '
|
|
20
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
21
|
-
import { clearError, connectSelector, createCivilIdAuth } from '
|
|
22
|
-
import Form from '
|
|
23
|
-
import Button, { MobileButton } from '
|
|
24
|
-
import { ScreenContainer } from '
|
|
25
|
-
import Collapse from '
|
|
19
|
+
import { useAppDispatch, useLanguage, useAppSelector } from '@hooks';
|
|
20
|
+
import { handlePrevScreenStep, settingsSelector } from '@app/settings';
|
|
21
|
+
import { clearError, connectSelector, createCivilIdAuth } from '@features/app/connect/connectStore';
|
|
22
|
+
import Form from '@components/Form';
|
|
23
|
+
import Button, { MobileButton } from '@features/shared/Button';
|
|
24
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
25
|
+
import Collapse from '@components/Collapse';
|
|
26
26
|
import Box from '@mui/material/Box';
|
|
27
27
|
import Divider from '@mui/material/Divider';
|
|
28
|
-
import Text from '
|
|
28
|
+
import Text from '@components/Text';
|
|
29
29
|
import IDNumber from './IDNumber';
|
|
30
30
|
var FormStyled = styled(Form)(function () { return ({
|
|
31
31
|
display: 'flex',
|
|
@@ -15,13 +15,13 @@ import Box from '@mui/material/Box';
|
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import { useController, useFormContext } from 'react-hook-form';
|
|
17
17
|
import { styled, alpha } from '@mui/material/styles';
|
|
18
|
-
import Text from '
|
|
19
|
-
import Input from '
|
|
20
|
-
import ClearIcon from '
|
|
21
|
-
import CheckIcon from '
|
|
22
|
-
import ScreenContainer from '
|
|
23
|
-
import { removeAllOtherThanCharsAndNumber } from '
|
|
24
|
-
import { CIVIL_ID_NUMBER_LENGTH } from '
|
|
18
|
+
import Text from '@components/Text';
|
|
19
|
+
import Input from '@features/shared/Input';
|
|
20
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
21
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
22
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
23
|
+
import { removeAllOtherThanCharsAndNumber } from '@utils';
|
|
24
|
+
import { CIVIL_ID_NUMBER_LENGTH } from '@constants';
|
|
25
25
|
var LabelContainerStyled = styled(Box)(function (_a) {
|
|
26
26
|
var theme = _a.theme;
|
|
27
27
|
return ({
|
|
@@ -49,15 +49,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
49
49
|
import * as React from 'react';
|
|
50
50
|
import { useTranslation } from 'react-i18next';
|
|
51
51
|
import axios from 'axios';
|
|
52
|
-
import { ScreenContainer } from '
|
|
53
|
-
import Input from '
|
|
52
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
53
|
+
import Input from '@features/shared/Input';
|
|
54
54
|
import { useController, useFormContext } from 'react-hook-form';
|
|
55
|
-
import ClearIcon from '
|
|
56
|
-
import CheckIcon from '
|
|
57
|
-
import { checkEmailAvailability } from '
|
|
58
|
-
import { useAppDispatch } from '
|
|
55
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
56
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
57
|
+
import { checkEmailAvailability } from '@features/app/connect/connectStore';
|
|
58
|
+
import { useAppDispatch } from '@hooks';
|
|
59
59
|
import { debounce } from 'lodash-es';
|
|
60
|
-
import Collapse from '
|
|
60
|
+
import Collapse from '@components/Collapse';
|
|
61
61
|
import { styled } from '@mui/material/styles';
|
|
62
62
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
63
63
|
var InputStyled = styled(Input)(function (_a) {
|
|
@@ -17,18 +17,18 @@ import * as React from 'react';
|
|
|
17
17
|
import { useTranslation } from 'react-i18next';
|
|
18
18
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
19
19
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
20
|
-
import { useAppDispatch, useAppSelector } from '
|
|
21
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
20
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
21
|
+
import { handlePrevScreenStep, settingsSelector } from '@app/settings';
|
|
22
22
|
import { IndividualValidation, IndividualMobileValidation } from './validation';
|
|
23
|
-
import Form from '
|
|
24
|
-
import Button from '
|
|
25
|
-
import { ScreenContainer } from '
|
|
26
|
-
import { clearError, connectSelector, resetIndividualScreen, updateLeadIndividual } from '
|
|
27
|
-
import { useLanguage } from '
|
|
23
|
+
import Form from '@components/Form';
|
|
24
|
+
import Button from '@features/shared/Button';
|
|
25
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
26
|
+
import { clearError, connectSelector, resetIndividualScreen, updateLeadIndividual } from '@features/app/connect/connectStore';
|
|
27
|
+
import { useLanguage } from '@hooks';
|
|
28
28
|
import MobileNumber from './MobileNumber';
|
|
29
|
-
import { countriesCode } from '
|
|
30
|
-
import Collapse from '
|
|
31
|
-
import { isKW } from '
|
|
29
|
+
import { countriesCode } from '@constants';
|
|
30
|
+
import Collapse from '@components/Collapse';
|
|
31
|
+
import { isKW } from '@utils';
|
|
32
32
|
var FormStyled = styled(Form)(function () { return ({
|
|
33
33
|
display: 'flex',
|
|
34
34
|
flexDirection: 'column'
|
|
@@ -26,17 +26,17 @@ import Box from '@mui/material/Box';
|
|
|
26
26
|
import { useTranslation } from 'react-i18next';
|
|
27
27
|
import { useController, useFormContext } from 'react-hook-form';
|
|
28
28
|
import { styled, alpha } from '@mui/material/styles';
|
|
29
|
-
import Text from '
|
|
30
|
-
import Collapse from '
|
|
31
|
-
import ClearIcon from '
|
|
32
|
-
import CheckIcon from '
|
|
33
|
-
import ScreenContainer from '
|
|
34
|
-
import ExpandIcon from '
|
|
35
|
-
import Input from '
|
|
36
|
-
import SimpleList from '
|
|
37
|
-
import { removeAllCharsFromNumber } from '
|
|
38
|
-
import { useLanguage } from '
|
|
39
|
-
import Search from '
|
|
29
|
+
import Text from '@components/Text';
|
|
30
|
+
import Collapse from '@components/Collapse';
|
|
31
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
32
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
33
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
34
|
+
import ExpandIcon from '@components/ExpandIcon';
|
|
35
|
+
import Input from '@features/shared/Input';
|
|
36
|
+
import SimpleList from '@components/SimpleList';
|
|
37
|
+
import { removeAllCharsFromNumber } from '@utils';
|
|
38
|
+
import { useLanguage } from '@hooks';
|
|
39
|
+
import Search from '@features/shared/Search';
|
|
40
40
|
var LabelContainerStyled = styled(Box)(function (_a) {
|
|
41
41
|
var theme = _a.theme;
|
|
42
42
|
return ({
|
|
@@ -12,13 +12,13 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
|
-
import { ScreenContainer } from '
|
|
16
|
-
import Input from '
|
|
17
|
-
import { removeAllOtherThanAlphabetAndSpace } from '
|
|
15
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
16
|
+
import Input from '@features/shared/Input';
|
|
17
|
+
import { removeAllOtherThanAlphabetAndSpace } from '@utils';
|
|
18
18
|
import { useController, useFormContext } from 'react-hook-form';
|
|
19
|
-
import ClearIcon from '
|
|
20
|
-
import CheckIcon from '
|
|
21
|
-
import Collapse from '
|
|
19
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
20
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
21
|
+
import Collapse from '@components/Collapse';
|
|
22
22
|
import { styled } from '@mui/material/styles';
|
|
23
23
|
var InputStyled = styled(Input)(function (_a) {
|
|
24
24
|
var theme = _a.theme;
|
|
@@ -26,14 +26,14 @@ import { useTranslation } from 'react-i18next';
|
|
|
26
26
|
import { useFormContext, useController } from 'react-hook-form';
|
|
27
27
|
import Box from '@mui/material/Box';
|
|
28
28
|
import { styled } from '@mui/material/styles';
|
|
29
|
-
import { useLanguage } from '
|
|
30
|
-
import ScreenContainer from '
|
|
31
|
-
import Input from '
|
|
32
|
-
import CheckIcon from '
|
|
33
|
-
import SimpleList from '
|
|
34
|
-
import Text from '
|
|
35
|
-
import ExpandIcon from '
|
|
36
|
-
import Collapse from '
|
|
29
|
+
import { useLanguage } from '@hooks';
|
|
30
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
31
|
+
import Input from '@features/shared/Input';
|
|
32
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
33
|
+
import SimpleList from '@components/SimpleList';
|
|
34
|
+
import Text from '@components/Text';
|
|
35
|
+
import ExpandIcon from '@components/ExpandIcon';
|
|
36
|
+
import Collapse from '@components/Collapse';
|
|
37
37
|
var InputStyled = styled(Input)(function () { return ({
|
|
38
38
|
'& .MuiInputBase-input': {
|
|
39
39
|
cursor: 'pointer'
|
|
@@ -54,17 +54,17 @@ import axios from 'axios';
|
|
|
54
54
|
import { styled, alpha } from '@mui/material/styles';
|
|
55
55
|
import InfoIcon from '@mui/icons-material/Info';
|
|
56
56
|
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
|
|
57
|
-
import { ScreenContainer } from '
|
|
57
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
58
58
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
59
|
-
import Text from '
|
|
60
|
-
import Input from '
|
|
61
|
-
import ClearIcon from '
|
|
62
|
-
import Tooltip from '
|
|
63
|
-
import Collapse from '
|
|
64
|
-
import { removeAllOtherThanCharsNumbersAndSpace } from '
|
|
65
|
-
import CheckIcon from '
|
|
66
|
-
import { checkBrandNameAvailability } from '
|
|
67
|
-
import { useAppDispatch } from '
|
|
59
|
+
import Text from '@components/Text';
|
|
60
|
+
import Input from '@features/shared/Input';
|
|
61
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
62
|
+
import Tooltip from '@components/Tooltip';
|
|
63
|
+
import Collapse from '@components/Collapse';
|
|
64
|
+
import { removeAllOtherThanCharsNumbersAndSpace } from '@utils';
|
|
65
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
66
|
+
import { checkBrandNameAvailability } from '@features/app/connect/connectStore';
|
|
67
|
+
import { useAppDispatch } from '@hooks';
|
|
68
68
|
import { debounce } from 'lodash-es';
|
|
69
69
|
var LabelContainerStyled = styled(Box)(function (_a) {
|
|
70
70
|
var theme = _a.theme;
|
|
@@ -15,15 +15,15 @@ import { useForm, FormProvider } from 'react-hook-form';
|
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import Collapse from '@mui/material/Collapse';
|
|
17
17
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
18
|
-
import { useAppDispatch, useAppSelector } from '
|
|
19
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
20
|
-
import Form from '
|
|
21
|
-
import { INSTAGRAM_URL, TWITTER_URL } from '
|
|
22
|
-
import { ScreenContainer } from '
|
|
23
|
-
import Button from '
|
|
24
|
-
import { clearError, connectSelector, updateLeadBrand } from '
|
|
25
|
-
import { useLanguage } from '
|
|
26
|
-
import { isKW } from '
|
|
18
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
19
|
+
import { handlePrevScreenStep, settingsSelector } from '@app/settings';
|
|
20
|
+
import Form from '@components/Form';
|
|
21
|
+
import { INSTAGRAM_URL, TWITTER_URL } from '@constants';
|
|
22
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
23
|
+
import Button from '@features/shared/Button';
|
|
24
|
+
import { clearError, connectSelector, updateLeadBrand } from '@features/app/connect/connectStore';
|
|
25
|
+
import { useLanguage } from '@hooks';
|
|
26
|
+
import { isKW } from '@utils';
|
|
27
27
|
import { MerchantValidationSchema, ValidationOptions } from './validation';
|
|
28
28
|
import BrandName from './BrandName';
|
|
29
29
|
import SocialMedia from './SocialMedia';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const MandatoryStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
3
|
-
export declare const CollapseStyled: import("@emotion/styled").StyledComponent<import("
|
|
3
|
+
export declare const CollapseStyled: import("@emotion/styled").StyledComponent<import("@components/Collapse").CollapseProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
4
4
|
declare const SalesChannels: () => JSX.Element;
|
|
5
5
|
export default SalesChannels;
|
|
@@ -24,13 +24,13 @@ import Box from '@mui/material/Box';
|
|
|
24
24
|
import { alpha, styled } from '@mui/material/styles';
|
|
25
25
|
import { useTranslation } from 'react-i18next';
|
|
26
26
|
import { useController, useFormContext } from 'react-hook-form';
|
|
27
|
-
import { useLanguage, useAppSelector, useAppDispatch } from '
|
|
28
|
-
import Text from '
|
|
29
|
-
import { connectSelector, clearError } from '
|
|
30
|
-
import CheckBox from '
|
|
31
|
-
import Warning from '
|
|
32
|
-
import Collapse from '
|
|
33
|
-
import { ScreenContainer } from '
|
|
27
|
+
import { useLanguage, useAppSelector, useAppDispatch } from '@hooks';
|
|
28
|
+
import Text from '@components/Text';
|
|
29
|
+
import { connectSelector, clearError } from '@features/app/connect/connectStore';
|
|
30
|
+
import CheckBox from '@components/CheckBox';
|
|
31
|
+
import Warning from '@components/Warning';
|
|
32
|
+
import Collapse from '@components/Collapse';
|
|
33
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
34
34
|
var InputLabelStyled = styled(Text)(function (_a) {
|
|
35
35
|
var theme = _a.theme;
|
|
36
36
|
return (__assign({ margin: theme.spacing(2.5, 2.5, 0.5, 2.5), color: alpha(theme.palette.text.primary, 0.4) }, theme.typography.caption));
|
|
@@ -15,15 +15,15 @@ import { useTranslation } from 'react-i18next';
|
|
|
15
15
|
import { useController, useFormContext } from 'react-hook-form';
|
|
16
16
|
import { styled, alpha } from '@mui/material/styles';
|
|
17
17
|
import ClearIcon from '@mui/icons-material/Clear';
|
|
18
|
-
import { SocialMediaTypes } from '
|
|
19
|
-
import Input from '
|
|
20
|
-
import Text from '
|
|
21
|
-
import Collapse from '
|
|
22
|
-
import SocialMediaGroup from '
|
|
23
|
-
import { ScreenContainer } from '
|
|
24
|
-
import CheckIcon from '
|
|
25
|
-
import { useAppSelector } from '
|
|
26
|
-
import { connectSelector } from '
|
|
18
|
+
import { SocialMediaTypes } from '@types';
|
|
19
|
+
import Input from '@components/Input';
|
|
20
|
+
import Text from '@components/Text';
|
|
21
|
+
import Collapse from '@components/Collapse';
|
|
22
|
+
import SocialMediaGroup from '@components/SocialMediaGroup';
|
|
23
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
24
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
25
|
+
import { useAppSelector } from '@hooks';
|
|
26
|
+
import { connectSelector } from '@features/app/connect/connectStore';
|
|
27
27
|
var SocialMediaGroupStyled = styled(SocialMediaGroup)(function (_a) {
|
|
28
28
|
var theme = _a.theme, defaultValue = _a.defaultValue;
|
|
29
29
|
return ({
|
|
@@ -16,13 +16,13 @@ import { useController, useFormContext } from 'react-hook-form';
|
|
|
16
16
|
import Box from '@mui/material/Box';
|
|
17
17
|
import { styled, alpha } from '@mui/material/styles';
|
|
18
18
|
import Link from '@mui/material/Link';
|
|
19
|
-
import CheckBox from '
|
|
20
|
-
import { ScreenContainer } from '
|
|
21
|
-
import Text from '
|
|
22
|
-
import Warning from '
|
|
23
|
-
import { useLanguage } from '
|
|
24
|
-
import Collapse from '
|
|
25
|
-
import { EXTERNAL_LINKS } from '
|
|
19
|
+
import CheckBox from '@components/CheckBox';
|
|
20
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
21
|
+
import Text from '@components/Text';
|
|
22
|
+
import Warning from '@components/Warning';
|
|
23
|
+
import { useLanguage } from '@hooks';
|
|
24
|
+
import Collapse from '@components/Collapse';
|
|
25
|
+
import { EXTERNAL_LINKS } from '@constants';
|
|
26
26
|
var TACContainerStyled = styled(Box)(function (_a) {
|
|
27
27
|
var theme = _a.theme;
|
|
28
28
|
return ({
|
|
@@ -16,17 +16,17 @@ import { useForm, FormProvider } from 'react-hook-form';
|
|
|
16
16
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
17
17
|
import { useTranslation } from 'react-i18next';
|
|
18
18
|
import { styled, alpha } from '@mui/material/styles';
|
|
19
|
-
import Collapse from '
|
|
20
|
-
import Form from '
|
|
21
|
-
import Button, { AbsherButton } from '
|
|
22
|
-
import { useAppDispatch, useAppSelector } from '
|
|
23
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
24
|
-
import ScreenContainer from '
|
|
25
|
-
import { clearError, connectSelector, createMobileAuth } from '
|
|
26
|
-
import { useLanguage } from '
|
|
19
|
+
import Collapse from '@components/Collapse';
|
|
20
|
+
import Form from '@components/Form';
|
|
21
|
+
import Button, { AbsherButton } from '@features/shared/Button';
|
|
22
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
23
|
+
import { handlePrevScreenStep, settingsSelector } from '@app/settings';
|
|
24
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
25
|
+
import { clearError, connectSelector, createMobileAuth } from '@features/app/connect/connectStore';
|
|
26
|
+
import { useLanguage } from '@hooks';
|
|
27
27
|
import Divider from '@mui/material/Divider';
|
|
28
|
-
import { isKW } from '
|
|
29
|
-
import Text from '
|
|
28
|
+
import { isKW } from '@utils';
|
|
29
|
+
import Text from '@components/Text';
|
|
30
30
|
import MIDTitle from './Title';
|
|
31
31
|
import MobileNumber from './MobileNumber';
|
|
32
32
|
import { PhoneValidationSchema } from './validation';
|
|
@@ -26,18 +26,18 @@ import Box from '@mui/material/Box';
|
|
|
26
26
|
import { useTranslation } from 'react-i18next';
|
|
27
27
|
import { useController, useFormContext } from 'react-hook-form';
|
|
28
28
|
import { styled, alpha } from '@mui/material/styles';
|
|
29
|
-
import Text from '
|
|
30
|
-
import Collapse from '
|
|
31
|
-
import ClearIcon from '
|
|
32
|
-
import CheckIcon from '
|
|
33
|
-
import ScreenContainer from '
|
|
34
|
-
import { connectSelector } from '
|
|
35
|
-
import ExpandIcon from '
|
|
36
|
-
import Input from '
|
|
37
|
-
import SimpleList from '
|
|
38
|
-
import { removeAllCharsFromNumber } from '
|
|
39
|
-
import { useLanguage, useAppSelector } from '
|
|
40
|
-
import Search from '
|
|
29
|
+
import Text from '@components/Text';
|
|
30
|
+
import Collapse from '@components/Collapse';
|
|
31
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
32
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
33
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
34
|
+
import { connectSelector } from '@features/app/connect/connectStore';
|
|
35
|
+
import ExpandIcon from '@components/ExpandIcon';
|
|
36
|
+
import Input from '@features/shared/Input';
|
|
37
|
+
import SimpleList from '@components/SimpleList';
|
|
38
|
+
import { removeAllCharsFromNumber } from '@utils';
|
|
39
|
+
import { useLanguage, useAppSelector } from '@hooks';
|
|
40
|
+
import Search from '@features/shared/Search';
|
|
41
41
|
var LabelContainerStyled = styled(Box)(function (_a) {
|
|
42
42
|
var theme = _a.theme;
|
|
43
43
|
return ({
|
|
@@ -12,8 +12,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
14
|
import { styled, alpha } from '@mui/material/styles';
|
|
15
|
-
import Collapse from '
|
|
16
|
-
import Text from '
|
|
15
|
+
import Collapse from '@components/Collapse';
|
|
16
|
+
import Text from '@components/Text';
|
|
17
17
|
var TitleStyled = styled(Text)(function (_a) {
|
|
18
18
|
var theme = _a.theme;
|
|
19
19
|
return (__assign(__assign({ color: theme.palette.text.primary, textAlign: 'center' }, theme.typography.body1), { fontWeight: theme.typography.fontWeightMedium, lineHeight: 1.21, padding: theme.spacing(0, 3, 0, 3) }));
|
|
@@ -12,12 +12,12 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useTranslation } from 'react-i18next';
|
|
14
14
|
import { useController, useFormContext } from 'react-hook-form';
|
|
15
|
-
import { useAppDispatch, useAppSelector } from '
|
|
16
|
-
import { ScreenContainer } from '
|
|
17
|
-
import DatePicker from '
|
|
15
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
16
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
17
|
+
import DatePicker from '@components/DatePicker';
|
|
18
18
|
import { alpha, styled } from '@mui/material/styles';
|
|
19
|
-
import { clearError, connectSelector } from '
|
|
20
|
-
import Text from '
|
|
19
|
+
import { clearError, connectSelector } from '@features/app/connect/connectStore';
|
|
20
|
+
import Text from '@components/Text';
|
|
21
21
|
var InputLabelStyled = styled(Text)(function (_a) {
|
|
22
22
|
var theme = _a.theme;
|
|
23
23
|
return (__assign(__assign({ color: alpha(theme.palette.text.primary, 0.6), fontWeight: theme.typography.fontWeightMedium }, theme.typography.caption), { lineHeight: theme.spacing(2.5) }));
|
|
@@ -15,14 +15,14 @@ import Box from '@mui/material/Box';
|
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import { useController, useFormContext } from 'react-hook-form';
|
|
17
17
|
import { styled, alpha } from '@mui/material/styles';
|
|
18
|
-
import Text from '
|
|
19
|
-
import Input from '
|
|
20
|
-
import ClearIcon from '
|
|
21
|
-
import CheckIcon from '
|
|
22
|
-
import Collapse from '
|
|
23
|
-
import ScreenContainer from '
|
|
24
|
-
import { removeAllCharsFromNumber } from '
|
|
25
|
-
import { ID_NUMBER_LENGTH } from '
|
|
18
|
+
import Text from '@components/Text';
|
|
19
|
+
import Input from '@features/shared/Input';
|
|
20
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
21
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
22
|
+
import Collapse from '@components/Collapse';
|
|
23
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
24
|
+
import { removeAllCharsFromNumber } from '@utils';
|
|
25
|
+
import { ID_NUMBER_LENGTH } from '@constants';
|
|
26
26
|
var LabelContainerStyled = styled(Box)(function (_a) {
|
|
27
27
|
var theme = _a.theme;
|
|
28
28
|
return ({
|
|
@@ -16,16 +16,16 @@ import { alpha, styled } from '@mui/material/styles';
|
|
|
16
16
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
17
17
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
18
18
|
import { NIDValidationSchema } from './validation';
|
|
19
|
-
import { useAppDispatch, useLanguage, useAppSelector } from '
|
|
20
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
21
|
-
import { clearError, connectSelector, createNIDAuth } from '
|
|
22
|
-
import Form from '
|
|
23
|
-
import Button, { MobileButton } from '
|
|
24
|
-
import { ScreenContainer } from '
|
|
25
|
-
import Collapse from '
|
|
19
|
+
import { useAppDispatch, useLanguage, useAppSelector } from '@hooks';
|
|
20
|
+
import { handlePrevScreenStep, settingsSelector } from '@app/settings';
|
|
21
|
+
import { clearError, connectSelector, createNIDAuth } from '@features/app/connect/connectStore';
|
|
22
|
+
import Form from '@components/Form';
|
|
23
|
+
import Button, { MobileButton } from '@features/shared/Button';
|
|
24
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
25
|
+
import Collapse from '@components/Collapse';
|
|
26
26
|
import Box from '@mui/material/Box';
|
|
27
27
|
import Divider from '@mui/material/Divider';
|
|
28
|
-
import Text from '
|
|
28
|
+
import Text from '@components/Text';
|
|
29
29
|
import IDNumber from './IDNumber';
|
|
30
30
|
import DOB from './DOB';
|
|
31
31
|
var FormStyled = styled(Form)(function () { return ({
|
|
@@ -14,17 +14,17 @@ import Box from '@mui/material/Box/Box';
|
|
|
14
14
|
import { styled } from '@mui/material/styles';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { useTranslation } from 'react-i18next';
|
|
17
|
-
import Text from '
|
|
18
|
-
import { clearError, connectSelector, resetOTPScreen, verifyAuth } from '
|
|
19
|
-
import Button from '
|
|
20
|
-
import { ScreenContainer } from '
|
|
21
|
-
import { useAppDispatch, useAppSelector } from '
|
|
22
|
-
import { handlePrevScreenStep } from '
|
|
23
|
-
import { useLanguage } from '
|
|
17
|
+
import Text from '@components/Text';
|
|
18
|
+
import { clearError, connectSelector, resetOTPScreen, verifyAuth } from '@features/app/connect/connectStore';
|
|
19
|
+
import Button from '@features/shared/Button';
|
|
20
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
21
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
22
|
+
import { handlePrevScreenStep } from '@app/settings';
|
|
23
|
+
import { useLanguage } from '@hooks';
|
|
24
24
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
25
25
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
26
|
-
import Form from '
|
|
27
|
-
import { maskPhone, maskID } from '
|
|
26
|
+
import Form from '@components/Form';
|
|
27
|
+
import { maskPhone, maskID } from '@utils';
|
|
28
28
|
import { OTPValidation } from './validation';
|
|
29
29
|
import OTPInput from './OTPInput';
|
|
30
30
|
var OTPTitleContainerStyled = styled(Box)(function (_a) {
|
|
@@ -15,10 +15,10 @@ import { useController, useFormContext } from 'react-hook-form';
|
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import Box from '@mui/material/Box/Box';
|
|
17
17
|
import { styled } from '@mui/material/styles';
|
|
18
|
-
import OTPField from '
|
|
19
|
-
import { DEFAULT_TIMER_VALUE } from '
|
|
20
|
-
import { connectSelector, resendOTPMobile, resendOTPNID } from '
|
|
21
|
-
import { useAppDispatch, useAppSelector } from '
|
|
18
|
+
import OTPField from '@features/shared/OTP';
|
|
19
|
+
import { DEFAULT_TIMER_VALUE } from '@constants';
|
|
20
|
+
import { connectSelector, resendOTPMobile, resendOTPNID } from '@features/app/connect/connectStore';
|
|
21
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
22
22
|
var BoxStyled = styled(Box)(function (_a) {
|
|
23
23
|
var theme = _a.theme;
|
|
24
24
|
return ({
|
|
@@ -1,7 +1,7 @@
|
|
|
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 SuccessScreen from '
|
|
4
|
+
import SuccessScreen from '@features/shared/SuccessScreen';
|
|
5
5
|
var ThankYou = function (_a) {
|
|
6
6
|
var t = useTranslation().t;
|
|
7
7
|
return (_jsx(SuccessScreen, { title: t("connect_completed_title"), description: t("connect_completed_description"), showEmailProviders: true }));
|