@tima2025/react-native-timalender 1.0.0 → 1.0.1-glink
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/images/Invest/diamond_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/gold_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/index.js +1 -1
- package/lib/commonjs/assets/images/Invest/index.js.flow +12 -5
- package/lib/commonjs/assets/images/Invest/index.js.map +1 -1
- package/lib/commonjs/assets/images/Invest/money_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/ruby_glink.png +0 -0
- package/lib/commonjs/assets/images/Invest/titan_glink.png +0 -0
- package/lib/commonjs/assets/images/InvestNew/bg_none_glink.png +0 -0
- package/lib/commonjs/assets/images/InvestNew/index.js +1 -1
- package/lib/commonjs/assets/images/InvestNew/index.js.flow +14 -14
- package/lib/commonjs/assets/images/InvestNew/index.js.map +1 -1
- package/lib/commonjs/common/AppHeader.js +1 -1
- package/lib/commonjs/common/AppHeader.js.map +1 -1
- package/lib/commonjs/common/BSubmit/BSubmit.js +1 -1
- package/lib/commonjs/common/BSubmit/BSubmit.js.map +1 -1
- package/lib/commonjs/common/BSubmit/BSubmitVer2.js +1 -1
- package/lib/commonjs/common/BSubmit/BSubmitVer2.js.map +1 -1
- package/lib/commonjs/common/BackgroundLinear.js +1 -1
- package/lib/commonjs/common/BackgroundLinear.js.map +1 -1
- package/lib/commonjs/common/BorderWidth.js +1 -1
- package/lib/commonjs/common/BorderWidth.js.map +1 -1
- package/lib/commonjs/common/Button.js +1 -1
- package/lib/commonjs/common/Button.js.map +1 -1
- package/lib/commonjs/common/ButtonIcon.js +1 -1
- package/lib/commonjs/common/ButtonIcon.js.map +1 -1
- package/lib/commonjs/common/Container.js +1 -1
- package/lib/commonjs/common/Container.js.map +1 -1
- package/lib/commonjs/common/EmptyView.js +1 -1
- package/lib/commonjs/common/EmptyView.js.map +1 -1
- package/lib/commonjs/common/FlexRow.js +1 -1
- package/lib/commonjs/common/FlexRow.js.map +1 -1
- package/lib/commonjs/common/Header.js +1 -1
- package/lib/commonjs/common/Header.js.map +1 -1
- package/lib/commonjs/common/HeaderClose/HeaderClose.js +1 -1
- package/lib/commonjs/common/HeaderClose/HeaderClose.js.map +1 -1
- package/lib/commonjs/common/InputBox.js +1 -1
- package/lib/commonjs/common/InputBox.js.map +1 -1
- package/lib/commonjs/common/LazyImage.js +1 -1
- package/lib/commonjs/common/LazyImage.js.map +1 -1
- package/lib/commonjs/common/Loading.js +1 -1
- package/lib/commonjs/common/Loading.js.map +1 -1
- package/lib/commonjs/common/RText.js +1 -1
- package/lib/commonjs/common/RText.js.map +1 -1
- package/lib/commonjs/common/SpaceBetween.js +1 -1
- package/lib/commonjs/common/SpaceBetween.js.map +1 -1
- package/lib/commonjs/common/VectorIcon/Icon.js +1 -1
- package/lib/commonjs/common/VectorIcon/Icon.js.map +1 -1
- package/lib/commonjs/components/CalenderPicker/ModalCalendarPicker.js +1 -1
- package/lib/commonjs/components/CalenderPicker/ModalCalendarPicker.js.map +1 -1
- package/lib/commonjs/components/CustomCollapse/CustomCollapse.js +1 -1
- package/lib/commonjs/components/CustomCollapse/CustomCollapse.js.map +1 -1
- package/lib/commonjs/components/CustomModal/CustomModal.js +1 -1
- package/lib/commonjs/components/CustomModal/CustomModal.js.flow +7 -5
- package/lib/commonjs/components/CustomModal/CustomModal.js.map +1 -1
- package/lib/commonjs/components/CustomPopover/CustomPopover.js +1 -1
- package/lib/commonjs/components/CustomPopover/CustomPopover.js.map +1 -1
- package/lib/commonjs/components/IconNotification/index.js +1 -1
- package/lib/commonjs/components/IconNotification/index.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.flow +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ModalPickShop/ModalPickShop.js +1 -1
- package/lib/commonjs/components/ModalPickShop/ModalPickShop.js.map +1 -1
- package/lib/commonjs/components/Navigation/AppNavigator.js +1 -1
- package/lib/commonjs/components/Navigation/AppNavigator.js.map +1 -1
- package/lib/commonjs/components/Navigation/AuthNavigator.js +1 -1
- package/lib/commonjs/components/Navigation/AuthNavigator.js.map +1 -1
- package/lib/commonjs/components/Navigation/TabNavigation.js +1 -1
- package/lib/commonjs/components/Navigation/TabNavigation.js.flow +3 -0
- package/lib/commonjs/components/Navigation/TabNavigation.js.map +1 -1
- package/lib/commonjs/components/Navigation/index.js +1 -1
- package/lib/commonjs/components/Navigation/index.js.map +1 -1
- package/lib/commonjs/components/hightchart/index.js +1 -1
- package/lib/commonjs/components/hightchart/index.js.map +1 -1
- package/lib/commonjs/components/keyboardspacer/index.js +1 -1
- package/lib/commonjs/components/keyboardspacer/index.js.map +1 -1
- package/lib/commonjs/hooks/Countdown/useCountdown.js +1 -1
- package/lib/commonjs/hooks/Countdown/useCountdown.js.map +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/screens/About/index.js +1 -1
- package/lib/commonjs/screens/About/index.js.flow +1 -1
- package/lib/commonjs/screens/About/index.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmAddInvestment.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmAddInvestment.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js.flow +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/DropdownListBank.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/DropdownListBank.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/Success.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/Success.js.flow +2 -2
- package/lib/commonjs/screens/AdditionalInvestmentCapital/Components/Success.js.map +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/index.js +1 -1
- package/lib/commonjs/screens/AdditionalInvestmentCapital/index.js.map +1 -1
- package/lib/commonjs/screens/AvailableAmount/Components/PopoverTypeTransaction.js +1 -1
- package/lib/commonjs/screens/AvailableAmount/Components/PopoverTypeTransaction.js.map +1 -1
- package/lib/commonjs/screens/AvailableAmount/Components/TableHead.js +1 -1
- package/lib/commonjs/screens/AvailableAmount/Components/TableHead.js.map +1 -1
- package/lib/commonjs/screens/AvailableAmount/Tabs/Tab1.js +1 -1
- package/lib/commonjs/screens/AvailableAmount/Tabs/Tab1.js.map +1 -1
- package/lib/commonjs/screens/AvailableAmount/Tabs/Tab2.js +1 -1
- package/lib/commonjs/screens/AvailableAmount/Tabs/Tab2.js.map +1 -1
- package/lib/commonjs/screens/AvailableAmount/index.js +1 -1
- package/lib/commonjs/screens/AvailableAmount/index.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListAccepted/ListAccepted.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListAccepted/ListAccepted.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListAccepted/TableHead.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListAccepted/TableHead.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/ListPending.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/ListPending.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/ModalAccept.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/ModalAccept.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/ModalWarn.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/ModalWarn.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/PopoverTime.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/PopoverTime.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/TableHead.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListPending/TableHead.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/TableHead.js +1 -1
- package/lib/commonjs/screens/BuyDebt/Components/ListSuccess/TableHead.js.map +1 -1
- package/lib/commonjs/screens/BuyDebt/index.js +1 -1
- package/lib/commonjs/screens/BuyDebt/index.js.map +1 -1
- package/lib/commonjs/screens/BuyDue/index.js +1 -1
- package/lib/commonjs/screens/BuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/BuyDueOTP/index.js +1 -1
- package/lib/commonjs/screens/BuyDueOTP/index.js.map +1 -1
- package/lib/commonjs/screens/Camera/ModalSuccess.js +1 -1
- package/lib/commonjs/screens/Camera/ModalSuccess.js.map +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraBackResult.js +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraBackResult.js.map +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraFrontBack.js +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraFrontBack.js.map +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraFrontResult.js +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraFrontResult.js.map +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraSelfie.js +1 -1
- package/lib/commonjs/screens/Camera/Screens/CameraSelfie.js.map +1 -1
- package/lib/commonjs/screens/Camera/index.js +1 -1
- package/lib/commonjs/screens/Camera/index.js.map +1 -1
- package/lib/commonjs/screens/CashBook/index.js +1 -1
- package/lib/commonjs/screens/CashBook/index.js.map +1 -1
- package/lib/commonjs/screens/ChangePassword/index.js +1 -1
- package/lib/commonjs/screens/ChangePassword/index.js.map +1 -1
- package/lib/commonjs/screens/Confirm/Components/ModalChooseBank.js +1 -1
- package/lib/commonjs/screens/Confirm/Components/ModalChooseBank.js.map +1 -1
- package/lib/commonjs/screens/Confirm/index.js +1 -1
- package/lib/commonjs/screens/Confirm/index.js.flow +1 -1
- package/lib/commonjs/screens/Confirm/index.js.map +1 -1
- package/lib/commonjs/screens/ConnectBank/index.js +1 -1
- package/lib/commonjs/screens/ConnectBank/index.js.flow +2 -2
- package/lib/commonjs/screens/ConnectBank/index.js.map +1 -1
- package/lib/commonjs/screens/Contract/index.js +1 -1
- package/lib/commonjs/screens/Contract/index.js.map +1 -1
- package/lib/commonjs/screens/ContractDetail/index.js +1 -1
- package/lib/commonjs/screens/ContractDetail/index.js.map +1 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js +1 -1
- package/lib/commonjs/screens/CooperationAgreement/index.js.map +1 -1
- package/lib/commonjs/screens/DashBoardDetail/Components/AddInvestment.js +1 -1
- package/lib/commonjs/screens/DashBoardDetail/Components/AddInvestment.js.map +1 -1
- package/lib/commonjs/screens/DashBoardDetail/index.js +1 -1
- package/lib/commonjs/screens/DashBoardDetail/index.js.map +1 -1
- package/lib/commonjs/screens/DebtPurchaseContract/index.js +1 -1
- package/lib/commonjs/screens/DebtPurchaseContract/index.js.map +1 -1
- package/lib/commonjs/screens/Detail/Components/Modal.js +1 -1
- package/lib/commonjs/screens/Detail/Components/Modal.js.map +1 -1
- package/lib/commonjs/screens/Detail/index.js +1 -1
- package/lib/commonjs/screens/Detail/index.js.map +1 -1
- package/lib/commonjs/screens/DetailBuyDue/Components/ModalNotifiBuydue.js +1 -1
- package/lib/commonjs/screens/DetailBuyDue/Components/ModalNotifiBuydue.js.map +1 -1
- package/lib/commonjs/screens/DetailBuyDue/index.js +1 -1
- package/lib/commonjs/screens/DetailBuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/DetailDebt/index.js +1 -1
- package/lib/commonjs/screens/DetailDebt/index.js.map +1 -1
- package/lib/commonjs/screens/DetailHistory/Screens/Extend.js +1 -1
- package/lib/commonjs/screens/DetailHistory/Screens/Extend.js.map +1 -1
- package/lib/commonjs/screens/DetailHistory/Screens/ExtendVerifyOTP.js +1 -1
- package/lib/commonjs/screens/DetailHistory/Screens/ExtendVerifyOTP.js.map +1 -1
- package/lib/commonjs/screens/DetailHistory/index.js +1 -1
- package/lib/commonjs/screens/DetailHistory/index.js.map +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/Components/RenderLoan.js +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/Components/RenderLoan.js.map +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/Components/TableHead.js +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/Components/TableHead.js.map +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/index.js +1 -1
- package/lib/commonjs/screens/DetailLoanApplication/index.js.map +1 -1
- package/lib/commonjs/screens/DetailNotification/index.js +1 -1
- package/lib/commonjs/screens/DetailNotification/index.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Components/ModalGuiDeSelfie.js +1 -1
- package/lib/commonjs/screens/EKYC/Components/ModalGuiDeSelfie.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Components/ModalGuide.js +1 -1
- package/lib/commonjs/screens/EKYC/Components/ModalGuide.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Screens/LiveNess.js +1 -1
- package/lib/commonjs/screens/EKYC/Screens/LiveNess.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Screens/NationalIDBack.js +1 -1
- package/lib/commonjs/screens/EKYC/Screens/NationalIDBack.js.map +1 -1
- package/lib/commonjs/screens/EKYC/Screens/Selfie.js +1 -1
- package/lib/commonjs/screens/EKYC/Screens/Selfie.js.map +1 -1
- package/lib/commonjs/screens/EKYC/index.js +1 -1
- package/lib/commonjs/screens/EKYC/index.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/Components/PortalFrame.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/Components/PortalFrame.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/Components/RecordingGuildStep.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/Components/RecordingGuildStep.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/EkycCamera.js.map +1 -1
- package/lib/commonjs/screens/EkycLiveness/index.js +1 -1
- package/lib/commonjs/screens/EkycLiveness/index.js.map +1 -1
- package/lib/commonjs/screens/EnterOTPGpay/index.js +1 -1
- package/lib/commonjs/screens/EnterOTPGpay/index.js.map +1 -1
- package/lib/commonjs/screens/ExtendContract/index.js +1 -1
- package/lib/commonjs/screens/ExtendContract/index.js.map +1 -1
- package/lib/commonjs/screens/ExtendContractOTP/index.js +1 -1
- package/lib/commonjs/screens/ExtendContractOTP/index.js.map +1 -1
- package/lib/commonjs/screens/ForgotPassword/index.js +1 -1
- package/lib/commonjs/screens/ForgotPassword/index.js.map +1 -1
- package/lib/commonjs/screens/ForgotPasswordOTP/index.js +1 -1
- package/lib/commonjs/screens/ForgotPasswordOTP/index.js.map +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js.flow +1 -1
- package/lib/commonjs/screens/GpayInfor/Gpay.js.map +1 -1
- package/lib/commonjs/screens/GpayInfor/index.js +1 -1
- package/lib/commonjs/screens/GpayInfor/index.js.map +1 -1
- package/lib/commonjs/screens/Guide/index.js +1 -1
- package/lib/commonjs/screens/Guide/index.js.flow +3 -3
- package/lib/commonjs/screens/Guide/index.js.map +1 -1
- package/lib/commonjs/screens/HomePage/Components/PopoverSortStatus.js +1 -1
- package/lib/commonjs/screens/HomePage/Components/PopoverSortStatus.js.map +1 -1
- package/lib/commonjs/screens/HomePage/index.js +1 -1
- package/lib/commonjs/screens/HomePage/index.js.map +1 -1
- package/lib/commonjs/screens/InputBank/index.js +1 -1
- package/lib/commonjs/screens/InputBank/index.js.flow +2 -2
- package/lib/commonjs/screens/InputBank/index.js.map +1 -1
- package/lib/commonjs/screens/InterestFine/index.js +1 -1
- package/lib/commonjs/screens/InterestFine/index.js.map +1 -1
- package/lib/commonjs/screens/InterestReceived/index.js +1 -1
- package/lib/commonjs/screens/InterestReceived/index.js.map +1 -1
- package/lib/commonjs/screens/Intro/index.js +1 -1
- package/lib/commonjs/screens/Intro/index.js.map +1 -1
- package/lib/commonjs/screens/Invest/Screens/HomeLoan.js +1 -1
- package/lib/commonjs/screens/Invest/Screens/HomeLoan.js.map +1 -1
- package/lib/commonjs/screens/Invest/Screens/PersonalLoan.js +1 -1
- package/lib/commonjs/screens/Invest/Screens/PersonalLoan.js.map +1 -1
- package/lib/commonjs/screens/Invest/index.js +1 -1
- package/lib/commonjs/screens/Invest/index.js.map +1 -1
- package/lib/commonjs/screens/InvestDetail/index.js +1 -1
- package/lib/commonjs/screens/InvestDetail/index.js.map +1 -1
- package/lib/commonjs/screens/InvestNew/Screens/HomeLoan.js +1 -1
- package/lib/commonjs/screens/InvestNew/Screens/HomeLoan.js.map +1 -1
- package/lib/commonjs/screens/InvestNew/Screens/PersonalLoan.js +1 -1
- package/lib/commonjs/screens/InvestNew/Screens/PersonalLoan.js.map +1 -1
- package/lib/commonjs/screens/InvestNew/index.js +1 -1
- package/lib/commonjs/screens/InvestNew/index.js.map +1 -1
- package/lib/commonjs/screens/LinkSuccess/index.js +1 -1
- package/lib/commonjs/screens/LinkSuccess/index.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/Components/ListLoan.js +1 -1
- package/lib/commonjs/screens/ListLoan/Components/ListLoan.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/Components/ListLoanClosed.js +1 -1
- package/lib/commonjs/screens/ListLoan/Components/ListLoanClosed.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/Components/PopoverChooseStatus.js +1 -1
- package/lib/commonjs/screens/ListLoan/Components/PopoverChooseStatus.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/ModalFilter.js +1 -1
- package/lib/commonjs/screens/ListLoan/ModalFilter.js.map +1 -1
- package/lib/commonjs/screens/ListLoan/index.js +1 -1
- package/lib/commonjs/screens/ListLoan/index.js.map +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/Components/ConfirmRecharge.js +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/Components/ConfirmRecharge.js.flow +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/Components/ConfirmRecharge.js.map +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/index.js +1 -1
- package/lib/commonjs/screens/ListWaitingApproval/index.js.map +1 -1
- package/lib/commonjs/screens/ListWaitingExtension/index.js +1 -1
- package/lib/commonjs/screens/ListWaitingExtension/index.js.map +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/ModalWarn.js +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/ModalWarn.js.flow +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/ModalWarn.js.map +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/TableHead.js +1 -1
- package/lib/commonjs/screens/LoanApplication/Components/TableHead.js.map +1 -1
- package/lib/commonjs/screens/LoanApplication/index.js +1 -1
- package/lib/commonjs/screens/LoanApplication/index.js.map +1 -1
- package/lib/commonjs/screens/LockingLoan/index.js +1 -1
- package/lib/commonjs/screens/LockingLoan/index.js.map +1 -1
- package/lib/commonjs/screens/Notification/index.js +1 -1
- package/lib/commonjs/screens/Notification/index.js.flow +1 -1
- package/lib/commonjs/screens/Notification/index.js.map +1 -1
- package/lib/commonjs/screens/OTP/index.js +1 -1
- package/lib/commonjs/screens/OTP/index.js.map +1 -1
- package/lib/commonjs/screens/OTPSignDebtContract/index.js +1 -1
- package/lib/commonjs/screens/OTPSignDebtContract/index.js.map +1 -1
- package/lib/commonjs/screens/Optional/index.js +1 -1
- package/lib/commonjs/screens/Optional/index.js.flow +2 -2
- package/lib/commonjs/screens/Optional/index.js.map +1 -1
- package/lib/commonjs/screens/PassCode/index.js +1 -1
- package/lib/commonjs/screens/PassCode/index.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/Components/ModalFilterTime.js +1 -1
- package/lib/commonjs/screens/PendingLoan/Components/ModalFilterTime.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1.js +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1.js.flow +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1DT.js +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab1DT.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab2.js +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab2.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab3.js +1 -1
- package/lib/commonjs/screens/PendingLoan/Tabs/Tab3.js.map +1 -1
- package/lib/commonjs/screens/PendingLoan/index.js +1 -1
- package/lib/commonjs/screens/PendingLoan/index.js.map +1 -1
- package/lib/commonjs/screens/PendingMoney/index.js +1 -1
- package/lib/commonjs/screens/PendingMoney/index.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab1.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab1.js.flow +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab1.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab2.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab2.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab3.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab3.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab4.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab4.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab5.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/Components/Tab5.js.map +1 -1
- package/lib/commonjs/screens/ReceivedLoan/index.js +1 -1
- package/lib/commonjs/screens/ReceivedLoan/index.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Components/DragButton.js +1 -1
- package/lib/commonjs/screens/SellDebt/Components/DragButton.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Components/ModalDelete.js +1 -1
- package/lib/commonjs/screens/SellDebt/Components/ModalDelete.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Components/ModalNotDelete.js +1 -1
- package/lib/commonjs/screens/SellDebt/Components/ModalNotDelete.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Components/RenderList.js +1 -1
- package/lib/commonjs/screens/SellDebt/Components/RenderList.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Components/TableHead.js +1 -1
- package/lib/commonjs/screens/SellDebt/Components/TableHead.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Tabs/Pushed.js +1 -1
- package/lib/commonjs/screens/SellDebt/Tabs/Pushed.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/Tabs/Sold.js +1 -1
- package/lib/commonjs/screens/SellDebt/Tabs/Sold.js.map +1 -1
- package/lib/commonjs/screens/SellDebt/index.js +1 -1
- package/lib/commonjs/screens/SellDebt/index.js.map +1 -1
- package/lib/commonjs/screens/SetPassword/index.js +1 -1
- package/lib/commonjs/screens/SetPassword/index.js.map +1 -1
- package/lib/commonjs/screens/ShowBuyDue/index.js +1 -1
- package/lib/commonjs/screens/ShowBuyDue/index.js.map +1 -1
- package/lib/commonjs/screens/Sign-in/index.js +1 -1
- package/lib/commonjs/screens/Sign-in/index.js.flow +1 -1
- package/lib/commonjs/screens/Sign-in/index.js.map +1 -1
- package/lib/commonjs/screens/Sign-up/index.js +1 -1
- package/lib/commonjs/screens/Sign-up/index.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/Components/ModalChooseMoney.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/Components/ModalChooseMoney.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/ConfirmContact.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/ConfirmContact.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js.flow +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/SignContract.js.map +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/index.js +1 -1
- package/lib/commonjs/screens/SignContractGpayTima/index.js.flow +2 -2
- package/lib/commonjs/screens/SignContractGpayTima/index.js.map +1 -1
- package/lib/commonjs/screens/SignDebtContract/index.js +1 -1
- package/lib/commonjs/screens/SignDebtContract/index.js.map +1 -1
- package/lib/commonjs/screens/Splash/index.js +1 -1
- package/lib/commonjs/screens/Splash/index.js.map +1 -1
- package/lib/commonjs/screens/Statistical/index.js +1 -1
- package/lib/commonjs/screens/Statistical/index.js.map +1 -1
- package/lib/commonjs/screens/Support/index.js +1 -1
- package/lib/commonjs/screens/Support/index.js.flow +1 -1
- package/lib/commonjs/screens/Support/index.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Components/PopoverChooseShop.js +1 -1
- package/lib/commonjs/screens/Transfer/Components/PopoverChooseShop.js.flow +2 -2
- package/lib/commonjs/screens/Transfer/Components/PopoverChooseShop.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Components/PopoverSortDebt.js +1 -1
- package/lib/commonjs/screens/Transfer/Components/PopoverSortDebt.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Buy.js +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Buy.js.map +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Sell.js +1 -1
- package/lib/commonjs/screens/Transfer/Tabs/Sell.js.map +1 -1
- package/lib/commonjs/screens/Transfer/index.js +1 -1
- package/lib/commonjs/screens/Transfer/index.js.map +1 -1
- package/lib/commonjs/screens/TransferSuccess/index.js +1 -1
- package/lib/commonjs/screens/TransferSuccess/index.js.map +1 -1
- package/lib/commonjs/screens/WithDraw/index.js +1 -1
- package/lib/commonjs/screens/WithDraw/index.js.map +1 -1
- package/lib/commonjs/screens/WithdrawGpay/index.js +1 -1
- package/lib/commonjs/screens/WithdrawGpay/index.js.map +1 -1
- package/lib/commonjs/screens/WithdrawSuccess/index.js +1 -1
- package/lib/commonjs/screens/WithdrawSuccess/index.js.map +1 -1
- package/lib/commonjs/screens/terms/index.js +1 -1
- package/lib/commonjs/screens/terms/index.js.map +1 -1
- package/lib/module/assets/images/Invest/diamond_glink.png +0 -0
- package/lib/module/assets/images/Invest/gold_glink.png +0 -0
- package/lib/module/assets/images/Invest/index.js +1 -1
- package/lib/module/assets/images/Invest/index.js.map +1 -1
- package/lib/module/assets/images/Invest/money_glink.png +0 -0
- package/lib/module/assets/images/Invest/ruby_glink.png +0 -0
- package/lib/module/assets/images/Invest/titan_glink.png +0 -0
- package/lib/module/assets/images/InvestNew/bg_none_glink.png +0 -0
- package/lib/module/assets/images/InvestNew/index.js +1 -1
- package/lib/module/assets/images/InvestNew/index.js.map +1 -1
- package/lib/module/common/AppHeader.js +1 -1
- package/lib/module/common/AppHeader.js.map +1 -1
- package/lib/module/common/BSubmit/BSubmit.js +1 -1
- package/lib/module/common/BSubmit/BSubmit.js.map +1 -1
- package/lib/module/common/BSubmit/BSubmitVer2.js +1 -1
- package/lib/module/common/BSubmit/BSubmitVer2.js.map +1 -1
- package/lib/module/common/BackgroundLinear.js +1 -1
- package/lib/module/common/BackgroundLinear.js.map +1 -1
- package/lib/module/common/BorderWidth.js +1 -1
- package/lib/module/common/BorderWidth.js.map +1 -1
- package/lib/module/common/Button.js +1 -1
- package/lib/module/common/Button.js.map +1 -1
- package/lib/module/common/ButtonIcon.js +1 -1
- package/lib/module/common/ButtonIcon.js.map +1 -1
- package/lib/module/common/Container.js +1 -1
- package/lib/module/common/Container.js.map +1 -1
- package/lib/module/common/EmptyView.js +1 -1
- package/lib/module/common/EmptyView.js.map +1 -1
- package/lib/module/common/FlexRow.js +1 -1
- package/lib/module/common/FlexRow.js.map +1 -1
- package/lib/module/common/Header.js +1 -1
- package/lib/module/common/Header.js.map +1 -1
- package/lib/module/common/HeaderClose/HeaderClose.js +1 -1
- package/lib/module/common/HeaderClose/HeaderClose.js.map +1 -1
- package/lib/module/common/InputBox.js +1 -1
- package/lib/module/common/InputBox.js.map +1 -1
- package/lib/module/common/LazyImage.js +1 -1
- package/lib/module/common/LazyImage.js.map +1 -1
- package/lib/module/common/Loading.js +1 -1
- package/lib/module/common/Loading.js.map +1 -1
- package/lib/module/common/RText.js +1 -1
- package/lib/module/common/RText.js.map +1 -1
- package/lib/module/common/SpaceBetween.js +1 -1
- package/lib/module/common/SpaceBetween.js.map +1 -1
- package/lib/module/common/VectorIcon/Icon.js +1 -1
- package/lib/module/common/VectorIcon/Icon.js.map +1 -1
- package/lib/module/components/CalenderPicker/ModalCalendarPicker.js +1 -1
- package/lib/module/components/CalenderPicker/ModalCalendarPicker.js.map +1 -1
- package/lib/module/components/CustomCollapse/CustomCollapse.js +1 -1
- package/lib/module/components/CustomCollapse/CustomCollapse.js.map +1 -1
- package/lib/module/components/CustomModal/CustomModal.js +1 -1
- package/lib/module/components/CustomModal/CustomModal.js.map +1 -1
- package/lib/module/components/CustomPopover/CustomPopover.js +1 -1
- package/lib/module/components/CustomPopover/CustomPopover.js.map +1 -1
- package/lib/module/components/IconNotification/index.js +1 -1
- package/lib/module/components/IconNotification/index.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ModalPickShop/ModalPickShop.js +1 -1
- package/lib/module/components/ModalPickShop/ModalPickShop.js.map +1 -1
- package/lib/module/components/Navigation/AppNavigator.js +1 -1
- package/lib/module/components/Navigation/AppNavigator.js.map +1 -1
- package/lib/module/components/Navigation/AuthNavigator.js +1 -1
- package/lib/module/components/Navigation/AuthNavigator.js.map +1 -1
- package/lib/module/components/Navigation/TabNavigation.js +1 -1
- package/lib/module/components/Navigation/TabNavigation.js.map +1 -1
- package/lib/module/components/Navigation/index.js +1 -1
- package/lib/module/components/Navigation/index.js.map +1 -1
- package/lib/module/components/hightchart/index.js +1 -1
- package/lib/module/components/hightchart/index.js.map +1 -1
- package/lib/module/components/keyboardspacer/index.js +1 -1
- package/lib/module/components/keyboardspacer/index.js.map +1 -1
- package/lib/module/hooks/Countdown/useCountdown.js +1 -1
- package/lib/module/hooks/Countdown/useCountdown.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/screens/About/index.js +1 -1
- package/lib/module/screens/About/index.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/ConfirmAddInvestment.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/ConfirmAddInvestment.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/DropdownListBank.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/DropdownListBank.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/Success.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/Components/Success.js.map +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/index.js +1 -1
- package/lib/module/screens/AdditionalInvestmentCapital/index.js.map +1 -1
- package/lib/module/screens/AvailableAmount/Components/PopoverTypeTransaction.js +1 -1
- package/lib/module/screens/AvailableAmount/Components/PopoverTypeTransaction.js.map +1 -1
- package/lib/module/screens/AvailableAmount/Components/TableHead.js +1 -1
- package/lib/module/screens/AvailableAmount/Components/TableHead.js.map +1 -1
- package/lib/module/screens/AvailableAmount/Tabs/Tab1.js +1 -1
- package/lib/module/screens/AvailableAmount/Tabs/Tab1.js.map +1 -1
- package/lib/module/screens/AvailableAmount/Tabs/Tab2.js +1 -1
- package/lib/module/screens/AvailableAmount/Tabs/Tab2.js.map +1 -1
- package/lib/module/screens/AvailableAmount/index.js +1 -1
- package/lib/module/screens/AvailableAmount/index.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListAccepted/ListAccepted.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListAccepted/ListAccepted.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListAccepted/TableHead.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListAccepted/TableHead.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/ListPending.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/ListPending.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/ModalAccept.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/ModalAccept.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/ModalWarn.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/ModalWarn.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/PopoverTime.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/PopoverTime.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/TableHead.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListPending/TableHead.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListSuccess/ListSuccess.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListSuccess/ListSuccess.js.map +1 -1
- package/lib/module/screens/BuyDebt/Components/ListSuccess/TableHead.js +1 -1
- package/lib/module/screens/BuyDebt/Components/ListSuccess/TableHead.js.map +1 -1
- package/lib/module/screens/BuyDebt/index.js +1 -1
- package/lib/module/screens/BuyDebt/index.js.map +1 -1
- package/lib/module/screens/BuyDue/index.js +1 -1
- package/lib/module/screens/BuyDue/index.js.map +1 -1
- package/lib/module/screens/BuyDueOTP/index.js +1 -1
- package/lib/module/screens/BuyDueOTP/index.js.map +1 -1
- package/lib/module/screens/Camera/ModalSuccess.js +1 -1
- package/lib/module/screens/Camera/ModalSuccess.js.map +1 -1
- package/lib/module/screens/Camera/Screens/CameraBackResult.js +1 -1
- package/lib/module/screens/Camera/Screens/CameraBackResult.js.map +1 -1
- package/lib/module/screens/Camera/Screens/CameraFrontBack.js +1 -1
- package/lib/module/screens/Camera/Screens/CameraFrontBack.js.map +1 -1
- package/lib/module/screens/Camera/Screens/CameraFrontResult.js +1 -1
- package/lib/module/screens/Camera/Screens/CameraFrontResult.js.map +1 -1
- package/lib/module/screens/Camera/Screens/CameraSelfie.js +1 -1
- package/lib/module/screens/Camera/Screens/CameraSelfie.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/CashBook/index.js +1 -1
- package/lib/module/screens/CashBook/index.js.map +1 -1
- package/lib/module/screens/ChangePassword/index.js +1 -1
- package/lib/module/screens/ChangePassword/index.js.map +1 -1
- package/lib/module/screens/Confirm/Components/ModalChooseBank.js +1 -1
- package/lib/module/screens/Confirm/Components/ModalChooseBank.js.map +1 -1
- package/lib/module/screens/Confirm/index.js +1 -1
- package/lib/module/screens/Confirm/index.js.map +1 -1
- package/lib/module/screens/ConnectBank/index.js +1 -1
- package/lib/module/screens/ConnectBank/index.js.map +1 -1
- package/lib/module/screens/Contract/index.js +1 -1
- package/lib/module/screens/Contract/index.js.map +1 -1
- package/lib/module/screens/ContractDetail/index.js +1 -1
- package/lib/module/screens/ContractDetail/index.js.map +1 -1
- package/lib/module/screens/CooperationAgreement/index.js +1 -1
- package/lib/module/screens/CooperationAgreement/index.js.map +1 -1
- package/lib/module/screens/DashBoardDetail/Components/AddInvestment.js +1 -1
- package/lib/module/screens/DashBoardDetail/Components/AddInvestment.js.map +1 -1
- package/lib/module/screens/DashBoardDetail/index.js +1 -1
- package/lib/module/screens/DashBoardDetail/index.js.map +1 -1
- package/lib/module/screens/DebtPurchaseContract/index.js +1 -1
- package/lib/module/screens/DebtPurchaseContract/index.js.map +1 -1
- package/lib/module/screens/Detail/Components/Modal.js +1 -1
- package/lib/module/screens/Detail/Components/Modal.js.map +1 -1
- package/lib/module/screens/Detail/index.js +1 -1
- package/lib/module/screens/Detail/index.js.map +1 -1
- package/lib/module/screens/DetailBuyDue/Components/ModalNotifiBuydue.js +1 -1
- package/lib/module/screens/DetailBuyDue/Components/ModalNotifiBuydue.js.map +1 -1
- package/lib/module/screens/DetailBuyDue/index.js +1 -1
- package/lib/module/screens/DetailBuyDue/index.js.map +1 -1
- package/lib/module/screens/DetailDebt/index.js +1 -1
- package/lib/module/screens/DetailDebt/index.js.map +1 -1
- package/lib/module/screens/DetailHistory/Screens/Extend.js +1 -1
- package/lib/module/screens/DetailHistory/Screens/Extend.js.map +1 -1
- package/lib/module/screens/DetailHistory/Screens/ExtendVerifyOTP.js +1 -1
- package/lib/module/screens/DetailHistory/Screens/ExtendVerifyOTP.js.map +1 -1
- package/lib/module/screens/DetailHistory/index.js +1 -1
- package/lib/module/screens/DetailHistory/index.js.map +1 -1
- package/lib/module/screens/DetailLoanApplication/Components/RenderLoan.js +1 -1
- package/lib/module/screens/DetailLoanApplication/Components/RenderLoan.js.map +1 -1
- package/lib/module/screens/DetailLoanApplication/Components/TableHead.js +1 -1
- package/lib/module/screens/DetailLoanApplication/Components/TableHead.js.map +1 -1
- package/lib/module/screens/DetailLoanApplication/index.js +1 -1
- package/lib/module/screens/DetailLoanApplication/index.js.map +1 -1
- package/lib/module/screens/DetailNotification/index.js +1 -1
- package/lib/module/screens/DetailNotification/index.js.map +1 -1
- package/lib/module/screens/EKYC/Components/ModalGuiDeSelfie.js +1 -1
- package/lib/module/screens/EKYC/Components/ModalGuiDeSelfie.js.map +1 -1
- package/lib/module/screens/EKYC/Components/ModalGuide.js +1 -1
- package/lib/module/screens/EKYC/Components/ModalGuide.js.map +1 -1
- package/lib/module/screens/EKYC/Screens/LiveNess.js +1 -1
- package/lib/module/screens/EKYC/Screens/LiveNess.js.map +1 -1
- package/lib/module/screens/EKYC/Screens/NationalIDBack.js +1 -1
- package/lib/module/screens/EKYC/Screens/NationalIDBack.js.map +1 -1
- package/lib/module/screens/EKYC/Screens/Selfie.js +1 -1
- package/lib/module/screens/EKYC/Screens/Selfie.js.map +1 -1
- package/lib/module/screens/EKYC/index.js +1 -1
- package/lib/module/screens/EKYC/index.js.map +1 -1
- package/lib/module/screens/EkycLiveness/Components/PortalFrame.js +1 -1
- package/lib/module/screens/EkycLiveness/Components/PortalFrame.js.map +1 -1
- package/lib/module/screens/EkycLiveness/Components/RecordingGuildStep.js +1 -1
- package/lib/module/screens/EkycLiveness/Components/RecordingGuildStep.js.map +1 -1
- package/lib/module/screens/EkycLiveness/EkycCamera.js +1 -1
- package/lib/module/screens/EkycLiveness/EkycCamera.js.map +1 -1
- package/lib/module/screens/EkycLiveness/index.js +1 -1
- package/lib/module/screens/EkycLiveness/index.js.map +1 -1
- package/lib/module/screens/EnterOTPGpay/index.js +1 -1
- package/lib/module/screens/EnterOTPGpay/index.js.map +1 -1
- package/lib/module/screens/ExtendContract/index.js +1 -1
- package/lib/module/screens/ExtendContract/index.js.map +1 -1
- package/lib/module/screens/ExtendContractOTP/index.js +1 -1
- package/lib/module/screens/ExtendContractOTP/index.js.map +1 -1
- package/lib/module/screens/ForgotPassword/index.js +1 -1
- package/lib/module/screens/ForgotPassword/index.js.map +1 -1
- package/lib/module/screens/ForgotPasswordOTP/index.js +1 -1
- package/lib/module/screens/ForgotPasswordOTP/index.js.map +1 -1
- package/lib/module/screens/GpayInfor/Gpay.js +1 -1
- package/lib/module/screens/GpayInfor/Gpay.js.map +1 -1
- package/lib/module/screens/GpayInfor/index.js +1 -1
- package/lib/module/screens/GpayInfor/index.js.map +1 -1
- package/lib/module/screens/Guide/index.js +1 -1
- package/lib/module/screens/Guide/index.js.map +1 -1
- package/lib/module/screens/HomePage/Components/PopoverSortStatus.js +1 -1
- package/lib/module/screens/HomePage/Components/PopoverSortStatus.js.map +1 -1
- package/lib/module/screens/HomePage/index.js +1 -1
- package/lib/module/screens/HomePage/index.js.map +1 -1
- package/lib/module/screens/InputBank/index.js +1 -1
- package/lib/module/screens/InputBank/index.js.map +1 -1
- package/lib/module/screens/InterestFine/index.js +1 -1
- package/lib/module/screens/InterestFine/index.js.map +1 -1
- package/lib/module/screens/InterestReceived/index.js +1 -1
- package/lib/module/screens/InterestReceived/index.js.map +1 -1
- package/lib/module/screens/Intro/index.js +1 -1
- package/lib/module/screens/Intro/index.js.map +1 -1
- package/lib/module/screens/Invest/Screens/HomeLoan.js +1 -1
- package/lib/module/screens/Invest/Screens/HomeLoan.js.map +1 -1
- package/lib/module/screens/Invest/Screens/PersonalLoan.js +1 -1
- package/lib/module/screens/Invest/Screens/PersonalLoan.js.map +1 -1
- package/lib/module/screens/Invest/index.js +1 -1
- package/lib/module/screens/Invest/index.js.map +1 -1
- package/lib/module/screens/InvestDetail/index.js +1 -1
- package/lib/module/screens/InvestDetail/index.js.map +1 -1
- package/lib/module/screens/InvestNew/Screens/HomeLoan.js +1 -1
- package/lib/module/screens/InvestNew/Screens/HomeLoan.js.map +1 -1
- package/lib/module/screens/InvestNew/Screens/PersonalLoan.js +1 -1
- package/lib/module/screens/InvestNew/Screens/PersonalLoan.js.map +1 -1
- package/lib/module/screens/InvestNew/index.js +1 -1
- package/lib/module/screens/InvestNew/index.js.map +1 -1
- package/lib/module/screens/LinkSuccess/index.js +1 -1
- package/lib/module/screens/LinkSuccess/index.js.map +1 -1
- package/lib/module/screens/ListLoan/Components/ListLoan.js +1 -1
- package/lib/module/screens/ListLoan/Components/ListLoan.js.map +1 -1
- package/lib/module/screens/ListLoan/Components/ListLoanClosed.js +1 -1
- package/lib/module/screens/ListLoan/Components/ListLoanClosed.js.map +1 -1
- package/lib/module/screens/ListLoan/Components/PopoverChooseStatus.js +1 -1
- package/lib/module/screens/ListLoan/Components/PopoverChooseStatus.js.map +1 -1
- package/lib/module/screens/ListLoan/ModalFilter.js +1 -1
- package/lib/module/screens/ListLoan/ModalFilter.js.map +1 -1
- package/lib/module/screens/ListLoan/index.js +1 -1
- package/lib/module/screens/ListLoan/index.js.map +1 -1
- package/lib/module/screens/ListWaitingApproval/Components/ConfirmRecharge.js +1 -1
- package/lib/module/screens/ListWaitingApproval/Components/ConfirmRecharge.js.map +1 -1
- package/lib/module/screens/ListWaitingApproval/index.js +1 -1
- package/lib/module/screens/ListWaitingApproval/index.js.map +1 -1
- package/lib/module/screens/ListWaitingExtension/index.js +1 -1
- package/lib/module/screens/ListWaitingExtension/index.js.map +1 -1
- package/lib/module/screens/LoanApplication/Components/ModalWarn.js +1 -1
- package/lib/module/screens/LoanApplication/Components/ModalWarn.js.map +1 -1
- package/lib/module/screens/LoanApplication/Components/TableHead.js +1 -1
- package/lib/module/screens/LoanApplication/Components/TableHead.js.map +1 -1
- package/lib/module/screens/LoanApplication/index.js +1 -1
- package/lib/module/screens/LoanApplication/index.js.map +1 -1
- package/lib/module/screens/LockingLoan/index.js +1 -1
- package/lib/module/screens/LockingLoan/index.js.map +1 -1
- package/lib/module/screens/Notification/index.js +1 -1
- package/lib/module/screens/Notification/index.js.map +1 -1
- package/lib/module/screens/OTP/index.js +1 -1
- package/lib/module/screens/OTP/index.js.map +1 -1
- package/lib/module/screens/OTPSignDebtContract/index.js +1 -1
- package/lib/module/screens/OTPSignDebtContract/index.js.map +1 -1
- package/lib/module/screens/Optional/index.js +1 -1
- package/lib/module/screens/Optional/index.js.map +1 -1
- package/lib/module/screens/PassCode/index.js +1 -1
- package/lib/module/screens/PassCode/index.js.map +1 -1
- package/lib/module/screens/PendingLoan/Components/ModalFilterTime.js +1 -1
- package/lib/module/screens/PendingLoan/Components/ModalFilterTime.js.map +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab1.js +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab1.js.map +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab1DT.js +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab1DT.js.map +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab2.js +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab2.js.map +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab3.js +1 -1
- package/lib/module/screens/PendingLoan/Tabs/Tab3.js.map +1 -1
- package/lib/module/screens/PendingLoan/index.js +1 -1
- package/lib/module/screens/PendingLoan/index.js.map +1 -1
- package/lib/module/screens/PendingMoney/index.js +1 -1
- package/lib/module/screens/PendingMoney/index.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab1.js +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab1.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab2.js +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab2.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab3.js +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab3.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab4.js +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab4.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab5.js +1 -1
- package/lib/module/screens/ReceivedLoan/Components/Tab5.js.map +1 -1
- package/lib/module/screens/ReceivedLoan/index.js +1 -1
- package/lib/module/screens/ReceivedLoan/index.js.map +1 -1
- package/lib/module/screens/SellDebt/Components/DragButton.js +1 -1
- package/lib/module/screens/SellDebt/Components/DragButton.js.map +1 -1
- package/lib/module/screens/SellDebt/Components/ModalDelete.js +1 -1
- package/lib/module/screens/SellDebt/Components/ModalDelete.js.map +1 -1
- package/lib/module/screens/SellDebt/Components/ModalNotDelete.js +1 -1
- package/lib/module/screens/SellDebt/Components/ModalNotDelete.js.map +1 -1
- package/lib/module/screens/SellDebt/Components/RenderList.js +1 -1
- package/lib/module/screens/SellDebt/Components/RenderList.js.map +1 -1
- package/lib/module/screens/SellDebt/Components/TableHead.js +1 -1
- package/lib/module/screens/SellDebt/Components/TableHead.js.map +1 -1
- package/lib/module/screens/SellDebt/Tabs/Pushed.js +1 -1
- package/lib/module/screens/SellDebt/Tabs/Pushed.js.map +1 -1
- package/lib/module/screens/SellDebt/Tabs/Sold.js +1 -1
- package/lib/module/screens/SellDebt/Tabs/Sold.js.map +1 -1
- package/lib/module/screens/SellDebt/index.js +1 -1
- package/lib/module/screens/SellDebt/index.js.map +1 -1
- package/lib/module/screens/SetPassword/index.js +1 -1
- package/lib/module/screens/SetPassword/index.js.map +1 -1
- package/lib/module/screens/ShowBuyDue/index.js +1 -1
- package/lib/module/screens/ShowBuyDue/index.js.map +1 -1
- package/lib/module/screens/Sign-in/index.js +1 -1
- package/lib/module/screens/Sign-in/index.js.map +1 -1
- package/lib/module/screens/Sign-up/index.js +1 -1
- package/lib/module/screens/Sign-up/index.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/Components/ModalChooseMoney.js +1 -1
- package/lib/module/screens/SignContractGpayTima/Components/ModalChooseMoney.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/ConfirmContact.js +1 -1
- package/lib/module/screens/SignContractGpayTima/ConfirmContact.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/SignContract.js +1 -1
- package/lib/module/screens/SignContractGpayTima/SignContract.js.map +1 -1
- package/lib/module/screens/SignContractGpayTima/index.js +1 -1
- package/lib/module/screens/SignContractGpayTima/index.js.map +1 -1
- package/lib/module/screens/SignDebtContract/index.js +1 -1
- package/lib/module/screens/SignDebtContract/index.js.map +1 -1
- package/lib/module/screens/Splash/index.js +1 -1
- package/lib/module/screens/Splash/index.js.map +1 -1
- package/lib/module/screens/Statistical/index.js +1 -1
- package/lib/module/screens/Statistical/index.js.map +1 -1
- package/lib/module/screens/Support/index.js +1 -1
- package/lib/module/screens/Support/index.js.map +1 -1
- package/lib/module/screens/Transfer/Components/PopoverChooseShop.js +1 -1
- package/lib/module/screens/Transfer/Components/PopoverChooseShop.js.map +1 -1
- package/lib/module/screens/Transfer/Components/PopoverSortDebt.js +1 -1
- package/lib/module/screens/Transfer/Components/PopoverSortDebt.js.map +1 -1
- package/lib/module/screens/Transfer/Tabs/Buy.js +1 -1
- package/lib/module/screens/Transfer/Tabs/Buy.js.map +1 -1
- package/lib/module/screens/Transfer/Tabs/Sell.js +1 -1
- package/lib/module/screens/Transfer/Tabs/Sell.js.map +1 -1
- package/lib/module/screens/Transfer/index.js +1 -1
- package/lib/module/screens/Transfer/index.js.map +1 -1
- package/lib/module/screens/TransferSuccess/index.js +1 -1
- package/lib/module/screens/TransferSuccess/index.js.map +1 -1
- package/lib/module/screens/WithDraw/index.js +1 -1
- package/lib/module/screens/WithDraw/index.js.map +1 -1
- package/lib/module/screens/WithdrawGpay/index.js +1 -1
- package/lib/module/screens/WithdrawGpay/index.js.map +1 -1
- package/lib/module/screens/WithdrawSuccess/index.js +1 -1
- package/lib/module/screens/WithdrawSuccess/index.js.map +1 -1
- package/lib/module/screens/terms/index.js +1 -1
- package/lib/module/screens/terms/index.js.map +1 -1
- package/lib/typescript/src/assets/images/Invest/index.d.ts.map +1 -1
- package/lib/typescript/src/assets/images/InvestNew/index.d.ts.map +1 -1
- package/lib/typescript/src/components/CustomModal/CustomModal.d.ts +1 -1
- package/lib/typescript/src/components/CustomModal/CustomModal.d.ts.map +1 -1
- package/lib/typescript/src/components/Navigation/TabNavigation.d.ts.map +1 -1
- package/lib/typescript/src/controllers/Bank.d.ts +25 -25
- package/lib/typescript/src/controllers/BuyDue.d.ts +4 -4
- package/lib/typescript/src/controllers/Contract.d.ts +3 -3
- package/lib/typescript/src/controllers/Dashboard.d.ts +1 -1
- package/lib/typescript/src/controllers/Debt.d.ts +21 -21
- package/lib/typescript/src/controllers/Lender.d.ts +14 -14
- package/lib/typescript/src/controllers/Loans.d.ts +43 -43
- package/lib/typescript/src/controllers/Notification.d.ts +2 -2
- package/lib/typescript/src/controllers/Passcode.d.ts +2 -2
- package/lib/typescript/src/controllers/Upload.d.ts +2 -2
- package/lib/typescript/src/controllers/Users.d.ts +11 -11
- package/package.json +3 -2
- package/src/assets/images/Invest/diamond_glink.png +0 -0
- package/src/assets/images/Invest/gold_glink.png +0 -0
- package/src/assets/images/Invest/index.ts +12 -5
- package/src/assets/images/Invest/money_glink.png +0 -0
- package/src/assets/images/Invest/ruby_glink.png +0 -0
- package/src/assets/images/Invest/titan_glink.png +0 -0
- package/src/assets/images/InvestNew/bg_none_glink.png +0 -0
- package/src/assets/images/InvestNew/index.ts +14 -14
- package/src/components/CustomModal/CustomModal.tsx +7 -5
- package/src/components/ImageGallery/ImageGallery.tsx +1 -1
- package/src/components/Navigation/TabNavigation.tsx +3 -0
- package/src/screens/About/index.tsx +1 -1
- package/src/screens/AdditionalInvestmentCapital/Components/ConfirmRecharge.tsx +1 -1
- package/src/screens/AdditionalInvestmentCapital/Components/Success.tsx +2 -2
- package/src/screens/Confirm/index.tsx +1 -1
- package/src/screens/ConnectBank/index.tsx +2 -2
- package/src/screens/GpayInfor/Gpay.tsx +1 -1
- package/src/screens/Guide/index.tsx +3 -3
- package/src/screens/InputBank/index.tsx +2 -2
- package/src/screens/ListWaitingApproval/Components/ConfirmRecharge.tsx +1 -1
- package/src/screens/LoanApplication/Components/ModalWarn.tsx +1 -1
- package/src/screens/Notification/index.tsx +1 -1
- package/src/screens/Optional/index.tsx +2 -2
- package/src/screens/PendingLoan/Tabs/Tab1.tsx +1 -1
- package/src/screens/ReceivedLoan/Components/Tab1.tsx +1 -1
- package/src/screens/Sign-in/index.tsx +1 -1
- package/src/screens/SignContractGpayTima/SignContract.tsx +1 -1
- package/src/screens/SignContractGpayTima/index.tsx +2 -2
- package/src/screens/Support/index.tsx +1 -1
- package/src/screens/Transfer/Components/PopoverChooseShop.tsx +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeModal","_Colors","_FlexRow","_FormatNumber","_Metrics","_RText","_jsxRuntime","_this","_jsxFileName","ModalNotifiBuydue","props","isVisible","onClose","data","jsx","default","style","justifyContent","backdropOpacity","useNativeDriver","animationOutTiming","onBackdropPress","animationIn","animationOut","useNativeDriverForBackdrop","hideModalContentWhileAnimating","children","jsxs","View","backgroundColor","Colors","WHITE","borderRadius","padding","actuatedNormalize","textStyle","textAlign","fontWeight","paddingBottom","fontSize","formatNumber","money","paddingVertical","bankAccountNumber","bankAccountName","paddingTop","width","bankName","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/DetailBuyDue/Components/ModalNotifiBuydue.tsx"],"mappings":"mKAEA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,iBAAA,CAAAH,sBAAA,CAAAC,OAAA,wBACA,IAAAG,OAAA,CAAAJ,sBAAA,CAAAC,OAAA,4BACA,IAAAI,QAAA,CAAAL,sBAAA,CAAAC,OAAA,6BACA,IAAAK,aAAA,CAAAN,sBAAA,CAAAC,OAAA,kCACA,IAAAM,QAAA,CAAAN,OAAA,4BACA,IAAAO,MAAA,CAAAR,sBAAA,CAAAC,OAAA,2BAA0C,IAAAQ,WAAA,CAAAR,OAAA,0BAAAS,KAAA,MAAAC,YAAA,
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_reactNativeModal","_Colors","_FlexRow","_FormatNumber","_Metrics","_RText","_jsxRuntime","_this","_jsxFileName","ModalNotifiBuydue","props","isVisible","onClose","data","jsx","default","style","justifyContent","backdropOpacity","useNativeDriver","animationOutTiming","onBackdropPress","animationIn","animationOut","useNativeDriverForBackdrop","hideModalContentWhileAnimating","children","jsxs","View","backgroundColor","Colors","WHITE","borderRadius","padding","actuatedNormalize","textStyle","textAlign","fontWeight","paddingBottom","fontSize","formatNumber","money","paddingVertical","bankAccountNumber","bankAccountName","paddingTop","width","bankName","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/DetailBuyDue/Components/ModalNotifiBuydue.tsx"],"mappings":"mKAEA,IAAAA,MAAA,CAAAC,sBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,iB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A,CAAAU,OAAK,EAACoB,SAAS,CAAE,CAAEE,UAAU,CAAE,KAAM,CAAE,CAAAX,QAAA,CACrCb,IAAI,cAAJA,IAAI,CAAE+B,eAAe,CACjB,CAAC,EACD,CAAC,CACV,GAAAtC,WAAA,CAAAqB,IAAA,EAACzB,QAAA,CAAAa,OAAO,EAAAW,QAAA,EACN,GAAApB,WAAA,CAAAqB,IAAA,EAACtB,MAAA,CAAAU,OAAK,EAACoB,SAAS,CAAE,CAAEU,UAAU,CAAE,GAAAX,0BAAiB,EAAC,CAAC,CAAE,CAAE,CAAAR,QAAA,EAAC,kBAC5C,CAAC,GAAG,EACT,CAAC,CACR,GAAApB,WAAA,CAAAQ,GAAA,EAACT,MAAA,CAAAU,OAAK,EAACoB,SAAS,CAAE,CAAEE,UAAU,CAAE,KAAK,CAAES,KAAK,CAAE,KAAM,CAAE,CAAApB,QAAA,CACnDb,IAAI,cAAJA,IAAI,CAAEkC,QAAQ,CACV,CAAC,EACD,CAAC,EACN,CAAC,CACF,CAAC,CAEZ,CAAC,CAAC,IAAAC,QAAA,CAAAC,OAAA,CAAAlC,OAAA,CAEaN,iBAAiB","ignoreList":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.DetailBuyDue=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _reactRedux=require("react-redux");var _AppHeader=_interopRequireDefault(require("../../common/AppHeader"));var _Button=_interopRequireDefault(require("../../common/Button"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _Container=_interopRequireDefault(require("../../common/Container"));var _Loading=_interopRequireDefault(require("../../common/Loading"));var _Metrics=require("../../common/Metrics");var _BuydueSlice=require("../../components/Features/buydue/BuydueSlice");var _Screens=_interopRequireDefault(require("../../components/Navigation/Screens"));var _selector=require("../../components/Redux/selector");var _store=require("../../components/Redux/store");var _ModalNotifiBuydue=_interopRequireDefault(require("./Components/ModalNotifiBuydue"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.DetailBuyDue=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _reactRedux=require("react-redux");var _AppHeader=_interopRequireDefault(require("../../common/AppHeader"));var _Button=_interopRequireDefault(require("../../common/Button"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _Container=_interopRequireDefault(require("../../common/Container"));var _Loading=_interopRequireDefault(require("../../common/Loading"));var _Metrics=require("../../common/Metrics");var _BuydueSlice=require("../../components/Features/buydue/BuydueSlice");var _Screens=_interopRequireDefault(require("../../components/Navigation/Screens"));var _selector=require("../../components/Redux/selector");var _store=require("../../components/Redux/store");var _ModalNotifiBuydue=_interopRequireDefault(require("./Components/ModalNotifiBuydue"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/DetailBuyDue/index.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var DetailBuyDue=exports.DetailBuyDue=function DetailBuyDue(_ref){var _route$params,_route$params2,_route$params3;var navigation=_ref.navigation,route=_ref.route;var fromDate=route==null?void 0:(_route$params=route.params)==null?void 0:_route$params.fromDate;var toDate=route==null?void 0:(_route$params2=route.params)==null?void 0:_route$params2.toDate;var statusDeposit=route==null?void 0:(_route$params3=route.params)==null?void 0:_route$params3.statusDeposit;var dispatch=(0,_store.useAppDispatch)();var isLoading=(0,_reactRedux.useSelector)(_selector.selectLoading);var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),data=_useState2[0],setData=_useState2[1];var _useState3=(0,_react.useState)(false),_useState4=(0,_slicedToArray2.default)(_useState3,2),openModal=_useState4[0],setOpenModal=_useState4[1];(0,_react.useEffect)(function(){getBuySell();},[]);var getBuySell=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){var _resp$payload,_resp$payload$meta;var params={fromDate:fromDate,toDate:toDate,statusDeposit:statusDeposit};var resp=yield dispatch((0,_BuydueSlice.viewBuySell)(params));console.log('resp pdf---',resp);if((resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:(_resp$payload$meta=_resp$payload.meta)==null?void 0:_resp$payload$meta.errCode)===200){var _resp$payload2;setData(resp==null?void 0:(_resp$payload2=resp.payload)==null?void 0:_resp$payload2.data);setOpenModal(true);}});return function getBuySell(){return _ref2.apply(this,arguments);};}();var onSubmit=function onSubmit(){navigation.navigate(_Screens.default.BuyDueOTP,{id:data==null?void 0:data.reference_id});};return(0,_jsxRuntime.jsxs)(_Container.default,{children:[(0,_jsxRuntime.jsx)(_AppHeader.default,{title:"H\u1EE3p \u0111\u1ED3ng"}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{width:'100%',height:'100%'},children:[(0,_jsxRuntime.jsx)(_reactNativePdf.default,{showsVerticalScrollIndicator:false,source:{uri:data==null?void 0:data.url,cache:true},style:{width:'100%',height:'100%'},trustAllCerts:false}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{position:'absolute',width:'100%',bottom:(0,_Metrics.actuatedNormalize)(100)},children:(0,_jsxRuntime.jsx)(_Button.default,{text:'Ký hợp đồng',onPress:onSubmit,buttonStyle:{marginBottom:(0,_Metrics.actuatedNormalize)(32),width:'90%',alignSelf:'center',borderRadius:8},textStyle:{color:_Colors.default.WHITE,fontWeight:'600'}})})]}),isLoading&&(0,_jsxRuntime.jsx)(_Loading.default,{}),(0,_jsxRuntime.jsx)(_ModalNotifiBuydue.default,{isVisible:openModal,data:data,onClose:function onClose(){return setOpenModal(false);}})]});};
|
2
2
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativePdf","_interopRequireDefault","_reactRedux","_AppHeader","_Button","_Colors","_Container","_Loading","_Metrics","_BuydueSlice","_Screens","_selector","_store","_ModalNotifiBuydue","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DetailBuyDue","exports","_ref","_route$params","_route$params2","_route$params3","navigation","route","fromDate","params","toDate","statusDeposit","dispatch","useAppDispatch","isLoading","useSelector","selectLoading","_useState","useState","_useState2","_slicedToArray2","data","setData","_useState3","_useState4","openModal","setOpenModal","useEffect","getBuySell","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","resp","viewBuySell","console","log","payload","meta","errCode","_resp$payload2","apply","arguments","onSubmit","navigate","Screens","BuyDueOTP","id","reference_id","jsxs","children","jsx","title","View","style","width","height","showsVerticalScrollIndicator","source","uri","url","cache","trustAllCerts","position","bottom","actuatedNormalize","text","onPress","buttonStyle","marginBottom","alignSelf","borderRadius","textStyle","color","Colors","WHITE","fontWeight","isVisible","onClose"],"sourceRoot":"../../../../src","sources":["screens/DetailBuyDue/index.tsx"],"mappings":"sWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,eAAA,CAAAC,sBAAA,CAAAH,OAAA,sBACA,IAAAI,WAAA,CAAAJ,OAAA,gBACA,IAAAK,UAAA,CAAAF,sBAAA,CAAAH,OAAA,4BACA,IAAAM,OAAA,CAAAH,sBAAA,CAAAH,OAAA,yBACA,IAAAO,OAAA,CAAAJ,sBAAA,CAAAH,OAAA,yBACA,IAAAQ,UAAA,CAAAL,sBAAA,CAAAH,OAAA,4BACA,IAAAS,QAAA,CAAAN,sBAAA,CAAAH,OAAA,0BACA,IAAAU,QAAA,CAAAV,OAAA,yBACA,IAAAW,YAAA,CAAAX,OAAA,iDACA,IAAAY,QAAA,CAAAT,sBAAA,CAAAH,OAAA,yCACA,IAAAa,SAAA,CAAAb,OAAA,oCACA,IAAAc,MAAA,CAAAd,OAAA,iCACA,IAAAe,kBAAA,CAAAZ,sBAAA,CAAAH,OAAA,oCAA+D,IAAAgB,WAAA,CAAAhB,OAAA,0BAAAiB,KAAA,MAAAC,YAAA,
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativePdf","_interopRequireDefault","_reactRedux","_AppHeader","_Button","_Colors","_Container","_Loading","_Metrics","_BuydueSlice","_Screens","_selector","_store","_ModalNotifiBuydue","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DetailBuyDue","exports","_ref","_route$params","_route$params2","_route$params3","navigation","route","fromDate","params","toDate","statusDeposit","dispatch","useAppDispatch","isLoading","useSelector","selectLoading","_useState","useState","_useState2","_slicedToArray2","data","setData","_useState3","_useState4","openModal","setOpenModal","useEffect","getBuySell","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","resp","viewBuySell","console","log","payload","meta","errCode","_resp$payload2","apply","arguments","onSubmit","navigate","Screens","BuyDueOTP","id","reference_id","jsxs","children","jsx","title","View","style","width","height","showsVerticalScrollIndicator","source","uri","url","cache","trustAllCerts","position","bottom","actuatedNormalize","text","onPress","buttonStyle","marginBottom","alignSelf","borderRadius","textStyle","color","Colors","WHITE","fontWeight","isVisible","onClose"],"sourceRoot":"../../../../src","sources":["screens/DetailBuyDue/index.tsx"],"mappings":"sWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,eAAA,CAAAC,sBAAA,CAAAH,OAAA,sBACA,IAAAI,WAAA,CAAAJ,OAAA,gBACA,IAAAK,UAAA,CAAAF,sBAAA,CAAAH,OAAA,4BACA,IAAAM,OAAA,CAAAH,sBAAA,CAAAH,OAAA,yBACA,IAAAO,OAAA,CAAAJ,sBAAA,CAAAH,OAAA,yBACA,IAAAQ,UAAA,CAAAL,sBAAA,CAAAH,OAAA,4BACA,IAAAS,QAAA,CAAAN,sBAAA,CAAAH,OAAA,0BACA,IAAAU,QAAA,CAAAV,OAAA,yBACA,IAAAW,YAAA,CAAAX,OAAA,iDACA,IAAAY,QAAA,CAAAT,sBAAA,CAAAH,OAAA,yCACA,IAAAa,SAAA,CAAAb,OAAA,oCACA,IAAAc,MAAA,CAAAd,OAAA,iCACA,IAAAe,kBAAA,CAAAZ,sBAAA,CAAAH,OAAA,oCAA+D,IAAAgB,WAAA,CAAAhB,OAAA,0BAAAiB,KAAA,MAAAC,YAAA,+FAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,CAAA,SAAAA,CAAA,CAAAG,CAAA,CAAAD,CAAA,IAAA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BR,KAAK,CAAE,MAAM,CACbS,MAAM,CAAE,GAAAC,0BAAiB,EAAC,GAAG,CAC/B,CAAE,CAAAf,QAAA,CAEF,GAAAzE,WAAA,CAAA0E,GAAA,EAACpF,OAAA,CAAAmB,OAAM,EACLgF,IAAI,CAAE,aAAc,CACpBC,OAAO,CAAExB,QAAS,CAClByB,WAAW,CAAE,CACXC,YAAY,CAAE,GAAAJ,0BAAiB,EAAC,EAAE,CAAC,CACnCV,KAAK,CAAE,KAAK,CACZe,SAAS,CAAE,QAAQ,CACnBC,YAAY,CAAE,CAChB,CAAE,CACFC,SAAS,CAAE,CAAEC,KAAK,CAAEC,eAAM,CAACC,KAAK,CAAEC,UAAU,CAAE,KAAM,CAAE,CACvD,CAAC,CACE,CAAC,EACH,CAAC,CAEN9D,SAAS,EAAI,GAAArC,WAAA,CAAA0E,GAAA,EAACjF,QAAA,CAAAgB,OAAO,GAAE,CAAC,CACzB,GAAAT,WAAA,CAAA0E,GAAA,EAAC3E,kBAAA,CAAAU,OAAiB,EAChB2F,SAAS,CAAEpD,SAAU,CACrBJ,IAAI,CAAEA,IAAK,CACXyD,OAAO,CAAE,QAAT,CAAAA,OAAOA,CAAA,QAAQ,CAAApD,YAAY,CAAC,KAAK,CAAC,EAAC,CACpC,CAAC,EACO,CAAC,CAEhB,CAAC","ignoreList":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeFlashMessage=require("react-native-flash-message");var _Debt=_interopRequireDefault(require("../../assets/images/Debt"));var _BackgroundLinear=_interopRequireDefault(require("../../common/BackgroundLinear"));var _ButtonIcon=_interopRequireDefault(require("../../common/ButtonIcon"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _FlexRow=_interopRequireDefault(require("../../common/FlexRow"));var _FormatNumber=_interopRequireDefault(require("../../common/FormatNumber"));var _LazyImage=_interopRequireDefault(require("../../common/LazyImage"));var _Metrics=require("../../common/Metrics");var _RText=_interopRequireDefault(require("../../common/RText"));var _SpaceBetween=_interopRequireDefault(require("../../common/SpaceBetween"));var _loanSlice=require("../../components/Features/Loans/loanSlice");var _store=require("../../components/Redux/store");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeFlashMessage=require("react-native-flash-message");var _Debt=_interopRequireDefault(require("../../assets/images/Debt"));var _BackgroundLinear=_interopRequireDefault(require("../../common/BackgroundLinear"));var _ButtonIcon=_interopRequireDefault(require("../../common/ButtonIcon"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _FlexRow=_interopRequireDefault(require("../../common/FlexRow"));var _FormatNumber=_interopRequireDefault(require("../../common/FormatNumber"));var _LazyImage=_interopRequireDefault(require("../../common/LazyImage"));var _Metrics=require("../../common/Metrics");var _RText=_interopRequireDefault(require("../../common/RText"));var _SpaceBetween=_interopRequireDefault(require("../../common/SpaceBetween"));var _loanSlice=require("../../components/Features/Loans/loanSlice");var _store=require("../../components/Redux/store");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/DetailDebt/index.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var Detail_Loan=[{id:0,icon:_Debt.default.ic_money_ex,text:'Số tiền gốc còn lại'},{id:1,icon:_Debt.default.ic_loan,text:'Lãi mua nợ'},{id:2,icon:_Debt.default.ic_calendar,text:'Thời hạn vay còn lại'},{id:3,icon:_Debt.default.ic_type_loan,text:'Hình thức vay'},{id:4,icon:_Debt.default.ic_type_loan,text:'Hình thức trả nợ'},{id:6,icon:_Debt.default.ic_time,text:'Ngày kết thúc khoản vay'},{id:7,icon:_Debt.default.ic_time,text:'Số kỳ đã thanh toán'}];var DetailDebt=function DetailDebt(_ref){var _route$params;var navigation=_ref.navigation,route=_ref.route;var loanID=route==null?void 0:(_route$params=route.params)==null?void 0:_route$params.loanID;var dispatch=(0,_store.useAppDispatch)();var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),data=_useState2[0],setData=_useState2[1];(0,_react.useEffect)(function(){getDetailData();},[]);var getDetailData=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){var _resp$payload,_resp$payload$meta,_resp$payload2;var resp=yield dispatch((0,_loanSlice.getLoanDetail)(loanID));console.log('resp',resp);if((resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:(_resp$payload$meta=_resp$payload.meta)==null?void 0:_resp$payload$meta.errCode)===200&&resp!=null&&(_resp$payload2=resp.payload)!=null&&_resp$payload2.data){var _resp$payload3;setData(resp==null?void 0:(_resp$payload3=resp.payload)==null?void 0:_resp$payload3.data);}else{(0,_reactNativeFlashMessage.showMessage)({message:'Thông báo',description:'Không có dữ liệu!',type:'danger',icon:'warning',backgroundColor:_Colors.default.DANGER});}});return function getDetailData(){return _ref2.apply(this,arguments);};}();var renderRight=function renderRight(id){switch(id){case 0:return(0,_FormatNumber.default)(data==null?void 0:data.totalMoneyCurrent)+" \u0111";case 1:return(0,_FormatNumber.default)(data==null?void 0:data.interestMoney)+" \u0111";case 2:return(data==null?void 0:data.time)+" th\xE1ng";case 3:return""+(data==null?void 0:data.productName);case 4:return""+(data==null?void 0:data.typePayment);case 6:return""+(data==null?void 0:data.dueDate);case 7:return(data==null?void 0:data.paymentPayPeriod)+"/"+(data==null?void 0:data.paymentPeriod);default:break;}};return(0,_jsxRuntime.jsx)(_BackgroundLinear.default,{useSafeArea:true,colors:['#FEF4EE','white'],start:{x:0,y:0},end:{x:1,y:0},children:(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{padding:(0,_Metrics.actuatedNormalize)(16)},children:[(0,_jsxRuntime.jsxs)(_SpaceBetween.default,{children:[(0,_jsxRuntime.jsx)(_ButtonIcon.default,{onPress:function onPress(){return navigation.goBack();},iconName:"chevron-back",iconSize:24}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center'},children:[(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{fontWeight:'600',fontSize:(0,_Metrics.actuatedNormalize)(16),paddingBottom:(0,_Metrics.actuatedNormalize)(4)},children:data==null?void 0:data.customerName}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{fontSize:(0,_Metrics.actuatedNormalize)(12),color:_Colors.default.GRAY_3,paddingTop:(0,_Metrics.actuatedNormalize)(4)},children:data==null?void 0:data.contactCode})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{width:24}})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:Object.assign({backgroundColor:_Colors.default.WHITE,marginTop:(0,_Metrics.actuatedNormalize)(16),borderRadius:8,padding:(0,_Metrics.actuatedNormalize)(16),justifyContent:'space-around'},_Metrics.Shadow),children:[(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center'},children:[(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{fontSize:(0,_Metrics.actuatedNormalize)(12),color:_Colors.default.GRAY_3},children:"Gi\xE1 mua"}),(0,_jsxRuntime.jsxs)(_RText.default,{textStyle:{fontSize:(0,_Metrics.actuatedNormalize)(16),fontWeight:'600',color:_Colors.default.ORANGE,paddingTop:(0,_Metrics.actuatedNormalize)(8)},children:[(0,_FormatNumber.default)(data==null?void 0:data.totalMoneySell)," \u0111"]})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{height:'100%',width:(0,_Metrics.actuatedNormalize)(1),backgroundColor:_Colors.default.GRAY_4}}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center'},children:[(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{fontSize:(0,_Metrics.actuatedNormalize)(12),color:_Colors.default.GRAY_3},children:"L\u1EE3i nhu\u1EADn"}),(0,_jsxRuntime.jsxs)(_RText.default,{textStyle:{fontSize:(0,_Metrics.actuatedNormalize)(16),fontWeight:'600',color:_Colors.default.ORANGE,paddingTop:(0,_Metrics.actuatedNormalize)(8)},children:[data==null?void 0:data.rate,"%/ n\u0103m"]})]})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:Object.assign({backgroundColor:_Colors.default.WHITE,borderRadius:8,padding:(0,_Metrics.actuatedNormalize)(16),marginTop:(0,_Metrics.actuatedNormalize)(12)},_Metrics.Shadow),children:(0,_jsxRuntime.jsx)(_reactNative.FlatList,{data:Detail_Loan,scrollEnabled:false,keyExtractor:function keyExtractor(item){return item.id.toString();},renderItem:function renderItem(_ref3){var item=_ref3.item;return(0,_jsxRuntime.jsxs)(_SpaceBetween.default,{style:{marginBottom:item.id===Detail_Loan.length?0:(0,_Metrics.actuatedNormalize)(12),borderBottomWidth:item.id===1?1:0,borderColor:_Colors.default.GRAY_4,paddingBottom:item.id===1?(0,_Metrics.actuatedNormalize)(12):0},children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{children:[(0,_jsxRuntime.jsx)(_LazyImage.default,{source:item.icon,style:{width:(0,_Metrics.actuatedNormalize)(20),height:(0,_Metrics.actuatedNormalize)(20)}}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{paddingLeft:(0,_Metrics.actuatedNormalize)(8)},children:item.text})]}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{fontWeight:'600'},children:renderRight(item==null?void 0:item.id)})]});}})})]})});};var _default=exports.default=DetailDebt;
|
2
2
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeFlashMessage","_Debt","_interopRequireDefault","_BackgroundLinear","_ButtonIcon","_Colors","_FlexRow","_FormatNumber","_LazyImage","_Metrics","_RText","_SpaceBetween","_loanSlice","_store","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Detail_Loan","id","icon","DebtImages","ic_money_ex","text","ic_loan","ic_calendar","ic_type_loan","ic_time","DetailDebt","_ref","_route$params","navigation","route","loanID","params","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray2","data","setData","useEffect","getDetailData","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","_resp$payload2","resp","getLoanDetail","console","log","payload","meta","errCode","_resp$payload3","showMessage","message","description","type","backgroundColor","Colors","DANGER","apply","arguments","renderRight","formatNumber","totalMoneyCurrent","interestMoney","time","productName","typePayment","dueDate","paymentPayPeriod","paymentPeriod","jsx","useSafeArea","colors","start","x","y","end","children","jsxs","View","style","padding","actuatedNormalize","onPress","goBack","iconName","iconSize","alignItems","textStyle","fontWeight","fontSize","paddingBottom","customerName","color","GRAY_3","paddingTop","contactCode","width","assign","WHITE","marginTop","borderRadius","justifyContent","Shadow","ORANGE","totalMoneySell","height","GRAY_4","rate","FlatList","scrollEnabled","keyExtractor","item","toString","renderItem","_ref3","marginBottom","length","borderBottomWidth","borderColor","source","paddingLeft","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/DetailDebt/index.tsx"],"mappings":"iWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,wBAAA,CAAAF,OAAA,+BACA,IAAAG,KAAA,CAAAC,sBAAA,CAAAJ,OAAA,8BACA,IAAAK,iBAAA,CAAAD,sBAAA,CAAAJ,OAAA,mCACA,IAAAM,WAAA,CAAAF,sBAAA,CAAAJ,OAAA,6BACA,IAAAO,OAAA,CAAAH,sBAAA,CAAAJ,OAAA,yBACA,IAAAQ,QAAA,CAAAJ,sBAAA,CAAAJ,OAAA,0BACA,IAAAS,aAAA,CAAAL,sBAAA,CAAAJ,OAAA,+BACA,IAAAU,UAAA,CAAAN,sBAAA,CAAAJ,OAAA,4BACA,IAAAW,QAAA,CAAAX,OAAA,yBACA,IAAAY,MAAA,CAAAR,sBAAA,CAAAJ,OAAA,wBACA,IAAAa,aAAA,CAAAT,sBAAA,CAAAJ,OAAA,+BACA,IAAAc,UAAA,CAAAd,OAAA,8CACA,IAAAe,MAAA,CAAAf,OAAA,iCAA8D,IAAAgB,WAAA,CAAAhB,OAAA,0BAAAiB,KAAA,MAAAC,YAAA,qFAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,CAAA,SAAAA,CAAA,CAAAG,CAAA,CAAAD,CAAA,IAAAF,CAAA,YAAArB,wBAAAqB,CAAA,CAAAE,CAAA,MAAAA,CAAA,EAAAF,CAAA,EAAAA,CAAA,CAAAI,UAAA,QAAAJ,CAAA,WAAAA,CAAA,mBAAAA,CAAA,qBAAAA,CAAA,QAAAK,OAAA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AxB,0BAAiB,EAAC,EAAE,CAC9B,CAAE,CACH,CAAC,CACF,GAAA9F,WAAA,CAAAkF,GAAA,EAACtF,MAAA,CAAAa,OAAK,EACJ2F,SAAS,CAAE,CACTiC,WAAW,CAAE,GAAAvC,0BAAiB,EAAC,CAAC,CAClC,CAAE,CAAAL,QAAA,CAEDmC,IAAI,CAAChG,IAAI,CACL,CAAC,EACD,CAAC,CACV,GAAA5B,WAAA,CAAAkF,GAAA,EAACtF,MAAA,CAAAa,OAAK,EACJ2F,SAAS,CAAE,CACTC,UAAU,CAAE,KACd,CAAE,CAAAZ,QAAA,CAEDjB,WAAW,CAACoD,IAAI,cAAJA,IAAI,CAAEpG,EAAE,CAAC,CACjB,CAAC,EACI,CAAC,CAEnB,CAAE,CACH,CAAC,CACE,CAAC,EACH,CAAC,CACS,CAAC,CAEvB,CAAC,CAAC,IAAA8G,QAAA,CAAAC,OAAA,CAAA9H,OAAA,CAEawB,UAAU","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeFlashMessage","_Debt","_interopRequireDefault","_BackgroundLinear","_ButtonIcon","_Colors","_FlexRow","_FormatNumber","_LazyImage","_Metrics","_RText","_SpaceBetween","_loanSlice","_store","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Detail_Loan","id","icon","DebtImages","ic_money_ex","text","ic_loan","ic_calendar","ic_type_loan","ic_time","DetailDebt","_ref","_route$params","navigation","route","loanID","params","dispatch","useAppDispatch","_useState","useState","_useState2","_slicedToArray2","data","setData","useEffect","getDetailData","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","_resp$payload2","resp","getLoanDetail","console","log","payload","meta","errCode","_resp$payload3","showMessage","message","description","type","backgroundColor","Colors","DANGER","apply","arguments","renderRight","formatNumber","totalMoneyCurrent","interestMoney","time","productName","typePayment","dueDate","paymentPayPeriod","paymentPeriod","jsx","useSafeArea","colors","start","x","y","end","children","jsxs","View","style","padding","actuatedNormalize","onPress","goBack","iconName","iconSize","alignItems","textStyle","fontWeight","fontSize","paddingBottom","customerName","color","GRAY_3","paddingTop","contactCode","width","assign","WHITE","marginTop","borderRadius","justifyContent","Shadow","ORANGE","totalMoneySell","height","GRAY_4","rate","FlatList","scrollEnabled","keyExtractor","item","toString","renderItem","_ref3","marginBottom","length","borderBottomWidth","borderColor","source","paddingLeft","_default","exports"],"sourceRoot":"../../../../src","sources":["screens/DetailDebt/index.tsx"],"mappings":"iWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,wBAAA,CAAAF,OAAA,+BACA,IAAAG,KAAA,CAAAC,sBAAA,CAAAJ,OAAA,8BACA,IAAAK,iBAAA,CAAAD,sBAAA,CAAAJ,OAAA,mCACA,IAAAM,WAAA,CAAAF,sBAAA,CAAAJ,OAAA,6BACA,IAAAO,OAAA,CAAAH,sBAAA,CAAAJ,OAAA,yBACA,IAAAQ,QAAA,CAAAJ,sBAAA,CAAAJ,OAAA,0BACA,IAAAS,aAAA,CAAAL,sBAAA,CAAAJ,OAAA,+BACA,IAAAU,UAAA,CAAAN,sBAAA,CAAAJ,OAAA,4BACA,IAAAW,QAAA,CAAAX,OAAA,yBACA,IAAAY,MAAA,CAAAR,sBAAA,CAAAJ,OAAA,wBACA,IAAAa,aAAA,CAAAT,sBAAA,CAAAJ,OAAA,+BACA,IAAAc,UAAA,CAAAd,OAAA,8CACA,IAAAe,MAAA,CAAAf,OAAA,iCAA8D,IAAAgB,WAAA,CAAAhB,OAAA,0BAAAiB,KAAA,MAAAC,YAAA,6FAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,UAAAF,wBAAA,UAAAA,yBAAAC,CAAA,SAAAA,CAAA,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EACN,GAAAzF,WAAA,CAAAkF,GAAA,EAACxF,UAAA,CAAAe,OAAS,EACR2H,MAAM,CAAER,IAAI,CAACnG,IAAK,CAClBmE,KAAK,CAAE,CACLiB,KAAK,CAAE,GAAAf,0BAAiB,EAAC,EAAE,CAAC,CAC5BwB,MAAM,CAAE,GAAAxB,0BAAiB,EAAC,EAAE,CAC9B,CAAE,CACH,CAAC,CACF,GAAA9F,WAAA,CAAAkF,GAAA,EAACtF,MAAA,CAAAa,OAAK,EACJ2F,SAAS,CAAE,CACTiC,WAAW,CAAE,GAAAvC,0BAAiB,EAAC,CAAC,CAClC,CAAE,CAAAL,QAAA,CAEDmC,IAAI,CAAChG,IAAI,CACL,CAAC,EACD,CAAC,CACV,GAAA5B,WAAA,CAAAkF,GAAA,EAACtF,MAAA,CAAAa,OAAK,EACJ2F,SAAS,CAAE,CACTC,UAAU,CAAE,KACd,CAAE,CAAAZ,QAAA,CAEDjB,WAAW,CAACoD,IAAI,cAAJA,IAAI,CAAEpG,EAAE,CAAC,CACjB,CAAC,EACI,CAAC,CAEnB,CAAE,CACH,CAAC,CACE,CAAC,EACH,CAAC,CACS,CAAC,CAEvB,CAAC,CAAC,IAAA8G,QAAA,CAAAC,OAAA,CAAA9H,OAAA,CAEawB,UAAU","ignoreList":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeFlashMessage=require("react-native-flash-message");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _reactRedux=require("react-redux");var _AppHeader=_interopRequireDefault(require("../../../common/AppHeader"));var _Button=_interopRequireDefault(require("../../../common/Button"));var _Colors=_interopRequireDefault(require("../../../common/Colors"));var _Container=_interopRequireDefault(require("../../../common/Container"));var _FlexRow=_interopRequireDefault(require("../../../common/FlexRow"));var _Metrics=require("../../../common/Metrics");var _RText=_interopRequireDefault(require("../../../common/RText"));var _Icon=require("../../../common/VectorIcon/Icon");var _lenderSlice=require("../../../components/Features/Lender/lenderSlice");var _Screens=_interopRequireDefault(require("../../../components/Navigation/Screens"));var _selector=require("../../../components/Redux/selector");var _store=require("../../../components/Redux/store");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeFlashMessage=require("react-native-flash-message");var _reactNativePdf=_interopRequireDefault(require("react-native-pdf"));var _reactRedux=require("react-redux");var _AppHeader=_interopRequireDefault(require("../../../common/AppHeader"));var _Button=_interopRequireDefault(require("../../../common/Button"));var _Colors=_interopRequireDefault(require("../../../common/Colors"));var _Container=_interopRequireDefault(require("../../../common/Container"));var _FlexRow=_interopRequireDefault(require("../../../common/FlexRow"));var _Metrics=require("../../../common/Metrics");var _RText=_interopRequireDefault(require("../../../common/RText"));var _Icon=require("../../../common/VectorIcon/Icon");var _lenderSlice=require("../../../components/Features/Lender/lenderSlice");var _Screens=_interopRequireDefault(require("../../../components/Navigation/Screens"));var _selector=require("../../../components/Redux/selector");var _store=require("../../../components/Redux/store");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/DetailHistory/Screens/Extend.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var Extend=function Extend(_ref){var _route$params,_route$params2,_route$params3;var navigation=_ref.navigation,route=_ref.route;var dispatch=(0,_store.useAppDispatch)();var typeEsignContract=route==null?void 0:(_route$params=route.params)==null?void 0:_route$params.typeEsignContract;var status=route==null?void 0:(_route$params2=route.params)==null?void 0:_route$params2.status;var urlEsign=route==null?void 0:(_route$params3=route.params)==null?void 0:_route$params3.urlEsign;var isLoading=(0,_reactRedux.useSelector)(_selector.selectLoading);var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),checked=_useState2[0],setChecked=_useState2[1];var _useState3=(0,_react.useState)(null),_useState4=(0,_slicedToArray2.default)(_useState3,2),data=_useState4[0],setData=_useState4[1];(0,_react.useEffect)(function(){getData();},[]);var getData=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){var _resp$payload,_resp$payload$meta;var resp=yield dispatch((0,_lenderSlice.viewAppendix)(typeEsignContract));console.log('resp pdf---',resp);if((resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:(_resp$payload$meta=_resp$payload.meta)==null?void 0:_resp$payload$meta.errCode)===200){var _resp$payload2;setData(resp==null?void 0:(_resp$payload2=resp.payload)==null?void 0:_resp$payload2.data);}});return function getData(){return _ref2.apply(this,arguments);};}();var onSubmit=function(){var _ref3=(0,_asyncToGenerator2.default)(function*(){var _resp$payload3,_resp$payload3$meta;var resp=yield dispatch((0,_lenderSlice.beginSignAppendix)(data==null?void 0:data.reference_id));if((resp==null?void 0:(_resp$payload3=resp.payload)==null?void 0:(_resp$payload3$meta=_resp$payload3.meta)==null?void 0:_resp$payload3$meta.errCode)===200){var _resp$payload4;(0,_reactNativeFlashMessage.showMessage)({message:'Thông báo',description:'Mã OTP đã được gửi về SĐT của bạn,vui lòng kiểm tra',type:'info',icon:'success',backgroundColor:_Colors.default.SUCCESS});navigation.navigate(_Screens.default.ExtendVerifyOTP,{ref_id:resp==null?void 0:(_resp$payload4=resp.payload)==null?void 0:_resp$payload4.data});}});return function onSubmit(){return _ref3.apply(this,arguments);};}();console.log('urlEsignurlEsign: ',urlEsign);console.log('--------');console.log('data?.url: ',data==null?void 0:data.url);return(0,_jsxRuntime.jsxs)(_Container.default,{children:[(0,_jsxRuntime.jsx)(_AppHeader.default,{title:"H\u1EE3p \u0111\u1ED3ng h\u1EE3p t\xE1c"}),(0,_jsxRuntime.jsx)(_reactNativePdf.default,{source:{uri:urlEsign?urlEsign:data==null?void 0:data.url},style:{flex:1},trustAllCerts:false}),status===1?(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{marginBottom:(0,_Metrics.actuatedNormalize)(32),paddingHorizontal:(0,_Metrics.actuatedNormalize)(16),paddingTop:(0,_Metrics.actuatedNormalize)(16)},children:[(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){return setChecked(!checked);},style:{marginBottom:(0,_Metrics.actuatedNormalize)(16)},children:(0,_jsxRuntime.jsxs)(_FlexRow.default,{children:[(0,_jsxRuntime.jsx)(_Icon.IoIconApp,{name:checked?'checkbox':'checkbox-outline',size:20,color:!checked?_Colors.default.GRAY_4:_Colors.default.ORANGE}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{paddingLeft:(0,_Metrics.actuatedNormalize)(8)},children:"T\xF4i \u0111\u1ED3ng \xFD v\u1EDBi t\u1EA5t c\u1EA3 nh\u1EEFng \u0111i\u1EC1u ki\u1EC7n trong h\u1EE3p \u0111\u1ED3ng."})]})}),(0,_jsxRuntime.jsx)(_Button.default,{text:'Ký hợp đồng',onPress:onSubmit,textStyle:{color:_Colors.default.WHITE},buttonStyle:{borderRadius:8,backgroundColor:!checked?_Colors.default.GRAY_4:_Colors.default.ORANGE},disabled:!checked})]}):(0,_jsxRuntime.jsx)(_reactNative.View,{})]});};var _default=exports.default=Extend;
|
2
2
|
//# sourceMappingURL=Extend.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeFlashMessage","_reactNativePdf","_interopRequireDefault","_reactRedux","_AppHeader","_Button","_Colors","_Container","_FlexRow","_Metrics","_RText","_Icon","_lenderSlice","_Screens","_selector","_store","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Extend","_ref","_route$params","_route$params2","_route$params3","navigation","route","dispatch","useAppDispatch","typeEsignContract","params","status","urlEsign","isLoading","useSelector","selectLoading","_useState","useState","_useState2","_slicedToArray2","checked","setChecked","_useState3","_useState4","data","setData","useEffect","getData","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","resp","viewAppendix","console","log","payload","meta","errCode","_resp$payload2","apply","arguments","onSubmit","_ref3","_resp$payload3","_resp$payload3$meta","beginSignAppendix","reference_id","_resp$payload4","showMessage","message","description","type","icon","backgroundColor","Colors","SUCCESS","navigate","Screens","ExtendVerifyOTP","ref_id","url","jsxs","children","jsx","title","source","uri","style","flex","trustAllCerts","View","marginBottom","actuatedNormalize","paddingHorizontal","paddingTop","TouchableOpacity","onPress","IoIconApp","name","size","color","GRAY_4","ORANGE","textStyle","paddingLeft","text","WHITE","buttonStyle","borderRadius","disabled","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/DetailHistory/Screens/Extend.tsx"],"mappings":"iWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,wBAAA,CAAAF,OAAA,+BACA,IAAAG,eAAA,CAAAC,sBAAA,CAAAJ,OAAA,sBACA,IAAAK,WAAA,CAAAL,OAAA,gBACA,IAAAM,UAAA,CAAAF,sBAAA,CAAAJ,OAAA,+BACA,IAAAO,OAAA,CAAAH,sBAAA,CAAAJ,OAAA,4BACA,IAAAQ,OAAA,CAAAJ,sBAAA,CAAAJ,OAAA,4BACA,IAAAS,UAAA,CAAAL,sBAAA,CAAAJ,OAAA,+BACA,IAAAU,QAAA,CAAAN,sBAAA,CAAAJ,OAAA,6BACA,IAAAW,QAAA,CAAAX,OAAA,4BACA,IAAAY,MAAA,CAAAR,sBAAA,CAAAJ,OAAA,2BACA,IAAAa,KAAA,CAAAb,OAAA,oCACA,IAAAc,YAAA,CAAAd,OAAA,oDAIA,IAAAe,QAAA,CAAAX,sBAAA,CAAAJ,OAAA,4CACA,IAAAgB,SAAA,CAAAhB,OAAA,uCACA,IAAAiB,MAAA,CAAAjB,OAAA,oCAAiE,IAAAkB,WAAA,CAAAlB,OAAA,0BAAAmB,KAAA,MAAAC,YAAA,
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeFlashMessage","_reactNativePdf","_interopRequireDefault","_reactRedux","_AppHeader","_Button","_Colors","_Container","_FlexRow","_Metrics","_RText","_Icon","_lenderSlice","_Screens","_selector","_store","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Extend","_ref","_route$params","_route$params2","_route$params3","navigation","route","dispatch","useAppDispatch","typeEsignContract","params","status","urlEsign","isLoading","useSelector","selectLoading","_useState","useState","_useState2","_slicedToArray2","checked","setChecked","_useState3","_useState4","data","setData","useEffect","getData","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","resp","viewAppendix","console","log","payload","meta","errCode","_resp$payload2","apply","arguments","onSubmit","_ref3","_resp$payload3","_resp$payload3$meta","beginSignAppendix","reference_id","_resp$payload4","showMessage","message","description","type","icon","backgroundColor","Colors","SUCCESS","navigate","Screens","ExtendVerifyOTP","ref_id","url","jsxs","children","jsx","title","source","uri","style","flex","trustAllCerts","View","marginBottom","actuatedNormalize","paddingHorizontal","paddingTop","TouchableOpacity","onPress","IoIconApp","name","size","color","GRAY_4","ORANGE","textStyle","paddingLeft","text","WHITE","buttonStyle","borderRadius","disabled","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/DetailHistory/Screens/Extend.tsx"],"mappings":"iWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBACA,IAAAE,wBAAA,CAAAF,OAAA,+BACA,IAAAG,eAAA,CAAAC,sBAAA,CAAAJ,OAAA,sBACA,IAAAK,WAAA,CAAAL,OAAA,gBACA,IAAAM,UAAA,CAAAF,sBAAA,CAAAJ,OAAA,+BACA,IAAAO,OAAA,CAAAH,sBAAA,CAAAJ,OAAA,4BACA,IAAAQ,OAAA,CAAAJ,sBAAA,CAAAJ,OAAA,4BACA,IAAAS,UAAA,CAAAL,sBAAA,CAAAJ,OAAA,+BACA,IAAAU,QAAA,CAAAN,sBAAA,CAAAJ,OAAA,6BACA,IAAAW,QAAA,CAAAX,OAAA,4BACA,IAAAY,MAAA,CAAAR,sBAAA,CAAAJ,OAAA,2BACA,IAAAa,KAAA,CAAAb,OAAA,oCACA,IAAAc,YAAA,CAAAd,OAAA,oDAIA,IAAAe,QAAA,CAAAX,sBAAA,CAAAJ,OAAA,4CACA,IAAAgB,SAAA,CAAAhB,OAAA,uCACA,IAAAiB,MAAA,CAAAjB,OAAA,oCAAiE,IAAAkB,WAAA,CAAAlB,OAAA,0BAAAmB,KAAA,MAAAC,YAAA,yGAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAAA,KAAAF,OAAA,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C7D,OAAO,CAAGmC,eAAM,CAAC2B,MAAM,CAAG3B,eAAM,CAAC4B,MAAO,CACjD,CAAC,CACF,GAAA1G,WAAA,CAAAuF,GAAA,EAAC7F,MAAA,CAAAe,OAAK,EAACkG,SAAS,CAAE,CAAEC,WAAW,CAAE,GAAAZ,0BAAiB,EAAC,CAAC,CAAE,CAAE,CAAAV,QAAA,CAAC,yHAEzD,CAAO,CAAC,EACD,CAAC,CACM,CAAC,CACnB,GAAAtF,WAAA,CAAAuF,GAAA,EAAClG,OAAA,CAAAoB,OAAM,EACLoG,IAAI,CAAE,aAAc,CACpBT,OAAO,CAAEnC,QAAS,CAClB0C,SAAS,CAAE,CAAEH,KAAK,CAAE1B,eAAM,CAACgC,KAAM,CAAE,CACnCC,WAAW,CAAE,CACXC,YAAY,CAAE,CAAC,CACfnC,eAAe,CAAE,CAAClC,OAAO,CAAGmC,eAAM,CAAC2B,MAAM,CAAG3B,eAAM,CAAC4B,MACrD,CAAE,CACFO,QAAQ,CAAE,CAACtE,OAAQ,CACpB,CAAC,EACE,CAAC,CAEP,GAAA3C,WAAA,CAAAuF,GAAA,EAACxG,YAAA,CAAA+G,IAAI,GAAE,CACR,EACQ,CAAC,CAEhB,CAAC,CAAC,IAAAoB,QAAA,CAAAC,OAAA,CAAA1G,OAAA,CAEac,MAAM","ignoreList":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeConfirmationCodeField=require("react-native-confirmation-code-field");var _reactNativeFlashMessage=require("react-native-flash-message");var _Loan=_interopRequireDefault(require("../../../assets/images/Loan"));var _ButtonIcon=_interopRequireDefault(require("../../../common/ButtonIcon"));var _Colors=_interopRequireDefault(require("../../../common/Colors"));var _Metrics=require("../../../common/Metrics");var _RText=_interopRequireDefault(require("../../../common/RText"));var _SpaceBetween=_interopRequireDefault(require("../../../common/SpaceBetween"));var _lenderSlice=require("../../../components/Features/Lender/lenderSlice");var _Screens=_interopRequireDefault(require("../../../components/Navigation/Screens"));var _store=require("../../../components/Redux/store");var _ModalSuccess=_interopRequireDefault(require("../../../screens/Camera/ModalSuccess"));var _styles=_interopRequireDefault(require("./styles"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeConfirmationCodeField=require("react-native-confirmation-code-field");var _reactNativeFlashMessage=require("react-native-flash-message");var _Loan=_interopRequireDefault(require("../../../assets/images/Loan"));var _ButtonIcon=_interopRequireDefault(require("../../../common/ButtonIcon"));var _Colors=_interopRequireDefault(require("../../../common/Colors"));var _Metrics=require("../../../common/Metrics");var _RText=_interopRequireDefault(require("../../../common/RText"));var _SpaceBetween=_interopRequireDefault(require("../../../common/SpaceBetween"));var _lenderSlice=require("../../../components/Features/Lender/lenderSlice");var _Screens=_interopRequireDefault(require("../../../components/Navigation/Screens"));var _store=require("../../../components/Redux/store");var _ModalSuccess=_interopRequireDefault(require("../../../screens/Camera/ModalSuccess"));var _styles=_interopRequireDefault(require("./styles"));var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/DetailHistory/Screens/ExtendVerifyOTP.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var ExtendVerifyOTP=function ExtendVerifyOTP(_ref){var _route$params;var navigation=_ref.navigation,route=_ref.route;var dispatch=(0,_store.useAppDispatch)();var ref_id=route==null?void 0:(_route$params=route.params)==null?void 0:_route$params.ref_id;var CELL_COUNT=6;var _useState=(0,_react.useState)(''),_useState2=(0,_slicedToArray2.default)(_useState,2),value=_useState2[0],setValue=_useState2[1];var ref=(0,_reactNativeConfirmationCodeField.useBlurOnFulfill)({value:value,cellCount:CELL_COUNT});var _useClearByFocusCell=(0,_reactNativeConfirmationCodeField.useClearByFocusCell)({value:value,setValue:setValue}),_useClearByFocusCell2=(0,_slicedToArray2.default)(_useClearByFocusCell,2),props=_useClearByFocusCell2[0],getCellOnLayoutHandler=_useClearByFocusCell2[1];var _useState3=(0,_react.useState)(180),_useState4=(0,_slicedToArray2.default)(_useState3,2),time=_useState4[0],setTime=_useState4[1];var _useState5=(0,_react.useState)(false),_useState6=(0,_slicedToArray2.default)(_useState5,2),openSuccess=_useState6[0],setOpenSuccess=_useState6[1];(0,_react.useEffect)(function(){if(ref_id){var interval=setInterval(function(){if(time>0){setTime(time-1);}else{clearInterval(interval);}},1000);return function(){return clearInterval(interval);};}},[time]);var onVerify=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){var _resp$payload,_resp$payload$meta;var params={otp:value,ref_id:ref_id};var resp=yield dispatch((0,_lenderSlice.verifySignAppendix)(params));if((resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:(_resp$payload$meta=_resp$payload.meta)==null?void 0:_resp$payload$meta.errCode)===200){setOpenSuccess(true);setTimeout(function(){setOpenSuccess(false);navigation.navigate(_Screens.default.CooperationAgreement);},2000);}});return function onVerify(){return _ref2.apply(this,arguments);};}();var onResendOTP=function(){var _ref3=(0,_asyncToGenerator2.default)(function*(){var _resp$payload2,_resp$payload2$meta;var resp=yield dispatch((0,_lenderSlice.beginSignAppendix)(ref_id));console.log('resp sign---',resp);if((resp==null?void 0:(_resp$payload2=resp.payload)==null?void 0:(_resp$payload2$meta=_resp$payload2.meta)==null?void 0:_resp$payload2$meta.errCode)===200){(0,_reactNativeFlashMessage.showMessage)({message:'Thông báo',description:'Thành công !',type:'info',icon:'success',backgroundColor:_Colors.default.SUCCESS});setTime(180);}else{(0,_reactNativeFlashMessage.showMessage)({message:'Thông báo',description:'Có lỗi xảy ra,vui lòng thử lại sau!',type:'danger',icon:'warning',backgroundColor:_Colors.default.DANGER});}});return function onResendOTP(){return _ref3.apply(this,arguments);};}();return(0,_jsxRuntime.jsxs)(_reactNative.ImageBackground,{source:_Loan.default.bg_extend_otp,style:{flex:1},children:[(0,_jsxRuntime.jsx)(_reactNative.SafeAreaView,{children:(0,_jsxRuntime.jsxs)(_SpaceBetween.default,{style:{paddingHorizontal:(0,_Metrics.actuatedNormalize)(16),paddingTop:(0,_Metrics.actuatedNormalize)(8),paddingBottom:(0,_Metrics.actuatedNormalize)(16)},children:[(0,_jsxRuntime.jsx)(_ButtonIcon.default,{onPress:function onPress(){return navigation.goBack();},iconName:"chevron-back",iconColor:"white",iconSize:24}),(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.WHITE,fontSize:(0,_Metrics.actuatedNormalize)(18),fontWeight:'600'},children:"X\xE1c th\u1EF1c OTP"}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{width:24}})]})}),(0,_jsxRuntime.jsxs)(_reactNative.ScrollView,{scrollEnabled:false,style:{padding:(0,_Metrics.actuatedNormalize)(16)},children:[(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.WHITE,textAlign:'center'},children:"M\xE3 x\xE1c th\u1EF1c OTP c\u1EE7a b\u1EA1n s\u1EBD \u0111\u01B0\u1EE3c g\u1EEDi v\xE0o s\u1ED1 \u0111i\u1EC7n tho\u1EA1i c\u1EE7a b\u1EA1n, vui l\xF2ng nh\u1EADp m\xE3 \u0111\u1EC3 ho\xE0n th\xE0nh k\xFD ph\u1EE5 \u0111\xEDnh."}),(0,_jsxRuntime.jsx)(_reactNativeConfirmationCodeField.CodeField,Object.assign({ref:ref},props,{value:value,onChangeText:setValue,cellCount:CELL_COUNT,rootStyle:_styles.default.codeFieldRoot,keyboardType:"numeric",textContentType:"jobTitle",autoFocus:true,renderCell:function renderCell(_ref4){var index=_ref4.index,symbol=_ref4.symbol,isFocused=_ref4.isFocused;return(0,_jsxRuntime.jsx)(_reactNative.View,{onLayout:getCellOnLayoutHandler(index),style:[_styles.default.cellRoot,isFocused&&_styles.default.focusCell],children:(0,_jsxRuntime.jsx)(_reactNative.Text,{style:_styles.default.cellText,children:symbol||(isFocused?(0,_jsxRuntime.jsx)(_reactNativeConfirmationCodeField.Cursor,{}):null)})},index);}})),(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:onVerify,style:{width:(0,_Metrics.actuatedNormalize)(140),height:(0,_Metrics.actuatedNormalize)(40),borderRadius:4,alignItems:'center',justifyContent:'center',backgroundColor:_Colors.default.WHITE,alignSelf:'center'},children:(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.ORANGE},children:"X\xE1c nh\u1EADn"})}),time===0?(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:onResendOTP,style:{alignSelf:'center',marginTop:(0,_Metrics.actuatedNormalize)(24)},children:(0,_jsxRuntime.jsx)(_RText.default,{textStyle:{color:_Colors.default.WHITE,fontWeight:'600'},children:"G\u1EEDi l\u1EA1i m\xE3 OTP"})}):(0,_jsxRuntime.jsxs)(_RText.default,{textStyle:{color:_Colors.default.WHITE,textAlign:'center',paddingTop:(0,_Metrics.actuatedNormalize)(24)},children:["G\u1EEDi l\u1EA1i m\xE3 OTP sau ",time," gi\xE2y"]})]}),(0,_jsxRuntime.jsx)(_ModalSuccess.default,{isVisible:openSuccess,text:"K\xFD h\u1EE3p \u0111\u1ED3ng ph\u1EE5 \u0111\xEDnh th\xE0nh c\xF4ng!"})]});};var _default=exports.default=ExtendVerifyOTP;
|
2
2
|
//# sourceMappingURL=ExtendVerifyOTP.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeConfirmationCodeField","_reactNativeFlashMessage","_Loan","_interopRequireDefault","_ButtonIcon","_Colors","_Metrics","_RText","_SpaceBetween","_lenderSlice","_Screens","_store","_ModalSuccess","_styles","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ExtendVerifyOTP","_ref","_route$params","navigation","route","dispatch","useAppDispatch","ref_id","params","CELL_COUNT","_useState","useState","_useState2","_slicedToArray2","value","setValue","ref","useBlurOnFulfill","cellCount","_useClearByFocusCell","useClearByFocusCell","_useClearByFocusCell2","props","getCellOnLayoutHandler","_useState3","_useState4","time","setTime","_useState5","_useState6","openSuccess","setOpenSuccess","useEffect","interval","setInterval","clearInterval","onVerify","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","otp","resp","verifySignAppendix","payload","meta","errCode","setTimeout","navigate","Screens","CooperationAgreement","apply","arguments","onResendOTP","_ref3","_resp$payload2","_resp$payload2$meta","beginSignAppendix","console","log","showMessage","message","description","type","icon","backgroundColor","Colors","SUCCESS","DANGER","jsxs","ImageBackground","source","LoanImages","bg_extend_otp","style","flex","children","jsx","SafeAreaView","paddingHorizontal","actuatedNormalize","paddingTop","paddingBottom","onPress","goBack","iconName","iconColor","iconSize","textStyle","color","WHITE","fontSize","fontWeight","View","width","ScrollView","scrollEnabled","padding","textAlign","CodeField","assign","onChangeText","rootStyle","styles","codeFieldRoot","keyboardType","textContentType","autoFocus","renderCell","_ref4","index","symbol","isFocused","onLayout","cellRoot","focusCell","Text","cellText","Cursor","TouchableOpacity","height","borderRadius","alignItems","justifyContent","alignSelf","ORANGE","marginTop","isVisible","text","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/DetailHistory/Screens/ExtendVerifyOTP.tsx"],"mappings":"iWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBAQA,IAAAE,iCAAA,CAAAF,OAAA,yCAMA,IAAAG,wBAAA,CAAAH,OAAA,+BACA,IAAAI,KAAA,CAAAC,sBAAA,CAAAL,OAAA,iCACA,IAAAM,WAAA,CAAAD,sBAAA,CAAAL,OAAA,gCACA,IAAAO,OAAA,CAAAF,sBAAA,CAAAL,OAAA,4BACA,IAAAQ,QAAA,CAAAR,OAAA,4BACA,IAAAS,MAAA,CAAAJ,sBAAA,CAAAL,OAAA,2BACA,IAAAU,aAAA,CAAAL,sBAAA,CAAAL,OAAA,kCACA,IAAAW,YAAA,CAAAX,OAAA,oDAIA,IAAAY,QAAA,CAAAP,sBAAA,CAAAL,OAAA,4CACA,IAAAa,MAAA,CAAAb,OAAA,oCACA,IAAAc,aAAA,CAAAT,sBAAA,CAAAL,OAAA,0CACA,IAAAe,OAAA,CAAAV,sBAAA,CAAAL,OAAA,cAA8B,IAAAgB,WAAA,CAAAhB,OAAA,0BAAAiB,KAAA,MAAAC,YAAA,
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeConfirmationCodeField","_reactNativeFlashMessage","_Loan","_interopRequireDefault","_ButtonIcon","_Colors","_Metrics","_RText","_SpaceBetween","_lenderSlice","_Screens","_store","_ModalSuccess","_styles","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","ExtendVerifyOTP","_ref","_route$params","navigation","route","dispatch","useAppDispatch","ref_id","params","CELL_COUNT","_useState","useState","_useState2","_slicedToArray2","value","setValue","ref","useBlurOnFulfill","cellCount","_useClearByFocusCell","useClearByFocusCell","_useClearByFocusCell2","props","getCellOnLayoutHandler","_useState3","_useState4","time","setTime","_useState5","_useState6","openSuccess","setOpenSuccess","useEffect","interval","setInterval","clearInterval","onVerify","_ref2","_asyncToGenerator2","_resp$payload","_resp$payload$meta","otp","resp","verifySignAppendix","payload","meta","errCode","setTimeout","navigate","Screens","CooperationAgreement","apply","arguments","onResendOTP","_ref3","_resp$payload2","_resp$payload2$meta","beginSignAppendix","console","log","showMessage","message","description","type","icon","backgroundColor","Colors","SUCCESS","DANGER","jsxs","ImageBackground","source","LoanImages","bg_extend_otp","style","flex","children","jsx","SafeAreaView","paddingHorizontal","actuatedNormalize","paddingTop","paddingBottom","onPress","goBack","iconName","iconColor","iconSize","textStyle","color","WHITE","fontSize","fontWeight","View","width","ScrollView","scrollEnabled","padding","textAlign","CodeField","assign","onChangeText","rootStyle","styles","codeFieldRoot","keyboardType","textContentType","autoFocus","renderCell","_ref4","index","symbol","isFocused","onLayout","cellRoot","focusCell","Text","cellText","Cursor","TouchableOpacity","height","borderRadius","alignItems","justifyContent","alignSelf","ORANGE","marginTop","isVisible","text","_default","exports"],"sourceRoot":"../../../../../src","sources":["screens/DetailHistory/Screens/ExtendVerifyOTP.tsx"],"mappings":"iWAEA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,YAAA,CAAAD,OAAA,iBAQA,IAAAE,iCAAA,CAAAF,OAAA,yCAMA,IAAAG,wBAAA,CAAAH,OAAA,+BACA,IAAAI,KAAA,CAAAC,sBAAA,CAAAL,OAAA,iCACA,IAAAM,WAA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jD,WAAA,CAAAoG,GAAA,EAACtG,aAAA,CAAAW,OAAY,EACX6I,SAAS,CAAEjG,WAAY,CACvBkG,IAAI,CAAC,uEAAkC,CACxC,CAAC,EACa,CAAC,CAEtB,CAAC,CAAC,IAAAC,QAAA,CAAAC,OAAA,CAAAhJ,OAAA,CAEac,eAAe","ignoreList":[]}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.DetailHistory=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _moment=_interopRequireDefault(require("moment"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeFlashMessage=require("react-native-flash-message");var _Ionicons=_interopRequireDefault(require("react-native-vector-icons/Ionicons"));var _reactRedux=require("react-redux");var _HomePage=_interopRequireDefault(require("../../assets/images/HomePage"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _index=_interopRequireDefault(require("../../common/constants/index"));var _Container=_interopRequireDefault(require("../../common/Container"));var _FlexRow=_interopRequireDefault(require("../../common/FlexRow"));var _Loading=_interopRequireDefault(require("../../common/Loading"));var _Metrics=require("../../common/Metrics");var _RText=_interopRequireDefault(require("../../common/RText"));var _Icon=require("../../common/VectorIcon/Icon");var _loanSlice=require("../../components/Features/Loans/loanSlice");var _userSlice=require("../../components/Features/user/userSlice");var _Screens=_interopRequireDefault(require("../../components/Navigation/Screens"));var _selector=require("../../components/Redux/selector");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Documents/Tima/timainvestor/src/screens/DetailHistory/index.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var DetailHistory=exports.DetailHistory=function DetailHistory(_ref){var _route$params,_data$customer,_data$customer2,_data$customer3,_data$customer4,_data$customer5,_data$customer6,_data$payments,_route$params2;var navigation=_ref.navigation,route=_ref.route;var item=route.params.item;var tabIndex=route==null?void 0:(_route$params=route.params)==null?void 0:_route$params.tabIndex;var dispatch=(0,_reactRedux.useDispatch)();var userData=(0,_reactRedux.useSelector)(_selector.userInfor);var isLoading=(0,_reactRedux.useSelector)(_selector.selectLoading);var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),data=_useState2[0],setData=_useState2[1];var _useState3=(0,_react.useState)(null),_useState4=(0,_slicedToArray2.default)(_useState3,2),issuranceContractLink=_useState4[0],setIssuranceContractLink=_useState4[1];var _useState5=(0,_react.useState)(''),_useState6=(0,_slicedToArray2.default)(_useState5,2),extendContractURL=_useState6[0],setExtendContractURL=_useState6[1];(0,_react.useEffect)(function(){getDetail();getContractByURL();},[]);var getContractByURL=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){var resp=yield dispatch((0,_loanSlice.getContractURL)(item==null?void 0:item.loanCreditID));if(resp.payload.meta.errCode===200){var _resp$payload;setIssuranceContractLink(resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:_resp$payload.data);}});return function getContractByURL(){return _ref2.apply(this,arguments);};}();var getDetail=function(){var _ref3=(0,_asyncToGenerator2.default)(function*(){var _item$loanCreditCode;yield dispatch((0,_loanSlice.loanDetail)(item!=null&&item.id?item==null?void 0:item.id:item!=null&&item.loanCreditID?item==null?void 0:item.loanCreditID:item!=null&&item.LoanCreditID?item==null?void 0:item.LoanCreditID:item==null?void 0:(_item$loanCreditCode=item.loanCreditCode)==null?void 0:_item$loanCreditCode.replace('HD-',''))).then(function(response){var _response$payload;console.log('response detail:::',response);var _data=response==null?void 0:(_response$payload=response.payload)==null?void 0:_response$payload.data;switch(response.payload.meta.errCode){case 200:setData(response.payload.data);dispatch((0,_loanSlice.getExtendContract)(_data==null?void 0:_data.loanId)).then(function(res){var _res$payload;console.log('resp',res);setExtendContractURL(res==null?void 0:(_res$payload=res.payload)==null?void 0:_res$payload.data);});break;case 403:_reactNative.Alert.alert('Thông báo','Bạn không có quyền truy cập. Vui lòng đăng nhập lại!',[{text:'OK',onPress:function onPress(){dispatch((0,_userSlice.logOut)());},style:'cancel'}]);break;case 401:default:(0,_reactNativeFlashMessage.showMessage)({message:'Thông báo',description:response.payload.meta.errMessage,type:'danger',icon:'warning',backgroundColor:_Colors.default.DANGER});break;}});});return function getDetail(){return _ref3.apply(this,arguments);};}();var onExtend=function(){var _ref4=(0,_asyncToGenerator2.default)(function*(){navigation.navigate(_Screens.default.ExtendContract,{urlEsign:extendContractURL,loanId:data==null?void 0:data.loanId});});return function onExtend(){return _ref4.apply(this,arguments);};}();function statusLoan(item){var status=item==null?void 0:item.status;var color='#C0C0C0';if(status===1){return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:'#C0C0C0',paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Đã tất toán'.toUpperCase()})});}else if(status===101){return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:_index.default.primaryColor,paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Thánh lý bảo hiểm'.toUpperCase()})});}else if(status===11){color='#3dd95c';if((0,_moment.default)()<=(0,_moment.default)(item==null?void 0:item.toDate)){color='#3dd95c';}return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:color,paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Đang vay'.toUpperCase()})});}else if(status===60){color='#C0C0C0';if((0,_moment.default)(item==null?void 0:item.toDate).add(1,'days')<=(0,_moment.default)()&&(0,_moment.default)()<=(0,_moment.default)(item==null?void 0:item.toDate).add(90,'days')){color='#99c2a1';}return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:color,paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Chờ thu hồi'.toUpperCase()})});}else if(status===70){color='#08C676';if((0,_moment.default)(item==null?void 0:item.toDate).add(91,'days')<=(0,_moment.default)()&&(0,_moment.default)()<=(0,_moment.default)(item==null?void 0:item.toDate).add(106,'days')){color='#99c2a1';}return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:color,paddingVertical:4,paddingHorizontal:8,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:10,color:'white'},children:'Chờ bảo hiểm thanh toán'.toUpperCase()})});}else if(status===21){return(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:_index.default.primaryColor,paddingVertical:4,paddingHorizontal:8,borderRadius:14},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_fast_speed,style:{width:14,height:14,resizeMode:'contain'}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:10,color:'white'},children:'Chờ đối soát ngân hàng'.toUpperCase()})]});}}return(0,_jsxRuntime.jsxs)(_Container.default,{isStatusBar:true,style:{paddingTop:_reactNative.StatusBar.currentHeight||42},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.bg_detail,style:{width:'100%',height:_index.default.widthDevice*732/960,resizeMode:'contain',position:'absolute'}}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{height:48},children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:{width:'100%',height:'100%',justifyContent:'center',alignItems:'center',position:'absolute'},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{fontSize:18,fontWeight:'bold',color:'white'},children:data==null?void 0:(_data$customer=data.customer)==null?void 0:_data$customer.fullName})}),(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){return navigation.goBack();},style:{width:48,height:48,justifyContent:'center',alignItems:'center',marginTop:16},children:(0,_jsxRuntime.jsx)(_Ionicons.default,{name:"chevron-back",size:30,color:_Colors.default.WHITE})})]}),(0,_jsxRuntime.jsxs)(_reactNative.ScrollView,{style:{paddingHorizontal:16},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:(data==null?void 0:(_data$customer2=data.customer)==null?void 0:_data$customer2.avatar)!==undefined&&(data==null?void 0:(_data$customer3=data.customer)==null?void 0:_data$customer3.avatar)!==null?{uri:data==null?void 0:(_data$customer4=data.customer)==null?void 0:_data$customer4.avatar}:(data==null?void 0:(_data$customer5=data.customer)==null?void 0:_data$customer5.gender)===0?_HomePage.default.avatar_boy:_HomePage.default.avatar_girl,style:{width:_index.default.widthDevice/3,height:_index.default.widthDevice/3,borderRadius:_index.default.widthDevice/3/2,borderWidth:1,borderColor:'#d7d7d7',alignSelf:'center',marginTop:8}}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:Object.assign({padding:6,backgroundColor:'white',borderRadius:4,marginVertical:8},_Metrics.Shadow),children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',justifyContent:'center',backgroundColor:'white',paddingTop:16,borderTopLeftRadius:4,borderTopRightRadius:4},children:[(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center',flex:1,paddingBottom:12},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#999999'},children:'Số tiền cho vay'.toUpperCase()}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:15,fontWeight:'bold',color:'#F05123'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:data.totalMoney),"VN\u0110"]})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{backgroundColor:'#E1E1E1',width:1,marginVertical:2,height:'90%'}}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center',flex:1,paddingBottom:12},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#999999'},children:'Lợi nhuận'.toUpperCase()}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:15,fontWeight:'bold',color:'#F05123'},children:[((data==null?void 0:data.rate)*100).toFixed(2),"%/n\u0103m"]})]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_money_interest,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Số tiền gốc còn lại:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:data.totalMoneyRemain),"VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_insurance,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Phí bảo hiểm:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:data.customerInsuranceFee),"VN\u0110"]})]})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderRadius:4,borderWidth:1,marginVertical:8,marginHorizontal:8,borderColor:'#E5E5E5'},children:(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderBottomLeftRadius:4,borderBottomEndRadius:4},children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:8,alignItems:'center'},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_status,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,flex:1,fontSize:13,color:'#1D1B1BF0'},children:'Trạng thái đơn vay'}),statusLoan(data)]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_debt,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Thời hạn vay'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[data==null?void 0:data.loanTime," th\xE1ng"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_product,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Hình thức vay'}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{flex:1,alignItems:'flex-end',paddingHorizontal:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{fontSize:13,fontWeight:'bold',color:'#444444'},children:data==null?void 0:data.productCredit.nameType}),(0,_jsxRuntime.jsx)(_RText.default,{style:{fontSize:13,color:'#F37721'},children:data==null?void 0:data.collateral})]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_type_payment,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Hình thức trả nợ'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:data==null?void 0:data.rateTypeName})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_debt,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Ngày giải ngân'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:(0,_moment.default)(data==null?void 0:data.fromDate).format('DD/MM/YYYY')})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_debt,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Ngày kết thúc khoản vay'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:(0,_moment.default)(data==null?void 0:data.toDate).format('DD/MM/YYYY')})]})]})}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderRadius:4,borderWidth:1,marginHorizontal:8,borderColor:'#E5E5E5'},children:(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_dollar,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Lương'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:(_data$customer6=data.customer)==null?void 0:_data$customer6.salary)," VN\u0110/Th\xE1ng"]})]})}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,paddingVertical:8,fontSize:13,color:'#4D4D4D'},children:'Lịch thanh toán'.toUpperCase()}),data==null?void 0:(_data$payments=data.payments)==null?void 0:_data$payments.map(function(payment,index){return(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderRadius:4,borderBottomWidth:1,borderColor:_Colors.default.ORANGE},children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Số tiền gốc đã thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:_Colors.default.BLUE},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payMoneyOriginal)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Lãi đã thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:_Colors.default.BLUE},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payMoneyInterest)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Số tiền gốc phải thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'red'},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payNeedMoneyOriginal)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Lãi phải thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'red'},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payNeedMoneyInterest)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Ngày thanh toán:'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:(0,_Metrics.timeConverter)(new Date((payment==null?void 0:payment.status)===1?payment==null?void 0:payment.payDate:payment==null?void 0:payment.toDate))})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Trạng thái:'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:(payment==null?void 0:payment.payNeedMoneyOriginal)==0&&!(payment!=null&&payment.payNeedMoneyInterest)?_Colors.default.BLUE:'red'},children:(payment==null?void 0:payment.payNeedMoneyOriginal)==0&&!(payment!=null&&payment.payNeedMoneyInterest)?'Đã thanh toán':'Chưa thanh toán'})]})]},index);}),(route==null?void 0:(_route$params2=route.params)==null?void 0:_route$params2.index)===5||tabIndex===5?(0,_jsxRuntime.jsxs)(_reactNative.TouchableOpacity,{onPress:onExtend,style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',paddingHorizontal:(0,_Metrics.actuatedNormalize)(12),height:(0,_Metrics.actuatedNormalize)(36),borderRadius:8,backgroundColor:'#F2F2F7',marginTop:(0,_Metrics.actuatedNormalize)(16)},children:[(0,_jsxRuntime.jsx)(_RText.default,{children:"K\xFD ph\u1EE5 l\u1EE5c gia h\u1EA1n"}),(0,_jsxRuntime.jsx)(_Icon.IoIconApp,{name:"chevron-forward"})]}):(0,_jsxRuntime.jsx)(_reactNative.View,{}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{marginBottom:40}})]}),issuranceContractLink?(0,_jsxRuntime.jsx)(_reactNative.View,{style:{alignItems:'center',marginVertical:4,width:'100%'},children:(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.navigate(_Screens.default.Contract,{loanId:item==null?void 0:item.id,accessToken:userData==null?void 0:userData.accessToken,item:issuranceContractLink});},style:{borderRadius:20,height:40,width:'68%',justifyContent:'center',alignItems:'center',backgroundColor:'#EE42231A',marginBottom:(0,_Metrics.actuatedNormalize)(30)},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{color:'#EE4223',fontSize:13,fontWeight:'bold'},children:"Gi\u1EA5y ch\u1EE9ng th\u01B0 b\u1EA3o hi\u1EC3m"})})}):(0,_jsxRuntime.jsx)(_reactNative.View,{}),isLoading&&(0,_jsxRuntime.jsx)(_Loading.default,{})]});};
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.DetailHistory=void 0;var _asyncToGenerator2=_interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _moment=_interopRequireDefault(require("moment"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _reactNativeFlashMessage=require("react-native-flash-message");var _Ionicons=_interopRequireDefault(require("react-native-vector-icons/Ionicons"));var _reactRedux=require("react-redux");var _HomePage=_interopRequireDefault(require("../../assets/images/HomePage"));var _Colors=_interopRequireDefault(require("../../common/Colors"));var _index=_interopRequireDefault(require("../../common/constants/index"));var _Container=_interopRequireDefault(require("../../common/Container"));var _FlexRow=_interopRequireDefault(require("../../common/FlexRow"));var _Loading=_interopRequireDefault(require("../../common/Loading"));var _Metrics=require("../../common/Metrics");var _RText=_interopRequireDefault(require("../../common/RText"));var _Icon=require("../../common/VectorIcon/Icon");var _loanSlice=require("../../components/Features/Loans/loanSlice");var _userSlice=require("../../components/Features/user/userSlice");var _Screens=_interopRequireDefault(require("../../components/Navigation/Screens"));var _selector=require("../../components/Redux/selector");var _jsxRuntime=require("react/jsx-runtime");var _this=this,_jsxFileName="/Users/tima/Repository/Tima/dautu/timadautu2025/src/screens/DetailHistory/index.tsx";function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap(),t=new WeakMap();return(_getRequireWildcardCache=function _getRequireWildcardCache(e){return e?t:r;})(e);}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u];}return n.default=e,t&&t.set(e,n),n;}var DetailHistory=exports.DetailHistory=function DetailHistory(_ref){var _route$params,_data$customer,_data$customer2,_data$customer3,_data$customer4,_data$customer5,_data$customer6,_data$payments,_route$params2;var navigation=_ref.navigation,route=_ref.route;var item=route.params.item;var tabIndex=route==null?void 0:(_route$params=route.params)==null?void 0:_route$params.tabIndex;var dispatch=(0,_reactRedux.useDispatch)();var userData=(0,_reactRedux.useSelector)(_selector.userInfor);var isLoading=(0,_reactRedux.useSelector)(_selector.selectLoading);var _useState=(0,_react.useState)(null),_useState2=(0,_slicedToArray2.default)(_useState,2),data=_useState2[0],setData=_useState2[1];var _useState3=(0,_react.useState)(null),_useState4=(0,_slicedToArray2.default)(_useState3,2),issuranceContractLink=_useState4[0],setIssuranceContractLink=_useState4[1];var _useState5=(0,_react.useState)(''),_useState6=(0,_slicedToArray2.default)(_useState5,2),extendContractURL=_useState6[0],setExtendContractURL=_useState6[1];(0,_react.useEffect)(function(){getDetail();getContractByURL();},[]);var getContractByURL=function(){var _ref2=(0,_asyncToGenerator2.default)(function*(){var resp=yield dispatch((0,_loanSlice.getContractURL)(item==null?void 0:item.loanCreditID));if(resp.payload.meta.errCode===200){var _resp$payload;setIssuranceContractLink(resp==null?void 0:(_resp$payload=resp.payload)==null?void 0:_resp$payload.data);}});return function getContractByURL(){return _ref2.apply(this,arguments);};}();var getDetail=function(){var _ref3=(0,_asyncToGenerator2.default)(function*(){var _item$loanCreditCode;yield dispatch((0,_loanSlice.loanDetail)(item!=null&&item.id?item==null?void 0:item.id:item!=null&&item.loanCreditID?item==null?void 0:item.loanCreditID:item!=null&&item.LoanCreditID?item==null?void 0:item.LoanCreditID:item==null?void 0:(_item$loanCreditCode=item.loanCreditCode)==null?void 0:_item$loanCreditCode.replace('HD-',''))).then(function(response){var _response$payload;console.log('response detail:::',response);var _data=response==null?void 0:(_response$payload=response.payload)==null?void 0:_response$payload.data;switch(response.payload.meta.errCode){case 200:setData(response.payload.data);dispatch((0,_loanSlice.getExtendContract)(_data==null?void 0:_data.loanId)).then(function(res){var _res$payload;console.log('resp',res);setExtendContractURL(res==null?void 0:(_res$payload=res.payload)==null?void 0:_res$payload.data);});break;case 403:_reactNative.Alert.alert('Thông báo','Bạn không có quyền truy cập. Vui lòng đăng nhập lại!',[{text:'OK',onPress:function onPress(){dispatch((0,_userSlice.logOut)());},style:'cancel'}]);break;case 401:default:(0,_reactNativeFlashMessage.showMessage)({message:'Thông báo',description:response.payload.meta.errMessage,type:'danger',icon:'warning',backgroundColor:_Colors.default.DANGER});break;}});});return function getDetail(){return _ref3.apply(this,arguments);};}();var onExtend=function(){var _ref4=(0,_asyncToGenerator2.default)(function*(){navigation.navigate(_Screens.default.ExtendContract,{urlEsign:extendContractURL,loanId:data==null?void 0:data.loanId});});return function onExtend(){return _ref4.apply(this,arguments);};}();function statusLoan(item){var status=item==null?void 0:item.status;var color='#C0C0C0';if(status===1){return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:'#C0C0C0',paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Đã tất toán'.toUpperCase()})});}else if(status===101){return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:_index.default.primaryColor,paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Thánh lý bảo hiểm'.toUpperCase()})});}else if(status===11){color='#3dd95c';if((0,_moment.default)()<=(0,_moment.default)(item==null?void 0:item.toDate)){color='#3dd95c';}return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:color,paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Đang vay'.toUpperCase()})});}else if(status===60){color='#C0C0C0';if((0,_moment.default)(item==null?void 0:item.toDate).add(1,'days')<=(0,_moment.default)()&&(0,_moment.default)()<=(0,_moment.default)(item==null?void 0:item.toDate).add(90,'days')){color='#99c2a1';}return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:color,paddingVertical:4,paddingHorizontal:4,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:9,color:'white'},children:'Chờ thu hồi'.toUpperCase()})});}else if(status===70){color='#08C676';if((0,_moment.default)(item==null?void 0:item.toDate).add(91,'days')<=(0,_moment.default)()&&(0,_moment.default)()<=(0,_moment.default)(item==null?void 0:item.toDate).add(106,'days')){color='#99c2a1';}return(0,_jsxRuntime.jsx)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:color,paddingVertical:4,paddingHorizontal:8,borderRadius:14},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:10,color:'white'},children:'Chờ bảo hiểm thanh toán'.toUpperCase()})});}else if(status===21){return(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{justifyContent:'center',alignItems:'center',backgroundColor:_index.default.primaryColor,paddingVertical:4,paddingHorizontal:8,borderRadius:14},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_fast_speed,style:{width:14,height:14,resizeMode:'contain'}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:4,fontSize:10,color:'white'},children:'Chờ đối soát ngân hàng'.toUpperCase()})]});}}return(0,_jsxRuntime.jsxs)(_Container.default,{isStatusBar:true,style:{paddingTop:_reactNative.StatusBar.currentHeight||42},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.bg_detail,style:{width:'100%',height:_index.default.widthDevice*732/960,resizeMode:'contain',position:'absolute'}}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{height:48},children:[(0,_jsxRuntime.jsx)(_reactNative.View,{style:{width:'100%',height:'100%',justifyContent:'center',alignItems:'center',position:'absolute'},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{fontSize:18,fontWeight:'bold',color:'white'},children:data==null?void 0:(_data$customer=data.customer)==null?void 0:_data$customer.fullName})}),(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){return navigation.goBack();},style:{width:48,height:48,justifyContent:'center',alignItems:'center',marginTop:16},children:(0,_jsxRuntime.jsx)(_Ionicons.default,{name:"chevron-back",size:30,color:_Colors.default.WHITE})})]}),(0,_jsxRuntime.jsxs)(_reactNative.ScrollView,{style:{paddingHorizontal:16},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:(data==null?void 0:(_data$customer2=data.customer)==null?void 0:_data$customer2.avatar)!==undefined&&(data==null?void 0:(_data$customer3=data.customer)==null?void 0:_data$customer3.avatar)!==null?{uri:data==null?void 0:(_data$customer4=data.customer)==null?void 0:_data$customer4.avatar}:(data==null?void 0:(_data$customer5=data.customer)==null?void 0:_data$customer5.gender)===0?_HomePage.default.avatar_boy:_HomePage.default.avatar_girl,style:{width:_index.default.widthDevice/3,height:_index.default.widthDevice/3,borderRadius:_index.default.widthDevice/3/2,borderWidth:1,borderColor:'#d7d7d7',alignSelf:'center',marginTop:8}}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:Object.assign({padding:6,backgroundColor:'white',borderRadius:4,marginVertical:8},_Metrics.Shadow),children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',justifyContent:'center',backgroundColor:'white',paddingTop:16,borderTopLeftRadius:4,borderTopRightRadius:4},children:[(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center',flex:1,paddingBottom:12},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#999999'},children:'Số tiền cho vay'.toUpperCase()}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:15,fontWeight:'bold',color:'#F05123'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:data.totalMoney),"VN\u0110"]})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{backgroundColor:'#E1E1E1',width:1,marginVertical:2,height:'90%'}}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{alignItems:'center',flex:1,paddingBottom:12},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#999999'},children:'Lợi nhuận'.toUpperCase()}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:15,fontWeight:'bold',color:'#F05123'},children:[((data==null?void 0:data.rate)*100).toFixed(2),"%/n\u0103m"]})]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_money_interest,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Số tiền gốc còn lại:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:data.totalMoneyRemain),"VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_insurance,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Phí bảo hiểm:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:data.customerInsuranceFee),"VN\u0110"]})]})]}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderRadius:4,borderWidth:1,marginVertical:8,marginHorizontal:8,borderColor:'#E5E5E5'},children:(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderBottomLeftRadius:4,borderBottomEndRadius:4},children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:8,alignItems:'center'},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_status,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,flex:1,fontSize:13,color:'#1D1B1BF0'},children:'Trạng thái đơn vay'}),statusLoan(data)]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_debt,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Thời hạn vay'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[data==null?void 0:data.loanTime," th\xE1ng"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_product,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Hình thức vay'}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{flex:1,alignItems:'flex-end',paddingHorizontal:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{fontSize:13,fontWeight:'bold',color:'#444444'},children:data==null?void 0:data.productCredit.nameType}),(0,_jsxRuntime.jsx)(_RText.default,{style:{fontSize:13,color:'#F37721'},children:data==null?void 0:data.collateral})]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_type_payment,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Hình thức trả nợ'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:data==null?void 0:data.rateTypeName})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_debt,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Ngày giải ngân'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:(0,_moment.default)(data==null?void 0:data.fromDate).format('DD/MM/YYYY')})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_debt,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Ngày kết thúc khoản vay'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:(0,_moment.default)(data==null?void 0:data.toDate).format('DD/MM/YYYY')})]})]})}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderRadius:4,borderWidth:1,marginHorizontal:8,borderColor:'#E5E5E5'},children:(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_reactNative.Image,{source:_HomePage.default.ic_dollar,style:{width:16,height:16}}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Lương'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:[(0,_Metrics.numberWithCommas)(data==null?void 0:(_data$customer6=data.customer)==null?void 0:_data$customer6.salary)," VN\u0110/Th\xE1ng"]})]})}),(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,paddingVertical:8,fontSize:13,color:'#4D4D4D'},children:'Lịch thanh toán'.toUpperCase()}),data==null?void 0:(_data$payments=data.payments)==null?void 0:_data$payments.map(function(payment,index){return(0,_jsxRuntime.jsxs)(_reactNative.View,{style:{padding:6,backgroundColor:'white',borderRadius:4,borderBottomWidth:1,borderColor:_Colors.default.ORANGE},children:[(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Số tiền gốc đã thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:_Colors.default.BLUE},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payMoneyOriginal)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Lãi đã thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:_Colors.default.BLUE},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payMoneyInterest)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{marginTop:0,alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Số tiền gốc phải thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'red'},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payNeedMoneyOriginal)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Lãi phải thu:'}),(0,_jsxRuntime.jsxs)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'red'},children:[(0,_Metrics.numberWithCommas)(payment==null?void 0:payment.payNeedMoneyInterest)," VN\u0110"]})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Ngày thanh toán:'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:'#444444'},children:(0,_Metrics.timeConverter)(new Date((payment==null?void 0:payment.status)===1?payment==null?void 0:payment.payDate:payment==null?void 0:payment.toDate))})]}),(0,_jsxRuntime.jsxs)(_FlexRow.default,{style:{alignItems:'center',paddingVertical:8},children:[(0,_jsxRuntime.jsx)(_RText.default,{style:{paddingHorizontal:8,fontSize:13,color:'#1D1B1BF0'},children:'Trạng thái:'}),(0,_jsxRuntime.jsx)(_RText.default,{style:{flex:1,textAlign:'right',paddingHorizontal:8,fontSize:13,fontWeight:'bold',color:(payment==null?void 0:payment.payNeedMoneyOriginal)==0&&!(payment!=null&&payment.payNeedMoneyInterest)?_Colors.default.BLUE:'red'},children:(payment==null?void 0:payment.payNeedMoneyOriginal)==0&&!(payment!=null&&payment.payNeedMoneyInterest)?'Đã thanh toán':'Chưa thanh toán'})]})]},index);}),(route==null?void 0:(_route$params2=route.params)==null?void 0:_route$params2.index)===5||tabIndex===5?(0,_jsxRuntime.jsxs)(_reactNative.TouchableOpacity,{onPress:onExtend,style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',paddingHorizontal:(0,_Metrics.actuatedNormalize)(12),height:(0,_Metrics.actuatedNormalize)(36),borderRadius:8,backgroundColor:'#F2F2F7',marginTop:(0,_Metrics.actuatedNormalize)(16)},children:[(0,_jsxRuntime.jsx)(_RText.default,{children:"K\xFD ph\u1EE5 l\u1EE5c gia h\u1EA1n"}),(0,_jsxRuntime.jsx)(_Icon.IoIconApp,{name:"chevron-forward"})]}):(0,_jsxRuntime.jsx)(_reactNative.View,{}),(0,_jsxRuntime.jsx)(_reactNative.View,{style:{marginBottom:40}})]}),issuranceContractLink?(0,_jsxRuntime.jsx)(_reactNative.View,{style:{alignItems:'center',marginVertical:4,width:'100%'},children:(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.navigate(_Screens.default.Contract,{loanId:item==null?void 0:item.id,accessToken:userData==null?void 0:userData.accessToken,item:issuranceContractLink});},style:{borderRadius:20,height:40,width:'68%',justifyContent:'center',alignItems:'center',backgroundColor:'#EE42231A',marginBottom:(0,_Metrics.actuatedNormalize)(30)},children:(0,_jsxRuntime.jsx)(_RText.default,{style:{color:'#EE4223',fontSize:13,fontWeight:'bold'},children:"Gi\u1EA5y ch\u1EE9ng th\u01B0 b\u1EA3o hi\u1EC3m"})})}):(0,_jsxRuntime.jsx)(_reactNative.View,{}),isLoading&&(0,_jsxRuntime.jsx)(_Loading.default,{})]});};
|
2
2
|
//# sourceMappingURL=index.js.map
|