@tap-payments/auth-jsconnect 2.6.40-test → 2.6.46-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/availabilityServices.d.ts +1 -0
- package/build/app/settings.js +18 -12
- package/build/assets/locales/ar.json +2 -1
- package/build/assets/locales/en.json +2 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- 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/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 +1 -1
- 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 +1 -1
- 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/Warning/Warning.d.ts +1 -1
- package/build/constants/app.js +6 -0
- package/build/features/app/board/boardStore.d.ts +4 -1
- package/build/features/app/board/boardStore.js +30 -16
- package/build/features/app/connect/connectStore.d.ts +3 -17
- package/build/features/app/connect/connectStore.js +49 -122
- package/build/features/app/connectExpress/connectExpressStore.js +8 -5
- package/build/features/app/individual/individualStore.js +9 -6
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +14 -30
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -18
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -2
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +18 -42
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -18
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +1 -2
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +4 -0
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.js +3 -25
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
- package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
- package/build/features/connect/screens/BrandSegment/validation.js +0 -3
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/NID/DOB.d.ts +1 -2
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- 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/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +2 -2
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +14 -30
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.js +5 -0
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +5 -5
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- 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/OTPInput.d.ts +1 -1
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +13 -29
- package/build/features/shared/Address/InputSelect.d.ts +13 -29
- 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/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/Button/AbsherButton.d.ts +1 -2
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +1 -2
- package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -2
- 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/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- 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/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +2 -2
- package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -2
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
- package/build/hooks/useFormReadOnly.d.ts +1 -1
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/package.json +1 -1
- package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
package/build/app/settings.js
CHANGED
|
@@ -146,7 +146,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
|
|
|
146
146
|
});
|
|
147
147
|
}); });
|
|
148
148
|
export var onCloseComplete = createAsyncThunk('settings/onCloseComplete', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
149
|
-
var settings, _a, appConfig, authId, postURL, redirectUrl, bi, merchantId, brandId, entityId, body, data, urlQueryStart;
|
|
149
|
+
var settings, _a, appConfig, authId, postURL, redirectUrl, bi, merchantId, brandId, entityId, body, data, urlQueryStart, newUrl;
|
|
150
150
|
var _b, _c;
|
|
151
151
|
return __generator(this, function (_d) {
|
|
152
152
|
switch (_d.label) {
|
|
@@ -156,9 +156,10 @@ export var onCloseComplete = createAsyncThunk('settings/onCloseComplete', functi
|
|
|
156
156
|
postURL = appConfig.postURL, redirectUrl = appConfig.redirectUrl;
|
|
157
157
|
bi = settings.data.deviceInfo.browser.browser_id;
|
|
158
158
|
merchantId = params.merchantId, brandId = params.brandId, entityId = params.entityId;
|
|
159
|
+
if (!authId) return [3, 2];
|
|
159
160
|
body = {
|
|
160
161
|
post_url: postURL || '',
|
|
161
|
-
authentication_id: authId
|
|
162
|
+
authentication_id: authId,
|
|
162
163
|
bi: bi,
|
|
163
164
|
brand_id: brandId || '',
|
|
164
165
|
merchant_id: merchantId || '',
|
|
@@ -168,17 +169,22 @@ export var onCloseComplete = createAsyncThunk('settings/onCloseComplete', functi
|
|
|
168
169
|
case 1:
|
|
169
170
|
data = _d.sent();
|
|
170
171
|
(_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, data);
|
|
171
|
-
if (
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
return [2];
|
|
176
|
-
}
|
|
177
|
-
if (redirectUrl) {
|
|
178
|
-
urlQueryStart = redirectUrl.includes('?') ? '&' : '?';
|
|
179
|
-
window.open("".concat(redirectUrl).concat(urlQueryStart, "authentication_id=").concat(authId, "&bi=").concat(bi), '_self');
|
|
180
|
-
}
|
|
172
|
+
if (settings.data.appConfig.mode === 'popup') {
|
|
173
|
+
settings.data.appConfig.onFlowCompleted({ auth_id: authId, bi: bi });
|
|
174
|
+
thunkApi.dispatch(handleOpen(false));
|
|
175
|
+
return [2];
|
|
181
176
|
}
|
|
177
|
+
if (redirectUrl) {
|
|
178
|
+
urlQueryStart = redirectUrl.includes('?') ? '&' : '?';
|
|
179
|
+
window.open("".concat(redirectUrl).concat(urlQueryStart, "authentication_id=").concat(authId, "&bi=").concat(bi), '_self');
|
|
180
|
+
}
|
|
181
|
+
_d.label = 2;
|
|
182
|
+
case 2:
|
|
183
|
+
if (!redirectUrl)
|
|
184
|
+
return [2];
|
|
185
|
+
newUrl = new URL(redirectUrl);
|
|
186
|
+
newUrl.searchParams.append('action', 'close');
|
|
187
|
+
window.open("".concat(newUrl), '_self', '_blank');
|
|
182
188
|
return [2];
|
|
183
189
|
}
|
|
184
190
|
});
|
|
@@ -430,5 +430,6 @@
|
|
|
430
430
|
"select_terminal_placeholder": "الرجاء تحديد محطة طرفية",
|
|
431
431
|
"close_and_complete_later": "اغلق الان و اكمل لاحقا",
|
|
432
432
|
"country_list_title": "الرجاء تحديد بلدك",
|
|
433
|
-
"Choose_any_country": "بحث عن البلد ..."
|
|
433
|
+
"Choose_any_country": "بحث عن البلد ...",
|
|
434
|
+
"operator_is_invalid": "المشغل غير مصرح له"
|
|
434
435
|
}
|
|
@@ -460,5 +460,6 @@
|
|
|
460
460
|
"select_terminal_placeholder": "Please select a terminal",
|
|
461
461
|
"close_and_complete_later": "Close and Complete Later",
|
|
462
462
|
"country_list_title": "Please select your country",
|
|
463
|
-
"choose_any_country": "Search Country..."
|
|
463
|
+
"choose_any_country": "Search Country...",
|
|
464
|
+
"operator_is_invalid": "Operator is invalid"
|
|
464
465
|
}
|
|
@@ -17,4 +17,4 @@ export interface AnimationFlowProps {
|
|
|
17
17
|
isMaturityExpress?: boolean;
|
|
18
18
|
showTextLogo?: boolean;
|
|
19
19
|
}
|
|
20
|
-
export default function AnimationFlow({ open, children, breakpoint, type, loading, error, isTapOrigin, screenId, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo }: AnimationFlowProps): JSX.Element;
|
|
20
|
+
export default function AnimationFlow({ open, children, breakpoint, type, loading, error, isTapOrigin, screenId, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo }: AnimationFlowProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,5 +10,5 @@ export interface BottomSheetProps extends MainBottomSheetProps {
|
|
|
10
10
|
isMaturityExpress?: boolean;
|
|
11
11
|
merchantInfo?: MerchantInfo;
|
|
12
12
|
}
|
|
13
|
-
declare const _default: React.MemoExoticComponent<({ open, children, screenId, pointerEvents, isMaturityExpress, merchantInfo, ...rest }: BottomSheetProps) => JSX.Element>;
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ open, children, screenId, pointerEvents, isMaturityExpress, merchantInfo, ...rest }: BottomSheetProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
14
|
export default _default;
|
|
@@ -14,5 +14,5 @@ export interface DialogProps extends MUIDialogProps {
|
|
|
14
14
|
isMaturityExpress?: boolean;
|
|
15
15
|
showTextLogo?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const _default: React.MemoExoticComponent<({ open, children, transitionDuration, isTapOrigin, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo, ...rest }: DialogProps) => JSX.Element>;
|
|
17
|
+
declare const _default: React.MemoExoticComponent<({ open, children, transitionDuration, isTapOrigin, animationType, onClose, onConfirm, pointerEvents, merchantInfo, isMaturityExpress, showTextLogo, ...rest }: DialogProps) => import("react/jsx-runtime").JSX.Element>;
|
|
18
18
|
export default _default;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function FlowLoading(): JSX.Element;
|
|
1
|
+
export default function FlowLoading(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,5 +12,5 @@ export interface DatePickerProps extends CalendarProps {
|
|
|
12
12
|
isDob?: boolean;
|
|
13
13
|
isVerified?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: React.MemoExoticComponent<({ open, disabled, dir, readOnly, onDateChange, onClick, onDatePicked, value, isDob, isVerified, ...rest }: DatePickerProps) => JSX.Element>;
|
|
15
|
+
declare const _default: React.MemoExoticComponent<({ open, disabled, dir, readOnly, onDateChange, onClick, onDatePicked, value, isDob, isVerified, ...rest }: DatePickerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
16
16
|
export default _default;
|
|
@@ -8,7 +8,7 @@ export interface ButtonProps extends MUIButtonProps {
|
|
|
8
8
|
outLineColor?: string;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: React.MemoExoticComponent<{
|
|
11
|
-
({ children, startIcon, outLineColor, endIcon, ...rest }: ButtonProps): JSX.Element;
|
|
11
|
+
({ children, startIcon, outLineColor, endIcon, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
defaultProps: {};
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CheckboxProps } from '@mui/material/Checkbox/Checkbox';
|
|
3
3
|
export type { CheckboxProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ ...rest }: CheckboxProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CollapseProps as MUICollapseProps } from '@mui/material/Collapse';
|
|
3
2
|
export interface CollapseProps extends MUICollapseProps {
|
|
4
3
|
}
|
|
5
|
-
export default function Collapse({ children, ...rest }: CollapseProps): JSX.Element;
|
|
4
|
+
export default function Collapse({ children, ...rest }: CollapseProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -13,5 +13,5 @@ export interface DatePickerProps extends CalendarProps {
|
|
|
13
13
|
isDob?: boolean;
|
|
14
14
|
isVerified?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare const _default: React.MemoExoticComponent<({ onDateChange, disabled, readOnly, onClick, onDatePicked, dir, defaultValue, isDob, isVerified, open, ...rest }: DatePickerProps) => JSX.Element>;
|
|
16
|
+
declare const _default: React.MemoExoticComponent<({ onDateChange, disabled, readOnly, onClick, onDatePicked, dir, defaultValue, isDob, isVerified, open, ...rest }: DatePickerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
17
17
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
2
|
interface ExpandIconProps {
|
|
4
3
|
anchorEl?: boolean;
|
|
5
4
|
onClick?: () => void;
|
|
6
5
|
sx?: SxProps<Theme>;
|
|
7
6
|
}
|
|
8
|
-
export default function CustomExpandIcon(props: ExpandIconProps): JSX.Element;
|
|
7
|
+
export default function CustomExpandIcon(props: ExpandIconProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface DragAndDropProps {
|
|
3
2
|
title: string;
|
|
4
3
|
subTitle: string;
|
|
@@ -13,5 +12,5 @@ interface DragAndDropProps {
|
|
|
13
12
|
onSuccess?: (files: Array<File>) => void;
|
|
14
13
|
multiple?: boolean;
|
|
15
14
|
}
|
|
16
|
-
declare const DragAndDrop: ({ title, subTitle, description, error, uploadingTitle, successTitle, progress, uploading, fileExists, uploadSuccess, onSuccess, multiple }: DragAndDropProps) => JSX.Element;
|
|
15
|
+
declare const DragAndDrop: ({ title, subTitle, description, error, uploadingTitle, successTitle, progress, uploading, fileExists, uploadSuccess, onSuccess, multiple }: DragAndDropProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default DragAndDrop;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface UploadInputProps {
|
|
3
2
|
title: string;
|
|
4
3
|
onChange: (file: File) => void;
|
|
5
4
|
}
|
|
6
|
-
declare const UploadInput: ({ title, onChange }: UploadInputProps) => JSX.Element;
|
|
5
|
+
declare const UploadInput: ({ title, onChange }: UploadInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default UploadInput;
|
|
@@ -7,7 +7,7 @@ export interface FooterProps extends BoxProps {
|
|
|
7
7
|
countryFlag: string;
|
|
8
8
|
}
|
|
9
9
|
declare const _default: React.MemoExoticComponent<{
|
|
10
|
-
({ language, countryName, countryFlag, onSwitchLanguage, ...rest }: FooterProps): JSX.Element;
|
|
10
|
+
({ language, countryName, countryFlag, onSwitchLanguage, ...rest }: FooterProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
defaultProps: {
|
|
12
12
|
language: string;
|
|
13
13
|
};
|
|
@@ -3,7 +3,7 @@ import { BoxProps } from '@mui/material/Box';
|
|
|
3
3
|
export interface FormProps extends BoxProps {
|
|
4
4
|
}
|
|
5
5
|
declare const _default: React.MemoExoticComponent<{
|
|
6
|
-
({ children, ...rest }: FormProps): JSX.Element;
|
|
6
|
+
({ children, ...rest }: FormProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
defaultProps: {
|
|
8
8
|
onSubmit: () => void;
|
|
9
9
|
};
|
|
@@ -9,7 +9,7 @@ export interface InputFieldProps extends InputProps {
|
|
|
9
9
|
warningMessage?: string;
|
|
10
10
|
}
|
|
11
11
|
declare const _default: React.MemoExoticComponent<{
|
|
12
|
-
({ onEnterPressed, hide, endAdornment, startAdornment, warningType, warningMessage, ...rest }: InputFieldProps): JSX.Element;
|
|
12
|
+
({ onEnterPressed, hide, endAdornment, startAdornment, warningType, warningMessage, ...rest }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
defaultProps: {
|
|
14
14
|
hide: boolean;
|
|
15
15
|
placeholder: string;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { InputAdornmentProps } from '@mui/material/InputAdornment';
|
|
3
3
|
export type { InputAdornmentProps };
|
|
4
4
|
declare const _default: React.MemoExoticComponent<{
|
|
5
|
-
({ position, children, ...rest }: InputAdornmentProps<"div", {}>): JSX.Element;
|
|
5
|
+
({ position, children, ...rest }: InputAdornmentProps<"div", {}>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
defaultProps: {
|
|
7
7
|
position: string;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ListProps } from '@mui/material/List';
|
|
3
3
|
export type { ListProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ children, ...rest }: ListProps<"ul", {}>) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ children, ...rest }: ListProps<"ul", {}>) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ListItemProps } from '@mui/material/ListItem';
|
|
3
3
|
export type { ListItemProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ children, ...rest }: ListItemProps<"li", {}>) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ children, ...rest }: ListItemProps<"li", {}>) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -9,7 +9,7 @@ export interface LoaderProps {
|
|
|
9
9
|
svgStyle?: React.CSSProperties;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
declare function Loader(props: LoaderProps): JSX.Element;
|
|
12
|
+
declare function Loader(props: LoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare namespace Loader {
|
|
14
14
|
var defaultProps: {
|
|
15
15
|
outerColor: string;
|
|
@@ -3,5 +3,5 @@ import { BadgeProps } from '@mui/material/Badge';
|
|
|
3
3
|
export interface LogoBadgeProps extends BadgeProps {
|
|
4
4
|
src?: string;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ src, ...rest }: LogoBadgeProps) => JSX.Element>;
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ src, ...rest }: LogoBadgeProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -8,7 +8,7 @@ export interface OTPFieldProps {
|
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: React.MemoExoticComponent<{
|
|
11
|
-
({ length, value, autoFocus, isInputNum, disabled, ...rest }: OTPFieldProps): JSX.Element;
|
|
11
|
+
({ length, value, autoFocus, isInputNum, disabled, ...rest }: OTPFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
defaultProps: {
|
|
13
13
|
length: number;
|
|
14
14
|
autoFocus: boolean;
|
|
@@ -6,7 +6,7 @@ export interface OTPTimerProps extends BoxProps {
|
|
|
6
6
|
onResetClick?: () => void;
|
|
7
7
|
}
|
|
8
8
|
declare const _default: React.MemoExoticComponent<{
|
|
9
|
-
({ timeInSeconds, timeEndLabel, onResetClick, ...rest }: OTPTimerProps): JSX.Element;
|
|
9
|
+
({ timeInSeconds, timeEndLabel, onResetClick, ...rest }: OTPTimerProps): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
defaultProps: {
|
|
11
11
|
time: number;
|
|
12
12
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CircularProgressProps } from '@mui/material/CircularProgress';
|
|
3
2
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
3
|
export interface CircularProps extends CircularProgressProps {
|
|
@@ -6,7 +5,7 @@ export interface CircularProps extends CircularProgressProps {
|
|
|
6
5
|
value: number;
|
|
7
6
|
textSx?: SxProps<Theme>;
|
|
8
7
|
}
|
|
9
|
-
declare function CircularProgressWithLabel({ size, value, textSx, ...props }: CircularProps): JSX.Element;
|
|
8
|
+
declare function CircularProgressWithLabel({ size, value, textSx, ...props }: CircularProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
declare namespace CircularProgressWithLabel {
|
|
11
10
|
var defaultProps: {
|
|
12
11
|
size: number;
|
|
@@ -2,5 +2,5 @@ import * as React from 'react';
|
|
|
2
2
|
import { LinearProgressProps } from '@mui/material/LinearProgress';
|
|
3
3
|
export interface ProgressBarProps extends LinearProgressProps {
|
|
4
4
|
}
|
|
5
|
-
declare const _default: React.MemoExoticComponent<({ ...rest }: ProgressBarProps) => JSX.Element>;
|
|
5
|
+
declare const _default: React.MemoExoticComponent<({ ...rest }: ProgressBarProps) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
export default _default;
|
|
@@ -3,5 +3,5 @@ interface ReduxProviderProps {
|
|
|
3
3
|
store: any;
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export default function ReduxProvider({ store, children }: ReduxProviderProps): JSX.Element;
|
|
6
|
+
export default function ReduxProvider({ store, children }: ReduxProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -4,5 +4,5 @@ interface ThemeProviderProps {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
theme?: ThemContext;
|
|
6
6
|
}
|
|
7
|
-
export default function ThemeProvider({ children, theme }: ThemeProviderProps): JSX.Element;
|
|
7
|
+
export default function ThemeProvider({ children, theme }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { RadioProps } from '@mui/material/Radio';
|
|
3
3
|
export type { RadioProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<(props: RadioProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<(props: RadioProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -4,5 +4,5 @@ interface RadioGroupStyledProps extends RadioGroupProps {
|
|
|
4
4
|
readOnly?: boolean;
|
|
5
5
|
}
|
|
6
6
|
export type { RadioGroupStyledProps };
|
|
7
|
-
declare const _default: React.MemoExoticComponent<({ children, ...props }: RadioGroupStyledProps) => JSX.Element>;
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ children, ...props }: RadioGroupStyledProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
export default _default;
|
|
@@ -6,5 +6,5 @@ export interface RadioLabelProps {
|
|
|
6
6
|
control?: React.ReactElement<any, any>;
|
|
7
7
|
sx?: SxProps<Theme>;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: React.MemoExoticComponent<({ label, value, control, sx }: RadioLabelProps) => JSX.Element>;
|
|
9
|
+
declare const _default: React.MemoExoticComponent<({ label, value, control, sx }: RadioLabelProps) => import("react/jsx-runtime").JSX.Element>;
|
|
10
10
|
export default _default;
|
|
@@ -14,7 +14,7 @@ export interface SimpleListProps<T> extends ListProps {
|
|
|
14
14
|
sx?: SxProps<Theme>;
|
|
15
15
|
space?: number;
|
|
16
16
|
}
|
|
17
|
-
declare function SimpleList<T>({ list, listItemProps, onSelectItem, renderItem, children, searchKeyPath, searchValuePath, selectedItems, getSelectedItemCondition, space, ...rest }: SimpleListProps<T>): JSX.Element;
|
|
17
|
+
declare function SimpleList<T>({ list, listItemProps, onSelectItem, renderItem, children, searchKeyPath, searchValuePath, selectedItems, getSelectedItemCondition, space, ...rest }: SimpleListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
declare namespace SimpleList {
|
|
19
19
|
var defaultProps: {
|
|
20
20
|
searchKeyPath: string;
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
import { SlideProps as MUISlideProps } from '@mui/material/Slide';
|
|
3
3
|
export interface SlideProps extends MUISlideProps {
|
|
4
4
|
}
|
|
5
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
5
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<SlideProps, "ref"> & React.RefAttributes<unknown>>>;
|
|
6
6
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface SocialMediaGroupProps extends ToggleButtonGroupProps {
|
|
|
5
5
|
toggleButtonProps?: ToggleButtonProps;
|
|
6
6
|
}
|
|
7
7
|
declare const _default: React.MemoExoticComponent<{
|
|
8
|
-
({ children, defaultValue, onChange, toggleButtonProps, ...rest }: SocialMediaGroupProps): JSX.Element;
|
|
8
|
+
({ children, defaultValue, onChange, toggleButtonProps, ...rest }: SocialMediaGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
defaultProps: {};
|
|
10
10
|
}>;
|
|
11
11
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TypographyProps } from '@mui/material/Typography';
|
|
3
3
|
export type { TypographyProps as TextProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ children, ...props }: TypographyProps<"span", {}>) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ children, ...props }: TypographyProps<"span", {}>) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ToggleButtonProps } from '@mui/material/ToggleButton';
|
|
3
3
|
export type { ToggleButtonProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ children, ...props }: ToggleButtonProps<"button", {}>) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ children, ...props }: ToggleButtonProps<"button", {}>) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ToggleButtonGroupProps } from '@mui/material/ToggleButtonGroup';
|
|
3
3
|
export type { ToggleButtonGroupProps };
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({ children, ...props }: ToggleButtonGroupProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({ children, ...props }: ToggleButtonGroupProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { TooltipProps } from '@mui/material/Tooltip';
|
|
3
3
|
export type { TooltipProps };
|
|
4
4
|
declare const _default: React.MemoExoticComponent<{
|
|
5
|
-
({ children, title, ...rest }: TooltipProps): JSX.Element;
|
|
5
|
+
({ children, title, ...rest }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
defaultProps: {
|
|
7
7
|
placement: string;
|
|
8
8
|
};
|
|
@@ -5,7 +5,7 @@ export interface WarningProps extends BoxProps {
|
|
|
5
5
|
warningType?: 'alert' | 'error' | 'hint';
|
|
6
6
|
}
|
|
7
7
|
declare const _default: React.MemoExoticComponent<{
|
|
8
|
-
({ children, warningType, ...rest }: WarningProps): JSX.Element;
|
|
8
|
+
({ children, warningType, ...rest }: WarningProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
defaultProps: {
|
|
10
10
|
warningType: string;
|
|
11
11
|
};
|
package/build/constants/app.js
CHANGED
|
@@ -37,7 +37,10 @@ export declare const verifyBoardLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
37
37
|
}>;
|
|
38
38
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
39
39
|
data: any;
|
|
40
|
-
},
|
|
40
|
+
}, {
|
|
41
|
+
boardId: string;
|
|
42
|
+
boardInfoId: string;
|
|
43
|
+
}, {
|
|
41
44
|
state?: unknown;
|
|
42
45
|
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
43
46
|
extra?: unknown;
|
|
@@ -51,7 +51,7 @@ import API from '../../../api';
|
|
|
51
51
|
import { FlowsTypes } from '../../../@types';
|
|
52
52
|
import { handleCurrentActiveScreen, handleNextScreenStep } from '../../../app/settings';
|
|
53
53
|
import { BOARD_STEP_STEPS } from '../../../constants';
|
|
54
|
-
import { sleep } from '../../../utils';
|
|
54
|
+
import { retrieveIndividualData, sleep } from '../../../utils';
|
|
55
55
|
export var createVerifyTokenBy = createAsyncThunk('board/createVerifyTokenByBoardId', function (boardId, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
56
56
|
var settings, data, step_name;
|
|
57
57
|
var _a, _b;
|
|
@@ -67,7 +67,7 @@ export var createVerifyTokenBy = createAsyncThunk('board/createVerifyTokenByBoar
|
|
|
67
67
|
sleep(0).then(function () { return thunkApi.dispatch(handleCurrentActiveScreen('BOARD_VERIFY_STEP')); });
|
|
68
68
|
return [2, __assign({}, data)];
|
|
69
69
|
}
|
|
70
|
-
return [4, thunkApi.dispatch(retrieveBoardDetails(data.id))];
|
|
70
|
+
return [4, thunkApi.dispatch(retrieveBoardDetails({ boardId: data.id, boardInfoId: data.board_info_id }))];
|
|
71
71
|
case 2:
|
|
72
72
|
_c.sent();
|
|
73
73
|
(_b = (_a = settings.data.appConfig).onFlowCompleted) === null || _b === void 0 ? void 0 : _b.call(_a, { boardId: data.id, boardInfoId: data.board_info_id });
|
|
@@ -111,7 +111,7 @@ export var verifyBoardLeadOTP = createAsyncThunk('board/verifyBoardLeadOTP', fun
|
|
|
111
111
|
data = (_g.sent()).data;
|
|
112
112
|
if (data.errors)
|
|
113
113
|
throw new Error(data.errors[0].description);
|
|
114
|
-
return [4, thunkApi.dispatch(retrieveBoardDetails(data.id))];
|
|
114
|
+
return [4, thunkApi.dispatch(retrieveBoardDetails({ boardId: data.id, boardInfoId: data.board_info_id }))];
|
|
115
115
|
case 2:
|
|
116
116
|
_g.sent();
|
|
117
117
|
(_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, { otp: params.otp });
|
|
@@ -121,20 +121,34 @@ export var verifyBoardLeadOTP = createAsyncThunk('board/verifyBoardLeadOTP', fun
|
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
}); });
|
|
124
|
-
export var retrieveBoardDetails = createAsyncThunk('board/retrieveBoardDetails', function (
|
|
125
|
-
var _a,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
124
|
+
export var retrieveBoardDetails = createAsyncThunk('board/retrieveBoardDetails', function (_a) {
|
|
125
|
+
var boardId = _a.boardId, boardInfoId = _a.boardInfoId;
|
|
126
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
127
|
+
var boardInfoData, _b, boardInfoStatusData, boardData, _c, id, type, serviceCallBack, _d, boardRes, individualRes;
|
|
128
|
+
var _e;
|
|
129
|
+
return __generator(this, function (_f) {
|
|
130
|
+
switch (_f.label) {
|
|
131
|
+
case 0: return [4, API.boardService.retrieveBoardInfo({ id: boardId, infoId: boardInfoId })];
|
|
132
|
+
case 1:
|
|
133
|
+
boardInfoData = _f.sent();
|
|
134
|
+
return [4, Promise.all([
|
|
135
|
+
API.boardService.retrieveBoardInfoStatus(boardId),
|
|
136
|
+
API.boardService.retrieveBoardDetails(boardId)
|
|
137
|
+
])];
|
|
138
|
+
case 2:
|
|
139
|
+
_b = _f.sent(), boardInfoStatusData = _b[0], boardData = _b[1];
|
|
140
|
+
_c = ((_e = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _e === void 0 ? void 0 : _e.recipient) || {}, id = _c.id, type = _c.type;
|
|
141
|
+
serviceCallBack = function () { return API.individualService.retrieveIndividual(id, type); };
|
|
142
|
+
return [4, retrieveIndividualData(type, boardData, serviceCallBack)];
|
|
143
|
+
case 3:
|
|
144
|
+
_d = _f.sent(), boardRes = _d.boardRes, individualRes = _d.individualRes;
|
|
145
|
+
return [2, {
|
|
146
|
+
data: __assign(__assign({}, boardRes), { user: individualRes, brand: boardRes === null || boardRes === void 0 ? void 0 : boardRes.brand, bank_account: boardRes === null || boardRes === void 0 ? void 0 : boardRes.bank_account, entity: boardRes === null || boardRes === void 0 ? void 0 : boardRes.entity, merchant: boardRes === null || boardRes === void 0 ? void 0 : boardRes.merchant, name: individualRes === null || individualRes === void 0 ? void 0 : individualRes.names, business: boardRes === null || boardRes === void 0 ? void 0 : boardRes.business, individuals: boardRes === null || boardRes === void 0 ? void 0 : boardRes.individuals, contact: individualRes === null || individualRes === void 0 ? void 0 : individualRes.contact, flows: (boardInfoStatusData === null || boardInfoStatusData === void 0 ? void 0 : boardInfoStatusData.info) || [] })
|
|
147
|
+
}];
|
|
148
|
+
}
|
|
149
|
+
});
|
|
136
150
|
});
|
|
137
|
-
});
|
|
151
|
+
});
|
|
138
152
|
var initialState = {
|
|
139
153
|
error: null,
|
|
140
154
|
loading: false,
|
|
@@ -135,20 +135,6 @@ export declare const retrieveLead: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
135
135
|
fulfilledMeta?: unknown;
|
|
136
136
|
rejectedMeta?: unknown;
|
|
137
137
|
}>;
|
|
138
|
-
export declare const retrieveSegmentDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
139
|
-
segmentLocation: any;
|
|
140
|
-
segmentProfit: any;
|
|
141
|
-
segmentTech: any;
|
|
142
|
-
}, void, {
|
|
143
|
-
state?: unknown;
|
|
144
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
145
|
-
extra?: unknown;
|
|
146
|
-
rejectValue?: unknown;
|
|
147
|
-
serializedErrorType?: unknown;
|
|
148
|
-
pendingMeta?: unknown;
|
|
149
|
-
fulfilledMeta?: unknown;
|
|
150
|
-
rejectedMeta?: unknown;
|
|
151
|
-
}>;
|
|
152
138
|
export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
153
139
|
response: any;
|
|
154
140
|
formData: BrandFormValues & {
|
|
@@ -168,8 +154,8 @@ export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
168
154
|
}>;
|
|
169
155
|
export declare const updateLeadBrandSegment: import("@reduxjs/toolkit").AsyncThunk<{
|
|
170
156
|
response: any;
|
|
171
|
-
formData: BrandSegmentFormValues
|
|
172
|
-
}, BrandSegmentFormValues, {
|
|
157
|
+
formData: Pick<BrandSegmentFormValues, "teamSize">;
|
|
158
|
+
}, Pick<BrandSegmentFormValues, "teamSize">, {
|
|
173
159
|
state?: unknown;
|
|
174
160
|
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
175
161
|
extra?: unknown;
|
|
@@ -240,7 +226,7 @@ export interface ConnectData {
|
|
|
240
226
|
};
|
|
241
227
|
individualData: IndividualFormValues & ResponseData;
|
|
242
228
|
brandData: BrandFormValues & ResponseData;
|
|
243
|
-
brandSegmentData: BrandSegmentFormValues & ResponseData;
|
|
229
|
+
brandSegmentData: Pick<BrandSegmentFormValues, 'teamSize'> & ResponseData;
|
|
244
230
|
flowName: FlowsTypes;
|
|
245
231
|
isStartFromBusinessCountry?: boolean;
|
|
246
232
|
}
|