@tap-payments/auth-jsconnect 2.0.125-test → 2.1.0
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/README.md +34 -34
- package/build/@types/app.d.ts +397 -7
- package/build/@types/app.js +47 -0
- package/build/@types/form.d.ts +89 -37
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/redux.d.ts +4 -0
- package/build/@types/theme.d.ts +1 -1
- package/build/@types/user.d.ts +177 -0
- package/build/@types/user.js +1 -0
- package/build/api/account.d.ts +6 -1
- package/build/api/account.js +9 -1
- package/build/api/auth.d.ts +24 -18
- package/build/api/auth.js +25 -5
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +3 -3
- package/build/api/board.d.ts +20 -3
- package/build/api/board.js +17 -1
- package/build/api/brand.d.ts +8 -0
- package/build/api/brand.js +18 -1
- package/build/api/country.d.ts +4 -0
- package/build/api/country.js +9 -1
- package/build/api/data.d.ts +24 -8
- package/build/api/data.js +50 -2
- package/build/api/document.d.ts +25 -0
- package/build/api/document.js +38 -0
- package/build/api/entity.d.ts +61 -31
- package/build/api/entity.js +47 -20
- package/build/api/file.d.ts +14 -0
- package/build/api/file.js +37 -0
- package/build/api/index.d.ts +70 -13
- package/build/api/index.js +9 -3
- package/build/api/individual.d.ts +87 -13
- package/build/api/individual.js +17 -1
- package/build/api/init.d.ts +16 -0
- package/build/api/init.js +13 -0
- package/build/api/lead.d.ts +24 -11
- package/build/api/lead.js +25 -1
- package/build/api/location.d.ts +5 -0
- package/build/api/location.js +19 -0
- package/build/api/operator.d.ts +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +7 -1
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +2 -1
- package/build/app/rootReducer.js +4 -2
- package/build/app/settings.d.ts +25 -12
- package/build/app/settings.js +95 -43
- package/build/app/store.d.ts +8 -6
- package/build/assets/locales/ar.json +93 -2
- package/build/assets/locales/en.json +95 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +4 -2
- package/build/components/AnimationFlow/AnimationFlow.js +4 -4
- package/build/components/AnimationFlow/BottomSheet.d.ts +4 -1
- package/build/components/AnimationFlow/BottomSheet.js +43 -19
- package/build/components/AnimationFlow/Dialog.d.ts +4 -2
- package/build/components/AnimationFlow/Dialog.js +30 -7
- package/build/components/Button/Button.js +1 -5
- package/build/components/DatePicker/DatePicker.d.ts +3 -1
- package/build/components/DatePicker/DatePicker.js +20 -15
- package/build/components/FileInput/DragAndDrop.d.ts +3 -2
- package/build/components/FileInput/DragAndDrop.js +5 -7
- package/build/components/LogoBadge/LogoBadge.js +3 -0
- package/build/components/Lottie/Lottie.d.ts +3536 -211
- package/build/components/Lottie/Lottie.js +12 -4
- package/build/components/Lottie/files/account_creating.json +732 -0
- package/build/components/Lottie/files/error.json +692 -0
- package/build/components/Lottie/files/start_loading.json +1140 -0
- package/build/components/Lottie/files/still_loading.json +1140 -0
- package/build/components/Lottie/index.d.ts +2 -2
- package/build/components/Lottie/index.js +2 -2
- package/build/components/ProgressBar/CircularProgressBar.d.ts +3 -1
- package/build/components/ProgressBar/CircularProgressBar.js +2 -2
- package/build/components/Radio/Radio.js +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +5 -2
- package/build/components/RadioGroup/RadioGroup.js +5 -9
- package/build/components/RadioGroup/index.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +4 -2
- package/build/components/RadioLabel/RadioLabel.js +2 -2
- package/build/components/SimpleList/SimpleList.d.ts +8 -2
- package/build/components/SimpleList/SimpleList.js +46 -14
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +12 -3
- package/build/constants/api.d.ts +16 -0
- package/build/constants/api.js +32 -1
- package/build/constants/app.d.ts +69 -1
- package/build/constants/app.js +274 -36
- package/build/constants/assets.d.ts +14 -0
- package/build/constants/assets.js +14 -0
- package/build/constants/validation.d.ts +4 -0
- package/build/constants/validation.js +4 -0
- package/build/features/app/bank/bankStore.d.ts +94 -24
- package/build/features/app/bank/bankStore.js +192 -166
- package/build/features/app/brand/brandStore.d.ts +232 -0
- package/build/features/app/brand/brandStore.js +837 -0
- package/build/features/app/business/businessStore.d.ts +192 -28
- package/build/features/app/business/businessStore.js +431 -358
- package/build/features/app/connect/connectStore.d.ts +124 -19
- package/build/features/app/connect/connectStore.js +249 -278
- package/build/features/app/connectExpress/connectExpressStore.d.ts +323 -0
- package/build/features/app/connectExpress/connectExpressStore.js +1152 -0
- package/build/features/app/entity/entityStore.d.ts +109 -20
- package/build/features/app/entity/entityStore.js +451 -246
- package/build/features/app/individual/individualStore.d.ts +242 -26
- package/build/features/app/individual/individualStore.js +1002 -240
- package/build/features/app/password/passwordStore.d.ts +111 -24
- package/build/features/app/password/passwordStore.js +107 -43
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +24 -47
- package/build/features/app/tax/taxStore.d.ts +82 -9
- package/build/features/app/tax/taxStore.js +181 -119
- package/build/features/bank/Bank.d.ts +5 -3
- package/build/features/bank/Bank.js +45 -38
- package/build/features/bank/screens/BankDetails/BankDetails.js +59 -28
- package/build/features/bank/screens/BankDetails/BankName.d.ts +5 -1
- package/build/features/bank/screens/BankDetails/BankName.js +15 -12
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +8 -1
- package/build/features/bank/screens/BankDetails/BankStatement.js +16 -46
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +3 -1
- package/build/features/bank/screens/BankDetails/Beneficiary.js +15 -17
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +4 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +12 -13
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +3 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +17 -12
- package/build/features/bank/screens/BankDetails/validation.d.ts +26 -10
- package/build/features/bank/screens/BankDetails/validation.js +23 -28
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/bank/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/bank/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +14 -2
- package/build/features/bank/screens/Success/Success.js +7 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -97
- package/build/features/bank/screens/Verify/OTPInput.js +5 -3
- package/build/features/bank/screens/Verify/Verify.js +1 -5
- package/build/features/brand/Brand.d.ts +9 -0
- package/build/features/brand/Brand.js +76 -0
- package/build/features/brand/index.d.ts +1 -0
- package/build/features/brand/index.js +1 -0
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +74 -0
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +180 -0
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +5 -0
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +114 -0
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +55 -0
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +135 -0
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +10 -0
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +100 -0
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +10 -0
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +142 -0
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +43 -0
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +93 -0
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +18 -0
- package/build/features/brand/screens/BrandActivities/TAC.js +93 -0
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +6 -0
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +56 -0
- package/build/features/brand/screens/BrandActivities/index.d.ts +2 -0
- package/build/features/brand/screens/BrandActivities/index.js +2 -0
- package/build/features/{entity/screens/EntityInfoConfirm → brand/screens/BrandActivities}/validation.d.ts +19 -16
- package/build/features/brand/screens/BrandActivities/validation.js +23 -0
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +5 -0
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +124 -0
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +10 -0
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +53 -0
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +10 -0
- package/build/features/brand/screens/BrandInfo/BrandName.js +141 -0
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +6 -0
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +36 -0
- package/build/features/brand/screens/BrandInfo/SegmentLocations.d.ts +10 -0
- package/build/features/brand/screens/BrandInfo/SegmentLocations.js +69 -0
- package/build/features/brand/screens/BrandInfo/SegmentProfits.d.ts +10 -0
- package/build/features/brand/screens/BrandInfo/SegmentProfits.js +69 -0
- package/build/features/brand/screens/BrandInfo/SegmentTechs.d.ts +10 -0
- package/build/features/brand/screens/BrandInfo/SegmentTechs.js +69 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +10 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.js +69 -0
- package/build/features/brand/screens/BrandInfo/index.d.ts +2 -0
- package/build/features/brand/screens/BrandInfo/index.js +2 -0
- package/build/features/brand/screens/BrandInfo/validation.d.ts +47 -0
- package/build/features/brand/screens/BrandInfo/validation.js +110 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/brand/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/brand/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
- package/build/features/brand/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/brand/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/brand/screens/Success/Success.d.ts +5 -0
- package/build/features/brand/screens/Success/Success.js +20 -0
- package/build/features/brand/screens/Success/index.d.ts +3 -0
- package/build/features/brand/screens/Success/index.js +2 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +22 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/brand/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/{auth/screens/OTP → brand/screens/Verify}/OTPInput.js +8 -10
- package/build/features/brand/screens/Verify/Verify.js +78 -0
- package/build/features/brand/screens/Verify/index.d.ts +2 -0
- package/build/features/brand/screens/Verify/index.js +2 -0
- package/build/features/business/Business.d.ts +4 -3
- package/build/features/business/Business.js +15 -18
- package/build/features/business/screens/Activities/Activities.js +6 -14
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +17 -70
- package/build/features/business/screens/Activities/ActivitiesList.js +222 -100
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +3 -3
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/Activities/validation.d.ts +165 -30
- package/build/features/business/screens/Activities/validation.js +9 -3
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +5 -0
- package/build/features/business/screens/BrandDetails/BrandDetails.js +39 -0
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +5 -0
- package/build/features/business/screens/BrandDetails/BrandName.js +36 -0
- package/build/features/business/screens/BrandDetails/Header.d.ts +5 -0
- package/build/features/business/screens/BrandDetails/Header.js +49 -0
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +5 -0
- package/build/features/business/screens/BrandDetails/LicenseInfo.js +38 -0
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +18 -0
- package/build/features/business/screens/BrandDetails/SalesChannel.js +48 -0
- package/build/features/business/screens/BrandDetails/index.d.ts +3 -0
- package/build/features/business/screens/BrandDetails/index.js +2 -0
- package/build/features/business/screens/BusinessType/Article.d.ts +8 -0
- package/build/features/business/screens/BusinessType/Article.js +52 -0
- package/build/features/business/screens/BusinessType/BusinessType.js +42 -17
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +9 -0
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +129 -0
- package/build/features/business/screens/BusinessType/EntityName.js +6 -7
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +14 -46
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -0
- package/build/features/business/screens/BusinessType/LicenseList.js +11 -23
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -8
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +30 -2
- package/build/features/business/screens/BusinessType/LicenseType.js +42 -6
- package/build/features/business/screens/BusinessType/validation.d.ts +9 -6
- package/build/features/business/screens/BusinessType/validation.js +21 -13
- package/build/features/business/screens/CivilID/IDNumber.js +2 -3
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +47 -40
- package/build/features/business/screens/Customers/CustomerLocations.js +36 -21
- package/build/features/business/screens/Customers/Customers.js +27 -16
- package/build/features/business/screens/Customers/ExpectedCustomers.js +13 -6
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +20 -9
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +7 -7
- package/build/features/business/screens/Customers/RefundPolicy.js +15 -6
- package/build/features/business/screens/Customers/TransactionPolicy.js +19 -11
- package/build/features/business/screens/IDBOD/DOB.js +2 -2
- package/build/features/business/screens/IDBOD/ID.js +2 -3
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +14 -2
- package/build/features/business/screens/Success/Success.js +10 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -96
- package/build/features/business/screens/Verify/OTPInput.js +5 -3
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +9 -134
- package/build/features/connect/Connect.d.ts +4 -4
- package/build/features/connect/Connect.js +40 -37
- package/build/features/connect/screens/CivilID/CivilID.js +6 -14
- package/build/features/connect/screens/CivilID/IDNumber.js +5 -6
- package/build/features/connect/screens/Individual/Email.js +18 -28
- package/build/features/connect/screens/Individual/Individual.js +20 -10
- package/build/features/connect/screens/Individual/MobileNumber.js +16 -15
- package/build/features/connect/screens/Individual/Name.js +11 -15
- package/build/features/connect/screens/Individual/validation.js +2 -8
- package/build/features/connect/screens/Merchant/BrandList.js +17 -9
- package/build/features/connect/screens/Merchant/BrandName.js +10 -12
- package/build/features/connect/screens/Merchant/Merchant.js +41 -36
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -3
- package/build/features/connect/screens/Merchant/SalesChannels.js +28 -103
- package/build/features/connect/screens/Merchant/Segments.d.ts +8 -0
- package/build/features/connect/screens/Merchant/Segments.js +66 -0
- package/build/features/connect/screens/Merchant/TAC.js +1 -3
- package/build/features/connect/screens/Merchant/TeamSize.d.ts +8 -0
- package/build/features/connect/screens/Merchant/TeamSize.js +66 -0
- package/build/features/connect/screens/Merchant/validation.d.ts +9 -0
- package/build/features/connect/screens/Merchant/validation.js +17 -14
- package/build/features/connect/screens/Mobile/Mobile.js +13 -16
- package/build/features/connect/screens/Mobile/MobileNumber.js +14 -10
- package/build/features/connect/screens/NID/DOB.js +1 -1
- package/build/features/connect/screens/NID/IDNumber.js +6 -7
- package/build/features/connect/screens/NID/NID.js +6 -0
- package/build/features/connect/screens/OTP/OTP.js +13 -15
- package/build/features/connect/screens/OTP/OTPInput.js +10 -0
- package/build/features/connect/screens/ThankYou/ThankYou.js +24 -2
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +9 -73
- package/build/features/connectExpress/ConnectExpress.d.ts +12 -0
- package/build/features/connectExpress/ConnectExpress.js +149 -0
- package/build/features/connectExpress/index.d.ts +1 -0
- package/build/features/connectExpress/index.js +1 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +15 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/index.d.ts +3 -0
- package/build/features/connectExpress/screens/AccountAlreadyCreated/index.js +2 -0
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +5 -0
- package/build/features/connectExpress/screens/Brand/Brand.js +71 -0
- package/build/features/connectExpress/screens/Brand/index.d.ts +2 -0
- package/build/features/connectExpress/screens/Brand/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.js +84 -0
- package/build/features/connectExpress/screens/CivilID/IDNumber.d.ts +7 -0
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +54 -0
- package/build/features/connectExpress/screens/CivilID/index.d.ts +3 -0
- package/build/features/connectExpress/screens/CivilID/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/CivilID/validation.js +4 -0
- 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 +54 -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 +9 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +138 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +5 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +83 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +9 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +139 -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 +35 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +96 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +19 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +82 -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 +155 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +5 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +94 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +9 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +105 -0
- package/build/features/{individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts → connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts} +3 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +153 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +7 -0
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +44 -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 +34 -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/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/OTP.js +23 -12
- 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/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 -0
- package/build/features/connectExpress/screens/Mobile/Mobile.js +111 -0
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +13 -0
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +155 -0
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +7 -0
- package/build/features/{auth/screens/NID → connectExpress/screens/Mobile}/TAC.js +12 -14
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +8 -0
- package/build/features/connectExpress/screens/Mobile/Title.js +29 -0
- package/build/features/connectExpress/screens/Mobile/index.d.ts +3 -0
- package/build/features/connectExpress/screens/Mobile/index.js +2 -0
- package/build/features/connectExpress/screens/Mobile/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/Mobile/validation.js +60 -0
- package/build/features/connectExpress/screens/NID/DOB.d.ts +7 -0
- package/build/features/connectExpress/screens/NID/DOB.js +47 -0
- package/build/features/connectExpress/screens/NID/IDNumber.d.ts +7 -0
- package/build/features/{auth → connectExpress}/screens/NID/IDNumber.js +14 -18
- package/build/features/connectExpress/screens/NID/NID.js +94 -0
- package/build/features/connectExpress/screens/NID/TAC.d.ts +19 -0
- package/build/features/connectExpress/screens/NID/TAC.js +82 -0
- package/build/features/connectExpress/screens/NID/validation.d.ts +11 -0
- package/build/features/connectExpress/screens/NID/validation.js +22 -0
- package/build/features/{auth/screens/NID → connectExpress/screens/NIDMissed}/DOB.d.ts +1 -2
- package/build/features/{auth/screens/NID → connectExpress/screens/NIDMissed}/DOB.js +9 -9
- package/build/features/{auth/screens/NID → connectExpress/screens/NIDMissed}/IDNumber.d.ts +4 -1
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +55 -0
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +5 -0
- package/build/features/{auth/screens/NID → connectExpress/screens/NIDMissed}/NID.js +14 -23
- 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/{auth/screens/NID/TAC.d.ts → connectExpress/screens/OTP/OTP.d.ts} +2 -0
- package/build/features/connectExpress/screens/OTP/OTP.js +88 -0
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/connectExpress/screens/OTP/OTPInput.js +55 -0
- package/build/features/connectExpress/screens/OTP/index.d.ts +3 -0
- package/build/features/connectExpress/screens/OTP/index.js +2 -0
- package/build/features/connectExpress/screens/OTP/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/OTP/validation.js +4 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +32 -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 -0
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/connectExpress/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyPACI/index.js +2 -0
- package/build/features/entity/Entity.d.ts +5 -3
- package/build/features/entity/Entity.js +45 -39
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +37 -0
- package/build/features/entity/screens/EntityCapital/ActivityList.js +286 -0
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +7 -0
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +45 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +7 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +40 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +7 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +45 -0
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +86 -0
- package/build/features/entity/screens/EntityCapital/index.d.ts +2 -0
- package/build/features/entity/screens/EntityCapital/index.js +2 -0
- package/build/features/entity/screens/EntityCapital/validation.d.ts +197 -0
- package/build/features/entity/screens/EntityCapital/validation.js +18 -0
- package/build/features/entity/screens/EntityName/Article.d.ts +10 -0
- package/build/features/entity/screens/EntityName/Article.js +53 -0
- package/build/features/entity/screens/EntityName/EntityName.d.ts +5 -0
- package/build/features/entity/screens/EntityName/EntityName.js +137 -0
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +73 -0
- package/build/features/entity/screens/EntityName/EntityTypeList.js +134 -0
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +21 -0
- package/build/features/entity/screens/EntityName/ExpiryDate.js +44 -0
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +21 -0
- package/build/features/entity/screens/EntityName/IssuingDate.js +43 -0
- package/build/features/entity/screens/EntityName/LegalName.d.ts +7 -0
- package/build/features/entity/screens/EntityName/LegalName.js +49 -0
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +9 -0
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +54 -0
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +8 -0
- package/build/features/entity/screens/EntityName/LicenseNumber.js +53 -0
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +8 -0
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +44 -0
- package/build/features/entity/screens/EntityName/index.d.ts +2 -0
- package/build/features/entity/screens/EntityName/index.js +2 -0
- package/build/features/entity/screens/EntityName/validation.d.ts +60 -0
- package/build/features/entity/screens/EntityName/validation.js +91 -0
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/entity/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/entity/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +14 -2
- package/build/features/entity/screens/Success/Success.js +7 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -94
- package/build/features/entity/screens/Verify/OTPInput.js +5 -3
- package/build/features/entity/screens/Verify/Verify.js +7 -20
- package/build/features/featuresScreens.d.ts +2 -1
- package/build/features/featuresScreens.js +148 -12
- package/build/features/individual/Individual.d.ts +5 -3
- package/build/features/individual/Individual.js +45 -39
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +96 -40
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +9 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +54 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +3 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +19 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +34 -46
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +90 -56
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +31 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +37 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +7 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +42 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +7 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +47 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +9 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +54 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +31 -39
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +31 -23
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +15 -23
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +32 -0
- package/build/features/individual/screens/IndividualList/Email.d.ts +10 -0
- package/build/features/individual/screens/IndividualList/Email.js +113 -0
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +31 -0
- package/build/features/individual/screens/IndividualList/IndividualList.js +58 -0
- package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/MobileNumber.js +142 -0
- package/build/features/individual/screens/IndividualList/UserList.d.ts +5 -0
- package/build/features/individual/screens/IndividualList/UserList.js +207 -0
- package/build/features/individual/screens/IndividualList/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualList/index.js +2 -0
- package/build/features/individual/screens/IndividualList/validation.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/validation.js +40 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +103 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +12 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +76 -0
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +9 -0
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +46 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +8 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +42 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +9 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +47 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +36 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +84 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +8 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +40 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +21 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +182 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +12 -0
- package/build/features/individual/screens/{AdditionalIndividualInfo/EmployerLocation.js → IndividualPersonalInfo/IssuedCountry.js} +19 -35
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +12 -0
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +142 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +8 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +44 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +12 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +76 -0
- package/build/features/individual/screens/IndividualPersonalInfo/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualPersonalInfo/index.js +2 -0
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +38 -0
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +68 -0
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +13 -0
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +146 -0
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +5 -0
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +63 -0
- package/build/features/individual/screens/IndividualPhoneInfo/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualPhoneInfo/index.js +2 -0
- package/build/features/individual/screens/IndividualPhoneInfo/validation.d.ts +8 -0
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +31 -0
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/individual/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/individual/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +14 -2
- package/build/features/individual/screens/Success/Success.js +7 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -97
- package/build/features/individual/screens/Verify/OTPInput.js +5 -3
- package/build/features/individual/screens/Verify/Verify.js +10 -21
- package/build/features/password/Password.d.ts +5 -3
- package/build/features/password/Password.js +15 -18
- package/build/features/password/screens/CreatePassword/CreatePassword.js +9 -16
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +14 -2
- package/build/features/password/screens/Success/Success.js +7 -3
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -97
- package/build/features/password/screens/Verify/OTPInput.js +5 -3
- package/build/features/password/screens/Verify/Verify.js +7 -20
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +1 -1
- package/build/features/shared/Address/Address.d.ts +16 -0
- package/build/features/shared/Address/Address.js +73 -0
- package/build/features/shared/Address/CountryList.d.ts +72 -0
- package/build/features/shared/Address/CountryList.js +89 -0
- package/build/features/shared/Address/InputSelect.d.ts +71 -0
- package/build/features/shared/Address/InputSelect.js +172 -0
- package/build/features/shared/Address/InputText.d.ts +12 -0
- package/build/features/shared/Address/InputText.js +12 -0
- package/build/features/shared/Address/index.d.ts +2 -0
- package/build/features/shared/Address/index.js +2 -0
- package/build/features/shared/Background/Background.js +1 -5
- package/build/features/shared/Button/Button.d.ts +3 -1
- package/build/features/shared/Button/Button.js +14 -4
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.js +9 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +4 -1
- package/build/features/shared/Button/FlowsButtons.js +64 -30
- package/build/features/shared/Button/IndividualActionButtons.d.ts +21 -0
- package/build/features/shared/Button/IndividualActionButtons.js +156 -0
- package/build/features/shared/Button/index.d.ts +2 -1
- package/build/features/shared/Button/index.js +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +7 -1
- package/build/features/shared/CheckIcon/CheckIcon.js +7 -6
- package/build/features/shared/Chip/Chip.d.ts +3 -0
- package/build/features/shared/Chip/Chip.js +21 -0
- package/build/features/shared/Chip/index.d.ts +2 -0
- package/build/features/shared/Chip/index.js +2 -0
- package/build/features/shared/Containers/FeatureContainer.d.ts +4 -1
- package/build/features/shared/Containers/FeatureContainer.js +5 -4
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +7 -0
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +58 -0
- package/build/features/shared/CreateAccountLoading/index.d.ts +2 -0
- package/build/features/shared/CreateAccountLoading/index.js +2 -0
- package/build/features/shared/DataLoading/DataLoading.d.ts +6 -0
- package/build/features/shared/DataLoading/DataLoading.js +58 -0
- package/build/features/shared/DataLoading/index.d.ts +2 -0
- package/build/features/shared/DataLoading/index.js +2 -0
- package/build/features/shared/Dot/Dot.d.ts +8 -0
- package/build/features/shared/Dot/Dot.js +29 -0
- package/build/features/shared/Dot/index.d.ts +2 -0
- package/build/features/shared/Dot/index.js +2 -0
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +10 -0
- package/build/features/shared/EndAdornment/EndAdornment.js +17 -0
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +7 -0
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +13 -0
- package/build/features/shared/EndAdornment/index.d.ts +3 -0
- package/build/features/shared/EndAdornment/index.js +3 -0
- package/build/features/shared/Footer/Footer.js +9 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +9 -0
- package/build/features/shared/Footer/PoweredByFooter.js +36 -0
- package/build/features/shared/Footer/index.d.ts +3 -2
- package/build/features/shared/Footer/index.js +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +7 -0
- package/build/features/shared/GenericError/GenericError.js +55 -0
- package/build/features/shared/GenericError/index.d.ts +2 -0
- package/build/features/shared/GenericError/index.js +2 -0
- package/build/features/shared/Input/Input.d.ts +12 -11
- package/build/features/shared/Input/Input.js +4 -5
- package/build/features/shared/Input/index.d.ts +2 -1
- package/build/features/shared/InputSelect/InputSelect.d.ts +4 -0
- package/build/features/shared/InputSelect/InputSelect.js +33 -0
- package/build/features/shared/InputSelect/index.d.ts +2 -0
- package/build/features/shared/InputSelect/index.js +2 -0
- package/build/features/shared/OTP/OTP.d.ts +2 -1
- package/build/features/shared/OTP/OTP.js +2 -2
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -0
- package/build/features/shared/PaciVerification/PaciVerification.js +91 -0
- package/build/features/{connect/screens/VerifyPACI → shared/PaciVerification}/VerifyPACILoading.d.ts +1 -0
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +27 -0
- package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACISuccess.js +1 -1
- package/build/features/shared/PaciVerification/index.d.ts +2 -0
- package/build/features/shared/PaciVerification/index.js +2 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +13 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +102 -0
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +14 -0
- package/build/features/shared/SalesChannels/SalesChannel.js +154 -0
- package/build/features/shared/SalesChannels/index.d.ts +2 -0
- package/build/features/shared/SalesChannels/index.js +2 -0
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/Search/Search.js +2 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +17 -0
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +134 -0
- package/build/features/shared/SuccessFlowButtons/index.d.ts +2 -0
- package/build/features/shared/SuccessFlowButtons/index.js +2 -0
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +4 -2
- package/build/features/shared/SuccessScreen/SuccessScreen.js +5 -3
- package/build/features/shared/UploadFile/FileUpload.d.ts +32 -0
- package/build/features/shared/UploadFile/FileUpload.js +267 -0
- package/build/features/shared/UploadFile/UploadFile.d.ts +5 -4
- package/build/features/shared/UploadFile/UploadFile.js +20 -20
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +36 -0
- package/build/features/shared/UploadFile/UploadWrapper.js +115 -0
- package/build/features/shared/UploadFile/index.d.ts +2 -1
- package/build/features/shared/UploadFile/index.js +2 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +29 -0
- package/build/features/shared/UploadMultipleFile/UploadFile.js +273 -0
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +36 -0
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +178 -0
- package/build/features/shared/UploadMultipleFile/index.d.ts +2 -0
- package/build/features/shared/UploadMultipleFile/index.js +2 -0
- package/build/features/signIn/SignIn.d.ts +4 -3
- package/build/features/signIn/SignIn.js +12 -19
- package/build/features/tax/Tax.d.ts +5 -3
- package/build/features/tax/Tax.js +45 -40
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/tax/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/tax/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +14 -2
- package/build/features/tax/screens/Success/Success.js +9 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +6 -97
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +4 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +12 -12
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +38 -26
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +9 -0
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +50 -0
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +5 -1
- package/build/features/tax/screens/TaxDetails/VATId.js +12 -7
- package/build/features/tax/screens/TaxDetails/validation.d.ts +4 -1
- package/build/features/tax/screens/TaxDetails/validation.js +7 -4
- package/build/features/tax/screens/Verify/OTPInput.js +5 -3
- package/build/features/tax/screens/Verify/Verify.js +6 -22
- package/build/hooks/index.d.ts +8 -0
- package/build/hooks/index.js +8 -0
- package/build/hooks/useAppConfig.d.ts +6 -2
- package/build/hooks/useAppConfig.js +13 -6
- package/build/hooks/useAppDispatch.d.ts +2 -1
- package/build/hooks/useCountUp.d.ts +9 -0
- package/build/hooks/useCountUp.js +17 -0
- package/build/hooks/useCountry.d.ts +4 -0
- package/build/hooks/useCountry.js +7 -0
- package/build/hooks/useDataNoneEditable.d.ts +2 -0
- package/build/hooks/useDataNoneEditable.js +19 -0
- package/build/hooks/useDataVerified.d.ts +6 -0
- package/build/hooks/useDataVerified.js +19 -0
- package/build/hooks/useErrorListener.d.ts +2 -1
- package/build/hooks/useErrorListener.js +16 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +11 -0
- package/build/hooks/useExcludeReadOnlyFelids.js +33 -0
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +6 -0
- package/build/hooks/useFormErrorAndUpdateReadOnly.js +48 -0
- package/build/hooks/useFormReadOnly.d.ts +6 -0
- package/build/hooks/useFormReadOnly.js +40 -0
- package/build/hooks/useSetFromDefaultValues.js +4 -2
- package/build/hooks/useVerifyToken.d.ts +15 -0
- package/build/hooks/useVerifyToken.js +25 -0
- package/build/index.d.ts +12 -11
- package/build/index.js +14 -21
- package/build/theme/shadows.js +1 -1
- package/build/theme/typography.js +1 -1
- package/build/utils/array.d.ts +55 -1
- package/build/utils/array.js +280 -5
- package/build/utils/common.d.ts +2 -1
- package/build/utils/common.js +7 -0
- package/build/utils/date.d.ts +3 -0
- package/build/utils/date.js +17 -0
- package/build/utils/error.d.ts +2 -0
- package/build/utils/error.js +6 -0
- package/build/utils/gtm.d.ts +6 -0
- package/build/utils/gtm.js +29 -0
- package/build/utils/html.d.ts +1 -2
- package/build/utils/html.js +6 -11
- package/build/utils/index.d.ts +3 -0
- package/build/utils/index.js +3 -0
- package/build/utils/object.d.ts +4 -0
- package/build/utils/object.js +17 -0
- package/build/utils/string.d.ts +20 -2
- package/build/utils/string.js +81 -5
- package/build/utils/validation.d.ts +1 -0
- package/build/utils/validation.js +3 -0
- package/package.json +4 -2
- package/build/api/ip.d.ts +0 -4
- package/build/api/ip.js +0 -12
- package/build/features/app/auth/authStore.d.ts +0 -46
- package/build/features/app/auth/authStore.js +0 -261
- package/build/features/auth/Auth.d.ts +0 -10
- package/build/features/auth/Auth.js +0 -87
- package/build/features/auth/index.d.ts +0 -1
- package/build/features/auth/index.js +0 -1
- package/build/features/auth/screens/NID/validation.d.ts +0 -27
- package/build/features/auth/screens/NID/validation.js +0 -19
- package/build/features/business/screens/VerifyPACI/VerifyPACILoading.d.ts +0 -6
- package/build/features/business/screens/VerifyPACI/VerifyPACILoading.js +0 -23
- package/build/features/connect/screens/Merchant/SocialMedia.d.ts +0 -6
- package/build/features/connect/screens/Merchant/SocialMedia.js +0 -182
- package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +0 -23
- package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +0 -5
- package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +0 -8
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +0 -55
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +0 -149
- package/build/features/entity/screens/EntityInfoConfirm/Article.d.ts +0 -3
- package/build/features/entity/screens/EntityInfoConfirm/Article.js +0 -73
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +0 -75
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +0 -32
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +0 -49
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +0 -6
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +0 -33
- package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +0 -2
- package/build/features/entity/screens/EntityInfoConfirm/index.js +0 -2
- package/build/features/entity/screens/EntityInfoConfirm/validation.js +0 -24
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +0 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +0 -46
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +0 -19
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +0 -52
- package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +0 -3
- package/build/features/individual/screens/ShowIndividualInfo/index.js +0 -2
- package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +0 -7
- package/build/features/individual/screens/ShowIndividualInfo/info.js +0 -28
- /package/build/features/{auth/screens/OTP/OTPInput.d.ts → brand/screens/Verify/Verify.d.ts} +0 -0
- /package/build/features/{auth/screens/OTP → brand/screens/Verify}/validation.d.ts +0 -0
- /package/build/features/{auth/screens/OTP → brand/screens/Verify}/validation.js +0 -0
- /package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/OTP.d.ts +0 -0
- /package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/index.d.ts +0 -0
- /package/build/features/{auth/screens/OTP → connectExpress/screens/IdentityOTP}/index.js +0 -0
- /package/build/features/{auth → connectExpress}/screens/NID/NID.d.ts +0 -0
- /package/build/features/{auth → connectExpress}/screens/NID/index.d.ts +0 -0
- /package/build/features/{auth → connectExpress}/screens/NID/index.js +0 -0
- /package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACISuccess.d.ts +0 -0
package/build/app/settings.d.ts
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { RootState } from './store';
|
|
2
|
-
import { ActionState, LanguageMode, SharedState, ThemeMode, ScreenStepNavigation, DeviceInfo, LibConfig, CountryCode } from '../@types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
import { ActionState, LanguageMode, SharedState, ThemeMode, ScreenStepNavigation, DeviceInfo, LibConfig, CountryCode, MerchantInfo, VerifyExpressTokenParams } from '../@types';
|
|
3
|
+
interface SettingParams {
|
|
4
|
+
disableCountries?: boolean;
|
|
5
|
+
disableLocale?: boolean;
|
|
6
|
+
mdn: string;
|
|
7
|
+
maturity?: 'full' | 'express';
|
|
8
|
+
expressToken?: string;
|
|
9
|
+
onExpressVerifyTokenSuccess?: (data: VerifyExpressTokenParams) => Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk<any, SettingParams, {
|
|
12
|
+
state?: unknown;
|
|
13
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
14
|
+
extra?: unknown;
|
|
15
|
+
rejectValue?: unknown;
|
|
16
|
+
serializedErrorType?: unknown;
|
|
17
|
+
pendingMeta?: unknown;
|
|
18
|
+
fulfilledMeta?: unknown;
|
|
19
|
+
rejectedMeta?: unknown;
|
|
20
|
+
}>;
|
|
13
21
|
export interface SettingsData {
|
|
14
22
|
skin: ThemeMode;
|
|
15
23
|
language: LanguageMode;
|
|
@@ -22,14 +30,19 @@ export interface SettingsData {
|
|
|
22
30
|
businessCountry: CountryCode;
|
|
23
31
|
countries: Array<CountryCode>;
|
|
24
32
|
isValidOperator: boolean;
|
|
33
|
+
boardMaturity: boolean;
|
|
34
|
+
merchant?: MerchantInfo;
|
|
35
|
+
isMaturityExpress: boolean;
|
|
25
36
|
}
|
|
26
37
|
export interface SettingsState extends SharedState<SettingsData> {
|
|
27
38
|
}
|
|
28
39
|
export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsState, {
|
|
40
|
+
handelBoardMaturity: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
|
|
29
41
|
handleIsTapOrigin: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
|
|
30
42
|
handleOpen: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
|
|
31
43
|
handleSkin: (state: SettingsState, action: ActionState<ThemeMode>) => void;
|
|
32
44
|
handleLanguage: (state: SettingsState, action: ActionState<LanguageMode>) => void;
|
|
45
|
+
handlePublicKey: (state: SettingsState, action: ActionState<string>) => void;
|
|
33
46
|
handleNextScreenStep: (state: SettingsState, action: ActionState<string | undefined>) => void;
|
|
34
47
|
handleCurrentActiveScreen: (state: SettingsState, action: ActionState<string>) => void;
|
|
35
48
|
handlePrevScreenStep: (state: SettingsState, action: ActionState<string | undefined>) => void;
|
|
@@ -37,7 +50,7 @@ export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsSta
|
|
|
37
50
|
handleSetAppConfig: (state: SettingsState, action: ActionState<LibConfig>) => void;
|
|
38
51
|
handleSetCountryByIso2: (state: SettingsState, action: ActionState<string>) => void;
|
|
39
52
|
}, "settings">;
|
|
40
|
-
export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode,
|
|
53
|
+
export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, "settings/handleSkin">, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, "settings/handleLanguage">, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], "settings/handleActiveFlowScreens">, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handleNextScreenStep">, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handlePrevScreenStep">, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleCurrentActiveScreen">, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, "settings/handleSetAppConfig">, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleOpen">, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleSetCountryByIso2">, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleIsTapOrigin">, handelBoardMaturity: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handelBoardMaturity">, handlePublicKey: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handlePublicKey">;
|
|
41
54
|
declare const _default: import("redux").Reducer<SettingsState, import("redux").AnyAction>;
|
|
42
55
|
export default _default;
|
|
43
56
|
export declare const settingsSelector: (state: RootState) => SettingsState;
|
package/build/app/settings.js
CHANGED
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
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
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -47,35 +47,64 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString,
|
|
51
|
-
import {
|
|
50
|
+
import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage, isKW, isSA } from '../utils';
|
|
51
|
+
import { DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
|
|
52
52
|
import i18n from '../i18n';
|
|
53
53
|
import { updateLocale } from '../utils/locale';
|
|
54
54
|
import API, { setAxiosGlobalHeaders } from '../api';
|
|
55
55
|
export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
56
|
-
var settings, _a, appConfig, language, _b, client, device, os, disableCountries,
|
|
57
|
-
return __generator(this, function (
|
|
58
|
-
switch (
|
|
56
|
+
var settings, _a, appConfig, language, _b, client, device, os, disableLocale, maturity, disableCountries, expressToken, onExpressVerifyTokenSuccess, _c, visitorId, locale, publicKey, payload, data, public_key, initPayload, _d, country_list, ip_info, merchant, operator, list, _e, ip, latitude, longitude, deviceInfo, isValidOperator, countries, countryCode, isKWOrSA, businessCountry;
|
|
57
|
+
return __generator(this, function (_f) {
|
|
58
|
+
switch (_f.label) {
|
|
59
59
|
case 0:
|
|
60
60
|
settings = thunkApi.getState().settings;
|
|
61
61
|
_a = settings.data, appConfig = _a.appConfig, language = _a.language;
|
|
62
62
|
_b = getBrowserInfo(), client = _b.client, device = _b.device, os = _b.os;
|
|
63
|
-
disableCountries = params.disableCountries,
|
|
64
|
-
return [4, Promise.all([
|
|
65
|
-
getFingerPrint(),
|
|
66
|
-
API.ipService.getIP(),
|
|
67
|
-
API.firebaseService.getLocale(disableLocale),
|
|
68
|
-
API.countryService.getCountries(disableCountries)
|
|
69
|
-
])];
|
|
63
|
+
disableLocale = params.disableLocale, maturity = params.maturity, disableCountries = params.disableCountries, expressToken = params.expressToken, onExpressVerifyTokenSuccess = params.onExpressVerifyTokenSuccess;
|
|
64
|
+
return [4, Promise.all([getFingerPrint(), API.firebaseService.getLocale(disableLocale)])];
|
|
70
65
|
case 1:
|
|
71
|
-
_c =
|
|
72
|
-
|
|
66
|
+
_c = _f.sent(), visitorId = _c[0].visitorId, locale = _c[1];
|
|
67
|
+
publicKey = appConfig.publicKey;
|
|
68
|
+
setAxiosGlobalHeaders({
|
|
69
|
+
bi: visitorId || '',
|
|
70
|
+
mdn: encryptString(params.mdn || window.location.origin),
|
|
71
|
+
authorization: encryptString(publicKey)
|
|
72
|
+
});
|
|
73
|
+
if (!expressToken) return [3, 3];
|
|
74
|
+
payload = {
|
|
75
|
+
token: expressToken
|
|
76
|
+
};
|
|
77
|
+
return [4, API.leadService.verifyExpressLeadToken(payload)];
|
|
78
|
+
case 2:
|
|
79
|
+
data = _f.sent();
|
|
80
|
+
onExpressVerifyTokenSuccess === null || onExpressVerifyTokenSuccess === void 0 ? void 0 : onExpressVerifyTokenSuccess(data);
|
|
81
|
+
public_key = (data || {}).public_key;
|
|
82
|
+
if (public_key) {
|
|
83
|
+
publicKey = public_key;
|
|
84
|
+
setAxiosGlobalHeaders({
|
|
85
|
+
bi: visitorId || '',
|
|
86
|
+
mdn: encryptString(params.mdn || window.location.origin),
|
|
87
|
+
authorization: encryptString(publicKey)
|
|
88
|
+
});
|
|
89
|
+
thunkApi.dispatch(handlePublicKey(publicKey));
|
|
90
|
+
}
|
|
91
|
+
_f.label = 3;
|
|
92
|
+
case 3:
|
|
93
|
+
initPayload = {
|
|
73
94
|
type: 'website',
|
|
74
95
|
app_client_version: 'js-auth-connect',
|
|
75
96
|
requirer_browser: "".concat(client === null || client === void 0 ? void 0 : client.name, " , ").concat(client === null || client === void 0 ? void 0 : client.version),
|
|
76
97
|
os: "".concat(os === null || os === void 0 ? void 0 : os.name, " , ").concat(os === null || os === void 0 ? void 0 : os.version),
|
|
77
|
-
locale: language
|
|
98
|
+
locale: language,
|
|
99
|
+
data_required: {
|
|
100
|
+
country_list: !disableCountries
|
|
101
|
+
}
|
|
78
102
|
};
|
|
103
|
+
return [4, API.initService.getInitialData(initPayload)];
|
|
104
|
+
case 4:
|
|
105
|
+
_d = _f.sent(), country_list = _d.country_list, ip_info = _d.ip_info, merchant = _d.merchant, operator = _d.operator;
|
|
106
|
+
list = (country_list || { list: [] }).list;
|
|
107
|
+
_e = ip_info || {}, ip = _e.ip, latitude = _e.latitude, longitude = _e.longitude;
|
|
79
108
|
deviceInfo = {
|
|
80
109
|
app: {
|
|
81
110
|
language: appConfig.language || 'en',
|
|
@@ -107,14 +136,19 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
|
|
|
107
136
|
},
|
|
108
137
|
source: 'browser'
|
|
109
138
|
};
|
|
110
|
-
setAxiosGlobalHeaders(__assign(__assign({}, getRequestHeaders(deviceInfo)), { authorization: encryptString(
|
|
111
|
-
|
|
112
|
-
case 2:
|
|
113
|
-
operatorStatus = _e.sent();
|
|
114
|
-
isValidOperator = operatorStatus === 'valid';
|
|
139
|
+
setAxiosGlobalHeaders(__assign(__assign(__assign({}, getRequestHeaders(deviceInfo)), { authorization: encryptString(publicKey), mdn: encryptString(params.mdn || window.location.origin), cu: window.location.href }), (maturity && { maturity: maturity })));
|
|
140
|
+
isValidOperator = operator === 'valid';
|
|
115
141
|
countries = sortCountries(list);
|
|
116
|
-
|
|
117
|
-
|
|
142
|
+
countryCode = appConfig.businessCountryCode;
|
|
143
|
+
if (maturity === 'express' && (merchant === null || merchant === void 0 ? void 0 : merchant.country_code))
|
|
144
|
+
countryCode = merchant === null || merchant === void 0 ? void 0 : merchant.country_code;
|
|
145
|
+
isKWOrSA = isKW(countryCode) || isSA(countryCode);
|
|
146
|
+
if (!isKWOrSA)
|
|
147
|
+
countryCode = 'KW';
|
|
148
|
+
businessCountry = findCountryByIso2(countries, countryCode);
|
|
149
|
+
if (!businessCountry)
|
|
150
|
+
throw new Error('Business country not found, you have to pass a valid business country code in the lib config');
|
|
151
|
+
return [2, __assign({ countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo, isValidOperator: isValidOperator, isMaturityExpress: maturity === 'express' }, (merchant && { merchant: merchant }))];
|
|
118
152
|
}
|
|
119
153
|
});
|
|
120
154
|
}); });
|
|
@@ -122,15 +156,17 @@ var initialState = {
|
|
|
122
156
|
error: null,
|
|
123
157
|
loading: true,
|
|
124
158
|
data: {
|
|
159
|
+
boardMaturity: true,
|
|
125
160
|
open: true,
|
|
126
161
|
isTapOrigin: true,
|
|
162
|
+
isMaturityExpress: false,
|
|
127
163
|
skin: getStoredData(LOCAL_STORAGE_KEYS.themeMode) || 'light',
|
|
128
164
|
language: getStoredData(LOCAL_STORAGE_KEYS.languageMode) || 'en',
|
|
129
165
|
featureScreensNavigation: [],
|
|
130
166
|
activeScreen: {},
|
|
131
167
|
deviceInfo: DefaultDeviceInfo,
|
|
132
168
|
appConfig: {},
|
|
133
|
-
businessCountry:
|
|
169
|
+
businessCountry: {},
|
|
134
170
|
countries: [],
|
|
135
171
|
isValidOperator: false
|
|
136
172
|
}
|
|
@@ -139,65 +175,75 @@ export var settingsSlice = createSlice({
|
|
|
139
175
|
name: 'settings',
|
|
140
176
|
initialState: initialState,
|
|
141
177
|
reducers: {
|
|
178
|
+
handelBoardMaturity: function (state, action) {
|
|
179
|
+
state.data.boardMaturity = action.payload;
|
|
180
|
+
},
|
|
142
181
|
handleIsTapOrigin: function (state, action) {
|
|
143
182
|
state.data.isTapOrigin = action.payload;
|
|
144
183
|
},
|
|
145
184
|
handleOpen: function (state, action) {
|
|
185
|
+
var _a, _b;
|
|
146
186
|
state.data.open = action.payload;
|
|
147
|
-
if (action.payload === false)
|
|
148
|
-
|
|
149
|
-
removeElement(DIALOG_ID);
|
|
150
|
-
removeElement(BACKGROUND_ID);
|
|
151
|
-
}, 1000);
|
|
152
|
-
}
|
|
187
|
+
if (action.payload === false)
|
|
188
|
+
(_b = (_a = state.data.appConfig).onClose) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
153
189
|
},
|
|
154
190
|
handleSkin: function (state, action) {
|
|
155
191
|
state.data.skin = action.payload;
|
|
156
192
|
storeData(LOCAL_STORAGE_KEYS.themeMode, action.payload);
|
|
157
193
|
},
|
|
158
194
|
handleLanguage: function (state, action) {
|
|
195
|
+
if (!action.payload)
|
|
196
|
+
return;
|
|
159
197
|
state.data.language = action.payload;
|
|
160
198
|
i18n.changeLanguage(action.payload);
|
|
161
199
|
storeData(LOCAL_STORAGE_KEYS.languageMode, action.payload);
|
|
162
200
|
},
|
|
201
|
+
handlePublicKey: function (state, action) {
|
|
202
|
+
if (!action.payload)
|
|
203
|
+
return;
|
|
204
|
+
state.data.appConfig.publicKey = action.payload;
|
|
205
|
+
},
|
|
163
206
|
handleNextScreenStep: function (state, action) {
|
|
164
207
|
var next = state.data.activeScreen.next;
|
|
208
|
+
var appConfig = state.data.appConfig;
|
|
165
209
|
if (isArray(next)) {
|
|
166
210
|
if (!action.payload)
|
|
167
|
-
return
|
|
211
|
+
return dangerousMessage('next screen is an array, but no payload was provided', appConfig.onError);
|
|
168
212
|
var nextName_1 = findItem(next, action.payload);
|
|
169
213
|
var nextScreen_1 = state.data.featureScreensNavigation.find(function (item) { return item.name === nextName_1; });
|
|
170
214
|
if (!nextScreen_1)
|
|
171
|
-
return
|
|
215
|
+
return dangerousMessage('Next screen step not found', appConfig.onError);
|
|
172
216
|
state.data.activeScreen = nextScreen_1;
|
|
173
217
|
return;
|
|
174
218
|
}
|
|
175
219
|
var nextScreen = state.data.featureScreensNavigation.find(function (item) { return item.name === next; });
|
|
176
220
|
if (!nextScreen)
|
|
177
|
-
return
|
|
221
|
+
return dangerousMessage('Next screen step not found', appConfig.onError);
|
|
178
222
|
state.data.activeScreen = nextScreen;
|
|
179
223
|
},
|
|
180
224
|
handleCurrentActiveScreen: function (state, action) {
|
|
225
|
+
var appConfig = state.data.appConfig;
|
|
181
226
|
var activeScreen = state.data.featureScreensNavigation.find(function (item) { return item.name === action.payload; });
|
|
182
227
|
if (!activeScreen)
|
|
183
|
-
return
|
|
228
|
+
return dangerousMessage('Active screen not found', appConfig.onError);
|
|
184
229
|
state.data.activeScreen = activeScreen;
|
|
185
230
|
},
|
|
186
231
|
handlePrevScreenStep: function (state, action) {
|
|
232
|
+
var appConfig = state.data.appConfig;
|
|
187
233
|
var prev = state.data.activeScreen.prev;
|
|
188
234
|
if (isArray(prev)) {
|
|
189
235
|
if (!action.payload)
|
|
190
|
-
return
|
|
236
|
+
return dangerousMessage('Previous screen is an array, but no payload was provided', appConfig.onError);
|
|
191
237
|
var prevName_1 = findItem(prev, action.payload);
|
|
192
238
|
var prevScreen_1 = state.data.featureScreensNavigation.find(function (item) { return item.name === prevName_1; });
|
|
193
239
|
if (!prevScreen_1)
|
|
194
|
-
return
|
|
240
|
+
return dangerousMessage('Previous screen step not found', appConfig.onError);
|
|
195
241
|
state.data.activeScreen = prevScreen_1;
|
|
196
242
|
return;
|
|
197
243
|
}
|
|
198
244
|
var prevScreen = state.data.featureScreensNavigation.find(function (item) { return item.name === prev; });
|
|
199
245
|
if (!prevScreen)
|
|
200
|
-
return
|
|
246
|
+
return dangerousMessage('Previous screen step not found', appConfig.onError);
|
|
201
247
|
state.data.activeScreen = prevScreen;
|
|
202
248
|
},
|
|
203
249
|
handleActiveFlowScreens: function (state, action) {
|
|
@@ -205,7 +251,7 @@ export var settingsSlice = createSlice({
|
|
|
205
251
|
state.data.activeScreen = action.payload[0];
|
|
206
252
|
},
|
|
207
253
|
handleSetAppConfig: function (state, action) {
|
|
208
|
-
var _a = action.payload, appInfo = _a.appInfo, businessCountryCode = _a.businessCountryCode, language = _a.language, onError = _a.onError, onFlowCompleted = _a.onFlowCompleted, publicKey = _a.publicKey, merchantDomain = _a.merchantDomain, open = _a.open;
|
|
254
|
+
var _a = action.payload, appInfo = _a.appInfo, businessCountryCode = _a.businessCountryCode, language = _a.language, onError = _a.onError, onFlowCompleted = _a.onFlowCompleted, publicKey = _a.publicKey, merchantDomain = _a.merchantDomain, open = _a.open, scope = _a.scope;
|
|
209
255
|
if (!appInfo.name)
|
|
210
256
|
throw new Error('App name is required');
|
|
211
257
|
if (!businessCountryCode)
|
|
@@ -214,19 +260,22 @@ export var settingsSlice = createSlice({
|
|
|
214
260
|
throw new Error('Language is required');
|
|
215
261
|
if (!publicKey)
|
|
216
262
|
throw new Error('Public key is required');
|
|
217
|
-
if (
|
|
263
|
+
if (typeof onError !== 'function')
|
|
218
264
|
throw new Error('On error function is required');
|
|
219
|
-
if (
|
|
265
|
+
if (typeof onFlowCompleted !== 'function')
|
|
220
266
|
throw new Error('On flow completed function is required');
|
|
221
267
|
if (!merchantDomain)
|
|
222
268
|
throw new Error('Merchant domain is required');
|
|
223
269
|
if (typeof open !== 'boolean')
|
|
224
270
|
throw new Error('Open is required');
|
|
271
|
+
if (!scope)
|
|
272
|
+
throw new Error('Scope is required');
|
|
225
273
|
state.data.appConfig = action.payload;
|
|
226
274
|
},
|
|
227
275
|
handleSetCountryByIso2: function (state, action) {
|
|
228
276
|
var country = findCountryByIso2(state.data.countries, action.payload);
|
|
229
|
-
|
|
277
|
+
if (country)
|
|
278
|
+
state.data.businessCountry = country;
|
|
230
279
|
}
|
|
231
280
|
},
|
|
232
281
|
extraReducers: function (builder) {
|
|
@@ -235,11 +284,14 @@ export var settingsSlice = createSlice({
|
|
|
235
284
|
state.error = null;
|
|
236
285
|
});
|
|
237
286
|
builder.addCase(fetchAppSettingsSync.fulfilled, function (state, action) {
|
|
238
|
-
var _a = action.payload, businessCountry = _a.businessCountry, countries = _a.countries, locale = _a.locale, deviceInfo = _a.deviceInfo, isValidOperator = _a.isValidOperator;
|
|
287
|
+
var _a = action.payload, businessCountry = _a.businessCountry, countries = _a.countries, locale = _a.locale, deviceInfo = _a.deviceInfo, isValidOperator = _a.isValidOperator, merchant = _a.merchant, isMaturityExpress = _a.isMaturityExpress;
|
|
239
288
|
state.data.countries = countries;
|
|
240
289
|
state.data.businessCountry = businessCountry;
|
|
241
290
|
state.data.deviceInfo = deviceInfo;
|
|
242
291
|
state.data.isValidOperator = isValidOperator;
|
|
292
|
+
if (merchant)
|
|
293
|
+
state.data.merchant = merchant;
|
|
294
|
+
state.data.isMaturityExpress = isMaturityExpress;
|
|
243
295
|
if (locale)
|
|
244
296
|
updateLocale(locale, businessCountry.iso2);
|
|
245
297
|
state.loading = false;
|
|
@@ -252,6 +304,6 @@ export var settingsSlice = createSlice({
|
|
|
252
304
|
});
|
|
253
305
|
}
|
|
254
306
|
});
|
|
255
|
-
export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage, handleActiveFlowScreens = _a.handleActiveFlowScreens, handleNextScreenStep = _a.handleNextScreenStep, handlePrevScreenStep = _a.handlePrevScreenStep, handleCurrentActiveScreen = _a.handleCurrentActiveScreen, handleSetAppConfig = _a.handleSetAppConfig, handleOpen = _a.handleOpen, handleSetCountryByIso2 = _a.handleSetCountryByIso2, handleIsTapOrigin = _a.handleIsTapOrigin;
|
|
307
|
+
export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage, handleActiveFlowScreens = _a.handleActiveFlowScreens, handleNextScreenStep = _a.handleNextScreenStep, handlePrevScreenStep = _a.handlePrevScreenStep, handleCurrentActiveScreen = _a.handleCurrentActiveScreen, handleSetAppConfig = _a.handleSetAppConfig, handleOpen = _a.handleOpen, handleSetCountryByIso2 = _a.handleSetCountryByIso2, handleIsTapOrigin = _a.handleIsTapOrigin, handelBoardMaturity = _a.handelBoardMaturity, handlePublicKey = _a.handlePublicKey;
|
|
256
308
|
export default settingsSlice.reducer;
|
|
257
309
|
export var settingsSelector = function (state) { return state.settings; };
|
package/build/app/store.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThunkAction, Action } from '@reduxjs/toolkit';
|
|
2
|
-
export declare const store: import("@reduxjs/toolkit").
|
|
2
|
+
export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
|
|
3
3
|
settings: import("./settings").SettingsState;
|
|
4
4
|
connect: import("../features/app/connect/connectStore").ConnectState;
|
|
5
5
|
business: import("../features/app/business/businessStore").BusinessState;
|
|
@@ -9,7 +9,8 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
9
9
|
password: import("../features/app/password/passwordStore").PasswordState;
|
|
10
10
|
signIn: import("../features/app/signIn/signInStore").SignInState;
|
|
11
11
|
entity: import("../features/app/entity/entityStore").EntityState;
|
|
12
|
-
|
|
12
|
+
brand: import("../features/app/brand/brandStore").BrandState;
|
|
13
|
+
connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
|
|
13
14
|
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<{
|
|
14
15
|
settings: import("./settings").SettingsState;
|
|
15
16
|
connect: import("../features/app/connect/connectStore").ConnectState;
|
|
@@ -20,8 +21,9 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
20
21
|
password: import("../features/app/password/passwordStore").PasswordState;
|
|
21
22
|
signIn: import("../features/app/signIn/signInStore").SignInState;
|
|
22
23
|
entity: import("../features/app/entity/entityStore").EntityState;
|
|
23
|
-
|
|
24
|
+
brand: import("../features/app/brand/brandStore").BrandState;
|
|
25
|
+
connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
|
|
24
26
|
}, import("redux").AnyAction, undefined>]>>;
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
27
|
+
export type AppDispatch = typeof store.dispatch;
|
|
28
|
+
export type RootState = ReturnType<typeof store.getState>;
|
|
29
|
+
export type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"apple_store_placeholder": "اسم التطبيق عالـ App Store",
|
|
39
39
|
"authenticate_kuwait_mobile_description": "Please go to your Kuwait Mobile ID app and accept the authentication request from Tap.",
|
|
40
40
|
"authenticate_kuwait_mobile_title": "Authenticate with Kuwait Mobile ID app",
|
|
41
|
-
"back": "Back",
|
|
42
41
|
"bank": "رقم حساب البنك",
|
|
43
42
|
"bank_confirm_information": "أتعهد بأن المعلومات البنكية المدخلة صحيحة وأنها تعود إلي",
|
|
44
43
|
"bank_flow_completed": "{{bank_name}} {{iban}}",
|
|
@@ -141,6 +140,7 @@
|
|
|
141
140
|
"file_not_supported_alert": "نوع الملف غير مدعوم",
|
|
142
141
|
"file_size_alert": "حجم الملف اكبر من المطلوب",
|
|
143
142
|
"file_upload_error": "هناك مشكلة في رفع الملف, يرجى المحاولة لاحقاً.",
|
|
143
|
+
"file_upload_article_error": "هناك مشكلة في رفع الملف, يرجى المحاولة لاحقاً.",
|
|
144
144
|
"file_upload_failed": "أنت تواجه بعض التحديات في تحميل الملف. يرجى المحاولة مرة أخرى.",
|
|
145
145
|
"file_uploading_title": "جاري الرفع.....",
|
|
146
146
|
"fl_kw_max_length": "May you please verify the entered freelancer registration reference. (Note - the freelancer registration may contains characters and digits).",
|
|
@@ -323,5 +323,96 @@
|
|
|
323
323
|
"activities_name_hint": "activities_name_hint",
|
|
324
324
|
"customer_base_name_hint": "customer_base_name_hint",
|
|
325
325
|
"title_article": "Article",
|
|
326
|
-
"article_of_association": "Article file. PDF, JPG or PNG files up to 5mb."
|
|
326
|
+
"article_of_association": "Article file. PDF, JPG or PNG files up to 5mb.",
|
|
327
|
+
"paci_verification_title_wait": "Please wait",
|
|
328
|
+
"paci_verification_title_check": "We are still checking",
|
|
329
|
+
"paci_verification_title_error": "We cannot confirm your authentication",
|
|
330
|
+
"paci_verification_description_wait": "This might take a moment...",
|
|
331
|
+
"paci_verification_description_check": "This might take a moment...",
|
|
332
|
+
"paci_verification_description_error": "Please try again.",
|
|
333
|
+
"paci_verification_redirection_message": "You will be redirected now",
|
|
334
|
+
"commercial_reg_hint": "Commercial Registration",
|
|
335
|
+
"homemaker_reg_hint": "Home Business",
|
|
336
|
+
"file_already_exist": "File is already uploaded",
|
|
337
|
+
"file_exceed_max_limit": "You can able to upload maximum {{length}} files",
|
|
338
|
+
"unified_number_label": "Unified Number",
|
|
339
|
+
"unified_number_hint": "00000",
|
|
340
|
+
"business_expiry_date": "Expiry Date",
|
|
341
|
+
"capital_paid_label": "Capital Paid ({{currency}})",
|
|
342
|
+
"capital_paid_hint": "00000",
|
|
343
|
+
"capital_share_count_label": "Capital Share Count",
|
|
344
|
+
"capital_share_count_hint": "00000",
|
|
345
|
+
"capital_share_value_label": "Capital Share Value ({{currency}})",
|
|
346
|
+
"capital_share_value_hint": "00000",
|
|
347
|
+
"license_name_placeholder": "Legal name",
|
|
348
|
+
"choose_any_issuing_date": "اختر تاريخ",
|
|
349
|
+
"choose_any_expiry_date": "اختر تاريخ",
|
|
350
|
+
"entity_type": "Entity Type",
|
|
351
|
+
"choose_entity_type": "- Please select -",
|
|
352
|
+
"entity_type_required": "Please select at least one entity type",
|
|
353
|
+
"enter_legal_name_min_three_chars": "Please Enter at least minimum 2 characters",
|
|
354
|
+
"capital_paid_required": "Please Enter paid amount",
|
|
355
|
+
"capital_share_count_required": "Please Enter share count",
|
|
356
|
+
"capital_share_value_required": "Please Enter share value",
|
|
357
|
+
"unified_number_required": "Unified Number Required",
|
|
358
|
+
"creating_account_title": "Creating your account",
|
|
359
|
+
"creating_account_description": "This might take a moment...",
|
|
360
|
+
"uploaded_file": "file",
|
|
361
|
+
"prepare_data_title": "Preparing your data",
|
|
362
|
+
"prepare_data_description": "This might take a moment...",
|
|
363
|
+
"oops": "Oops",
|
|
364
|
+
"file_upload_at_least_one": "عذرا,مطلوب رفع ملف واحد على الأقل",
|
|
365
|
+
"company_individuals": "الأفراد بالشركة",
|
|
366
|
+
"company_individuals_add_or_request_details": "أضف او أطلب المعلومات من الشخص المصرح له بذلك",
|
|
367
|
+
"add_details": "أضف المعلومات",
|
|
368
|
+
"request_details_by_email": "اطلب إضافة المعلومات بالايميل",
|
|
369
|
+
"back": "عودة",
|
|
370
|
+
"company_individuals_details": "الأفراد بالشركة ({{count}})",
|
|
371
|
+
"type_user": "المستخدم",
|
|
372
|
+
"type_share_holder": "مساهم",
|
|
373
|
+
"type_board_member": "عضو مجلس الإدارة",
|
|
374
|
+
"individual_gender_title": "النوع",
|
|
375
|
+
"gender_male": "ذكر",
|
|
376
|
+
"gender_female": "أنثى",
|
|
377
|
+
"source_country_label": "الدولة",
|
|
378
|
+
"Choose_issued_country": "- اختر -",
|
|
379
|
+
"enter_expiry_date": "تاريخ انتهاء الصلاحية",
|
|
380
|
+
"place_of_birth_country_label": "مكان الميلاد",
|
|
381
|
+
"Choose_place_of_birth_country": "- اختر -",
|
|
382
|
+
"place_birth_city_label": "مكان الميلاد",
|
|
383
|
+
"Choose_place_birth_city": "- اختر -",
|
|
384
|
+
"nationality_label": "الجنسية",
|
|
385
|
+
"Choose_nationality": "- اختر -",
|
|
386
|
+
"share_count_label": "عدد الأسهم",
|
|
387
|
+
"share_count_hint": "0",
|
|
388
|
+
"share_value_label": "قيمة السهم ({{currency}})",
|
|
389
|
+
"share_value_hint": "0000",
|
|
390
|
+
"brand": "الاسم التجاري",
|
|
391
|
+
"try_again": "حاول مرة أخرى",
|
|
392
|
+
"file_delete_error": "حدث خطأ ما في حذف الملف. حاول مرة اخرى",
|
|
393
|
+
"file_download_error": "حدث خطأ ما في تحميل الملف. حاول مرة اخرى",
|
|
394
|
+
"title_brand_logo": "لوجو العلامة التجارية",
|
|
395
|
+
"description_brand_logo": "JPG or PNG files up to 4mb.",
|
|
396
|
+
"powered_by": "بواسطة",
|
|
397
|
+
"add_other": "أخرى",
|
|
398
|
+
"choose_entity_license": "اختر ترخيص المنشأة",
|
|
399
|
+
"choose_license_entity": "- الرجاء الاختيار -",
|
|
400
|
+
"your_brand_details": "تفاصيل علامتك التجارية",
|
|
401
|
+
"signed_up": "تسجيل الدخول",
|
|
402
|
+
"login_to_dashboard": "تسجيل الدخول لادارة الحساب",
|
|
403
|
+
"review_account": "مراجعة الحساب",
|
|
404
|
+
"license_info": "معلومات الترخيص",
|
|
405
|
+
"sales_channels": "قنوات المبيعات",
|
|
406
|
+
"website_label": "موقع الويب",
|
|
407
|
+
"call_center_label": "مركز الاتصال",
|
|
408
|
+
"mobile_app_label": "تطبيقات هاتف",
|
|
409
|
+
"physical_store_label": "متجر",
|
|
410
|
+
"social_media_label": "وسائل التواصل الاجتماعي",
|
|
411
|
+
"selected_activities": "اختر الأنشطة",
|
|
412
|
+
"section_location_title": "الموقع",
|
|
413
|
+
"section_tech_title": "التقنية",
|
|
414
|
+
"section_profit_title": "الربح",
|
|
415
|
+
"alert_choose_segment_location": "يُرجى تحديد الموقع",
|
|
416
|
+
"alert_choose_segment_profit": "يُرجى تحديد الربح",
|
|
417
|
+
"alert_choose_segment_tech": "الرجاء تحديد التقنية"
|
|
327
418
|
}
|
|
@@ -74,6 +74,8 @@
|
|
|
74
74
|
"choose_any_source_of_income": "- Please select -",
|
|
75
75
|
"choose_atleast_one_activity": "- Please select -",
|
|
76
76
|
"choose_atleast_one_channel": "Please select at least a channel.",
|
|
77
|
+
"alert_choose_segment": "Please select business segment.",
|
|
78
|
+
"alert_choose_teamSize": "Please select team size.",
|
|
77
79
|
"choose_brand": "Please select a brand",
|
|
78
80
|
"choose_channel": "- Please select -",
|
|
79
81
|
"choose_customer_base": "- Please select -",
|
|
@@ -148,6 +150,7 @@
|
|
|
148
150
|
"file_not_supported_alert": "File not supported, please try again",
|
|
149
151
|
"file_size_alert": "Your file is too big, please upload another",
|
|
150
152
|
"file_upload_error": "Something went wrong, please try again",
|
|
153
|
+
"file_upload_article_error": "Something went wrong, please try again",
|
|
151
154
|
"file_upload_failed": "You are experiencing some challenges uploading the file. Please give it another try.",
|
|
152
155
|
"file_uploading_title": "Uploading....",
|
|
153
156
|
"fl_kw_max_length": "May you please verify the entered freelancer registration reference. (Note - the freelancer registration may contains characters and digits).",
|
|
@@ -350,5 +353,96 @@
|
|
|
350
353
|
"activities_name_hint": "activities_name_hint",
|
|
351
354
|
"customer_base_name_hint": "customer_base_name_hint",
|
|
352
355
|
"title_article": "Article",
|
|
353
|
-
"article_of_association": "Article file. PDF, JPG or PNG files up to 5mb."
|
|
356
|
+
"article_of_association": "Article file. PDF, JPG or PNG files up to 5mb.",
|
|
357
|
+
"paci_verification_title_wait": "Please wait",
|
|
358
|
+
"paci_verification_title_check": "We are still checking",
|
|
359
|
+
"paci_verification_title_error": "We cannot confirm your authentication",
|
|
360
|
+
"paci_verification_description_wait": "This might take a moment...",
|
|
361
|
+
"paci_verification_description_check": "This might take a moment...",
|
|
362
|
+
"paci_verification_description_error": "Please try again.",
|
|
363
|
+
"paci_verification_redirection_message": "You will be redirected now",
|
|
364
|
+
"commercial_reg_hint": "Commercial Registration",
|
|
365
|
+
"homemaker_reg_hint": "Home Business",
|
|
366
|
+
"file_already_exist": "file is already uploaded",
|
|
367
|
+
"file_exceed_max_limit": "You can able to upload maximum {{length}} files",
|
|
368
|
+
"unified_number_label": "Unified Number",
|
|
369
|
+
"unified_number_hint": "00000",
|
|
370
|
+
"business_expiry_date": "Expiry Date",
|
|
371
|
+
"capital_paid_label": "Capital Paid ({{currency}})",
|
|
372
|
+
"capital_paid_hint": "00000",
|
|
373
|
+
"capital_share_count_label": "Capital Share Count",
|
|
374
|
+
"capital_share_count_hint": "00000",
|
|
375
|
+
"capital_share_value_label": "Capital Share Value ({{currency}})",
|
|
376
|
+
"capital_share_value_hint": "00000",
|
|
377
|
+
"license_name_placeholder": "Legal name",
|
|
378
|
+
"choose_any_issuing_date": "Please select a date",
|
|
379
|
+
"choose_any_expiry_date": "Please select a date",
|
|
380
|
+
"entity_type": "Entity Type",
|
|
381
|
+
"choose_entity_type": "- Please select -",
|
|
382
|
+
"entity_type_required": "Please select at least one entity type",
|
|
383
|
+
"enter_legal_name_min_three_chars": "Please Enter at least minimum 2 characters",
|
|
384
|
+
"capital_paid_required": "Please Enter paid amount",
|
|
385
|
+
"capital_share_count_required": "Please Enter share count",
|
|
386
|
+
"capital_share_value_required": "Please Enter share value",
|
|
387
|
+
"unified_number_required": "Unified Number Required",
|
|
388
|
+
"creating_account_title": "Creating your account",
|
|
389
|
+
"creating_account_description": "This might take a moment...",
|
|
390
|
+
"uploaded_file": "file",
|
|
391
|
+
"prepare_data_title": "Preparing your data",
|
|
392
|
+
"prepare_data_description": "This might take a moment...",
|
|
393
|
+
"oops": "Oops",
|
|
394
|
+
"file_upload_at_least_one": "please upload at least one file",
|
|
395
|
+
"company_individuals": "Company Individuals",
|
|
396
|
+
"company_individuals_add_or_request_details": "Add or request details for authorized signatories",
|
|
397
|
+
"add_details": "Add details",
|
|
398
|
+
"request_details_by_email": "Request details by email",
|
|
399
|
+
"back": "Back",
|
|
400
|
+
"company_individuals_details": "Company individuals details ({{count}})",
|
|
401
|
+
"type_user": "User",
|
|
402
|
+
"type_share_holder": "Share holder",
|
|
403
|
+
"type_board_member": "Board member",
|
|
404
|
+
"individual_gender_title": "Gender",
|
|
405
|
+
"gender_male": "Male",
|
|
406
|
+
"gender_female": "Female",
|
|
407
|
+
"issued_country_label": "Issued Country",
|
|
408
|
+
"choose_issued_country": "- Please select -",
|
|
409
|
+
"enter_expiry_date": "Expiry Date",
|
|
410
|
+
"place_of_birth_country_label": "Place of Birth County",
|
|
411
|
+
"choose_place_of_birth_country": "- Please select -",
|
|
412
|
+
"place_birth_city_label": "Place of Birth City",
|
|
413
|
+
"choose_place_birth_city": "- Please select -",
|
|
414
|
+
"nationality_label": "Nationality",
|
|
415
|
+
"choose_nationality": "- Please select -",
|
|
416
|
+
"share_count_label": "Share Count",
|
|
417
|
+
"share_count_hint": "0",
|
|
418
|
+
"share_value_label": "Share Value ({{currency}})",
|
|
419
|
+
"share_value_hint": "0000",
|
|
420
|
+
"brand": "Brand",
|
|
421
|
+
"try_again": "Try again",
|
|
422
|
+
"file_delete_error": "Something went wrong with deleting file. Please try again",
|
|
423
|
+
"file_download_error": "Something went wrong with downloading file. Please try again",
|
|
424
|
+
"title_brand_logo": "Brand Logo",
|
|
425
|
+
"description_brand_logo": "JPG or PNG files up to 4mb.",
|
|
426
|
+
"powered_by": "Powered by",
|
|
427
|
+
"add_other": "Other",
|
|
428
|
+
"choose_entity_license": "Choose Entity License",
|
|
429
|
+
"choose_license_entity": "- Please select -",
|
|
430
|
+
"your_brand_details": "Your brand details",
|
|
431
|
+
"signed_up": "Signed up",
|
|
432
|
+
"login_to_dashboard": "Login to dashboard",
|
|
433
|
+
"review_account": "Review account",
|
|
434
|
+
"license_info": "License information",
|
|
435
|
+
"sales_channels": "Sales channels",
|
|
436
|
+
"website_label": "Website",
|
|
437
|
+
"call_center_label": "Call Center",
|
|
438
|
+
"mobile_app_label": "Mobile App",
|
|
439
|
+
"physical_store_label": "Physical Store",
|
|
440
|
+
"social_media_label": "Social Media",
|
|
441
|
+
"selected_activities": "Selected Activities",
|
|
442
|
+
"segment_location_title": "Segment Location",
|
|
443
|
+
"segment_tech_title": "Segment Tech",
|
|
444
|
+
"segment_profit_title": "Segment Profit",
|
|
445
|
+
"alert_choose_segment_location": "Please select segment location",
|
|
446
|
+
"alert_choose_segment_profit": "Please select segment profit",
|
|
447
|
+
"alert_choose_segment_tech": "Please select segment tech"
|
|
354
448
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { MerchantInfo } from '../../@types';
|
|
2
3
|
export interface AnimationFlowProps {
|
|
3
4
|
open: boolean;
|
|
4
5
|
children: React.ReactNode;
|
|
5
6
|
isTapOrigin?: boolean;
|
|
6
|
-
footer?: React.ReactNode;
|
|
7
7
|
type?: 'PUPOP' | 'BOTTOMSHEET';
|
|
8
8
|
breakpoint?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
9
9
|
loading?: boolean;
|
|
@@ -13,5 +13,7 @@ export interface AnimationFlowProps {
|
|
|
13
13
|
onClose?: () => void;
|
|
14
14
|
onConfirm?: () => void;
|
|
15
15
|
pointerEvents?: 'auto' | 'none';
|
|
16
|
+
merchantInfo?: MerchantInfo;
|
|
17
|
+
isMaturityExpress?: boolean;
|
|
16
18
|
}
|
|
17
|
-
export default function AnimationFlow({ open, children, breakpoint, type,
|
|
19
|
+
export default function AnimationFlow({ open, children, breakpoint, type, loading, error, isTapOrigin, screenId, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress }: AnimationFlowProps): JSX.Element;
|