@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
|
@@ -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 * as React from 'react';
|
|
14
|
-
import { ScreenContainer } from '
|
|
15
|
-
import Input from '
|
|
14
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
15
|
+
import Input from '@features/shared/Input';
|
|
16
16
|
import { useTranslation } from 'react-i18next';
|
|
17
17
|
import { useController, useFormContext } from 'react-hook-form';
|
|
18
18
|
import { styled } from '@mui/material/styles';
|
|
19
|
-
import ClearIcon from '
|
|
20
|
-
import CheckIcon from '
|
|
21
|
-
import { bankSelector } from '
|
|
22
|
-
import { useAppSelector } from '
|
|
23
|
-
import { removeAllOtherThanAlphabetAndSpace } from '
|
|
24
|
-
import Collapse from '
|
|
19
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
20
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
21
|
+
import { bankSelector } from '@features/app/bank/bankStore';
|
|
22
|
+
import { useAppSelector } from '@hooks';
|
|
23
|
+
import { removeAllOtherThanAlphabetAndSpace } from '@utils';
|
|
24
|
+
import Collapse from '@src/components/Collapse';
|
|
25
25
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
26
26
|
var theme = _a.theme;
|
|
27
27
|
return ({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { styled } from '@mui/material/styles';
|
|
4
|
-
import { ScreenContainer } from '
|
|
4
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
5
5
|
import { useTranslation } from 'react-i18next';
|
|
6
6
|
import { useController, useFormContext } from 'react-hook-form';
|
|
7
|
-
import { useAppDispatch, useAppSelector } from '
|
|
8
|
-
import { bankSelector, uploadBankStatement } from '
|
|
9
|
-
import UploadFile from '
|
|
10
|
-
import { MAX_FILE_SIZE, VALID_FILE_FORMATS } from '
|
|
7
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
8
|
+
import { bankSelector, uploadBankStatement } from '@features/app/bank/bankStore';
|
|
9
|
+
import UploadFile from '@features/shared/UploadFile';
|
|
10
|
+
import { MAX_FILE_SIZE, VALID_FILE_FORMATS } from '@src/constants';
|
|
11
11
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
12
12
|
var theme = _a.theme;
|
|
13
13
|
return ({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import Input from '
|
|
3
|
+
import Input from '@features/shared/Input';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import { useController, useFormContext } from 'react-hook-form';
|
|
6
6
|
import { styled } from '@mui/material';
|
|
7
|
-
import { removeOnlyNumbers } from '
|
|
8
|
-
import { ScreenContainer } from '
|
|
9
|
-
import { bankSelector } from '
|
|
10
|
-
import { useAppSelector, useLanguage } from '
|
|
11
|
-
import ClearIcon from '
|
|
12
|
-
import CheckIcon from '
|
|
7
|
+
import { removeOnlyNumbers } from '@utils';
|
|
8
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
9
|
+
import { bankSelector } from '@features/app/bank/bankStore';
|
|
10
|
+
import { useAppSelector, useLanguage } from '@hooks';
|
|
11
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
12
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
13
13
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
14
14
|
var theme = _a.theme;
|
|
15
15
|
return ({
|
|
@@ -12,13 +12,13 @@ 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 { ScreenContainer } from '
|
|
15
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
16
16
|
import { styled, alpha } from '@mui/material/styles';
|
|
17
17
|
import Box from '@mui/material/Box';
|
|
18
|
-
import CheckBox from '
|
|
19
|
-
import Text from '
|
|
20
|
-
import Warning from '
|
|
21
|
-
import Collapse from '
|
|
18
|
+
import CheckBox from '@components/CheckBox';
|
|
19
|
+
import Text from '@components/Text';
|
|
20
|
+
import Warning from '@components/Warning';
|
|
21
|
+
import Collapse from '@components/Collapse';
|
|
22
22
|
var ConfirmContainerStyled = styled(Box)(function (_a) {
|
|
23
23
|
var theme = _a.theme;
|
|
24
24
|
return ({
|
|
@@ -36,19 +36,19 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
36
36
|
};
|
|
37
37
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
38
38
|
import * as React from 'react';
|
|
39
|
-
import Input from '
|
|
39
|
+
import Input from '@features/shared/Input';
|
|
40
40
|
import { useTranslation } from 'react-i18next';
|
|
41
41
|
import { useController, useFormContext } from 'react-hook-form';
|
|
42
|
-
import { removeAllOtherThanCharsAndNumber } from '
|
|
42
|
+
import { removeAllOtherThanCharsAndNumber } from '@utils';
|
|
43
43
|
import { styled } from '@mui/material';
|
|
44
|
-
import { MAX_IBAN_VALUE } from '
|
|
45
|
-
import { ScreenContainer } from '
|
|
44
|
+
import { MAX_IBAN_VALUE } from '@constants';
|
|
45
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
46
46
|
import { debounce } from 'lodash-es';
|
|
47
|
-
import { checkIbanBank } from '
|
|
48
|
-
import { useAppDispatch } from '
|
|
47
|
+
import { checkIbanBank } from '@features/app/bank/bankStore';
|
|
48
|
+
import { useAppDispatch } from '@hooks';
|
|
49
49
|
import axios from 'axios';
|
|
50
|
-
import ClearIcon from '
|
|
51
|
-
import CheckIcon from '
|
|
50
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
51
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
52
52
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
53
53
|
var InputStyled = styled(Input)(function () { return ({
|
|
54
54
|
input: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { REGEX_BENEFICIARY_NAME, MAX_FILE_SIZE, VALID_FILE_FORMATS } from '
|
|
1
|
+
import { REGEX_BENEFICIARY_NAME, MAX_FILE_SIZE, VALID_FILE_FORMATS } from '@constants';
|
|
2
2
|
import * as yup from 'yup';
|
|
3
3
|
export var BankValidation = yup.object().shape({
|
|
4
4
|
iban: yup
|
|
@@ -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 ResetPasswordSuccess = function (_a) {
|
|
6
6
|
var t = useTranslation().t;
|
|
7
7
|
return (_jsx(SuccessScreen, { title: t("reset_password_success_title"), description: t("reset_password_success_description"), showEmailProviders: true }));
|
|
@@ -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 SuccessScreen from '
|
|
5
|
-
import { useAppDispatch, useAppSelector } from '
|
|
6
|
-
import { bankSelector, updateBoardSuccess } from '
|
|
4
|
+
import SuccessScreen from '@features/shared/SuccessScreen';
|
|
5
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
6
|
+
import { bankSelector, updateBoardSuccess } from '@features/app/bank/bankStore';
|
|
7
7
|
var Success = function (_a) {
|
|
8
8
|
var t = useTranslation().t;
|
|
9
9
|
var dispatch = useAppDispatch();
|
|
@@ -13,16 +13,16 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { memo, useEffect, useState } from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import { styled } from '@mui/material/styles';
|
|
16
|
-
import { FlowsButtons } from '
|
|
17
|
-
import { ICONS_NAMES, PASSWORD_OPERATION_TYPE } from '
|
|
18
|
-
import { useAppSelector, useLanguage } from '
|
|
19
|
-
import { getResetFlowUrl, showLastFour } from '
|
|
20
|
-
import { bankSelector } from '
|
|
16
|
+
import { FlowsButtons } from '@features/shared/Button';
|
|
17
|
+
import { ICONS_NAMES, PASSWORD_OPERATION_TYPE } from '@constants';
|
|
18
|
+
import { useAppSelector, useLanguage } from '@hooks';
|
|
19
|
+
import { getResetFlowUrl, showLastFour } from '@utils';
|
|
20
|
+
import { bankSelector } from '@features/app/bank/bankStore';
|
|
21
21
|
import Box from '@mui/material/Box';
|
|
22
|
-
import Text from '
|
|
23
|
-
import Container from '
|
|
24
|
-
import AcceptancePayouts from '
|
|
25
|
-
import { settingsSelector } from '
|
|
22
|
+
import Text from '@components/Text';
|
|
23
|
+
import Container from '@features/shared/Containers/ScreenContainer';
|
|
24
|
+
import AcceptancePayouts from '@features/shared/AcceptancePayouts';
|
|
25
|
+
import { settingsSelector } from '@app/settings';
|
|
26
26
|
var TitleStyled = styled(Text)(function (_a) {
|
|
27
27
|
var _b;
|
|
28
28
|
var theme = _a.theme;
|
|
@@ -13,12 +13,12 @@ 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 '
|
|
16
|
+
import OTPField from '@features/shared/OTP';
|
|
17
17
|
import { useController, useFormContext } from 'react-hook-form';
|
|
18
18
|
import { useTranslation } from 'react-i18next';
|
|
19
|
-
import { DEFAULT_TIMER_VALUE } from '
|
|
20
|
-
import { useAppDispatch } from '
|
|
21
|
-
import { resendOTP } from '
|
|
19
|
+
import { DEFAULT_TIMER_VALUE } from '@constants';
|
|
20
|
+
import { useAppDispatch } from '@hooks';
|
|
21
|
+
import { resendOTP } from '@features/app/bank/bankStore';
|
|
22
22
|
var BoxStyled = styled(Box)(function (_a) {
|
|
23
23
|
var theme = _a.theme;
|
|
24
24
|
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 '
|
|
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 '
|
|
21
|
-
import { useLanguage, useAppSelector } from '
|
|
22
|
-
import { maskPhone } from '
|
|
23
|
-
import Form from '
|
|
24
|
-
import Text from '
|
|
25
|
-
import { ScreenContainer } from '
|
|
26
|
-
import { bankSelector, clearError, resetOTPScreen, verifyBankLeadOTP } from '
|
|
27
|
-
import Button from '
|
|
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 { bankSelector, clearError, resetOTPScreen, verifyBankLeadOTP } from '@features/app/bank/bankStore';
|
|
27
|
+
import Button from '@features/shared/Button';
|
|
28
28
|
import { OTPValidation } from './validation';
|
|
29
29
|
import OTPInput from './OTPInput';
|
|
30
30
|
var OTPTitleContainerStyled = styled(Box)(function (_a) {
|
|
@@ -11,16 +11,16 @@ 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, useStepStartedListener } from '
|
|
15
|
-
import { handleLanguage, settingsSelector } from '
|
|
16
|
-
import { FeatureContainer } from '
|
|
17
|
-
import { businessSelector, verifyLeadToken } from '
|
|
18
|
-
import AnimationFlow from '
|
|
19
|
-
import { store } from '
|
|
20
|
-
import { ReduxProvider, ThemeProvider } from '
|
|
21
|
-
import Collapse from '
|
|
22
|
-
import { getParameterByName, reactElement, removeElement } from '
|
|
23
|
-
import { BUSINESS_SCREENS_NAVIGATION, DIALOG_ID } from '
|
|
14
|
+
import { useAppTheme, useAppDispatch, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener } from '@hooks';
|
|
15
|
+
import { handleLanguage, settingsSelector } from '@app/settings';
|
|
16
|
+
import { FeatureContainer } from '@features/shared/Containers';
|
|
17
|
+
import { businessSelector, verifyLeadToken } from '@features/app/business/businessStore';
|
|
18
|
+
import AnimationFlow from '@components/AnimationFlow';
|
|
19
|
+
import { store } from '@app/store';
|
|
20
|
+
import { ReduxProvider, ThemeProvider } from '@components/Providers';
|
|
21
|
+
import Collapse from '@components/Collapse';
|
|
22
|
+
import { getParameterByName, reactElement, removeElement } from '@utils';
|
|
23
|
+
import { BUSINESS_SCREENS_NAVIGATION, DIALOG_ID } from '@constants';
|
|
24
24
|
import { businessFeatureScreens } from '../featuresScreens';
|
|
25
25
|
import CustomFooter from '../shared/Footer';
|
|
26
26
|
import Background from '../shared/Background';
|
|
@@ -14,17 +14,17 @@ import * as React from 'react';
|
|
|
14
14
|
import { styled } from '@mui/material/styles';
|
|
15
15
|
import ActivitiesList from './ActivitiesList';
|
|
16
16
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
17
|
-
import { useAppDispatch, useLanguage, useAppSelector } from '
|
|
18
|
-
import Form from '
|
|
17
|
+
import { useAppDispatch, useLanguage, useAppSelector } from '@hooks';
|
|
18
|
+
import Form from '@components/Form';
|
|
19
19
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
20
20
|
import { useTranslation } from 'react-i18next';
|
|
21
|
-
import { handlePrevScreenStep } from '
|
|
22
|
-
import Button from '
|
|
21
|
+
import { handlePrevScreenStep } from '@app/settings';
|
|
22
|
+
import Button from '@features/shared/Button';
|
|
23
23
|
import SalesChannels from './SalesChannels';
|
|
24
|
-
import { ScreenContainer } from '
|
|
25
|
-
import Collapse from '
|
|
24
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
25
|
+
import Collapse from '@components/Collapse';
|
|
26
26
|
import OperationStartDate from './OperationStartDate';
|
|
27
|
-
import { businessSelector, clearError, updateActivitiesInfo } from '
|
|
27
|
+
import { businessSelector, clearError, updateActivitiesInfo } from '@features/app/business/businessStore';
|
|
28
28
|
import { ActivitiesValidationSchema } from './validation';
|
|
29
29
|
import LicenseName from './LicenseName';
|
|
30
30
|
var FormStyled = styled(Form)(function () { return ({
|
|
@@ -12,7 +12,7 @@ export declare const InputLabelStyled: import("@emotion/styled").StyledComponent
|
|
|
12
12
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
|
13
13
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
14
14
|
}, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
15
|
-
export declare const InputStyled: import("@emotion/styled").StyledComponent<Pick<import("
|
|
15
|
+
export declare const InputStyled: import("@emotion/styled").StyledComponent<Pick<import("@components/Input").InputProps, "name" | "type" | "className" | "style" | "classes" | "color" | "margin" | "translate" | "slot" | "title" | "ref" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "size" | "disabled" | "error" | "components" | "componentsProps" | "value" | "autoFocus" | "fullWidth" | "required" | "rows" | "inputProps" | "inputRef" | "readOnly" | "autoComplete" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "disableUnderline" | "onEnterPressed" | "warningMessage"> & {
|
|
16
16
|
placeholder?: string | undefined;
|
|
17
17
|
hide?: boolean | undefined;
|
|
18
18
|
warningType?: "alert" | "error" | "hint" | undefined;
|
|
@@ -33,17 +33,17 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
33
33
|
import * as React from 'react';
|
|
34
34
|
import Box from '@mui/material/Box';
|
|
35
35
|
import { alpha, styled } from '@mui/material/styles';
|
|
36
|
-
import Text from '
|
|
37
|
-
import Input from '
|
|
36
|
+
import Text from '@components/Text';
|
|
37
|
+
import Input from '@components/Input';
|
|
38
38
|
import { useTranslation } from 'react-i18next';
|
|
39
39
|
import { useController, useFormContext } from 'react-hook-form';
|
|
40
|
-
import { useLanguage, useAppSelector } from '
|
|
41
|
-
import { BusinessType } from '
|
|
42
|
-
import Collapse from '
|
|
43
|
-
import SimpleList from '
|
|
44
|
-
import ExpandIcon from '
|
|
45
|
-
import { ScreenContainer } from '
|
|
46
|
-
import { businessSelector } from '
|
|
40
|
+
import { useLanguage, useAppSelector } from '@hooks';
|
|
41
|
+
import { BusinessType } from '@types';
|
|
42
|
+
import Collapse from '@components/Collapse';
|
|
43
|
+
import SimpleList from '@components/SimpleList';
|
|
44
|
+
import ExpandIcon from '@components/ExpandIcon';
|
|
45
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
46
|
+
import { businessSelector } from '@features/app/business/businessStore';
|
|
47
47
|
import CheckIcon from '@mui/icons-material/Check';
|
|
48
48
|
import { MandatoryStyled } from './SalesChannels';
|
|
49
49
|
export var InputLabelStyled = styled(Text)(function (_a) {
|
|
@@ -12,12 +12,12 @@ 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 Collapse from '
|
|
18
|
-
import { useAppSelector, useLanguage } from '
|
|
19
|
-
import { businessSelector } from '
|
|
20
|
-
import CheckIcon from '
|
|
15
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
16
|
+
import Input from '@features/shared/Input';
|
|
17
|
+
import Collapse from '@components/Collapse';
|
|
18
|
+
import { useAppSelector, useLanguage } from '@hooks';
|
|
19
|
+
import { businessSelector } from '@features/app/business/businessStore';
|
|
20
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
21
21
|
var LicenseName = function (_a) {
|
|
22
22
|
var _b, _c, _d;
|
|
23
23
|
var t = useTranslation().t;
|
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { InputLabelStyled } from './ActivitiesList';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
4
|
import { useController, useFormContext } from 'react-hook-form';
|
|
5
|
-
import DatePicker from '
|
|
6
|
-
import { ScreenContainer } from '
|
|
5
|
+
import DatePicker from '@components/DatePicker';
|
|
6
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
7
7
|
import { MandatoryStyled } from './SalesChannels';
|
|
8
|
-
import { useAppDispatch, useAppSelector } from '
|
|
9
|
-
import { businessSelector, clearError } from '
|
|
8
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
9
|
+
import { businessSelector, clearError } from '@features/app/business/businessStore';
|
|
10
10
|
var OperationStartDate = function (_a) {
|
|
11
11
|
var _b;
|
|
12
12
|
var onDateClicked = _a.onDateClicked;
|
|
@@ -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 { businessSelector, 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 { businessSelector, clearError } from '@features/app/business/businessStore';
|
|
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));
|
|
@@ -14,14 +14,14 @@ import * as React from 'react';
|
|
|
14
14
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
17
|
-
import { useAppDispatch, useAppSelector } from '
|
|
18
|
-
import { handlePrevScreenStep } from '
|
|
19
|
-
import Form from '
|
|
20
|
-
import Collapse from '
|
|
21
|
-
import { useLanguage } from '
|
|
22
|
-
import ScreenContainer from '
|
|
23
|
-
import { businessSelector, clearError, updateLeadBusinessType } from '
|
|
24
|
-
import Button from '
|
|
17
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
18
|
+
import { handlePrevScreenStep } from '@app/settings';
|
|
19
|
+
import Form from '@components/Form';
|
|
20
|
+
import Collapse from '@components/Collapse';
|
|
21
|
+
import { useLanguage } from '@hooks';
|
|
22
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
23
|
+
import { businessSelector, clearError, updateLeadBusinessType } from '@features/app/business/businessStore';
|
|
24
|
+
import Button from '@features/shared/Button';
|
|
25
25
|
import { LicenseValidationSchema } from './validation';
|
|
26
26
|
import LicenseList from './LicenseList';
|
|
27
27
|
var BusinessType = function (_a) {
|
|
@@ -26,16 +26,16 @@ 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 { useAppDispatch, useLanguage, useAppSelector } from '
|
|
30
|
-
import { BusinessType } from '
|
|
31
|
-
import ScreenContainer from '
|
|
32
|
-
import Input from '
|
|
33
|
-
import CheckIcon from '
|
|
34
|
-
import SimpleList from '
|
|
35
|
-
import { businessSelector, clearError } from '
|
|
36
|
-
import Text from '
|
|
37
|
-
import ExpandIcon from '
|
|
38
|
-
import Collapse from '
|
|
29
|
+
import { useAppDispatch, useLanguage, useAppSelector } from '@hooks';
|
|
30
|
+
import { BusinessType } from '@types';
|
|
31
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
32
|
+
import Input from '@features/shared/Input';
|
|
33
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
34
|
+
import SimpleList from '@components/SimpleList';
|
|
35
|
+
import { businessSelector, clearError } from '@features/app/business/businessStore';
|
|
36
|
+
import Text from '@components/Text';
|
|
37
|
+
import ExpandIcon from '@components/ExpandIcon';
|
|
38
|
+
import Collapse from '@components/Collapse';
|
|
39
39
|
import LicenseNumber from './LicenseNumber';
|
|
40
40
|
var InputStyled = styled(Input)(function (_a) {
|
|
41
41
|
var theme = _a.theme;
|
|
@@ -13,14 +13,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import * as React from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import { useController, useFormContext } from 'react-hook-form';
|
|
16
|
-
import { CR_NUMBER_LENGTH, FL_NUMBER_LENGTH } from '
|
|
17
|
-
import { removeAllOtherThanCharsAndNumber } from '
|
|
18
|
-
import ScreenContainer from '
|
|
19
|
-
import ClearIcon from '
|
|
20
|
-
import CheckIcon from '
|
|
21
|
-
import Input from '
|
|
22
|
-
import Collapse from '
|
|
23
|
-
import { BusinessType } from '
|
|
16
|
+
import { CR_NUMBER_LENGTH, FL_NUMBER_LENGTH } from '@constants';
|
|
17
|
+
import { removeAllOtherThanCharsAndNumber } from '@utils';
|
|
18
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
19
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
20
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
21
|
+
import Input from '@features/shared/Input';
|
|
22
|
+
import Collapse from '@components/Collapse';
|
|
23
|
+
import { BusinessType } from '@types';
|
|
24
24
|
var LicenseNumber = function (_a) {
|
|
25
25
|
var _b;
|
|
26
26
|
var show = _a.show, readOnly = _a.readOnly;
|
|
@@ -17,12 +17,12 @@ import Box from '@mui/material/Box';
|
|
|
17
17
|
import { styled } from '@mui/material/styles';
|
|
18
18
|
import RadioGroup from '@mui/material/RadioGroup';
|
|
19
19
|
import Radio from '@mui/material/Radio';
|
|
20
|
-
import ScreenContainer from '
|
|
21
|
-
import Text from '
|
|
22
|
-
import Collapse from '
|
|
23
|
-
import Icon from '
|
|
24
|
-
import { ICONS_NAMES } from '
|
|
25
|
-
import { BusinessType } from '
|
|
20
|
+
import ScreenContainer from '@features/shared/Containers/ScreenContainer';
|
|
21
|
+
import Text from '@components/Text';
|
|
22
|
+
import Collapse from '@components/Collapse';
|
|
23
|
+
import Icon from '@components/Icon/Icon';
|
|
24
|
+
import { ICONS_NAMES } from '@constants';
|
|
25
|
+
import { BusinessType } from '@types';
|
|
26
26
|
import BTypeSwitch from './Switch';
|
|
27
27
|
var TitleStyled = styled(Text)(function (_a) {
|
|
28
28
|
var theme = _a.theme;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as yup from 'yup';
|
|
2
|
-
import { FL_NUMBER_LENGTH, CR_NUMBER_LENGTH } from '
|
|
3
|
-
import { BusinessType } from '
|
|
2
|
+
import { FL_NUMBER_LENGTH, CR_NUMBER_LENGTH } from '@constants';
|
|
3
|
+
import { BusinessType } from '@src/@types';
|
|
4
4
|
var objectElements = {
|
|
5
5
|
legal_name: yup.object().shape({
|
|
6
6
|
ar: yup.string(),
|