react-native-timacare 3.3.54 → 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 +318 -475
- 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 +318 -475
- 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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { observable, action, toJS, makeAutoObservable } from 'mobx';
|
|
3
3
|
import { Api } from '../../services/api';
|
|
4
4
|
import moment from 'moment';
|
|
5
|
-
import {
|
|
5
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
6
6
|
class Store {
|
|
7
7
|
listProvince = [];
|
|
8
8
|
listDistrict = [];
|
|
@@ -60,10 +60,20 @@ class Store {
|
|
|
60
60
|
});
|
|
61
61
|
}
|
|
62
62
|
} else {
|
|
63
|
-
|
|
63
|
+
AlertGlobal.show({
|
|
64
|
+
type: 'warning',
|
|
65
|
+
title: 'Thông báo',
|
|
66
|
+
message: response.data.meta.errorMessage,
|
|
67
|
+
primaryText: 'Đóng',
|
|
68
|
+
});
|
|
64
69
|
}
|
|
65
70
|
} else {
|
|
66
|
-
|
|
71
|
+
AlertGlobal.show({
|
|
72
|
+
type: 'warning',
|
|
73
|
+
title: 'Thông báo',
|
|
74
|
+
message: 'Không lấy được danh sách quận huyện.',
|
|
75
|
+
primaryText: 'Đóng',
|
|
76
|
+
});
|
|
67
77
|
}
|
|
68
78
|
} catch (error) {
|
|
69
79
|
console.log(error);
|
|
@@ -87,10 +97,20 @@ class Store {
|
|
|
87
97
|
});
|
|
88
98
|
}
|
|
89
99
|
} else {
|
|
90
|
-
|
|
100
|
+
AlertGlobal.show({
|
|
101
|
+
type: 'warning',
|
|
102
|
+
title: 'Thông báo',
|
|
103
|
+
message: response.data.meta.errorMessage,
|
|
104
|
+
primaryText: 'Đóng',
|
|
105
|
+
});
|
|
91
106
|
}
|
|
92
107
|
} else {
|
|
93
|
-
|
|
108
|
+
AlertGlobal.show({
|
|
109
|
+
type: 'warning',
|
|
110
|
+
title: 'Thông báo',
|
|
111
|
+
message: 'Không lấy được danh sách quận huyện.',
|
|
112
|
+
primaryText: 'Đóng',
|
|
113
|
+
});
|
|
94
114
|
}
|
|
95
115
|
} catch (error) {
|
|
96
116
|
console.log(error);
|
|
@@ -114,10 +134,20 @@ class Store {
|
|
|
114
134
|
});
|
|
115
135
|
}
|
|
116
136
|
} else {
|
|
117
|
-
|
|
137
|
+
AlertGlobal.show({
|
|
138
|
+
type: 'warning',
|
|
139
|
+
title: 'Thông báo',
|
|
140
|
+
message: response.data.meta.errorMessage,
|
|
141
|
+
primaryText: 'Đóng',
|
|
142
|
+
});
|
|
118
143
|
}
|
|
119
144
|
} else {
|
|
120
|
-
|
|
145
|
+
AlertGlobal.show({
|
|
146
|
+
type: 'warning',
|
|
147
|
+
title: 'Thông báo',
|
|
148
|
+
message: 'Không lấy được danh sách quận huyện.',
|
|
149
|
+
primaryText: 'Đóng',
|
|
150
|
+
});
|
|
121
151
|
}
|
|
122
152
|
} catch (error) {
|
|
123
153
|
console.log(error);
|
|
@@ -141,10 +171,20 @@ class Store {
|
|
|
141
171
|
});
|
|
142
172
|
}
|
|
143
173
|
} else {
|
|
144
|
-
|
|
174
|
+
AlertGlobal.show({
|
|
175
|
+
type: 'warning',
|
|
176
|
+
title: 'Thông báo',
|
|
177
|
+
message: response.data.meta.errorMessage,
|
|
178
|
+
primaryText: 'Đóng',
|
|
179
|
+
});
|
|
145
180
|
}
|
|
146
181
|
} else {
|
|
147
|
-
|
|
182
|
+
AlertGlobal.show({
|
|
183
|
+
type: 'warning',
|
|
184
|
+
title: 'Thông báo',
|
|
185
|
+
message: 'Không lấy được danh sách quận huyện.',
|
|
186
|
+
primaryText: 'Đóng',
|
|
187
|
+
});
|
|
148
188
|
}
|
|
149
189
|
} catch (error) {
|
|
150
190
|
console.log(error);
|
|
@@ -244,7 +284,12 @@ class Store {
|
|
|
244
284
|
if (response.data.meta.errorCode === 200) {
|
|
245
285
|
this.listJob = response.data.data;
|
|
246
286
|
} else {
|
|
247
|
-
|
|
287
|
+
AlertGlobal.show({
|
|
288
|
+
type: 'warning',
|
|
289
|
+
title: 'Thông báo',
|
|
290
|
+
message: response.data.meta.errorMessage,
|
|
291
|
+
primaryText: 'Đóng',
|
|
292
|
+
});
|
|
248
293
|
}
|
|
249
294
|
} else {
|
|
250
295
|
// Alert.alert('Thông báo', 'Không lấy được danh sách nghề nghi.');
|
|
@@ -266,7 +311,12 @@ class Store {
|
|
|
266
311
|
};
|
|
267
312
|
});
|
|
268
313
|
} else {
|
|
269
|
-
|
|
314
|
+
AlertGlobal.show({
|
|
315
|
+
type: 'warning',
|
|
316
|
+
title: 'Thông báo',
|
|
317
|
+
message: response.data.meta.errorMessage,
|
|
318
|
+
primaryText: 'Đóng',
|
|
319
|
+
});
|
|
270
320
|
}
|
|
271
321
|
} else {
|
|
272
322
|
// Alert.alert('Thông báo', 'Không lấy được danh sách nghề nghi.');
|
|
@@ -282,34 +332,29 @@ class Store {
|
|
|
282
332
|
loanBriefId: id,
|
|
283
333
|
});
|
|
284
334
|
if (response.kind === 'ok' && response.data.meta.errorCode === 200) {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
'
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
},
|
|
297
|
-
]
|
|
298
|
-
);
|
|
335
|
+
AlertGlobal.show({
|
|
336
|
+
type: 'warning',
|
|
337
|
+
title: 'Thông báo',
|
|
338
|
+
message: 'Vui lòng kiểm tra tin nhắn để hoàn tất ký hợp đồng',
|
|
339
|
+
primaryText: 'Xác nhận',
|
|
340
|
+
onPrimaryPress: () => {
|
|
341
|
+
if (onSuccess) {
|
|
342
|
+
onSuccess();
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
});
|
|
299
346
|
} else {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
347
|
+
AlertGlobal.show({
|
|
348
|
+
type: 'warning',
|
|
349
|
+
title: 'Thông báo',
|
|
350
|
+
message:
|
|
351
|
+
response.data?.meta?.errorMessage ||
|
|
303
352
|
'Có lỗi xảy ra. Vui lòng thử lại sau.',
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
]
|
|
312
|
-
);
|
|
353
|
+
primaryText: 'OK',
|
|
354
|
+
onPrimaryPress: () => {
|
|
355
|
+
onSuccess && onSuccess();
|
|
356
|
+
},
|
|
357
|
+
});
|
|
313
358
|
}
|
|
314
359
|
} catch (error) {
|
|
315
360
|
console.log(error);
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { observer } from 'mobx-react-lite';
|
|
3
3
|
import React, { useEffect, useMemo, useRef, useState } from 'react';
|
|
4
4
|
import {
|
|
5
|
-
Alert,
|
|
6
5
|
Platform,
|
|
7
6
|
SafeAreaView,
|
|
8
7
|
StyleSheet,
|
|
@@ -10,6 +9,7 @@ import {
|
|
|
10
9
|
View,
|
|
11
10
|
} from 'react-native';
|
|
12
11
|
import { formatDDMMYYY, formatMoney } from '../../utils';
|
|
12
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
13
13
|
import {
|
|
14
14
|
Camera as VisionCamera,
|
|
15
15
|
useCameraDevice,
|
|
@@ -73,21 +73,20 @@ export const Video = observer(function Video(props: any) {
|
|
|
73
73
|
|
|
74
74
|
if (!allGranted) {
|
|
75
75
|
setPassPermission(false);
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
AlertGlobal.show({
|
|
77
|
+
type: 'warning',
|
|
78
|
+
title: 'Thông báo',
|
|
79
|
+
message: anyBlocked
|
|
79
80
|
? 'Vui lòng bật quyền Camera và Micro trong Cài đặt để tiếp tục.'
|
|
80
81
|
: 'Vui lòng cấp quyền Camera và Micro để tiếp tục.',
|
|
81
|
-
anyBlocked
|
|
82
|
-
?
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
: [{ text: 'OK' }]
|
|
90
|
-
);
|
|
82
|
+
...(anyBlocked
|
|
83
|
+
? {
|
|
84
|
+
primaryText: 'Mở cài đặt',
|
|
85
|
+
onPrimaryPress: () => openSettings(),
|
|
86
|
+
secondaryText: 'Huỷ',
|
|
87
|
+
}
|
|
88
|
+
: { primaryText: 'OK' }),
|
|
89
|
+
});
|
|
91
90
|
}
|
|
92
91
|
|
|
93
92
|
setPassPermission(allGranted);
|
|
@@ -146,12 +145,13 @@ export const Video = observer(function Video(props: any) {
|
|
|
146
145
|
formData,
|
|
147
146
|
() => {
|
|
148
147
|
setIsLoading(false);
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
148
|
+
AlertGlobal.show({
|
|
149
|
+
type: 'success',
|
|
150
|
+
title: 'Thông báo',
|
|
151
|
+
message: 'Tải video lên thành công',
|
|
152
|
+
primaryText: 'Ok',
|
|
153
|
+
onPrimaryPress: () => navigation.goBack(),
|
|
154
|
+
});
|
|
155
155
|
},
|
|
156
156
|
() => {
|
|
157
157
|
setIsLoading(false);
|
|
@@ -161,7 +161,12 @@ export const Video = observer(function Video(props: any) {
|
|
|
161
161
|
setIsRecording(false);
|
|
162
162
|
setIsLoading(false);
|
|
163
163
|
console.error(err);
|
|
164
|
-
|
|
164
|
+
AlertGlobal.show({
|
|
165
|
+
type: 'warning',
|
|
166
|
+
title: 'Thông báo',
|
|
167
|
+
message: 'Không thể quay video. Vui lòng thử lại.',
|
|
168
|
+
primaryText: 'Đóng',
|
|
169
|
+
});
|
|
165
170
|
}
|
|
166
171
|
};
|
|
167
172
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import { action, observable } from 'mobx';
|
|
3
|
-
import { Alert } from 'react-native';
|
|
4
3
|
import { Api } from '../../services/api';
|
|
4
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
5
5
|
|
|
6
6
|
class Store {
|
|
7
7
|
@observable isLoading = false;
|
|
@@ -15,16 +15,31 @@ class Store {
|
|
|
15
15
|
if (response.data.meta.errorCode === 200) {
|
|
16
16
|
if (onSuccess) onSuccess();
|
|
17
17
|
} else {
|
|
18
|
-
|
|
18
|
+
AlertGlobal.show({
|
|
19
|
+
type: 'warning',
|
|
20
|
+
title: 'Thông báo',
|
|
21
|
+
message: response.data.meta.errorMessage,
|
|
22
|
+
primaryText: 'Đóng',
|
|
23
|
+
});
|
|
19
24
|
if (onError) onError();
|
|
20
25
|
}
|
|
21
26
|
} else {
|
|
22
|
-
|
|
27
|
+
AlertGlobal.show({
|
|
28
|
+
type: 'warning',
|
|
29
|
+
title: 'Thông báo',
|
|
30
|
+
message: 'Lỗi đã xảy ra. Vui lòng thực hiện lại',
|
|
31
|
+
primaryText: 'Đóng',
|
|
32
|
+
});
|
|
23
33
|
if (onError) onError();
|
|
24
34
|
}
|
|
25
35
|
} catch (error) {
|
|
26
36
|
console.log(error);
|
|
27
|
-
|
|
37
|
+
AlertGlobal.show({
|
|
38
|
+
type: 'warning',
|
|
39
|
+
title: 'Thông báo',
|
|
40
|
+
message: 'Lỗi đã xảy ra. Vui lòng thực hiện lại',
|
|
41
|
+
primaryText: 'Đóng',
|
|
42
|
+
});
|
|
28
43
|
if (onError) onError();
|
|
29
44
|
} finally {
|
|
30
45
|
this.isLoading = false;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import React, { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import {
|
|
4
|
-
Alert,
|
|
5
4
|
ScrollView,
|
|
6
5
|
TextInput,
|
|
7
6
|
TextStyle,
|
|
@@ -12,6 +11,7 @@ import {
|
|
|
12
11
|
import LinearGradient from 'react-native-linear-gradient';
|
|
13
12
|
import { observer } from 'mobx-react-lite';
|
|
14
13
|
import MHeader from '../../components/MHeader';
|
|
14
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
15
15
|
import { DropDown2, IconBack } from '../../assets/icons';
|
|
16
16
|
import { MText } from '../../components/MText';
|
|
17
17
|
import { Formik } from 'formik';
|
|
@@ -93,14 +93,22 @@ export const AssetInformation = observer(function AssetInformation(props) {
|
|
|
93
93
|
response.data.data?.carTypeId ?? null
|
|
94
94
|
);
|
|
95
95
|
} else {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
AlertGlobal.show({
|
|
97
|
+
type: 'warning',
|
|
98
|
+
title: 'Thông báo',
|
|
99
|
+
message:
|
|
100
|
+
response.data?.meta?.errorMessage ||
|
|
101
|
+
'Có lỗi xảy ra. Vui lòng thử lại sau!',
|
|
102
|
+
primaryText: 'Đóng',
|
|
103
|
+
});
|
|
101
104
|
}
|
|
102
105
|
} catch (error) {
|
|
103
|
-
|
|
106
|
+
AlertGlobal.show({
|
|
107
|
+
type: 'warning',
|
|
108
|
+
title: 'Thông báo',
|
|
109
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau!',
|
|
110
|
+
primaryText: 'Đóng',
|
|
111
|
+
});
|
|
104
112
|
} finally {
|
|
105
113
|
setIsLoading(false);
|
|
106
114
|
}
|
|
@@ -136,19 +144,30 @@ export const AssetInformation = observer(function AssetInformation(props) {
|
|
|
136
144
|
setIsLoading(false);
|
|
137
145
|
if (response.kind === 'ok') {
|
|
138
146
|
if (response.data?.meta?.errorCode === 200) {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
147
|
+
AlertGlobal.show({
|
|
148
|
+
type: 'success',
|
|
149
|
+
title: 'Thông báo',
|
|
150
|
+
message: 'Cập nhật thông tin tài sản thành công',
|
|
151
|
+
primaryText: 'Đồng ý',
|
|
152
|
+
onPrimaryPress: () => {
|
|
153
|
+
navigation.navigate(ScreenNames.Main);
|
|
145
154
|
},
|
|
146
|
-
|
|
155
|
+
});
|
|
147
156
|
} else {
|
|
148
|
-
|
|
157
|
+
AlertGlobal.show({
|
|
158
|
+
type: 'warning',
|
|
159
|
+
title: 'Thông báo',
|
|
160
|
+
message: response.data?.meta?.errorMessage,
|
|
161
|
+
primaryText: 'Đóng',
|
|
162
|
+
});
|
|
149
163
|
}
|
|
150
164
|
} else {
|
|
151
|
-
|
|
165
|
+
AlertGlobal.show({
|
|
166
|
+
type: 'warning',
|
|
167
|
+
title: 'Thông báo',
|
|
168
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
169
|
+
primaryText: 'Đóng',
|
|
170
|
+
});
|
|
152
171
|
}
|
|
153
172
|
} catch (error) {
|
|
154
173
|
console.log(error);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
//@ts-nocheck
|
|
2
2
|
import React, { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import {
|
|
4
|
-
Alert,
|
|
5
4
|
ScrollView,
|
|
6
5
|
TouchableOpacity,
|
|
7
6
|
View,
|
|
8
7
|
ViewStyle,
|
|
9
8
|
} from 'react-native';
|
|
10
9
|
import MHeader from '../../components/MHeader';
|
|
10
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
11
11
|
import { DropDown2, IconBack } from '../../assets/icons';
|
|
12
12
|
import { MText } from '../../components/MText';
|
|
13
13
|
import { Formik } from 'formik';
|
|
@@ -115,14 +115,22 @@ export default function LoanBuyCar(props) {
|
|
|
115
115
|
response.data.data?.carTypeId ?? null
|
|
116
116
|
);
|
|
117
117
|
} else {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
AlertGlobal.show({
|
|
119
|
+
type: 'warning',
|
|
120
|
+
title: 'Thông báo',
|
|
121
|
+
message:
|
|
122
|
+
response.data?.meta?.errorMessage ||
|
|
123
|
+
'Có lỗi xảy ra. Vui lòng thử lại sau!',
|
|
124
|
+
primaryText: 'Đóng',
|
|
125
|
+
});
|
|
123
126
|
}
|
|
124
127
|
} catch (error) {
|
|
125
|
-
|
|
128
|
+
AlertGlobal.show({
|
|
129
|
+
type: 'warning',
|
|
130
|
+
title: 'Thông báo',
|
|
131
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau!',
|
|
132
|
+
primaryText: 'Đóng',
|
|
133
|
+
});
|
|
126
134
|
} finally {
|
|
127
135
|
setIsLoading(false);
|
|
128
136
|
}
|
|
@@ -143,19 +151,30 @@ export default function LoanBuyCar(props) {
|
|
|
143
151
|
setIsLoading(false);
|
|
144
152
|
if (response.kind === 'ok') {
|
|
145
153
|
if (response.data?.meta?.errorCode === 200) {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
154
|
+
AlertGlobal.show({
|
|
155
|
+
type: 'success',
|
|
156
|
+
title: 'Thông báo',
|
|
157
|
+
message: 'Cập nhật thông tin tài sản thành công',
|
|
158
|
+
primaryText: 'Đồng ý',
|
|
159
|
+
onPrimaryPress: () => {
|
|
160
|
+
navigation.navigate(ScreenNames.Main);
|
|
152
161
|
},
|
|
153
|
-
|
|
162
|
+
});
|
|
154
163
|
} else {
|
|
155
|
-
|
|
164
|
+
AlertGlobal.show({
|
|
165
|
+
type: 'warning',
|
|
166
|
+
title: 'Thông báo',
|
|
167
|
+
message: response.data?.meta?.errorMessage,
|
|
168
|
+
primaryText: 'Đóng',
|
|
169
|
+
});
|
|
156
170
|
}
|
|
157
171
|
} else {
|
|
158
|
-
|
|
172
|
+
AlertGlobal.show({
|
|
173
|
+
type: 'warning',
|
|
174
|
+
title: 'Thông báo',
|
|
175
|
+
message: 'Có lỗi xảy ra. Vui lòng thử lại sau',
|
|
176
|
+
primaryText: 'Đóng',
|
|
177
|
+
});
|
|
159
178
|
}
|
|
160
179
|
} catch (error) {
|
|
161
180
|
console.log(error);
|
package/src/services/api/api.ts
CHANGED
|
@@ -7,7 +7,7 @@ import appStore from '../../AppStore';
|
|
|
7
7
|
import axios from 'axios';
|
|
8
8
|
import { load } from '../../utils/storage';
|
|
9
9
|
import { getSDKConfig, SDKConfig } from '../../sdkConfig';
|
|
10
|
-
import {
|
|
10
|
+
import { AlertGlobal } from '../../components/ModalNotification/AlertGlobal';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Retry tuning for weak / unstable networks.
|
|
@@ -116,31 +116,28 @@ export class Api {
|
|
|
116
116
|
this.isLoggingOut = true;
|
|
117
117
|
myLog('[API] 401 Unauthorized - triggering logout');
|
|
118
118
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
'
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
},
|
|
142
|
-
]
|
|
143
|
-
);
|
|
119
|
+
AlertGlobal.show({
|
|
120
|
+
type: 'warning',
|
|
121
|
+
title: 'Thông báo',
|
|
122
|
+
message: 'Phiên đăng nhập hết hạn. Vui lòng đăng nhập lại',
|
|
123
|
+
primaryText: 'Đồng ý',
|
|
124
|
+
onPrimaryPress: () => {
|
|
125
|
+
try {
|
|
126
|
+
if (
|
|
127
|
+
this.config.logout &&
|
|
128
|
+
typeof this.config.logout === 'function'
|
|
129
|
+
) {
|
|
130
|
+
this.config.logout();
|
|
131
|
+
} else {
|
|
132
|
+
myLog(
|
|
133
|
+
'[API] Warning: logout function not configured in SDKConfig'
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
} catch (error) {
|
|
137
|
+
myLog('[API] Error during logout:', error);
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
});
|
|
144
141
|
};
|
|
145
142
|
|
|
146
143
|
/**
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ItemTimaOneV2;var _react=_interopRequireDefault(require("react"));var _reactNative=require("react-native");var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _svgs=require("../assets/svgs");var _MText=require("./MText");var _utils=require("../utils");var _navigation=require("../navigation");var _icons=require("../assets/icons");var _jsxFileName="/Users/tima/Tima/react-native-timacare/src/components/ItemTimaOneV2.tsx";var $action={flexDirection:'column',alignItems:'center'};function ItemTimaOneV2(_ref){var _this=this;var item=_ref.item,navigation=_ref.navigation;return _react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFFFFF',paddingHorizontal:16,marginBottom:16,borderRadius:8,borderWidth:0.5,borderColor:'#E0E0E0'},__self:this,__source:{fileName:_jsxFileName,lineNumber:35,columnNumber:5}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?['#4CBA3D','#98D788']:['#FF8E4F','#EF592E'],style:{borderTopLeftRadius:8,borderTopRightRadius:8,marginHorizontal:-16},__self:this,__source:{fileName:_jsxFileName,lineNumber:45,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',alignItems:'center',paddingHorizontal:16,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:57,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:66,columnNumber:11}},_react.default.createElement(_svgs.IconMoney2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:73,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white'},__self:this,__source:{fileName:_jsxFileName,lineNumber:74,columnNumber:13}},"S\u1ED1 ti\u1EC1n \u0111\u0103ng k\xFD vay")),_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'white',fontWeight:'bold'},__self:this,__source:{fileName:_jsxFileName,lineNumber:83,columnNumber:11}},item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.totalMoney;},0)):(0,_utils.formatMoney)(item==null?void 0:item.loanAmount),"\u0111"))),(item==null?void 0:item.listLoanAllAutoDE)&&(item==null?void 0:item.listLoanAllAutoDE.length)>0&&_react.default.createElement(_reactNative.View,{style:{marginHorizontal:-16,backgroundColor:'#ECFFE8',paddingHorizontal:16,paddingVertical:8},__self:this,__source:{fileName:_jsxFileName,lineNumber:103,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:111,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#878787',marginLeft:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:117,columnNumber:13}},"S\u1ED1 ti\u1EC1n gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:126,columnNumber:13}},(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.loanAmount;},0)),' ',"\u0111")),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:6},__self:this,__source:{fileName:_jsxFileName,lineNumber:141,columnNumber:11}},_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#878787',marginLeft:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:148,columnNumber:13}},"S\u1ED1 ti\u1EC1n b\u1EA3o hi\u1EC3m"),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:157,columnNumber:13}},(0,_utils.formatMoney)(item==null?void 0:item.listLoanAllAutoDE.reduce(function(sum,item){return sum+item.insurenceMoney;},0)),' ',"\u0111"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:item!=null&&item.listLoanAllAutoDE&&(item==null?void 0:item.listLoanAllAutoDE.length)>0?16:32,paddingHorizontal:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:175,columnNumber:7}},_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)>=3?true:false,style:$action,onPress:function onPress(){if((item==null?void 0:item.step)===0){navigation.push(_navigation.ScreenNames.OCR,{loan:item,front:true});}else if((item==null?void 0:item.step)===1){navigation.push(_navigation.ScreenNames.VehicleCamera,{loan:item,front:true});}else if((item==null?void 0:item.step)===2){navigation.push(_navigation.ScreenNames.RegisterCamera,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:186,columnNumber:9}},(item==null?void 0:item.step)>=3?_react.default.createElement(_svgs.IconOCRSuccess,{__self:this,__source:{fileName:_jsxFileName,lineNumber:207,columnNumber:30}}):_react.default.createElement(_svgs.IconOcr,{__self:this,__source:{fileName:_jsxFileName,lineNumber:207,columnNumber:51}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:208,columnNumber:11}},"OCR",'\n',"ch\u1EE9ng t\u1EEB")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)!==3?true:false,style:$action,onPress:function onPress(){if((item==null?void 0:item.step)===3){if((item==null?void 0:item.typeLoan)===5){navigation.push(_navigation.ScreenNames.ReviewInformation,{loan:item});}else if((item==null?void 0:item.typeLoan)===6){navigation.push(_navigation.ScreenNames.TopupLoanInfo,{loan:item});}}},__self:this,__source:{fileName:_jsxFileName,lineNumber:219,columnNumber:9}},item.step>3?_react.default.createElement(_svgs.IconEditSuccess,{__self:this,__source:{fileName:_jsxFileName,lineNumber:237,columnNumber:13}}):item.step===3?_react.default.createElement(_svgs.IconEdit,{__self:this,__source:{fileName:_jsxFileName,lineNumber:239,columnNumber:13}}):_react.default.createElement(_svgs.IconEditDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:241,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:243,columnNumber:11}},"C\u1EADp nh\u1EADt",'\n',"th\xF4ng tin")),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.LivenessV2,{loan:item});},style:$action,disabled:(item==null?void 0:item.step)===6?false:true,__self:this,__source:{fileName:_jsxFileName,lineNumber:254,columnNumber:9}},(item==null?void 0:item.step)>=7?_react.default.createElement(_svgs.IconEkycSuccess,{__self:this,__source:{fileName:_jsxFileName,lineNumber:264,columnNumber:13}}):(item==null?void 0:item.step)<=5?_react.default.createElement(_svgs.IconEkycDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:266,columnNumber:13}}):_react.default.createElement(_svgs.IconEkyc,{__self:this,__source:{fileName:_jsxFileName,lineNumber:268,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:271,columnNumber:11}},"EKYC")),_react.default.createElement(_reactNative.TouchableOpacity,{disabled:(item==null?void 0:item.step)===7?false:true,style:$action,onPress:function onPress(){navigation.push(_navigation.ScreenNames.TTSSignLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:282,columnNumber:9}},(item==null?void 0:item.step)<=6?_react.default.createElement(_svgs.IconSignDisable,{__self:this,__source:{fileName:_jsxFileName,lineNumber:292,columnNumber:13}}):(item==null?void 0:item.step)===8?_react.default.createElement(_svgs.IconSignSuccess,{__self:this,__source:{fileName:_jsxFileName,lineNumber:294,columnNumber:13}}):_react.default.createElement(_icons.IconSign2,{__self:this,__source:{fileName:_jsxFileName,lineNumber:296,columnNumber:13}}),_react.default.createElement(_MText.MText,{style:{textAlign:'center',fontSize:10,marginTop:5,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:298,columnNumber:11}},"K\xFD H\u0110"))),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,marginTop:16,backgroundColor:(item==null?void 0:item.step)===8?'#E8FFE9':'#FFF2F2',paddingHorizontal:10,paddingVertical:10,borderRadius:4,justifyContent:'space-between'},__self:this,__source:{fileName:_jsxFileName,lineNumber:311,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:8,flex:1,paddingRight:24},__self:this,__source:{fileName:_jsxFileName,lineNumber:324,columnNumber:9}},(item==null?void 0:item.step)===8?_react.default.createElement(_svgs.IconTick,{__self:this,__source:{fileName:_jsxFileName,lineNumber:333,columnNumber:31}}):_react.default.createElement(_icons.Info,{__self:this,__source:{fileName:_jsxFileName,lineNumber:333,columnNumber:46}}),_react.default.createElement(_MText.MText,{style:{color:(item==null?void 0:item.step)===8?'#28A745':'#E40010',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:334,columnNumber:11}},(item==null?void 0:item.step)<3?'OCR chứng từ để được giải ngân':(item==null?void 0:item.step)===3?"Ti\u1EBFp t\u1EE5c C\u1EADp nh\u1EADt th\xF4ng tin \u0111\u1EC3"+'\n'+"gi\u1EA3i ng\xE2n nhanh nh\u1EA5t":(item==null?void 0:item.step)===6||(item==null?void 0:item.step)===7?"Ti\u1EBFp t\u1EE5c eKYC v\xE0 K\xFD h\u1EE3p \u0111\u1ED3ng \u0111\u1EC3"+'\n'+"gi\u1EA3i ng\xE2n nhanh nh\u1EA5t":(item==null?void 0:item.step)===8?"H\u1EE3p \u0111\u1ED3ng \u0111\xE3 k\xFD th\xE0nh c\xF4ng. Vui l\xF2ng ch\u1EDD chuy\xEAn vi\xEAn t\u01B0 v\u1EA5n li\xEAn h\u1EC7":'Đơn vay đang trong quá trình xử lý')),(item==null?void 0:item.step)<3?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===0){navigation.push(_navigation.ScreenNames.OCR,{loan:item,front:true});}else if((item==null?void 0:item.step)===1){navigation.push(_navigation.ScreenNames.VehicleCamera,{loan:item,front:true});}else if((item==null?void 0:item.step)===2){navigation.push(_navigation.ScreenNames.RegisterCamera,{loan:item});}},__self:this,__source:{fileName:_jsxFileName,lineNumber:352,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:371,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:381,columnNumber:15}},"\u0110i t\u1EDBi OCR"))):(item==null?void 0:item.step)===3?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){if((item==null?void 0:item.step)===3){if((item==null?void 0:item.typeLoan)===5){navigation.push(_navigation.ScreenNames.ReviewInformation,{loan:item});}else if((item==null?void 0:item.typeLoan)===6){navigation.push(_navigation.ScreenNames.TopupLoanInfo,{loan:item});}}},__self:this,__source:{fileName:_jsxFileName,lineNumber:392,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:407,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:417,columnNumber:15}},"C\u1EADp nh\u1EADt th\xF4ng tin"))):(item==null?void 0:item.step)===6?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.LivenessV2,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:428,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:435,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:445,columnNumber:15}},"\u0110i t\u1EDBi EKYC"))):(item==null?void 0:item.step)===7?_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.TTSSignLoan,{loan:item});},__self:this,__source:{fileName:_jsxFileName,lineNumber:456,columnNumber:11}},_react.default.createElement(_reactNativeLinearGradient.default,{colors:['#FF8E4F','#EF592E'],style:{height:24,alignItems:'center',justifyContent:'center',borderRadius:24,paddingHorizontal:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:463,columnNumber:13}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:473,columnNumber:15}},"K\xFD h\u1EE3p \u0111\u1ED3ng"))):_react.default.createElement(_react.default.Fragment,null)),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:488,columnNumber:7}},_react.default.createElement(_MText.MText,{style:{color:'#878787',fontSize:12},__self:this,__source:{fileName:_jsxFileName,lineNumber:495,columnNumber:9}},"Tr\u1EA1ng th\xE1i"),_react.default.createElement(_MText.MText,{style:[commonStyles.textNormalBold,{color:'#333333',fontSize:12}],__self:this,__source:{fileName:_jsxFileName,lineNumber:503,columnNumber:9}},item==null?void 0:item.loanStatus)),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#E0E0E0',marginTop:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:512,columnNumber:7}}),(item==null?void 0:item.listLoanAllAutoDE)&&(item==null?void 0:item.listLoanAllAutoDE.length)>0&&_react.default.createElement(_reactNative.View,{__self:this,__source:{fileName:_jsxFileName,lineNumber:520,columnNumber:9}},_react.default.createElement(_MText.MText,{style:{fontSize:12,fontWeight:'bold',marginTop:16,color:'#333333'},__self:this,__source:{fileName:_jsxFileName,lineNumber:521,columnNumber:11}},"Danh s\xE1ch \u0111\u01A1n chia nh\u1ECF"),item==null?void 0:item.listLoanAllAutoDE.map(function(x,index){return _react.default.createElement(_reactNative.View,{key:index,style:{marginTop:8,borderBottomWidth:index+1===(item==null?void 0:item.listLoanAllAutoDE.length)?0:1,borderColor:'#E0E0E0',paddingBottom:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:532,columnNumber:13}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',justifyContent:'space-between'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:542,columnNumber:15}},_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:548,columnNumber:17}},_react.default.createElement(IconTima16,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:555,columnNumber:19}}),_react.default.createElement(_MText.MText,{style:[commonStyles.textNormal,{color:'#333333',fontSize:12}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:556,columnNumber:19}},"HD-",x==null?void 0:x.loanBriefId," (",index+1,")")),_react.default.createElement(_MText.MText,{style:[commonStyles.textNormalBold,{color:'#333333',fontSize:12}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:568,columnNumber:17}},(0,_utils.formatMoney)(x==null?void 0:x.totalMoney)," \u0111")));})),(item==null?void 0:item.listLoanAllAutoDE)&&(item==null?void 0:item.listLoanAllAutoDE.length)>0&&_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.LoanInterestRate,{loan:item});},style:{flex:1,alignItems:'center',backgroundColor:'#EDF6FF',marginHorizontal:-16,paddingVertical:10,borderBottomRightRadius:8,borderBottomLeftRadius:8,marginTop:10},__self:this,__source:{fileName:_jsxFileName,lineNumber:586,columnNumber:9}},_react.default.createElement(_MText.MText,{style:[{fontSize:12,color:'#2F80ED'}],__self:this,__source:{fileName:_jsxFileName,lineNumber:603,columnNumber:11}},"B\u1EA3ng bi\u1EC3u l\xE3i ph\xED \u0111\u01A1n vay ","->")));}
|
|
2
|
-
//# sourceMappingURL=ItemTimaOneV2.js.map
|