react-native-timacare 3.3.55 → 3.3.56-alert
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/AppStore.js +1 -1
- package/lib/commonjs/AppStore.js.flow +7 -2
- package/lib/commonjs/AppStore.js.map +1 -1
- package/lib/commonjs/RNTimacare.js +1 -1
- package/lib/commonjs/RNTimacare.js.flow +7 -1
- package/lib/commonjs/RNTimacare.js.map +1 -1
- 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/modal_confirm.svg +15 -0
- package/lib/commonjs/assets/icons/modal_notice.svg +74 -0
- package/lib/commonjs/assets/icons/modal_success.svg +55 -0
- package/lib/commonjs/assets/icons/modal_warning.svg +48 -0
- package/lib/commonjs/components/AppModal.js +2 -0
- package/lib/commonjs/components/AppModal.js.flow +34 -0
- package/lib/commonjs/components/AppModal.js.map +1 -0
- package/lib/commonjs/components/ItemTimaOne.js +2 -0
- package/lib/commonjs/components/{ItemTimaOneV3.js.flow → ItemTimaOne.js.flow} +1 -1
- package/lib/commonjs/components/ItemTimaOne.js.map +1 -0
- package/lib/commonjs/components/ModalNotification/AlertGlobal.js +2 -0
- package/lib/commonjs/components/ModalNotification/AlertGlobal.js.flow +100 -0
- package/lib/commonjs/components/ModalNotification/AlertGlobal.js.map +1 -0
- package/lib/commonjs/components/ModalNotification/index.js +2 -0
- package/lib/commonjs/components/ModalNotification/index.js.flow +224 -0
- package/lib/commonjs/components/ModalNotification/index.js.map +1 -0
- package/lib/commonjs/components/ModalOptionLoan.js +1 -1
- package/lib/commonjs/components/ModalOptionLoan.js.flow +15 -7
- package/lib/commonjs/components/ModalOptionLoan.js.map +1 -1
- package/lib/commonjs/components/ModalOptionLoanDigital.js +1 -1
- package/lib/commonjs/components/ModalOptionLoanDigital.js.flow +15 -7
- package/lib/commonjs/components/ModalOptionLoanDigital.js.map +1 -1
- package/lib/commonjs/screens/SelectorStore.js +1 -1
- package/lib/commonjs/screens/SelectorStore.js.flow +7 -2
- package/lib/commonjs/screens/SelectorStore.js.map +1 -1
- package/lib/commonjs/screens/camera/CCCDCameraScreen.js +1 -1
- package/lib/commonjs/screens/camera/CCCDCameraScreen.js.flow +50 -54
- package/lib/commonjs/screens/camera/CCCDCameraScreen.js.map +1 -1
- package/lib/commonjs/screens/camera/index.js +1 -1
- package/lib/commonjs/screens/camera/index.js.flow +50 -54
- 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.flow +10 -14
- package/lib/commonjs/screens/cimb-sign/index.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js +1 -1
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.flow +75 -54
- package/lib/commonjs/screens/detail-loan/PaymentInfo.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js +1 -1
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.flow +77 -54
- package/lib/commonjs/screens/detail-loan/ShowQrCode.js.map +1 -1
- package/lib/commonjs/screens/detail-loan/store.js +1 -1
- package/lib/commonjs/screens/detail-loan/store.js.flow +39 -7
- package/lib/commonjs/screens/detail-loan/store.js.map +1 -1
- package/lib/commonjs/screens/detail-loan-tima/InforLoan.js +1 -1
- package/lib/commonjs/screens/detail-loan-tima/InforLoan.js.flow +20 -4
- package/lib/commonjs/screens/detail-loan-tima/InforLoan.js.map +1 -1
- package/lib/commonjs/screens/detail-loan-tima/PaymentSchedule.js +1 -1
- package/lib/commonjs/screens/detail-loan-tima/PaymentSchedule.js.flow +19 -4
- package/lib/commonjs/screens/detail-loan-tima/PaymentSchedule.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/Step6.js +1 -1
- package/lib/commonjs/screens/digital-lending/Step6.js.flow +24 -29
- package/lib/commonjs/screens/digital-lending/Step6.js.map +1 -1
- package/lib/commonjs/screens/digital-lending/store.js +1 -1
- package/lib/commonjs/screens/digital-lending/store.js.flow +113 -20
- package/lib/commonjs/screens/digital-lending/store.js.map +1 -1
- package/lib/commonjs/screens/eSign/Store.js +1 -1
- package/lib/commonjs/screens/eSign/Store.js.flow +69 -34
- 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 +33 -34
- package/lib/commonjs/screens/eSign/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.flow +101 -85
- package/lib/commonjs/screens/full-submit/accept_policy.js.map +1 -1
- package/lib/commonjs/screens/full-submit/store.js +1 -1
- package/lib/commonjs/screens/full-submit/store.js.flow +157 -27
- package/lib/commonjs/screens/full-submit/store.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 +0 -1
- package/lib/commonjs/screens/full-submit/update-info.js.map +1 -1
- package/lib/commonjs/screens/home/DigitalTopupItem.js +1 -1
- package/lib/commonjs/screens/home/DigitalTopupItem.js.flow +15 -7
- package/lib/commonjs/screens/home/DigitalTopupItem.js.map +1 -1
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js +1 -1
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js.flow +16 -7
- package/lib/commonjs/screens/home/ItemMotoBikeLoan.js.map +1 -1
- package/lib/commonjs/screens/home/Store.js +1 -1
- package/lib/commonjs/screens/home/Store.js.flow +44 -23
- package/lib/commonjs/screens/home/Store.js.map +1 -1
- package/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +299 -186
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/commonjs/screens/liveness/LivenessStore.js +1 -1
- package/lib/commonjs/screens/liveness/LivenessStore.js.flow +111 -89
- 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.flow +67 -68
- 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 +52 -52
- 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.flow +20 -10
- 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.flow +56 -23
- package/lib/commonjs/screens/loan/UpdateLoan.js.map +1 -1
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js +1 -1
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.flow +43 -29
- package/lib/commonjs/screens/motobike/InfoLoanMotobike.js.map +1 -1
- package/lib/commonjs/screens/motobike/PolicyF88.js +1 -1
- package/lib/commonjs/screens/motobike/PolicyF88.js.flow +15 -6
- package/lib/commonjs/screens/motobike/PolicyF88.js.map +1 -1
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js +1 -1
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.flow +13 -3
- package/lib/commonjs/screens/motobike/ReviewLoanMotobike.js.map +1 -1
- package/lib/commonjs/screens/mrz-scanner/index.js +1 -1
- package/lib/commonjs/screens/mrz-scanner/index.js.flow +56 -55
- package/lib/commonjs/screens/mrz-scanner/index.js.map +1 -1
- package/lib/commonjs/screens/mrz-scanner/store.js +1 -1
- package/lib/commonjs/screens/mrz-scanner/store.js.flow +13 -3
- package/lib/commonjs/screens/mrz-scanner/store.js.map +1 -1
- package/lib/commonjs/screens/nationalID/Store.js +1 -1
- package/lib/commonjs/screens/nationalID/Store.js.flow +50 -29
- package/lib/commonjs/screens/nationalID/Store.js.map +1 -1
- package/lib/commonjs/screens/nationalID/index.js +1 -1
- package/lib/commonjs/screens/nationalID/index.js.flow +0 -1
- package/lib/commonjs/screens/nationalID/index.js.map +1 -1
- package/lib/commonjs/screens/nationalIDBack/Store.js +1 -1
- package/lib/commonjs/screens/nationalIDBack/Store.js.flow +44 -26
- package/lib/commonjs/screens/nationalIDBack/Store.js.map +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js +1 -1
- package/lib/commonjs/screens/nationalIDBack/index.js.flow +0 -1
- package/lib/commonjs/screens/nationalIDBack/index.js.map +1 -1
- package/lib/commonjs/screens/notification/ListLoanStore.js +1 -1
- package/lib/commonjs/screens/notification/ListLoanStore.js.flow +19 -4
- package/lib/commonjs/screens/notification/ListLoanStore.js.map +1 -1
- package/lib/commonjs/screens/notification/index.js +1 -1
- package/lib/commonjs/screens/notification/index.js.flow +0 -1
- package/lib/commonjs/screens/notification/index.js.map +1 -1
- package/lib/commonjs/screens/notification/store.js +1 -1
- package/lib/commonjs/screens/notification/store.js.flow +7 -2
- package/lib/commonjs/screens/notification/store.js.map +1 -1
- package/lib/commonjs/screens/personal/index.js +1 -1
- package/lib/commonjs/screens/personal/index.js.flow +21 -19
- package/lib/commonjs/screens/personal/index.js.map +1 -1
- package/lib/commonjs/screens/qualify/Store.js.flow +0 -1
- package/lib/commonjs/screens/qualify/Store.js.map +1 -1
- package/lib/commonjs/screens/quick-submit/store.js +1 -1
- package/lib/commonjs/screens/quick-submit/store.js.flow +85 -15
- package/lib/commonjs/screens/quick-submit/store.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js +1 -1
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js.flow +20 -4
- package/lib/commonjs/screens/schedule-payment/DigitalSchedulePayment.js.map +1 -1
- package/lib/commonjs/screens/schedule-payment/store.js +1 -1
- package/lib/commonjs/screens/schedule-payment/store.js.flow +13 -5
- package/lib/commonjs/screens/schedule-payment/store.js.map +1 -1
- package/lib/commonjs/screens/selfie/SelfieStore.js +1 -1
- package/lib/commonjs/screens/selfie/SelfieStore.js.flow +25 -9
- package/lib/commonjs/screens/selfie/SelfieStore.js.map +1 -1
- package/lib/commonjs/screens/selfie/index.js +1 -1
- package/lib/commonjs/screens/selfie/index.js.flow +0 -1
- package/lib/commonjs/screens/selfie/index.js.map +1 -1
- package/lib/commonjs/screens/sign-tima/ViewContract.js +1 -1
- package/lib/commonjs/screens/sign-tima/ViewContract.js.flow +17 -18
- package/lib/commonjs/screens/sign-tima/ViewContract.js.map +1 -1
- package/lib/commonjs/screens/sign-tima/store.js +1 -1
- package/lib/commonjs/screens/sign-tima/store.js.flow +37 -7
- package/lib/commonjs/screens/sign-tima/store.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js.flow +36 -10
- package/lib/commonjs/screens/toan-trinh-so/LoanInterestRate.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/OCR.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/OCR.js.flow +64 -66
- package/lib/commonjs/screens/toan-trinh-so/OCR.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js.flow +21 -4
- package/lib/commonjs/screens/toan-trinh-so/RegisterBack.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.flow +50 -54
- package/lib/commonjs/screens/toan-trinh-so/RegisterCamera.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.flow +31 -25
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.flow +88 -82
- package/lib/commonjs/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +25 -5
- package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js.flow +42 -25
- package/lib/commonjs/screens/toan-trinh-so/TTSOTP.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.flow +63 -56
- package/lib/commonjs/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.flow +63 -55
- package/lib/commonjs/screens/toan-trinh-so/TTSSignLoan.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.flow +50 -43
- package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.flow +50 -54
- package/lib/commonjs/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistration.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.flow +19 -4
- package/lib/commonjs/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -1
- package/lib/commonjs/screens/toan-trinh-so/store.js +1 -1
- package/lib/commonjs/screens/toan-trinh-so/store.js.flow +82 -37
- package/lib/commonjs/screens/toan-trinh-so/store.js.map +1 -1
- package/lib/commonjs/screens/uploadVideo/index.js +1 -1
- package/lib/commonjs/screens/uploadVideo/index.js.flow +26 -21
- package/lib/commonjs/screens/uploadVideo/index.js.map +1 -1
- package/lib/commonjs/screens/uploadVideo/videoStore.js +1 -1
- package/lib/commonjs/screens/uploadVideo/videoStore.js.flow +19 -4
- package/lib/commonjs/screens/uploadVideo/videoStore.js.map +1 -1
- package/lib/commonjs/screens/v3/AssetInformation.js +1 -1
- package/lib/commonjs/screens/v3/AssetInformation.js.flow +35 -16
- package/lib/commonjs/screens/v3/AssetInformation.js.map +1 -1
- package/lib/commonjs/screens/v3/LoanBuyCar.js +1 -1
- package/lib/commonjs/screens/v3/LoanBuyCar.js.flow +35 -16
- package/lib/commonjs/screens/v3/LoanBuyCar.js.map +1 -1
- package/lib/commonjs/services/api/api.js +1 -1
- package/lib/commonjs/services/api/api.js.flow +23 -26
- package/lib/commonjs/services/api/api.js.map +1 -1
- package/lib/module/AppStore.js +1 -1
- package/lib/module/AppStore.js.map +1 -1
- package/lib/module/RNTimacare.js +1 -1
- package/lib/module/RNTimacare.js.map +1 -1
- package/lib/module/assets/icons/index.js +1 -1
- package/lib/module/assets/icons/index.js.map +1 -1
- package/lib/module/assets/icons/modal_confirm.svg +15 -0
- package/lib/module/assets/icons/modal_notice.svg +74 -0
- package/lib/module/assets/icons/modal_success.svg +55 -0
- package/lib/module/assets/icons/modal_warning.svg +48 -0
- package/lib/module/components/AppModal.js +2 -0
- package/lib/module/components/AppModal.js.map +1 -0
- package/lib/module/components/ItemTimaOne.js +2 -0
- package/lib/module/components/ItemTimaOne.js.map +1 -0
- package/lib/module/components/ModalNotification/AlertGlobal.js +2 -0
- package/lib/module/components/ModalNotification/AlertGlobal.js.map +1 -0
- package/lib/module/components/ModalNotification/index.js +2 -0
- package/lib/module/components/ModalNotification/index.js.map +1 -0
- package/lib/module/components/ModalOptionLoan.js +1 -1
- package/lib/module/components/ModalOptionLoan.js.map +1 -1
- package/lib/module/components/ModalOptionLoanDigital.js +1 -1
- package/lib/module/components/ModalOptionLoanDigital.js.map +1 -1
- package/lib/module/screens/SelectorStore.js +1 -1
- package/lib/module/screens/SelectorStore.js.map +1 -1
- package/lib/module/screens/camera/CCCDCameraScreen.js +1 -1
- package/lib/module/screens/camera/CCCDCameraScreen.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/detail-loan/PaymentInfo.js +1 -1
- package/lib/module/screens/detail-loan/PaymentInfo.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/store.js +1 -1
- package/lib/module/screens/detail-loan/store.js.map +1 -1
- package/lib/module/screens/detail-loan-tima/InforLoan.js +1 -1
- package/lib/module/screens/detail-loan-tima/InforLoan.js.map +1 -1
- package/lib/module/screens/detail-loan-tima/PaymentSchedule.js +1 -1
- package/lib/module/screens/detail-loan-tima/PaymentSchedule.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/store.js +1 -1
- package/lib/module/screens/digital-lending/store.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/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/store.js +1 -1
- package/lib/module/screens/full-submit/store.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/home/DigitalTopupItem.js +1 -1
- package/lib/module/screens/home/DigitalTopupItem.js.map +1 -1
- package/lib/module/screens/home/ItemMotoBikeLoan.js +1 -1
- package/lib/module/screens/home/ItemMotoBikeLoan.js.map +1 -1
- package/lib/module/screens/home/Store.js +1 -1
- package/lib/module/screens/home/Store.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/liveness/LivenessStore.js +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/motobike/InfoLoanMotobike.js +1 -1
- package/lib/module/screens/motobike/InfoLoanMotobike.js.map +1 -1
- package/lib/module/screens/motobike/PolicyF88.js +1 -1
- package/lib/module/screens/motobike/PolicyF88.js.map +1 -1
- package/lib/module/screens/motobike/ReviewLoanMotobike.js +1 -1
- package/lib/module/screens/motobike/ReviewLoanMotobike.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/mrz-scanner/store.js +1 -1
- package/lib/module/screens/mrz-scanner/store.js.map +1 -1
- package/lib/module/screens/nationalID/Store.js +1 -1
- package/lib/module/screens/nationalID/Store.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/Store.js +1 -1
- package/lib/module/screens/nationalIDBack/Store.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/ListLoanStore.js +1 -1
- package/lib/module/screens/notification/ListLoanStore.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/notification/store.js +1 -1
- package/lib/module/screens/notification/store.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/Store.js.map +1 -1
- package/lib/module/screens/quick-submit/store.js +1 -1
- package/lib/module/screens/quick-submit/store.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/store.js +1 -1
- package/lib/module/screens/schedule-payment/store.js.map +1 -1
- package/lib/module/screens/selfie/SelfieStore.js +1 -1
- package/lib/module/screens/selfie/SelfieStore.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/sign-tima/ViewContract.js +1 -1
- package/lib/module/screens/sign-tima/ViewContract.js.map +1 -1
- package/lib/module/screens/sign-tima/store.js +1 -1
- package/lib/module/screens/sign-tima/store.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/LoanInterestRate.js +1 -1
- package/lib/module/screens/toan-trinh-so/LoanInterestRate.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/OCR.js +1 -1
- package/lib/module/screens/toan-trinh-so/OCR.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterBack.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterCamera.js +1 -1
- package/lib/module/screens/toan-trinh-so/RegisterCamera.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformation.js +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformation.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewInformationOther.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewLoan.js +1 -1
- package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDBack.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSNationalIDFront.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSOTP.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSOTP.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSelfie.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSignLoan.js +1 -1
- package/lib/module/screens/toan-trinh-so/TTSSignLoan.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
- package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleCamera.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleCamera.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistration.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistration.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationBack.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js +1 -1
- package/lib/module/screens/toan-trinh-so/VehicleRegistrationFront.js.map +1 -1
- package/lib/module/screens/toan-trinh-so/store.js +1 -1
- package/lib/module/screens/toan-trinh-so/store.js.map +1 -1
- package/lib/module/screens/uploadVideo/index.js +1 -1
- package/lib/module/screens/uploadVideo/index.js.map +1 -1
- package/lib/module/screens/uploadVideo/videoStore.js +1 -1
- package/lib/module/screens/uploadVideo/videoStore.js.map +1 -1
- package/lib/module/screens/v3/AssetInformation.js +1 -1
- package/lib/module/screens/v3/AssetInformation.js.map +1 -1
- package/lib/module/screens/v3/LoanBuyCar.js +1 -1
- package/lib/module/screens/v3/LoanBuyCar.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/typescript/AppStore.d.ts.map +1 -1
- package/lib/typescript/RNTimacare.d.ts.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/components/AppModal.d.ts +18 -0
- package/lib/typescript/components/AppModal.d.ts.map +1 -0
- package/lib/typescript/components/ItemTimaOne.d.ts +7 -0
- package/lib/typescript/components/ItemTimaOne.d.ts.map +1 -0
- package/lib/typescript/components/ModalNotification/AlertGlobal.d.ts +30 -0
- package/lib/typescript/components/ModalNotification/AlertGlobal.d.ts.map +1 -0
- package/lib/typescript/components/ModalNotification/index.d.ts +35 -0
- package/lib/typescript/components/ModalNotification/index.d.ts.map +1 -0
- package/lib/typescript/components/ModalOptionLoan.d.ts.map +1 -1
- package/lib/typescript/components/ModalOptionLoanDigital.d.ts.map +1 -1
- package/lib/typescript/screens/SelectorStore.d.ts.map +1 -1
- package/lib/typescript/screens/camera/CCCDCameraScreen.d.ts.map +1 -1
- package/lib/typescript/screens/camera/index.d.ts.map +1 -1
- package/lib/typescript/screens/cimb-sign/index.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/ShowQrCode.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan/store.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan-tima/InforLoan.d.ts.map +1 -1
- package/lib/typescript/screens/detail-loan-tima/PaymentSchedule.d.ts.map +1 -1
- package/lib/typescript/screens/digital-lending/Step6.d.ts.map +1 -1
- package/lib/typescript/screens/digital-lending/store.d.ts.map +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/full-submit/accept_policy.d.ts.map +1 -1
- package/lib/typescript/screens/full-submit/store.d.ts.map +1 -1
- package/lib/typescript/screens/full-submit/update-info.d.ts.map +1 -1
- package/lib/typescript/screens/home/DigitalTopupItem.d.ts.map +1 -1
- package/lib/typescript/screens/home/ItemMotoBikeLoan.d.ts.map +1 -1
- package/lib/typescript/screens/home/Store.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/index.d.ts.map +1 -1
- package/lib/typescript/screens/loan/PreviewSchedulePaymentTopup.d.ts.map +1 -1
- package/lib/typescript/screens/loan/UpdateLoan.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/InfoLoanMotobike.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/PolicyF88.d.ts.map +1 -1
- package/lib/typescript/screens/motobike/ReviewLoanMotobike.d.ts.map +1 -1
- package/lib/typescript/screens/mrz-scanner/index.d.ts.map +1 -1
- package/lib/typescript/screens/mrz-scanner/store.d.ts.map +1 -1
- package/lib/typescript/screens/nationalID/Store.d.ts.map +1 -1
- package/lib/typescript/screens/nationalID/index.d.ts.map +1 -1
- package/lib/typescript/screens/nationalIDBack/Store.d.ts.map +1 -1
- package/lib/typescript/screens/nationalIDBack/index.d.ts.map +1 -1
- package/lib/typescript/screens/notification/ListLoanStore.d.ts.map +1 -1
- package/lib/typescript/screens/notification/index.d.ts.map +1 -1
- package/lib/typescript/screens/notification/store.d.ts.map +1 -1
- package/lib/typescript/screens/personal/index.d.ts.map +1 -1
- package/lib/typescript/screens/qualify/Store.d.ts.map +1 -1
- package/lib/typescript/screens/quick-submit/store.d.ts.map +1 -1
- package/lib/typescript/screens/schedule-payment/DigitalSchedulePayment.d.ts.map +1 -1
- package/lib/typescript/screens/schedule-payment/store.d.ts.map +1 -1
- package/lib/typescript/screens/selfie/SelfieStore.d.ts.map +1 -1
- package/lib/typescript/screens/selfie/index.d.ts.map +1 -1
- package/lib/typescript/screens/sign-tima/ViewContract.d.ts.map +1 -1
- package/lib/typescript/screens/sign-tima/store.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/LoanInterestRate.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/OCR.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/RegisterBack.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/RegisterCamera.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/ReviewInformation.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/ReviewInformationOther.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDBack.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSNationalIDFront.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSOTP.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSSelfie.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TTSSignLoan.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/TopupLoanInfo.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleCamera.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistration.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationBack.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/VehicleRegistrationFront.d.ts.map +1 -1
- package/lib/typescript/screens/toan-trinh-so/store.d.ts.map +1 -1
- package/lib/typescript/screens/uploadVideo/index.d.ts.map +1 -1
- package/lib/typescript/screens/uploadVideo/videoStore.d.ts.map +1 -1
- package/lib/typescript/screens/v3/AssetInformation.d.ts.map +1 -1
- package/lib/typescript/screens/v3/LoanBuyCar.d.ts.map +1 -1
- package/lib/typescript/services/api/api.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/AppStore.tsx +7 -2
- package/src/RNTimacare.tsx +7 -1
- package/src/assets/icons/index.tsx +8 -0
- package/src/assets/icons/modal_confirm.svg +15 -0
- package/src/assets/icons/modal_notice.svg +74 -0
- package/src/assets/icons/modal_success.svg +55 -0
- package/src/assets/icons/modal_warning.svg +48 -0
- package/src/components/AppModal.tsx +34 -0
- package/src/components/{ItemTimaOneV3.tsx → ItemTimaOne.tsx} +1 -1
- package/src/components/ModalNotification/AlertGlobal.tsx +100 -0
- package/src/components/ModalNotification/index.tsx +224 -0
- package/src/components/ModalOptionLoan.tsx +15 -7
- package/src/components/ModalOptionLoanDigital.tsx +15 -7
- package/src/screens/SelectorStore.tsx +7 -2
- package/src/screens/camera/CCCDCameraScreen.tsx +50 -54
- package/src/screens/camera/index.tsx +50 -54
- package/src/screens/cimb-sign/index.tsx +10 -14
- package/src/screens/detail-loan/PaymentInfo.tsx +75 -54
- package/src/screens/detail-loan/ShowQrCode.tsx +77 -54
- package/src/screens/detail-loan/store.tsx +39 -7
- package/src/screens/detail-loan-tima/InforLoan.tsx +20 -4
- package/src/screens/detail-loan-tima/PaymentSchedule.tsx +19 -4
- package/src/screens/digital-lending/Step6.tsx +24 -29
- package/src/screens/digital-lending/store.tsx +113 -20
- package/src/screens/eSign/Store.tsx +69 -34
- package/src/screens/eSign/index.tsx +33 -34
- package/src/screens/full-submit/accept_policy.tsx +101 -85
- package/src/screens/full-submit/store.tsx +157 -27
- package/src/screens/full-submit/update-info.tsx +0 -1
- package/src/screens/home/DigitalTopupItem.tsx +15 -7
- package/src/screens/home/ItemMotoBikeLoan.tsx +16 -7
- package/src/screens/home/Store.tsx +44 -23
- package/src/screens/home/index.tsx +299 -186
- package/src/screens/liveness/LivenessStore.tsx +111 -89
- package/src/screens/liveness/index.tsx +67 -68
- package/src/screens/liveness-v2/index.tsx +52 -52
- package/src/screens/loan/PreviewSchedulePaymentTopup.tsx +20 -10
- package/src/screens/loan/UpdateLoan.tsx +56 -23
- package/src/screens/motobike/InfoLoanMotobike.tsx +43 -29
- package/src/screens/motobike/PolicyF88.tsx +15 -6
- package/src/screens/motobike/ReviewLoanMotobike.tsx +13 -3
- package/src/screens/mrz-scanner/index.tsx +56 -55
- package/src/screens/mrz-scanner/store.ts +13 -3
- package/src/screens/nationalID/Store.tsx +50 -29
- package/src/screens/nationalID/index.tsx +0 -1
- package/src/screens/nationalIDBack/Store.tsx +44 -26
- package/src/screens/nationalIDBack/index.tsx +0 -1
- package/src/screens/notification/ListLoanStore.tsx +19 -4
- package/src/screens/notification/index.tsx +0 -1
- package/src/screens/notification/store.tsx +7 -2
- package/src/screens/personal/index.tsx +21 -19
- package/src/screens/qualify/Store.tsx +0 -1
- package/src/screens/quick-submit/store.tsx +85 -15
- package/src/screens/schedule-payment/DigitalSchedulePayment.tsx +20 -4
- package/src/screens/schedule-payment/store.tsx +13 -5
- package/src/screens/selfie/SelfieStore.tsx +25 -9
- package/src/screens/selfie/index.tsx +0 -1
- package/src/screens/sign-tima/ViewContract.tsx +17 -18
- package/src/screens/sign-tima/store.tsx +37 -7
- package/src/screens/toan-trinh-so/LoanInterestRate.tsx +36 -10
- package/src/screens/toan-trinh-so/OCR.tsx +64 -66
- package/src/screens/toan-trinh-so/RegisterBack.tsx +21 -4
- package/src/screens/toan-trinh-so/RegisterCamera.tsx +50 -54
- package/src/screens/toan-trinh-so/ReviewInformation.tsx +31 -25
- package/src/screens/toan-trinh-so/ReviewInformationOther.tsx +88 -82
- package/src/screens/toan-trinh-so/ReviewLoan.tsx +25 -5
- package/src/screens/toan-trinh-so/TTSNationalIDBack.tsx +19 -4
- package/src/screens/toan-trinh-so/TTSNationalIDFront.tsx +19 -4
- package/src/screens/toan-trinh-so/TTSOTP.tsx +42 -25
- package/src/screens/toan-trinh-so/TTSSelfie.tsx +63 -56
- package/src/screens/toan-trinh-so/TTSSignLoan.tsx +63 -55
- package/src/screens/toan-trinh-so/TopupLoanInfo.tsx +50 -43
- package/src/screens/toan-trinh-so/VehicleCamera.tsx +50 -54
- package/src/screens/toan-trinh-so/VehicleRegistration.tsx +19 -4
- package/src/screens/toan-trinh-so/VehicleRegistrationBack.tsx +19 -4
- package/src/screens/toan-trinh-so/VehicleRegistrationFront.tsx +19 -4
- package/src/screens/toan-trinh-so/store.ts +82 -37
- package/src/screens/uploadVideo/index.tsx +26 -21
- package/src/screens/uploadVideo/videoStore.tsx +19 -4
- package/src/screens/v3/AssetInformation.tsx +35 -16
- package/src/screens/v3/LoanBuyCar.tsx +35 -16
- package/src/services/api/api.ts +23 -26
- package/lib/commonjs/components/ItemTimaOneV2.js +0 -2
- package/lib/commonjs/components/ItemTimaOneV2.js.flow +0 -617
- package/lib/commonjs/components/ItemTimaOneV2.js.map +0 -1
- package/lib/commonjs/components/ItemTimaOneV3.js +0 -2
- package/lib/commonjs/components/ItemTimaOneV3.js.map +0 -1
- package/lib/module/components/ItemTimaOneV2.js +0 -2
- package/lib/module/components/ItemTimaOneV2.js.map +0 -1
- package/lib/module/components/ItemTimaOneV3.js +0 -2
- package/lib/module/components/ItemTimaOneV3.js.map +0 -1
- package/lib/typescript/components/ItemTimaOneV2.d.ts +0 -7
- package/lib/typescript/components/ItemTimaOneV2.d.ts.map +0 -1
- package/lib/typescript/components/ItemTimaOneV3.d.ts +0 -7
- package/lib/typescript/components/ItemTimaOneV3.d.ts.map +0 -1
- package/src/components/ItemTimaOneV2.tsx +0 -617
|
@@ -1,617 +0,0 @@
|
|
|
1
|
-
//@ts-nocheck
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TouchableOpacity, View, ViewStyle } from 'react-native';
|
|
4
|
-
import LinearGradient from 'react-native-linear-gradient';
|
|
5
|
-
import {
|
|
6
|
-
IconEdit,
|
|
7
|
-
IconEditDisable,
|
|
8
|
-
IconEditSuccess,
|
|
9
|
-
IconEkyc,
|
|
10
|
-
IconEkycDisable,
|
|
11
|
-
IconEkycSuccess,
|
|
12
|
-
IconMoney2,
|
|
13
|
-
IconOcr,
|
|
14
|
-
IconOCRSuccess,
|
|
15
|
-
IconSignDisable,
|
|
16
|
-
IconSignSuccess,
|
|
17
|
-
IconTick,
|
|
18
|
-
} from '../assets/svgs';
|
|
19
|
-
import { MText } from './MText';
|
|
20
|
-
import { formatMoney } from '../utils';
|
|
21
|
-
import { ScreenNames } from '../navigation';
|
|
22
|
-
import { IconSign2, Info } from '../assets/icons';
|
|
23
|
-
|
|
24
|
-
const $action: ViewStyle = {
|
|
25
|
-
flexDirection: 'column',
|
|
26
|
-
alignItems: 'center',
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
interface ItemTimaOneV2 {
|
|
30
|
-
item: any;
|
|
31
|
-
navigation: any;
|
|
32
|
-
}
|
|
33
|
-
export default function ItemTimaOneV2({ item, navigation }: ItemTimaOneV2) {
|
|
34
|
-
return (
|
|
35
|
-
<View
|
|
36
|
-
style={{
|
|
37
|
-
backgroundColor: '#FFFFFF',
|
|
38
|
-
paddingHorizontal: 16,
|
|
39
|
-
marginBottom: 16,
|
|
40
|
-
borderRadius: 8,
|
|
41
|
-
borderWidth: 0.5,
|
|
42
|
-
borderColor: '#E0E0E0',
|
|
43
|
-
}}
|
|
44
|
-
>
|
|
45
|
-
<LinearGradient
|
|
46
|
-
colors={
|
|
47
|
-
item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0
|
|
48
|
-
? ['#4CBA3D', '#98D788']
|
|
49
|
-
: ['#FF8E4F', '#EF592E']
|
|
50
|
-
}
|
|
51
|
-
style={{
|
|
52
|
-
borderTopLeftRadius: 8,
|
|
53
|
-
borderTopRightRadius: 8,
|
|
54
|
-
marginHorizontal: -16,
|
|
55
|
-
}}
|
|
56
|
-
>
|
|
57
|
-
<View
|
|
58
|
-
style={{
|
|
59
|
-
flexDirection: 'row',
|
|
60
|
-
justifyContent: 'space-between',
|
|
61
|
-
alignItems: 'center',
|
|
62
|
-
paddingHorizontal: 16,
|
|
63
|
-
paddingVertical: 8,
|
|
64
|
-
}}
|
|
65
|
-
>
|
|
66
|
-
<View
|
|
67
|
-
style={{
|
|
68
|
-
flexDirection: 'row',
|
|
69
|
-
alignItems: 'center',
|
|
70
|
-
gap: 8,
|
|
71
|
-
}}
|
|
72
|
-
>
|
|
73
|
-
<IconMoney2 />
|
|
74
|
-
<MText
|
|
75
|
-
style={{
|
|
76
|
-
fontSize: 12,
|
|
77
|
-
color: 'white',
|
|
78
|
-
}}
|
|
79
|
-
>
|
|
80
|
-
Số tiền đăng ký vay
|
|
81
|
-
</MText>
|
|
82
|
-
</View>
|
|
83
|
-
<MText
|
|
84
|
-
style={{
|
|
85
|
-
fontSize: 12,
|
|
86
|
-
color: 'white',
|
|
87
|
-
fontWeight: 'bold',
|
|
88
|
-
}}
|
|
89
|
-
>
|
|
90
|
-
{item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0
|
|
91
|
-
? formatMoney(
|
|
92
|
-
item?.listLoanAllAutoDE.reduce(
|
|
93
|
-
(sum, item) => sum + item.totalMoney,
|
|
94
|
-
0
|
|
95
|
-
)
|
|
96
|
-
)
|
|
97
|
-
: formatMoney(item?.loanAmount)}
|
|
98
|
-
đ
|
|
99
|
-
</MText>
|
|
100
|
-
</View>
|
|
101
|
-
</LinearGradient>
|
|
102
|
-
{item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0 && (
|
|
103
|
-
<View
|
|
104
|
-
style={{
|
|
105
|
-
marginHorizontal: -16,
|
|
106
|
-
backgroundColor: '#ECFFE8',
|
|
107
|
-
paddingHorizontal: 16,
|
|
108
|
-
paddingVertical: 8,
|
|
109
|
-
}}
|
|
110
|
-
>
|
|
111
|
-
<View
|
|
112
|
-
style={{
|
|
113
|
-
flexDirection: 'row',
|
|
114
|
-
justifyContent: 'space-between',
|
|
115
|
-
}}
|
|
116
|
-
>
|
|
117
|
-
<MText
|
|
118
|
-
style={{
|
|
119
|
-
fontSize: 10,
|
|
120
|
-
color: '#878787',
|
|
121
|
-
marginLeft: 24,
|
|
122
|
-
}}
|
|
123
|
-
>
|
|
124
|
-
Số tiền giải ngân
|
|
125
|
-
</MText>
|
|
126
|
-
<MText
|
|
127
|
-
style={{
|
|
128
|
-
fontSize: 10,
|
|
129
|
-
color: '#333333',
|
|
130
|
-
}}
|
|
131
|
-
>
|
|
132
|
-
{formatMoney(
|
|
133
|
-
item?.listLoanAllAutoDE.reduce(
|
|
134
|
-
(sum, item) => sum + item.loanAmount,
|
|
135
|
-
0
|
|
136
|
-
)
|
|
137
|
-
)}{' '}
|
|
138
|
-
đ
|
|
139
|
-
</MText>
|
|
140
|
-
</View>
|
|
141
|
-
<View
|
|
142
|
-
style={{
|
|
143
|
-
flexDirection: 'row',
|
|
144
|
-
justifyContent: 'space-between',
|
|
145
|
-
marginTop: 6,
|
|
146
|
-
}}
|
|
147
|
-
>
|
|
148
|
-
<MText
|
|
149
|
-
style={{
|
|
150
|
-
fontSize: 10,
|
|
151
|
-
color: '#878787',
|
|
152
|
-
marginLeft: 24,
|
|
153
|
-
}}
|
|
154
|
-
>
|
|
155
|
-
Số tiền bảo hiểm
|
|
156
|
-
</MText>
|
|
157
|
-
<MText
|
|
158
|
-
style={{
|
|
159
|
-
fontSize: 10,
|
|
160
|
-
color: '#333333',
|
|
161
|
-
}}
|
|
162
|
-
>
|
|
163
|
-
{formatMoney(
|
|
164
|
-
item?.listLoanAllAutoDE.reduce(
|
|
165
|
-
(sum, item) => sum + item.insurenceMoney,
|
|
166
|
-
0
|
|
167
|
-
)
|
|
168
|
-
)}{' '}
|
|
169
|
-
đ
|
|
170
|
-
</MText>
|
|
171
|
-
</View>
|
|
172
|
-
</View>
|
|
173
|
-
)}
|
|
174
|
-
|
|
175
|
-
<View
|
|
176
|
-
style={{
|
|
177
|
-
flexDirection: 'row',
|
|
178
|
-
justifyContent: 'space-between',
|
|
179
|
-
marginTop:
|
|
180
|
-
item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0
|
|
181
|
-
? 16
|
|
182
|
-
: 32,
|
|
183
|
-
paddingHorizontal: 24,
|
|
184
|
-
}}
|
|
185
|
-
>
|
|
186
|
-
<TouchableOpacity
|
|
187
|
-
disabled={item?.step >= 3 ? true : false}
|
|
188
|
-
style={$action}
|
|
189
|
-
onPress={() => {
|
|
190
|
-
if (item?.step === 0) {
|
|
191
|
-
navigation.push(ScreenNames.OCR, {
|
|
192
|
-
loan: item,
|
|
193
|
-
front: true,
|
|
194
|
-
});
|
|
195
|
-
} else if (item?.step === 1) {
|
|
196
|
-
navigation.push(ScreenNames.VehicleCamera, {
|
|
197
|
-
loan: item,
|
|
198
|
-
front: true,
|
|
199
|
-
});
|
|
200
|
-
} else if (item?.step === 2) {
|
|
201
|
-
navigation.push(ScreenNames.RegisterCamera, {
|
|
202
|
-
loan: item,
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
}}
|
|
206
|
-
>
|
|
207
|
-
{item?.step >= 3 ? <IconOCRSuccess /> : <IconOcr />}
|
|
208
|
-
<MText
|
|
209
|
-
style={{
|
|
210
|
-
textAlign: 'center',
|
|
211
|
-
fontSize: 10,
|
|
212
|
-
marginTop: 5,
|
|
213
|
-
color: '#333333',
|
|
214
|
-
}}
|
|
215
|
-
>
|
|
216
|
-
OCR{'\n'}chứng từ
|
|
217
|
-
</MText>
|
|
218
|
-
</TouchableOpacity>
|
|
219
|
-
<TouchableOpacity
|
|
220
|
-
disabled={item?.step !== 3 ? true : false}
|
|
221
|
-
style={$action}
|
|
222
|
-
onPress={() => {
|
|
223
|
-
if (item?.step === 3) {
|
|
224
|
-
if (item?.typeLoan === 5) {
|
|
225
|
-
navigation.push(ScreenNames.ReviewInformation, {
|
|
226
|
-
loan: item,
|
|
227
|
-
});
|
|
228
|
-
} else if (item?.typeLoan === 6) {
|
|
229
|
-
navigation.push(ScreenNames.TopupLoanInfo, {
|
|
230
|
-
loan: item,
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}}
|
|
235
|
-
>
|
|
236
|
-
{item.step > 3 ? (
|
|
237
|
-
<IconEditSuccess />
|
|
238
|
-
) : item.step === 3 ? (
|
|
239
|
-
<IconEdit />
|
|
240
|
-
) : (
|
|
241
|
-
<IconEditDisable />
|
|
242
|
-
)}
|
|
243
|
-
<MText
|
|
244
|
-
style={{
|
|
245
|
-
textAlign: 'center',
|
|
246
|
-
fontSize: 10,
|
|
247
|
-
marginTop: 5,
|
|
248
|
-
color: '#333333',
|
|
249
|
-
}}
|
|
250
|
-
>
|
|
251
|
-
Cập nhật{'\n'}thông tin
|
|
252
|
-
</MText>
|
|
253
|
-
</TouchableOpacity>
|
|
254
|
-
<TouchableOpacity
|
|
255
|
-
onPress={() => {
|
|
256
|
-
navigation.push(ScreenNames.LivenessV2, {
|
|
257
|
-
loan: item,
|
|
258
|
-
});
|
|
259
|
-
}}
|
|
260
|
-
style={$action}
|
|
261
|
-
disabled={item?.step === 6 ? false : true}
|
|
262
|
-
>
|
|
263
|
-
{item?.step >= 7 ? (
|
|
264
|
-
<IconEkycSuccess />
|
|
265
|
-
) : item?.step <= 5 ? (
|
|
266
|
-
<IconEkycDisable />
|
|
267
|
-
) : (
|
|
268
|
-
<IconEkyc />
|
|
269
|
-
)}
|
|
270
|
-
|
|
271
|
-
<MText
|
|
272
|
-
style={{
|
|
273
|
-
textAlign: 'center',
|
|
274
|
-
fontSize: 10,
|
|
275
|
-
marginTop: 5,
|
|
276
|
-
color: '#333333',
|
|
277
|
-
}}
|
|
278
|
-
>
|
|
279
|
-
EKYC
|
|
280
|
-
</MText>
|
|
281
|
-
</TouchableOpacity>
|
|
282
|
-
<TouchableOpacity
|
|
283
|
-
disabled={item?.step === 7 ? false : true}
|
|
284
|
-
style={$action}
|
|
285
|
-
onPress={() => {
|
|
286
|
-
navigation.push(ScreenNames.TTSSignLoan, {
|
|
287
|
-
loan: item,
|
|
288
|
-
});
|
|
289
|
-
}}
|
|
290
|
-
>
|
|
291
|
-
{item?.step <= 6 ? (
|
|
292
|
-
<IconSignDisable />
|
|
293
|
-
) : item?.step === 8 ? (
|
|
294
|
-
<IconSignSuccess />
|
|
295
|
-
) : (
|
|
296
|
-
<IconSign2 />
|
|
297
|
-
)}
|
|
298
|
-
<MText
|
|
299
|
-
style={{
|
|
300
|
-
textAlign: 'center',
|
|
301
|
-
fontSize: 10,
|
|
302
|
-
marginTop: 5,
|
|
303
|
-
color: '#333333',
|
|
304
|
-
}}
|
|
305
|
-
>
|
|
306
|
-
Ký HĐ
|
|
307
|
-
</MText>
|
|
308
|
-
</TouchableOpacity>
|
|
309
|
-
</View>
|
|
310
|
-
|
|
311
|
-
<View
|
|
312
|
-
style={{
|
|
313
|
-
flexDirection: 'row',
|
|
314
|
-
alignItems: 'center',
|
|
315
|
-
gap: 8,
|
|
316
|
-
marginTop: 16,
|
|
317
|
-
backgroundColor: item?.step === 8 ? '#E8FFE9' : '#FFF2F2',
|
|
318
|
-
paddingHorizontal: 10,
|
|
319
|
-
paddingVertical: 10,
|
|
320
|
-
borderRadius: 4,
|
|
321
|
-
justifyContent: 'space-between',
|
|
322
|
-
}}
|
|
323
|
-
>
|
|
324
|
-
<View
|
|
325
|
-
style={{
|
|
326
|
-
flexDirection: 'row',
|
|
327
|
-
alignItems: 'center',
|
|
328
|
-
gap: 8,
|
|
329
|
-
flex: 1,
|
|
330
|
-
paddingRight: 24,
|
|
331
|
-
}}
|
|
332
|
-
>
|
|
333
|
-
{item?.step === 8 ? <IconTick /> : <Info />}
|
|
334
|
-
<MText
|
|
335
|
-
style={{
|
|
336
|
-
color: item?.step === 8 ? '#28A745' : '#E40010',
|
|
337
|
-
fontSize: 10,
|
|
338
|
-
}}
|
|
339
|
-
>
|
|
340
|
-
{item?.step < 3
|
|
341
|
-
? 'OCR chứng từ để được giải ngân'
|
|
342
|
-
: item?.step === 3
|
|
343
|
-
? `Tiếp tục Cập nhật thông tin để${'\n'}giải ngân nhanh nhất`
|
|
344
|
-
: item?.step === 6 || item?.step === 7
|
|
345
|
-
? `Tiếp tục eKYC và Ký hợp đồng để${'\n'}giải ngân nhanh nhất`
|
|
346
|
-
: item?.step === 8
|
|
347
|
-
? `Hợp đồng đã ký thành công. Vui lòng chờ chuyên viên tư vấn liên hệ`
|
|
348
|
-
: 'Đơn vay đang trong quá trình xử lý'}
|
|
349
|
-
</MText>
|
|
350
|
-
</View>
|
|
351
|
-
{item?.step < 3 ? (
|
|
352
|
-
<TouchableOpacity
|
|
353
|
-
onPress={() => {
|
|
354
|
-
if (item?.step === 0) {
|
|
355
|
-
navigation.push(ScreenNames.OCR, {
|
|
356
|
-
loan: item,
|
|
357
|
-
front: true,
|
|
358
|
-
});
|
|
359
|
-
} else if (item?.step === 1) {
|
|
360
|
-
navigation.push(ScreenNames.VehicleCamera, {
|
|
361
|
-
loan: item,
|
|
362
|
-
front: true,
|
|
363
|
-
});
|
|
364
|
-
} else if (item?.step === 2) {
|
|
365
|
-
navigation.push(ScreenNames.RegisterCamera, {
|
|
366
|
-
loan: item,
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
}}
|
|
370
|
-
>
|
|
371
|
-
<LinearGradient
|
|
372
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
373
|
-
style={{
|
|
374
|
-
height: 24,
|
|
375
|
-
alignItems: 'center',
|
|
376
|
-
justifyContent: 'center',
|
|
377
|
-
borderRadius: 24,
|
|
378
|
-
paddingHorizontal: 10,
|
|
379
|
-
}}
|
|
380
|
-
>
|
|
381
|
-
<MText
|
|
382
|
-
style={{
|
|
383
|
-
color: 'white',
|
|
384
|
-
fontSize: 10,
|
|
385
|
-
}}
|
|
386
|
-
>
|
|
387
|
-
Đi tới OCR
|
|
388
|
-
</MText>
|
|
389
|
-
</LinearGradient>
|
|
390
|
-
</TouchableOpacity>
|
|
391
|
-
) : item?.step === 3 ? (
|
|
392
|
-
<TouchableOpacity
|
|
393
|
-
onPress={() => {
|
|
394
|
-
if (item?.step === 3) {
|
|
395
|
-
if (item?.typeLoan === 5) {
|
|
396
|
-
navigation.push(ScreenNames.ReviewInformation, {
|
|
397
|
-
loan: item,
|
|
398
|
-
});
|
|
399
|
-
} else if (item?.typeLoan === 6) {
|
|
400
|
-
navigation.push(ScreenNames.TopupLoanInfo, {
|
|
401
|
-
loan: item,
|
|
402
|
-
});
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}}
|
|
406
|
-
>
|
|
407
|
-
<LinearGradient
|
|
408
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
409
|
-
style={{
|
|
410
|
-
height: 24,
|
|
411
|
-
alignItems: 'center',
|
|
412
|
-
justifyContent: 'center',
|
|
413
|
-
borderRadius: 24,
|
|
414
|
-
paddingHorizontal: 10,
|
|
415
|
-
}}
|
|
416
|
-
>
|
|
417
|
-
<MText
|
|
418
|
-
style={{
|
|
419
|
-
color: 'white',
|
|
420
|
-
fontSize: 10,
|
|
421
|
-
}}
|
|
422
|
-
>
|
|
423
|
-
Cập nhật thông tin
|
|
424
|
-
</MText>
|
|
425
|
-
</LinearGradient>
|
|
426
|
-
</TouchableOpacity>
|
|
427
|
-
) : item?.step === 6 ? (
|
|
428
|
-
<TouchableOpacity
|
|
429
|
-
onPress={() => {
|
|
430
|
-
navigation.push(ScreenNames.LivenessV2, {
|
|
431
|
-
loan: item,
|
|
432
|
-
});
|
|
433
|
-
}}
|
|
434
|
-
>
|
|
435
|
-
<LinearGradient
|
|
436
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
437
|
-
style={{
|
|
438
|
-
height: 24,
|
|
439
|
-
alignItems: 'center',
|
|
440
|
-
justifyContent: 'center',
|
|
441
|
-
borderRadius: 24,
|
|
442
|
-
paddingHorizontal: 10,
|
|
443
|
-
}}
|
|
444
|
-
>
|
|
445
|
-
<MText
|
|
446
|
-
style={{
|
|
447
|
-
color: 'white',
|
|
448
|
-
fontSize: 10,
|
|
449
|
-
}}
|
|
450
|
-
>
|
|
451
|
-
Đi tới EKYC
|
|
452
|
-
</MText>
|
|
453
|
-
</LinearGradient>
|
|
454
|
-
</TouchableOpacity>
|
|
455
|
-
) : item?.step === 7 ? (
|
|
456
|
-
<TouchableOpacity
|
|
457
|
-
onPress={() => {
|
|
458
|
-
navigation.push(ScreenNames.TTSSignLoan, {
|
|
459
|
-
loan: item,
|
|
460
|
-
});
|
|
461
|
-
}}
|
|
462
|
-
>
|
|
463
|
-
<LinearGradient
|
|
464
|
-
colors={['#FF8E4F', '#EF592E']}
|
|
465
|
-
style={{
|
|
466
|
-
height: 24,
|
|
467
|
-
alignItems: 'center',
|
|
468
|
-
justifyContent: 'center',
|
|
469
|
-
borderRadius: 24,
|
|
470
|
-
paddingHorizontal: 10,
|
|
471
|
-
}}
|
|
472
|
-
>
|
|
473
|
-
<MText
|
|
474
|
-
style={{
|
|
475
|
-
color: 'white',
|
|
476
|
-
fontSize: 10,
|
|
477
|
-
}}
|
|
478
|
-
>
|
|
479
|
-
Ký hợp đồng
|
|
480
|
-
</MText>
|
|
481
|
-
</LinearGradient>
|
|
482
|
-
</TouchableOpacity>
|
|
483
|
-
) : (
|
|
484
|
-
<></>
|
|
485
|
-
)}
|
|
486
|
-
</View>
|
|
487
|
-
|
|
488
|
-
<View
|
|
489
|
-
style={{
|
|
490
|
-
flexDirection: 'row',
|
|
491
|
-
justifyContent: 'space-between',
|
|
492
|
-
marginTop: 16,
|
|
493
|
-
}}
|
|
494
|
-
>
|
|
495
|
-
<MText
|
|
496
|
-
style={{
|
|
497
|
-
color: '#878787',
|
|
498
|
-
fontSize: 12,
|
|
499
|
-
}}
|
|
500
|
-
>
|
|
501
|
-
Trạng thái
|
|
502
|
-
</MText>
|
|
503
|
-
<MText
|
|
504
|
-
style={[
|
|
505
|
-
commonStyles.textNormalBold,
|
|
506
|
-
{ color: '#333333', fontSize: 12 },
|
|
507
|
-
]}
|
|
508
|
-
>
|
|
509
|
-
{item?.loanStatus}
|
|
510
|
-
</MText>
|
|
511
|
-
</View>
|
|
512
|
-
<View
|
|
513
|
-
style={{
|
|
514
|
-
height: 1,
|
|
515
|
-
backgroundColor: '#E0E0E0',
|
|
516
|
-
marginTop: 16,
|
|
517
|
-
}}
|
|
518
|
-
/>
|
|
519
|
-
{item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0 && (
|
|
520
|
-
<View>
|
|
521
|
-
<MText
|
|
522
|
-
style={{
|
|
523
|
-
fontSize: 12,
|
|
524
|
-
fontWeight: 'bold',
|
|
525
|
-
marginTop: 16,
|
|
526
|
-
color: '#333333',
|
|
527
|
-
}}
|
|
528
|
-
>
|
|
529
|
-
Danh sách đơn chia nhỏ
|
|
530
|
-
</MText>
|
|
531
|
-
{item?.listLoanAllAutoDE.map((x, index) => (
|
|
532
|
-
<View
|
|
533
|
-
key={index}
|
|
534
|
-
style={{
|
|
535
|
-
marginTop: 8,
|
|
536
|
-
borderBottomWidth:
|
|
537
|
-
index + 1 === item?.listLoanAllAutoDE.length ? 0 : 1,
|
|
538
|
-
borderColor: '#E0E0E0',
|
|
539
|
-
paddingBottom: 8,
|
|
540
|
-
}}
|
|
541
|
-
>
|
|
542
|
-
<View
|
|
543
|
-
style={{
|
|
544
|
-
flexDirection: 'row',
|
|
545
|
-
justifyContent: 'space-between',
|
|
546
|
-
}}
|
|
547
|
-
>
|
|
548
|
-
<View
|
|
549
|
-
style={{
|
|
550
|
-
flexDirection: 'row',
|
|
551
|
-
alignItems: 'center',
|
|
552
|
-
gap: 10,
|
|
553
|
-
}}
|
|
554
|
-
>
|
|
555
|
-
<IconTima16 />
|
|
556
|
-
<MText
|
|
557
|
-
style={[
|
|
558
|
-
commonStyles.textNormal,
|
|
559
|
-
{
|
|
560
|
-
color: '#333333',
|
|
561
|
-
fontSize: 12,
|
|
562
|
-
},
|
|
563
|
-
]}
|
|
564
|
-
>
|
|
565
|
-
HD-{x?.loanBriefId} ({index + 1})
|
|
566
|
-
</MText>
|
|
567
|
-
</View>
|
|
568
|
-
<MText
|
|
569
|
-
style={[
|
|
570
|
-
commonStyles.textNormalBold,
|
|
571
|
-
{
|
|
572
|
-
color: '#333333',
|
|
573
|
-
fontSize: 12,
|
|
574
|
-
},
|
|
575
|
-
]}
|
|
576
|
-
>
|
|
577
|
-
{formatMoney(x?.totalMoney)} đ
|
|
578
|
-
</MText>
|
|
579
|
-
</View>
|
|
580
|
-
</View>
|
|
581
|
-
))}
|
|
582
|
-
</View>
|
|
583
|
-
)}
|
|
584
|
-
|
|
585
|
-
{item?.listLoanAllAutoDE && item?.listLoanAllAutoDE.length > 0 && (
|
|
586
|
-
<TouchableOpacity
|
|
587
|
-
onPress={() => {
|
|
588
|
-
navigation.push(ScreenNames.LoanInterestRate, {
|
|
589
|
-
loan: item,
|
|
590
|
-
});
|
|
591
|
-
}}
|
|
592
|
-
style={{
|
|
593
|
-
flex: 1,
|
|
594
|
-
alignItems: 'center',
|
|
595
|
-
backgroundColor: '#EDF6FF',
|
|
596
|
-
marginHorizontal: -16,
|
|
597
|
-
paddingVertical: 10,
|
|
598
|
-
borderBottomRightRadius: 8,
|
|
599
|
-
borderBottomLeftRadius: 8,
|
|
600
|
-
marginTop: 10,
|
|
601
|
-
}}
|
|
602
|
-
>
|
|
603
|
-
<MText
|
|
604
|
-
style={[
|
|
605
|
-
{
|
|
606
|
-
fontSize: 12,
|
|
607
|
-
color: '#2F80ED',
|
|
608
|
-
},
|
|
609
|
-
]}
|
|
610
|
-
>
|
|
611
|
-
Bảng biểu lãi phí đơn vay {`->`}
|
|
612
|
-
</MText>
|
|
613
|
-
</TouchableOpacity>
|
|
614
|
-
)}
|
|
615
|
-
</View>
|
|
616
|
-
);
|
|
617
|
-
}
|