@tap-payments/auth-jsconnect 2.4.29-test → 2.4.29
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 +1 -1
- package/build/@types/app.d.ts +191 -18
- package/build/@types/app.js +8 -0
- package/build/@types/config.d.ts +35 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +36 -22
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/theme.d.ts +5 -1
- package/build/@types/theme.js +5 -0
- package/build/@types/user.d.ts +18 -1
- package/build/api/account.d.ts +5 -2
- package/build/api/account.js +1 -1
- package/build/api/auth.d.ts +18 -12
- package/build/api/auth.js +11 -2
- package/build/api/availabilityServices.d.ts +4 -3
- package/build/api/availabilityServices.js +1 -1
- package/build/api/axios.js +3 -3
- package/build/api/board.d.ts +3 -3
- package/build/api/board.js +1 -1
- package/build/api/brand.d.ts +2 -2
- package/build/api/brand.js +1 -1
- package/build/api/country.d.ts +2 -1
- package/build/api/country.js +9 -2
- package/build/api/data.d.ts +17 -10
- package/build/api/data.js +27 -3
- package/build/api/document.d.ts +2 -2
- package/build/api/document.js +1 -1
- package/build/api/entity.d.ts +32 -8
- package/build/api/entity.js +38 -2
- package/build/api/file.d.ts +1 -1
- package/build/api/file.js +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +26 -4
- package/build/api/individual.d.ts +17 -6
- package/build/api/individual.js +1 -1
- package/build/api/init.d.ts +2 -1
- package/build/api/init.js +1 -1
- package/build/api/lead.d.ts +19 -11
- package/build/api/lead.js +59 -2
- package/build/api/location.js +1 -1
- package/build/api/operator.d.ts +10 -1
- package/build/api/operator.js +11 -3
- package/build/api/user.d.ts +2 -2
- package/build/api/user.js +1 -1
- package/build/app/rootReducer.d.ts +11 -10
- package/build/app/rootReducer.js +13 -11
- package/build/app/settings.d.ts +36 -4
- package/build/app/settings.js +123 -45
- package/build/app/store.d.ts +6 -4
- package/build/assets/locales/ar.json +24 -1
- package/build/assets/locales/en.json +24 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +10 -3
- package/build/components/AnimationFlow/AnimationFlow.js +5 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +5 -2
- package/build/components/AnimationFlow/BottomSheet.js +30 -8
- package/build/components/AnimationFlow/Dialog.d.ts +10 -2
- package/build/components/AnimationFlow/Dialog.js +10 -10
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +5 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +46 -24
- package/build/components/ArabicDatePicker/arabicAr.d.ts +8 -0
- package/build/components/ArabicDatePicker/arabicAr.js +32 -0
- package/build/components/ArabicDatePicker/arabicEn.d.ts +8 -0
- package/build/components/ArabicDatePicker/arabicEn.js +32 -0
- package/build/components/ArabicDatePicker/style.css +64 -0
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +2 -1
- package/build/components/DatePicker/DatePicker.js +15 -10
- package/build/components/DatePicker/customStyle.css +86 -0
- package/build/components/ExpandIcon/ExpandIcon.d.ts +3 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.js +6 -6
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/FileInput/UploadInput.js +2 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Footer/Footer.js +3 -3
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/Input/Input.js +2 -2
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.js +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +2 -2
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +2 -1
- package/build/components/SimpleList/SimpleList.js +12 -9
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +2 -2
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +10 -0
- package/build/constants/api.js +20 -1
- package/build/constants/app.d.ts +24 -2
- package/build/constants/app.js +117 -17
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/assets.js +2 -0
- package/build/constants/dummy.d.ts +43 -196
- package/build/constants/dummy.js +610 -6141
- package/build/constants/validation.d.ts +6 -2
- package/build/constants/validation.js +7 -3
- package/build/features/app/bank/bankStore.d.ts +95 -12
- package/build/features/app/bank/bankStore.js +92 -38
- package/build/features/app/board/boardStore.d.ts +69 -0
- package/build/features/app/board/boardStore.js +237 -0
- package/build/features/app/brand/brandStore.d.ts +160 -19
- package/build/features/app/brand/brandStore.js +272 -114
- package/build/features/app/business/businessStore.d.ts +174 -24
- package/build/features/app/business/businessStore.js +371 -255
- package/build/features/app/connect/connectStore.d.ts +167 -15
- package/build/features/app/connect/connectStore.js +282 -109
- package/build/features/app/connectExpress/connectExpressStore.d.ts +295 -26
- package/build/features/app/connectExpress/connectExpressStore.js +614 -117
- package/build/features/app/entity/entityStore.d.ts +100 -12
- package/build/features/app/entity/entityStore.js +176 -88
- package/build/features/app/individual/individualStore.d.ts +314 -0
- package/build/features/app/individual/individualStore.js +178 -117
- package/build/features/app/password/passwordStore.d.ts +116 -14
- package/build/features/app/password/passwordStore.js +125 -48
- package/build/features/app/signIn/signInStore.d.ts +63 -9
- package/build/features/app/signIn/signInStore.js +4 -4
- package/build/features/app/tax/taxStore.d.ts +85 -11
- package/build/features/app/tax/taxStore.js +90 -37
- package/build/features/bank/Bank.d.ts +3 -3
- package/build/features/bank/Bank.js +19 -14
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +11 -11
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankName.js +8 -8
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -4
- package/build/features/bank/screens/BankDetails/BankStatement.js +6 -6
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.js +6 -6
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +11 -11
- package/build/features/bank/screens/BankDetails/validation.js +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.js +3 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -6
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.js +7 -5
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.js +9 -9
- package/build/features/board/Board.d.ts +9 -0
- package/build/features/board/Board.js +74 -0
- package/build/features/board/index.d.ts +1 -0
- package/build/features/board/index.js +1 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +35 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/board/screens/Verify/OTPInput.js +51 -0
- package/build/features/board/screens/Verify/Verify.d.ts +5 -0
- package/build/features/board/screens/Verify/Verify.js +74 -0
- package/build/features/board/screens/Verify/index.d.ts +2 -0
- package/build/features/board/screens/Verify/index.js +2 -0
- package/build/features/board/screens/Verify/validation.d.ts +8 -0
- package/build/features/board/screens/Verify/validation.js +4 -0
- package/build/features/brand/Brand.d.ts +3 -3
- package/build/features/brand/Brand.js +19 -14
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -31
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +32 -24
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +9 -8
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +16 -19
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +14 -16
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +20 -22
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +13 -21
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +10 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/TAC.js +10 -10
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +8 -8
- package/build/features/brand/screens/BrandActivities/validation.d.ts +36 -36
- package/build/features/brand/screens/BrandActivities/validation.js +5 -10
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +18 -37
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -5
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +8 -20
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandName.js +15 -13
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +8 -8
- package/build/features/brand/screens/BrandInfo/validation.d.ts +21 -6
- package/build/features/brand/screens/BrandInfo/validation.js +11 -10
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +4 -0
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +103 -0
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +9 -0
- package/build/features/brand/screens/{BrandInfo/Segments.js → BrandSegmentInfo/SegmentLocations.js} +14 -22
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +9 -0
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.js +69 -0
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +9 -0
- package/build/features/{connect/screens/Merchant/Segments.js → brand/screens/BrandSegmentInfo/SegmentTechs.js} +24 -26
- package/build/features/brand/screens/{BrandInfo → BrandSegmentInfo}/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/{BrandInfo → BrandSegmentInfo}/TeamSize.js +10 -18
- package/build/features/brand/screens/BrandSegmentInfo/index.d.ts +2 -0
- package/build/features/brand/screens/BrandSegmentInfo/index.js +2 -0
- package/build/features/brand/screens/BrandSegmentInfo/validation.d.ts +17 -0
- package/build/features/brand/screens/BrandSegmentInfo/validation.js +9 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.js +3 -3
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -6
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.js +7 -5
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.js +9 -9
- package/build/features/business/Business.d.ts +2 -3
- package/build/features/business/Business.js +14 -11
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.js +22 -13
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +14 -64
- package/build/features/business/screens/Activities/ActivitiesList.js +231 -100
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/LicenseName.js +6 -6
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +7 -13
- package/build/features/business/screens/Activities/OperationStartDate.js +7 -7
- package/build/features/business/screens/Activities/validation.d.ts +165 -30
- package/build/features/business/screens/Activities/validation.js +5 -2
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandDetails.js +7 -7
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.js +4 -4
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.js +5 -5
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.js +4 -4
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/SalesChannel.js +5 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -4
- package/build/features/business/screens/BusinessType/Article.js +7 -7
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +23 -15
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +15 -18
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/EntityName.js +8 -8
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +7 -7
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +17 -20
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.js +18 -17
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -6
- package/build/features/business/screens/BusinessType/LicenseType.js +14 -14
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/SelectType.js +6 -6
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/BusinessType/validation.d.ts +10 -0
- package/build/features/business/screens/BusinessType/validation.js +20 -4
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.js +8 -7
- package/build/features/business/screens/CivilID/IDNumber.js +6 -6
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +47 -33
- package/build/features/business/screens/Customers/CustomerLocations.js +46 -20
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/Customers.js +47 -15
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedCustomers.js +16 -17
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +21 -21
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +19 -20
- package/build/features/business/screens/Customers/RefundPolicy.js +23 -23
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -2
- package/build/features/business/screens/Customers/TransactionPolicy.js +15 -12
- package/build/features/business/screens/Customers/validation.d.ts +6 -6
- package/build/features/business/screens/Customers/validation.js +3 -8
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/DOB.js +6 -6
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.js +10 -6
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.js +15 -23
- package/build/features/business/screens/IDBOD/validation.d.ts +10 -0
- package/build/features/business/screens/IDBOD/validation.js +4 -0
- package/build/features/business/screens/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTP.js +10 -10
- package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.js +7 -4
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/Success/Success.js +3 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +5 -5
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.js +7 -5
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.js +10 -10
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +4 -4
- package/build/features/connect/Connect.d.ts +4 -3
- package/build/features/connect/Connect.js +107 -21
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +5 -0
- package/build/features/connect/screens/BrandSegment/BrandSegment.js +62 -0
- package/build/features/connect/screens/{Merchant → BrandSegment}/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/{Merchant → BrandSegment}/TeamSize.js +11 -16
- package/build/features/connect/screens/BrandSegment/index.d.ts +3 -0
- package/build/features/connect/screens/BrandSegment/index.js +2 -0
- package/build/features/connect/screens/BrandSegment/validation.d.ts +8 -0
- package/build/features/connect/screens/BrandSegment/validation.js +6 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +103 -0
- package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connect/screens/BusinessCountry/index.js +2 -0
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/CivilID/CivilID.js +14 -10
- package/build/features/connect/screens/CivilID/IDNumber.js +6 -6
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +7 -7
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Individual.js +19 -13
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +18 -15
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.js +5 -5
- package/build/features/connect/screens/Individual/validation.js +9 -4
- package/build/features/connect/screens/Merchant/BrandList.d.ts +2 -2
- package/build/features/connect/screens/Merchant/BrandList.js +11 -29
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +14 -11
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/Merchant.js +20 -23
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/SalesChannels.js +10 -10
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Merchant/TAC.js +9 -9
- package/build/features/connect/screens/Merchant/validation.d.ts +0 -6
- package/build/features/connect/screens/Merchant/validation.js +10 -14
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +32 -31
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Mobile/MobileNumber.js +32 -19
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.js +2 -2
- package/build/features/connect/screens/Mobile/validation.js +8 -3
- package/build/features/connect/screens/NID/DOB.d.ts +1 -2
- package/build/features/connect/screens/NID/DOB.js +6 -6
- package/build/features/connect/screens/NID/IDNumber.js +7 -7
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.js +24 -11
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.js +23 -25
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.js +18 -6
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connect/screens/OperatorError/index.js +2 -0
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.js +19 -4
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +5 -5
- package/build/features/connectExpress/ConnectExpress.d.ts +3 -4
- package/build/features/connectExpress/ConnectExpress.js +95 -27
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +15 -3
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.d.ts +11 -0
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +101 -0
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +10 -0
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.js +81 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +11 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +133 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/connectExpress/screens/AuthenticationList/index.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/index.js +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +17 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.js +58 -0
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.js +9 -9
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +105 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.js +18 -11
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +13 -8
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +9 -8
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +6 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +14 -11
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +20 -12
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +21 -23
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +17 -16
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +13 -13
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +73 -6
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +16 -13
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +7 -7
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +18 -15
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +5 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +9 -4
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +5 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +13 -13
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +9 -7
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +5 -5
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.js +18 -14
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +26 -20
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.js +9 -9
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.js +2 -2
- package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
- package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NID/DOB.js +6 -6
- package/build/features/connectExpress/screens/NID/IDNumber.js +9 -9
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +14 -10
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
- package/build/features/connectExpress/screens/NID/TAC.js +10 -10
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/DOB.js +6 -6
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +12 -8
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.js +13 -10
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +10 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -0
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +12 -12
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.js +8 -6
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +18 -9
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +4 -4
- package/build/features/entity/Entity.d.ts +3 -3
- package/build/features/entity/Entity.js +19 -14
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +10 -25
- package/build/features/entity/screens/EntityCapital/ActivityList.js +24 -22
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +11 -17
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +9 -13
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +11 -17
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +8 -8
- package/build/features/entity/screens/EntityCapital/validation.d.ts +90 -90
- package/build/features/entity/screens/EntityCapital/validation.js +2 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -4
- package/build/features/entity/screens/EntityName/Article.js +7 -7
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.js +21 -14
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +16 -31
- package/build/features/entity/screens/EntityName/EntityTypeList.js +23 -23
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/ExpiryDate.js +12 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.js +11 -12
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LegalName.js +7 -19
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -3
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -8
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.js +18 -19
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +11 -13
- package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
- package/build/features/entity/screens/EntityName/validation.js +42 -13
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.js +3 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -6
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.js +7 -5
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.js +9 -9
- package/build/features/featuresScreens.d.ts +2 -1
- package/build/features/featuresScreens.js +136 -79
- package/build/features/individual/Individual.d.ts +3 -3
- package/build/features/individual/Individual.js +19 -14
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +15 -15
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +14 -22
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +94 -46
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +8 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +11 -19
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +4 -4
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +2 -2
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -3
- package/build/features/individual/screens/IndividualList/Email.d.ts +2 -2
- package/build/features/individual/screens/IndividualList/Email.js +9 -9
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/IndividualList.js +8 -8
- package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/MobileNumber.js +17 -14
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/UserList.js +11 -11
- package/build/features/individual/screens/IndividualList/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/validation.js +9 -4
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +10 -18
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +9 -17
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +7 -7
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +6 -6
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +11 -7
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +12 -11
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +9 -17
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +16 -13
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +5 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +9 -17
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +73 -64
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +18 -15
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +10 -9
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +8 -3
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.js +3 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -6
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.js +7 -5
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.js +9 -9
- package/build/features/password/Password.d.ts +3 -3
- package/build/features/password/Password.js +33 -18
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.js +11 -10
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.js +6 -6
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTP.js +10 -10
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.js +7 -4
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/Success/Success.js +4 -4
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -6
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.js +7 -5
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.js +9 -9
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
- package/build/features/shared/Address/Address.d.ts +2 -3
- package/build/features/shared/Address/Address.js +2 -2
- package/build/features/shared/Address/CountryList.d.ts +15 -31
- package/build/features/shared/Address/CountryList.js +7 -7
- package/build/features/shared/Address/InputSelect.d.ts +14 -30
- package/build/features/shared/Address/InputSelect.js +8 -8
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/Background.js +2 -2
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.js +3 -3
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +14 -0
- package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
- package/build/features/shared/BusinessCountry/index.d.ts +2 -0
- package/build/features/shared/BusinessCountry/index.js +2 -0
- package/build/features/shared/Button/AbsherButton.d.ts +2 -3
- package/build/features/shared/Button/AbsherButton.js +3 -3
- package/build/features/shared/Button/Button.d.ts +2 -3
- package/build/features/shared/Button/Button.js +15 -11
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -4
- package/build/features/shared/Button/EmailProvidersButtons.js +11 -4
- package/build/features/shared/Button/FlowsButtons.d.ts +6 -5
- package/build/features/shared/Button/FlowsButtons.js +22 -19
- package/build/features/shared/Button/IndividualActionButtons.d.ts +3 -3
- package/build/features/shared/Button/IndividualActionButtons.js +6 -6
- package/build/features/shared/Button/MobileButton.d.ts +2 -3
- package/build/features/shared/Button/MobileButton.js +3 -3
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +12 -0
- package/build/features/shared/Calender/Calender.js +56 -0
- package/build/features/shared/Calender/index.d.ts +2 -0
- package/build/features/shared/Calender/index.js +2 -0
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +4 -4
- package/build/features/shared/DataLoading/DataLoading.d.ts +4 -1
- package/build/features/shared/DataLoading/DataLoading.js +6 -6
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/CloseDialog.js +2 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dialog/DialogContainer.js +2 -2
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.js +2 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +2 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/Footer.js +14 -5
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/Footer/PoweredByFooter.js +3 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/GenericError/GenericError.js +4 -4
- package/build/features/shared/Input/Input.d.ts +8 -17
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/shared/Input/index.d.ts +2 -1
- package/build/features/shared/InputSelect/InputSelect.d.ts +3 -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/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/OTP/OTP.d.ts +2 -2
- package/build/features/shared/OTP/OTP.js +3 -3
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.js +5 -5
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +3 -3
- package/build/features/shared/PaciVerification/VerifyPACISuccess.js +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -3
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +9 -9
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +2 -2
- package/build/features/shared/SalesChannels/SalesChannel.js +6 -6
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/Search/Search.js +1 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +5 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +21 -22
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.js +7 -7
- package/build/features/shared/UploadFile/FileUpload.d.ts +5 -5
- package/build/features/shared/UploadFile/FileUpload.js +10 -10
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadFile/UploadFile.js +10 -10
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +5 -5
- package/build/features/shared/UploadFile/UploadWrapper.js +8 -8
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +5 -5
- package/build/features/shared/UploadMultipleFile/UploadFile.js +10 -10
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +5 -5
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +7 -7
- package/build/features/signIn/SignIn.d.ts +2 -3
- package/build/features/signIn/SignIn.js +11 -11
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Email/Email.js +10 -9
- package/build/features/signIn/screens/Email/EmailField.js +5 -5
- package/build/features/signIn/screens/Email/validation.js +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.js +11 -10
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +18 -15
- package/build/features/signIn/screens/Mobile/validation.js +8 -3
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.js +10 -10
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.js +7 -5
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.js +9 -8
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
- package/build/features/tax/Tax.d.ts +3 -3
- package/build/features/tax/Tax.js +19 -14
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.js +3 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -6
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -9
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -8
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/OTPInput.js +7 -5
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.js +9 -9
- package/build/hooks/useAppConfig.d.ts +4 -2
- package/build/hooks/useAppConfig.js +16 -17
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/hooks/useAppSelector.d.ts +1 -1
- package/build/hooks/useAppTheme.d.ts +1 -1
- package/build/hooks/useAppTheme.js +3 -3
- package/build/hooks/useCountry.d.ts +1 -0
- package/build/hooks/useCountry.js +4 -3
- package/build/hooks/useDataNoneEditable.d.ts +1 -1
- package/build/hooks/useDataNoneEditable.js +1 -1
- package/build/hooks/useDataVerified.d.ts +2 -2
- package/build/hooks/useDataVerified.js +1 -1
- package/build/hooks/useErrorListener.d.ts +2 -1
- package/build/hooks/useErrorListener.js +17 -2
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useExcludeReadOnlyFelids.js +1 -1
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.js +1 -1
- package/build/hooks/useLanguage.js +1 -1
- package/build/hooks/useRedirectionListener.js +1 -1
- package/build/hooks/useScreen.js +1 -1
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/hooks/useStepStartedListener.js +1 -1
- package/build/hooks/useVerifyToken.d.ts +1 -1
- package/build/hooks/useVerifyToken.js +3 -3
- package/build/i18n.js +1 -1
- package/build/index.css +140 -0
- package/build/index.d.ts +13 -12
- package/build/index.js +14 -12
- package/build/theme/theme.d.ts +1 -1
- package/build/utils/array.d.ts +5 -4
- package/build/utils/array.js +70 -4
- package/build/utils/common.d.ts +1 -0
- package/build/utils/common.js +10 -0
- package/build/utils/device.d.ts +2 -0
- package/build/utils/device.js +6 -0
- package/build/utils/gtm.d.ts +6 -0
- package/build/utils/gtm.js +29 -0
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/build/utils/locale.d.ts +1 -1
- package/build/utils/locale.js +1 -1
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +15 -1
- package/build/utils/rsa.js +1 -1
- package/build/utils/string.d.ts +2 -1
- package/build/utils/string.js +7 -4
- package/build/utils/validation.d.ts +2 -0
- package/build/utils/validation.js +6 -0
- package/package.json +4 -2
- package/build/features/brand/screens/BrandInfo/Segments.d.ts +0 -10
- package/build/features/connect/screens/Merchant/Segments.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
-
import { settingsSelector } from '
|
|
2
|
+
import { settingsSelector } from '../app/settings';
|
|
3
3
|
import { useAppSelector } from './useAppSelector';
|
|
4
4
|
export var useStepStartedListener = function () {
|
|
5
5
|
var settings = useAppSelector(settingsSelector);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { handleCurrentActiveScreen, handleLanguage } from '
|
|
2
|
-
import { getParameterByName } from '
|
|
1
|
+
import { handleCurrentActiveScreen, handleLanguage } from '../app/settings';
|
|
2
|
+
import { getParameterByName } from '../utils';
|
|
3
3
|
import { useAppDispatch } from './useAppDispatch';
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
5
|
export var useVerifyToken = function (_a) {
|
|
6
6
|
var verify = _a.verify, internalToken = _a.internalToken, navigation = _a.navigation, open = _a.open, settingLoading = _a.settingLoading, loadingScreenName = _a.loadingScreenName;
|
|
7
7
|
var dispatch = useAppDispatch();
|
|
8
8
|
var verifyTokenFun = function () {
|
|
9
|
-
var token = getParameterByName('token')
|
|
9
|
+
var token = internalToken ? internalToken : getParameterByName('token');
|
|
10
10
|
var lang = getParameterByName('lang');
|
|
11
11
|
if (lang)
|
|
12
12
|
dispatch(handleLanguage(lang));
|
package/build/i18n.js
CHANGED
|
@@ -2,7 +2,7 @@ import i18n from 'i18next';
|
|
|
2
2
|
import { initReactI18next } from 'react-i18next';
|
|
3
3
|
import Backend from 'i18next-http-backend';
|
|
4
4
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
5
|
-
import { LOCAL_STORAGE_KEYS } from '
|
|
5
|
+
import { LOCAL_STORAGE_KEYS } from './constants';
|
|
6
6
|
import translationEN from './assets/locales/en.json';
|
|
7
7
|
import translationAR from './assets/locales/ar.json';
|
|
8
8
|
var resources = {
|
package/build/index.css
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
|
|
2
|
+
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
|
|
3
|
+
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
|
|
4
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
|
|
5
|
+
@import url('https://fonts.googleapis.com/css?family=Tajawal&display=swap');
|
|
6
|
+
|
|
7
|
+
/* http://meyerweb.com/eric/tools/css/reset/
|
|
8
|
+
v2.0 | 20110126
|
|
9
|
+
License: none (public domain)
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
html,
|
|
13
|
+
body,
|
|
14
|
+
div,
|
|
15
|
+
span,
|
|
16
|
+
applet,
|
|
17
|
+
object,
|
|
18
|
+
iframe,
|
|
19
|
+
h1,
|
|
20
|
+
h2,
|
|
21
|
+
h3,
|
|
22
|
+
h4,
|
|
23
|
+
h5,
|
|
24
|
+
h6,
|
|
25
|
+
p,
|
|
26
|
+
blockquote,
|
|
27
|
+
pre,
|
|
28
|
+
a,
|
|
29
|
+
abbr,
|
|
30
|
+
acronym,
|
|
31
|
+
address,
|
|
32
|
+
big,
|
|
33
|
+
cite,
|
|
34
|
+
code,
|
|
35
|
+
del,
|
|
36
|
+
dfn,
|
|
37
|
+
em,
|
|
38
|
+
img,
|
|
39
|
+
ins,
|
|
40
|
+
kbd,
|
|
41
|
+
q,
|
|
42
|
+
s,
|
|
43
|
+
samp,
|
|
44
|
+
small,
|
|
45
|
+
strike,
|
|
46
|
+
strong,
|
|
47
|
+
sub,
|
|
48
|
+
sup,
|
|
49
|
+
tt,
|
|
50
|
+
var,
|
|
51
|
+
b,
|
|
52
|
+
u,
|
|
53
|
+
i,
|
|
54
|
+
center,
|
|
55
|
+
dl,
|
|
56
|
+
dt,
|
|
57
|
+
dd,
|
|
58
|
+
ol,
|
|
59
|
+
ul,
|
|
60
|
+
li,
|
|
61
|
+
fieldset,
|
|
62
|
+
form,
|
|
63
|
+
label,
|
|
64
|
+
legend,
|
|
65
|
+
table,
|
|
66
|
+
caption,
|
|
67
|
+
tbody,
|
|
68
|
+
tfoot,
|
|
69
|
+
thead,
|
|
70
|
+
tr,
|
|
71
|
+
th,
|
|
72
|
+
td,
|
|
73
|
+
article,
|
|
74
|
+
aside,
|
|
75
|
+
canvas,
|
|
76
|
+
details,
|
|
77
|
+
embed,
|
|
78
|
+
figure,
|
|
79
|
+
figcaption,
|
|
80
|
+
footer,
|
|
81
|
+
header,
|
|
82
|
+
hgroup,
|
|
83
|
+
menu,
|
|
84
|
+
nav,
|
|
85
|
+
output,
|
|
86
|
+
ruby,
|
|
87
|
+
section,
|
|
88
|
+
summary,
|
|
89
|
+
time,
|
|
90
|
+
mark,
|
|
91
|
+
audio,
|
|
92
|
+
video {
|
|
93
|
+
margin: 0;
|
|
94
|
+
padding: 0;
|
|
95
|
+
border: 0;
|
|
96
|
+
font-size: 100%;
|
|
97
|
+
font: inherit;
|
|
98
|
+
vertical-align: baseline;
|
|
99
|
+
}
|
|
100
|
+
/* HTML5 display-role reset for older browsers */
|
|
101
|
+
article,
|
|
102
|
+
aside,
|
|
103
|
+
details,
|
|
104
|
+
figcaption,
|
|
105
|
+
figure,
|
|
106
|
+
footer,
|
|
107
|
+
header,
|
|
108
|
+
hgroup,
|
|
109
|
+
menu,
|
|
110
|
+
nav,
|
|
111
|
+
section {
|
|
112
|
+
display: block;
|
|
113
|
+
}
|
|
114
|
+
body {
|
|
115
|
+
line-height: 1;
|
|
116
|
+
overflow-y: hidden;
|
|
117
|
+
}
|
|
118
|
+
ol,
|
|
119
|
+
ul {
|
|
120
|
+
list-style: none;
|
|
121
|
+
}
|
|
122
|
+
blockquote,
|
|
123
|
+
q {
|
|
124
|
+
quotes: none;
|
|
125
|
+
}
|
|
126
|
+
blockquote:before,
|
|
127
|
+
blockquote:after,
|
|
128
|
+
q:before,
|
|
129
|
+
q:after {
|
|
130
|
+
content: '';
|
|
131
|
+
content: none;
|
|
132
|
+
}
|
|
133
|
+
table {
|
|
134
|
+
border-collapse: collapse;
|
|
135
|
+
border-spacing: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
* {
|
|
139
|
+
box-sizing: border-box;
|
|
140
|
+
}
|
package/build/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import './i18n';
|
|
3
|
-
import { ConnectElement, ConnectLibProps } from '
|
|
4
|
-
import { ConnectExpressElement, ConnectExpressLibProps } from '
|
|
5
|
-
import { BusinessElement, BusinessLibProps } from '
|
|
6
|
-
import { PasswordElement, PasswordLibProps } from '
|
|
7
|
-
import { IndividualElement, IndividualLibProps } from '
|
|
8
|
-
import { BankElement, BankLibProps } from '
|
|
9
|
-
import { TaxElement, TaxLibProps } from '
|
|
10
|
-
import { SignInElement, SignInLibProps } from '
|
|
11
|
-
import { EntityElement, EntityLibProps } from '
|
|
12
|
-
import { BrandElement, BrandLibProps } from '
|
|
13
|
-
|
|
14
|
-
export {
|
|
3
|
+
import { ConnectElement, ConnectLibProps } from './features/connect';
|
|
4
|
+
import { ConnectExpressElement, ConnectExpressLibProps } from './features/connectExpress';
|
|
5
|
+
import { BusinessElement, BusinessLibProps } from './features/business';
|
|
6
|
+
import { PasswordElement, PasswordLibProps } from './features/password';
|
|
7
|
+
import { IndividualElement, IndividualLibProps } from './features/individual';
|
|
8
|
+
import { BankElement, BankLibProps } from './features/bank';
|
|
9
|
+
import { TaxElement, TaxLibProps } from './features/tax';
|
|
10
|
+
import { SignInElement, SignInLibProps } from './features/signIn';
|
|
11
|
+
import { EntityElement, EntityLibProps } from './features/entity';
|
|
12
|
+
import { BrandElement, BrandLibProps } from './features/brand';
|
|
13
|
+
import { BoardLibProps, BoardElement } from './features/board';
|
|
14
|
+
export type { ConnectLibProps, ConnectExpressLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, EntityLibProps, BrandLibProps, SignInLibProps, BoardLibProps };
|
|
15
|
+
export { ConnectElement, ConnectExpressElement, BusinessElement, PasswordElement, IndividualElement, BankElement, TaxElement, EntityElement, BrandElement, SignInElement, BoardElement };
|
package/build/index.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import './i18n';
|
|
3
|
-
import { ConnectElement, renderConnectLib } from '
|
|
4
|
-
import { ConnectExpressElement, renderConnectExpressLib } from '
|
|
5
|
-
import { BusinessElement, renderBusinessLib } from '
|
|
6
|
-
import { PasswordElement, renderPasswordLib } from '
|
|
7
|
-
import { IndividualElement, renderIndividualLib } from '
|
|
8
|
-
import { BankElement, renderBankLib } from '
|
|
9
|
-
import { TaxElement, renderTaxLib } from '
|
|
10
|
-
import { SignInElement, renderSignInLib } from '
|
|
11
|
-
import { EntityElement, renderEntityLib } from '
|
|
12
|
-
import { BrandElement, renderBrandLib } from '
|
|
13
|
-
|
|
3
|
+
import { ConnectElement, renderConnectLib } from './features/connect';
|
|
4
|
+
import { ConnectExpressElement, renderConnectExpressLib } from './features/connectExpress';
|
|
5
|
+
import { BusinessElement, renderBusinessLib } from './features/business';
|
|
6
|
+
import { PasswordElement, renderPasswordLib } from './features/password';
|
|
7
|
+
import { IndividualElement, renderIndividualLib } from './features/individual';
|
|
8
|
+
import { BankElement, renderBankLib } from './features/bank';
|
|
9
|
+
import { TaxElement, renderTaxLib } from './features/tax';
|
|
10
|
+
import { SignInElement, renderSignInLib } from './features/signIn';
|
|
11
|
+
import { EntityElement, renderEntityLib } from './features/entity';
|
|
12
|
+
import { BrandElement, renderBrandLib } from './features/brand';
|
|
13
|
+
import { BoardElement, renderBoardLib } from './features/board';
|
|
14
|
+
export { ConnectElement, ConnectExpressElement, BusinessElement, PasswordElement, IndividualElement, BankElement, TaxElement, EntityElement, BrandElement, SignInElement, BoardElement };
|
|
14
15
|
window['TapAuth'] = {
|
|
15
16
|
renderConnectLib: renderConnectLib,
|
|
16
17
|
renderConnectExpressLib: renderConnectExpressLib,
|
|
@@ -21,6 +22,7 @@ window['TapAuth'] = {
|
|
|
21
22
|
renderTaxLib: renderTaxLib,
|
|
22
23
|
renderEntityLib: renderEntityLib,
|
|
23
24
|
renderBrandLib: renderBrandLib,
|
|
24
|
-
renderSignInLib: renderSignInLib
|
|
25
|
+
renderSignInLib: renderSignInLib,
|
|
26
|
+
renderBoardLib: renderBoardLib
|
|
25
27
|
};
|
|
26
28
|
console.log("TapAuth version: ".concat(require('../package.json').version));
|
package/build/theme/theme.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DirectionMode, ThemeMode } from '
|
|
1
|
+
import { DirectionMode, ThemeMode } from '../@types';
|
|
2
2
|
export declare const appTheme: (mode: ThemeMode, isMobile: boolean, dir: DirectionMode) => import("@mui/material/styles").Theme;
|
package/build/utils/array.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivitiesIsIc, Activity, ActivityParams, CountryCode, SaleChannel, User } from '
|
|
1
|
+
import { ActivitiesIsIc, Activity, ActivityParams, CountryCode, SaleChannel, User } from '../@types';
|
|
2
2
|
export declare const isArray: (value: any) => value is any[];
|
|
3
3
|
export declare const joinArray: (items: Array<any>, joiner?: string) => string;
|
|
4
4
|
export declare const replaceStringArrayItems: (items: Array<string>, include: string, withThis: string) => string[];
|
|
@@ -14,7 +14,7 @@ export declare const findCountryByIso2: (countries: Array<CountryCode>, iso2: st
|
|
|
14
14
|
export declare const findCurrencyByIso2: (code: string) => "" | "SAR" | "KD";
|
|
15
15
|
export declare const findCountryByIddPrefix: (countries: Array<CountryCode>, iddPrefix: string) => CountryCode | undefined;
|
|
16
16
|
export declare const mapSalesChannel: (salesChannel: Array<SaleChannel>) => {
|
|
17
|
-
sub?: import("
|
|
17
|
+
sub?: import("../@types").SubSaleChannel[] | undefined;
|
|
18
18
|
address: string;
|
|
19
19
|
id: string;
|
|
20
20
|
code: string;
|
|
@@ -44,7 +44,7 @@ export declare const mapBrandSalesChannel: (salesChannel: Array<SaleChannel>, br
|
|
|
44
44
|
address?: string | undefined;
|
|
45
45
|
logo?: string | undefined;
|
|
46
46
|
} | {
|
|
47
|
-
sub?: import("
|
|
47
|
+
sub?: import("../@types").SubSaleChannel[] | undefined;
|
|
48
48
|
id: string;
|
|
49
49
|
code: string;
|
|
50
50
|
name?: {
|
|
@@ -61,7 +61,7 @@ export declare const fixBrandList: (items: Array<{
|
|
|
61
61
|
channel_services: any[];
|
|
62
62
|
}[];
|
|
63
63
|
export declare const findFirstId: (items: Array<SaleChannel>) => string;
|
|
64
|
-
export declare const sortActivitiesByName: (items: Array<
|
|
64
|
+
export declare const sortActivitiesByName: (items: Array<ActivityParams>, path: string) => ActivityParams[];
|
|
65
65
|
export declare const getFileDetailsFromDocument: (documents: Array<any>, purpose: string) => any;
|
|
66
66
|
export declare const getRecentDocumentBasedOnPurpose: (documents: Array<any>, purpose: string) => any;
|
|
67
67
|
export declare const findInArrayOrSubArray: (items: Array<any>, value: string | number) => null;
|
|
@@ -76,3 +76,4 @@ export declare const getIndividualType: (objects: Array<string>) => {
|
|
|
76
76
|
isBuyer: boolean;
|
|
77
77
|
isCustomer: boolean;
|
|
78
78
|
};
|
|
79
|
+
export declare function retrieveIndividualData(type: string, boardData: any, serviceCallback: () => Promise<any>): Promise<any>;
|
package/build/utils/array.js
CHANGED
|
@@ -9,6 +9,42 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
15
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
16
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
17
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
18
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
|
+
function step(op) {
|
|
26
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
28
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
|
+
switch (op[0]) {
|
|
31
|
+
case 0: case 1: t = op; break;
|
|
32
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
33
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
34
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
35
|
+
default:
|
|
36
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
37
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
38
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
39
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
40
|
+
if (t[2]) _.ops.pop();
|
|
41
|
+
_.trys.pop(); continue;
|
|
42
|
+
}
|
|
43
|
+
op = body.call(thisArg, _);
|
|
44
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
45
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
46
|
+
}
|
|
47
|
+
};
|
|
12
48
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
49
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
50
|
if (ar || !(i in from)) {
|
|
@@ -19,7 +55,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
19
55
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
56
|
};
|
|
21
57
|
import get from 'lodash-es/get';
|
|
22
|
-
import { IndividualType } from '
|
|
58
|
+
import { IndividualType } from '../@types';
|
|
23
59
|
export var isArray = function (value) { return Array.isArray(value); };
|
|
24
60
|
export var joinArray = function (items, joiner) {
|
|
25
61
|
if (joiner === void 0) { joiner = '__'; }
|
|
@@ -156,7 +192,7 @@ export var getFileDetailsFromDocument = function (documents, purpose) {
|
|
|
156
192
|
if ((documents || []).length === 0)
|
|
157
193
|
return [];
|
|
158
194
|
return documents.reduce(function (acc, document) {
|
|
159
|
-
var fileDetails = (document.file_details || []).filter(function (file) { return file.purpose
|
|
195
|
+
var fileDetails = (document.file_details || []).filter(function (file) { return purpose.includes(file.purpose); });
|
|
160
196
|
return acc.concat(fileDetails.map(function (f) { return (__assign(__assign({}, f), { docId: document.id })); }));
|
|
161
197
|
}, []);
|
|
162
198
|
};
|
|
@@ -164,14 +200,14 @@ export var getRecentDocumentBasedOnPurpose = function (documents, purpose) {
|
|
|
164
200
|
if ((documents || []).length === 0)
|
|
165
201
|
return [];
|
|
166
202
|
var filteredByPurpose = documents.filter(function (doc) {
|
|
167
|
-
return
|
|
203
|
+
return purpose.includes(doc.type);
|
|
168
204
|
});
|
|
169
205
|
if ((filteredByPurpose || []).length > 0) {
|
|
170
206
|
return filteredByPurpose.sort(function (a, b) { return b.created - a.created; })[0];
|
|
171
207
|
}
|
|
172
208
|
else {
|
|
173
209
|
return documents
|
|
174
|
-
.filter(function (doc) { var _a; return !((_a = doc.file_details) === null || _a === void 0 ? void 0 : _a.length) &&
|
|
210
|
+
.filter(function (doc) { var _a; return !((_a = doc.file_details) === null || _a === void 0 ? void 0 : _a.length) && doc.id; })
|
|
175
211
|
.sort(function (a, b) { return b.created - a.created; })[0];
|
|
176
212
|
}
|
|
177
213
|
};
|
|
@@ -298,3 +334,33 @@ export var getIndividualType = function (objects) {
|
|
|
298
334
|
});
|
|
299
335
|
return { isUser: isUser, isShareholder: isShareholder, isBoardMember: isBoardMember, isBuyer: isBuyer, isCustomer: isCustomer };
|
|
300
336
|
};
|
|
337
|
+
export function retrieveIndividualData(type, boardData, serviceCallback) {
|
|
338
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
339
|
+
var _a, isShareholder, isBoardMember, isBuyer, isCustomer, data, individualRes, _b, data_state, is_authorized, boardRes, individuals;
|
|
340
|
+
return __generator(this, function (_c) {
|
|
341
|
+
switch (_c.label) {
|
|
342
|
+
case 0:
|
|
343
|
+
_a = getIndividualType([type]), isShareholder = _a.isShareholder, isBoardMember = _a.isBoardMember, isBuyer = _a.isBuyer, isCustomer = _a.isCustomer;
|
|
344
|
+
return [4, serviceCallback()];
|
|
345
|
+
case 1:
|
|
346
|
+
data = _c.sent();
|
|
347
|
+
individualRes = data === null || data === void 0 ? void 0 : data.user;
|
|
348
|
+
if (isShareholder)
|
|
349
|
+
individualRes = data === null || data === void 0 ? void 0 : data.shareholder;
|
|
350
|
+
else if (isBoardMember)
|
|
351
|
+
individualRes = data === null || data === void 0 ? void 0 : data.board_member;
|
|
352
|
+
else if (isBuyer)
|
|
353
|
+
individualRes = data === null || data === void 0 ? void 0 : data.buyer;
|
|
354
|
+
else if (isCustomer)
|
|
355
|
+
individualRes = data === null || data === void 0 ? void 0 : data.customer;
|
|
356
|
+
_b = individualRes || {}, data_state = _b.data_state, is_authorized = _b.is_authorized;
|
|
357
|
+
boardRes = boardData || {};
|
|
358
|
+
if (!is_authorized) {
|
|
359
|
+
individuals = (boardRes || {}).individuals;
|
|
360
|
+
boardRes = __assign(__assign(__assign({}, boardRes), (!is_authorized && { user: individualRes })), { individuals: __assign(__assign({}, individuals), (!!data_state && { data_state: data_state })) });
|
|
361
|
+
}
|
|
362
|
+
return [2, { boardRes: boardRes, individualRes: individualRes }];
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
});
|
|
366
|
+
}
|
package/build/utils/common.d.ts
CHANGED
package/build/utils/common.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { axiosInstance } from '../api';
|
|
2
|
+
import { ENDPOINT_PATHS } from '../constants';
|
|
1
3
|
export var sleep = function (milliseconds) {
|
|
2
4
|
if (milliseconds === void 0) { milliseconds = 1000; }
|
|
3
5
|
return new Promise(function (resolve) { return setTimeout(resolve, milliseconds); });
|
|
@@ -8,3 +10,11 @@ export var dangerousMessage = function (message, callBack) {
|
|
|
8
10
|
}
|
|
9
11
|
callBack === null || callBack === void 0 ? void 0 : callBack({ message: message });
|
|
10
12
|
};
|
|
13
|
+
export var setBaseUrl = function (publicKey) {
|
|
14
|
+
var isProd = publicKey.includes('pk_live');
|
|
15
|
+
if (isProd) {
|
|
16
|
+
axiosInstance.defaults.baseURL = ENDPOINT_PATHS.PRODUCTION_BASE_URL;
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
axiosInstance.defaults.baseURL = ENDPOINT_PATHS.SANDBOX_BASE_URL;
|
|
20
|
+
};
|
package/build/utils/device.d.ts
CHANGED
|
@@ -3,3 +3,5 @@ import { GetResult } from '@fingerprintjs/fingerprintjs';
|
|
|
3
3
|
export declare const getBrowserInfo: () => DeviceDetectorResult;
|
|
4
4
|
export declare const getFingerPrint: () => Promise<GetResult>;
|
|
5
5
|
export declare const mobileOS: () => 'Windows Phone' | 'Android' | 'iOS' | 'unknown';
|
|
6
|
+
export declare function getUserLanguage(): string;
|
|
7
|
+
export declare const userTextDirection: string;
|
package/build/utils/device.js
CHANGED
|
@@ -24,3 +24,9 @@ export var mobileOS = function () {
|
|
|
24
24
|
}
|
|
25
25
|
return 'unknown';
|
|
26
26
|
};
|
|
27
|
+
export function getUserLanguage() {
|
|
28
|
+
if (!navigator.language || (navigator.language !== 'ar' && navigator.language !== 'en'))
|
|
29
|
+
return 'en';
|
|
30
|
+
return navigator.language.substring(0, 2);
|
|
31
|
+
}
|
|
32
|
+
export var userTextDirection = document.documentElement.dir;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CountryTrackingData, DataLayer, LeadIdentificationData, PageTrackingData, EventPageTrackingData } from '../@types';
|
|
2
|
+
export declare const pushToDataLayer: (data: DataLayer | CountryTrackingData | LeadIdentificationData | EventPageTrackingData) => void;
|
|
3
|
+
export declare const initializeGTM: () => void;
|
|
4
|
+
export declare const sendCustomEventToGTM: (data: DataLayer) => void;
|
|
5
|
+
export declare const sendCustomDimension: (data: CountryTrackingData | LeadIdentificationData | EventPageTrackingData) => void;
|
|
6
|
+
export declare const sendPageView: (data: PageTrackingData) => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import TagManager from 'react-gtm-module';
|
|
13
|
+
export var pushToDataLayer = function (data) {
|
|
14
|
+
if (window.dataLayer) {
|
|
15
|
+
window.dataLayer.push(data);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export var initializeGTM = function () {
|
|
19
|
+
TagManager.initialize({ gtmId: 'GTM-5RR5CKD' });
|
|
20
|
+
};
|
|
21
|
+
export var sendCustomEventToGTM = function (data) {
|
|
22
|
+
pushToDataLayer(__assign({ event_value: 0, event_noninteraction: 0, event_label: '' }, data));
|
|
23
|
+
};
|
|
24
|
+
export var sendCustomDimension = function (data) {
|
|
25
|
+
pushToDataLayer(data);
|
|
26
|
+
};
|
|
27
|
+
export var sendPageView = function (data) {
|
|
28
|
+
sendCustomDimension(__assign({ event: 'PageView' }, data));
|
|
29
|
+
};
|
package/build/utils/index.d.ts
CHANGED
package/build/utils/index.js
CHANGED
package/build/utils/locale.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { LocalProps } from '
|
|
1
|
+
import { LocalProps } from '../@types';
|
|
2
2
|
export declare const updateLocale: (locale: LocalProps, country: string) => void;
|
package/build/utils/locale.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { initReactI18next } from 'react-i18next';
|
|
2
|
-
import i18n from '
|
|
2
|
+
import i18n from '../i18n';
|
|
3
3
|
export var updateLocale = function (locale, country) {
|
|
4
4
|
var data = locale['SA'] || locale[country.toUpperCase()] || locale['default'];
|
|
5
5
|
if (i18n.isInitialized) {
|
package/build/utils/object.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export declare const hasKeyValue: (obj: any, path: string, value: string | numbe
|
|
|
7
7
|
export declare const hasNoneEditableValue: (obj: any, path: string) => boolean;
|
|
8
8
|
export declare const hasEditableValue: (obj: any, path: string) => boolean;
|
|
9
9
|
export declare const hasVerifiedValue: (obj: any, path: string) => boolean;
|
|
10
|
+
export declare function deepCopy(obj: any): any;
|
package/build/utils/object.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { get } from 'lodash-es';
|
|
2
|
-
import { FieldType, VerificationStatus } from '
|
|
2
|
+
import { FieldType, VerificationStatus } from '../@types';
|
|
3
3
|
export var compareTwoObjects = function (obj1, obj2) {
|
|
4
4
|
if (obj1 === obj2)
|
|
5
5
|
return true;
|
|
@@ -50,3 +50,17 @@ export var hasVerifiedValue = function (obj, path) {
|
|
|
50
50
|
var value = VerificationStatus.VERIFIED;
|
|
51
51
|
return hasKeyValue(obj, path, value);
|
|
52
52
|
};
|
|
53
|
+
export function deepCopy(obj) {
|
|
54
|
+
if (typeof obj !== 'object' || obj === null) {
|
|
55
|
+
return obj;
|
|
56
|
+
}
|
|
57
|
+
if (Array.isArray(obj)) {
|
|
58
|
+
return obj.map(function (item) { return deepCopy(item); });
|
|
59
|
+
}
|
|
60
|
+
var newObj = {};
|
|
61
|
+
for (var key in obj) {
|
|
62
|
+
var value = obj[key];
|
|
63
|
+
newObj[key] = deepCopy(value);
|
|
64
|
+
}
|
|
65
|
+
return newObj;
|
|
66
|
+
}
|
package/build/utils/rsa.js
CHANGED
package/build/utils/string.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeviceInfo, License, User } from '
|
|
1
|
+
import { DeviceInfo, License, User } from '../@types';
|
|
2
2
|
export declare const maskPhone: (str?: string) => string;
|
|
3
3
|
export declare const shortenString: (str: string, length: number) => string;
|
|
4
4
|
export declare const maskID: (str: string) => string;
|
|
@@ -46,6 +46,7 @@ export declare const getScreenNameBasedOnFlow: (flow: string, isAuthorizedUser?:
|
|
|
46
46
|
export declare const getEighteenYearsAgo: () => string;
|
|
47
47
|
export declare const isKW: (flag: string) => boolean;
|
|
48
48
|
export declare const isSA: (flag: string) => boolean;
|
|
49
|
+
export declare const isOtherThanKWOrSA: (flag: string) => boolean;
|
|
49
50
|
export declare const isLinkedIn: (flag: string) => boolean;
|
|
50
51
|
export declare const isTwitter: (flag: string) => boolean;
|
|
51
52
|
export declare const isWebsite: (flag: string) => boolean;
|
package/build/utils/string.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FlowsTypes } from '
|
|
2
|
-
import { concatenateObjectValues, encryptString } from '
|
|
3
|
-
import { removeAxiosGlobalHeaders } from '
|
|
4
|
-
import { ENDPOINT_PATHS, ICONS_FULL_PATH } from '
|
|
1
|
+
import { FlowsTypes } from '../@types';
|
|
2
|
+
import { concatenateObjectValues, encryptString } from '.';
|
|
3
|
+
import { removeAxiosGlobalHeaders } from '../api';
|
|
4
|
+
import { ENDPOINT_PATHS, ICONS_FULL_PATH } from '../constants';
|
|
5
5
|
import moment from 'moment';
|
|
6
6
|
export var maskPhone = function (str) {
|
|
7
7
|
if (str === void 0) { str = ''; }
|
|
@@ -206,6 +206,9 @@ export var isKW = function (flag) {
|
|
|
206
206
|
export var isSA = function (flag) {
|
|
207
207
|
return ['sa', 'sau'].includes(flag === null || flag === void 0 ? void 0 : flag.toLowerCase());
|
|
208
208
|
};
|
|
209
|
+
export var isOtherThanKWOrSA = function (flag) {
|
|
210
|
+
return !isKW(flag) && !isSA(flag);
|
|
211
|
+
};
|
|
209
212
|
export var isLinkedIn = function (flag) {
|
|
210
213
|
return 'linkedin' === (flag === null || flag === void 0 ? void 0 : flag.toLowerCase());
|
|
211
214
|
};
|
|
@@ -6,6 +6,8 @@ export declare const removeAllOtherThanAlphabetAndSpace: (str: string) => string
|
|
|
6
6
|
export declare const removeAllNumberFromChars: (str: string) => string;
|
|
7
7
|
export declare const keepEmailCharacters: (str: string) => string;
|
|
8
8
|
export declare const removeAllOtherThanCharsAndNumber: (str: string) => string;
|
|
9
|
+
export declare const removeAllOtherThanCharsNumberSlashAndHyphen: (str: string) => string;
|
|
10
|
+
export declare const removeAllOtherThanCharsNumbersAtAndDot: (str: string) => string;
|
|
9
11
|
export declare const removeAllOtherThanCharsNumbersAndSpace: (str: string) => string;
|
|
10
12
|
export declare function PasswordMatchLength(password: string): boolean;
|
|
11
13
|
export declare function isPasswordHasUpperLetter(password: string): boolean;
|
|
@@ -22,6 +22,12 @@ export var keepEmailCharacters = function (str) {
|
|
|
22
22
|
export var removeAllOtherThanCharsAndNumber = function (str) {
|
|
23
23
|
return str.replace(/[^A-Za-z0-9]/g, '');
|
|
24
24
|
};
|
|
25
|
+
export var removeAllOtherThanCharsNumberSlashAndHyphen = function (str) {
|
|
26
|
+
return str.replace(/[^A-Za-z0-9/-]/g, '');
|
|
27
|
+
};
|
|
28
|
+
export var removeAllOtherThanCharsNumbersAtAndDot = function (str) {
|
|
29
|
+
return str.replace(/[^A-Za-z0-9@.]/g, '');
|
|
30
|
+
};
|
|
25
31
|
export var removeAllOtherThanCharsNumbersAndSpace = function (str) {
|
|
26
32
|
return str.replace(/[^A-Za-z0-9 ]/g, '');
|
|
27
33
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/auth-jsconnect",
|
|
3
|
-
"version": "2.4.29
|
|
3
|
+
"version": "2.4.29",
|
|
4
4
|
"description": "connect library, auth",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"copy:files": "copyfiles -u 1 src/**/*.css build/",
|
|
22
22
|
"tsc:alias": "tsc-alias -p tsconfig.json",
|
|
23
23
|
"ts:build": "rm -rf build && tsc -p tsconfig.json && tsc-alias -p tsconfig.json && yarn copy:files",
|
|
24
|
-
"push": "npm publish --access public
|
|
24
|
+
"push": "npm publish --access public"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [],
|
|
27
27
|
"author": {
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"@types/react": "^18.0.15",
|
|
39
39
|
"@types/react-calendar": "~3.5.1",
|
|
40
40
|
"@types/react-dom": "^18.0.6",
|
|
41
|
+
"@types/react-gtm-module": "~2.0.1",
|
|
41
42
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
42
43
|
"@typescript-eslint/parser": "^5.30.5",
|
|
43
44
|
"babel-loader": "^8.2.5",
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
"react-device-detect": "^2.2.2",
|
|
96
97
|
"react-dom": "^18.2.0",
|
|
97
98
|
"react-dropzone": "^14.2.2",
|
|
99
|
+
"react-gtm-module": "^2.0.11",
|
|
98
100
|
"react-hook-form": "^7.33.1",
|
|
99
101
|
"react-i18next": "^11.18.1",
|
|
100
102
|
"react-multi-date-picker": "^3.3.4",
|