react-native-timacare 3.1.2 → 3.1.3-beta
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/lib/commonjs/assets/icons/cam2.svg +5 -0
- package/lib/commonjs/assets/icons/chip.svg +20 -0
- package/lib/commonjs/assets/icons/index.js +1 -1
- package/lib/commonjs/assets/icons/index.js.flow +8 -0
- package/lib/commonjs/assets/icons/index.js.map +1 -1
- package/lib/commonjs/assets/icons/ocr.svg +11 -0
- package/lib/commonjs/assets/icons/takePhoto.svg +20 -0
- package/lib/commonjs/assets/icons/tima_small.svg +12 -23
- package/lib/commonjs/assets/svgs/back.svg +4 -0
- package/lib/commonjs/assets/svgs/complete.svg +27 -0
- package/lib/commonjs/assets/svgs/currentStep.svg +28 -0
- package/lib/commonjs/assets/svgs/edit.svg +42 -0
- package/lib/commonjs/assets/svgs/edit_success.svg +15 -0
- package/lib/commonjs/assets/svgs/ekyc.svg +18 -0
- package/lib/commonjs/assets/svgs/ekyc_success.svg +6 -0
- package/lib/commonjs/assets/svgs/index.js +2 -0
- package/lib/commonjs/assets/svgs/index.js.flow +21 -0
- package/lib/commonjs/assets/svgs/index.js.map +1 -0
- package/lib/commonjs/assets/svgs/nextStep.svg +21 -0
- package/lib/commonjs/assets/svgs/orc_success.svg +11 -0
- package/lib/commonjs/assets/tts/1000009864.png +0 -0
- package/lib/commonjs/assets/tts/1000009872.png +0 -0
- package/lib/commonjs/assets/tts/1000011964.png +0 -0
- package/lib/commonjs/assets/tts/Frame 1000011947.png +0 -0
- package/lib/commonjs/assets/tts/Frame1000011946.png +0 -0
- package/lib/commonjs/assets/tts/Frame1000011953.png +0 -0
- package/lib/commonjs/assets/tts/back.png +0 -0
- package/lib/commonjs/assets/tts/front.png +0 -0
- package/lib/commonjs/assets/tts/vehicleRegistration.png +0 -0
- package/lib/commonjs/assets/tts/vehicleStep.png +0 -0
- package/lib/commonjs/components/CIMBLoading.js +1 -1
- package/lib/commonjs/components/CIMBLoading.js.map +1 -1
- package/lib/commonjs/components/CommonSelect.js +1 -1
- package/lib/commonjs/components/CommonSelect.js.map +1 -1
- package/lib/commonjs/components/Loading.js +1 -1
- package/lib/commonjs/components/Loading.js.map +1 -1
- package/lib/commonjs/components/MButton.js +1 -1
- package/lib/commonjs/components/MButton.js.map +1 -1
- package/lib/commonjs/components/MHeader.js +1 -1
- package/lib/commonjs/components/MHeader.js.flow +1 -1
- package/lib/commonjs/components/MHeader.js.map +1 -1
- package/lib/commonjs/components/MSelect.js +2 -0
- package/lib/commonjs/components/MSelect.js.flow +78 -0
- package/lib/commonjs/components/MSelect.js.map +1 -0
- package/lib/commonjs/components/MText.js +1 -1
- package/lib/commonjs/components/MText.js.map +1 -1
- package/lib/commonjs/components/MyTextInput.js +1 -1
- package/lib/commonjs/components/MyTextInput.js.map +1 -1
- package/lib/commonjs/components/StepIndicator.js +2 -0
- package/lib/commonjs/components/StepIndicator.js.flow +85 -0
- package/lib/commonjs/components/StepIndicator.js.map +1 -0
- package/lib/commonjs/components/keyboardspace/index.js +1 -1
- package/lib/commonjs/components/keyboardspace/index.js.map +1 -1
- package/lib/commonjs/components/logoTima/index.js +1 -1
- package/lib/commonjs/components/logoTima/index.js.map +1 -1
- package/lib/commonjs/components/select/index.js +1 -1
- package/lib/commonjs/components/select/index.js.flow +19 -3
- package/lib/commonjs/components/select/index.js.map +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.flow +3 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/navigation/primary-navigator.js +1 -1
- package/lib/commonjs/navigation/primary-navigator.js.flow +68 -0
- package/lib/commonjs/navigation/primary-navigator.js.map +1 -1
- package/lib/commonjs/navigation/root-navigator.js +1 -1
- package/lib/commonjs/navigation/root-navigator.js.map +1 -1
- package/lib/commonjs/screens/Selector.js +1 -1
- package/lib/commonjs/screens/Selector.js.map +1 -1
- package/lib/commonjs/screens/camera/index.js +1 -1
- package/lib/commonjs/screens/camera/index.js.flow +1 -1
- package/lib/commonjs/screens/camera/index.js.map +1 -1
- package/lib/commonjs/screens/cimb-sign/index.js +1 -1
- package/lib/commonjs/screens/cimb-sign/index.js.map +1 -1
- package/lib/commonjs/screens/contract/index.js +1 -1
- package/lib/commonjs/screens/contract/index.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js +1 -1
- package/lib/commonjs/screens/detail-loan/DetailLoanTima.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js +1 -1
- package/lib/commonjs/screens/detail-loan/Info.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js +1 -1
- package/lib/commonjs/screens/detail-loan/Payment.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/QrPayment.js +1 -1
- package/lib/commonjs/screens/detail-loan/QrPayment.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/index.js +1 -1
- package/lib/commonjs/screens/detail-loan/index.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step1.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step1.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step2.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step2.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step3.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step3.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step4.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step4.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step5.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step5.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step6.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step6.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/index.js +1 -1
- package/lib/commonjs/screens/digital-lending/index.js.map +1 -1
- package/lib/commonjs/screens/eSign/PreviewContract.js +1 -1
- package/lib/commonjs/screens/eSign/PreviewContract.js.map +1 -1
- package/lib/commonjs/screens/eSign/Store.js +1 -1
- package/lib/commonjs/screens/eSign/Store.js.flow +9 -2
- package/lib/commonjs/screens/eSign/Store.js.map +1 -1
- package/lib/commonjs/screens/eSign/index.js +1 -1
- package/lib/commonjs/screens/eSign/index.js.flow +4 -1
- package/lib/commonjs/screens/eSign/index.js.map +1 -1
- package/lib/commonjs/screens/forgotPassword/index.js +1 -1
- package/lib/commonjs/screens/forgotPassword/index.js.map +1 -1
- package/lib/commonjs/screens/full-submit/accept_policy.js +1 -1
- package/lib/commonjs/screens/full-submit/accept_policy.js.map +1 -1
- package/lib/commonjs/screens/full-submit/index.js +1 -1
- package/lib/commonjs/screens/full-submit/index.js.flow +7 -7
- package/lib/commonjs/screens/full-submit/index.js.map +1 -1
- package/lib/commonjs/screens/full-submit/selfie.js +1 -1
- package/lib/commonjs/screens/full-submit/selfie.js.map +1 -1
- package/lib/commonjs/screens/full-submit/update-document.js +1 -1
- package/lib/commonjs/screens/full-submit/update-document.js.flow +1 -1
- package/lib/commonjs/screens/full-submit/update-document.js.map +1 -1
- package/lib/commonjs/screens/full-submit/update-info.js +1 -1
- package/lib/commonjs/screens/full-submit/update-info.js.flow +1 -1
- package/lib/commonjs/screens/full-submit/update-info.js.map +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/index.js +1 -1
- package/lib/commonjs/screens/guide-transfer-bank/index.js.map +1 -1
- package/lib/commonjs/screens/home/CIMBxTima.js +1 -1
- package/lib/commonjs/screens/home/CIMBxTima.js.map +1 -1
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +1687 -1417
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/commonjs/screens/intro/index.js +1 -1
- package/lib/commonjs/screens/intro/index.js.map +1 -1
- package/lib/commonjs/screens/introduction/index.js +1 -1
- package/lib/commonjs/screens/introduction/index.js.map +1 -1
- package/lib/commonjs/screens/liveness/LivenessStore.js.flow +0 -1
- package/lib/commonjs/screens/liveness/LivenessStore.js.map +1 -1
- package/lib/commonjs/screens/liveness/index.js +1 -1
- package/lib/commonjs/screens/liveness/index.js.map +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js +1 -1
- package/lib/commonjs/screens/liveness-v2/index.js.flow +0 -7
- package/lib/commonjs/screens/liveness-v2/index.js.map +1 -1
- package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js +1 -1
- package/lib/commonjs/screens/loan/PreviewSchedulePaymentTopup.js.map +1 -1
- package/lib/commonjs/screens/loan/UpdateLoan.js +1 -1
- package/lib/commonjs/screens/loan/UpdateLoan.js.map +1 -1
- package/lib/commonjs/screens/loginWithPassword/index.js +1 -1
- package/lib/commonjs/screens/loginWithPassword/index.js.map +1 -1
- package/lib/commonjs/screens/main/index.js +1 -1
- package/lib/commonjs/screens/main/index.js.map +1 -1
- package/lib/commonjs/screens/mrz-scanner/index.js +1 -1
- package/lib/commonjs/screens/mrz-scanner/index.js.flow +2 -2
- package/lib/commonjs/screens/mrz-scanner/index.js.map +1 -1
- package/lib/commonjs/screens/nationalID/index.js +1 -1
- package/lib/commonjs/screens/nationalID/index.js.map +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
- package/lib/commonjs/screens/notification/index.js +1 -1
- package/lib/commonjs/screens/notification/index.js.map +1 -1
- package/lib/commonjs/screens/otp/index.js +1 -1
- package/lib/commonjs/screens/otp/index.js.map +1 -1
- package/lib/commonjs/screens/payment-evidence/Guideline.js +1 -1
- package/lib/commonjs/screens/payment-evidence/Guideline.js.map +1 -1
- package/lib/commonjs/screens/payment-evidence/ModalGuideline.js +1 -1
- package/lib/commonjs/screens/payment-evidence/ModalGuideline.js.map +1 -1
- package/lib/commonjs/screens/payment-evidence/index.js +1 -1
- package/lib/commonjs/screens/payment-evidence/index.js.map +1 -1
- package/lib/commonjs/screens/personal/index.js +1 -1
- package/lib/commonjs/screens/personal/index.js.map +1 -1
- package/lib/commonjs/screens/qualify/index.js +1 -1
- package/lib/commonjs/screens/qualify/index.js.map +1 -1
- package/lib/commonjs/screens/quick-submit/index.js +1 -1
- package/lib/commonjs/screens/quick-submit/index.js.map +1 -1
- package/lib/commonjs/screens/register/index.js +1 -1
- package/lib/commonjs/screens/register/index.js.flow +3 -1
- package/lib/commonjs/screens/register/index.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/index.js +1 -1
- package/lib/commonjs/screens/schedule-payment/index.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/payment-list.js +1 -1
- package/lib/commonjs/screens/schedule-payment/payment-list.js.map +1 -1
- package/lib/commonjs/screens/selfie/index.js +1 -1
- package/lib/commonjs/screens/selfie/index.js.map +1 -1
- package/lib/commonjs/screens/setPassword/confirmPassword.js +1 -1
- package/lib/commonjs/screens/setPassword/confirmPassword.js.map +1 -1
- package/lib/commonjs/screens/setPassword/index.js +1 -1
- package/lib/commonjs/screens/setPassword/index.js.map +1 -1
- package/lib/commonjs/screens/sign-tima/ConfirmContract.js +1 -1
- package/lib/commonjs/screens/sign-tima/ConfirmContract.js.map +1 -1
- package/lib/commonjs/screens/sign-tima/ViewContract.js +1 -1
- package/lib/commonjs/screens/sign-tima/ViewContract.js.map +1 -1
- package/lib/commonjs/screens/splash/index.js +1 -1
- package/lib/commonjs/screens/splash/index.js.map +1 -1
- package/lib/commonjs/screens/terms/QuickTerm.js +1 -1
- package/lib/commonjs/screens/terms/QuickTerm.js.map +1 -1
- package/lib/commonjs/screens/terms/TermScreen.js +1 -1
- package/lib/commonjs/screens/terms/TermScreen.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/OCR.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/OCR.js.flow +831 -0
- package/lib/commonjs/screens/toan-trinh-so/OCR.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.flow +467 -0
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +1007 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.flow +790 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +1101 -0
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.flow +242 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.flow +247 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +267 -0
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.flow +477 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.flow +197 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.flow +239 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.flow +240 -0
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -0
- package/lib/commonjs/screens/toan-trinh-so/store.js +2 -0
- package/lib/commonjs/screens/toan-trinh-so/store.js.flow +237 -0
- package/lib/commonjs/screens/toan-trinh-so/store.js.map +1 -0
- package/lib/commonjs/screens/uploadVideo/index.js +1 -1
- package/lib/commonjs/screens/uploadVideo/index.js.map +1 -1
- package/lib/commonjs/services/api/api-config.js +1 -1
- package/lib/commonjs/services/api/api-config.js.flow +2 -2
- package/lib/commonjs/services/api/api-config.js.map +1 -1
- package/lib/commonjs/services/api/api.js +1 -1
- package/lib/commonjs/services/api/api.js.flow +218 -0
- package/lib/commonjs/services/api/api.js.map +1 -1
- package/lib/commonjs/utils/storage/storage.js +1 -1
- package/lib/commonjs/utils/storage/storage.js.flow +4 -0
- package/lib/commonjs/utils/storage/storage.js.map +1 -1
- package/lib/module/assets/icons/cam2.svg +5 -0
- package/lib/module/assets/icons/chip.svg +20 -0
- package/lib/module/assets/icons/index.js +1 -1
- package/lib/module/assets/icons/index.js.map +1 -1
- package/lib/module/assets/icons/ocr.svg +11 -0
- package/lib/module/assets/icons/takePhoto.svg +20 -0
- package/lib/module/assets/icons/tima_small.svg +12 -23
- package/lib/module/assets/svgs/back.svg +4 -0
- package/lib/module/assets/svgs/complete.svg +27 -0
- package/lib/module/assets/svgs/currentStep.svg +28 -0
- package/lib/module/assets/svgs/edit.svg +42 -0
- package/lib/module/assets/svgs/edit_success.svg +15 -0
- package/lib/module/assets/svgs/ekyc.svg +18 -0
- package/lib/module/assets/svgs/ekyc_success.svg +6 -0
- package/lib/module/assets/svgs/index.js +2 -0
- package/lib/module/assets/svgs/index.js.map +1 -0
- package/lib/module/assets/svgs/nextStep.svg +21 -0
- package/lib/module/assets/svgs/orc_success.svg +11 -0
- package/lib/module/assets/tts/1000009864.png +0 -0
- package/lib/module/assets/tts/1000009872.png +0 -0
- package/lib/module/assets/tts/1000011964.png +0 -0
- package/lib/module/assets/tts/Frame 1000011947.png +0 -0
- package/lib/module/assets/tts/Frame1000011946.png +0 -0
- package/lib/module/assets/tts/Frame1000011953.png +0 -0
- package/lib/module/assets/tts/back.png +0 -0
- package/lib/module/assets/tts/front.png +0 -0
- package/lib/module/assets/tts/vehicleRegistration.png +0 -0
- package/lib/module/assets/tts/vehicleStep.png +0 -0
- package/lib/module/components/CIMBLoading.js +1 -1
- package/lib/module/components/CIMBLoading.js.map +1 -1
- package/lib/module/components/CommonSelect.js +1 -1
- package/lib/module/components/CommonSelect.js.map +1 -1
- package/lib/module/components/Loading.js +1 -1
- package/lib/module/components/Loading.js.map +1 -1
- package/lib/module/components/MButton.js +1 -1
- package/lib/module/components/MButton.js.map +1 -1
- package/lib/module/components/MHeader.js +1 -1
- package/lib/module/components/MHeader.js.map +1 -1
- package/lib/module/components/MSelect.js +2 -0
- package/lib/module/components/MSelect.js.map +1 -0
- package/lib/module/components/MText.js +1 -1
- package/lib/module/components/MText.js.map +1 -1
- package/lib/module/components/MyTextInput.js +1 -1
- package/lib/module/components/MyTextInput.js.map +1 -1
- package/lib/module/components/StepIndicator.js +2 -0
- package/lib/module/components/StepIndicator.js.map +1 -0
- package/lib/module/components/keyboardspace/index.js +1 -1
- package/lib/module/components/keyboardspace/index.js.map +1 -1
- package/lib/module/components/logoTima/index.js +1 -1
- package/lib/module/components/logoTima/index.js.map +1 -1
- package/lib/module/components/select/index.js +1 -1
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigation/primary-navigator.js +1 -1
- package/lib/module/navigation/primary-navigator.js.map +1 -1
- package/lib/module/navigation/root-navigator.js +1 -1
- package/lib/module/navigation/root-navigator.js.map +1 -1
- package/lib/module/screens/Selector.js +1 -1
- package/lib/module/screens/Selector.js.map +1 -1
- package/lib/module/screens/camera/index.js +1 -1
- package/lib/module/screens/camera/index.js.map +1 -1
- package/lib/module/screens/cimb-sign/index.js +1 -1
- package/lib/module/screens/cimb-sign/index.js.map +1 -1
- package/lib/module/screens/contract/index.js +1 -1
- package/lib/module/screens/contract/index.js.map +1 -1
- package/lib/module/screens/detail-loan/DetailLoanTima.js +1 -1
- package/lib/module/screens/detail-loan/DetailLoanTima.js.map +1 -1
- package/lib/module/screens/detail-loan/Info.js +1 -1
- package/lib/module/screens/detail-loan/Info.js.map +1 -1
- package/lib/module/screens/detail-loan/Payment.js +1 -1
- package/lib/module/screens/detail-loan/Payment.js.map +1 -1
- package/lib/module/screens/detail-loan/PaymentAll.js +1 -1
- package/lib/module/screens/detail-loan/PaymentAll.js.map +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/module/screens/detail-loan/QrPayment.js +1 -1
- package/lib/module/screens/detail-loan/QrPayment.js.map +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/module/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/module/screens/detail-loan/index.js +1 -1
- package/lib/module/screens/detail-loan/index.js.map +1 -1
- package/lib/module/screens/digital-lending/Step1.js +1 -1
- package/lib/module/screens/digital-lending/Step1.js.map +1 -1
- package/lib/module/screens/digital-lending/Step2.js +1 -1
- package/lib/module/screens/digital-lending/Step2.js.map +1 -1
- package/lib/module/screens/digital-lending/Step3.js +1 -1
- package/lib/module/screens/digital-lending/Step3.js.map +1 -1
- package/lib/module/screens/digital-lending/Step4.js +1 -1
- package/lib/module/screens/digital-lending/Step4.js.map +1 -1
- package/lib/module/screens/digital-lending/Step5.js +1 -1
- package/lib/module/screens/digital-lending/Step5.js.map +1 -1
- package/lib/module/screens/digital-lending/Step6.js +1 -1
- package/lib/module/screens/digital-lending/Step6.js.map +1 -1
- package/lib/module/screens/digital-lending/index.js +1 -1
- package/lib/module/screens/digital-lending/index.js.map +1 -1
- package/lib/module/screens/eSign/PreviewContract.js +1 -1
- package/lib/module/screens/eSign/PreviewContract.js.map +1 -1
- package/lib/module/screens/eSign/Store.js +1 -1
- package/lib/module/screens/eSign/Store.js.map +1 -1
- package/lib/module/screens/eSign/index.js +1 -1
- package/lib/module/screens/eSign/index.js.map +1 -1
- package/lib/module/screens/forgotPassword/index.js +1 -1
- package/lib/module/screens/forgotPassword/index.js.map +1 -1
- package/lib/module/screens/full-submit/accept_policy.js +1 -1
- package/lib/module/screens/full-submit/accept_policy.js.map +1 -1
- package/lib/module/screens/full-submit/index.js +1 -1
- package/lib/module/screens/full-submit/index.js.map +1 -1
- package/lib/module/screens/full-submit/selfie.js +1 -1
- package/lib/module/screens/full-submit/selfie.js.map +1 -1
- package/lib/module/screens/full-submit/update-document.js +1 -1
- package/lib/module/screens/full-submit/update-document.js.map +1 -1
- package/lib/module/screens/full-submit/update-info.js +1 -1
- package/lib/module/screens/full-submit/update-info.js.map +1 -1
- package/lib/module/screens/guide-transfer-bank/TransferDetail.js +1 -1
- package/lib/module/screens/guide-transfer-bank/TransferDetail.js.map +1 -1
- package/lib/module/screens/guide-transfer-bank/index.js +1 -1
- package/lib/module/screens/guide-transfer-bank/index.js.map +1 -1
- package/lib/module/screens/home/CIMBxTima.js +1 -1
- package/lib/module/screens/home/CIMBxTima.js.map +1 -1
- package/lib/module/screens/home/index.js +1 -1
- package/lib/module/screens/home/index.js.map +1 -1
- package/lib/module/screens/intro/index.js +1 -1
- package/lib/module/screens/intro/index.js.map +1 -1
- package/lib/module/screens/introduction/index.js +1 -1
- package/lib/module/screens/introduction/index.js.map +1 -1
- package/lib/module/screens/liveness/LivenessStore.js.map +1 -1
- package/lib/module/screens/liveness/index.js +1 -1
- package/lib/module/screens/liveness/index.js.map +1 -1
- package/lib/module/screens/liveness-v2/index.js +1 -1
- package/lib/module/screens/liveness-v2/index.js.map +1 -1
- package/lib/module/screens/loan/PreviewSchedulePaymentTopup.js +1 -1
- package/lib/module/screens/loan/PreviewSchedulePaymentTopup.js.map +1 -1
- package/lib/module/screens/loan/UpdateLoan.js +1 -1
- package/lib/module/screens/loan/UpdateLoan.js.map +1 -1
- package/lib/module/screens/loginWithPassword/index.js +1 -1
- package/lib/module/screens/loginWithPassword/index.js.map +1 -1
- package/lib/module/screens/main/index.js +1 -1
- package/lib/module/screens/main/index.js.map +1 -1
- package/lib/module/screens/mrz-scanner/index.js +1 -1
- package/lib/module/screens/mrz-scanner/index.js.map +1 -1
- package/lib/module/screens/nationalID/index.js +1 -1
- package/lib/module/screens/nationalID/index.js.map +1 -1
- package/lib/module/screens/nationalIDBack/index.js +1 -1
- package/lib/module/screens/nationalIDBack/index.js.map +1 -1
- package/lib/module/screens/notification/index.js +1 -1
- package/lib/module/screens/notification/index.js.map +1 -1
- package/lib/module/screens/otp/index.js +1 -1
- package/lib/module/screens/otp/index.js.map +1 -1
- package/lib/module/screens/payment-evidence/Guideline.js +1 -1
- package/lib/module/screens/payment-evidence/Guideline.js.map +1 -1
- package/lib/module/screens/payment-evidence/ModalGuideline.js +1 -1
- package/lib/module/screens/payment-evidence/ModalGuideline.js.map +1 -1
- package/lib/module/screens/payment-evidence/index.js +1 -1
- package/lib/module/screens/payment-evidence/index.js.map +1 -1
- package/lib/module/screens/personal/index.js +1 -1
- package/lib/module/screens/personal/index.js.map +1 -1
- package/lib/module/screens/qualify/index.js +1 -1
- package/lib/module/screens/qualify/index.js.map +1 -1
- package/lib/module/screens/quick-submit/index.js +1 -1
- package/lib/module/screens/quick-submit/index.js.map +1 -1
- package/lib/module/screens/register/index.js +1 -1
- package/lib/module/screens/register/index.js.map +1 -1
- package/lib/module/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
- package/lib/module/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
- package/lib/module/screens/schedule-payment/index.js +1 -1
- package/lib/module/screens/schedule-payment/index.js.map +1 -1
- package/lib/module/screens/schedule-payment/payment-list.js +1 -1
- package/lib/module/screens/schedule-payment/payment-list.js.map +1 -1
- package/lib/module/screens/selfie/index.js +1 -1
- package/lib/module/screens/selfie/index.js.map +1 -1
- package/lib/module/screens/setPassword/confirmPassword.js +1 -1
- package/lib/module/screens/setPassword/confirmPassword.js.map +1 -1
- package/lib/module/screens/setPassword/index.js +1 -1
- package/lib/module/screens/setPassword/index.js.map +1 -1
- package/lib/module/screens/sign-tima/ConfirmContract.js +1 -1
- package/lib/module/screens/sign-tima/ConfirmContract.js.map +1 -1
- package/lib/module/screens/sign-tima/ViewContract.js +1 -1
- package/lib/module/screens/sign-tima/ViewContract.js.map +1 -1
- package/lib/module/screens/splash/index.js +1 -1
- package/lib/module/screens/splash/index.js.map +1 -1
- package/lib/module/screens/terms/QuickTerm.js +1 -1
- package/lib/module/screens/terms/QuickTerm.js.map +1 -1
- package/lib/module/screens/terms/TermScreen.js +1 -1
- package/lib/module/screens/terms/TermScreen.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/OCR.js +2 -0
- package/lib/module/screens/toan-trinh-so/OCR.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/RegisterCamera.js +2 -0
- package/lib/module/screens/toan-trinh-so/RegisterCamera.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/ReviewInformation.js +2 -0
- package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js +2 -0
- package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/ReviewLoan.js +2 -0
- package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js +2 -0
- package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js +2 -0
- package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js +2 -0
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/VehicleCamera.js +2 -0
- package/lib/module/screens/toan-trinh-so/VehicleCamera.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/VehicleRegistration.js +2 -0
- package/lib/module/screens/toan-trinh-so/VehicleRegistration.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js +2 -0
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js +2 -0
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -0
- package/lib/module/screens/toan-trinh-so/store.js +2 -0
- package/lib/module/screens/toan-trinh-so/store.js.map +1 -0
- package/lib/module/screens/uploadVideo/index.js +1 -1
- package/lib/module/screens/uploadVideo/index.js.map +1 -1
- package/lib/module/services/api/api-config.js +1 -1
- package/lib/module/services/api/api-config.js.map +1 -1
- package/lib/module/services/api/api.js +1 -1
- package/lib/module/services/api/api.js.map +1 -1
- package/lib/module/utils/storage/storage.js +1 -1
- package/lib/module/utils/storage/storage.js.map +1 -1
- package/lib/typescript/assets/icons/index.d.ts +5 -1
- package/lib/typescript/assets/icons/index.d.ts.map +1 -1
- package/lib/typescript/assets/svgs/index.d.ts +11 -0
- package/lib/typescript/assets/svgs/index.d.ts.map +1 -0
- package/lib/typescript/components/MSelect.d.ts +2 -0
- package/lib/typescript/components/MSelect.d.ts.map +1 -0
- package/lib/typescript/components/StepIndicator.d.ts +5 -0
- package/lib/typescript/components/StepIndicator.d.ts.map +1 -0
- package/lib/typescript/components/select/index.d.ts.map +1 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/navigation/primary-navigator.d.ts +13 -0
- package/lib/typescript/navigation/primary-navigator.d.ts.map +1 -1
- package/lib/typescript/screens/eSign/Store.d.ts +1 -1
- package/lib/typescript/screens/eSign/Store.d.ts.map +1 -1
- package/lib/typescript/screens/eSign/index.d.ts.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/lib/typescript/screens/liveness/LivenessStore.d.ts.map +1 -1
- package/lib/typescript/screens/liveness-v2/index.d.ts.map +1 -1
- package/lib/typescript/screens/register/index.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/OCR.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/OCR.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/RegisterCamera.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/RegisterCamera.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDBack.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDBack.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDFront.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDFront.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistration.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistration.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationFront.d.ts +2 -0
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationFront.d.ts.map +1 -0
- package/lib/typescript/screens/toan-trinh-so/store.d.ts +26 -0
- package/lib/typescript/screens/toan-trinh-so/store.d.ts.map +1 -0
- package/lib/typescript/services/api/api.d.ts +208 -0
- package/lib/typescript/services/api/api.d.ts.map +1 -1
- package/lib/typescript/utils/storage/storage.d.ts +3 -0
- package/lib/typescript/utils/storage/storage.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons/cam2.svg +5 -0
- package/src/assets/icons/chip.svg +20 -0
- package/src/assets/icons/index.tsx +8 -0
- package/src/assets/icons/ocr.svg +11 -0
- package/src/assets/icons/takePhoto.svg +20 -0
- package/src/assets/icons/tima_small.svg +12 -23
- package/src/assets/svgs/back.svg +4 -0
- package/src/assets/svgs/complete.svg +27 -0
- package/src/assets/svgs/currentStep.svg +28 -0
- package/src/assets/svgs/edit.svg +42 -0
- package/src/assets/svgs/edit_success.svg +15 -0
- package/src/assets/svgs/ekyc.svg +18 -0
- package/src/assets/svgs/ekyc_success.svg +6 -0
- package/src/assets/svgs/index.tsx +21 -0
- package/src/assets/svgs/nextStep.svg +21 -0
- package/src/assets/svgs/orc_success.svg +11 -0
- package/src/assets/tts/1000009864.png +0 -0
- package/src/assets/tts/1000009872.png +0 -0
- package/src/assets/tts/1000011964.png +0 -0
- package/src/assets/tts/Frame 1000011947.png +0 -0
- package/src/assets/tts/Frame1000011946.png +0 -0
- package/src/assets/tts/Frame1000011953.png +0 -0
- package/src/assets/tts/back.png +0 -0
- package/src/assets/tts/front.png +0 -0
- package/src/assets/tts/vehicleRegistration.png +0 -0
- package/src/assets/tts/vehicleStep.png +0 -0
- package/src/components/MHeader.tsx +1 -1
- package/src/components/MSelect.tsx +78 -0
- package/src/components/StepIndicator.tsx +85 -0
- package/src/components/select/index.tsx +19 -3
- package/src/index.tsx +3 -1
- package/src/navigation/primary-navigator.tsx +68 -0
- package/src/screens/camera/index.tsx +1 -1
- package/src/screens/eSign/Store.tsx +9 -2
- package/src/screens/eSign/index.tsx +4 -1
- package/src/screens/full-submit/index.tsx +7 -7
- package/src/screens/full-submit/update-document.tsx +1 -1
- package/src/screens/full-submit/update-info.tsx +1 -1
- package/src/screens/home/index.tsx +1687 -1417
- package/src/screens/liveness/LivenessStore.tsx +0 -1
- package/src/screens/liveness-v2/index.tsx +0 -7
- package/src/screens/mrz-scanner/index.tsx +2 -2
- package/src/screens/register/index.tsx +3 -1
- package/src/screens/toan-trinh-so/OCR.tsx +831 -0
- package/src/screens/toan-trinh-so/RegisterCamera.tsx +467 -0
- package/src/screens/toan-trinh-so/ReviewInformation.tsx +1007 -0
- package/src/screens/toan-trinh-so/ReviewInformationOther.tsx +790 -0
- package/src/screens/toan-trinh-so/ReviewLoan.tsx +1101 -0
- package/src/screens/toan-trinh-so/TTSNationalIDBack.tsx +242 -0
- package/src/screens/toan-trinh-so/TTSNationalIDFront.tsx +247 -0
- package/src/screens/toan-trinh-so/TTSSelfie.tsx +267 -0
- package/src/screens/toan-trinh-so/VehicleCamera.tsx +477 -0
- package/src/screens/toan-trinh-so/VehicleRegistration.tsx +197 -0
- package/src/screens/toan-trinh-so/VehicleRegistrationBack.tsx +239 -0
- package/src/screens/toan-trinh-so/VehicleRegistrationFront.tsx +240 -0
- package/src/screens/toan-trinh-so/store.ts +237 -0
- package/src/services/api/api-config.ts +2 -2
- package/src/services/api/api.ts +218 -0
- package/src/utils/storage/storage.ts +4 -0
|
@@ -57,6 +57,19 @@ import { QrPayment } from '../screens/detail-loan/QrPayment';
|
|
|
57
57
|
import { ShowQrCode } from '../screens/detail-loan/ShowQrCode';
|
|
58
58
|
import { UpdateLoan } from '../screens/loan/UpdateLoan';
|
|
59
59
|
import { PreviewSchedulePaymentTopup } from '../screens/loan/PreviewSchedulePaymentTopup';
|
|
60
|
+
import { TTSNationalIDFront } from '../screens/toan-trinh-so/TTSNationalIDFront';
|
|
61
|
+
import VehicleRegistration from '../screens/toan-trinh-so/VehicleRegistration';
|
|
62
|
+
import VehicleRegistrationFront from '../screens/toan-trinh-so/VehicleRegistrationFront';
|
|
63
|
+
import VehicleCamera from '../screens/toan-trinh-so/VehicleCamera';
|
|
64
|
+
import VehicleRegistrationBack from '../screens/toan-trinh-so/VehicleRegistrationBack';
|
|
65
|
+
import RegisterCamera from '../screens/toan-trinh-so/RegisterCamera';
|
|
66
|
+
import { OCR } from '../screens/toan-trinh-so/OCR';
|
|
67
|
+
import ReviewInformation from '../screens/toan-trinh-so/ReviewInformation';
|
|
68
|
+
import ReviewLoan from '../screens/toan-trinh-so/ReviewLoan';
|
|
69
|
+
import MSelect from '../components/MSelect';
|
|
70
|
+
import ReviewInformationOther from '../screens/toan-trinh-so/ReviewInformationOther';
|
|
71
|
+
import TTSNationalIDBack from '../screens/toan-trinh-so/TTSNationalIDBack';
|
|
72
|
+
import TTSSelfie from '../screens/toan-trinh-so/TTSSelfie';
|
|
60
73
|
|
|
61
74
|
export const ScreenNames = {
|
|
62
75
|
Splash: 'Splash',
|
|
@@ -113,6 +126,19 @@ export const ScreenNames = {
|
|
|
113
126
|
ShowQrCode: 'ShowQrCode',
|
|
114
127
|
UpdateLoan: 'UpdateLoan',
|
|
115
128
|
PreviewSchedulePaymentTopup: 'PreviewSchedulePaymentTopup',
|
|
129
|
+
TTSNationalIDFront: 'TTSNationalIDFront',
|
|
130
|
+
VehicleRegistration: 'VehicleRegistration',
|
|
131
|
+
VehicleRegistrationFront: 'VehicleRegistrationFront',
|
|
132
|
+
VehicleRegistrationBack: 'VehicleRegistrationBack',
|
|
133
|
+
VehicleCamera: 'VehicleCamera',
|
|
134
|
+
RegisterCamera: 'RegisterCamera',
|
|
135
|
+
OCR: 'OCR',
|
|
136
|
+
ReviewInformation: 'ReviewInformation',
|
|
137
|
+
ReviewLoan: 'ReviewLoan',
|
|
138
|
+
MSelect: 'MSelect',
|
|
139
|
+
ReviewInformationOther: 'ReviewInformationOther',
|
|
140
|
+
TTSNationalIDBack: 'TTSNationalIDBack',
|
|
141
|
+
TTSSelfie: 'TTSSelfie',
|
|
116
142
|
};
|
|
117
143
|
|
|
118
144
|
const Stack = createNativeStackNavigator();
|
|
@@ -129,6 +155,8 @@ export function PrimaryNavigator(props) {
|
|
|
129
155
|
screenOptions={{
|
|
130
156
|
headerShown: false,
|
|
131
157
|
gestureEnabled: true,
|
|
158
|
+
statusBarStyle: 'light',
|
|
159
|
+
statusBarColor: '#FF8E4F',
|
|
132
160
|
}}
|
|
133
161
|
>
|
|
134
162
|
<Stack.Screen name={ScreenNames.Splash} component={Splash} />
|
|
@@ -222,6 +250,46 @@ export function PrimaryNavigator(props) {
|
|
|
222
250
|
name={ScreenNames.PreviewSchedulePaymentTopup}
|
|
223
251
|
component={PreviewSchedulePaymentTopup}
|
|
224
252
|
/>
|
|
253
|
+
<Stack.Screen
|
|
254
|
+
name={ScreenNames.TTSNationalIDFront}
|
|
255
|
+
component={TTSNationalIDFront}
|
|
256
|
+
/>
|
|
257
|
+
<Stack.Screen
|
|
258
|
+
name={ScreenNames.VehicleRegistration}
|
|
259
|
+
component={VehicleRegistration}
|
|
260
|
+
/>
|
|
261
|
+
<Stack.Screen
|
|
262
|
+
name={ScreenNames.VehicleRegistrationFront}
|
|
263
|
+
component={VehicleRegistrationFront}
|
|
264
|
+
/>
|
|
265
|
+
<Stack.Screen
|
|
266
|
+
name={ScreenNames.VehicleRegistrationBack}
|
|
267
|
+
component={VehicleRegistrationBack}
|
|
268
|
+
/>
|
|
269
|
+
<Stack.Screen
|
|
270
|
+
name={ScreenNames.VehicleCamera}
|
|
271
|
+
component={VehicleCamera}
|
|
272
|
+
/>
|
|
273
|
+
<Stack.Screen
|
|
274
|
+
name={ScreenNames.RegisterCamera}
|
|
275
|
+
component={RegisterCamera}
|
|
276
|
+
/>
|
|
277
|
+
<Stack.Screen name={ScreenNames.OCR} component={OCR} />
|
|
278
|
+
<Stack.Screen
|
|
279
|
+
name={ScreenNames.ReviewInformation}
|
|
280
|
+
component={ReviewInformation}
|
|
281
|
+
/>
|
|
282
|
+
<Stack.Screen name={ScreenNames.ReviewLoan} component={ReviewLoan} />
|
|
283
|
+
<Stack.Screen name={ScreenNames.MSelect} component={MSelect} />
|
|
284
|
+
<Stack.Screen
|
|
285
|
+
name={ScreenNames.ReviewInformationOther}
|
|
286
|
+
component={ReviewInformationOther}
|
|
287
|
+
/>
|
|
288
|
+
<Stack.Screen
|
|
289
|
+
name={ScreenNames.TTSNationalIDBack}
|
|
290
|
+
component={TTSNationalIDBack}
|
|
291
|
+
/>
|
|
292
|
+
<Stack.Screen name={ScreenNames.TTSSelfie} component={TTSSelfie} />
|
|
225
293
|
</Stack.Navigator>
|
|
226
294
|
);
|
|
227
295
|
}
|
|
@@ -127,14 +127,21 @@ class Store {
|
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
@action
|
|
130
|
-
async getPreviewContract(id, onSuccess, onError) {
|
|
130
|
+
async getPreviewContract(id, onSuccess, onError, callback) {
|
|
131
131
|
try {
|
|
132
132
|
const response = await Api.getInstance().previewContract(id);
|
|
133
133
|
if (response.kind === 'ok') {
|
|
134
134
|
if (response.data.meta.errorCode === 200) {
|
|
135
135
|
if (onSuccess) onSuccess(response.data.data);
|
|
136
136
|
} else {
|
|
137
|
-
Alert.alert('Thông báo', response.data.meta.errorMessage
|
|
137
|
+
Alert.alert('Thông báo', response.data.meta.errorMessage, [
|
|
138
|
+
{
|
|
139
|
+
text: 'Đồng ý',
|
|
140
|
+
onPress: () => {
|
|
141
|
+
if (callback) callback();
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
]);
|
|
138
145
|
if (onError) onError();
|
|
139
146
|
}
|
|
140
147
|
} else {
|
|
@@ -149,6 +149,9 @@ export const ESign = observer(function ESign(props: any) {
|
|
|
149
149
|
},
|
|
150
150
|
() => {
|
|
151
151
|
setLoading(false);
|
|
152
|
+
},
|
|
153
|
+
() => {
|
|
154
|
+
navigation.goBack();
|
|
152
155
|
}
|
|
153
156
|
);
|
|
154
157
|
}, []);
|
|
@@ -285,7 +288,7 @@ export const ESign = observer(function ESign(props: any) {
|
|
|
285
288
|
>{`Nhập mã OTP`}</MText>
|
|
286
289
|
<Formik
|
|
287
290
|
initialValues={{
|
|
288
|
-
otp: __DEV__ ? '' : '',
|
|
291
|
+
otp: __DEV__ ? '1234' : '',
|
|
289
292
|
}}
|
|
290
293
|
onSubmit={(values, setFieldValue) => {}}
|
|
291
294
|
validationSchema={yup.object().shape({
|
|
@@ -24,8 +24,11 @@ export const FullSubmit = observer(function FullSubmit(props: any) {
|
|
|
24
24
|
<MHeader
|
|
25
25
|
title="Hoàn thiện hồ sơ"
|
|
26
26
|
onBack={() => {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
if (tab === 2) {
|
|
28
|
+
setTab(1);
|
|
29
|
+
} else {
|
|
30
|
+
navigation.goBack();
|
|
31
|
+
}
|
|
29
32
|
}}
|
|
30
33
|
/>
|
|
31
34
|
<SafeAreaView style={{ flex: 1 }}>
|
|
@@ -37,12 +40,10 @@ export const FullSubmit = observer(function FullSubmit(props: any) {
|
|
|
37
40
|
borderRadius: 30,
|
|
38
41
|
marginHorizontal: 16,
|
|
39
42
|
marginTop: 16,
|
|
43
|
+
marginBottom: 16,
|
|
40
44
|
}}
|
|
41
45
|
>
|
|
42
|
-
<View
|
|
43
|
-
// onPress={() => setTab(1)}
|
|
44
|
-
style={{ flex: 1 }}
|
|
45
|
-
>
|
|
46
|
+
<View style={{ flex: 1 }}>
|
|
46
47
|
<LinearGradient
|
|
47
48
|
colors={
|
|
48
49
|
FullSubmitStore.tab === 1
|
|
@@ -65,7 +66,6 @@ export const FullSubmit = observer(function FullSubmit(props: any) {
|
|
|
65
66
|
</LinearGradient>
|
|
66
67
|
</View>
|
|
67
68
|
<View
|
|
68
|
-
// onPress={() => setTab(2)}
|
|
69
69
|
style={{
|
|
70
70
|
flex: 1,
|
|
71
71
|
}}
|
|
@@ -96,7 +96,7 @@ export const UpdateDocument = observer(function UpdateDocument({
|
|
|
96
96
|
) : (
|
|
97
97
|
<View style={{ flex: 1 }}>
|
|
98
98
|
<ScrollView style={{ flex: 1 }}>
|
|
99
|
-
<View style={{
|
|
99
|
+
<View style={{ marginHorizontal: 16, marginBottom: 16 }}>
|
|
100
100
|
<MText style={[commonStyles.textNormalBold, { fontSize: 16 }]}>
|
|
101
101
|
UPLOAD CHỨNG TỪ
|
|
102
102
|
</MText>
|
|
@@ -246,7 +246,7 @@ export const UpdateInfo = observer(function UpdateInfo({
|
|
|
246
246
|
handleChange,
|
|
247
247
|
isValid,
|
|
248
248
|
}) => (
|
|
249
|
-
<View style={{
|
|
249
|
+
<View style={{ marginHorizontal: 16, marginBottom: 16 }}>
|
|
250
250
|
<MText style={[commonStyles.textNormalBold, { fontSize: 16 }]}>
|
|
251
251
|
THÔNG TIN ĐƠN
|
|
252
252
|
</MText>
|