react-native-timacare 3.1.57 → 3.1.59

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.
Files changed (34) hide show
  1. package/lib/commonjs/screens/loan/UpdateLoan.js +1 -1
  2. package/lib/commonjs/screens/loan/UpdateLoan.js.flow +1 -0
  3. package/lib/commonjs/screens/loan/UpdateLoan.js.map +1 -1
  4. package/lib/commonjs/screens/toan-trinh-so/OCR.js +1 -1
  5. package/lib/commonjs/screens/toan-trinh-so/OCR.js.flow +2 -2
  6. package/lib/commonjs/screens/toan-trinh-so/OCR.js.map +1 -1
  7. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js +1 -1
  8. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.flow +1 -0
  9. package/lib/commonjs/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  10. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
  11. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.flow +1 -0
  12. package/lib/commonjs/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
  13. package/lib/commonjs/services/api/api-config.js +1 -1
  14. package/lib/commonjs/services/api/api-config.js.flow +2 -2
  15. package/lib/commonjs/services/api/api-config.js.map +1 -1
  16. package/lib/module/screens/loan/UpdateLoan.js +1 -1
  17. package/lib/module/screens/loan/UpdateLoan.js.map +1 -1
  18. package/lib/module/screens/toan-trinh-so/OCR.js +1 -1
  19. package/lib/module/screens/toan-trinh-so/OCR.js.map +1 -1
  20. package/lib/module/screens/toan-trinh-so/ReviewLoan.js +1 -1
  21. package/lib/module/screens/toan-trinh-so/ReviewLoan.js.map +1 -1
  22. package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js +1 -1
  23. package/lib/module/screens/toan-trinh-so/TopupLoanInfo.js.map +1 -1
  24. package/lib/module/services/api/api-config.js +1 -1
  25. package/lib/module/services/api/api-config.js.map +1 -1
  26. package/lib/typescript/screens/loan/UpdateLoan.d.ts.map +1 -1
  27. package/lib/typescript/screens/toan-trinh-so/ReviewLoan.d.ts.map +1 -1
  28. package/lib/typescript/screens/toan-trinh-so/TopupLoanInfo.d.ts.map +1 -1
  29. package/package.json +1 -1
  30. package/src/screens/loan/UpdateLoan.tsx +1 -0
  31. package/src/screens/toan-trinh-so/OCR.tsx +2 -2
  32. package/src/screens/toan-trinh-so/ReviewLoan.tsx +1 -0
  33. package/src/screens/toan-trinh-so/TopupLoanInfo.tsx +1 -0
  34. package/src/services/api/api-config.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_reactNative","_MText","_storage","_reactNativePermissions","_reactNativeCamera","_reactNativeModal","_interopRequireDefault","_reactNativeLinearGradient","_icons","_MButton","_CommonStyles","_native","_textRecognition","_navigation","_api","_Loading","_reactNativeDeviceInfo","_svgs","_reactNativeImageCropPicker","_reactNativeImagePicker","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","NFCReader","NativeModules","OCR","exports","observer","props","_props$route24","_props$route24$params","_this","isFocused","useIsFocused","_useState","useState","_useState2","_slicedToArray2","isLoading","setIsLoading","navigation","useNavigation","_useState3","_useState4","showModal","setShowModal","_useState5","_useState6","type","setType","_useState7","_useState8","taking","setTaking","_useState9","_useState10","passPermission","setPassPermission","_useState11","_useState12","shouldRenderCamera","setShouldRenderCamera","myCamera","useRef","requestPermissions","request","Platform","OS","PERMISSIONS","IOS","CAMERA","ANDROID","then","result","RESULTS","UNAVAILABLE","console","log","Alert","alert","text","DENIED","onPress","openSettings","LIMITED","GRANTED","BLOCKED","useEffect","timeout","setTimeout","clearTimeout","loadIntro","_callee","intro","_regenerator","async","_callee$","_context","prev","next","awrap","load","OCR_V1","sent","stop","Promise","unsubscribe","addListener","_myCamera$current","current","pausePreview","saveDataNfc","_callee2","body","_props$route","_props$route$params","_props$route$params$l","response","_response$data","_response$data$meta","_response$data2","_response$data2$meta","_callee2$","_context2","Api","getInstance","saveNfcInfo","_extends2","loanBriefId","route","params","loan","id","kind","data","meta","errorCode","_props$route2","_props$route2$params","push","ScreenNames","TTSSelfie","errorMessage","t0","convertToDate","input","end","yearPrefix","substring","year","parseInt","month","day","extractMRZInfo","documentNumber","birthDate","expirationDate","regex1","match1","match","regex","replace","readNFCCard","error","convertData","JSON","parse","handleTextRecognition","_callee3","imagePath","_callee3$","_context3","TextRecognition","recognize","scanNfc","_callee4","options","_callee4$","_context4","quality","base64","takePictureAsync","uri","takePhoto","_callee5","_props$route3","_props$route3$params","_props$route4","_props$route4$params","_props$route6","_props$route6$params","_props$route7","_props$route7$params","_props$route5","_props$route5$params","_props$route8","_props$route8$params","_props$route9","_props$route9$params","_callee5$","_context5","pauseAfterCapture","fixOrientation","forceUpOrientation","orientation","RNCamera","Constants","Orientation","portrait","pictureSize","front","callback","TTSNationalIDFront","TTSNationalIDBack","goBack","pickImageFromGallery","_callee6","_props$route10","_props$route10$params","_props$route11","_props$route11$params","_props$route13","_props$route13$params","_props$route14","_props$route14$params","_result$assets$","_props$route12","_props$route12$params","_result$assets$2","_props$route15","_props$route15$params","_props$route16","_props$route16$params","_result$assets$3","_callee6$","_context6","launchImageLibrary","mediaType","assets","ImagePicker","openPicker","image","_props$route17","_props$route17$params","_props$route18","_props$route18$params","_props$route20","_props$route20$params","_props$route21","_props$route21$params","_props$route19","_props$route19$params","path","_props$route22","_props$route22$params","_props$route23","_props$route23$params","createElement","View","style","flex","backgroundColor","pointerEvents","__self","__source","fileName","lineNumber","columnNumber","alignItems","position","top","DeviceInfo","hasNotch","left","right","zIndex","TouchableOpacity","width","height","justifyContent","IconBackWhite","flexDirection","padding","borderRadius","colors","paddingHorizontal","Cam2Svg","MText","color","fontSize","fontWeight","marginLeft","textAlign","marginTop","commonStyles","alignCenter","fill","justifyCenter","Dimensions","ref","defaultVideoQuality","VideoQuality","overflow","maxZoom","_ref","camera","status","recordAudioPermissionStatus","ActivityIndicator","gap","IconUpload","styles","buttonContainer","TakePhotoSvg","Fragment","Type","back","captureAudio","overlay","overlayTop","overlayCenter","overlayLeft","overlayRect","overlayRight","overlayBottom","isVisible","$modal","backdropTransitionInTiming","nimationOutTiming","animationInTiming","animationIn","animationOut","useNativeDriverForBackdrop","useNativeDriver","$container","$paddingV","CloseIcon","$title","$description","Image","source","$step","$bg","resizeMode","marginVertical","$title2","$row","TimaSmall","$txt","margin","save","borderWidth","borderColor","borderTopRightRadius","borderTopLeftRadius","marginBottom","paddingTop","$flex","StyleSheet","create","container","bottom","captureButton","innerCaptureButton","instructionText","mrzContainer","mrzText"],"sourceRoot":"../../../../src","sources":["screens/toan-trinh-so/OCR.tsx"],"mappings":"0ZACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,cAAA,CAAAD,OAAA,oBACA,IAAAE,YAAA,CAAAF,OAAA,iBAeA,IAAAG,MAAA,CAAAH,OAAA,2BACA,IAAAI,QAAA,CAAAJ,OAAA,wBACA,IAAAK,uBAAA,CAAAL,OAAA,6BAMA,IAAAM,kBAAA,CAAAN,OAAA,wBACA,IAAAO,iBAAA,CAAAC,sBAAA,CAAAR,OAAA,wBACA,IAAAS,0BAAA,CAAAD,sBAAA,CAAAR,OAAA,kCACA,IAAAU,MAAA,CAAAV,OAAA,uBAQA,IAAAW,QAAA,CAAAH,sBAAA,CAAAR,OAAA,8BACA,IAAAY,aAAA,CAAAZ,OAAA,oBACA,IAAAa,OAAA,CAAAb,OAAA,6BAKA,IAAAc,gBAAA,CAAAN,sBAAA,CAAAR,OAAA,2CACA,IAAAe,WAAA,CAAAf,OAAA,qBACA,IAAAgB,IAAA,CAAAhB,OAAA,uBACA,IAAAiB,QAAA,CAAAT,sBAAA,CAAAR,OAAA,8BACA,IAAAkB,sBAAA,CAAAV,sBAAA,CAAAR,OAAA,8BACA,IAAAmB,KAAA,CAAAnB,OAAA,sB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,CAAE,CAAC,CACPC,eAAe,CAAE,OAAO,CACxBgB,KAAK,CAAE,MACT,CAAC,CACDwF,YAAY,CAAE,CACZnF,OAAO,CAAE,EACX,CAAC,CACDoF,OAAO,CAAE,CACP7E,QAAQ,CAAE,EACZ,CACF,CAAC,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_mobxReactLite","_reactNative","_MText","_storage","_reactNativePermissions","_reactNativeCamera","_reactNativeModal","_interopRequireDefault","_reactNativeLinearGradient","_icons","_MButton","_CommonStyles","_native","_textRecognition","_navigation","_api","_Loading","_reactNativeDeviceInfo","_svgs","_reactNativeImageCropPicker","_reactNativeImagePicker","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","NFCReader","NativeModules","OCR","exports","observer","props","_props$route24","_props$route24$params","_this","isFocused","useIsFocused","_useState","useState","_useState2","_slicedToArray2","isLoading","setIsLoading","navigation","useNavigation","_useState3","_useState4","showModal","setShowModal","_useState5","_useState6","type","setType","_useState7","_useState8","taking","setTaking","_useState9","_useState10","passPermission","setPassPermission","_useState11","_useState12","shouldRenderCamera","setShouldRenderCamera","myCamera","useRef","requestPermissions","request","Platform","OS","PERMISSIONS","IOS","CAMERA","ANDROID","then","result","RESULTS","UNAVAILABLE","console","log","Alert","alert","text","DENIED","onPress","openSettings","LIMITED","GRANTED","BLOCKED","useEffect","timeout","setTimeout","clearTimeout","loadIntro","_callee","intro","_regenerator","async","_callee$","_context","prev","next","awrap","load","OCR_V1","sent","stop","Promise","unsubscribe","addListener","_myCamera$current","current","pausePreview","saveDataNfc","_callee2","body","_props$route","_props$route$params","_props$route$params$l","response","_response$data","_response$data$meta","_response$data2","_response$data2$meta","_callee2$","_context2","Api","getInstance","saveNfcInfo","_extends2","loanBriefId","route","params","loan","id","kind","data","meta","errorCode","_props$route2","_props$route2$params","push","ScreenNames","TTSSelfie","errorMessage","t0","convertToDate","input","end","yearPrefix","substring","year","parseInt","month","day","extractMRZInfo","documentNumber","birthDate","expirationDate","regex1","match1","match","regex","replace","readNFCCard","error","convertData","JSON","parse","handleTextRecognition","_callee3","imagePath","_callee3$","_context3","TextRecognition","recognize","scanNfc","_callee4","options","_callee4$","_context4","quality","base64","takePictureAsync","uri","takePhoto","_callee5","_props$route3","_props$route3$params","_props$route4","_props$route4$params","_props$route6","_props$route6$params","_props$route7","_props$route7$params","_props$route5","_props$route5$params","_props$route8","_props$route8$params","_props$route9","_props$route9$params","_callee5$","_context5","pauseAfterCapture","fixOrientation","forceUpOrientation","orientation","RNCamera","Constants","Orientation","portrait","pictureSize","front","callback","TTSNationalIDFront","TTSNationalIDBack","goBack","pickImageFromGallery","_callee6","_props$route10","_props$route10$params","_props$route11","_props$route11$params","_props$route13","_props$route13$params","_props$route14","_props$route14$params","_result$assets$","_props$route12","_props$route12$params","_result$assets$2","_props$route15","_props$route15$params","_props$route16","_props$route16$params","_result$assets$3","_callee6$","_context6","launchImageLibrary","mediaType","assets","ImagePicker","openPicker","image","_props$route17","_props$route17$params","_props$route18","_props$route18$params","_props$route20","_props$route20$params","_props$route21","_props$route21$params","_props$route19","_props$route19$params","path","_props$route22","_props$route22$params","_props$route23","_props$route23$params","createElement","View","style","flex","backgroundColor","pointerEvents","__self","__source","fileName","lineNumber","columnNumber","alignItems","position","top","DeviceInfo","hasNotch","left","right","zIndex","TouchableOpacity","width","height","justifyContent","IconBackWhite","flexDirection","padding","borderRadius","MText","color","fontSize","textAlign","marginTop","commonStyles","alignCenter","fill","justifyCenter","Dimensions","ref","defaultVideoQuality","VideoQuality","overflow","maxZoom","_ref","camera","status","recordAudioPermissionStatus","ActivityIndicator","gap","IconUpload","styles","buttonContainer","TakePhotoSvg","Fragment","Type","back","captureAudio","overlay","overlayTop","overlayCenter","overlayLeft","overlayRect","overlayRight","overlayBottom","isVisible","$modal","backdropTransitionInTiming","nimationOutTiming","animationInTiming","animationIn","animationOut","useNativeDriverForBackdrop","useNativeDriver","colors","$container","$paddingV","CloseIcon","$title","$description","Image","source","$step","$bg","resizeMode","marginVertical","paddingHorizontal","$title2","$row","TimaSmall","$txt","margin","save","borderWidth","borderColor","marginLeft","borderTopRightRadius","borderTopLeftRadius","marginBottom","paddingTop","fontWeight","$flex","StyleSheet","create","container","bottom","captureButton","innerCaptureButton","instructionText","mrzContainer","mrzText"],"sourceRoot":"../../../../src","sources":["screens/toan-trinh-so/OCR.tsx"],"mappings":"0ZACA,IAAAA,MAAA,CAAAC,uBAAA,CAAAC,OAAA,WACA,IAAAC,cAAA,CAAAD,OAAA,oBACA,IAAAE,YAAA,CAAAF,OAAA,iBAeA,IAAAG,MAAA,CAAAH,OAAA,2BACA,IAAAI,QAAA,CAAAJ,OAAA,wBACA,IAAAK,uBAAA,CAAAL,OAAA,6BAMA,IAAAM,kBAAA,CAAAN,OAAA,wBACA,IAAAO,iBAAA,CAAAC,sBAAA,CAAAR,OAAA,wBACA,IAAAS,0BAAA,CAAAD,sBAAA,CAAAR,OAAA,kCACA,IAAAU,MAAA,CAAAV,OAAA,uBAQA,IAAAW,QAAA,CAAAH,sBAAA,CAAAR,OAAA,8BACA,IAAAY,aAAA,CAAAZ,OAAA,oBACA,IAAAa,OAAA,CAAAb,OAAA,6BAKA,IAAAc,gBAAA,CAAAN,sBAAA,CAAAR,OAAA,2CACA,IAAAe,WAAA,CAAAf,OAAA,qBACA,IAAAgB,IAAA,CAAAhB,OAAA,uBACA,IAAAiB,QAAA,CAAAT,sBAAA,CAAAR,OAAA,8BACA,IAAAkB,sBAAA,CAAAV,sBAAA,CAAAR,OAAA,8BACA,IAAAmB,KAAA,CAAAnB,OAAA,sBACA,IAAAoB,2BAAA,CAAAZ,sBAAA,CAAAR,OAAA,oCACA,IAAAqB,uBAAA,CAAArB,OAAA,8BAA+D,IAAAsB,YAAA,0FAAAC,yBAAAC,CAAA,wBAAAC,OAAA,iBAAAC,CAAA,KAAAD,OAAA,GAAAE,CAA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CACP/E,QAAQ,CAAE,EACZ,CACF,CAAC,CAAC"}
@@ -1,2 +1,2 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ReviewLoan;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _CommonStyles=require("../CommonStyles");var _native=require("@react-navigation/native");var _StepIndicator=_interopRequireDefault(require("../../components/StepIndicator"));var _svgs=require("../../assets/svgs");var _MText=require("../../components/MText");var _formik=require("formik");var _icons=require("../../assets/icons");var _theme=require("../../theme");var _utils=require("../../utils");var _AppStore=_interopRequireDefault(require("../../AppStore"));var _navigation=require("../../navigation");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _MButton=_interopRequireDefault(require("../../components/MButton"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _api=require("../../services/api");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _lodash=require("lodash");var _moment=_interopRequireDefault(require("moment"));var _store=_interopRequireDefault(require("./store"));var yup=_interopRequireWildcard(require("yup"));var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/screens/toan-trinh-so/ReviewLoan.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&&Object.prototype.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;}function ReviewLoan(props){var _this=this;var navigation=(0,_native.useNavigation)();var formRef=(0,_react.useRef)(null);var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isLoading=_useState2[0],setIsLoading=_useState2[1];var onSubmit=function _callee(values){var _props$route,_props$route$params,_props$route$params$l,_values$timeInsurence,_values$timeInsurence2,_values$timeInsurance,_values$timeInsurance2,body,response,_response$data,_response$data$meta,_props$route2,_props$route2$params,_response$data2,_response$data2$meta;return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;setIsLoading(true);body={loanBriefId:(_props$route=props.route)==null?void 0:(_props$route$params=_props$route.params)==null?void 0:(_props$route$params$l=_props$route$params.loan)==null?void 0:_props$route$params$l.id,loanAmount:Number(values.loanAmount),rateTypeId:values.rateTypeId,loanTime:values.loanTime,firstPaymentDate:(0,_moment.default)(values.firstPaymentDate,'DD/MM/YYYY').format('YYYY-MM-DD'),buyInsurenceCustomer:values==null?void 0:values.buyInsurenceCustomer,buyInsuranceProperty:values==null?void 0:values.buyInsuranceProperty,timeInsurenceCustomer:(_values$timeInsurence=values==null?void 0:(_values$timeInsurence2=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence2.id)!=null?_values$timeInsurence:0,timeInsuranceProperty:(_values$timeInsurance=values==null?void 0:(_values$timeInsurance2=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance2.id)!=null?_values$timeInsurance:0,moneyInsurenceCustomer:values.moneyInsurenceCustomer,moneyInsuranceProperty:values.moneyInsuranceProperty,bankId:values.bankId,bankAccountName:values==null?void 0:values.bankAccountName,bankAccountNumber:values==null?void 0:values.bankAccountNumber,brand:values==null?void 0:values.brand,yearCar:Number(values.yearCar),vehicles:values==null?void 0:values.vehicles,plateNumber:values==null?void 0:values.plateNumber,chassis:values==null?void 0:values.chassis,engine:values==null?void 0:values.engine,ownerFullName:values==null?void 0:values.ownerFullName,motobikeCertificateNumber:values==null?void 0:values.motobikeCertificateNumber,motobikeCertificateDate:values==null?void 0:values.motobikeCertificateDate,typeLoanBrief:values==null?void 0:values.typeLoanBrief,carTypeId:values==null?void 0:values.carTypeId};_context.next=5;return _regenerator.default.awrap(_api.Api.getInstance().updateInfoLoan(body));case 5:response=_context.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data=response.data)==null?void 0:(_response$data$meta=_response$data.meta)==null?void 0:_response$data$meta.errorCode)===200){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:(_props$route2=props.route)==null?void 0:(_props$route2$params=_props$route2.params)==null?void 0:_props$route2$params.loan});}else{_reactNative.Alert.alert('Thông báo',(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');}_context.next=14;break;case 10:_context.prev=10;_context.t0=_context["catch"](0);setIsLoading(false);console.log(_context.t0);case 14:case"end":return _context.stop();}},null,null,[[0,10]],Promise);};var getData=function _callee2(){var _props$route3,_props$route3$params,_props$route3$params$,response,_response$data3,_response$data$data$b,_response$data4,_response$data4$data,_response$data$data$b2,_response$data5,_response$data5$data,_response$data$data$b3,_response$data6,_response$data6$data,_response$data$data$b4,_response$data7,_response$data7$data,_response$data$data$l,_response$data8,_response$data8$data,_formatDDMMYYY,_response$data9,_response$data9$data,_response$data$data$r,_response$data10,_response$data10$data,_response$data11,_response$data11$data,_response$data$data$l2,_response$data13,_response$data13$data,_response$data$data$m,_response$data14,_response$data14$data,_response$data$data$m2,_response$data15,_response$data15$data,_response$data16,_response$data16$data,_response$data17,_response$data17$data,_response$data18,_response$data18$data,_response$data19,_response$data19$data,_formRef$current,_formRef$current2,_formRef$current3,_response$data$data$b5,_response$data$data3,_formRef$current4,_response$data$data$y,_response$data$data4,_formRef$current5,_response$data$data$v,_response$data$data5,_formRef$current6,_response$data$data$p,_response$data$data6,_formRef$current7,_response$data$data$c,_response$data$data7,_formRef$current8,_response$data$data$e,_response$data$data8,_formRef$current9,_response$data$data$o,_response$data$data9,_formRef$current10,_response$data$data$m3,_response$data$data10,_formRef$current11,_response$data$data$m4,_response$data$data11,_response$data20,_response$data20$data,_response$data22,_response$data22$data,_response$data23,_response$data23$data,_formRef$current12,_response$data$data$t,_response$data$data12,_formRef$current13,_response$data$data$c2,_response$data$data13,_response$data12,_response$data12$data,_props$route$params$l2,_props$route4,_props$route4$params,_props$route4$params$,timeInsurenceCustomer,timeInsuranceProperty,_response$data21,_response$data21$data,_response$data24,_response$data24$data,_response$data25,_response$data25$data;return _regenerator.default.async(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;setIsLoading(true);_context2.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInfoLoan((_props$route3=props.route)==null?void 0:(_props$route3$params=_props$route3.params)==null?void 0:(_props$route3$params$=_props$route3$params.loan)==null?void 0:_props$route3$params$.id));case 4:response=_context2.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data3=response.data)==null?void 0:_response$data3.meta.errorCode)===200){formRef.current.setFieldValue('bankAccountName',(_response$data$data$b=response==null?void 0:(_response$data4=response.data)==null?void 0:(_response$data4$data=_response$data4.data)==null?void 0:_response$data4$data.bankAccountName)!=null?_response$data$data$b:'');formRef.current.setFieldValue('bankAccountNumber',(_response$data$data$b2=response==null?void 0:(_response$data5=response.data)==null?void 0:(_response$data5$data=_response$data5.data)==null?void 0:_response$data5$data.bankAccountNumber)!=null?_response$data$data$b2:'');formRef.current.setFieldValue('bankId',(_response$data$data$b3=response==null?void 0:(_response$data6=response.data)==null?void 0:(_response$data6$data=_response$data6.data)==null?void 0:_response$data6$data.bankId)!=null?_response$data$data$b3:null);formRef.current.setFieldValue('bankName',(_response$data$data$b4=response==null?void 0:(_response$data7=response.data)==null?void 0:(_response$data7$data=_response$data7.data)==null?void 0:_response$data7$data.bankName)!=null?_response$data$data$b4:'');formRef.current.setFieldValue('loanAmount',(_response$data$data$l=response==null?void 0:(_response$data8=response.data)==null?void 0:(_response$data8$data=_response$data8.data)==null?void 0:_response$data8$data.loanAmount)!=null?_response$data$data$l:0);formRef.current.setFieldValue('firstPaymentDate',(_formatDDMMYYY=(0,_utils.formatDDMMYYY)(response==null?void 0:(_response$data9=response.data)==null?void 0:(_response$data9$data=_response$data9.data)==null?void 0:_response$data9$data.firstPaymentDate))!=null?_formatDDMMYYY:'');formRef.current.setFieldValue('rateTypeId',(_response$data$data$r=response==null?void 0:(_response$data10=response.data)==null?void 0:(_response$data10$data=_response$data10.data)==null?void 0:_response$data10$data.rateTypeId)!=null?_response$data$data$r:null);if(response!=null&&(_response$data11=response.data)!=null&&(_response$data11$data=_response$data11.data)!=null&&_response$data11$data.rateTypeId){_AppStore.default.getLoanTimeByType(response==null?void 0:(_response$data12=response.data)==null?void 0:(_response$data12$data=_response$data12.data)==null?void 0:_response$data12$data.rateTypeId,(_props$route$params$l2=(_props$route4=props.route)==null?void 0:(_props$route4$params=_props$route4.params)==null?void 0:(_props$route4$params$=_props$route4$params.loan)==null?void 0:_props$route4$params$.typeLoan)!=null?_props$route$params$l2:0);}formRef.current.setFieldValue('loanTime',(_response$data$data$l2=response==null?void 0:(_response$data13=response.data)==null?void 0:(_response$data13$data=_response$data13.data)==null?void 0:_response$data13$data.loanTime)!=null?_response$data$data$l2:null);formRef.current.setFieldValue('moneyInsuranceProperty',(_response$data$data$m=response==null?void 0:(_response$data14=response.data)==null?void 0:(_response$data14$data=_response$data14.data)==null?void 0:_response$data14$data.moneyInsuranceProperty)!=null?_response$data$data$m:null);formRef.current.setFieldValue('moneyInsurenceCustomer',(_response$data$data$m2=response==null?void 0:(_response$data15=response.data)==null?void 0:(_response$data15$data=_response$data15.data)==null?void 0:_response$data15$data.moneyInsurenceCustomer)!=null?_response$data$data$m2:null);formRef.current.setFieldValue('buyInsuranceProperty',response!=null&&(_response$data16=response.data)!=null&&(_response$data16$data=_response$data16.data)!=null&&_response$data16$data.buyInsuranceProperty?response==null?void 0:(_response$data17=response.data)==null?void 0:(_response$data17$data=_response$data17.data)==null?void 0:_response$data17$data.buyInsuranceProperty:false);formRef.current.setFieldValue('buyInsurenceCustomer',response!=null&&(_response$data18=response.data)!=null&&(_response$data18$data=_response$data18.data)!=null&&_response$data18$data.buyInsurenceCustomer?response==null?void 0:(_response$data19=response.data)==null?void 0:(_response$data19$data=_response$data19.data)==null?void 0:_response$data19$data.buyInsurenceCustomer:false);timeInsurenceCustomer=_AppStore.default.listInsurenceTimeAll.find(function(x){var _response$data$data;return x.id===((_response$data$data=response.data.data)==null?void 0:_response$data$data.timeInsurenceCustomer);});(_formRef$current=formRef.current)==null?void 0:_formRef$current.setFieldValue('timeInsurenceCustomer',timeInsurenceCustomer);timeInsuranceProperty=_AppStore.default.listInsurenceTimeAll.find(function(x){var _response$data$data2;return x.id===((_response$data$data2=response.data.data)==null?void 0:_response$data$data2.timeInsuranceProperty);});(_formRef$current2=formRef.current)==null?void 0:_formRef$current2.setFieldValue('timeInsuranceProperty',timeInsuranceProperty);(_formRef$current3=formRef.current)==null?void 0:_formRef$current3.setFieldValue('brand',(_response$data$data$b5=(_response$data$data3=response.data.data)==null?void 0:_response$data$data3.brand)!=null?_response$data$data$b5:null);(_formRef$current4=formRef.current)==null?void 0:_formRef$current4.setFieldValue('yearCar',(_response$data$data$y=(_response$data$data4=response.data.data)==null?void 0:_response$data$data4.yearCar)!=null?_response$data$data$y:null);(_formRef$current5=formRef.current)==null?void 0:_formRef$current5.setFieldValue('vehicles',(_response$data$data$v=(_response$data$data5=response.data.data)==null?void 0:_response$data$data5.vehicles)!=null?_response$data$data$v:null);(_formRef$current6=formRef.current)==null?void 0:_formRef$current6.setFieldValue('plateNumber',(_response$data$data$p=(_response$data$data6=response.data.data)==null?void 0:_response$data$data6.plateNumber)!=null?_response$data$data$p:'');(_formRef$current7=formRef.current)==null?void 0:_formRef$current7.setFieldValue('chassis',(_response$data$data$c=(_response$data$data7=response.data.data)==null?void 0:_response$data$data7.chassis)!=null?_response$data$data$c:'');(_formRef$current8=formRef.current)==null?void 0:_formRef$current8.setFieldValue('engine',(_response$data$data$e=(_response$data$data8=response.data.data)==null?void 0:_response$data$data8.engine)!=null?_response$data$data$e:'');(_formRef$current9=formRef.current)==null?void 0:_formRef$current9.setFieldValue('ownerFullName',(_response$data$data$o=(_response$data$data9=response.data.data)==null?void 0:_response$data$data9.ownerFullName)!=null?_response$data$data$o:'');(_formRef$current10=formRef.current)==null?void 0:_formRef$current10.setFieldValue('motobikeCertificateNumber',(_response$data$data$m3=(_response$data$data10=response.data.data)==null?void 0:_response$data$data10.motobikeCertificateNumber)!=null?_response$data$data$m3:'');(_formRef$current11=formRef.current)==null?void 0:_formRef$current11.setFieldValue('motobikeCertificateDate',(_response$data$data$m4=(_response$data$data11=response.data.data)==null?void 0:_response$data$data11.motobikeCertificateDate)!=null?_response$data$data$m4:'');if((_response$data20=response.data)!=null&&(_response$data20$data=_response$data20.data)!=null&&_response$data20$data.brand){_store.default.getListYearCar((_response$data21=response.data)==null?void 0:(_response$data21$data=_response$data21.data)==null?void 0:_response$data21$data.brand);}if((_response$data22=response.data)!=null&&(_response$data22$data=_response$data22.data)!=null&&_response$data22$data.brand&&(_response$data23=response.data)!=null&&(_response$data23$data=_response$data23.data)!=null&&_response$data23$data.yearCar){_store.default.getListCar((_response$data24=response.data)==null?void 0:(_response$data24$data=_response$data24.data)==null?void 0:_response$data24$data.brand,(_response$data25=response.data)==null?void 0:(_response$data25$data=_response$data25.data)==null?void 0:_response$data25$data.yearCar);}(_formRef$current12=formRef.current)==null?void 0:_formRef$current12.setFieldValue('typeLoanBrief',(_response$data$data$t=(_response$data$data12=response.data.data)==null?void 0:_response$data$data12.typeLoanBrief)!=null?_response$data$data$t:null);(_formRef$current13=formRef.current)==null?void 0:_formRef$current13.setFieldValue('carTypeId',(_response$data$data$c2=(_response$data$data13=response.data.data)==null?void 0:_response$data$data13.carTypeId)!=null?_response$data$data$c2:null);}else{}}_context2.next=13;break;case 9:_context2.prev=9;_context2.t0=_context2["catch"](0);setIsLoading(false);console.log(_context2.t0);case 13:case"end":return _context2.stop();}},null,null,[[0,9]],Promise);};(0,_react.useEffect)(function(){var _props$route5,_props$route5$params,_props$route5$params$;getData();_store.default.getListBrand();_store.default.getFirstPayment((_props$route5=props.route)==null?void 0:(_props$route5$params=_props$route5.params)==null?void 0:(_props$route5$params$=_props$route5$params.loan)==null?void 0:_props$route5$params$.id);},[]);var getInfoInsurence=function _callee3(loanAmount,loanTime,rateTypeId,timeInsurenceCustomer,timeInsuranceProperty){var _props$route$params2,_props$route$params2$,response,_response$data26,_response$data26$meta,_formRef$current14,_response$data$data14,_formRef$current15,_response$data$data15,_formRef$current16,_response$data$data16,_response$data27,_response$data27$meta;return _regenerator.default.async(function _callee3$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.prev=0;setIsLoading(true);_context3.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInfoInsurence2((_props$route$params2=props.route.params)==null?void 0:(_props$route$params2$=_props$route$params2.loan)==null?void 0:_props$route$params2$.id,loanAmount,loanTime,rateTypeId,timeInsurenceCustomer,timeInsuranceProperty));case 4:response=_context3.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data26=response.data)==null?void 0:(_response$data26$meta=_response$data26.meta)==null?void 0:_response$data26$meta.errorCode)===200){(_formRef$current14=formRef.current)==null?void 0:_formRef$current14.setFieldValue('moneyInsurenceCustomer',(_response$data$data14=response.data.data)==null?void 0:_response$data$data14.moneyInsurenceCustomer);(_formRef$current15=formRef.current)==null?void 0:_formRef$current15.setFieldValue('moneyInsuranceProperty',(_response$data$data15=response.data.data)==null?void 0:_response$data$data15.moneyInsuranceProperty);(_formRef$current16=formRef.current)==null?void 0:_formRef$current16.setFieldValue('moneyInsurranceHospitalization',(_response$data$data16=response.data.data)==null?void 0:_response$data$data16.moneyInsurranceHospitalization);}else{_reactNative.Alert.alert('Thông báo',(_response$data27=response.data)==null?void 0:(_response$data27$meta=_response$data27.meta)==null?void 0:_response$data27$meta.errorMessage);}}else{}_context3.next=12;break;case 9:_context3.prev=9;_context3.t0=_context3["catch"](0);setIsLoading(false);case 12:case"end":return _context3.stop();}},null,null,[[0,9]],Promise);};var debounceCall=(0,_react.useCallback)((0,_lodash.debounce)(function(textParam){var _formRef$current$valu,_formRef$current$valu2,_formRef$current$valu3,_formRef$current$valu4,_formRef$current$valu5;getInfoInsurence(Number(textParam.replace(/\D/g,'')),formRef.current.values.loanTime,(_formRef$current$valu=formRef.current.values)==null?void 0:_formRef$current$valu.rateTypeId,(_formRef$current$valu2=(_formRef$current$valu3=formRef.current.values.timeInsurenceCustomer)==null?void 0:_formRef$current$valu3.id)!=null?_formRef$current$valu2:0,(_formRef$current$valu4=(_formRef$current$valu5=formRef.current.values.timeInsuranceProperty)==null?void 0:_formRef$current$valu5.id)!=null?_formRef$current$valu4:0);},2000),[]);return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:307,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay nhanh 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:309,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$h,__self:this,__source:{fileName:_jsxFileName,lineNumber:310,columnNumber:9}}),_react.default.createElement(_reactNative.View,{style:$bg,__self:this,__source:{fileName:_jsxFileName,lineNumber:311,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{paddingVertical:10,flexDirection:'row',alignItems:'center',paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:312,columnNumber:11}},_react.default.createElement(_reactNative.TouchableOpacity,{style:{zIndex:1000},onPress:function onPress(){navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:320,columnNumber:13}},_react.default.createElement(_svgs.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:328,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:$title,__self:this,__source:{fileName:_jsxFileName,lineNumber:330,columnNumber:13}},"Th\xF4ng tin chi ti\u1EBFt")),_react.default.createElement(_StepIndicator.default,{steps:3,currentStep:1,__self:this,__source:{fileName:_jsxFileName,lineNumber:332,columnNumber:11}}),_react.default.createElement(_formik.Formik,{validateOnBlur:false,validateOnChange:false,innerRef:formRef,onSubmit:onSubmit,initialValues:{loanAmount:'',rateTypeId:null,loanTime:null,firstPaymentDate:'',buyInsurenceCustomer:false,buyInsuranceProperty:false,timeInsurenceCustomer:null,timeInsuranceProperty:null,moneyInsurenceCustomer:null,moneyInsuranceProperty:null,bankId:null,bankName:'',bankAccountName:'',bankAccountNumber:'',brand:'',yearCar:null,vehicles:'',plateNumber:'',chassis:'',engine:'',ownerFullName:'',motobikeCertificateNumber:'',motobikeCertificateDate:'',typeLoanBrief:null,carTypeId:null},validationSchema:yup.object().shape({loanAmount:yup.string().required('Số tiền là bắt buộc'),rateTypeId:yup.number().required('HTTT là bắt buộc').nullable(),loanTime:yup.number().required('Thời gian vay là bắt buộc').nullable(),firstPaymentDate:yup.string().required('Ngày thanh toán đầu kỳ là bắt buộc'),bankName:yup.string().required('Vui lòng chọn ngân hàng'),bankAccountName:yup.string().required('Vui lòng nhập chủ thẻ'),bankAccountNumber:yup.string().required('Vui lòng nhập số tài khoản'),brand:yup.string().required('Vui lòng chọn hãng xe'),yearCar:yup.string().required('Vui lòng chọn năm sản xuất').nullable(),vehicles:yup.string().required('Vui lòng chọn xe').nullable(),plateNumber:yup.string().required('Vui lòng nhập biển số'),chassis:yup.string().required('Vui lòng nhập số khung'),engine:yup.string().required('Vui lòng nhập số máy'),ownerFullName:yup.string().required('Vui lòng nhập chủ xe'),motobikeCertificateNumber:yup.string().required('Vui lòng nhập số đăng ký xe'),motobikeCertificateDate:yup.string().required('Vui lòng nhập ngày đăng ký'),typeLoanBrief:yup.number().required('Vui lòng chọn loại tài sản').nullable(),carTypeId:yup.number().required('Vui lòng chọn loại xe').nullable()}),__self:this,__source:{fileName:_jsxFileName,lineNumber:333,columnNumber:11}},function(_ref){var _appStore$listRateTyp,_appStore$listRateTyp2,_values$timeInsurence5,_values$timeInsurence6,_values$timeInsurance7,_values$timeInsurance8,_EnumTypeAsset$find,_EnumTypeCar$find;var values=_ref.values,setFieldValue=_ref.setFieldValue,errors=_ref.errors,handleSubmit=_ref.handleSubmit,handleChange=_ref.handleChange;return _react.default.createElement(_reactNative.ScrollView,{style:[_CommonStyles.commonStyles.fill,{paddingHorizontal:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:413,columnNumber:15}},_react.default.createElement(_MText.MText,{style:$title2,__self:_this,__source:{fileName:_jsxFileName,lineNumber:416,columnNumber:17}},"2.1 Th\xF4ng tin \u0111\u1EC1 ngh\u1ECB kho\u1EA3n vay"),_react.default.createElement(_reactNative.View,{style:$row,__self:_this,__source:{fileName:_jsxFileName,lineNumber:417,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:418,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:419,columnNumber:21}},"S\u1ED1 ti\u1EC1n \u0111\u1EC1 ngh\u1ECB vay"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:(0,_utils.formatMoney)(values.loanAmount),onChangeText:function onChangeText(text){setFieldValue('loanAmount',text.replaceAll(',',''));debounceCall(text);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:420,columnNumber:21}}),errors&&errors.loanAmount&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:437,columnNumber:23}},errors.loanAmount)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:440,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:441,columnNumber:21}},"H\xECnh th\u1EE9c thanh to\xE1n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn hình thức thanh toán',data:_AppStore.default.listRateType,callback:function callback(value){var _props$route$params$l3,_props$route6,_props$route6$params,_props$route6$params$;setFieldValue('rateTypeId',value==null?void 0:value.id);_AppStore.default.getLoanTimeByType(value==null?void 0:value.id,(_props$route$params$l3=props==null?void 0:(_props$route6=props.route)==null?void 0:(_props$route6$params=_props$route6.params)==null?void 0:(_props$route6$params$=_props$route6$params.loan)==null?void 0:_props$route6$params$.typeLoan)!=null?_props$route$params$l3:0);setFieldValue('loanTime',null);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:442,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:459,columnNumber:23}},(_appStore$listRateTyp=_AppStore.default.listRateType)==null?void 0:(_appStore$listRateTyp2=_appStore$listRateTyp.find(function(x){return(x==null?void 0:x.id)===values.rateTypeId;}))==null?void 0:_appStore$listRateTyp2.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:475,columnNumber:23}})),errors&&errors.rateTypeId&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:478,columnNumber:23}},errors.rateTypeId))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:483,columnNumber:17}},"Th\u1EDDi gian vay"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn thời gian vay',data:_AppStore.default.listLoanTimeByType,callback:function callback(value){var _values$timeInsurence3,_values$timeInsurence4,_values$timeInsurance3,_values$timeInsurance4;setFieldValue('loanTime',value==null?void 0:value.id);getInfoInsurence(values.loanAmount,value==null?void 0:value.id,values==null?void 0:values.rateTypeId,(_values$timeInsurence3=(_values$timeInsurence4=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence4.id)!=null?_values$timeInsurence3:0,(_values$timeInsurance3=(_values$timeInsurance4=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance4.id)!=null?_values$timeInsurance3:0);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:484,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:503,columnNumber:19}},values!=null&&values.loanTime?(values==null?void 0:values.loanTime)+" th\xE1ng":''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:515,columnNumber:19}})),errors&&errors.loanTime&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:518,columnNumber:19}},errors.loanTime),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:521,columnNumber:17}},"Ng\xE0y thanh to\xE1n k\u1EF3 \u0111\u1EA7u"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Ngày thanh toán kỳ đầu',data:_store.default.listFirstPayment,callback:function callback(value){setFieldValue('firstPaymentDate',value==null?void 0:value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:524,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:536,columnNumber:19}},values==null?void 0:values.firstPaymentDate),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:548,columnNumber:19}})),errors&&errors.firstPaymentDate&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:551,columnNumber:19}},errors.firstPaymentDate),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFF8F2',borderLeftWidth:1,borderRadius:8,padding:16,borderColor:_theme.color.primary,marginTop:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:554,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:_theme.color.primary,fontWeight:'bold'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:564,columnNumber:19}},"B\u1EA3o hi\u1EC3m"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginTop:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:572,columnNumber:19}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('buyInsurenceCustomer',!values.buyInsurenceCustomer);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:21}},values.buyInsurenceCustomer===true?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:25}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:591,columnNumber:25}})),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:594,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontSize:12,fontWeight:'bold'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:595,columnNumber:23}},"BH s\u1EE9c kho\u1EBB ng\u01B0\u1EDDi vay"),_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:12,marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:604,columnNumber:23}},"S\u1ED1 ti\u1EC1n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:612,columnNumber:25}},(0,_utils.formatMoney)(values.moneyInsurenceCustomer)," \u0111"))),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn thời gian',data:_AppStore.default.listInsurenceTimeAll,callback:function callback(value){var _values$timeInsurance5,_values$timeInsurance6;setFieldValue('timeInsurenceCustomer',value);getInfoInsurence(values.loanAmount,values.loanTime,values==null?void 0:values.rateTypeId,value==null?void 0:value.id,(_values$timeInsurance5=(_values$timeInsurance6=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance6.id)!=null?_values$timeInsurance5:0);}});},style:{backgroundColor:'#FFFFFF',height:40,borderRadius:6,alignItems:'center',justifyContent:'space-between',flexDirection:'row',paddingHorizontal:10,borderWidth:1,borderColor:'#F5F5F5',width:_reactNative.Dimensions.get('window').width/3},__self:_this,__source:{fileName:_jsxFileName,lineNumber:622,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:652,columnNumber:23}},(_values$timeInsurence5=(_values$timeInsurence6=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence6.name)!=null?_values$timeInsurence5:'Chọn thời gian'),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:655,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#EFEFEF',marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:658,columnNumber:19}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginTop:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:665,columnNumber:19}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('buyInsuranceProperty',!values.buyInsuranceProperty);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:673,columnNumber:21}},values.buyInsuranceProperty===true?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:682,columnNumber:25}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:684,columnNumber:25}})),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:687,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontSize:12,fontWeight:'bold'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:688,columnNumber:23}},"BH v\u1EADt ch\u1EA5t"),_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:12,marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:697,columnNumber:23}},"S\u1ED1 ti\u1EC1n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:705,columnNumber:25}},(0,_utils.formatMoney)(values.moneyInsuranceProperty)," \u0111"))),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn thời gian',data:_AppStore.default.listInsurenceTimeAll,callback:function callback(value){var _values$timeInsurence7,_values$timeInsurence8;setFieldValue('timeInsuranceProperty',value);getInfoInsurence(values.loanAmount,values.loanTime,values==null?void 0:values.rateTypeId,(_values$timeInsurence7=values==null?void 0:(_values$timeInsurence8=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence8.id)!=null?_values$timeInsurence7:0,value==null?void 0:value.id);}});},style:{backgroundColor:'#FFFFFF',height:40,borderRadius:6,alignItems:'center',justifyContent:'space-between',flexDirection:'row',paddingHorizontal:10,borderWidth:1,borderColor:'#F5F5F5',width:_reactNative.Dimensions.get('window').width/3},__self:_this,__source:{fileName:_jsxFileName,lineNumber:715,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:745,columnNumber:23}},(_values$timeInsurance7=(_values$timeInsurance8=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance8.name)!=null?_values$timeInsurance7:'Chọn thời gian'),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:748,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#BDBDBD',marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:751,columnNumber:19}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',gap:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:758,columnNumber:19}},_react.default.createElement(_icons.Tick2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:759,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#828282'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:760,columnNumber:21}},"Quy\u1EC1n l\u1EE3i b\u1EA3o hi\u1EC3m s\u1EE9c kho\u1EBB l\xEAn t\u1EDBi 100% t\u1EEB B\u1EA3o Minh",'\n',"(Tai n\u1EA1n, th\u01B0\u01A1ng t\u1EADt,...)")),_react.default.createElement(_reactNative.View,{style:{marginTop:8,flexDirection:'row',gap:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:771,columnNumber:19}},_react.default.createElement(_icons.Tick2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:772,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#828282'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:773,columnNumber:21}},"Quy\u1EC1n l\u1EE3i b\u1EA3o hi\u1EC3m v\u1EADt ch\u1EA5t 100% t\u1EEB B\u1EA3o Minh"))),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:10}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:784,columnNumber:17}},"2.2 Th\xF4ng tin gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:787,columnNumber:17}},"Ng\xE2n h\xE0ng"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn ngân hàng',data:_store.default.listBank,callback:function callback(value){setFieldValue('bankName',value.name);setFieldValue('bankId',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:788,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:801,columnNumber:19}},values.bankName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:813,columnNumber:19}})),errors&&errors.bankName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:816,columnNumber:19}},errors.bankName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:818,columnNumber:17}},"T\xEAn s\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.bankAccountName,onChangeText:handleChange('bankAccountName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:821,columnNumber:17}}),errors&&errors.bankAccountName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:835,columnNumber:19}},errors.bankAccountName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:837,columnNumber:17}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{keyboardType:"number-pad",numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.bankAccountNumber,onChangeText:handleChange('bankAccountNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:838,columnNumber:17}}),errors&&errors.bankAccountNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:853,columnNumber:19}},errors.bankAccountNumber),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:10}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:856,columnNumber:17}},"2.3 Th\xF4ng tin t\xE0i s\u1EA3n"),_react.default.createElement(_reactNative.View,{style:$row,__self:_this,__source:{fileName:_jsxFileName,lineNumber:859,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:860,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:861,columnNumber:21}},"H\xE3ng xe"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Hãng xe',data:_store.default.listBrand,callback:function callback(value){setFieldValue('brand',value.name);setFieldValue('yearCar',null);setFieldValue('vehicles',null);_store.default.getListYearCar(value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:862,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:877,columnNumber:23}},values==null?void 0:values.brand),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:889,columnNumber:23}})),errors&&errors.brand&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:892,columnNumber:23}},errors.brand)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:895,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:896,columnNumber:21}},"N\u0103m s\u1EA3n xu\u1EA5t"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Năm sản xuất',data:_store.default.listYear,callback:function callback(value){setFieldValue('yearCar',value.name);setFieldValue('vehicles',null);_store.default.getListCar(values.brand,value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:897,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:911,columnNumber:23}},values==null?void 0:values.yearCar),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:923,columnNumber:23}})),errors&&errors.yearCar&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:926,columnNumber:23}},errors.yearCar))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:930,columnNumber:17}},"T\xEAn xe/ Phi\xEAn b\u1EA3n xe"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Tên xe/ Phiên bản xe',data:_store.default.listCar,callback:function callback(value){setFieldValue('vehicles',value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:931,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:943,columnNumber:19}},values.vehicles),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:955,columnNumber:19}})),errors&&errors.vehicles&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:958,columnNumber:19}},errors.vehicles),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:961,columnNumber:17}},"S\u1ED1 khung"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.chassis,onChangeText:handleChange('chassis'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:962,columnNumber:17}}),errors&&errors.chassis&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:976,columnNumber:19}},errors.chassis),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:979,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:980,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:981,columnNumber:21}},"Bi\u1EC3n s\u1ED1 xe"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.plateNumber,onChangeText:handleChange('plateNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:982,columnNumber:21}}),errors&&errors.plateNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:996,columnNumber:23}},errors.plateNumber)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:999,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1000,columnNumber:21}},"S\u1ED1 m\xE1y"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.engine,onChangeText:handleChange('engine'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1001,columnNumber:21}}),errors&&errors.engine&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1015,columnNumber:23}},errors.engine))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1020,columnNumber:17}},"H\u1ECD t\xEAn ch\u1EE7 xe"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.ownerFullName,onChangeText:handleChange('ownerFullName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1021,columnNumber:17}}),errors&&errors.ownerFullName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1035,columnNumber:19}},errors.ownerFullName),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1038,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1039,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1040,columnNumber:21}},"S\u1ED1 \u0111\u0103ng k\xFD xe"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.motobikeCertificateNumber,onChangeText:handleChange('motobikeCertificateNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1041,columnNumber:21}}),errors&&errors.motobikeCertificateNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1055,columnNumber:23}},errors.motobikeCertificateNumber)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1060,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1061,columnNumber:21}},"Ng\xE0y \u0111\u0103ng k\xFD"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],placeholder:"DD/MM/YYYY",placeholderTextColor:"#BDBDBD",value:values.motobikeCertificateDate,onChangeText:handleChange('motobikeCertificateDate'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1062,columnNumber:21}}),errors&&errors.motobikeCertificateDate&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1078,columnNumber:23}},errors.motobikeCertificateDate))),_react.default.createElement(_reactNative.View,{style:[$row],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1084,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1085,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1086,columnNumber:21}},"Lo\u1EA1i t\xE0i s\u1EA3n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Loại tài sản',data:_utils.EnumTypeAsset,callback:function callback(value){setFieldValue('typeLoanBrief',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1087,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1099,columnNumber:23}},(_EnumTypeAsset$find=_utils.EnumTypeAsset.find(function(x){return x.id===values.typeLoanBrief;}))==null?void 0:_EnumTypeAsset$find.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1115,columnNumber:23}})),errors&&errors.typeLoanBrief&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1118,columnNumber:23}},errors.typeLoanBrief)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1121,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1122,columnNumber:21}},"Lo\u1EA1i xe"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Loại xe',data:_utils.EnumTypeCar,callback:function callback(value){setFieldValue('carTypeId',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1123,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1135,columnNumber:23}},(_EnumTypeCar$find=_utils.EnumTypeCar.find(function(x){return x.id===values.carTypeId;}))==null?void 0:_EnumTypeCar$find.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1150,columnNumber:23}})),errors&&errors.carTypeId&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1153,columnNumber:23}},errors.carTypeId))),_react.default.createElement(_MButton.default,{onPress:function onPress(){handleSubmit();},style:{marginVertical:24},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1157,columnNumber:17}},_react.default.createElement(_reactNativeLinearGradient.default,{start:{x:1,y:0},end:{x:0,y:1},style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1165,columnNumber:19}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1177,columnNumber:21}},"Ti\u1EBFp t\u1EE5c"))));}),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1190,columnNumber:11}}))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:1193,columnNumber:7}}));}var $select={flexDirection:'row',height:40,alignItems:'center',paddingHorizontal:8,borderWidth:1,borderRadius:4,borderColor:'#E0E0E0'};var $row={flexDirection:'row',marginBottom:16,gap:16};var $textInput={borderWidth:1,borderRadius:4,borderColor:'#E0E0E0',height:40,paddingHorizontal:8,fontFamily:'BeVietnamPro-Medium'};var $label={fontSize:14,color:'#333333',paddingBottom:5};var $title2={fontSize:16,fontWeight:'bold',color:'#333333',paddingBottom:10,marginTop:6};var $title={fontSize:16,fontWeight:'bold',color:'#333333',position:'absolute',left:0,right:0,textAlign:'center'};var $h={backgroundColor:'#EF592E',position:'absolute',height:30,width:'100%'};var $bg={borderTopLeftRadius:30,borderTopRightRadius:30,backgroundColor:'white',flex:1};var $error={color:'#EB5757',fontSize:14,fontStyle:'italic',fontFamily:'BeVietnamPro-Thin',fontWeight:'300',marginTop:5};
1
+ var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=ReviewLoan;var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _MHeader=_interopRequireDefault(require("../../components/MHeader"));var _CommonStyles=require("../CommonStyles");var _native=require("@react-navigation/native");var _StepIndicator=_interopRequireDefault(require("../../components/StepIndicator"));var _svgs=require("../../assets/svgs");var _MText=require("../../components/MText");var _formik=require("formik");var _icons=require("../../assets/icons");var _theme=require("../../theme");var _utils=require("../../utils");var _AppStore=_interopRequireDefault(require("../../AppStore"));var _navigation=require("../../navigation");var _keyboardspace=_interopRequireDefault(require("../../components/keyboardspace"));var _MButton=_interopRequireDefault(require("../../components/MButton"));var _reactNativeLinearGradient=_interopRequireDefault(require("react-native-linear-gradient"));var _api=require("../../services/api");var _Loading=_interopRequireDefault(require("../../components/Loading"));var _lodash=require("lodash");var _moment=_interopRequireDefault(require("moment"));var _store=_interopRequireDefault(require("./store"));var yup=_interopRequireWildcard(require("yup"));var _jsxFileName="/Users/tima/Documents/Tima/tima-care-v2-sdk/src/screens/toan-trinh-so/ReviewLoan.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&&Object.prototype.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;}function ReviewLoan(props){var _this=this;var navigation=(0,_native.useNavigation)();var formRef=(0,_react.useRef)(null);var _useState=(0,_react.useState)(false),_useState2=(0,_slicedToArray2.default)(_useState,2),isLoading=_useState2[0],setIsLoading=_useState2[1];var onSubmit=function _callee(values){var _props$route,_props$route$params,_props$route$params$l,_values$timeInsurence,_values$timeInsurence2,_values$timeInsurance,_values$timeInsurance2,body,response,_response$data,_response$data$meta,_props$route2,_props$route2$params,_response$data2,_response$data2$meta;return _regenerator.default.async(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:_context.prev=0;setIsLoading(true);body={loanBriefId:(_props$route=props.route)==null?void 0:(_props$route$params=_props$route.params)==null?void 0:(_props$route$params$l=_props$route$params.loan)==null?void 0:_props$route$params$l.id,loanAmount:Number(values.loanAmount),rateTypeId:values.rateTypeId,loanTime:values.loanTime,firstPaymentDate:(0,_moment.default)(values.firstPaymentDate,'DD/MM/YYYY').format('YYYY-MM-DD'),buyInsurenceCustomer:values==null?void 0:values.buyInsurenceCustomer,buyInsuranceProperty:values==null?void 0:values.buyInsuranceProperty,timeInsurenceCustomer:(_values$timeInsurence=values==null?void 0:(_values$timeInsurence2=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence2.id)!=null?_values$timeInsurence:0,timeInsuranceProperty:(_values$timeInsurance=values==null?void 0:(_values$timeInsurance2=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance2.id)!=null?_values$timeInsurance:0,moneyInsurenceCustomer:values.moneyInsurenceCustomer,moneyInsuranceProperty:values.moneyInsuranceProperty,bankId:values.bankId,bankAccountName:values==null?void 0:values.bankAccountName,bankAccountNumber:values==null?void 0:values.bankAccountNumber,brand:values==null?void 0:values.brand,yearCar:Number(values.yearCar),vehicles:values==null?void 0:values.vehicles,plateNumber:values==null?void 0:values.plateNumber,chassis:values==null?void 0:values.chassis,engine:values==null?void 0:values.engine,ownerFullName:values==null?void 0:values.ownerFullName,motobikeCertificateNumber:values==null?void 0:values.motobikeCertificateNumber,motobikeCertificateDate:values==null?void 0:values.motobikeCertificateDate,typeLoanBrief:values==null?void 0:values.typeLoanBrief,carTypeId:values==null?void 0:values.carTypeId};_context.next=5;return _regenerator.default.awrap(_api.Api.getInstance().updateInfoLoan(body));case 5:response=_context.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data=response.data)==null?void 0:(_response$data$meta=_response$data.meta)==null?void 0:_response$data$meta.errorCode)===200){navigation.push(_navigation.ScreenNames.ReviewInformationOther,{loan:(_props$route2=props.route)==null?void 0:(_props$route2$params=_props$route2.params)==null?void 0:_props$route2$params.loan});}else{_reactNative.Alert.alert('Thông báo',(_response$data2=response.data)==null?void 0:(_response$data2$meta=_response$data2.meta)==null?void 0:_response$data2$meta.errorMessage);}}else{_reactNative.Alert.alert('Thông báo','Có lỗi xảy ra. Vui lòng thử lại sau');}_context.next=14;break;case 10:_context.prev=10;_context.t0=_context["catch"](0);setIsLoading(false);console.log(_context.t0);case 14:case"end":return _context.stop();}},null,null,[[0,10]],Promise);};var getData=function _callee2(){var _props$route3,_props$route3$params,_props$route3$params$,response,_response$data3,_response$data$data$b,_response$data4,_response$data4$data,_response$data$data$b2,_response$data5,_response$data5$data,_response$data$data$b3,_response$data6,_response$data6$data,_response$data$data$b4,_response$data7,_response$data7$data,_response$data$data$l,_response$data8,_response$data8$data,_formatDDMMYYY,_response$data9,_response$data9$data,_response$data$data$r,_response$data10,_response$data10$data,_response$data11,_response$data11$data,_response$data$data$l2,_response$data13,_response$data13$data,_response$data$data$m,_response$data14,_response$data14$data,_response$data$data$m2,_response$data15,_response$data15$data,_response$data16,_response$data16$data,_response$data17,_response$data17$data,_response$data18,_response$data18$data,_response$data19,_response$data19$data,_formRef$current,_formRef$current2,_formRef$current3,_response$data$data$b5,_response$data$data3,_formRef$current4,_response$data$data$y,_response$data$data4,_formRef$current5,_response$data$data$v,_response$data$data5,_formRef$current6,_response$data$data$p,_response$data$data6,_formRef$current7,_response$data$data$c,_response$data$data7,_formRef$current8,_response$data$data$e,_response$data$data8,_formRef$current9,_response$data$data$o,_response$data$data9,_formRef$current10,_response$data$data$m3,_response$data$data10,_formRef$current11,_response$data$data$m4,_response$data$data11,_response$data20,_response$data20$data,_response$data22,_response$data22$data,_response$data23,_response$data23$data,_formRef$current12,_response$data$data$t,_response$data$data12,_formRef$current13,_response$data$data$c2,_response$data$data13,_response$data12,_response$data12$data,_props$route$params$l2,_props$route4,_props$route4$params,_props$route4$params$,timeInsurenceCustomer,timeInsuranceProperty,_response$data21,_response$data21$data,_response$data24,_response$data24$data,_response$data25,_response$data25$data;return _regenerator.default.async(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.prev=0;setIsLoading(true);_context2.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInfoLoan((_props$route3=props.route)==null?void 0:(_props$route3$params=_props$route3.params)==null?void 0:(_props$route3$params$=_props$route3$params.loan)==null?void 0:_props$route3$params$.id));case 4:response=_context2.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data3=response.data)==null?void 0:_response$data3.meta.errorCode)===200){formRef.current.setFieldValue('bankAccountName',(_response$data$data$b=response==null?void 0:(_response$data4=response.data)==null?void 0:(_response$data4$data=_response$data4.data)==null?void 0:_response$data4$data.bankAccountName)!=null?_response$data$data$b:'');formRef.current.setFieldValue('bankAccountNumber',(_response$data$data$b2=response==null?void 0:(_response$data5=response.data)==null?void 0:(_response$data5$data=_response$data5.data)==null?void 0:_response$data5$data.bankAccountNumber)!=null?_response$data$data$b2:'');formRef.current.setFieldValue('bankId',(_response$data$data$b3=response==null?void 0:(_response$data6=response.data)==null?void 0:(_response$data6$data=_response$data6.data)==null?void 0:_response$data6$data.bankId)!=null?_response$data$data$b3:null);formRef.current.setFieldValue('bankName',(_response$data$data$b4=response==null?void 0:(_response$data7=response.data)==null?void 0:(_response$data7$data=_response$data7.data)==null?void 0:_response$data7$data.bankName)!=null?_response$data$data$b4:'');formRef.current.setFieldValue('loanAmount',(_response$data$data$l=response==null?void 0:(_response$data8=response.data)==null?void 0:(_response$data8$data=_response$data8.data)==null?void 0:_response$data8$data.loanAmount)!=null?_response$data$data$l:0);formRef.current.setFieldValue('firstPaymentDate',(_formatDDMMYYY=(0,_utils.formatDDMMYYY)(response==null?void 0:(_response$data9=response.data)==null?void 0:(_response$data9$data=_response$data9.data)==null?void 0:_response$data9$data.firstPaymentDate))!=null?_formatDDMMYYY:'');formRef.current.setFieldValue('rateTypeId',(_response$data$data$r=response==null?void 0:(_response$data10=response.data)==null?void 0:(_response$data10$data=_response$data10.data)==null?void 0:_response$data10$data.rateTypeId)!=null?_response$data$data$r:null);if(response!=null&&(_response$data11=response.data)!=null&&(_response$data11$data=_response$data11.data)!=null&&_response$data11$data.rateTypeId){_AppStore.default.getLoanTimeByType(response==null?void 0:(_response$data12=response.data)==null?void 0:(_response$data12$data=_response$data12.data)==null?void 0:_response$data12$data.rateTypeId,(_props$route$params$l2=(_props$route4=props.route)==null?void 0:(_props$route4$params=_props$route4.params)==null?void 0:(_props$route4$params$=_props$route4$params.loan)==null?void 0:_props$route4$params$.typeLoan)!=null?_props$route$params$l2:0);}formRef.current.setFieldValue('loanTime',(_response$data$data$l2=response==null?void 0:(_response$data13=response.data)==null?void 0:(_response$data13$data=_response$data13.data)==null?void 0:_response$data13$data.loanTime)!=null?_response$data$data$l2:null);formRef.current.setFieldValue('moneyInsuranceProperty',(_response$data$data$m=response==null?void 0:(_response$data14=response.data)==null?void 0:(_response$data14$data=_response$data14.data)==null?void 0:_response$data14$data.moneyInsuranceProperty)!=null?_response$data$data$m:null);formRef.current.setFieldValue('moneyInsurenceCustomer',(_response$data$data$m2=response==null?void 0:(_response$data15=response.data)==null?void 0:(_response$data15$data=_response$data15.data)==null?void 0:_response$data15$data.moneyInsurenceCustomer)!=null?_response$data$data$m2:null);formRef.current.setFieldValue('buyInsuranceProperty',response!=null&&(_response$data16=response.data)!=null&&(_response$data16$data=_response$data16.data)!=null&&_response$data16$data.buyInsuranceProperty?response==null?void 0:(_response$data17=response.data)==null?void 0:(_response$data17$data=_response$data17.data)==null?void 0:_response$data17$data.buyInsuranceProperty:false);formRef.current.setFieldValue('buyInsurenceCustomer',response!=null&&(_response$data18=response.data)!=null&&(_response$data18$data=_response$data18.data)!=null&&_response$data18$data.buyInsurenceCustomer?response==null?void 0:(_response$data19=response.data)==null?void 0:(_response$data19$data=_response$data19.data)==null?void 0:_response$data19$data.buyInsurenceCustomer:false);timeInsurenceCustomer=_AppStore.default.listInsurenceTimeAll.find(function(x){var _response$data$data;return x.id===((_response$data$data=response.data.data)==null?void 0:_response$data$data.timeInsurenceCustomer);});(_formRef$current=formRef.current)==null?void 0:_formRef$current.setFieldValue('timeInsurenceCustomer',timeInsurenceCustomer);timeInsuranceProperty=_AppStore.default.listInsurenceTimeAll.find(function(x){var _response$data$data2;return x.id===((_response$data$data2=response.data.data)==null?void 0:_response$data$data2.timeInsuranceProperty);});(_formRef$current2=formRef.current)==null?void 0:_formRef$current2.setFieldValue('timeInsuranceProperty',timeInsuranceProperty);(_formRef$current3=formRef.current)==null?void 0:_formRef$current3.setFieldValue('brand',(_response$data$data$b5=(_response$data$data3=response.data.data)==null?void 0:_response$data$data3.brand)!=null?_response$data$data$b5:null);(_formRef$current4=formRef.current)==null?void 0:_formRef$current4.setFieldValue('yearCar',(_response$data$data$y=(_response$data$data4=response.data.data)==null?void 0:_response$data$data4.yearCar)!=null?_response$data$data$y:null);(_formRef$current5=formRef.current)==null?void 0:_formRef$current5.setFieldValue('vehicles',(_response$data$data$v=(_response$data$data5=response.data.data)==null?void 0:_response$data$data5.vehicles)!=null?_response$data$data$v:null);(_formRef$current6=formRef.current)==null?void 0:_formRef$current6.setFieldValue('plateNumber',(_response$data$data$p=(_response$data$data6=response.data.data)==null?void 0:_response$data$data6.plateNumber)!=null?_response$data$data$p:'');(_formRef$current7=formRef.current)==null?void 0:_formRef$current7.setFieldValue('chassis',(_response$data$data$c=(_response$data$data7=response.data.data)==null?void 0:_response$data$data7.chassis)!=null?_response$data$data$c:'');(_formRef$current8=formRef.current)==null?void 0:_formRef$current8.setFieldValue('engine',(_response$data$data$e=(_response$data$data8=response.data.data)==null?void 0:_response$data$data8.engine)!=null?_response$data$data$e:'');(_formRef$current9=formRef.current)==null?void 0:_formRef$current9.setFieldValue('ownerFullName',(_response$data$data$o=(_response$data$data9=response.data.data)==null?void 0:_response$data$data9.ownerFullName)!=null?_response$data$data$o:'');(_formRef$current10=formRef.current)==null?void 0:_formRef$current10.setFieldValue('motobikeCertificateNumber',(_response$data$data$m3=(_response$data$data10=response.data.data)==null?void 0:_response$data$data10.motobikeCertificateNumber)!=null?_response$data$data$m3:'');(_formRef$current11=formRef.current)==null?void 0:_formRef$current11.setFieldValue('motobikeCertificateDate',(_response$data$data$m4=(_response$data$data11=response.data.data)==null?void 0:_response$data$data11.motobikeCertificateDate)!=null?_response$data$data$m4:'');if((_response$data20=response.data)!=null&&(_response$data20$data=_response$data20.data)!=null&&_response$data20$data.brand){_store.default.getListYearCar((_response$data21=response.data)==null?void 0:(_response$data21$data=_response$data21.data)==null?void 0:_response$data21$data.brand);}if((_response$data22=response.data)!=null&&(_response$data22$data=_response$data22.data)!=null&&_response$data22$data.brand&&(_response$data23=response.data)!=null&&(_response$data23$data=_response$data23.data)!=null&&_response$data23$data.yearCar){_store.default.getListCar((_response$data24=response.data)==null?void 0:(_response$data24$data=_response$data24.data)==null?void 0:_response$data24$data.brand,(_response$data25=response.data)==null?void 0:(_response$data25$data=_response$data25.data)==null?void 0:_response$data25$data.yearCar);}(_formRef$current12=formRef.current)==null?void 0:_formRef$current12.setFieldValue('typeLoanBrief',(_response$data$data$t=(_response$data$data12=response.data.data)==null?void 0:_response$data$data12.typeLoanBrief)!=null?_response$data$data$t:null);(_formRef$current13=formRef.current)==null?void 0:_formRef$current13.setFieldValue('carTypeId',(_response$data$data$c2=(_response$data$data13=response.data.data)==null?void 0:_response$data$data13.carTypeId)!=null?_response$data$data$c2:null);}else{}}_context2.next=13;break;case 9:_context2.prev=9;_context2.t0=_context2["catch"](0);setIsLoading(false);console.log(_context2.t0);case 13:case"end":return _context2.stop();}},null,null,[[0,9]],Promise);};(0,_react.useEffect)(function(){var _props$route5,_props$route5$params,_props$route5$params$;getData();_store.default.getListBrand();_store.default.getFirstPayment((_props$route5=props.route)==null?void 0:(_props$route5$params=_props$route5.params)==null?void 0:(_props$route5$params$=_props$route5$params.loan)==null?void 0:_props$route5$params$.id);},[]);var getInfoInsurence=function _callee3(loanAmount,loanTime,rateTypeId,timeInsurenceCustomer,timeInsuranceProperty){var _props$route$params2,_props$route$params2$,response,_response$data26,_response$data26$meta,_formRef$current14,_response$data$data14,_formRef$current15,_response$data$data15,_formRef$current16,_response$data$data16,_response$data27,_response$data27$meta;return _regenerator.default.async(function _callee3$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.prev=0;setIsLoading(true);_context3.next=4;return _regenerator.default.awrap(_api.Api.getInstance().getInfoInsurence2((_props$route$params2=props.route.params)==null?void 0:(_props$route$params2$=_props$route$params2.loan)==null?void 0:_props$route$params2$.id,loanAmount,loanTime,rateTypeId,timeInsurenceCustomer,timeInsuranceProperty));case 4:response=_context3.sent;setIsLoading(false);if(response.kind==='ok'){if(((_response$data26=response.data)==null?void 0:(_response$data26$meta=_response$data26.meta)==null?void 0:_response$data26$meta.errorCode)===200){(_formRef$current14=formRef.current)==null?void 0:_formRef$current14.setFieldValue('moneyInsurenceCustomer',(_response$data$data14=response.data.data)==null?void 0:_response$data$data14.moneyInsurenceCustomer);(_formRef$current15=formRef.current)==null?void 0:_formRef$current15.setFieldValue('moneyInsuranceProperty',(_response$data$data15=response.data.data)==null?void 0:_response$data$data15.moneyInsuranceProperty);(_formRef$current16=formRef.current)==null?void 0:_formRef$current16.setFieldValue('moneyInsurranceHospitalization',(_response$data$data16=response.data.data)==null?void 0:_response$data$data16.moneyInsurranceHospitalization);}else{_reactNative.Alert.alert('Thông báo',(_response$data27=response.data)==null?void 0:(_response$data27$meta=_response$data27.meta)==null?void 0:_response$data27$meta.errorMessage);}}else{}_context3.next=12;break;case 9:_context3.prev=9;_context3.t0=_context3["catch"](0);setIsLoading(false);case 12:case"end":return _context3.stop();}},null,null,[[0,9]],Promise);};var debounceCall=(0,_react.useCallback)((0,_lodash.debounce)(function(textParam){var _formRef$current$valu,_formRef$current$valu2,_formRef$current$valu3,_formRef$current$valu4,_formRef$current$valu5;getInfoInsurence(Number(textParam.replace(/\D/g,'')),formRef.current.values.loanTime,(_formRef$current$valu=formRef.current.values)==null?void 0:_formRef$current$valu.rateTypeId,(_formRef$current$valu2=(_formRef$current$valu3=formRef.current.values.timeInsurenceCustomer)==null?void 0:_formRef$current$valu3.id)!=null?_formRef$current$valu2:0,(_formRef$current$valu4=(_formRef$current$valu5=formRef.current.values.timeInsuranceProperty)==null?void 0:_formRef$current$valu5.id)!=null?_formRef$current$valu4:0);},2000),[]);return _react.default.createElement(_reactNative.View,{style:{flex:1},__self:this,__source:{fileName:_jsxFileName,lineNumber:307,columnNumber:5}},_react.default.createElement(_MHeader.default,{title:"Vay nhanh 24/7",__self:this,__source:{fileName:_jsxFileName,lineNumber:308,columnNumber:7}}),_react.default.createElement(_reactNative.View,{style:_CommonStyles.commonStyles.fill,__self:this,__source:{fileName:_jsxFileName,lineNumber:309,columnNumber:7}},_react.default.createElement(_reactNative.View,{style:$h,__self:this,__source:{fileName:_jsxFileName,lineNumber:310,columnNumber:9}}),_react.default.createElement(_reactNative.View,{style:$bg,__self:this,__source:{fileName:_jsxFileName,lineNumber:311,columnNumber:9}},_react.default.createElement(_reactNative.View,{style:{paddingVertical:10,flexDirection:'row',alignItems:'center',paddingHorizontal:16},__self:this,__source:{fileName:_jsxFileName,lineNumber:312,columnNumber:11}},_react.default.createElement(_reactNative.TouchableOpacity,{style:{zIndex:1000},onPress:function onPress(){navigation.goBack();},__self:this,__source:{fileName:_jsxFileName,lineNumber:320,columnNumber:13}},_react.default.createElement(_svgs.IconBack,{__self:this,__source:{fileName:_jsxFileName,lineNumber:328,columnNumber:15}})),_react.default.createElement(_MText.MText,{style:$title,__self:this,__source:{fileName:_jsxFileName,lineNumber:330,columnNumber:13}},"Th\xF4ng tin chi ti\u1EBFt")),_react.default.createElement(_StepIndicator.default,{steps:3,currentStep:1,__self:this,__source:{fileName:_jsxFileName,lineNumber:332,columnNumber:11}}),_react.default.createElement(_formik.Formik,{validateOnBlur:false,validateOnChange:false,innerRef:formRef,onSubmit:onSubmit,initialValues:{loanAmount:'',rateTypeId:null,loanTime:null,firstPaymentDate:'',buyInsurenceCustomer:false,buyInsuranceProperty:false,timeInsurenceCustomer:null,timeInsuranceProperty:null,moneyInsurenceCustomer:null,moneyInsuranceProperty:null,bankId:null,bankName:'',bankAccountName:'',bankAccountNumber:'',brand:'',yearCar:null,vehicles:'',plateNumber:'',chassis:'',engine:'',ownerFullName:'',motobikeCertificateNumber:'',motobikeCertificateDate:'',typeLoanBrief:null,carTypeId:null},validationSchema:yup.object().shape({loanAmount:yup.string().required('Số tiền là bắt buộc'),rateTypeId:yup.number().required('HTTT là bắt buộc').nullable(),loanTime:yup.number().required('Thời gian vay là bắt buộc').nullable(),firstPaymentDate:yup.string().required('Ngày thanh toán đầu kỳ là bắt buộc'),bankName:yup.string().required('Vui lòng chọn ngân hàng'),bankAccountName:yup.string().required('Vui lòng nhập chủ thẻ'),bankAccountNumber:yup.string().required('Vui lòng nhập số tài khoản'),brand:yup.string().required('Vui lòng chọn hãng xe'),yearCar:yup.string().required('Vui lòng chọn năm sản xuất').nullable(),vehicles:yup.string().required('Vui lòng chọn xe').nullable(),plateNumber:yup.string().required('Vui lòng nhập biển số'),chassis:yup.string().required('Vui lòng nhập số khung'),engine:yup.string().required('Vui lòng nhập số máy'),ownerFullName:yup.string().required('Vui lòng nhập chủ xe'),motobikeCertificateNumber:yup.string().required('Vui lòng nhập số đăng ký xe'),motobikeCertificateDate:yup.string().required('Vui lòng nhập ngày đăng ký'),typeLoanBrief:yup.number().required('Vui lòng chọn loại tài sản').nullable(),carTypeId:yup.number().required('Vui lòng chọn loại xe').nullable()}),__self:this,__source:{fileName:_jsxFileName,lineNumber:333,columnNumber:11}},function(_ref){var _appStore$listRateTyp,_appStore$listRateTyp2,_values$timeInsurence5,_values$timeInsurence6,_values$timeInsurance7,_values$timeInsurance8,_EnumTypeAsset$find,_EnumTypeCar$find;var values=_ref.values,setFieldValue=_ref.setFieldValue,errors=_ref.errors,handleSubmit=_ref.handleSubmit,handleChange=_ref.handleChange;return _react.default.createElement(_reactNative.ScrollView,{style:[_CommonStyles.commonStyles.fill,{paddingHorizontal:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:413,columnNumber:15}},_react.default.createElement(_MText.MText,{style:$title2,__self:_this,__source:{fileName:_jsxFileName,lineNumber:416,columnNumber:17}},"2.1 Th\xF4ng tin \u0111\u1EC1 ngh\u1ECB kho\u1EA3n vay"),_react.default.createElement(_reactNative.View,{style:$row,__self:_this,__source:{fileName:_jsxFileName,lineNumber:417,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:418,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:419,columnNumber:21}},"S\u1ED1 ti\u1EC1n \u0111\u1EC1 ngh\u1ECB vay"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:(0,_utils.formatMoney)(values.loanAmount),onChangeText:function onChangeText(text){setFieldValue('loanAmount',text.replaceAll(',',''));debounceCall(text);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:420,columnNumber:21}}),errors&&errors.loanAmount&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:437,columnNumber:23}},errors.loanAmount)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:440,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:441,columnNumber:21}},"H\xECnh th\u1EE9c thanh to\xE1n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn hình thức thanh toán',data:_AppStore.default.listRateType,callback:function callback(value){var _props$route$params$l3,_props$route6,_props$route6$params,_props$route6$params$;setFieldValue('rateTypeId',value==null?void 0:value.id);_AppStore.default.getLoanTimeByType(value==null?void 0:value.id,(_props$route$params$l3=props==null?void 0:(_props$route6=props.route)==null?void 0:(_props$route6$params=_props$route6.params)==null?void 0:(_props$route6$params$=_props$route6$params.loan)==null?void 0:_props$route6$params$.typeLoan)!=null?_props$route$params$l3:0);setFieldValue('loanTime',null);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:442,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:459,columnNumber:23}},(_appStore$listRateTyp=_AppStore.default.listRateType)==null?void 0:(_appStore$listRateTyp2=_appStore$listRateTyp.find(function(x){return(x==null?void 0:x.id)===values.rateTypeId;}))==null?void 0:_appStore$listRateTyp2.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:475,columnNumber:23}})),errors&&errors.rateTypeId&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:478,columnNumber:23}},errors.rateTypeId))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:483,columnNumber:17}},"Th\u1EDDi gian vay"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn thời gian vay',data:_AppStore.default.listLoanTimeByType,callback:function callback(value){var _values$timeInsurence3,_values$timeInsurence4,_values$timeInsurance3,_values$timeInsurance4;setFieldValue('loanTime',value==null?void 0:value.id);getInfoInsurence(values.loanAmount,value==null?void 0:value.id,values==null?void 0:values.rateTypeId,(_values$timeInsurence3=(_values$timeInsurence4=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence4.id)!=null?_values$timeInsurence3:0,(_values$timeInsurance3=(_values$timeInsurance4=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance4.id)!=null?_values$timeInsurance3:0);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:484,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:503,columnNumber:19}},values!=null&&values.loanTime?(values==null?void 0:values.loanTime)+" th\xE1ng":''),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:515,columnNumber:19}})),errors&&errors.loanTime&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:518,columnNumber:19}},errors.loanTime),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:521,columnNumber:17}},"Ng\xE0y thanh to\xE1n k\u1EF3 \u0111\u1EA7u"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Ngày thanh toán kỳ đầu',data:_store.default.listFirstPayment,callback:function callback(value){setFieldValue('firstPaymentDate',value==null?void 0:value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:524,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:536,columnNumber:19}},values==null?void 0:values.firstPaymentDate),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:548,columnNumber:19}})),errors&&errors.firstPaymentDate&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:551,columnNumber:19}},errors.firstPaymentDate),_react.default.createElement(_reactNative.View,{style:{backgroundColor:'#FFF8F2',borderLeftWidth:1,borderRadius:8,padding:16,borderColor:_theme.color.primary,marginTop:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:554,columnNumber:17}},_react.default.createElement(_MText.MText,{style:{color:_theme.color.primary,fontWeight:'bold'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:564,columnNumber:19}},"B\u1EA3o hi\u1EC3m"),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginTop:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:572,columnNumber:19}},_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){setFieldValue('buyInsurenceCustomer',!values.buyInsurenceCustomer);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:580,columnNumber:21}},values.buyInsurenceCustomer===true?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:589,columnNumber:25}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:591,columnNumber:25}})),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:594,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontSize:12,fontWeight:'bold'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:595,columnNumber:23}},"BH s\u1EE9c kho\u1EBB ng\u01B0\u1EDDi vay"),_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:12,marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:604,columnNumber:23}},"S\u1ED1 ti\u1EC1n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:612,columnNumber:25}},(0,_utils.formatMoney)(values.moneyInsurenceCustomer)," \u0111"))),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn thời gian',data:_AppStore.default.listInsurenceTimeAll,callback:function callback(value){var _values$timeInsurance5,_values$timeInsurance6;setFieldValue('timeInsurenceCustomer',value);getInfoInsurence(values.loanAmount,values.loanTime,values==null?void 0:values.rateTypeId,value==null?void 0:value.id,(_values$timeInsurance5=(_values$timeInsurance6=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance6.id)!=null?_values$timeInsurance5:0);}});},style:{backgroundColor:'#FFFFFF',height:40,borderRadius:6,alignItems:'center',justifyContent:'space-between',flexDirection:'row',paddingHorizontal:10,borderWidth:1,borderColor:'#F5F5F5',width:_reactNative.Dimensions.get('window').width/3},__self:_this,__source:{fileName:_jsxFileName,lineNumber:622,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:652,columnNumber:23}},(_values$timeInsurence5=(_values$timeInsurence6=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence6.name)!=null?_values$timeInsurence5:'Chọn thời gian'),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:655,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#EFEFEF',marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:658,columnNumber:19}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',alignItems:'center',gap:10,marginTop:10},__self:_this,__source:{fileName:_jsxFileName,lineNumber:665,columnNumber:19}},_react.default.createElement(_reactNative.TouchableOpacity,{disabled:true,onPress:function onPress(){setFieldValue('buyInsuranceProperty',!values.buyInsuranceProperty);},__self:_this,__source:{fileName:_jsxFileName,lineNumber:673,columnNumber:21}},values.buyInsuranceProperty===true?_react.default.createElement(_icons.CheckBoxActive,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:683,columnNumber:25}}):_react.default.createElement(_icons.CheckBox,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:685,columnNumber:25}})),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:688,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{color:'#333333',fontSize:12,fontWeight:'bold'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:689,columnNumber:23}},"BH v\u1EADt ch\u1EA5t"),_react.default.createElement(_MText.MText,{style:{color:'#828282',fontSize:12,marginTop:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:698,columnNumber:23}},"S\u1ED1 ti\u1EC1n",' ',_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:706,columnNumber:25}},(0,_utils.formatMoney)(values.moneyInsuranceProperty)," \u0111"))),_react.default.createElement(_reactNative.TouchableOpacity,{onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Chọn thời gian',data:_AppStore.default.listInsurenceTimeAll,callback:function callback(value){var _values$timeInsurence7,_values$timeInsurence8;setFieldValue('timeInsuranceProperty',value);getInfoInsurence(values.loanAmount,values.loanTime,values==null?void 0:values.rateTypeId,(_values$timeInsurence7=values==null?void 0:(_values$timeInsurence8=values.timeInsurenceCustomer)==null?void 0:_values$timeInsurence8.id)!=null?_values$timeInsurence7:0,value==null?void 0:value.id);}});},style:{backgroundColor:'#FFFFFF',height:40,borderRadius:6,alignItems:'center',justifyContent:'space-between',flexDirection:'row',paddingHorizontal:10,borderWidth:1,borderColor:'#F5F5F5',width:_reactNative.Dimensions.get('window').width/3},__self:_this,__source:{fileName:_jsxFileName,lineNumber:716,columnNumber:21}},_react.default.createElement(_MText.MText,{style:{fontSize:12,color:'#333333'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:746,columnNumber:23}},(_values$timeInsurance7=(_values$timeInsurance8=values.timeInsuranceProperty)==null?void 0:_values$timeInsurance8.name)!=null?_values$timeInsurance7:'Chọn thời gian'),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:749,columnNumber:23}}))),_react.default.createElement(_reactNative.View,{style:{height:1,backgroundColor:'#BDBDBD',marginVertical:8},__self:_this,__source:{fileName:_jsxFileName,lineNumber:752,columnNumber:19}}),_react.default.createElement(_reactNative.View,{style:{flexDirection:'row',gap:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:759,columnNumber:19}},_react.default.createElement(_icons.Tick2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:760,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#828282'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:761,columnNumber:21}},"Quy\u1EC1n l\u1EE3i b\u1EA3o hi\u1EC3m s\u1EE9c kho\u1EBB l\xEAn t\u1EDBi 100% t\u1EEB B\u1EA3o Minh",'\n',"(Tai n\u1EA1n, th\u01B0\u01A1ng t\u1EADt,...)")),_react.default.createElement(_reactNative.View,{style:{marginTop:8,flexDirection:'row',gap:5},__self:_this,__source:{fileName:_jsxFileName,lineNumber:772,columnNumber:19}},_react.default.createElement(_icons.Tick2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:773,columnNumber:21}}),_react.default.createElement(_MText.MText,{style:{fontSize:10,color:'#828282'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:774,columnNumber:21}},"Quy\u1EC1n l\u1EE3i b\u1EA3o hi\u1EC3m v\u1EADt ch\u1EA5t 100% t\u1EEB B\u1EA3o Minh"))),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:10}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:785,columnNumber:17}},"2.2 Th\xF4ng tin gi\u1EA3i ng\xE2n"),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:788,columnNumber:17}},"Ng\xE2n h\xE0ng"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Chọn ngân hàng',data:_store.default.listBank,callback:function callback(value){setFieldValue('bankName',value.name);setFieldValue('bankId',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:789,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:802,columnNumber:19}},values.bankName),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:814,columnNumber:19}})),errors&&errors.bankName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:817,columnNumber:19}},errors.bankName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:819,columnNumber:17}},"T\xEAn s\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.bankAccountName,onChangeText:handleChange('bankAccountName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:822,columnNumber:17}}),errors&&errors.bankAccountName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:836,columnNumber:19}},errors.bankAccountName),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:838,columnNumber:17}},"S\u1ED1 t\xE0i kho\u1EA3n"),_react.default.createElement(_reactNative.TextInput,{keyboardType:"number-pad",numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.bankAccountNumber,onChangeText:handleChange('bankAccountNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:839,columnNumber:17}}),errors&&errors.bankAccountNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:854,columnNumber:19}},errors.bankAccountNumber),_react.default.createElement(_MText.MText,{style:[$title2,{marginTop:10}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:857,columnNumber:17}},"2.3 Th\xF4ng tin t\xE0i s\u1EA3n"),_react.default.createElement(_reactNative.View,{style:$row,__self:_this,__source:{fileName:_jsxFileName,lineNumber:860,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:861,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:862,columnNumber:21}},"H\xE3ng xe"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Hãng xe',data:_store.default.listBrand,callback:function callback(value){setFieldValue('brand',value.name);setFieldValue('yearCar',null);setFieldValue('vehicles',null);_store.default.getListYearCar(value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:863,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:878,columnNumber:23}},values==null?void 0:values.brand),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:890,columnNumber:23}})),errors&&errors.brand&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:893,columnNumber:23}},errors.brand)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:896,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:897,columnNumber:21}},"N\u0103m s\u1EA3n xu\u1EA5t"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Năm sản xuất',data:_store.default.listYear,callback:function callback(value){setFieldValue('yearCar',value.name);setFieldValue('vehicles',null);_store.default.getListCar(values.brand,value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:898,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:912,columnNumber:23}},values==null?void 0:values.yearCar),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:924,columnNumber:23}})),errors&&errors.yearCar&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:927,columnNumber:23}},errors.yearCar))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:931,columnNumber:17}},"T\xEAn xe/ Phi\xEAn b\u1EA3n xe"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.CommonSelect,{title:'Tên xe/ Phiên bản xe',data:_store.default.listCar,callback:function callback(value){setFieldValue('vehicles',value.name);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:932,columnNumber:17}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:944,columnNumber:19}},values.vehicles),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:956,columnNumber:19}})),errors&&errors.vehicles&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:959,columnNumber:19}},errors.vehicles),_react.default.createElement(_MText.MText,{style:[$label,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:962,columnNumber:17}},"S\u1ED1 khung"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.chassis,onChangeText:handleChange('chassis'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:963,columnNumber:17}}),errors&&errors.chassis&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:977,columnNumber:19}},errors.chassis),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:980,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:981,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:982,columnNumber:21}},"Bi\u1EC3n s\u1ED1 xe"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.plateNumber,onChangeText:handleChange('plateNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:983,columnNumber:21}}),errors&&errors.plateNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:997,columnNumber:23}},errors.plateNumber)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1000,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1001,columnNumber:21}},"S\u1ED1 m\xE1y"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.engine,onChangeText:handleChange('engine'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1002,columnNumber:21}}),errors&&errors.engine&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1016,columnNumber:23}},errors.engine))),_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1021,columnNumber:17}},"H\u1ECD t\xEAn ch\u1EE7 xe"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.ownerFullName,onChangeText:handleChange('ownerFullName'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1022,columnNumber:17}}),errors&&errors.ownerFullName&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1036,columnNumber:19}},errors.ownerFullName),_react.default.createElement(_reactNative.View,{style:[$row,{marginTop:16}],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1039,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1040,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1041,columnNumber:21}},"S\u1ED1 \u0111\u0103ng k\xFD xe"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],value:values.motobikeCertificateNumber,onChangeText:handleChange('motobikeCertificateNumber'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1042,columnNumber:21}}),errors&&errors.motobikeCertificateNumber&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1056,columnNumber:23}},errors.motobikeCertificateNumber)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1061,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1062,columnNumber:21}},"Ng\xE0y \u0111\u0103ng k\xFD"),_react.default.createElement(_reactNative.TextInput,{numberOfLines:1,style:[$textInput,{color:'#333333',fontSize:16,fontWeight:'500'}],placeholder:"DD/MM/YYYY",placeholderTextColor:"#BDBDBD",value:values.motobikeCertificateDate,onChangeText:handleChange('motobikeCertificateDate'),__self:_this,__source:{fileName:_jsxFileName,lineNumber:1063,columnNumber:21}}),errors&&errors.motobikeCertificateDate&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1079,columnNumber:23}},errors.motobikeCertificateDate))),_react.default.createElement(_reactNative.View,{style:[$row],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1085,columnNumber:17}},_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1086,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1087,columnNumber:21}},"Lo\u1EA1i t\xE0i s\u1EA3n"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Loại tài sản',data:_utils.EnumTypeAsset,callback:function callback(value){setFieldValue('typeLoanBrief',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1088,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1100,columnNumber:23}},(_EnumTypeAsset$find=_utils.EnumTypeAsset.find(function(x){return x.id===values.typeLoanBrief;}))==null?void 0:_EnumTypeAsset$find.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1116,columnNumber:23}})),errors&&errors.typeLoanBrief&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1119,columnNumber:23}},errors.typeLoanBrief)),_react.default.createElement(_reactNative.View,{style:{flex:1},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1122,columnNumber:19}},_react.default.createElement(_MText.MText,{style:$label,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1123,columnNumber:21}},"Lo\u1EA1i xe"),_react.default.createElement(_reactNative.TouchableOpacity,{style:$select,onPress:function onPress(){navigation.push(_navigation.ScreenNames.MSelect,{title:'Loại xe',data:_utils.EnumTypeCar,callback:function callback(value){setFieldValue('carTypeId',value.id);}});},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1124,columnNumber:21}},_react.default.createElement(_MText.MText,{numberOfLines:1,style:{color:'#333333',fontSize:16,fontWeight:'500',flex:1,fontFamily:'BeVietnamPro-Medium'},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1136,columnNumber:23}},(_EnumTypeCar$find=_utils.EnumTypeCar.find(function(x){return x.id===values.carTypeId;}))==null?void 0:_EnumTypeCar$find.name),_react.default.createElement(_icons.DropDown2,{__self:_this,__source:{fileName:_jsxFileName,lineNumber:1151,columnNumber:23}})),errors&&errors.carTypeId&&_react.default.createElement(_MText.MText,{style:$error,__self:_this,__source:{fileName:_jsxFileName,lineNumber:1154,columnNumber:23}},errors.carTypeId))),_react.default.createElement(_MButton.default,{onPress:function onPress(){handleSubmit();},style:{marginVertical:24},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1158,columnNumber:17}},_react.default.createElement(_reactNativeLinearGradient.default,{start:{x:1,y:0},end:{x:0,y:1},style:{height:40,marginVertical:16,borderRadius:30,alignItems:'center',justifyContent:'center'},colors:['#FF7A00','#EF4123'],__self:_this,__source:{fileName:_jsxFileName,lineNumber:1166,columnNumber:19}},_react.default.createElement(_MText.MText,{style:{color:'white',fontSize:16},__self:_this,__source:{fileName:_jsxFileName,lineNumber:1178,columnNumber:21}},"Ti\u1EBFp t\u1EE5c"))));}),_react.default.createElement(_keyboardspace.default,{__self:this,__source:{fileName:_jsxFileName,lineNumber:1191,columnNumber:11}}))),_react.default.createElement(_Loading.default,{isLoading:isLoading,__self:this,__source:{fileName:_jsxFileName,lineNumber:1194,columnNumber:7}}));}var $select={flexDirection:'row',height:40,alignItems:'center',paddingHorizontal:8,borderWidth:1,borderRadius:4,borderColor:'#E0E0E0'};var $row={flexDirection:'row',marginBottom:16,gap:16};var $textInput={borderWidth:1,borderRadius:4,borderColor:'#E0E0E0',height:40,paddingHorizontal:8,fontFamily:'BeVietnamPro-Medium'};var $label={fontSize:14,color:'#333333',paddingBottom:5};var $title2={fontSize:16,fontWeight:'bold',color:'#333333',paddingBottom:10,marginTop:6};var $title={fontSize:16,fontWeight:'bold',color:'#333333',position:'absolute',left:0,right:0,textAlign:'center'};var $h={backgroundColor:'#EF592E',position:'absolute',height:30,width:'100%'};var $bg={borderTopLeftRadius:30,borderTopRightRadius:30,backgroundColor:'white',flex:1};var $error={color:'#EB5757',fontSize:14,fontStyle:'italic',fontFamily:'BeVietnamPro-Thin',fontWeight:'300',marginTop:5};
2
2
  //# sourceMappingURL=ReviewLoan.js.map
@@ -671,6 +671,7 @@ export default function ReviewLoan(props: any) {
671
671
  }}
672
672
  >
673
673
  <TouchableOpacity
674
+ disabled
674
675
  onPress={() => {
675
676
  setFieldValue(
676
677
  'buyInsuranceProperty',