@tap-payments/auth-jsconnect 2.1.44-test → 2.1.50-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/LICENSE +21 -21
- package/README.md +167 -167
- package/build/@types/app.d.ts +297 -297
- package/build/@types/app.js +48 -48
- package/build/@types/form.d.ts +118 -115
- package/build/@types/form.js +1 -1
- package/build/@types/index.d.ts +4 -4
- package/build/@types/index.js +4 -4
- package/build/@types/redux.d.ts +14 -14
- package/build/@types/redux.js +1 -1
- package/build/@types/theme.d.ts +14 -14
- package/build/@types/theme.js +15 -15
- package/build/api/account.d.ts +19 -14
- package/build/api/account.js +21 -13
- package/build/api/auth.d.ts +93 -89
- package/build/api/auth.js +76 -60
- package/build/api/availabilityServices.d.ts +20 -20
- package/build/api/availabilityServices.js +17 -17
- package/build/api/axios.d.ts +7 -7
- package/build/api/axios.js +110 -110
- package/build/api/board.d.ts +27 -27
- package/build/api/board.js +63 -63
- package/build/api/brand.d.ts +9 -9
- package/build/api/brand.js +57 -57
- package/build/api/country.d.ts +6 -6
- package/build/api/country.js +14 -14
- package/build/api/data.d.ts +49 -49
- package/build/api/data.js +92 -92
- package/build/api/entity.d.ts +124 -124
- package/build/api/entity.js +99 -99
- package/build/api/file.d.ts +13 -13
- package/build/api/file.js +24 -24
- package/build/api/firebase.d.ts +4 -4
- package/build/api/firebase.js +14 -14
- package/build/api/index.d.ts +135 -131
- package/build/api/index.js +35 -35
- package/build/api/individual.d.ts +95 -95
- package/build/api/individual.js +39 -39
- package/build/api/lead.d.ts +102 -101
- package/build/api/lead.js +68 -59
- package/build/api/location.d.ts +5 -5
- package/build/api/location.js +19 -19
- package/build/api/operator.d.ts +12 -12
- package/build/api/operator.js +65 -65
- package/build/api/user.d.ts +8 -8
- package/build/api/user.js +12 -12
- package/build/app/rootReducer.d.ts +15 -15
- package/build/app/rootReducer.js +27 -27
- package/build/app/settings.d.ts +46 -46
- package/build/app/settings.js +268 -268
- package/build/app/store.d.ts +31 -31
- package/build/app/store.js +11 -11
- package/build/assets/locales/ar.json +362 -360
- package/build/assets/locales/en.json +391 -389
- package/build/components/AnimationFlow/AnimationFlow.d.ts +17 -17
- package/build/components/AnimationFlow/AnimationFlow.js +34 -34
- package/build/components/AnimationFlow/BottomSheet.d.ts +11 -11
- package/build/components/AnimationFlow/BottomSheet.js +86 -86
- package/build/components/AnimationFlow/Dialog.d.ts +15 -15
- package/build/components/AnimationFlow/Dialog.js +111 -111
- package/build/components/AnimationFlow/Error.d.ts +6 -6
- package/build/components/AnimationFlow/Error.js +32 -32
- package/build/components/AnimationFlow/Loader.d.ts +2 -2
- package/build/components/AnimationFlow/Loader.js +24 -24
- package/build/components/AnimationFlow/index.d.ts +2 -2
- package/build/components/AnimationFlow/index.js +2 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +13 -13
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +94 -94
- package/build/components/ArabicDatePicker/index.d.ts +2 -2
- package/build/components/ArabicDatePicker/index.js +2 -2
- package/build/components/Button/Button.d.ts +14 -14
- package/build/components/Button/Button.js +97 -97
- package/build/components/Button/index.d.ts +4 -4
- package/build/components/Button/index.js +2 -2
- package/build/components/CheckBox/CheckBox.d.ts +5 -5
- package/build/components/CheckBox/CheckBox.js +39 -39
- package/build/components/CheckBox/index.d.ts +4 -4
- package/build/components/CheckBox/index.js +2 -2
- package/build/components/Collapse/Collapse.d.ts +5 -5
- package/build/components/Collapse/Collapse.js +28 -28
- package/build/components/Collapse/index.d.ts +3 -3
- package/build/components/Collapse/index.js +2 -2
- package/build/components/DatePicker/DatePicker.d.ts +14 -14
- package/build/components/DatePicker/DatePicker.js +101 -101
- package/build/components/DatePicker/index.d.ts +3 -3
- package/build/components/DatePicker/index.js +2 -2
- package/build/components/ExpandIcon/ExpandIcon.d.ts +7 -7
- package/build/components/ExpandIcon/ExpandIcon.js +24 -24
- package/build/components/ExpandIcon/index.d.ts +2 -2
- package/build/components/ExpandIcon/index.js +2 -2
- package/build/components/FileInput/DragAndDrop.d.ts +17 -17
- package/build/components/FileInput/DragAndDrop.js +136 -136
- package/build/components/FileInput/UploadInput.d.ts +7 -7
- package/build/components/FileInput/UploadInput.js +38 -38
- package/build/components/FileInput/index.d.ts +3 -3
- package/build/components/FileInput/index.js +3 -3
- package/build/components/Footer/Footer.d.ts +15 -15
- package/build/components/Footer/Footer.js +62 -62
- package/build/components/Footer/index.d.ts +4 -4
- package/build/components/Footer/index.js +2 -2
- package/build/components/Form/Form.d.ts +11 -11
- package/build/components/Form/Form.js +38 -38
- package/build/components/Form/index.d.ts +3 -3
- package/build/components/Form/index.js +2 -2
- package/build/components/Icon/Icon.d.ts +11 -11
- package/build/components/Icon/Icon.js +26 -26
- package/build/components/Icon/index.d.ts +3 -3
- package/build/components/Icon/index.js +2 -2
- package/build/components/Input/Input.d.ts +19 -19
- package/build/components/Input/Input.js +84 -84
- package/build/components/Input/index.d.ts +3 -3
- package/build/components/Input/index.js +2 -2
- package/build/components/InputAdornment/InputAdornment.d.ts +10 -10
- package/build/components/InputAdornment/InputAdornment.js +46 -46
- package/build/components/InputAdornment/index.d.ts +3 -3
- package/build/components/InputAdornment/index.js +2 -2
- package/build/components/List/List.d.ts +5 -5
- package/build/components/List/List.js +52 -52
- package/build/components/List/index.d.ts +3 -3
- package/build/components/List/index.js +2 -2
- package/build/components/ListItem/ListItem.d.ts +5 -5
- package/build/components/ListItem/ListItem.js +35 -35
- package/build/components/ListItem/index.d.ts +3 -3
- package/build/components/ListItem/index.js +2 -2
- package/build/components/Loader/Loader.d.ts +24 -24
- package/build/components/Loader/Loader.js +41 -41
- package/build/components/Loader/index.d.ts +4 -4
- package/build/components/Loader/index.js +2 -2
- package/build/components/LogoBadge/LogoBadge.d.ts +7 -7
- package/build/components/LogoBadge/LogoBadge.js +61 -61
- package/build/components/LogoBadge/index.d.ts +3 -3
- package/build/components/LogoBadge/index.js +2 -2
- package/build/components/Lottie/Lottie.d.ts +4204 -3884
- package/build/components/Lottie/Lottie.js +66 -64
- package/build/components/Lottie/files/account_creating.json +732 -0
- package/build/components/Lottie/files/error.json +692 -692
- package/build/components/Lottie/files/pulsating_circle_waves.json +236 -236
- package/build/components/Lottie/files/start_loading.json +1140 -1140
- package/build/components/Lottie/files/still_loading.json +1140 -1140
- package/build/components/Lottie/files/success.json +425 -425
- package/build/components/Lottie/index.d.ts +3 -3
- package/build/components/Lottie/index.js +3 -3
- package/build/components/OTPField/OTPField.d.ts +18 -18
- package/build/components/OTPField/OTPField.js +45 -45
- package/build/components/OTPField/index.d.ts +4 -4
- package/build/components/OTPField/index.js +2 -2
- package/build/components/OTPTimer/OTPTimer.d.ts +14 -14
- package/build/components/OTPTimer/OTPTimer.js +70 -70
- package/build/components/OTPTimer/index.d.ts +4 -4
- package/build/components/OTPTimer/index.js +2 -2
- package/build/components/ProgressBar/CircularProgressBar.d.ts +16 -16
- package/build/components/ProgressBar/CircularProgressBar.js +48 -48
- package/build/components/ProgressBar/ProgressBar.d.ts +6 -6
- package/build/components/ProgressBar/ProgressBar.js +45 -45
- package/build/components/ProgressBar/index.d.ts +6 -6
- package/build/components/ProgressBar/index.js +4 -4
- package/build/components/Providers/ReduxProvider.d.ts +7 -7
- package/build/components/Providers/ReduxProvider.js +17 -17
- package/build/components/Providers/ThemeProvider.d.ts +8 -8
- package/build/components/Providers/ThemeProvider.js +22 -22
- package/build/components/Providers/index.d.ts +3 -3
- package/build/components/Providers/index.js +3 -3
- package/build/components/Radio/Radio.d.ts +5 -5
- package/build/components/Radio/Radio.js +31 -31
- package/build/components/Radio/index.d.ts +3 -3
- package/build/components/Radio/index.js +2 -2
- package/build/components/RadioGroup/RadioGroup.d.ts +5 -5
- package/build/components/RadioGroup/RadioGroup.js +41 -41
- package/build/components/RadioGroup/index.d.ts +3 -3
- package/build/components/RadioGroup/index.js +2 -2
- package/build/components/RadioLabel/RadioLabel.d.ts +10 -10
- package/build/components/RadioLabel/RadioLabel.js +34 -34
- package/build/components/RadioLabel/index.d.ts +3 -3
- package/build/components/RadioLabel/index.js +2 -2
- package/build/components/SimpleList/SimpleList.d.ts +19 -19
- package/build/components/SimpleList/SimpleList.js +116 -116
- package/build/components/SimpleList/index.d.ts +3 -3
- package/build/components/SimpleList/index.js +2 -2
- package/build/components/Slide/Slide.d.ts +6 -6
- package/build/components/Slide/Slide.js +30 -30
- package/build/components/Slide/index.d.ts +3 -3
- package/build/components/Slide/index.js +2 -2
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +11 -11
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +34 -34
- package/build/components/SocialMediaGroup/index.d.ts +3 -3
- package/build/components/SocialMediaGroup/index.js +2 -2
- package/build/components/Text/Text.d.ts +5 -5
- package/build/components/Text/Text.js +35 -35
- package/build/components/Text/index.d.ts +3 -3
- package/build/components/Text/index.js +2 -2
- package/build/components/ToggleButton/ToggleButton.d.ts +5 -5
- package/build/components/ToggleButton/ToggleButton.js +44 -44
- package/build/components/ToggleButton/index.d.ts +3 -3
- package/build/components/ToggleButton/index.js +2 -2
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -5
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.js +37 -37
- package/build/components/ToggleButtonGroup/index.d.ts +3 -3
- package/build/components/ToggleButtonGroup/index.js +2 -2
- package/build/components/Tooltip/Tooltip.d.ts +10 -10
- package/build/components/Tooltip/Tooltip.js +53 -53
- package/build/components/Tooltip/index.d.ts +3 -3
- package/build/components/Tooltip/index.js +2 -2
- package/build/components/Warning/Warning.d.ts +13 -13
- package/build/components/Warning/Warning.js +53 -53
- package/build/components/Warning/index.d.ts +4 -4
- package/build/components/Warning/index.js +2 -2
- package/build/constants/api.d.ts +48 -45
- package/build/constants/api.js +95 -89
- package/build/constants/app.d.ts +194 -191
- package/build/constants/app.js +646 -590
- package/build/constants/assets.d.ts +93 -93
- package/build/constants/assets.js +93 -93
- package/build/constants/dummy.d.ts +328 -328
- package/build/constants/dummy.js +6436 -6436
- package/build/constants/index.d.ts +5 -5
- package/build/constants/index.js +5 -5
- package/build/constants/validation.d.ts +27 -27
- package/build/constants/validation.js +27 -27
- package/build/features/app/auth/authStore.d.ts +46 -46
- package/build/features/app/auth/authStore.js +256 -256
- package/build/features/app/bank/bankStore.d.ts +72 -72
- package/build/features/app/bank/bankStore.js +472 -472
- package/build/features/app/brand/brandStore.d.ts +97 -97
- package/build/features/app/brand/brandStore.js +649 -649
- package/build/features/app/business/businessStore.d.ts +129 -128
- package/build/features/app/business/businessStore.js +1142 -1142
- package/build/features/app/connect/connectStore.d.ts +101 -100
- package/build/features/app/connect/connectStore.js +920 -920
- package/build/features/app/connectExpress/connectExpressStore.d.ts +107 -52
- package/build/features/app/connectExpress/connectExpressStore.js +906 -362
- package/build/features/app/entity/entityStore.d.ts +73 -73
- package/build/features/app/entity/entityStore.js +629 -629
- package/build/features/app/individual/individualStore.d.ts +82 -82
- package/build/features/app/individual/individualStore.js +571 -571
- package/build/features/app/password/passwordStore.d.ts +83 -83
- package/build/features/app/password/passwordStore.js +538 -538
- package/build/features/app/signIn/signInStore.d.ts +33 -33
- package/build/features/app/signIn/signInStore.js +368 -368
- package/build/features/app/tax/taxStore.d.ts +46 -46
- package/build/features/app/tax/taxStore.js +385 -385
- package/build/features/auth/Auth.d.ts +10 -10
- package/build/features/auth/Auth.js +87 -87
- package/build/features/auth/index.d.ts +1 -1
- package/build/features/auth/index.js +1 -1
- package/build/features/auth/screens/NID/DOB.d.ts +7 -7
- package/build/features/auth/screens/NID/DOB.js +47 -47
- package/build/features/auth/screens/NID/IDNumber.d.ts +3 -3
- package/build/features/auth/screens/NID/IDNumber.js +64 -64
- package/build/features/auth/screens/NID/NID.d.ts +5 -5
- package/build/features/auth/screens/NID/NID.js +68 -68
- package/build/features/auth/screens/NID/TAC.d.ts +3 -3
- package/build/features/auth/screens/NID/TAC.js +85 -85
- package/build/features/auth/screens/NID/index.d.ts +3 -3
- package/build/features/auth/screens/NID/index.js +2 -2
- package/build/features/auth/screens/NID/validation.d.ts +27 -27
- package/build/features/auth/screens/NID/validation.js +19 -19
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -5
- package/build/features/auth/screens/OTP/OTP.js +76 -76
- package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -5
- package/build/features/auth/screens/OTP/OTPInput.js +51 -51
- package/build/features/auth/screens/OTP/index.d.ts +3 -3
- package/build/features/auth/screens/OTP/index.js +2 -2
- package/build/features/auth/screens/OTP/validation.d.ts +8 -8
- package/build/features/auth/screens/OTP/validation.js +4 -4
- package/build/features/bank/Bank.d.ts +7 -7
- package/build/features/bank/Bank.js +69 -69
- package/build/features/bank/index.d.ts +1 -1
- package/build/features/bank/index.js +1 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +5 -5
- package/build/features/bank/screens/BankDetails/BankDetails.js +86 -86
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -3
- package/build/features/bank/screens/BankDetails/BankName.js +60 -60
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +6 -6
- package/build/features/bank/screens/BankDetails/BankStatement.js +67 -67
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +5 -5
- package/build/features/bank/screens/BankDetails/Beneficiary.js +50 -50
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -3
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +67 -67
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +7 -7
- package/build/features/bank/screens/BankDetails/IBAN.js +100 -100
- package/build/features/bank/screens/BankDetails/index.d.ts +3 -3
- package/build/features/bank/screens/BankDetails/index.js +2 -2
- package/build/features/bank/screens/BankDetails/validation.d.ts +45 -45
- package/build/features/bank/screens/BankDetails/validation.js +36 -36
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/bank/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/bank/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/bank/screens/Success/Success.d.ts +5 -5
- package/build/features/bank/screens/Success/Success.js +20 -20
- package/build/features/bank/screens/Success/index.d.ts +3 -3
- package/build/features/bank/screens/Success/index.js +2 -2
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +115 -115
- package/build/features/bank/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/bank/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/bank/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/bank/screens/Verify/OTPInput.js +47 -47
- package/build/features/bank/screens/Verify/Verify.d.ts +5 -5
- package/build/features/bank/screens/Verify/Verify.js +78 -78
- package/build/features/bank/screens/Verify/index.d.ts +2 -2
- package/build/features/bank/screens/Verify/index.js +2 -2
- package/build/features/bank/screens/Verify/validation.d.ts +8 -8
- package/build/features/bank/screens/Verify/validation.js +4 -4
- package/build/features/brand/Brand.d.ts +7 -7
- package/build/features/brand/Brand.js +69 -69
- package/build/features/brand/index.d.ts +1 -1
- package/build/features/brand/index.js +1 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +91 -91
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +162 -162
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +5 -5
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +72 -72
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +82 -82
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +143 -143
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +8 -8
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +97 -97
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +8 -8
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +130 -130
- package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +20 -20
- package/build/features/brand/screens/BrandActivities/OperationStartDate.js +45 -45
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +36 -36
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +82 -82
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +6 -6
- package/build/features/brand/screens/BrandActivities/TAC.js +84 -84
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +42 -42
- package/build/features/brand/screens/BrandActivities/index.d.ts +2 -2
- package/build/features/brand/screens/BrandActivities/index.js +2 -2
- package/build/features/brand/screens/BrandActivities/validation.d.ts +71 -71
- package/build/features/brand/screens/BrandActivities/validation.js +21 -21
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +5 -5
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +72 -72
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +8 -8
- package/build/features/brand/screens/BrandInfo/BrandName.js +142 -142
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +5 -5
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +30 -30
- package/build/features/brand/screens/BrandInfo/Segments.d.ts +8 -8
- package/build/features/brand/screens/BrandInfo/Segments.js +74 -74
- package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +8 -8
- package/build/features/brand/screens/BrandInfo/TeamSize.js +74 -74
- package/build/features/brand/screens/BrandInfo/index.d.ts +2 -2
- package/build/features/brand/screens/BrandInfo/index.js +2 -2
- package/build/features/brand/screens/BrandInfo/validation.d.ts +41 -41
- package/build/features/brand/screens/BrandInfo/validation.js +106 -106
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/brand/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/brand/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/brand/screens/Success/Success.d.ts +5 -5
- package/build/features/brand/screens/Success/Success.js +20 -20
- package/build/features/brand/screens/Success/index.d.ts +3 -3
- package/build/features/brand/screens/Success/index.js +2 -2
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +115 -115
- package/build/features/brand/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/brand/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/brand/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/brand/screens/Verify/OTPInput.js +47 -47
- package/build/features/brand/screens/Verify/Verify.d.ts +5 -5
- package/build/features/brand/screens/Verify/Verify.js +91 -91
- package/build/features/brand/screens/Verify/index.d.ts +2 -2
- package/build/features/brand/screens/Verify/index.js +2 -2
- package/build/features/brand/screens/Verify/validation.d.ts +8 -8
- package/build/features/brand/screens/Verify/validation.js +4 -4
- package/build/features/business/Business.d.ts +7 -7
- package/build/features/business/Business.js +70 -70
- package/build/features/business/index.d.ts +1 -1
- package/build/features/business/index.js +1 -1
- package/build/features/business/screens/Activities/Activities.d.ts +5 -5
- package/build/features/business/screens/Activities/Activities.js +69 -69
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +90 -90
- package/build/features/business/screens/Activities/ActivitiesList.js +164 -164
- package/build/features/business/screens/Activities/LicenseName.d.ts +5 -5
- package/build/features/business/screens/Activities/LicenseName.js +30 -30
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +20 -20
- package/build/features/business/screens/Activities/OperationStartDate.js +45 -45
- package/build/features/business/screens/Activities/index.d.ts +3 -3
- package/build/features/business/screens/Activities/index.js +2 -2
- package/build/features/business/screens/Activities/validation.d.ts +56 -56
- package/build/features/business/screens/Activities/validation.js +11 -11
- package/build/features/business/screens/BusinessType/Article.d.ts +6 -6
- package/build/features/business/screens/BusinessType/Article.js +87 -87
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +5 -5
- package/build/features/business/screens/BusinessType/BusinessType.js +74 -74
- package/build/features/business/screens/BusinessType/EntityName.d.ts +6 -6
- package/build/features/business/screens/BusinessType/EntityName.js +56 -56
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +6 -6
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +42 -42
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +8 -8
- package/build/features/business/screens/BusinessType/LicenseList.js +148 -148
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +7 -7
- package/build/features/business/screens/BusinessType/LicenseNumber.js +52 -52
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +34 -34
- package/build/features/business/screens/BusinessType/LicenseType.js +103 -103
- package/build/features/business/screens/BusinessType/SelectType.d.ts +8 -8
- package/build/features/business/screens/BusinessType/SelectType.js +106 -106
- package/build/features/business/screens/BusinessType/Switch.d.ts +7 -7
- package/build/features/business/screens/BusinessType/Switch.js +35 -35
- package/build/features/business/screens/BusinessType/index.d.ts +3 -3
- package/build/features/business/screens/BusinessType/index.js +2 -2
- package/build/features/business/screens/BusinessType/validation.d.ts +33 -33
- package/build/features/business/screens/BusinessType/validation.js +89 -89
- package/build/features/business/screens/CivilID/CivilID.d.ts +5 -5
- package/build/features/business/screens/CivilID/CivilID.js +67 -67
- package/build/features/business/screens/CivilID/IDNumber.d.ts +7 -7
- package/build/features/business/screens/CivilID/IDNumber.js +59 -59
- package/build/features/business/screens/CivilID/index.d.ts +3 -3
- package/build/features/business/screens/CivilID/index.js +2 -2
- package/build/features/business/screens/CivilID/validation.d.ts +8 -8
- package/build/features/business/screens/CivilID/validation.js +4 -4
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +82 -82
- package/build/features/business/screens/Customers/CustomerLocations.js +143 -143
- package/build/features/business/screens/Customers/Customers.d.ts +5 -5
- package/build/features/business/screens/Customers/Customers.js +90 -90
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +8 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.js +97 -97
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +8 -8
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +130 -130
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +36 -36
- package/build/features/business/screens/Customers/RefundPolicy.js +82 -82
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -3
- package/build/features/business/screens/Customers/TransactionPolicy.js +42 -42
- package/build/features/business/screens/Customers/index.d.ts +3 -3
- package/build/features/business/screens/Customers/index.js +2 -2
- package/build/features/business/screens/Customers/validation.d.ts +20 -20
- package/build/features/business/screens/Customers/validation.js +13 -13
- package/build/features/business/screens/IDBOD/DOB.d.ts +6 -6
- package/build/features/business/screens/IDBOD/DOB.js +45 -45
- package/build/features/business/screens/IDBOD/ID.d.ts +5 -5
- package/build/features/business/screens/IDBOD/ID.js +28 -28
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +5 -5
- package/build/features/business/screens/IDBOD/IDBOD.js +68 -68
- package/build/features/business/screens/IDBOD/index.d.ts +3 -3
- package/build/features/business/screens/IDBOD/index.js +2 -2
- package/build/features/business/screens/IDBOD/validation.d.ts +11 -11
- package/build/features/business/screens/IDBOD/validation.js +9 -9
- package/build/features/business/screens/OTP/OTP.d.ts +8 -8
- package/build/features/business/screens/OTP/OTP.js +90 -90
- package/build/features/business/screens/OTP/OTPInput.d.ts +5 -5
- package/build/features/business/screens/OTP/OTPInput.js +46 -46
- package/build/features/business/screens/OTP/index.d.ts +3 -3
- package/build/features/business/screens/OTP/index.js +2 -2
- package/build/features/business/screens/OTP/validation.d.ts +8 -8
- package/build/features/business/screens/OTP/validation.js +4 -4
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/business/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/business/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/business/screens/Success/Success.d.ts +5 -5
- package/build/features/business/screens/Success/Success.js +23 -23
- package/build/features/business/screens/Success/index.d.ts +3 -3
- package/build/features/business/screens/Success/index.js +2 -2
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +114 -114
- package/build/features/business/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/business/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/business/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/business/screens/Verify/OTPInput.js +47 -47
- package/build/features/business/screens/Verify/Verify.d.ts +5 -5
- package/build/features/business/screens/Verify/Verify.js +78 -78
- package/build/features/business/screens/Verify/index.d.ts +2 -2
- package/build/features/business/screens/Verify/index.js +2 -2
- package/build/features/business/screens/Verify/validation.d.ts +8 -8
- package/build/features/business/screens/Verify/validation.js +4 -4
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +34 -34
- package/build/features/business/screens/VerifyPACI/index.d.ts +3 -3
- package/build/features/business/screens/VerifyPACI/index.js +2 -2
- package/build/features/connect/Connect.d.ts +8 -8
- package/build/features/connect/Connect.js +84 -84
- package/build/features/connect/index.d.ts +1 -1
- package/build/features/connect/index.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +5 -5
- package/build/features/connect/screens/CivilID/CivilID.js +102 -102
- package/build/features/connect/screens/CivilID/IDNumber.d.ts +7 -7
- package/build/features/connect/screens/CivilID/IDNumber.js +59 -59
- package/build/features/connect/screens/CivilID/index.d.ts +3 -3
- package/build/features/connect/screens/CivilID/index.js +2 -2
- package/build/features/connect/screens/CivilID/validation.d.ts +8 -8
- package/build/features/connect/screens/CivilID/validation.js +4 -4
- package/build/features/connect/screens/Individual/Email.d.ts +8 -8
- package/build/features/connect/screens/Individual/Email.js +116 -116
- package/build/features/connect/screens/Individual/Individual.d.ts +5 -5
- package/build/features/connect/screens/Individual/Individual.js +101 -101
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +10 -10
- package/build/features/connect/screens/Individual/MobileNumber.js +152 -152
- package/build/features/connect/screens/Individual/Name.d.ts +6 -6
- package/build/features/connect/screens/Individual/Name.js +48 -48
- package/build/features/connect/screens/Individual/index.d.ts +3 -3
- package/build/features/connect/screens/Individual/index.js +2 -2
- package/build/features/connect/screens/Individual/validation.d.ts +24 -24
- package/build/features/connect/screens/Individual/validation.js +35 -35
- package/build/features/connect/screens/Merchant/BrandList.d.ts +10 -10
- package/build/features/connect/screens/Merchant/BrandList.js +106 -106
- package/build/features/connect/screens/Merchant/BrandName.d.ts +8 -8
- package/build/features/connect/screens/Merchant/BrandName.js +142 -142
- package/build/features/connect/screens/Merchant/Merchant.d.ts +5 -5
- package/build/features/connect/screens/Merchant/Merchant.js +100 -100
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +5 -5
- package/build/features/connect/screens/Merchant/SalesChannels.js +38 -38
- package/build/features/connect/screens/Merchant/Segments.d.ts +8 -8
- package/build/features/connect/screens/Merchant/Segments.js +74 -74
- package/build/features/connect/screens/Merchant/TAC.d.ts +6 -6
- package/build/features/connect/screens/Merchant/TAC.js +84 -84
- package/build/features/connect/screens/Merchant/TeamSize.d.ts +8 -8
- package/build/features/connect/screens/Merchant/TeamSize.js +74 -74
- package/build/features/connect/screens/Merchant/index.d.ts +3 -3
- package/build/features/connect/screens/Merchant/index.js +2 -2
- package/build/features/connect/screens/Merchant/validation.d.ts +38 -38
- package/build/features/connect/screens/Merchant/validation.js +134 -134
- package/build/features/connect/screens/Mobile/Mobile.d.ts +5 -5
- package/build/features/connect/screens/Mobile/Mobile.js +133 -133
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +12 -12
- package/build/features/connect/screens/Mobile/MobileNumber.js +154 -154
- package/build/features/connect/screens/Mobile/Title.d.ts +8 -8
- package/build/features/connect/screens/Mobile/Title.js +29 -29
- package/build/features/connect/screens/Mobile/index.d.ts +3 -3
- package/build/features/connect/screens/Mobile/index.js +2 -2
- package/build/features/connect/screens/Mobile/validation.d.ts +8 -8
- package/build/features/connect/screens/Mobile/validation.js +28 -28
- package/build/features/connect/screens/NID/DOB.d.ts +6 -6
- package/build/features/connect/screens/NID/DOB.js +47 -47
- package/build/features/connect/screens/NID/IDNumber.d.ts +6 -6
- package/build/features/connect/screens/NID/IDNumber.js +60 -60
- package/build/features/connect/screens/NID/NID.d.ts +5 -5
- package/build/features/connect/screens/NID/NID.js +94 -94
- package/build/features/connect/screens/NID/index.d.ts +3 -3
- package/build/features/connect/screens/NID/index.js +2 -2
- package/build/features/connect/screens/NID/validation.d.ts +11 -11
- package/build/features/connect/screens/NID/validation.js +9 -9
- package/build/features/connect/screens/OTP/OTP.d.ts +5 -5
- package/build/features/connect/screens/OTP/OTP.js +94 -94
- package/build/features/connect/screens/OTP/OTPInput.d.ts +5 -5
- package/build/features/connect/screens/OTP/OTPInput.js +54 -54
- package/build/features/connect/screens/OTP/index.d.ts +3 -3
- package/build/features/connect/screens/OTP/index.js +2 -2
- package/build/features/connect/screens/OTP/validation.d.ts +8 -8
- package/build/features/connect/screens/OTP/validation.js +4 -4
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +5 -5
- package/build/features/connect/screens/ThankYou/ThankYou.js +16 -16
- package/build/features/connect/screens/ThankYou/index.d.ts +3 -3
- package/build/features/connect/screens/ThankYou/index.js +2 -2
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +95 -95
- package/build/features/connect/screens/VerifyPACI/index.d.ts +3 -3
- package/build/features/connect/screens/VerifyPACI/index.js +2 -2
- package/build/features/connectExpress/ConnectExpress.d.ts +11 -11
- package/build/features/connectExpress/ConnectExpress.js +127 -127
- package/build/features/connectExpress/index.d.ts +1 -1
- package/build/features/connectExpress/index.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +5 -5
- package/build/features/connectExpress/screens/CivilID/CivilID.js +84 -84
- package/build/features/connectExpress/screens/CivilID/IDNumber.d.ts +7 -7
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +55 -55
- package/build/features/connectExpress/screens/CivilID/index.d.ts +3 -3
- package/build/features/connectExpress/screens/CivilID/index.js +2 -2
- package/build/features/connectExpress/screens/CivilID/validation.d.ts +8 -8
- package/build/features/connectExpress/screens/CivilID/validation.js +4 -4
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +5 -0
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +53 -0
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.d.ts +7 -0
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +55 -0
- package/build/features/connectExpress/screens/CivilIDMissed/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CivilIDMissed/index.js +2 -0
- package/build/features/connectExpress/screens/CivilIDMissed/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/CivilIDMissed/validation.js +4 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +8 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +142 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +5 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +77 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +8 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +144 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +7 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +52 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +34 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +94 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/index.js +2 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +27 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +79 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +5 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +89 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +8 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +113 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +10 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +149 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +6 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +45 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/index.js +2 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.d.ts +14 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +31 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +61 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/CreateAccountLoader/index.js +2 -0
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +87 -0
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +52 -0
- package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +3 -0
- package/build/features/connectExpress/screens/IdentityOTP/index.js +2 -0
- package/build/features/connectExpress/screens/IdentityOTP/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/IdentityOTP/validation.js +4 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +34 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/index.d.ts +3 -0
- package/build/features/connectExpress/screens/IdentityVerifyPACI/index.js +2 -0
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +5 -5
- package/build/features/connectExpress/screens/Mobile/Mobile.js +106 -109
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +12 -12
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +154 -154
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +8 -8
- package/build/features/connectExpress/screens/Mobile/Title.js +29 -29
- package/build/features/connectExpress/screens/Mobile/index.d.ts +3 -3
- package/build/features/connectExpress/screens/Mobile/index.js +2 -2
- package/build/features/connectExpress/screens/Mobile/validation.d.ts +8 -8
- package/build/features/connectExpress/screens/Mobile/validation.js +28 -28
- package/build/features/connectExpress/screens/NID/DOB.d.ts +6 -6
- package/build/features/connectExpress/screens/NID/DOB.js +47 -47
- package/build/features/connectExpress/screens/NID/IDNumber.d.ts +6 -6
- package/build/features/connectExpress/screens/NID/IDNumber.js +56 -56
- package/build/features/connectExpress/screens/NID/NID.d.ts +5 -5
- package/build/features/connectExpress/screens/NID/NID.js +89 -89
- package/build/features/connectExpress/screens/NID/index.d.ts +3 -3
- package/build/features/connectExpress/screens/NID/index.js +2 -2
- package/build/features/connectExpress/screens/NID/validation.d.ts +11 -11
- package/build/features/connectExpress/screens/NID/validation.js +9 -9
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +6 -0
- package/build/features/connectExpress/screens/NIDMissed/DOB.js +47 -0
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.d.ts +6 -0
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +60 -0
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +5 -0
- package/build/features/connectExpress/screens/NIDMissed/NID.js +59 -0
- package/build/features/connectExpress/screens/NIDMissed/index.d.ts +3 -0
- package/build/features/connectExpress/screens/NIDMissed/index.js +2 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +11 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +9 -0
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +5 -5
- package/build/features/connectExpress/screens/OTP/OTP.js +88 -84
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +5 -5
- package/build/features/connectExpress/screens/OTP/OTPInput.js +55 -54
- package/build/features/connectExpress/screens/OTP/index.d.ts +3 -3
- package/build/features/connectExpress/screens/OTP/index.js +2 -2
- package/build/features/connectExpress/screens/OTP/validation.d.ts +8 -8
- package/build/features/connectExpress/screens/OTP/validation.js +4 -4
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +119 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +34 -95
- package/build/features/connectExpress/screens/VerifyPACI/index.d.ts +3 -3
- package/build/features/connectExpress/screens/VerifyPACI/index.js +2 -2
- package/build/features/entity/Entity.d.ts +7 -7
- package/build/features/entity/Entity.js +70 -70
- package/build/features/entity/index.d.ts +1 -1
- package/build/features/entity/index.js +1 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +90 -90
- package/build/features/entity/screens/EntityCapital/ActivityList.js +175 -175
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +5 -5
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +47 -47
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +5 -5
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +42 -42
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +5 -5
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +47 -47
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +5 -5
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +75 -75
- package/build/features/entity/screens/EntityCapital/index.d.ts +2 -2
- package/build/features/entity/screens/EntityCapital/index.js +2 -2
- package/build/features/entity/screens/EntityCapital/validation.d.ts +62 -62
- package/build/features/entity/screens/EntityCapital/validation.js +21 -21
- package/build/features/entity/screens/EntityName/EntityName.d.ts +5 -5
- package/build/features/entity/screens/EntityName/EntityName.js +87 -87
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +90 -90
- package/build/features/entity/screens/EntityName/EntityTypeList.js +151 -151
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +19 -19
- package/build/features/entity/screens/EntityName/ExpiryDate.js +46 -46
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +19 -19
- package/build/features/entity/screens/EntityName/IssuingDate.js +46 -46
- package/build/features/entity/screens/EntityName/LegalName.d.ts +5 -5
- package/build/features/entity/screens/EntityName/LegalName.js +48 -48
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +6 -6
- package/build/features/entity/screens/EntityName/LicenseNumber.js +51 -51
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +6 -6
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +43 -43
- package/build/features/entity/screens/EntityName/index.d.ts +2 -2
- package/build/features/entity/screens/EntityName/index.js +2 -2
- package/build/features/entity/screens/EntityName/validation.d.ts +48 -48
- package/build/features/entity/screens/EntityName/validation.js +112 -112
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/entity/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/entity/screens/Success/Success.d.ts +5 -5
- package/build/features/entity/screens/Success/Success.js +20 -20
- package/build/features/entity/screens/Success/index.d.ts +3 -3
- package/build/features/entity/screens/Success/index.js +2 -2
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +115 -115
- package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/entity/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/entity/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/entity/screens/Verify/OTPInput.js +47 -47
- package/build/features/entity/screens/Verify/Verify.d.ts +5 -5
- package/build/features/entity/screens/Verify/Verify.js +91 -91
- package/build/features/entity/screens/Verify/index.d.ts +2 -2
- package/build/features/entity/screens/Verify/index.js +2 -2
- package/build/features/entity/screens/Verify/validation.d.ts +8 -8
- package/build/features/entity/screens/Verify/validation.js +4 -4
- package/build/features/featuresScreens.d.ts +12 -12
- package/build/features/featuresScreens.js +350 -310
- package/build/features/individual/Individual.d.ts +7 -7
- package/build/features/individual/Individual.js +70 -70
- package/build/features/individual/index.d.ts +1 -1
- package/build/features/individual/index.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +96 -96
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +30 -30
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +92 -92
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +46 -46
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +49 -49
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +107 -107
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +97 -97
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +34 -34
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +68 -68
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +42 -42
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +89 -89
- package/build/features/individual/screens/AdditionalIndividualInfo/index.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/index.js +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +31 -31
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +26 -26
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/individual/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/individual/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +19 -19
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +52 -52
- package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +3 -3
- package/build/features/individual/screens/ShowIndividualInfo/index.js +2 -2
- package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +7 -7
- package/build/features/individual/screens/ShowIndividualInfo/info.js +28 -28
- package/build/features/individual/screens/Success/Success.d.ts +5 -5
- package/build/features/individual/screens/Success/Success.js +20 -20
- package/build/features/individual/screens/Success/index.d.ts +3 -3
- package/build/features/individual/screens/Success/index.js +2 -2
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +115 -115
- package/build/features/individual/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/individual/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/individual/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/individual/screens/Verify/OTPInput.js +47 -47
- package/build/features/individual/screens/Verify/Verify.d.ts +5 -5
- package/build/features/individual/screens/Verify/Verify.js +91 -91
- package/build/features/individual/screens/Verify/index.d.ts +2 -2
- package/build/features/individual/screens/Verify/index.js +2 -2
- package/build/features/individual/screens/Verify/validation.d.ts +8 -8
- package/build/features/individual/screens/Verify/validation.js +4 -4
- package/build/features/password/Password.d.ts +7 -7
- package/build/features/password/Password.js +77 -77
- package/build/features/password/index.d.ts +1 -1
- package/build/features/password/index.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +7 -7
- package/build/features/password/screens/CreatePassword/ConditionText.js +23 -23
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +8 -8
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +22 -22
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +5 -5
- package/build/features/password/screens/CreatePassword/CreatePassword.js +73 -73
- package/build/features/password/screens/CreatePassword/Password.d.ts +5 -5
- package/build/features/password/screens/CreatePassword/Password.js +76 -76
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +7 -7
- package/build/features/password/screens/CreatePassword/PasswordBar.js +29 -29
- package/build/features/password/screens/CreatePassword/index.d.ts +3 -3
- package/build/features/password/screens/CreatePassword/index.js +2 -2
- package/build/features/password/screens/CreatePassword/validation.d.ts +11 -11
- package/build/features/password/screens/CreatePassword/validation.js +8 -8
- package/build/features/password/screens/OTP/OTP.d.ts +8 -8
- package/build/features/password/screens/OTP/OTP.js +91 -91
- package/build/features/password/screens/OTP/OTPInput.d.ts +5 -5
- package/build/features/password/screens/OTP/OTPInput.js +46 -46
- package/build/features/password/screens/OTP/index.d.ts +3 -3
- package/build/features/password/screens/OTP/index.js +2 -2
- package/build/features/password/screens/OTP/validation.d.ts +8 -8
- package/build/features/password/screens/OTP/validation.js +4 -4
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/password/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/password/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/password/screens/Success/Success.d.ts +5 -5
- package/build/features/password/screens/Success/Success.js +26 -26
- package/build/features/password/screens/Success/index.d.ts +3 -3
- package/build/features/password/screens/Success/index.js +2 -2
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +115 -115
- package/build/features/password/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/password/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/password/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/password/screens/Verify/OTPInput.js +47 -47
- package/build/features/password/screens/Verify/Verify.d.ts +5 -5
- package/build/features/password/screens/Verify/Verify.js +91 -91
- package/build/features/password/screens/Verify/index.d.ts +2 -2
- package/build/features/password/screens/Verify/index.js +2 -2
- package/build/features/password/screens/Verify/validation.d.ts +8 -8
- package/build/features/password/screens/Verify/validation.js +4 -4
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +7 -7
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +65 -65
- package/build/features/shared/AcceptancePayouts/index.d.ts +2 -2
- package/build/features/shared/AcceptancePayouts/index.js +2 -2
- package/build/features/shared/Address/Address.d.ts +11 -11
- package/build/features/shared/Address/Address.js +63 -63
- package/build/features/shared/Address/CountryList.d.ts +72 -72
- package/build/features/shared/Address/CountryList.js +89 -89
- package/build/features/shared/Address/InputSelect.d.ts +71 -71
- package/build/features/shared/Address/InputSelect.js +172 -172
- package/build/features/shared/Address/InputText.d.ts +11 -11
- package/build/features/shared/Address/InputText.js +12 -12
- package/build/features/shared/Address/index.d.ts +2 -2
- package/build/features/shared/Address/index.js +2 -2
- package/build/features/shared/Background/Background.d.ts +12 -12
- package/build/features/shared/Background/Background.js +37 -37
- package/build/features/shared/Background/LogoBackground.d.ts +3 -3
- package/build/features/shared/Background/LogoBackground.js +42 -42
- package/build/features/shared/Background/index.d.ts +2 -2
- package/build/features/shared/Background/index.js +2 -2
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +3 -3
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.js +31 -31
- package/build/features/shared/BouncingDotsLoader/index.d.ts +2 -2
- package/build/features/shared/BouncingDotsLoader/index.js +2 -2
- package/build/features/shared/Button/AbsherButton.d.ts +8 -8
- package/build/features/shared/Button/AbsherButton.js +46 -46
- package/build/features/shared/Button/Button.d.ts +12 -12
- package/build/features/shared/Button/Button.js +100 -100
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +14 -14
- package/build/features/shared/Button/EmailProvidersButtons.js +67 -67
- package/build/features/shared/Button/FlowsButtons.d.ts +25 -25
- package/build/features/shared/Button/FlowsButtons.js +222 -222
- package/build/features/shared/Button/MobileButton.d.ts +9 -9
- package/build/features/shared/Button/MobileButton.js +44 -44
- package/build/features/shared/Button/SuccessButton.d.ts +9 -9
- package/build/features/shared/Button/SuccessButton.js +86 -86
- package/build/features/shared/Button/index.d.ts +8 -8
- package/build/features/shared/Button/index.js +8 -8
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -2
- package/build/features/shared/CheckIcon/CheckIcon.js +14 -14
- package/build/features/shared/CheckIcon/index.d.ts +2 -2
- package/build/features/shared/CheckIcon/index.js +2 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +6 -6
- package/build/features/shared/ClearIcon/ClearIcon.js +26 -26
- package/build/features/shared/ClearIcon/index.d.ts +2 -2
- package/build/features/shared/ClearIcon/index.js +2 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +4 -4
- package/build/features/shared/Containers/FeatureContainer.js +36 -36
- package/build/features/shared/Containers/ScreenContainer.d.ts +4 -4
- package/build/features/shared/Containers/ScreenContainer.js +29 -29
- package/build/features/shared/Containers/index.d.ts +3 -3
- package/build/features/shared/Containers/index.js +3 -3
- package/build/features/shared/Dialog/CloseDialog.d.ts +11 -11
- package/build/features/shared/Dialog/CloseDialog.js +71 -71
- package/build/features/shared/Dialog/DialogContainer.d.ts +8 -8
- package/build/features/shared/Dialog/DialogContainer.js +56 -56
- package/build/features/shared/Dialog/index.d.ts +4 -4
- package/build/features/shared/Dialog/index.js +4 -4
- package/build/features/shared/FlowButtons/FlowButtons.d.ts +4 -0
- package/build/features/shared/FlowButtons/FlowButtons.js +6 -0
- package/build/features/shared/FlowButtons/index.d.ts +2 -0
- package/build/features/shared/FlowButtons/index.js +2 -0
- package/build/features/shared/Footer/Footer.d.ts +2 -2
- package/build/features/shared/Footer/Footer.js +20 -20
- package/build/features/shared/Footer/index.d.ts +2 -2
- package/build/features/shared/Footer/index.js +2 -2
- package/build/features/shared/Input/Input.d.ts +28 -28
- package/build/features/shared/Input/Input.js +56 -56
- package/build/features/shared/Input/index.d.ts +2 -2
- package/build/features/shared/Input/index.js +2 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -2
- package/build/features/shared/Mandatory/Mandatory.js +20 -20
- package/build/features/shared/Mandatory/index.d.ts +2 -2
- package/build/features/shared/Mandatory/index.js +2 -2
- package/build/features/shared/OTP/OTP.d.ts +10 -10
- package/build/features/shared/OTP/OTP.js +93 -93
- package/build/features/shared/OTP/index.d.ts +2 -2
- package/build/features/shared/OTP/index.js +2 -2
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -12
- package/build/features/shared/PaciVerification/PaciVerification.js +91 -91
- package/build/features/shared/PaciVerification/VerifyPACILoading.d.ts +7 -7
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +27 -27
- package/build/features/shared/PaciVerification/VerifyPACISuccess.d.ts +5 -5
- package/build/features/shared/PaciVerification/VerifyPACISuccess.js +8 -8
- package/build/features/shared/PaciVerification/index.d.ts +2 -2
- package/build/features/shared/PaciVerification/index.js +2 -2
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +8 -8
- package/build/features/shared/PasswordIcon/PasswordIcon.js +37 -37
- package/build/features/shared/PasswordIcon/index.d.ts +2 -2
- package/build/features/shared/PasswordIcon/index.js +2 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +11 -11
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +100 -100
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +11 -11
- package/build/features/shared/SalesChannels/SalesChannel.js +149 -149
- package/build/features/shared/SalesChannels/index.d.ts +2 -2
- package/build/features/shared/SalesChannels/index.js +2 -2
- package/build/features/shared/Search/Search.d.ts +7 -7
- package/build/features/shared/Search/Search.js +13 -13
- package/build/features/shared/Search/index.d.ts +2 -2
- package/build/features/shared/Search/index.js +2 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +6 -6
- package/build/features/shared/SearchIcon/SearchIcon.js +26 -26
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +12 -12
- package/build/features/shared/SuccessScreen/SuccessScreen.js +62 -62
- package/build/features/shared/SuccessScreen/index.d.ts +2 -2
- package/build/features/shared/SuccessScreen/index.js +2 -2
- package/build/features/shared/UploadFile/UploadFile.d.ts +29 -29
- package/build/features/shared/UploadFile/UploadFile.js +91 -91
- package/build/features/shared/UploadFile/index.d.ts +2 -2
- package/build/features/shared/UploadFile/index.js +2 -2
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +38 -38
- package/build/features/shared/UploadMultipleFile/UploadFile.js +184 -184
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +27 -27
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +147 -147
- package/build/features/shared/UploadMultipleFile/index.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/index.js +2 -2
- package/build/features/signIn/SignIn.d.ts +7 -7
- package/build/features/signIn/SignIn.js +57 -57
- package/build/features/signIn/index.d.ts +1 -1
- package/build/features/signIn/index.js +1 -1
- package/build/features/signIn/screens/Email/Email.d.ts +5 -5
- package/build/features/signIn/screens/Email/Email.js +97 -97
- package/build/features/signIn/screens/Email/EmailField.d.ts +5 -5
- package/build/features/signIn/screens/Email/EmailField.js +55 -55
- package/build/features/signIn/screens/Email/index.d.ts +3 -3
- package/build/features/signIn/screens/Email/index.js +2 -2
- package/build/features/signIn/screens/Email/validation.d.ts +8 -8
- package/build/features/signIn/screens/Email/validation.js +5 -5
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +5 -5
- package/build/features/signIn/screens/Mobile/Mobile.js +110 -110
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +11 -11
- package/build/features/signIn/screens/Mobile/MobileNumber.js +151 -151
- package/build/features/signIn/screens/Mobile/index.d.ts +3 -3
- package/build/features/signIn/screens/Mobile/index.js +2 -2
- package/build/features/signIn/screens/Mobile/validation.d.ts +8 -8
- package/build/features/signIn/screens/Mobile/validation.js +28 -28
- package/build/features/signIn/screens/OTP/OTP.d.ts +5 -5
- package/build/features/signIn/screens/OTP/OTP.js +93 -93
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +5 -5
- package/build/features/signIn/screens/OTP/OTPInput.js +53 -53
- package/build/features/signIn/screens/OTP/index.d.ts +3 -3
- package/build/features/signIn/screens/OTP/index.js +2 -2
- package/build/features/signIn/screens/OTP/validation.d.ts +8 -8
- package/build/features/signIn/screens/OTP/validation.js +4 -4
- package/build/features/signIn/screens/Password/Password.d.ts +5 -5
- package/build/features/signIn/screens/Password/Password.js +67 -67
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +5 -5
- package/build/features/signIn/screens/Password/PasswordInput.js +28 -28
- package/build/features/signIn/screens/Password/index.d.ts +3 -3
- package/build/features/signIn/screens/Password/index.js +2 -2
- package/build/features/signIn/screens/Password/validation.d.ts +8 -8
- package/build/features/signIn/screens/Password/validation.js +4 -4
- package/build/features/tax/Tax.d.ts +7 -7
- package/build/features/tax/Tax.js +71 -71
- package/build/features/tax/index.d.ts +1 -1
- package/build/features/tax/index.js +1 -1
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +16 -16
- package/build/features/tax/screens/ResetPasswordSuccess/index.d.ts +3 -3
- package/build/features/tax/screens/ResetPasswordSuccess/index.js +2 -2
- package/build/features/tax/screens/Success/Success.d.ts +5 -5
- package/build/features/tax/screens/Success/Success.js +22 -22
- package/build/features/tax/screens/Success/index.d.ts +3 -3
- package/build/features/tax/screens/Success/index.js +2 -2
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +115 -115
- package/build/features/tax/screens/SuccessWithFlowButtons/index.d.ts +2 -2
- package/build/features/tax/screens/SuccessWithFlowButtons/index.js +2 -2
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +66 -66
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +5 -5
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +63 -63
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -3
- package/build/features/tax/screens/TaxDetails/VATId.js +37 -37
- package/build/features/tax/screens/TaxDetails/index.d.ts +3 -3
- package/build/features/tax/screens/TaxDetails/index.js +2 -2
- package/build/features/tax/screens/TaxDetails/validation.d.ts +11 -11
- package/build/features/tax/screens/TaxDetails/validation.js +5 -5
- package/build/features/tax/screens/Verify/OTPInput.d.ts +7 -7
- package/build/features/tax/screens/Verify/OTPInput.js +47 -47
- package/build/features/tax/screens/Verify/Verify.d.ts +5 -5
- package/build/features/tax/screens/Verify/Verify.js +91 -91
- package/build/features/tax/screens/Verify/index.d.ts +2 -2
- package/build/features/tax/screens/Verify/index.js +2 -2
- package/build/features/tax/screens/Verify/validation.d.ts +8 -8
- package/build/features/tax/screens/Verify/validation.js +4 -4
- package/build/hooks/index.d.ts +16 -16
- package/build/hooks/index.js +16 -16
- package/build/hooks/useAppConfig.d.ts +9 -9
- package/build/hooks/useAppConfig.js +61 -61
- package/build/hooks/useAppDispatch.d.ts +14 -14
- package/build/hooks/useAppDispatch.js +2 -2
- package/build/hooks/useAppSelector.d.ts +3 -3
- package/build/hooks/useAppSelector.js +2 -2
- package/build/hooks/useAppTheme.d.ts +4 -4
- package/build/hooks/useAppTheme.js +15 -15
- package/build/hooks/useContainerDimensions.d.ts +4 -4
- package/build/hooks/useContainerDimensions.js +21 -21
- package/build/hooks/useCountUp.d.ts +9 -9
- package/build/hooks/useCountUp.js +17 -17
- package/build/hooks/useCountry.d.ts +4 -4
- package/build/hooks/useCountry.js +7 -7
- package/build/hooks/useErrorListener.d.ts +1 -1
- package/build/hooks/useErrorListener.js +12 -12
- package/build/hooks/useEventListener.d.ts +5 -5
- package/build/hooks/useEventListener.js +20 -20
- package/build/hooks/useLanguage.d.ts +4 -4
- package/build/hooks/useLanguage.js +8 -8
- package/build/hooks/useRedirectionListener.d.ts +4 -4
- package/build/hooks/useRedirectionListener.js +12 -12
- package/build/hooks/useScreen.d.ts +3 -3
- package/build/hooks/useScreen.js +14 -14
- package/build/hooks/useSetFromDefaultValues.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.js +26 -26
- package/build/hooks/useStepStartedListener.d.ts +1 -1
- package/build/hooks/useStepStartedListener.js +10 -10
- package/build/hooks/useThemeMode.d.ts +4 -4
- package/build/hooks/useThemeMode.js +7 -7
- package/build/hooks/useWindowSize.d.ts +6 -6
- package/build/hooks/useWindowSize.js +19 -19
- package/build/i18n.d.ts +2 -2
- package/build/i18n.js +34 -34
- package/build/index.d.ts +15 -15
- package/build/index.js +38 -38
- package/build/theme/components.d.ts +2 -2
- package/build/theme/components.js +19 -19
- package/build/theme/index.d.ts +1 -1
- package/build/theme/index.js +1 -1
- package/build/theme/palette.d.ts +3 -3
- package/build/theme/palette.js +68 -68
- package/build/theme/shadows.d.ts +2 -2
- package/build/theme/shadows.js +27 -27
- package/build/theme/theme.d.ts +2 -2
- package/build/theme/theme.js +43 -43
- package/build/theme/typography.d.ts +2 -2
- package/build/theme/typography.js +31 -31
- package/build/utils/array.d.ts +64 -64
- package/build/utils/array.js +144 -144
- package/build/utils/common.d.ts +1 -1
- package/build/utils/common.js +4 -4
- package/build/utils/date.d.ts +1 -1
- package/build/utils/date.js +5 -5
- package/build/utils/device.d.ts +5 -5
- package/build/utils/device.js +26 -26
- package/build/utils/html.d.ts +5 -5
- package/build/utils/html.js +32 -32
- package/build/utils/index.d.ts +11 -11
- package/build/utils/index.js +11 -11
- package/build/utils/locale.d.ts +2 -2
- package/build/utils/locale.js +22 -22
- package/build/utils/object.d.ts +5 -5
- package/build/utils/object.js +35 -35
- package/build/utils/rsa.d.ts +2 -2
- package/build/utils/rsa.js +19 -19
- package/build/utils/storage.d.ts +5 -5
- package/build/utils/storage.js +21 -21
- package/build/utils/string.d.ts +58 -58
- package/build/utils/string.js +260 -260
- package/build/utils/style.d.ts +1 -1
- package/build/utils/style.js +1 -1
- package/build/utils/validation.d.ts +17 -17
- package/build/utils/validation.js +51 -51
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const InfoIconStyled: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
5
|
+
color?: "inherit" | "disabled" | "error" | "success" | "info" | "primary" | "secondary" | "action" | "warning" | undefined;
|
|
6
|
+
fontSize?: "small" | "inherit" | "medium" | "large" | undefined;
|
|
7
|
+
htmlColor?: string | undefined;
|
|
8
|
+
inheritViewBox?: boolean | undefined;
|
|
9
|
+
shapeRendering?: string | undefined;
|
|
10
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
11
|
+
titleAccess?: string | undefined;
|
|
12
|
+
viewBox?: string | undefined;
|
|
13
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "children" | "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" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
14
|
+
ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
15
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
16
|
+
export declare const InfoOutlinedIconStyled: import("@emotion/styled").StyledComponent<{
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
19
|
+
color?: "inherit" | "disabled" | "error" | "success" | "info" | "primary" | "secondary" | "action" | "warning" | undefined;
|
|
20
|
+
fontSize?: "small" | "inherit" | "medium" | "large" | undefined;
|
|
21
|
+
htmlColor?: string | undefined;
|
|
22
|
+
inheritViewBox?: boolean | undefined;
|
|
23
|
+
shapeRendering?: string | undefined;
|
|
24
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
25
|
+
titleAccess?: string | undefined;
|
|
26
|
+
viewBox?: string | undefined;
|
|
27
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "children" | "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" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
28
|
+
ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
29
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
30
|
+
declare type LicenseTypeProps = {
|
|
31
|
+
show: boolean;
|
|
32
|
+
};
|
|
33
|
+
declare const LicenseType: ({ show }: LicenseTypeProps) => JSX.Element;
|
|
34
|
+
export default LicenseType;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
import { styled, alpha } from '@mui/material/styles';
|
|
15
|
+
import InfoIcon from '@mui/icons-material/Info';
|
|
16
|
+
import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined';
|
|
17
|
+
import Collapse from '../../../../components/Collapse';
|
|
18
|
+
import { useTranslation } from 'react-i18next';
|
|
19
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
20
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
21
|
+
import { BusinessType } from '../../../../@types';
|
|
22
|
+
import { OTHER_CR_LICENSE, OTHER_FL_LICENSE } from '../../../../constants';
|
|
23
|
+
import Text from '../../../../components/Text';
|
|
24
|
+
import RadioGroup from '../../../../components/RadioGroup';
|
|
25
|
+
import RadioLabel from '../../../../components/RadioLabel';
|
|
26
|
+
import Tooltip from '../../../../components/Tooltip';
|
|
27
|
+
import Radio from '../../../../components/Radio';
|
|
28
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
29
|
+
import Mandatory from '../../../shared/Mandatory';
|
|
30
|
+
import { connectExpressSelector, clearError } from '../../../app/connectExpress/connectExpressStore';
|
|
31
|
+
var LabelTextStyled = styled(Text)(function (_a) {
|
|
32
|
+
var theme = _a.theme;
|
|
33
|
+
return (__assign(__assign({}, theme.typography.caption), { color: alpha(theme.palette.text.primary, 0.6), marginBlockEnd: theme.spacing(0.625) }));
|
|
34
|
+
});
|
|
35
|
+
var RadioGroupStyled = styled(RadioGroup)(function (_a) {
|
|
36
|
+
var theme = _a.theme;
|
|
37
|
+
return ({
|
|
38
|
+
marginInlineStart: theme.spacing(0.25)
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
var RadioStyled = styled(Radio)(function (_a) {
|
|
42
|
+
var theme = _a.theme;
|
|
43
|
+
return ({
|
|
44
|
+
'& .MuiSvgIcon-root': {
|
|
45
|
+
fontSize: theme.spacing(2.25),
|
|
46
|
+
width: theme.spacing(2.25),
|
|
47
|
+
height: theme.spacing(2.25)
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
var LabelStyled = styled('span')(function () { return ({
|
|
52
|
+
display: 'inline-flex',
|
|
53
|
+
alignItems: 'center'
|
|
54
|
+
}); });
|
|
55
|
+
export var InfoIconStyled = styled(InfoIcon)(function (_a) {
|
|
56
|
+
var theme = _a.theme;
|
|
57
|
+
return ({
|
|
58
|
+
width: theme.spacing(2.75),
|
|
59
|
+
height: theme.spacing(2.125),
|
|
60
|
+
cursor: 'pointer',
|
|
61
|
+
color: alpha(theme.palette.text.primary, 0.4),
|
|
62
|
+
display: 'inline-flex'
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
export var InfoOutlinedIconStyled = styled(InfoOutlinedIcon)(function (_a) {
|
|
66
|
+
var theme = _a.theme;
|
|
67
|
+
return ({
|
|
68
|
+
width: theme.spacing(2.75),
|
|
69
|
+
height: theme.spacing(2.125),
|
|
70
|
+
cursor: 'pointer',
|
|
71
|
+
color: alpha(theme.palette.text.primary, 0.4),
|
|
72
|
+
display: 'inline-flex'
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
var LicenseType = function (_a) {
|
|
76
|
+
var show = _a.show;
|
|
77
|
+
var t = useTranslation().t;
|
|
78
|
+
var control = useFormContext().control;
|
|
79
|
+
var error = useAppSelector(connectExpressSelector).error;
|
|
80
|
+
var _b = React.useState(false), isCRHovered = _b[0], setIsCRHovered = _b[1];
|
|
81
|
+
var _c = React.useState(false), isFLHovered = _c[0], setIsFLHovered = _c[1];
|
|
82
|
+
var selectedLicenseControl = useController({ control: control, name: 'selectedLicense' });
|
|
83
|
+
var dispatch = useAppDispatch();
|
|
84
|
+
var handleOnChange = function (_a) {
|
|
85
|
+
var target = _a.target;
|
|
86
|
+
if (error)
|
|
87
|
+
dispatch(clearError());
|
|
88
|
+
selectedLicenseControl.field.onChange(target.value === BusinessType.FL ? OTHER_FL_LICENSE : OTHER_CR_LICENSE);
|
|
89
|
+
};
|
|
90
|
+
var selectedLicenseValue = selectedLicenseControl.field.value;
|
|
91
|
+
var isFL = (selectedLicenseValue === null || selectedLicenseValue === void 0 ? void 0 : selectedLicenseValue.type) === BusinessType.FL;
|
|
92
|
+
return (_jsx(Collapse, __assign({ in: show }, { children: _jsxs(ScreenContainer, __assign({ sx: { pb: isFL ? 9.5 : 1.5, pl: 2.5, pr: 2.5 } }, { children: [_jsxs(LabelTextStyled, { children: [t('signup_business_type_label'), _jsx(Mandatory, {})] }), _jsxs(RadioGroupStyled, __assign({ value: selectedLicenseValue != null ? ((selectedLicenseValue === null || selectedLicenseValue === void 0 ? void 0 : selectedLicenseValue.type) === BusinessType.FL ? BusinessType.FL : BusinessType.CR) : false, onChange: handleOnChange }, { children: [_jsx(RadioLabel, { value: BusinessType.FL, label: _jsxs(LabelStyled, { children: [t('homemaker_reg'), _jsx(Tooltip, __assign({ title: t('homemaker_reg_hint'), onMouseOver: function () { return setIsFLHovered(true); }, onMouseLeave: function () { return setIsFLHovered(false); }, onTouchStartCapture: function () { return setIsFLHovered(true); } }, { children: isFLHovered ? _jsx(InfoIconStyled, {}) : _jsx(InfoOutlinedIconStyled, {}) }))] }), control: _jsx(RadioStyled, { color: 'primary', disableFocusRipple: true, disableRipple: true, disableTouchRipple: true, focusRipple: false }) }), _jsx(RadioLabel, { value: BusinessType.CR, sx: { marginInlineEnd: '0px' }, label: _jsxs(LabelStyled, { children: [t('commercial_reg'), _jsx(Tooltip, __assign({ title: t('commercial_reg_hint'), onMouseOver: function () { return setIsCRHovered(true); }, onMouseLeave: function () { return setIsCRHovered(false); }, onTouchStartCapture: function () { return setIsCRHovered(true); } }, { children: isCRHovered ? _jsx(InfoIconStyled, {}) : _jsx(InfoOutlinedIconStyled, {}) }))] }), control: _jsx(RadioStyled, { color: 'primary', disableFocusRipple: true, disableRipple: true, disableTouchRipple: true, focusRipple: false }) })] }))] })) })));
|
|
93
|
+
};
|
|
94
|
+
export default LicenseType;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
export declare const BusinessDataSchema: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
3
|
+
brandName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
4
|
+
selectedLicense: any;
|
|
5
|
+
licenseNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
6
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
7
|
+
brandName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
8
|
+
selectedLicense: any;
|
|
9
|
+
licenseNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
10
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
11
|
+
brandName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
12
|
+
selectedLicense: any;
|
|
13
|
+
licenseNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
14
|
+
}>>>;
|
|
15
|
+
export declare const KWBusinessDataSchema: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
16
|
+
brandName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
17
|
+
selectedLicense: any;
|
|
18
|
+
licenseNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
19
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
20
|
+
brandName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
21
|
+
selectedLicense: any;
|
|
22
|
+
licenseNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
23
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
24
|
+
brandName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
25
|
+
selectedLicense: any;
|
|
26
|
+
licenseNumber: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
27
|
+
}>>>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
import { REGEX_BRAND_NAME, KW_MIN_LICENSE_LENGTH, FL_MIN_LICENSE_LENGTH, CR_MIN_LICENSE_LENGTH } from '../../../../constants';
|
|
3
|
+
import { BusinessType } from '../../../../@types';
|
|
4
|
+
var objectElements = {
|
|
5
|
+
legal_name: yup.object().shape({
|
|
6
|
+
ar: yup.string(),
|
|
7
|
+
en: yup.string()
|
|
8
|
+
}),
|
|
9
|
+
license: yup.object().shape({
|
|
10
|
+
number: yup.string()
|
|
11
|
+
}),
|
|
12
|
+
type: yup.string()
|
|
13
|
+
};
|
|
14
|
+
export var BusinessDataSchema = yup.object().shape({
|
|
15
|
+
brandName: yup
|
|
16
|
+
.string()
|
|
17
|
+
.test({
|
|
18
|
+
test: function (value) {
|
|
19
|
+
if ((value === null || value === void 0 ? void 0 : value.length) === 0)
|
|
20
|
+
return true;
|
|
21
|
+
if (value && value.length >= 3 && (value === null || value === void 0 ? void 0 : value.match(REGEX_BRAND_NAME)))
|
|
22
|
+
return true;
|
|
23
|
+
return this.createError({ message: 'enter_brand_name_english_chars_numbers_space' });
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
.required('enter_brand_name_english_chars_numbers_space'),
|
|
27
|
+
selectedLicense: yup.object().shape(objectElements).required(''),
|
|
28
|
+
licenseNumber: yup
|
|
29
|
+
.string()
|
|
30
|
+
.test({
|
|
31
|
+
test: function (value) {
|
|
32
|
+
var selectedLicense = this.parent.selectedLicense;
|
|
33
|
+
var isCR = (selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type) === BusinessType.CR;
|
|
34
|
+
var length = (value === null || value === void 0 ? void 0 : value.length) || 0;
|
|
35
|
+
if (length === 0)
|
|
36
|
+
return true;
|
|
37
|
+
if (isCR) {
|
|
38
|
+
return length > CR_MIN_LICENSE_LENGTH ? true : this.createError({ message: 'cr_max_length' });
|
|
39
|
+
}
|
|
40
|
+
return length > FL_MIN_LICENSE_LENGTH ? true : this.createError({ message: 'fl_max_length' });
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
.required('')
|
|
44
|
+
});
|
|
45
|
+
export var KWBusinessDataSchema = yup.object().shape({
|
|
46
|
+
brandName: yup
|
|
47
|
+
.string()
|
|
48
|
+
.test({
|
|
49
|
+
test: function (value) {
|
|
50
|
+
if ((value === null || value === void 0 ? void 0 : value.length) === 0)
|
|
51
|
+
return true;
|
|
52
|
+
if (value && value.length >= 3 && (value === null || value === void 0 ? void 0 : value.match(REGEX_BRAND_NAME)))
|
|
53
|
+
return true;
|
|
54
|
+
return this.createError({ message: 'enter_brand_name_english_chars_numbers_space' });
|
|
55
|
+
}
|
|
56
|
+
})
|
|
57
|
+
.required('enter_brand_name_english_chars_numbers_space'),
|
|
58
|
+
selectedLicense: yup.object().shape(objectElements).required(''),
|
|
59
|
+
licenseNumber: yup
|
|
60
|
+
.string()
|
|
61
|
+
.when('selectedLicense', function (selectedLicense) {
|
|
62
|
+
var isCR = (selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type) === BusinessType.CR;
|
|
63
|
+
if (!isCR) {
|
|
64
|
+
return yup.string().optional();
|
|
65
|
+
}
|
|
66
|
+
return yup
|
|
67
|
+
.string()
|
|
68
|
+
.required('')
|
|
69
|
+
.test({
|
|
70
|
+
test: function (value) {
|
|
71
|
+
var length = (value === null || value === void 0 ? void 0 : value.length) || 0;
|
|
72
|
+
if (length === 0)
|
|
73
|
+
return true;
|
|
74
|
+
return length >= KW_MIN_LICENSE_LENGTH ? true : this.createError({ message: 'cr_kw_max_length' });
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
})
|
|
78
|
+
.required('')
|
|
79
|
+
});
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
import { useTranslation } from 'react-i18next';
|
|
15
|
+
import { useForm, FormProvider } from 'react-hook-form';
|
|
16
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
17
|
+
import { styled } from '@mui/material/styles';
|
|
18
|
+
import { useAppDispatch, useAppSelector, useSetFromDefaultValues } from '../../../../hooks';
|
|
19
|
+
import { AuthForType } from '../../../../@types';
|
|
20
|
+
import { useLanguage } from '../../../../hooks';
|
|
21
|
+
import { isKW } from '../../../../utils';
|
|
22
|
+
import { countriesCode } from '../../../../constants';
|
|
23
|
+
import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
|
|
24
|
+
import Form from '../../../../components/Form';
|
|
25
|
+
import Collapse from '../../../../components/Collapse';
|
|
26
|
+
import Button from '../../../shared/Button';
|
|
27
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
28
|
+
import { clearError, connectExpressSelector, resetIndividualScreen, updateLeadIndividualAsync } from '../../../app/connectExpress/connectExpressStore';
|
|
29
|
+
import MobileNumber from './MobileNumber';
|
|
30
|
+
import Email from './Email';
|
|
31
|
+
import Name from './Name';
|
|
32
|
+
import { CollectIndividualInfoValidation } from './validation';
|
|
33
|
+
var FormStyled = styled(Form)(function () { return ({
|
|
34
|
+
display: 'flex',
|
|
35
|
+
flexDirection: 'column',
|
|
36
|
+
minHeight: '240px',
|
|
37
|
+
justifyContent: 'space-between'
|
|
38
|
+
}); });
|
|
39
|
+
var CollectIndividualInfo = function (_a) {
|
|
40
|
+
var _b = React.useState(false), listActive = _b[0], setListActive = _b[1];
|
|
41
|
+
var _c = React.useState(false), emailChecking = _c[0], setEmailChecking = _c[1];
|
|
42
|
+
var settingsData = useAppSelector(settingsSelector).data;
|
|
43
|
+
var _d = useAppSelector(connectExpressSelector), data = _d.data, loading = _d.loading, error = _d.error;
|
|
44
|
+
var dispatch = useAppDispatch();
|
|
45
|
+
var t = useTranslation().t;
|
|
46
|
+
var isAr = useLanguage().isAr;
|
|
47
|
+
var individualData = data.individualData, otpData = data.otpData, responseData = data.responseData;
|
|
48
|
+
var startWithNID = otpData.authFor === AuthForType.NATIONAL_ID;
|
|
49
|
+
var contact = ((responseData === null || responseData === void 0 ? void 0 : responseData.leadData) || {}).contact;
|
|
50
|
+
var countryCode = individualData.countryCode;
|
|
51
|
+
var isEmailAvailable = (responseData || {}).isEmailAvailable;
|
|
52
|
+
var methods = useForm({
|
|
53
|
+
resolver: yupResolver(CollectIndividualInfoValidation),
|
|
54
|
+
defaultValues: individualData,
|
|
55
|
+
mode: 'onChange'
|
|
56
|
+
});
|
|
57
|
+
useSetFromDefaultValues(methods, individualData, true);
|
|
58
|
+
React.useEffect(function () {
|
|
59
|
+
if (countryCode.iso2 !== methods.getValues('countryCode.iso2'))
|
|
60
|
+
methods.setValue('countryCode', countryCode);
|
|
61
|
+
}, [countryCode]);
|
|
62
|
+
var onSubmit = function (formData) {
|
|
63
|
+
dispatch(updateLeadIndividualAsync(formData));
|
|
64
|
+
};
|
|
65
|
+
var onBack = function () {
|
|
66
|
+
var _a;
|
|
67
|
+
dispatch(resetIndividualScreen());
|
|
68
|
+
var code = (_a = settingsData.businessCountry) === null || _a === void 0 ? void 0 : _a.iso2;
|
|
69
|
+
var screen = startWithNID ? (isKW(code) ? 'CONNECT_EXPRESS_CIVIL_ID_STEP' : 'CONNECT_EXPRESS_NID_STEP') : 'CONNECT_EXPRESS_MOBILE_STEP';
|
|
70
|
+
dispatch(handlePrevScreenStep(screen));
|
|
71
|
+
};
|
|
72
|
+
React.useEffect(function () {
|
|
73
|
+
if (error)
|
|
74
|
+
dispatch(clearError());
|
|
75
|
+
}, [methods.formState.isValid]);
|
|
76
|
+
var handleMenuListClick = function () {
|
|
77
|
+
setListActive(!listActive);
|
|
78
|
+
};
|
|
79
|
+
React.useEffect(function () {
|
|
80
|
+
if (isEmailAvailable === false)
|
|
81
|
+
methods.setError('email', { message: 'tap_js_email_already_exist' });
|
|
82
|
+
}, [responseData]);
|
|
83
|
+
var isLeadEmailAvailable = (contact === null || contact === void 0 ? void 0 : contact.email) === methods.watch('email');
|
|
84
|
+
var isEmailValid = typeof isEmailAvailable === 'undefined' ? isLeadEmailAvailable : isEmailAvailable;
|
|
85
|
+
var emailErrChecks = !methods.formState.isValid || !!methods.formState.errors.email || !!error;
|
|
86
|
+
var disabled = emailErrChecks || emailChecking || !isEmailValid;
|
|
87
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(Name, { show: !listActive }), _jsx(MobileNumber, { show: true, onListOpen: function () { return handleMenuListClick(); }, onListClose: function () { return handleMenuListClick(); }, countries: countriesCode }), _jsx(Email, { show: !listActive, fetchingEmail: function (v) { return setEmailChecking(v); }, emailChecking: emailChecking }), _jsx(Collapse, __assign({ in: !listActive }, { children: _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') })) }))] })) })) }));
|
|
88
|
+
};
|
|
89
|
+
export default React.memo(CollectIndividualInfo);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface EmailProps {
|
|
3
|
+
show: boolean;
|
|
4
|
+
fetchingEmail: (flag: boolean) => void;
|
|
5
|
+
emailChecking: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ show, fetchingEmail, emailChecking }: EmailProps) => JSX.Element>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (_) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
49
|
+
import * as React from 'react';
|
|
50
|
+
import { useTranslation } from 'react-i18next';
|
|
51
|
+
import { debounce } from 'lodash-es';
|
|
52
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
53
|
+
import axios from 'axios';
|
|
54
|
+
import { styled } from '@mui/material/styles';
|
|
55
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
56
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
57
|
+
import Collapse from '../../../../components/Collapse';
|
|
58
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
59
|
+
import Input from '../../../shared/Input';
|
|
60
|
+
import ClearIcon from '../../../shared/ClearIcon';
|
|
61
|
+
import CheckIcon from '../../../shared/CheckIcon';
|
|
62
|
+
import { checkEmailAvailabilityAsync, connectExpressSelector } from '../../../app/connectExpress/connectExpressStore';
|
|
63
|
+
var InputStyled = styled(Input)(function () { return ({
|
|
64
|
+
input: {
|
|
65
|
+
textTransform: 'lowercase'
|
|
66
|
+
}
|
|
67
|
+
}); });
|
|
68
|
+
var cancelToken = null;
|
|
69
|
+
var Email = function (_a) {
|
|
70
|
+
var _b;
|
|
71
|
+
var show = _a.show, fetchingEmail = _a.fetchingEmail, emailChecking = _a.emailChecking;
|
|
72
|
+
var _c = React.useState(''), storedEmail = _c[0], setStoredEmail = _c[1];
|
|
73
|
+
var dispatch = useAppDispatch();
|
|
74
|
+
var data = useAppSelector(connectExpressSelector).data;
|
|
75
|
+
var t = useTranslation().t;
|
|
76
|
+
var control = useFormContext().control;
|
|
77
|
+
var emailControl = useController({ name: 'email', control: control });
|
|
78
|
+
var emailValue = emailControl.field.value;
|
|
79
|
+
var error = (_b = emailControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
80
|
+
var checkEmail = debounce(function (value) { return __awaiter(void 0, void 0, void 0, function () {
|
|
81
|
+
var onSuccess;
|
|
82
|
+
return __generator(this, function (_a) {
|
|
83
|
+
if (cancelToken) {
|
|
84
|
+
cancelToken.cancel('Aborted');
|
|
85
|
+
}
|
|
86
|
+
cancelToken = axios.CancelToken.source();
|
|
87
|
+
onSuccess = function () { return fetchingEmail(false); };
|
|
88
|
+
dispatch(checkEmailAvailabilityAsync({ email: value, cancelToken: cancelToken.token, onSuccess: onSuccess }));
|
|
89
|
+
return [2];
|
|
90
|
+
});
|
|
91
|
+
}); }, 500);
|
|
92
|
+
var handleEmailChange = function (event) {
|
|
93
|
+
emailControl.field.onChange(event.target.value);
|
|
94
|
+
};
|
|
95
|
+
React.useEffect(function () {
|
|
96
|
+
var _a, _b, _c;
|
|
97
|
+
var email = (_c = (_b = (_a = data.responseData) === null || _a === void 0 ? void 0 : _a.leadData) === null || _b === void 0 ? void 0 : _b.contact) === null || _c === void 0 ? void 0 : _c.email;
|
|
98
|
+
if (!!email)
|
|
99
|
+
setStoredEmail(email);
|
|
100
|
+
}, [data.responseData]);
|
|
101
|
+
React.useEffect(function () {
|
|
102
|
+
var isValid = emailValue && !error && emailValue.length > 3;
|
|
103
|
+
if (isValid && emailValue != storedEmail) {
|
|
104
|
+
fetchingEmail(true);
|
|
105
|
+
checkEmail(emailValue);
|
|
106
|
+
}
|
|
107
|
+
}, [emailValue, error]);
|
|
108
|
+
var clearNumber = function () {
|
|
109
|
+
emailControl.field.onChange('');
|
|
110
|
+
};
|
|
111
|
+
return (_jsx(Collapse, __assign({ in: show }, { children: _jsx(ScreenContainer, { children: _jsx(InputStyled, { label: t('signup_email_lable'), value: emailValue, onEnterPressed: function (e) { return e.preventDefault(); }, onChange: handleEmailChange, type: 'email', placeholder: t('signup_email_placeholder'), warningType: 'alert', warningMessage: error && t(error), endAdornment: emailChecking ? (_jsx(CircularProgress, { size: 25, thickness: 5, sx: { height: 'auto !important' } })) : !error && emailValue ? (_jsx(CheckIcon, {})) : (emailValue && _jsx(ClearIcon, { onClick: clearNumber })) }) }) })));
|
|
112
|
+
};
|
|
113
|
+
export default React.memo(Email);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { CountryCode } from '../../../../@types';
|
|
3
|
+
interface MobileNumberProps {
|
|
4
|
+
countries: Array<CountryCode>;
|
|
5
|
+
show: boolean;
|
|
6
|
+
onListOpen?: () => void;
|
|
7
|
+
onListClose?: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<MobileNumberProps & React.RefAttributes<unknown>>>;
|
|
10
|
+
export default _default;
|